WO2015058670A1 - 一种显示内容处理方法及设备 - Google Patents
一种显示内容处理方法及设备 Download PDFInfo
- Publication number
- WO2015058670A1 WO2015058670A1 PCT/CN2014/089036 CN2014089036W WO2015058670A1 WO 2015058670 A1 WO2015058670 A1 WO 2015058670A1 CN 2014089036 W CN2014089036 W CN 2014089036W WO 2015058670 A1 WO2015058670 A1 WO 2015058670A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- display content
- display
- receiving end
- screen
- displayed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/65—Transmission of management data between client and server
- H04N21/658—Transmission by the client directed to the server
- H04N21/6582—Data stored in the client, e.g. viewing habits, hardware capabilities, credit card number
Definitions
- the invention requires that the application date is October 21, 2013, the application number is 201310494849.4, and the prior application and application date of the invention titled “One Display Content Processing Method and Equipment” is June 4, 2014, and the application number is 201410245674.8.
- the title of the invention is the priority of "a method and device for displaying content", and all the contents of the priority claim are recorded in the prior application documents.
- the present invention relates to the field of communications technologies, and in particular, to a method and a device for processing display content.
- the need to display the display content of the user terminal on a display device is becoming more and more prominent.
- the display content in the user terminal needs to be displayed on the display device, the display content is directly transmitted to the display device for display, and the display content is not adjusted according to the information of the display device, thereby possibly causing The display content is poorly displayed on the display device.
- the embodiment of the present invention provides a method and a device for processing display content, which are used to solve the problem that the user terminal existing in the prior art cannot adjust the display content that needs to be displayed on the display device according to the information of the display device, thereby possibly causing The display content is poorly displayed on the display device.
- a display content processing method comprising:
- the receiving end indicates its own screen status to the transmitting end
- the receiving end receives and displays the display content sent by the sending end.
- the display content that needs to be displayed on the receiving end is processed according to the screen state of the receiving end, so that the display content matches the screen state of the receiving end, The display content is better on the receiving end.
- the display content is display content processed by the sending end according to the screen state.
- the screen state includes horizontal and vertical screen information, or a rotation direction and a rotation angle.
- a display content processing method comprising:
- the sending end receives the state of the screen sent by the receiving end
- the sending end processes the display content that needs to be displayed on the receiving end according to the screen state
- the sending end sends the processed display content to the receiving end.
- the display content that needs to be displayed on the receiving end is processed according to the screen state of the receiving end, so that the display content matches the screen state of the receiving end, and the display content is better displayed on the receiving end.
- the method further includes: the sending end determining whether to process display content that needs to be displayed on the receiving end according to the screen state;
- the sending end processes the display content that needs to be displayed on the receiving end according to the screen state, including: if the sending end decides to display on the receiving end according to the screen state
- the transmitting end processes the display content that needs to be displayed on the receiving end according to the screen state.
- the transmitting end can decide whether to process the display content that needs to be displayed on the receiving end according to the screen state of the receiving end.
- the screen state includes horizontal and vertical screen information, or a rotation direction and a rotation angle.
- the screen state includes a rotation direction and a rotation angle
- the sending end processes the display content that needs to be displayed on the receiving end according to the state of the screen, and specifically includes:
- the transmitting end rotates the display content in a direction opposite to the rotation angle and the rotation direction.
- the display content that needs to be displayed on the receiving end can be adjusted correspondingly, and when the receiving end is not horizontally installed, the display content is always displayed in the forward direction on the receiving end. Without the user rotating the angle to view the display on the receiving end content.
- the sending end rotates the display content according to the rotation angle and the opposite direction of the rotation direction, and specifically includes:
- the transmitting end rotates the display content according to the rotation angle and the counterclockwise direction;
- the transmitting end rotates the display content according to the rotation angle and the clockwise direction.
- the display content that needs to be displayed on the receiving end can be adjusted correspondingly, and when the receiving end is not horizontally installed, the display content is always displayed in the forward direction on the receiving end. The user does not need to rotate the angle to view the display content on the receiving end.
- the screen state includes horizontal and vertical screen information
- the sending end processes the display content that needs to be displayed on the receiving end according to the state of the screen, and specifically includes:
- the transmitting end adjusts the display content to a horizontal screen display when determining, according to the horizontal and vertical screen information, that the receiving end is installed in a horizontal screen; or
- the transmitting end adjusts the display content to a vertical screen display when it is determined according to the horizontal and vertical screen information that the receiving end is installed in a vertical screen.
- the display content is adjusted to the horizontal screen display, and when the vertical screen is installed at the receiving end, the display content is adjusted to the vertical screen display, so that the adjusted display content is good in the receiving end.
- the display effect when the horizontal screen of the receiving end is installed, the display content is adjusted to the horizontal screen display, and when the vertical screen is installed at the receiving end, the display content is adjusted to the vertical screen display, so that the adjusted display content is good in the receiving end.
- the sending end adjusts the display content to a horizontal screen display, and specifically includes:
- the sending end adapts the display content according to a horizontal screen
- the sending end adjusts the display content to a vertical screen display, and specifically includes:
- the transmitting end adapts the display content according to a vertical screen.
- An indication module configured to indicate its own screen status to the sending end
- a display module configured to receive and display the display content sent by the sending end.
- the display content is within the display after the sending end is processed according to the screen state. Rong.
- the screen state includes horizontal and vertical screen information, or a rotation direction and a rotation angle.
- a sender, the sender includes:
- a receiving module configured to receive a screen state sent by the receiving end
- a processing module configured to process display content that needs to be displayed on the receiving end according to the screen state
- a sending module configured to send the processed display content to the receiving end.
- processing module is further configured to:
- the screen state includes horizontal and vertical screen information, or a rotation direction and a rotation angle.
- the screen state includes a rotation direction and a rotation angle
- the processing module is specifically configured to:
- the display content is rotated in accordance with the rotation angle and the opposite direction of the rotation direction.
- processing module is specifically configured to:
- rotation direction is a clockwise direction, rotating the display content according to the rotation angle and the counterclockwise direction;
- the rotation direction is a counterclockwise direction
- the display content is rotated in accordance with the rotation angle and the clockwise direction.
- the screen state includes horizontal and vertical screen information
- the processing module is specifically configured to:
- the display content is adjusted to be a vertical screen display.
- processing module is specifically configured to:
- the display content is adapted according to the horizontal screen
- the display content is adapted according to a vertical screen.
- a display content processing method comprising:
- the user terminal processes the display content that needs to be displayed on the display device according to the installation location information of the display device; the user terminal sends the processed display content to the display device.
- the above scheme can be used to adjust the display content that needs to be displayed on the display device according to the installation location information of the display device, so as to ensure that the display content is correctly displayed on the display device.
- the installation location information includes a mounting direction and a rotation angle.
- the user terminal processes the display content that needs to be displayed on the display device according to the installation location information of the display device, and specifically includes: the user terminal.
- the display content is rotated in accordance with the rotation angle and the opposite direction of the mounting direction.
- the display content that needs to be displayed on the display device can be adjusted accordingly, and the display content is always displayed on the display device when the display device is not horizontally installed. Without the user having to rotate the angle to view the display content on the display device.
- the user terminal rotates the display content according to the rotation angle and the opposite direction of the installation direction, and specifically includes: if the installation direction is installed in a clockwise direction, the user terminal displays the display The content is rotated according to the rotation angle and the counterclockwise direction; or if the installation direction is installed in the counterclockwise direction, the user terminal rotates the display content according to the rotation angle and the clockwise direction.
- the display content is rotated in a direction opposite to the installation direction of the display device, so that the display content is always displayed in the forward direction on the display device without the user rotating the angle to view the display device. Display content.
- the method further includes: the data amount of the display content of the processed terminal by the user terminal is greater than a preset After the data amount threshold, the processed display content is compressed.
- the amount of data of the displayed content can be compressed, and the resources consumed by the display content during the transmission process are reduced.
- the method further includes: the user terminal displaying the display content on the user terminal.
- a display content processing device comprising: a processing module, configured to process display content that needs to be displayed on the display device according to installation location information of the display device; and a sending module, configured to process the processed content The display content is sent to the display device.
- the device can adjust the display content that needs to be displayed on the display device according to the installation location information of the display device, so as to ensure that the display content is correctly displayed on the display device.
- the installation location information includes a mounting direction and a rotation angle; and the processing module is specifically configured to rotate the display content according to the rotation angle and an opposite direction of the installation direction.
- the display content that needs to be displayed on the display device can be adjusted accordingly, and the display content is always displayed on the display device when the display device is not horizontally installed. Without the user having to rotate the angle to view the display content on the display device.
- the processing module is specifically configured to rotate the display content according to the rotation angle and the counterclockwise direction if the installation direction is installed in a clockwise direction; or if the installation direction is installed in a counterclockwise direction And rotating the display content according to the rotation angle and the clockwise direction.
- the display content is rotated in a direction opposite to the installation direction of the display device, so that the display content is always displayed in the forward direction on the display device without the user rotating the angle to view the display device. Display content.
- the processing module is further configured to: after the sending module sends the processed display content to the display device, after the processed data content of the processed content is greater than a preset data amount threshold, The processed display content is subjected to compression processing.
- the amount of data of the displayed content can be compressed, and the resources consumed by the display content during the transmission process are reduced.
- the processing module is further configured to display the display content on the user terminal.
- FIG. 1 is a schematic diagram of steps of a method for processing content display according to Embodiment 1 of the present invention
- FIG. 2 is a schematic diagram of steps of a method for processing content display according to Embodiment 2 of the present invention.
- FIG. 3 is a schematic structural diagram of a receiving end according to Embodiment 3 of the present invention.
- FIG. 4 is a schematic structural diagram of a transmitting end according to Embodiment 4 of the present invention.
- FIG. 5 is a schematic diagram of steps of a method for processing content display according to Embodiment 5 of the present invention.
- FIG. 6a is a schematic diagram of a display device rotated 90 degrees counterclockwise according to Embodiment 5 of the present invention.
- 6b is a schematic diagram of the display device in the fifth embodiment of the present invention rotated 90 degrees clockwise;
- FIG. 7 is a schematic diagram showing display results of display content on a display device according to Embodiment 5 of the present invention.
- FIG. 9a is a schematic diagram of a user terminal connecting to a display device through a wireless receiving box according to Embodiment 5 of the present invention.
- 9b is a schematic diagram of a user terminal connected to a display device through a wireless router according to Embodiment 5 of the present invention.
- 9c is a schematic diagram of a user terminal connected to a display device by wire in Embodiment 5 of the present invention.
- FIG. 10 is a schematic diagram of a connection between a WiMo receiving end device and a user terminal in a display device according to Embodiment 5 of the present invention.
- FIG. 11 is a schematic diagram of a communication process between a user terminal and a WiMo receiving end device according to Embodiment 5 of the present invention.
- FIG. 12 is a schematic flowchart of establishing a connection, performing data transmission, and disconnecting between a transmitting end and a receiving end according to Embodiment 5 of the present invention
- FIG. 13 is a schematic structural diagram of a display content processing apparatus according to Embodiment 6 of the present invention.
- the receiving end sends its own screen state to the sending end, and the user terminal can process the display content that needs to be displayed on the receiving end according to the screen state of the receiving end, so that the display content matches the screen state of the receiving end, and displays The content is better displayed on the receiving end.
- the sending end and the user terminal in the solution of the embodiment of the present invention may be a device capable of synchronously displaying with a display device, such as a mobile phone, a tablet computer, a notebook computer, a game console, a digital camera, or a digital video camera, and the receiving end and the
- the display device can be a television, a liquid crystal display, a projector, or the like.
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- the method for processing content displayed in the first embodiment of the present invention includes the following steps:
- Step 101 The receiving end indicates its own screen status to the sending end.
- Step 102 The receiving end receives and displays the display content sent by the sending end.
- the screen state of the receiving end includes horizontal and vertical screen information, or a rotation direction and a rotation angle.
- the transmitting end may decide whether to process the display content that needs to be displayed on the receiving end according to the screen state of the receiving end. If the transmitting end decides to process the display content that needs to be displayed on the receiving end according to the screen state of the receiving end, the display content that needs to be displayed on the receiving end is processed according to the screen state of the receiving end, and the processed content is processed.
- the display content is sent to the receiving end for display, and the specific implementation process thereof will be described in detail in Embodiment 2.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- the second embodiment is a display content processing method that is the same as the first embodiment of the present invention. As shown in FIG. 2, the display content processing method in the second embodiment of the present invention includes the following steps:
- Step 201 The sending end receives the screen state sent by the receiving end.
- Step 202 The sending end processes the display content that needs to be displayed on the receiving end according to the screen state of the receiving end.
- Step 203 The sending end sends the processed display content to the receiving end.
- the screen state of the receiving end includes horizontal and vertical screen information, or a rotation direction and a rotation angle.
- the transmitting end may decide whether to process the display content that needs to be displayed on the receiving end according to the screen state of the receiving end. If the transmitting end decides to process the display content that needs to be displayed on the receiving end according to the screen state of the receiving end, the display content that needs to be displayed on the receiving end is processed according to the screen state of the receiving end, and the processed content is processed.
- the display content is sent to the receiving end for display; if the transmitting end decides not to process the display content that needs to be displayed on the receiving end according to the screen state of the receiving end, the display content can be directly sent to the receiving end without processing.
- the specific implementation manner in which the sending end processes the display content that needs to be displayed on the receiving end according to the screen state of the receiving end may be:
- the transmitting end rotates the display content that needs to be displayed on the receiving end in the opposite direction of the rotation angle of the receiving end and the rotating direction of the receiving end.
- the transmitting end rotates the display content according to the rotation angle of the receiving end and the counterclockwise direction; if the rotation direction of the receiving end is the counterclockwise direction, the transmitting end displays the content according to the receiving end. Rotation angle and clockwise rotation.
- the content displayed on the receiving end is displayed in the forward direction.
- the television is rotated by 90 degrees, and the solution provided by the embodiment of the present invention can make the content of the mobile phone screen in the correct direction on the television. full-screen display.
- the specific implementation manner that the sending end processes the display content that needs to be displayed on the receiving end according to the screen state of the receiving end may be:
- the transmitting end adjusts the display content to the horizontal screen display when the horizontal screen of the receiving end is determined according to the horizontal and vertical screen information of the receiving end, or adjusts the display content to the vertical screen when the vertical screen of the receiving end is determined according to the horizontal and vertical screen information of the receiving end.
- the display content in the sending end may be a horizontal screen display or a vertical screen display in the sending end, and the sending end adjusts the display content to the horizontal screen display and sends the information to the receiving end when determining the horizontal screen installation of the receiving end; When it is determined that the vertical screen of the receiving end is installed, the display content is adjusted to be displayed in the vertical screen and sent to the receiving end.
- the specific implementation manner of the display end adjusting the display content to the horizontal screen display is: the sending end adapts the display content according to the horizontal screen, that is, the sending end adjusts the size of the display content to the horizontal content of the display content in the sending end.
- the size shown For example, suppose that the display content that needs to be displayed on the receiving end is 700*900 (that is, the image is 700 pixels high and 900 pixels wide), and the display size of the transmitting end is 600. (High) * 500 (wide), the size of the image displayed on the vertical screen in the sending end is 389*500, and the size of the image displayed on the horizontal screen in the transmitting end is 467*600. Therefore, the transmitting end determines the reception.
- the sending end can adjust the size of the display content according to the display mode of the display content in the sending end, wherein the display mode is specifically a vertical screen display or a horizontal screen display.
- the sending end adapts the display content according to the vertical screen, that is, the sending end adjusts the size of the displayed content to the vertical content of the display content in the sending end. The size shown.
- the transmitting end when the transmitting end is displayed in the vertical screen and the receiving end is displayed in the horizontal screen, the horizontal screen image is directly sent to the receiving end, and the transmitting end is not required to be placed on the horizontal screen; or the horizontal end is displayed on the transmitting end.
- the vertical screen image is directly sent to the receiving end, and the transmitting end is not required to be placed in the vertical screen.
- the receiving end is usually a horizontal screen
- the mobile phone is a vertical screen in a default state.
- the mobile phone does not need to place a horizontal screen, and the horizontal screen can be directly displayed according to the instruction of the receiving end.
- Send to the receiving end is a set-top box or a television, which is inconvenient to rotate.
- a picture of the horizontal screen adaptation or vertical screen adaptation can be sent to the receiving end.
- Embodiment 3 is a diagrammatic representation of Embodiment 3
- the third embodiment is a receiving end that belongs to the same inventive concept as the first embodiment. Therefore, the implementation of the third embodiment can be referred to the implementation of the first embodiment, and the repeated description is omitted.
- the receiving end includes:
- the indicating module 31 is configured to indicate its own screen status to the sending end;
- the display module 32 is configured to receive and display the display content sent by the sending end.
- the display content is display content processed by the sending end according to the screen state.
- the screen state includes horizontal and vertical screen information, or a rotation direction and a rotation angle.
- Embodiment 4 is a diagrammatic representation of Embodiment 4:
- the fourth embodiment is a transmitting end that belongs to the same inventive concept as the second embodiment. Therefore, the implementation of the fourth embodiment can be referred to the implementation of the second embodiment, and the repeated description is omitted.
- the sending end includes:
- the receiving module 41 is configured to receive a screen state sent by the receiving end;
- the processing module 42 is configured to process display content that needs to be displayed on the receiving end according to the screen state;
- the sending module 43 is configured to send the processed display content to the receiving end.
- processing module 42 is further configured to:
- the screen state includes a rotation direction and a rotation angle
- the processing module 42 is specifically configured to:
- the display content is rotated in accordance with the rotation angle and the opposite direction of the rotation direction.
- processing module 42 is specifically configured to:
- rotation direction is a clockwise direction, rotating the display content according to the rotation angle and the counterclockwise direction;
- the rotation direction is a counterclockwise direction
- the display content is rotated in accordance with the rotation angle and the clockwise direction.
- the screen state includes horizontal and vertical screen information
- the processing module 42 is specifically configured to:
- the display content is adjusted to be a vertical screen display.
- processing module 42 is specifically configured to:
- the display content is adapted according to the horizontal screen
- the display content is adapted according to a vertical screen.
- Embodiment 5 is a diagrammatic representation of Embodiment 5:
- the fifth embodiment is a display content processing method that is the same as the first to second embodiments. As shown in FIG. 5, the content processing method in the fifth embodiment of the present invention includes the following steps:
- Step 501 The user terminal processes the display content that needs to be displayed on the display device according to the installation location information of the display device.
- Step 502 The user terminal sends the processed display content to the display device.
- step 501 can be:
- Step 1 The user terminal obtains the installation location information of the display device.
- the location installation information of the display device includes a installation direction and a rotation angle, which can be input by the user in the user terminal according to the actual installation location of the display device.
- the user may input a parameter value corresponding to the installation location information of the display device in the user terminal, for example, assuming that the display device is rotated 90 degrees counterclockwise with the horizontal installation as a reference (as shown in FIG. 6a), that is, the display device In the installation position information, the installation direction is “counterclockwise” and the rotation angle is “90 degrees”.
- the user can input the parameter value “0X0002” in the user terminal, indicating that the display device is rotated 90 degrees counterclockwise.
- the location installation information of the display device may be a horizontal screen installation, and the corresponding parameter value of the horizontal screen installation is “0X0000”.
- the location installation information of the display device may also be obtained by the display device and then sent to the user terminal.
- a center of gravity sensor may be installed in the display device, and the position installation information of the display device may be determined according to the degree of the center of gravity of the display device determined by the center of gravity sensor being deviated from the horizontal center of the display device.
- the display device can inform the user terminal of the location installation information, for example, the display device can notify the status message.
- the location information of the terminal itself may be obtained by the display device and then sent to the user terminal.
- a center of gravity sensor may be installed in the display device, and the position installation information of the display device may be determined according to the degree of the center of gravity of the display device determined by the center of gravity sensor being deviated from the horizontal center of the display device.
- Step 2 The user terminal processes the display content that needs to be displayed on the display device according to the installation location information of the display device, where the display content includes an image or a video.
- the user terminal processes the display content that needs to be displayed on the display device according to the installation location information of the display device, and the specific implementation process is as follows:
- the user terminal rotates the display content that needs to be displayed on the display device in the opposite direction of the rotation angle of the display device and the installation direction of the display device.
- the user terminal rotates the display content according to the rotation angle of the display device and the counterclockwise direction; if the installation direction of the display device is installed in the counterclockwise direction, the user terminal will The display content is rotated in accordance with the rotation angle of the display device and in the clockwise direction.
- the display content is an image with a resolution of 1280*720 (that is, the height of the image is 1280 pixels and the width is 720 pixels).
- the user inputs a parameter value indicating that the display device is rotated 90 degrees counterclockwise, for example, 0X0002, in the user terminal, the user terminal rotates the display content by 90 degrees clockwise to obtain an image with a resolution of 720*1280;
- the user may input a parameter value indicating that the display device is horizontally installed in the user terminal, such as 0X0000.
- the user terminal adjusts the display content to a horizontal screen. display.
- step 502 after the user terminal processes the display content that needs to be displayed on the display device according to the location information of the display device, the step 502 can send the processed display content to the display device.
- the processed display content is compressed.
- the user terminal in the solution of the embodiment of the present invention displays the processed content after the processing. While being sent to the display device, the unprocessed display content can be displayed on the user terminal, that is, the display content is only processed in the background, and the display content displayed on the user terminal does not change.
- the user terminal described above processes the display content that needs to be displayed on the display device according to the installation location information of the display device, and sends the processed display content to the display device. After the display device receives the processed display content sent by the user terminal, the display device can display the content.
- the display device may further adaptively adjust the display content. For example, if the resolution of the image received by the display device is 720*1280 and the current display resolution of the display device is 1080*1920, the display device can stretch the received image to implement the image on the display device. Full screen display.
- the display device is installed in a counterclockwise manner by 90 degrees, and the display content is an image including four subtitles of “display content”. According to the solution of the embodiment of the present invention, the display result of the display content on the display device is as shown in FIG. 7 .
- the correspondence between the installation location information of the display device and the parameter value input by the user in the user terminal in the above example is only an example, and may not be set only in the manner described above, as long as the user terminal can know the display.
- the solution of the installation location information of the device is applicable to the embodiment of the present invention.
- the user terminal is a mobile phone and the display device is a television.
- the specific application process of the content processing method in the solution of the embodiment of the present invention includes the following steps:
- Step 801 After determining that the mobile phone needs to be synchronized with the television, the mobile phone determines the installation position of the television according to the parameter value corresponding to the installation location information input by the user in the mobile phone, if the television is installed 90 degrees counterclockwise. Go to step 802; if the TV is installed horizontally, go to step 803; if the TV is installed 90 degrees clockwise, go to step 804.
- Step 802 The mobile phone rotates an image with a resolution of 1280*720 that needs to be transmitted to the television to the television in a clockwise 90 degree direction to an image with a resolution of 720*1280, and transmits the rotated image to the television.
- the image with a resolution of 1280*720 is displayed on the phone, that is, the image displayed on the phone is not rotated.
- this step 802 can rotate the image with a resolution of 1280*720 that needs to be displayed on the television in a clockwise 90 degree direction to a resolution of 720*1280.
- the image and send the rotated image to the TV. This ensures that the image displayed on the TV is positive and does not require the user to tilt the camera 90 degrees to view the image displayed on the TV.
- Step 803 The mobile phone adjusts the image with the resolution of 1280*720 to the size displayed on the horizontal screen of the mobile phone through the client and sends the image to the television.
- step 803 After it is determined in step 801 that the television is installed in a horizontal screen, in this step 803, the image with a resolution of 1280*720 that needs to be displayed on the television can be adjusted to the size displayed on the horizontal screen of the mobile phone and sent to the television.
- Step 804 The mobile phone rotates the image with the resolution of 1280*720 that needs to be transmitted to the television to the television by the client in a counterclockwise 90 degree direction to an image with a resolution of 720*1280, and sends the rotated image to the television.
- the image with a resolution of 1280*720 is displayed on the phone, that is, the image displayed on the phone is not rotated.
- this step 804 can rotate the image with a resolution of 1280*720 that needs to be displayed on the television in a counterclockwise 90 degree direction to a resolution of 720*1280.
- the image and send the rotated image to the TV. This ensures that the image displayed on the TV is positive and does not require the user to tilt the camera 90 degrees to view the image displayed on the TV.
- Step 805 The television receives the image sent by the mobile phone by wire or wirelessly, and adjusts the received image.
- the television can determine whether the height of the received image is greater than the width, and if so, stretch the height and width of the received image to the height of the image to be consistent with the height of the television display; if not, then The height of the received image is stretched to match the height of the television display and the width of the received image is stretched to match the width of the television display. This ensures that when the TV is installed in portrait orientation (such as 90 degrees clockwise or 90 degrees counterclockwise), the image displayed on the TV is positive and full.
- portrait orientation such as 90 degrees clockwise or 90 degrees counterclockwise
- the user terminal and the display device process the display content.
- the connection and communication mode between the user terminal and the display device are described in detail below.
- Embodiment of the present invention In the case, the user terminal and the display device can be connected by wire or wirelessly.
- the user terminal As shown in FIG. 9a, the user terminal is connected to the display device through the wireless receiving box; as shown in FIG. 9b, the user terminal is connected to the display device through the wireless router; as shown in FIG. 9c, the user terminal is connected to the display device through a wired manner, wherein Wired connection methods include: MHL (Mobile High-Definition Link), HDMI (High-definition Digital Multimedia Interface), and VGA (Video Graphics Array).
- MHL Mobile High-Definition Link
- HDMI High-definition Digital Multimedia Interface
- VGA Video Graphics Array
- the display device may be internally or externally connected to a WiMo receiving end device for receiving the processed display content sent by the user terminal.
- a schematic diagram of a connection between a WiMo receiving end device and a user terminal is externally connected to the display device.
- the WiM chip or the protocol stack can be built in the user terminal, and the WiMo transmitter peripheral device can also be externally connected; the WiMo chip or protocol stack can also be built in the WiMo receiving end device.
- the user terminal and the WiMo receiving device can be connected by wireless transmission methods such as WiFi, UWB (Ultra-Wideband), and RF (Radio Frequency).
- the communication process between the user terminal and the WiMo receiving end device is as shown in FIG. 11 , and mainly includes the following steps:
- Step 1101 The user terminal executes a multimedia application.
- the user terminal can execute a multimedia application, such as playing a video, under the trigger of the user.
- a multimedia application such as playing a video
- Step 1102 The user terminal intercepts the multimedia data.
- the user terminal can intercept video image frame data and sound data in the played video.
- Step 1103 The user terminal compresses and encodes the intercepted multimedia data.
- Step 1104 The user terminal generates the data packet and the corresponding timestamp required for wireless transmission according to the WiMo protocol by compressing and encoding the multimedia data.
- Step 1105 The user terminal transmits the data packet and the time stamp to the WiMo receiving end device by using a wireless transmission manner.
- Step 1106 The WiMo receiving end device receives the data packet and the timestamp sent by the terminal.
- Step 1107 The WiMo receiving end device decodes and decompresses the received data packet and restores the multimedia data.
- the WiMo receiving end device processes the protocol message in the received data packet, and decodes and decompresses the received data packet to restore the multimedia data.
- Step 1108 The WiMo receiving end device optimizes the restored multimedia data.
- the display unit of the user terminal is generally inferior to the display device, in order to output the multimedia data to the display device, a playback effect better than when playing at the user terminal can be obtained, so that, for example, the video image frame data can be made low.
- the resolution is adjusted to high resolution, enhanced video image frame data brightness/contrast, and reduced noise of the sound data.
- Step 1109 The WiMo receiving end device outputs the optimized multimedia data to the display device for display.
- Described above is a process of data transmission between a user terminal and a display device (or a WiMo receiving device external to the display device) through the WiMo protocol. It should be noted that the WiMo devices establish a connection before data transmission and disconnect after the data transmission ends.
- connection process between the WiMo devices mainly refers to the connection between the transmitting end of the built-in WiMo chip or the protocol stack and the receiving end of the built-in WiMo chip or the protocol stack through the WiMo protocol after the connection of the underlying wireless network (such as a WiFi network), based on the request - The process of responding to communication mechanisms and sending messages and data to each other.
- the underlying wireless network such as a WiFi network
- the transmitting end may be a sender of audio and video data
- the receiving end may be a receiver of audio and video data.
- audio and video ie, display content
- a user terminal such as a mobile phone
- a display device such as a television
- a schematic diagram of a process of establishing a connection, performing data transmission, and disconnecting between a transmitting end and a receiving end includes the following steps:
- Step 1201 The sending end sends a broadcast message.
- the sending end may send a broadcast message to the receiving end in the same local area network to discover the receiving end with which the connection can be established.
- Step 1202 The receiving end responds to the broadcast message.
- the sending end when the receiving end of the same local area network receives the broadcast message sent by the sending end, if it is determined that the connection can be established with the sending end, the sending end sends a response message to the sending end, and carries the device name or Logo.
- Step 1203 The sending end sends a connection request to the receiving end.
- the sending end receives the response message of the receiving end, if the sending end determines that a connection needs to be established with the receiving end, the connection request is sent to the receiving end.
- Step 1204 The receiving end sends a connection response to the sending end.
- connection response is sent to the sender.
- Step 1205 The sender sends a password verification request to the receiver.
- the password verification request sent by the sender includes a password.
- Step 1206 The receiving end sends a password verification response to the sending end.
- the password verification response is sent to the sending end.
- Step 1207 The sender sends a status message to the receiver.
- a status message is sent to the receiver. For example, if the sender (such as a user terminal) is changed from a landscape display to a vertical screen, a status message is sent to the receiver (such as a display device) to inform the receiver that its status has changed.
- the sender such as a user terminal
- the receiver such as a display device
- Step 1208 Perform data transmission between the transmitting end and the receiving end.
- the transmitting end (such as the user terminal) rotates the image or video image frame that needs to be displayed on the receiving end according to the installation location information of the receiving end (such as the display device), and then the rotated image data or The video image frame data is sent to the receiving end.
- Step 1209 The connection between the sender and the receiver is disconnected.
- WiMo message types are described below. According to the functional differences, WiMo messages are divided into six command types: discovery, connection, operation, peripheral commands, power control, quality control, and define different opcodes (OPCODE), as shown in the following table. 1 is shown.
- OPCODE opcodes
- the sending end periodically sends a status message (such as a SOURCE_STATUS_ANNOUNCE message), for example, every 1 second, and the message does not need to respond.
- a status message such as a SOURCE_STATUS_ANNOUNCE message
- the sender immediately sends a status message to inform the receiver of the changed status information without waiting for the timer to time out.
- the change of the state of the sender includes, but is not limited to, the following situations:
- Case 1 The sender changes from the horizontal screen display to the vertical screen display (that is, the physical rotation occurs at the transmitting end).
- the transmitting end first sends a status message, and then encodes the rotated display content (ie, the rotated screen data). Then sent to the receiving end.
- This situation is applied to the scene where the receiving end (such as a TV) is horizontally installed (ie, horizontally mounted), and after the physical rotation is performed by the transmitting end, the rotated display content is displayed on the receiving end.
- Case 2 The physical rotation does not occur at the transmitting end, but the user inputs the installation location information of the receiving end in the transmitting end. At this time, the transmitting end first sends a status message, and then rotates the display content (ie, the screen data without rotation), and encodes Then sent to the receiving end. This case is applied to the scene where the receiving end (such as a TV set) is rotated 90 degrees counterclockwise or rotated 90 degrees (ie, vertical screen is installed). Although the transmitting end does not perform physical rotation, according to the installation position information of the receiving end, The data of the transmitting end is rotated to adapt to the rotation of the receiving end.
- the receiving end such as a TV set
- the data of the transmitting end is rotated to adapt to the rotation of the receiving end.
- the status message may carry information about the display direction of the sending end. For example, setting a value of 1 in the position field of the status message indicates that the sending end displays the vertical screen; setting a value of 0 in the position field of the status message indicates The sender side is displayed horizontally.
- the status message may further carry information about the installation location of the receiving end, for example, setting a value of 0X0000 in the TVrotate field of the status message, indicating that the receiving end is horizontally installed; setting a value of 0X0001 in the TVrotate field of the status message, indicating receiving The terminal is installed 90 degrees clockwise; the value 0X0002 is set in the TVrotate field of the status message, indicating that the receiving end is installed 90 degrees counterclockwise.
- the specific content of the above status message can be participated in Table 1. OPCODE_CM6x0_SOURCE_STATUS_ANNOUNCE.
- the sixth embodiment is a display content processing device that belongs to the same inventive concept as the fifth embodiment. Therefore, the implementation of the sixth embodiment can be referred to the implementation of the fifth embodiment, and the repeated description is omitted.
- the device includes:
- the processing module 1301 is configured to process display content that needs to be displayed on the display device according to installation location information of the display device.
- the sending module 1302 is configured to send the processed display content to the display device.
- the installation location information includes a mounting direction and a rotation angle
- the processing module 1301 is specifically configured to rotate the display content according to the rotation angle and an opposite direction of the installation direction.
- the processing module 1301 is specifically configured to rotate the display content according to the rotation angle and the counterclockwise direction if the installation direction is installed in a clockwise direction; or if the installation direction is a counterclockwise direction Installation, rotating the display content according to the rotation angle and the clockwise direction.
- the processing module 1301 is further configured to: before the sending module 1302 sends the processed display content to the display device, after the processed data content of the processed content is greater than a preset data amount threshold And compressing the processed display content.
- the processing module 1301 is further configured to display the display content on the user terminal.
- the display content processing device in the second embodiment of the present invention may be the user terminal in the first embodiment.
- the description of the components of the display content processing device in the second embodiment of the present invention is a description of the main functions of the components, and the components in the second embodiment of the present invention are also described in the implementation example 1.
- the function of the method step, at the same time, the display content processing device in the second embodiment of the present invention further has a logic module for performing the steps of the first embodiment.
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention may be employed in one or more A computer program product embodied on a computer usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
- a computer usable storage medium including but not limited to disk storage, CD-ROM, optical storage, etc.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明公开了一种显示内容处理方法及设备,具体包括:接收端将自身的屏幕状态指示给发送端;所述接收端接收并显示所述发送端发送的显示内容。由于接收端将自身的屏幕状态发送给发送端,用户终端可根据接收端的屏幕状态对需要在接收端上显示的显示内容进行处理,使得显示内容与接收端的屏幕状态相匹配,显示内容在接收端上显示效果较好。
Description
相关申请的交叉引用
本发明要求申请日为2013年10月21日、申请号为201310494849.4,发明名称为《一种显示内容处理方法及设备》的在先申请和申请日为2014年6月4日、申请号为201410245674.8,发明名称为《一种显示内容处理方法及设备》的优先权,要求优先权的内容全部记载在在先申请文件中。
本发明涉及通信技术领域,尤其涉及一种显示内容处理方法及设备。
随着用户终端(如智能手机)的普及,将用户终端的显示内容在显示设备(如电视机)上进行同步显示的需求显得越来越突出。现有技术中,当用户终端中的显示内容需要在显示设备上进行显示时,直接将该显示内容传输至显示设备进行显示,并不根据显示设备的信息对显示内容进行调整,由此可能导致显示内容在显示设备上显示效果较差。
发明内容
本发明实施例提供了一种显示内容处理方法及设备,用以解决现有技术中存在的用户终端无法根据显示设备的信息对需要在显示设备上进行显示的显示内容进行调整,由此可能导致显示内容在显示设备上显示效果较差的问题。
一种显示内容处理方法,所述方法包括:
接收端将自身的屏幕状态指示给发送端;
所述接收端接收并显示所述发送端发送的显示内容。
采用本发明实施例的方案,可根据接收端的屏幕状态对需要在接收端进行显示的显示内容进行处理,使得显示内容与接收端的屏幕状态相匹配,显
示内容在接收端上显示效果较好。
可选地,所述显示内容为所述发送端根据所述屏幕状态处理后的显示内容。
可选地,所述屏幕状态包括横竖屏信息,或旋转方向和旋转角度。
一种显示内容处理方法,所述方法包括:
发送端接收接收端发送的屏幕状态;
所述发送端根据所述屏幕状态,对需要在所述接收端上进行显示的显示内容进行处理;
所述发送端将处理后的显示内容发送给所述接收端。
采用本发明实施例的方案,可根据接收端的屏幕状态对需要在接收端进行显示的显示内容进行处理,使得显示内容与接收端的屏幕状态相匹配,显示内容在接收端上显示效果较好。
可选地,所述方法还包括:所述发送端决定是否根据所述屏幕状态对需要在所述接收端上进行显示的显示内容进行处理;
所述发送端根据所述屏幕状态,对需要在所述接收端上进行显示的显示内容进行处理,包括:如果所述发送端决定根据所述屏幕状态对需要在所述接收端上进行显示的显示内容进行处理,则所述发送端根据所述屏幕状态,对需要在所述接收端上进行显示的显示内容进行处理。
如此,即可由发送端决定是否根据接收端的屏幕状态对需要在接收端上进行显示的显示内容进行处理。
可选地,所述屏幕状态包括横竖屏信息,或旋转方向和旋转角度。
可选地,若所述屏幕状态包括旋转方向和旋转角度;
所述发送端根据所述屏幕状态,对需要在所述接收端上进行显示的显示内容进行处理,具体包括:
所述发送端将所述显示内容按照所述旋转角度以及所述旋转方向的相反方向进行旋转。
如此,即可根据接收端的旋转方向和旋转角度,对需要在接收端上进行显示的显示内容进行相应的调整,可在接收端不是水平安装时,实现显示内容在接收端上始终是正向显示,而不需要用户旋转角度观看接收端上的显示
内容。
可选地,所述发送端将所述显示内容按照所述旋转角度以及所述旋转方向的相反方向进行旋转,具体包括:
若所述旋转方向为顺时针方向,所述发送端将所述显示内容按照所述旋转角度以及逆时针方向进行旋转;或者
若所述旋转方向为逆时针方向,所述发送端将所述显示内容按照所述旋转角度以及顺时针方向进行旋转。
如此,即可根据接收端的旋转方向和旋转角度,对需要在接收端上进行显示的显示内容进行相应的调整,可在接收端不是水平安装时,实现显示内容在接收端上始终是正向显示,而不需要用户旋转角度观看接收端上的显示内容。
可选地,若所述屏幕状态包括横竖屏信息;
所述发送端根据所述屏幕状态,对需要在所述接收端上进行显示的显示内容进行处理,具体包括:
所述发送端在根据所述横竖屏信息确定出所述接收端横屏安装时,调整所述显示内容为横屏显示;或者
所述发送端在根据所述横竖屏信息确定出所述接收端竖屏安装时,调整所述显示内容为竖屏显示。
如此,即可在接收端横屏安装时,将显示内容调整为横屏显示,在接收端竖屏安装时,将显示内容调整为竖屏显示,使得调整后的显示内容在接收端中达到良好的显示效果。
可选地,所述发送端调整所述显示内容为横屏显示,具体包括:
所述发送端将所述显示内容按照横屏进行适配;
所述发送端调整所述显示内容为竖屏显示,具体包括:
所述发送端将所述显示内容按照竖屏进行适配。
一种接收端,所述接收端包括:
指示模块,用于将自身的屏幕状态指示给发送端;
显示模块,用于接收并显示所述发送端发送的显示内容。
可选地,所述显示内容为所述发送端根据所述屏幕状态处理后的显示内
容。
可选地,所述屏幕状态包括横竖屏信息,或旋转方向和旋转角度。
一种发送端,所述发送端包括:
接收模块,用于接收接收端发送的屏幕状态;
处理模块,用于根据所述屏幕状态,对需要在所述接收端上进行显示的显示内容进行处理;
发送模块,用于将处理后的显示内容发送给所述接收端。
可选地,所述处理模块还用于:
决定是否根据所述屏幕状态对需要在所述接收端上进行显示的显示内容进行处理;如果决定根据所述屏幕状态对需要在所述接收端上进行显示的显示内容进行处理,则根据所述屏幕状态,对需要在所述接收端上进行显示的显示内容进行处理。
可选地,所述屏幕状态包括横竖屏信息,或旋转方向和旋转角度。
可选地,若所述屏幕状态包括旋转方向和旋转角度;
所述处理模块具体用于:
将所述显示内容按照所述旋转角度以及所述旋转方向的相反方向进行旋转。
可选地,所述处理模块具体用于:
若所述旋转方向为顺时针方向,将所述显示内容按照所述旋转角度以及逆时针方向进行旋转;或者
若所述旋转方向为逆时针方向,将所述显示内容按照所述旋转角度以及顺时针方向进行旋转。
可选地,若所述屏幕状态包括横竖屏信息;
所述处理模块具体用于:
在根据所述横竖屏信息确定出所述接收端横屏安装时,调整所述显示内容为横屏显示;或者
在根据所述横竖屏信息确定出所述接收端竖屏安装时,调整所述显示内容为竖屏显示。
可选地,所述处理模块具体用于:
在根据所述横竖屏信息确定出所述接收端横屏安装时,将所述显示内容按照横屏进行适配;或者
在根据所述横竖屏信息确定出所述接收端竖屏安装时,将所述显示内容按照竖屏进行适配。
一种显示内容处理方法,所述方法包括:
用户终端根据显示设备的安装位置信息,对需要在所述显示设备上进行显示的显示内容进行处理;所述用户终端将处理后的显示内容发送给所述显示设备。
采用上述方案可根据显示设备的安装位置信息,对需要在显示设备上进行显示的显示内容进行相应的调整,从而保证显示内容在显示设备上正确显不。
具体地,所述安装位置信息包括安装方向和旋转角度;所述用户终端根据显示设备的安装位置信息,对需要在所述显示设备上进行显示的显示内容进行处理,具体包括:所述用户终端将所述显示内容按照所述旋转角度以及所述安装方向的相反方向进行旋转。
如此,即可根据显示设备的安装方向和旋转角度,对需要在显示设备上进行显示的显示内容进行相应的调整,可在显示设备不是水平安装时,实现显示内容在显示设备上始终是正向显示,而不需要用户旋转角度观看显示设备上的显示内容。
具体地,所述用户终端将所述显示内容按照所述旋转角度以及所述安装方向的相反方向进行旋转,具体包括:若所述安装方向为顺时针方向安装,所述用户终端将所述显示内容按照所述旋转角度以及逆时针方向进行旋转;或者若所述安装方向为逆时针方向安装,所述用户终端将所述显示内容按照所述旋转角度以及顺时针方向进行旋转。
如此,即可在显示设备旋转安装时,按照与显示设备的安装方向相反的方向对显示内容进行旋转,可实现显示内容在显示设备上始终是正向显示,而不需要用户旋转角度观看显示设备上的显示内容。
可选地,所述用户终端在将处理后的显示内容发送给所述显示设备之前,所述方法还包括:所述用户终端在所述处理后的显示内容的数据量大于预设
数据量阈值后,对所述处理后的显示内容进行压缩处理。
如此,即可对显示内容的数据量进行压缩,减少显示内容在传输过程中所消耗的资源。
可选地,所述方法还包括:所述用户终端将所述显示内容在所述用户终端上进行显示。
如此,即可保证在用户终端上显示的显示内容没有进行过处理,避免显示内容在用户终端上显示出错。
一种显示内容处理设备,所述设备包括:处理模块,用于根据显示设备的安装位置信息,对需要在所述显示设备上进行显示的显示内容进行处理;发送模块,用于将处理后的显示内容发送给所述显示设备。
采用该设备可根据显示设备的安装位置信息,对需要在显示设备上进行显示的显示内容进行相应的调整,从而保证显示内容在显示设备上正确显示。
具体地,所述安装位置信息包括安装方向和旋转角度;所述处理模块,具体用于将所述显示内容按照所述旋转角度以及所述安装方向的相反方向进行旋转。
如此,即可根据显示设备的安装方向和旋转角度,对需要在显示设备上进行显示的显示内容进行相应的调整,可在显示设备不是水平安装时,实现显示内容在显示设备上始终是正向显示,而不需要用户旋转角度观看显示设备上的显示内容。
具体地,所述处理模块,具体用于若所述安装方向为顺时针方向安装,将所述显示内容按照所述旋转角度以及逆时针方向进行旋转;或者若所述安装方向为逆时针方向安装,将所述显示内容按照所述旋转角度以及顺时针方向进行旋转。
如此,即可在显示设备旋转安装时,按照与显示设备的安装方向相反的方向对显示内容进行旋转,可实现显示内容在显示设备上始终是正向显示,而不需要用户旋转角度观看显示设备上的显示内容。
可选地,所述处理模块,还用于在所述发送模块将处理后的显示内容发送给所述显示设备之前,在所述处理后的显示内容的数据量大于预设数据量阈值后,对所述处理后的显示内容进行压缩处理。
如此,即可对显示内容的数据量进行压缩,减少显示内容在传输过程中所消耗的资源。
可选地,所述处理模块,还用于将所述显示内容在所述用户终端上进行显示。
如此,即可保证在用户终端上显示的显示内容没有进行过处理,避免显示内容在用户终端上显示出错。
图1为本发明实施例一中显示内容处理方法的步骤示意图;
图2为本发明实施例二中显示内容处理方法的步骤示意图;
图3为本发明实施例三中的接收端的结构示意图;
图4为本发明实施例四中的发送端的结构示意图;
图5为本发明实施例五中显示内容处理方法的步骤示意图;
图6a为本发明实施例五中的显示设备逆时针旋转90度安装的示意图;
图6b为本发明实施例五中的显示设备顺时针旋转90度安装的示意图;
图7为本发明实施例五中的显示内容在显示设备上的显示结果示意图;
图8为本发明实施例五中显示内容处理方法的具体应用流程图;
图9a为本发明实施例五中用户终端通过无线接收盒与显示设备连接的示意图;
图9b为本发明实施例五中用户终端通过无线路由器与显示设备连接的示意图;
图9c为本发明实施例五中用户终端通过有线方式与显示设备连接的示意图;
图10为本发明实施例五中显示设备外接一个WiMo接收端设备与用户终端进行通信的连接示意图;
图11为本发明实施例五中用户终端与WiMo接收端设备之间的通信过程示意图;
图12为本发明实施例五中发送端与接收端之间建立连接、进行数据传输、断开连接的流程示意图;
图13为本发明实施例六中的显示内容处理设备的结构示意图。
本发明实施例中接收端将自身的屏幕状态发送给发送端,用户终端可根据接收端的屏幕状态对需要在接收端上显示的显示内容进行处理,使得显示内容与接收端的屏幕状态相匹配,显示内容在接收端上显示效果较好。
需要说明的是,本发明实施例方案中的发送端和用户终端可以为手机、平板电脑、笔记本电脑、游戏掌机、数码相机或数码摄像机等能够与显示设备进行同步显示的设备,接收端和显示设备可以为电视机、液晶显示器、投影仪等。
下面结合说明书附图对本发明实施例作进一步说明,但本发明不局限于下面的实施例。
实施例一:
如图1所示,本发明实施例一中显示内容处理方法包括以下步骤:
步骤101:接收端将自身的屏幕状态指示给发送端;
步骤102:接收端接收并显示发送端发送的显示内容。
其中,接收端的屏幕状态包括横竖屏信息,或旋转方向和旋转角度。发送端在接收到接收端发送的屏幕状态后,可决定是否根据接收端的屏幕状态对需要在该接收端上进行显示的显示内容进行处理。如果发送端决定根据接收端的屏幕状态对需要在该接收端上进行显示的显示内容进行处理,则根据接收端的屏幕状态对需要在该接收端上进行显示的显示内容进行处理,并将处理后的显示内容发送给接收端进行显示,其具体实现过程将在实施例二中进行详细描述。
实施例二:
本实施例二是与实施例一属于同一发明构思的一种显示内容处理方法,如图2所示,本发明实施例二中显示内容处理方法包括以下步骤:
步骤201:发送端接收接收端发送的屏幕状态;
步骤202:发送端根据接收端的屏幕状态,对需要在接收端上进行显示的显示内容进行处理;
步骤203:发送端将处理后的显示内容发送给接收端。
其中,接收端的屏幕状态包括横竖屏信息,或旋转方向和旋转角度。
发送端在接收到接收端发送的屏幕状态后,可决定是否根据接收端的屏幕状态对需要在该接收端上进行显示的显示内容进行处理。如果发送端决定根据接收端的屏幕状态对需要在该接收端上进行显示的显示内容进行处理,则根据接收端的屏幕状态对需要在该接收端上进行显示的显示内容进行处理,并将处理后的显示内容发送给接收端进行显示;如果发送端决定不根据接收端的屏幕状态对需要在该接收端上进行显示的显示内容进行处理,可直接将显示内容发送给接收端而不进行处理。
若屏幕状态包括旋转方向和旋转角度,发送端根据接收端的屏幕状态对需要在接收端上进行显示的显示内容进行处理的具体实现方式可以为:
发送端将需要在接收端上进行显示的显示内容按照接收端的旋转角度以及接收端的旋转方向的相反方向进行旋转。
具体地,若接收端的旋转方向为顺时针方向,则发送端将显示内容按照接收端的旋转角度以及逆时针方向进行旋转;若接收端的旋转方向为逆时针方向,则发送端将显示内容按照接收端的旋转角度以及顺时针方向进行旋转。
采用上述方案,即使接收端发生旋转,接收端上显示的内容还是正向显示。例如,假设手机在电视机上做业务演示,为了让手机屏幕在电视机全屏显示,将电视机旋转90度,通过本发明实施例提供的方案,可以使得手机屏幕的内容在电视机上的正确方向的全屏显示。
可选地,若屏幕状态包括横竖屏信息,发送端根据接收端的屏幕状态对需要在接收端上进行显示的显示内容进行处理的具体实现方式可以为:
发送端在根据接收端的横竖屏信息确定出接收端横屏安装时,调整显示内容为横屏显示;或者在根据接收端的横竖屏信息确定出接收端竖屏安装时,调整显示内容为竖屏显示。
其中,发送端中的显示内容在发送端中可以是横屏显示也可以是竖屏显示,发送端在确定接收端横屏安装时,将显示内容调整为横屏显示发送给接收端;发送端在确定接收端竖屏安装时,将显示内容调整为竖屏显示发送给接收端。
具体地,发送端调整显示内容为横屏显示的具体实现方式为:发送端将显示内容按照横屏进行适配,即发送端将该显示内容的尺寸调整为该显示内容在发送端中横屏显示的尺寸。例如,假设发送端中需要在接收端上进行显示的显示内容为700*900的图像(即该图像的高为700个像素点,宽为900个像素点),而发送端的显示屏尺寸为600(高)*500(宽),则该图像在发送端中竖屏显示的尺寸为389*500,该图像在发送端中横屏显示的尺寸为467*600,因此,发送端在确定出接收端横屏安装时,将尺寸为467*600的图像发送给接收端。具体地,发送端可根据显示内容在发送端中的显示模式对该显示内容的尺寸进行调整,其中,显示模式具体为竖屏显示或横屏显示。
具体地,发送端调整显示内容为竖屏显示的具体实现方式为:发送端将显示内容按照竖屏进行适配,即发送端将该显示内容的尺寸调整为该显示内容在发送端中竖屏显示的尺寸。
采用上述方案,可在发送端为竖屏显示而接收端为横屏显示时,直接将横屏画面发送给接收端,而不需要将发送端放置横屏;也可在发送端为横屏显示而接收端为竖屏显示时,直接将竖屏画面发送给接收端,而不需要将发送端放置竖屏。
例如,在车载场景下,接收端通常为横屏,而手机默认状态下为竖屏,按照本发明实施例提供的方案,手机无需放置横屏,也可根据接收端的指示,直接将横屏画面发送给接收端。又例如,发送端为机顶盒或电视,不方便旋转,按照本发明实施例提供的方案,可以发送横屏适配或竖屏适配的画面给接收端。
实施例三:
本实施例三是与实施例一属于同一发明构思的一种接收端,因此实施例三的实施可以参见实施例一的实施,重复之处不再赘述。
如图3所示,所述接收端包括:
指示模块31,用于将自身的屏幕状态指示给发送端;
显示模块32,用于接收并显示所述发送端发送的显示内容。
可选地,所述显示内容为所述发送端根据所述屏幕状态处理后的显示内容。
可选地,所述屏幕状态包括横竖屏信息,或旋转方向和旋转角度。
实施例四:
本实施例四是与实施例二属于同一发明构思的一种发送端,因此实施例四的实施可以参见实施例二的实施,重复之处不再赘述。
如图4所示,所述发送端包括:
接收模块41,用于接收接收端发送的屏幕状态;
处理模块42,用于根据所述屏幕状态,对需要在所述接收端上进行显示的显示内容进行处理;
发送模块43,用于将处理后的显示内容发送给所述接收端。
可选地,所述处理模块42还用于:
决定是否根据所述屏幕状态对需要在所述接收端上进行显示的显示内容进行处理;如果决定根据所述屏幕状态对需要在所述接收端上进行显示的显示内容进行处理,则根据所述屏幕状态,对需要在所述接收端上进行显示的显示内容进行处理。
可选地,若所述屏幕状态包括旋转方向和旋转角度;
所述处理模块42具体用于:
将所述显示内容按照所述旋转角度以及所述旋转方向的相反方向进行旋转。
可选地,所述处理模块42具体用于:
若所述旋转方向为顺时针方向,将所述显示内容按照所述旋转角度以及逆时针方向进行旋转;或者
若所述旋转方向为逆时针方向,将所述显示内容按照所述旋转角度以及顺时针方向进行旋转。
可选地,若所述屏幕状态包括横竖屏信息;
所述处理模块42具体用于:
在根据所述横竖屏信息确定出所述接收端横屏安装时,调整所述显示内容为横屏显示;或者
在根据所述横竖屏信息确定出所述接收端竖屏安装时,调整所述显示内容为竖屏显示。
可选地,所述处理模块42具体用于:
在根据所述横竖屏信息确定出所述接收端横屏安装时,将所述显示内容按照横屏进行适配;或者
在根据所述横竖屏信息确定出所述接收端竖屏安装时,将所述显示内容按照竖屏进行适配。
实施例五:
本实施例五是与实施例一~二属于同一发明构思的一种显示内容处理方法,如图5所示,本发明实施例五中显示内容处理方法包括以下步骤:
步骤501:用户终端根据显示设备的安装位置信息,对需要在显示设备上进行显示的显示内容进行处理;
步骤502:用户终端将处理后的显示内容发送给显示设备。
步骤501的具体实现方式可以为:
第一步:用户终端获得显示设备的安装位置信息。
其中,显示设备的位置安装信息包括安装方向和旋转角度,可由用户根据显示设备的实际安装位置情况在用户终端中输入。具体地,用户可在用户终端中输入与显示设备的安装位置信息相对应的参数值,例如,假设显示设备以水平安装为基准逆时针旋转90度安装(如图6a所示),即显示设备的安装位置信息中的安装方向为“逆时针”、旋转角度为“90度”,则用户可在用户终端中输入参数值“0X0002”,表示显示设备逆时针旋转90度安装。假设显示设备以水平安装为基准顺时针旋转90度安装(如图6b所示),即显示设备的安装位置信息中的安装方向为“顺时针”、旋转角度为“90度”,则用户可在用户终端中输入参数值“0X0001”,表示显示设备顺时针旋转90度安装。可选地,显示设备的位置安装信息具体可以为横屏安装,且横屏安装对应的参数值为“0X0000”。
可选地,显示设备的位置安装信息也可由显示设备获得后发送给用户终端。例如,可在显示设备内安装一个重心传感器,根据该重心传感器确定出的显示设备的重心偏离显示设备水平安装时的重心的程度,即可确定出显示设备的位置安装信息。当用户终端与显示设备建立连接后,显示设备即可将自身的位置安装信息告知用户终端,例如,显示设备可通过状态消息告知用
户终端自身的位置安装信息。
第二步:用户终端根据显示设备的安装位置信息,对需要在显示设备上进行显示的显示内容进行处理,其中,该显示内容包括图像或视频。
若安装位置信息包括安装方向和旋转角度,用户终端根据显示设备的安装位置信息,对需要在显示设备上进行显示的显示内容进行处理,其具体实现过程如下:
用户终端将需要在显示设备上进行显示的显示内容按照显示设备的旋转角度以及显示设备的安装方向的相反方向进行旋转。
具体地,若显示设备的安装方向为顺时针方向安装,则用户终端将显示内容按照显示设备的旋转角度以及逆时针方向进行旋转;若显示设备的安装方向为逆时针方向安装,则用户终端将显示内容按照显示设备的旋转角度以及顺时针方向进行旋转。
下面以显示内容为分辨率为1280*720的图像(即该图像的高为1280个像素点,宽为720个像素点)为例进行说明。
假设用户在用户终端中输入表示显示设备逆时针旋转90度安装的参数值比如0X0002,则用户终端将显示内容顺时针旋转90度后得到分辨率为720*1280的图像;假设用户在用户终端中输入表示显示设备顺时针旋转90度安装的参数值,比如0X0001,则用户终端将显示内容逆时针旋转90度后得到分辨率为720*1280的图像。
需要说明的是,如果显示设备是水平安装(即横屏安装)的,则用户可在用户终端中输入表示显示设备水平安装的参数值,比如0X0000,此时,用户终端调整显示内容为横屏显示。
步骤502中,在用户终端根据显示设备的位置信息,对需要在显示设备上进行显示的显示内容进行处理之后,本步骤502即可将处理后的显示内容发送给显示设备。
可选地,用户终端在将处理后的显示内容发送给显示设备之前,可先判断处理后的显示内容的数据量是否大于预设数据量阈值,在确定处理后的显示内容的数据量大于预设数据量阈值后,对处理后的显示内容进行压缩处理。
需要说明的是,本发明实施例方案中的用户终端在将处理后的显示内容
发送给显示设备的同时,可将没有经过处理的显示内容在用户终端上进行显示,即显示内容只是在后台进行处理,用户终端上所显示的显示内容不变。
以上描述的用户终端如何根据显示设备的安装位置信息,对需要在显示设备上进行显示的显示内容进行处理,并将处理后的显示内容发送给显示设备。显示设备在接收到用户终端发送的处理后的显示内容后,即可进行显示。
可选地,显示设备在接收到用户终端发送的处理后的显示内容后,还可对显示内容进行自适应调整。例如,假设显示设备接收到的图像的分辨率为720*1280,而显示设备当前的显示分辨率为1080*1920,则显示设备可对接收到的图像进行拉伸,以实现图像在显示设备上满屏显示。以显示设备逆时针90度安装、显示内容为包含有“显示内容”四个字幕的图像为例,通过本发明实施例的方案,显示内容在显示设备上的显示结果如图7所示。
需要说明的是,上述例子中显示设备的安装位置信息与用户在用户终端中输入的参数值的对应关系只是举例说明,并非只能按照上面所描述的方式进行设置,只要是用户终端能够获知显示设备的安装位置信息的方案都适用本发明实施例。
下面以用户终端为手机,显示设备为电视机为例进行说明。
如图8所示,本发明实施例方案中显示内容处理方法的具体应用流程包括以下步骤:
步骤801:手机在确定需要与电视机进行同步显示后,根据用户在手机中输入的与电视机的安装位置信息相对应的参数值,判断电视机的安装位置,如果电视机逆时针90度安装,则转至步骤802;如果电视机横屏安装,则转至步骤803;如果电视机顺时针90度安装,则转至步骤804。
例如,假设用户在手机中输入参数值“0X0002”,表示电视机逆时针旋转90度安装;假设用户在手机中输入参数值“0X0001”,表示电视机顺时针旋转90度安装;假设用户在手机中输入参数值“0X0000”,表示电视机横屏安装。
步骤802:手机通过客户端将需要传输给电视机的分辨率为1280*720的图像按照顺时针90度方向旋转为分辨率为720*1280的图像,并将旋转后的图像发送给电视机,手机上显示的是分辨率为1280*720的图像,即在手机上显示的图像是没有经过旋转处理的。
在步骤801判断出电视机为逆时针90度安装后,本步骤802即可将需要在电视机上进行显示的分辨率为1280*720的图像按照顺时针90度方向旋转为分辨率为720*1280的图像,并将旋转后的图像发送给电视机。这样就能保证在电视机上显示的图像是正向的,而不需要用户偏头90度才能观看电视机上显示的图像。
步骤803:手机通过客户端将分辨率为1280*720的图像调整为在手机中横屏显示的尺寸并发送给电视机。
在步骤801判断出电视机为横屏安装后,本步骤803即可将需要在电视机上进行显示的分辨率为1280*720的图像调整为在手机中横屏显示的尺寸并发送给电视机。
步骤804:手机通过客户端将需要传输给电视机的分辨率为1280*720的图像按照逆时针90度方向旋转为分辨率为720*1280的图像,并将旋转后的图像发送给电视机,手机上显示的是分辨率为1280*720的图像,即在手机上显示的图像是没有经过旋转处理的。
在步骤801判断出电视机为顺时针90度安装后,本步骤804即可将需要在电视机上进行显示的分辨率为1280*720的图像按照逆时针90度方向旋转为分辨率为720*1280的图像,并将旋转后的图像发送给电视机。这样就能保证在电视机上显示的图像是正向的,而不需要用户偏头90度才能观看电视机上显示的图像。
步骤805:电视机通过有线或无线方式接收手机发送的图像,并对接收到的图像进行调整。
具体地,电视机可判断接收到的图像的高度是否大于宽度,若是,则将接收到的图像的高度和宽度等比例拉伸至图像的高度与电视机显示屏的高度一致;若否,则将接收到的图像的高度拉伸至与电视机显示屏的高度一致,并将接收到的图像的宽度拉伸至与电视机显示屏的宽度一致。这样就能保证在电视机为竖屏安装(如顺时针90度安装或逆时针90度安装)时,在电视机上显示的图像是正向的且是满屏的。
以上描述的是用户终端以及显示设备如何对显示内容进行处理,下面对用户终端与显示设备之间的连接与通信方式进行详细描述。本发明实施例方
案中,用户终端与显示设备之间可通过有线或无线方式进行连接。如图9a所示为用户终端通过无线接收盒与显示设备连接;如图9b所示为用户终端通过无线路由器与显示设备连接;如图9c所示为用户终端通过有线方式与显示设备连接,其中有线连接方式包括:MHL(Mobile High-Definition Link,移动终端高清影音标准接口)、HDMI(High-definition Digital Multimedia Interface,高清晰数字多媒体接口)和VGA(Video Graphics Array,视频图形阵列)。
具体地,如果用户终端与显示设备之间通过无线方式进行连接,则用户终端与显示设备之间可通过WiMo(Wireless Mobile Multimedia Transmission Protocol,移动终端无线多媒体传送协议)进行数据的传输。其中,显示设备可内置或外接一个WiMo接收端设备,用以接收用户终端发送的处理后的显示内容。如图10所示,为显示设备外接一个WiMo接收端设备与用户终端进行通信的连接示意图。其中,用户终端中可内置WiMo芯片或协议栈,也可外接WiMo发送端外设;WiMo接收端设备中也可内置WiMo芯片或协议栈。用户终端与WiMo接收端设备之间可通过WiFi、UWB(Ultra-Wideband,超宽带)、RF(Radio Frequency,射频)等无线传输方式进行连接。
具体地,用户终端与WiMo接收端设备之间的通信过程如图11所示,主要包括以下步骤:
步骤1101:用户终端执行多媒体应用。
具体地,用户终端可在用户的触发下执行多媒体应用,例如播放视频。
步骤1102:用户终端截取多媒体数据。
例如,用户终端可截取播放的视频中的视频图像帧数据以及声音数据。
步骤1103:用户终端对截取的多媒体数据进行压缩及编码。
步骤1104:用户终端将压缩编码后的多媒体数据按照WiMo协议生成无线传输所需的数据封包和对应的时间戳。
步骤1105:用户终端将数据封包和时间戳通过无线传输方式传输至WiMo接收端设备。
步骤1106:WiMo接收端设备接收终端发送的数据封包和时间戳。
步骤1107:WiMo接收端设备对接收到的数据封包进行解码及解压缩,还原成多媒体数据。
具体地,WiMo接收端设备对接收到的数据封包中的协议消息进行处理,并对接收到的数据封包进行解码及解压缩,还原成多媒体数据。
步骤1108:WiMo接收端设备对还原后的多媒体数据进行优化处理。
由于用户终端的显示单元通常与显示设备相比较差,为了使多媒体数据输出至显示设备上播放时,能够得到优于在用户终端播放时的播放效果,因此可进行例如将视频图像帧数据由低分辨率调整为高分辨率、增强视频图像帧数据亮度/对比度、以及降低声音数据的噪声等优化处理。
步骤1109:WiMo接收端设备将优化后的多媒体数据输出至显示设备进行显示。
以上描述的是用户终端与显示设备(或显示设备外接的WiMo接收端设备)之间通过WiMo协议进行数据传输的过程。需要说明的是,WiMo设备之间在进行数据传输之前会先建立连接、并在数据传输结束之后会断开连接。
具体地,WiMo设备之间的连接流程主要指在底层无线网络(如WiFi网络)连接后,内置WiMo芯片或协议栈的发送端与内置WiMo芯片或协议栈的接收端通过WiMo协议,基于请求-应答通信机制,相互之间进行消息和数据发送的过程。
需要说明的是,上述发送端可以为音视频数据的发送方,接收端可以为音视频数据的接收方。在将用户终端(如手机)的音视频(即显示内容)投放到显示设备(如电视机)进行显示的应用场景中,用户终端相当于发送端,显示设备相当于接收端。
如图12所示,为发送端与接收端之间建立连接、进行数据传输、断开连接的流程示意图,包括以下步骤:
步骤1201:发送端发送广播消息。
具体地,如果发送端需要与接收端建立连接时,发送端可向同属同一个局域网内的接收端发送广播消息,以此来发现可与之建立连接的接收端。
步骤1202:接收端响应广播消息。
具体地,当同属同一个局域网内的接收端接收到发送端发送的广播消息时,如果确定可与发送端建立连接,则向发送端发送响应消息,并在响应消息中携带自身的设备名称或标识。
步骤1203:发送端向接收端发送连接请求。
具体地,当发送端接收到接收端的响应消息时,如果发送端确定需要与接收端建立连接,则向接收端发送连接请求。
步骤1204:接收端向发送端发送连接响应。
如果接收端允许发送端与之建立连接,则向发送端发送连接响应。
步骤1205:发送端向接收端发送密码验证请求。
其中,发送端发送的密码验证请求中包含密码。
步骤1206:接收端向发送端发送密码验证响应。
如果接收端对发送端发送的密码验证请求中包含的密码验证成功,则向发送端发送密码验证响应。
步骤1207:发送端向接收端发送状态消息。
如果发送端的状态发生更新,则向接收端发送状态消息。例如,假设发送端(如用户终端)由横屏显示变为竖屏显示,则会向接收端(如显示设备)发送状态消息,告知接收端自己的状态发生了改变。
步骤1208:发送端与接收端之间进行数据传输。
在发送端与接收端建立连接后,发送端与接收端之间即可进行数据的传输。例如,发送端(如用户终端)在根据接收端(如显示设备)的安装位置信息,对需要在接收端上进行显示的图像或视频图像帧进行旋转后,即可将旋转后的图像数据或视频图像帧数据发送给接收端。
步骤1209:发送端与接收端之间断开连接。
如果发送端与接收端之间的数据传输完毕或连接中断,则发送端与接收端之间将断开连接。
以下对WiMo消息类型进行说明,依据功能差别,WiMo消息被分为6种命令类型:发现、连接、操作、外设命令、功率控制、质量控制,并定义不同的操作码(OPCODE),如下表1所示。
表1:
其中,发送端定时发送状态消息(如SOURCE_STATUS_ANNOUNCE消息),例如每隔1秒发送一次,该消息不需要响应。当发送端状态改变时(例如,发送端从横屏显示变为竖屏显示),发送端会立即发送状态消息,通知接收端改变的状态信息,而不需要等到定时器超时。
需要说明的是,发送端状态的改变包括但不限于如下情况:
情况一:发送端从横屏显示变为竖屏显示(即发送端发生了物理旋转),此时发送端先发送状态消息,然后对旋转后的显示内容(即旋转后的屏幕数据)进行编码后发送给接收端。这种情况应用于接收端(如电视机)水平安装(即横屏安装)的场景,发送端在进行物理旋转后,将旋转后的显示内容在接收端进行显示。
情况二:发送端没有发生物理旋转,而是用户在发送端中输入接收端的安装位置信息,此时发送端先发送状态消息,然后将显示内容(即没有旋转的屏幕数据)进行旋转处理,编码后发送给接收端。这种情况应用于接收端(如电视机)逆时针旋转90度安装或顺时针旋转90度安装(即竖屏安装)的场景,发送端虽然没有做物理旋转,但是根据接收端的安装位置信息,对发送端的数据做旋转处理,以适配接收端的旋转情况。
需要说明的是,上述状态消息中可携带发送端的显示方向的信息,例如,在状态消息的position字段中设置值1,表示发送端竖屏显示;在状态消息的position字段中设置值0,表示发送端横屏显示。可选地,上述状态消息中还可携带接收端安装位置的信息,例如,在状态消息的TVrotate字段中设置值0X0000,表示接收端水平安装;在状态消息的TVrotate字段中设置值0X0001,表示接收端顺时针90度安装;在状态消息的TVrotate字段中设置值0X0002,表示接收端逆时针90度安装。其中,上述状态消息的具体内容可参加表1中
的OPCODE_CM6x0_SOURCE_STATUS_ANNOUNCE。
实施例六:
本实施例六是与实施例五属于同一发明构思的一种显示内容处理设备,因此实施例六的实施可以参见实施例五的实施,重复之处不再赘述。
如图13所示,所述设备包括:
处理模块1301用于根据显示设备的安装位置信息,对需要在所述显示设备上进行显示的显示内容进行处理。
发送模块1302用于将处理后的显示内容发送给所述显示设备。
具体地,所述安装位置信息包括安装方向和旋转角度,所述处理模块1301具体用于将所述显示内容按照所述旋转角度以及所述安装方向的相反方向进行旋转。
具体地,所述处理模块1301具体用于若所述安装方向为顺时针方向安装,将所述显示内容按照所述旋转角度以及逆时针方向进行旋转;或者,若所述安装方向为逆时针方向安装,将所述显示内容按照所述旋转角度以及顺时针方向进行旋转。
可选地,所述处理模块1301还用于在所述发送模块1302将处理后的显示内容发送给所述显示设备之前,在所述处理后的显示内容的数据量大于预设数据量阈值后,对所述处理后的显示内容进行压缩处理。
可选地,所述处理模块1301还用于将所述显示内容在所述用户终端上进行显示。
其中,本发明实施例二中的显示内容处理设备可以是实施例一中的用户终端。
需要说明的是,本发明实施例二中对显示内容处理设备的各组成部分的描述是对各组成部分主要功能的描述,本发明实施例二中各组成部分也具备实现实施例一中所描述的方法步骤的功能,同时,本发明实施例二中的显示内容处理设备还具有执行实施例一各步骤的逻辑模块。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个
其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。
Claims (30)
- 一种显示内容处理方法,其特征在于,所述方法包括:接收端将自身的屏幕状态指示给发送端;所述接收端接收并显示所述发送端发送的显示内容。
- 如权利要求1所述的方法,其特征在于,所述显示内容为所述发送端根据所述屏幕状态处理后的显示内容。
- 如权利要求1或2所述的方法,其特征在于,所述屏幕状态包括横竖屏信息,或旋转方向和旋转角度。
- 一种显示内容处理方法,其特征在于,所述方法包括:发送端接收接收端发送的屏幕状态;所述发送端根据所述屏幕状态,对需要在所述接收端上进行显示的显示内容进行处理;所述发送端将处理后的显示内容发送给所述接收端。
- 如权利要求4所述的方法,其特征在于,所述方法还包括:所述发送端决定是否根据所述屏幕状态对需要在所述接收端上进行显示的显示内容进行处理;所述发送端根据所述屏幕状态,对需要在所述接收端上进行显示的显示内容进行处理,包括:如果所述发送端决定根据所述屏幕状态对需要在所述接收端上进行显示的显示内容进行处理,则所述发送端根据所述屏幕状态,对需要在所述接收端上进行显示的显示内容进行处理。
- 如权利要求4或5所述的方法,其特征在于,所述屏幕状态包括横竖屏信息,或旋转方向和旋转角度。
- 如权利要求4所述的方法,其特征在于,若所述屏幕状态包括旋转方向和旋转角度;所述发送端根据所述屏幕状态,对需要在所述接收端上进行显示的显示内容进行处理,具体包括:所述发送端将所述显示内容按照所述旋转角度以及所述旋转方向的相反方向进行旋转。
- 如权利要求7所述的方法,其特征在于,所述发送端将所述显示内容按照所述旋转角度以及所述旋转方向的相反方向进行旋转,具体包括:若所述旋转方向为顺时针方向,所述发送端将所述显示内容按照所述旋转角度以及逆时针方向进行旋转;或者若所述旋转方向为逆时针方向,所述发送端将所述显示内容按照所述旋转角度以及顺时针方向进行旋转。
- 如权利要求4所述的方法,其特征在于,若所述屏幕状态包括横竖屏信息;所述发送端根据所述屏幕状态,对需要在所述接收端上进行显示的显示内容进行处理,具体包括:所述发送端在根据所述横竖屏信息确定出所述接收端横屏安装时,调整所述显示内容为横屏显示;或者所述发送端在根据所述横竖屏信息确定出所述接收端竖屏安装时,调整所述显示内容为竖屏显示。
- 如权利要求9所述的方法,其特征在于,所述发送端调整所述显示内容为横屏显示,具体包括:所述发送端将所述显示内容按照横屏进行适配;所述发送端调整所述显示内容为竖屏显示,具体包括:所述发送端将所述显示内容按照竖屏进行适配。
- 一种接收端,其特征在于,所述接收端包括:指示模块,用于将自身的屏幕状态指示给发送端;显示模块,用于接收并显示所述发送端发送的显示内容。
- 如权利要求11所述的接收端,其特征在于,所述显示内容为所述发送端根据所述屏幕状态处理后的显示内容。
- 如权利要求11或12所述的接收端,其特征在于,所述屏幕状态包括横竖屏信息,或旋转方向和旋转角度。
- 一种发送端,其特征在于,所述发送端包括:接收模块,用于接收接收端发送的屏幕状态;处理模块,用于根据所述屏幕状态,对需要在所述接收端上进行显示的 显示内容进行处理;发送模块,用于将处理后的显示内容发送给所述接收端。
- 如权利要求14所述的发送端,其特征在于,所述处理模块还用于:决定是否根据所述屏幕状态对需要在所述接收端上进行显示的显示内容进行处理;如果决定根据所述屏幕状态对需要在所述接收端上进行显示的显示内容进行处理,则根据所述屏幕状态,对需要在所述接收端上进行显示的显示内容进行处理。
- 如权利要求14或15所述的发送端,其特征在于,所述屏幕状态包括横竖屏信息,或旋转方向和旋转角度。
- 如权利要求14所述的发送端,其特征在于,若所述屏幕状态包括旋转方向和旋转角度;所述处理模块具体用于:将所述显示内容按照所述旋转角度以及所述旋转方向的相反方向进行旋转。
- 如权利要求17所述的发送端,其特征在于,所述处理模块具体用于:若所述旋转方向为顺时针方向,将所述显示内容按照所述旋转角度以及逆时针方向进行旋转;或者若所述旋转方向为逆时针方向,将所述显示内容按照所述旋转角度以及顺时针方向进行旋转。
- 如权利要求14所述的发送端,其特征在于,若所述屏幕状态包括横竖屏信息;所述处理模块具体用于:在根据所述横竖屏信息确定出所述接收端横屏安装时,调整所述显示内容为横屏显示;或者在根据所述横竖屏信息确定出所述接收端竖屏安装时,调整所述显示内容为竖屏显示。
- 如权利要求19所述的发送端,其特征在于,所述处理模块具体用于:在根据所述横竖屏信息确定出所述接收端横屏安装时,将所述显示内容按照横屏进行适配;或者在根据所述横竖屏信息确定出所述接收端竖屏安装时,将所述显示内容按照竖屏进行适配。
- 一种显示内容处理方法,其特征在于,所述方法包括:用户终端根据显示设备的安装位置信息,对需要在所述显示设备上进行显示的显示内容进行处理;所述用户终端将处理后的显示内容发送给所述显示设备。
- 如权利要求21所述的方法,其特征在于,所述安装位置信息包括安装方向和旋转角度;所述用户终端根据显示设备的安装位置信息,对需要在所述显示设备上进行显示的显示内容进行处理,具体包括:所述用户终端将所述显示内容按照所述旋转角度以及所述安装方向的相反方向进行旋转。
- 如权利要求22所述的方法,其特征在于,所述用户终端将所述显示内容按照所述旋转角度以及所述安装方向的相反方向进行旋转,具体包括:若所述安装方向为顺时针方向安装,所述用户终端将所述显示内容按照所述旋转角度以及逆时针方向进行旋转;或者若所述安装方向为逆时针方向安装,所述用户终端将所述显示内容按照所述旋转角度以及顺时针方向进行旋转。
- 如权利要求21所述的方法,其特征在于,所述用户终端在将处理后的显示内容发送给所述显示设备之前,所述方法还包括:所述用户终端在所述处理后的显示内容的数据量大于预设数据量阈值后,对所述处理后的显示内容进行压缩处理。
- 如权利要求21所述的方法,其特征在于,所述方法还包括:所述用户终端将所述显示内容在所述用户终端上进行显示。
- 一种显示内容处理设备,其特征在于,所述设备包括:处理模块,用于根据显示设备的安装位置信息,对需要在所述显示设备上进行显示的显示内容进行处理;发送模块,用于将处理后的显示内容发送给所述显示设备。
- 如权利要求26所述的设备,其特征在于,所述安装位置信息包括安 装方向和旋转角度;所述处理模块,具体用于将所述显示内容按照所述旋转角度以及所述安装方向的相反方向进行旋转。
- 如权利要求27所述的设备,其特征在于,所述处理模块,具体用于若所述安装方向为顺时针方向安装,将所述显示内容按照所述旋转角度以及逆时针方向进行旋转;或者若所述安装方向为逆时针方向安装,将所述显示内容按照所述旋转角度以及顺时针方向进行旋转。
- 如权利要求26所述的设备,其特征在于,所述处理模块,还用于在所述发送模块将处理后的显示内容发送给所述显示设备之前,在所述处理后的显示内容的数据量大于预设数据量阈值后,对所述处理后的显示内容进行压缩处理。
- 如权利要求26所述的设备,其特征在于,所述处理模块,还用于将所述显示内容在所述用户终端上进行显示。
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310494849.4 | 2013-10-21 | ||
| CN201310494849 | 2013-10-21 | ||
| CN201410245674.8A CN104581405B (zh) | 2013-10-21 | 2014-06-04 | 一种显示内容处理方法及设备 |
| CN201410245674.8 | 2014-06-04 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015058670A1 true WO2015058670A1 (zh) | 2015-04-30 |
Family
ID=52992271
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/089036 Ceased WO2015058670A1 (zh) | 2013-10-21 | 2014-10-21 | 一种显示内容处理方法及设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104581405B (zh) |
| WO (1) | WO2015058670A1 (zh) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106101764A (zh) * | 2016-07-20 | 2016-11-09 | 广州华多网络科技有限公司 | 一种显示视频数据的方法、装置和系统 |
| CN111414204A (zh) * | 2020-03-19 | 2020-07-14 | 京东方科技集团股份有限公司 | 一种开机显示方法、装置及电子设备 |
| CN112395019A (zh) * | 2019-08-02 | 2021-02-23 | 深圳Tcl数字技术有限公司 | 一种自动调节屏幕显示方向的方法、显示终端及存储介质 |
| CN112988561A (zh) * | 2019-12-18 | 2021-06-18 | 腾讯科技(深圳)有限公司 | 检测显示配置代码的方法、装置、服务器和存储介质 |
| CN113395554A (zh) * | 2020-03-13 | 2021-09-14 | 海信视像科技股份有限公司 | 显示设备 |
| CN113453050A (zh) * | 2021-06-24 | 2021-09-28 | 深圳康佳电子科技有限公司 | 基于旋转屏的播放模式调整方法、智能终端、存储介质 |
| CN113923345A (zh) * | 2020-07-09 | 2022-01-11 | 佳能株式会社 | 电子装置及控制方法 |
Families Citing this family (27)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104936017A (zh) * | 2015-06-17 | 2015-09-23 | Tcl移动通信科技(宁波)有限公司 | 一种基于无线的快速传输图像的方法及系统 |
| CN105159640B (zh) * | 2015-08-28 | 2020-06-12 | 北京小米移动软件有限公司 | 显示界面旋转方法、装置和移动终端 |
| CN105872547B (zh) * | 2016-04-20 | 2019-07-26 | 北京小鸟看看科技有限公司 | 一种图像处理方法及装置 |
| CN106331489A (zh) * | 2016-08-25 | 2017-01-11 | 天脉聚源(北京)传媒科技有限公司 | 一种拍摄界面的调整方法及装置 |
| CN106303608B (zh) * | 2016-09-27 | 2020-03-03 | 北京小米移动软件有限公司 | 直播处理方法和装置、直播服务器及直播系统 |
| WO2018070763A1 (ko) * | 2016-10-14 | 2018-04-19 | 삼성전자 주식회사 | 컨텐츠를 전송하는 방법 및 장치 |
| CN112733214B (zh) * | 2016-10-19 | 2024-04-19 | 创新先进技术有限公司 | 一种信息显示的方法及装置 |
| CN108228019A (zh) * | 2016-12-09 | 2018-06-29 | 比亚迪股份有限公司 | 车载终端的显示方法、装置、车载终端和车辆 |
| CN108255398A (zh) * | 2016-12-29 | 2018-07-06 | 乐视汽车(北京)有限公司 | 用于控制移动设备的方法、移动设备和通信系统 |
| CN108268225A (zh) * | 2016-12-30 | 2018-07-10 | 乐视汽车(北京)有限公司 | 投屏方法及投屏装置 |
| CN107454457B (zh) * | 2017-06-28 | 2020-01-03 | 武汉斗鱼网络科技有限公司 | 切换录屏直播分辨率的方法及装置 |
| CN107360389B (zh) * | 2017-08-24 | 2020-11-06 | 北京奇艺世纪科技有限公司 | 一种视频通信方法、装置和终端 |
| CN108900901A (zh) * | 2018-05-30 | 2018-11-27 | 太仓鸿策拓达科技咨询有限公司 | 移动设备投影系统 |
| CN109189498B (zh) * | 2018-08-07 | 2021-09-07 | 武汉斗鱼网络科技有限公司 | Android横竖屏数据同步方法、装置、终端及可读介质 |
| CN110996175A (zh) | 2019-11-19 | 2020-04-10 | 深圳创维-Rgb电子有限公司 | 控制电视横竖屏操作的方法、装置和存储介质 |
| CN110933494A (zh) * | 2019-11-29 | 2020-03-27 | 维沃移动通信有限公司 | 一种画面共享方法及电子设备 |
| WO2021139186A1 (zh) * | 2020-01-10 | 2021-07-15 | 聚好看科技股份有限公司 | 一种显示设备 |
| WO2021180223A1 (zh) * | 2020-03-13 | 2021-09-16 | 海信视像科技股份有限公司 | 一种显示方法及显示设备 |
| CN111290725B (zh) * | 2020-03-13 | 2023-07-14 | 深圳市腾讯信息技术有限公司 | 一种投屏方法、设备及存储介质 |
| CN112165644B (zh) * | 2020-09-27 | 2022-06-28 | 海信视像科技股份有限公司 | 一种显示设备及竖屏状态下视频播放方法 |
| CN113395558B (zh) * | 2020-03-13 | 2022-11-11 | 海信视像科技股份有限公司 | 一种显示设备及显示画面旋转适配方法 |
| CN113573118B (zh) * | 2020-04-28 | 2022-04-29 | 海信视像科技股份有限公司 | 一种视频画面旋转方法及显示设备 |
| CN113474749B (zh) * | 2020-03-20 | 2024-02-09 | 西安诺瓦星云科技股份有限公司 | 屏幕显示的控制方法、装置和系统 |
| CN112104916A (zh) * | 2020-09-21 | 2020-12-18 | 四川长虹电器股份有限公司 | 一种智能旋转电视桌面及其横竖屏管控方法 |
| CN112199061B (zh) | 2020-09-30 | 2023-06-27 | 联想(北京)有限公司 | 一种显示方法和设备 |
| CN115878056A (zh) * | 2021-09-27 | 2023-03-31 | 华为技术有限公司 | 一种显示方法与电子设备 |
| CN116820636B (zh) * | 2023-03-21 | 2024-10-11 | 广州南盾通讯设备有限公司 | 一种远程桌面的显示方法、装置、设备以及存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1584970A (zh) * | 2003-08-21 | 2005-02-23 | 三星电子株式会社 | 可旋转显示装置和调节该装置显示屏上图像的方法 |
| CN101057211A (zh) * | 2004-11-15 | 2007-10-17 | 三星电子株式会社 | 显示设备、显示设备的控制方法、及显示系统 |
| CN101458920A (zh) * | 2009-01-05 | 2009-06-17 | 北京中星微电子有限公司 | 一种显示方法及设备 |
| WO2013105443A1 (ja) * | 2012-01-13 | 2013-07-18 | ソニー株式会社 | 情報処理装置及び情報処理方法、並びにコンピューター・プログラム |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100538948B1 (ko) * | 2003-08-11 | 2005-12-27 | 삼성전자주식회사 | 적응적 이미지의 표시가 가능한 휴대용 단말기의디스플레이 장치 |
| CN102148019A (zh) * | 2010-02-05 | 2011-08-10 | 宏碁股份有限公司 | 可旋转式显示装置及其画面显示方法 |
| KR101823148B1 (ko) * | 2010-12-30 | 2018-01-30 | 주식회사 알티캐스트 | 휴대 단말기 및 이를 이용한 디스플레이 장치에서의 출력 화면 제어 방법 |
| CN103257780A (zh) * | 2012-02-20 | 2013-08-21 | 联想(北京)有限公司 | 显示屏幕旋转方法和电子设备 |
| CN102724589B (zh) * | 2012-07-05 | 2015-08-19 | 青岛海信电器股份有限公司 | 视频数据的处理装置、视频数据的处理方法及显示设备 |
| CN102981793B (zh) * | 2012-11-22 | 2017-02-15 | 深圳Tcl工业研究院有限公司 | 一种屏幕同步方法及装置 |
| CN103049235A (zh) * | 2012-12-04 | 2013-04-17 | 深圳市爱渡飞科技有限公司 | 一种多屏映像同步显示的方法、终端及系统 |
| CN105630452A (zh) * | 2013-02-21 | 2016-06-01 | 海信集团有限公司 | 一种传屏方法及电子设备 |
-
2014
- 2014-06-04 CN CN201410245674.8A patent/CN104581405B/zh active Active
- 2014-10-21 WO PCT/CN2014/089036 patent/WO2015058670A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1584970A (zh) * | 2003-08-21 | 2005-02-23 | 三星电子株式会社 | 可旋转显示装置和调节该装置显示屏上图像的方法 |
| CN101057211A (zh) * | 2004-11-15 | 2007-10-17 | 三星电子株式会社 | 显示设备、显示设备的控制方法、及显示系统 |
| CN101458920A (zh) * | 2009-01-05 | 2009-06-17 | 北京中星微电子有限公司 | 一种显示方法及设备 |
| WO2013105443A1 (ja) * | 2012-01-13 | 2013-07-18 | ソニー株式会社 | 情報処理装置及び情報処理方法、並びにコンピューター・プログラム |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106101764A (zh) * | 2016-07-20 | 2016-11-09 | 广州华多网络科技有限公司 | 一种显示视频数据的方法、装置和系统 |
| CN112395019A (zh) * | 2019-08-02 | 2021-02-23 | 深圳Tcl数字技术有限公司 | 一种自动调节屏幕显示方向的方法、显示终端及存储介质 |
| CN112988561A (zh) * | 2019-12-18 | 2021-06-18 | 腾讯科技(深圳)有限公司 | 检测显示配置代码的方法、装置、服务器和存储介质 |
| CN112988561B (zh) * | 2019-12-18 | 2023-09-08 | 腾讯科技(深圳)有限公司 | 检测显示配置代码的方法、装置、服务器和存储介质 |
| CN113395554A (zh) * | 2020-03-13 | 2021-09-14 | 海信视像科技股份有限公司 | 显示设备 |
| CN113395554B (zh) * | 2020-03-13 | 2022-11-11 | 海信视像科技股份有限公司 | 显示设备 |
| CN111414204A (zh) * | 2020-03-19 | 2020-07-14 | 京东方科技集团股份有限公司 | 一种开机显示方法、装置及电子设备 |
| CN111414204B (zh) * | 2020-03-19 | 2024-05-10 | 京东方科技集团股份有限公司 | 一种开机显示方法、装置及电子设备 |
| CN113923345A (zh) * | 2020-07-09 | 2022-01-11 | 佳能株式会社 | 电子装置及控制方法 |
| CN113453050A (zh) * | 2021-06-24 | 2021-09-28 | 深圳康佳电子科技有限公司 | 基于旋转屏的播放模式调整方法、智能终端、存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104581405B (zh) | 2018-09-04 |
| CN104581405A (zh) | 2015-04-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104581405B (zh) | 一种显示内容处理方法及设备 | |
| WO2022111672A1 (zh) | 数据处理方法、装置及电子设备 | |
| EP3866558B1 (en) | Electronic device and communication connecting method thereof | |
| CN108833963B (zh) | 显示界面画面的方法、计算机设备、可读存储介质和系统 | |
| US10306179B2 (en) | Image providing apparatus, control method thereof, and image providing system | |
| US11656831B2 (en) | Implementing wireless displays that handle rotation and/or portrait-first sinks | |
| CN104602118A (zh) | 一种多媒体数据的输出方法和设备 | |
| WO2016004857A1 (zh) | 一种同屏共享的方法、装置及系统 | |
| US12360553B2 (en) | Electronic apparatus and method of controlling the same | |
| CN114428598B (zh) | 投屏方法、装置、电子设备及存储介质 | |
| JPWO2014141425A1 (ja) | 映像表示システム、ソース機器、シンク機器及び映像表示方法 | |
| CN113612979A (zh) | 一种投影方法、电子设备及计算机设备 | |
| CN110996117A (zh) | 视频转码方法、装置、电子设备和存储介质 | |
| US20170318334A1 (en) | Image Display Method, User Terminal, and Video Receiving Device | |
| US10404606B2 (en) | Method and apparatus for acquiring video bitstream | |
| US9392063B2 (en) | Information processing apparatus that controls transfer of image, control method therefor, and storage medium | |
| EP3582504B1 (en) | Image processing method, device, and terminal device | |
| CN102945076B (zh) | 一种显示终端图像旋转方法、装置及一种显示控制系统 | |
| CN104580289B (zh) | 一种对用户设备进行控制的方法、装置和系统 | |
| US20180267907A1 (en) | Methods and apparatus for communication between mobile devices and accessory devices | |
| CN111327863A (zh) | 一种视频通话处理方法及装置 | |
| US11140442B1 (en) | Content delivery to playback systems with connected display devices | |
| US20230300405A1 (en) | Transmission device | |
| CN105913626A (zh) | 一种实现从源端显示屏到目的端显示屏的镜像功能的设备 | |
| GB2561343A (en) | Signalling of auxiliary content for a broadcast signal |
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: 14855758 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: 14855758 Country of ref document: EP Kind code of ref document: A1 |


