WO2021115349A1 - 桌面显示方法及装置、计算机可读的存储介质、电子装置 - Google Patents

桌面显示方法及装置、计算机可读的存储介质、电子装置 Download PDF

Info

Publication number
WO2021115349A1
WO2021115349A1 PCT/CN2020/135017 CN2020135017W WO2021115349A1 WO 2021115349 A1 WO2021115349 A1 WO 2021115349A1 CN 2020135017 W CN2020135017 W CN 2020135017W WO 2021115349 A1 WO2021115349 A1 WO 2021115349A1
Authority
WO
WIPO (PCT)
Prior art keywords
desktop
information
target
desktop information
client
Prior art date
Application number
PCT/CN2020/135017
Other languages
English (en)
French (fr)
Inventor
张孝猛
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2021115349A1 publication Critical patent/WO2021115349A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Definitions

  • the present disclosure relates to the field of video processing, and in particular, to a desktop display method and device, a computer-readable storage medium, and an electronic device.
  • set-top boxes As a display terminal for video services, set-top boxes have gone through multiple stages of development along with video services. The number of products is huge, with different configurations and numerous manufacturers. In this situation, if operators want to launch a new service, they must adapt to various set-top boxes, which makes it extremely difficult to launch the service. In addition, in order to support increasingly complex business requirements, set-top box hardware also needs to be constantly updated, which is also a waste of resources.
  • cloud desktops can already replace traditional PCs in most application scenarios, thereby making the virtualization of terminal devices and cloud deployment of services gradually becoming the mainstream trend.
  • the business is deployed in the cloud, and the terminal set-top box only needs basic video decoding and output capabilities.
  • the clouded interactive desktop is encoded on a server in the cloud and then transmitted to a set-top box, and the set-top box receives the desktop stream and decodes and plays it.
  • the desktop can be transparentized locally on the set-top box so that the desktop and video services will not affect the viewing of the video when the desktop and video services are superimposed.
  • the related technology does not support the transparency of the clouded desktop deal with.
  • the embodiments of the present disclosure provide a desktop display method and device, a computer-readable storage medium, and an electronic device, so as to at least solve the problem that cloud-based desktop transparency cannot be realized in related technologies.
  • a desktop display method which is applied to a server, and the method includes: acquiring first desktop information and second desktop information, wherein the first desktop information is used to indicate the status of the target desktop Content information, the second desktop information is used to indicate the transparency information of the target desktop; the first desktop information and the second desktop information are sent to the client, so that the client can transfer the first The desktop information and the second desktop information are superimposed to display the target desktop.
  • a desktop display method applied to a client, the method includes: receiving first desktop information and second desktop information sent by a server, and combining the first desktop information And the second desktop information is superimposed to display the target desktop; wherein the first desktop information and the second desktop information are obtained by the server, and the first desktop information is used to indicate the content of the target desktop Information, the second desktop information is used to indicate transparency information of the target desktop.
  • a desktop display device which is set on a server, and the device includes: an acquisition module configured to acquire first desktop information and second desktop information, wherein the first desktop The information is used to indicate the content information of the target desktop, the second desktop information is used to indicate the transparency information of the target desktop; the sending module is configured to send the first desktop information and the second desktop information to the client , For the client to superimpose the first desktop information and the second desktop information to display the target desktop.
  • a desktop display device which is set in a client, and the device includes: a receiving module configured to receive first desktop information and second desktop information sent by the server, and The first desktop information and the second desktop information are superimposed to display the target desktop; wherein, the first desktop information and the second desktop information are acquired by the server, and the first desktop information is used to indicate The content information of the target desktop, and the second desktop information is used to indicate the transparency information of the target desktop.
  • a computer-readable storage medium and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any one of the foregoing when running. The steps in the method embodiment.
  • an electronic device including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute any one of the foregoing Steps in the method embodiment.
  • Fig. 1 is a flowchart (1) of a desktop display method according to an embodiment of the present disclosure
  • Fig. 2 is a schematic diagram of interaction of cloud services provided according to an embodiment of the present disclosure
  • Fig. 3 is a schematic diagram (1) of interaction between a server and a client according to a specific embodiment of the present disclosure
  • FIG. 4 is a schematic diagram (2) of the interaction between the server and the client according to a specific embodiment of the present disclosure
  • FIG. 5 is a schematic diagram (3) of the interaction between the server and the client according to a specific embodiment of the present disclosure
  • Fig. 6 is a flowchart (2) of a desktop display method provided according to an embodiment of the present disclosure
  • Fig. 7 is a structural block diagram of a desktop display device according to an embodiment of the present disclosure (1);
  • Fig. 8 is a structural block diagram (2) of a desktop display device according to an embodiment of the present disclosure.
  • FIG. 1 is a flowchart (1) of a desktop display method according to an embodiment of the present disclosure. As shown in FIG. 1, the method in this embodiment includes:
  • the server obtains first desktop information and second desktop information, where the first desktop information is used to indicate content information of the target desktop, and the second desktop information is used to indicate transparency information of the target desktop;
  • S104 The server sends the first desktop information and the second desktop information to the client, so that the client can superimpose the first desktop information and the second desktop information to display the target desktop.
  • the server in this embodiment is used to instruct the cloud server after the service of the set-top box is clouded, and the server is used to obtain and provide the client with image or video information that can be browsed or watched; in this embodiment
  • the client is used to indicate the set-top box used by the user, and the client is used to receive and output the information sent by the server.
  • the above-mentioned server may specifically be a virtual set-top box VSTB set in the cloud.
  • FIG. 2 is a schematic diagram of the interaction of cloud services provided according to an embodiment of the present disclosure. The interaction mode of the server and the client in the above-mentioned embodiment is shown in FIG. 2.
  • the desktop in this embodiment is used to indicate an interactive desktop through which the user can realize information selection or function control of the set-top box; the above-mentioned desktop is usually provided by the system platform of the set-top box, or may be provided by the content providing platform used by the user. Such as iQiyi, Tencent Video, etc. to provide.
  • the transparency setting of the target desktop can be preset by the above-mentioned system platform or content providing platform, or the server can render the target desktop according to the user's usage scenario, so that the target desktop undergoes a certain percentage of transparency processing
  • the server can render the target desktop transparently so that the user can still watch the video content when performing desktop operations on the display terminal.
  • step S104 the client uses the first desktop information and the second desktop information to instruct the client to display the first desktop information and the second desktop information at the same time.
  • the operation can indicate that the second desktop information is superimposed on the first desktop information for display, or it can be instructed to directly display the first desktop information after processing the transparency information in the second desktop information, that is, any combination of the first desktop information and the first desktop information.
  • the desktop display method of this embodiment since the server can obtain the first desktop information indicating the content information of the target desktop and the second desktop information indicating the transparency information of the target desktop, and the first desktop The information and the second desktop information are sent to the client, so that the client superimposes the first desktop information and the second desktop information to display the target desktop. Therefore, the desktop display method in this embodiment can solve the problem that the transparent clouded desktop cannot be realized in the related technology, thereby achieving the effect of displaying a transparent clouded desktop in the client.
  • the desktop display method in this embodiment is not limited to the encoding format or terminal support, and the transparent display of the desktop can be realized in any working environment.
  • the first desktop information is image information or video information.
  • the first desktop information can be sent to the client by using the content information of the target desktop in multiple frames of continuous images, such as PNG images; the first desktop information can also be used to send the content information of the target desktop to the client.
  • Video frame mode such as H264 encoded video frame or VP9 encoded video frame, to be sent to the client.
  • the second desktop information also needs to be transmitted in the corresponding type.
  • sending the first desktop information and the second desktop information to the client includes:
  • the first desktop information is image information, such as the aforementioned PNG image
  • the image information can carry transparency information. Therefore, the second desktop information can be directly carried in the first desktop information to send the image information with transparency information to the client for displaying the target desktop.
  • the first desktop information is video information, such as the above-mentioned H264 encoded video frame
  • the transparency information cannot be supported in the video frames of some encoding formats
  • the first desktop information and the second desktop information can be synchronously sent to the customer Terminal, for the client to decode the first desktop information and the second desktop information and superimpose them to display the target desktop.
  • the second desktop information can be directly carried in the first desktop information to add The video frame of the transparency information is sent to the client for displaying the target desktop.
  • the client superimposes the first desktop information and the second desktop information to display the target desktop, which further includes:
  • the client superimposes the first desktop information and the second desktop information on the video service to display the target desktop; where the video service is a video service played by the client.
  • the client can superimpose the first desktop information and the second desktop information to obtain a transparent target desktop.
  • the target desktop is superimposed on the video service being played on the client for display . It can be realized that the user's viewing of the video as the background is not affected during the user's interactive operation through the desktop, so that the user's use experience is significantly improved.
  • the video service is not the client’s local video
  • the video service is also sent by the server to the client. Therefore, in this case, the server needs to transmit the video service and the above-mentioned first desktop information and second desktop information to the client at the same time. end.
  • obtaining the first desktop information and the second desktop information includes:
  • the content information of the target desktop is extracted and encoded according to a preset format to obtain the first desktop information; and the transparency information of the target desktop is extracted and encoded according to the preset format to obtain the second desktop information.
  • the above-mentioned target desktop can be provided by the system platform of the set-top box or the content providing platform used by the user.
  • the server obtains the desktop preset by the above-mentioned platform, the corresponding content information and transparency information can be extracted for encoding, and then Acquire corresponding first desktop information and second desktop information.
  • the foregoing extraction of the transparency information of the target desktop and encoding according to a preset format to obtain the second desktop information includes:
  • the transparency information of the target desktop is extracted, and the transparency information of each pixel of the target desktop is separately encoded to obtain the second desktop information.
  • the method of separately encoding the transparency information of each pixel of the target desktop in the above-mentioned optional embodiment can be used to obtain the corresponding second desktop. send.
  • the server in the cloud encodes the rendered interactive desktop to form a multi-frame PNG image with transparency; the server sends the above-mentioned multi-frame PNG image together with the video source used for the video service to the client.
  • FIG. 3 is a schematic diagram (1) of the interaction between the server and the client according to a specific embodiment of the present disclosure. The interaction between the server and the client in this specific embodiment is shown in FIG. 3.
  • S2 The client receives the above-mentioned multi-frame PNG image and decodes it to obtain an interactive desktop with transparency, and then the interactive desktop can be superimposed on the video played by the client according to the video source for display.
  • the server in the cloud encodes the rendered interactive desktop using the H264 encoding format to form a video frame; at the same time, the transparency information of each pixel in the rendered interactive desktop is separately encoded; the server encodes the above video frame And the corresponding transparency information data is sent to the client along with the video source used for the video service.
  • the above-mentioned video frame is the first desktop information in the above-mentioned embodiment, which is used to display the content information of the desktop (that is, the target desktop) specified by the user, and the above-mentioned transparency information for each pixel in the interactive desktop
  • the transparency information data obtained by the separate encoding is the second desktop information in the foregoing embodiment. Since the H264 encoding format is adopted, which does not support transparency information, it is necessary to separately encode the transparency information of each pixel in the interactive desktop in the above steps to obtain the second desktop information.
  • FIG. 4 is a schematic diagram (2) of the interaction between the server and the client according to a specific embodiment of the present disclosure. The interaction between the server and the client in this specific embodiment is shown in FIG. 4.
  • the client After the client receives the above-mentioned video frame and transparency information data, it first decodes the video frame, and then decodes the transparency information data, so as to sequentially superimpose the transparency information corresponding to each pixel into the video frame to restore the corresponding interaction Desktop; the client can then superimpose the interactive desktop on top of the video played by the client according to the video source for display.
  • the server in the cloud uses the VP9 encoding format to encode the rendered interactive desktop to form a video frame; the above VP9 encoding format has a transparent channel, so the video frame can carry the transparency information of the interactive desktop; the server carries the above The video frame of the transparency information is sent to the client along with the video source used for the video service.
  • the above-mentioned video frame is the first desktop information in the above-mentioned embodiment, and is used to display content information of the desktop (ie, the target desktop) designated by the user.
  • the VP9 coding grid is adopted, it has a transparent channel, that is, the VP9 coding grid supports transparency information, so the corresponding encoded video frame can carry transparency. Therefore, when the server sends the video frame to the client, the first desktop information and the second desktop information are sent to the client.
  • Fig. 5 is a schematic diagram (3) of the interaction between the server and the client according to a specific embodiment of the present disclosure. The interaction between the server and the client in this specific embodiment is shown in Fig. 5.
  • the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
  • the technical solution of the present disclosure essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present disclosure.
  • FIG. 6 is a flowchart (2) of a desktop display method according to an embodiment of the present disclosure. As shown in FIG. 6, the desktop display method in this embodiment include:
  • the client receives the first desktop information and the second desktop information sent by the server, and superimposes the first desktop information and the second desktop information to display the target desktop;
  • the first desktop information and the second desktop information are obtained by the server, the first desktop information is used to indicate content information of the target desktop, and the second desktop information is used to indicate transparency information of the target desktop.
  • the desktop display method of this embodiment since the client can receive the first desktop information and the second desktop information sent by the server, and superimpose the first desktop information and the second desktop information to display the target desktop; wherein, the first desktop The information and the second desktop information are obtained by the server, the first desktop information is used to indicate content information of the target desktop, and the second desktop information is used to indicate transparency information of the target desktop. Therefore, the desktop display method in this embodiment can solve the problem that the clouded desktop cannot be transparent in the related technology, thereby achieving the effect of displaying a transparent clouded desktop in the client.
  • the desktop display method in this embodiment is not limited to the encoding format or terminal support, and the transparent display of the desktop can be realized in any working environment.
  • the first desktop information is image information or video information.
  • the first desktop information can be sent to the client by using the content information of the target desktop in multiple frames of continuous images, such as PNG images; the first desktop information can also be used to send the content information of the target desktop to the client.
  • Video frame mode such as H264 encoded video frame or VP9 encoded video frame, to be sent to the client.
  • the receiving the first desktop information and the second desktop information sent by the server includes:
  • the first desktop information is image information, such as the aforementioned PNG image
  • Image information can carry transparency information. Therefore, the second desktop information can be directly carried in the first desktop information.
  • the first desktop information is video information, such as the above-mentioned H264 encoded video frame, due to the partial encoding format of the video The transparency information cannot be supported in the frame, therefore, the first desktop information and the second desktop information can be synchronously transmitted.
  • the second desktop information can be directly carried in the first desktop information for transmission.
  • superimposing the first desktop information and the second desktop information to display the target desktop includes:
  • the first desktop information and the second desktop information are superimposed on the video service to display the target desktop; among them, the video service is the video service played by the client.
  • the client can superimpose the first desktop information and the second desktop information to obtain a transparent target desktop.
  • the target desktop is superimposed on the video service being played on the client for display . It can be realized that the user's viewing of the video as the background is not affected during the user's interactive operation through the desktop, so that the user's use experience is significantly improved.
  • superimposing the first desktop information and the second desktop information to display the target desktop includes:
  • the content information of the target desktop and the transparency information are superimposed to display the target desktop.
  • the foregoing decoding operation on the first desktop information and the second desktop information corresponds to the encoding format used by the server for the first desktop information and the second desktop information.
  • superimposing the first desktop information and the second desktop information to display the target desktop further includes:
  • the second desktop information is decoded to obtain the transparency information of each pixel of the target desktop, and the transparency information of each pixel is sequentially superimposed on the content information of the target desktop to display the target desktop.
  • the method of separately encoding the transparency information of each pixel of the target desktop in the above-mentioned optional embodiment can be used to obtain the corresponding second desktop. send.
  • the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
  • the technical solution of the present disclosure essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present disclosure.
  • FIG. 7 is a structural block diagram (1) of a desktop display device according to an embodiment of the present disclosure. As shown in FIG. 7, the desktop display device in this embodiment includes:
  • the obtaining module 302 is configured to obtain first desktop information and second desktop information, where the first desktop information is used to indicate content information of the target desktop, and the second desktop information is used to indicate transparency information of the target desktop;
  • the sending module 304 is configured to send the first desktop information and the second desktop information to the client, so that the client can superimpose the first desktop information and the second desktop information to display the target desktop.
  • the remaining technical features and technical effects of the desktop display device in this embodiment all correspond to the desktop display method in Embodiment 1, so they will not be repeated here.
  • the first desktop information is image information or video information.
  • sending the first desktop information and the second desktop information to the client includes: carrying the second desktop information in the first desktop information and sending To the client
  • sending the first desktop information and the second desktop information to the client includes: synchronously sending the first desktop information and the second desktop information to the client.
  • the client superimposing the first desktop information and the second desktop information to display the target desktop further includes:
  • the client superimposes the first desktop information and the second desktop information on the video service to display the target desktop; where the video service is a video service played by the client.
  • acquiring the first desktop information and the second desktop information includes:
  • the content information of the target desktop is extracted and encoded to obtain the first desktop information; and the transparency information of the target desktop is extracted and encoded to obtain the second desktop information.
  • extracting and encoding the transparency information of the target desktop to obtain the second desktop information includes:
  • the transparency information of the target desktop is extracted, and the transparency information of each pixel of the target desktop is separately encoded to obtain the second desktop information.
  • each of the above modules can be implemented by software or hardware.
  • it can be implemented in the following manner, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination.
  • the forms are located in different processors.
  • Fig. 8 is a structural block diagram (2) of a desktop display device according to an embodiment of the present disclosure. As shown in Fig. 8, the desktop display device in this embodiment includes:
  • the receiving module 402 is configured to receive the first desktop information and the second desktop information sent by the server, and superimpose the first desktop information and the second desktop information to display the target desktop;
  • the first desktop information and the second desktop information are obtained by the server, the first desktop information is used to indicate content information of the target desktop, and the second desktop information is used to indicate transparency information of the target desktop.
  • the first desktop information is image information or video information.
  • the receiving the first desktop information and the second desktop information sent by the server includes:
  • superimposing the first desktop information and the second desktop information to display the target desktop includes:
  • the first desktop information and the second desktop information are superimposed on the video service to display the target desktop; where the video service is a video service played by the client.
  • superimposing the first desktop information and the second desktop information to display the target desktop includes:
  • the content information of the target desktop and the transparency information are superimposed to display the target desktop.
  • superimposing the first desktop information and the second desktop information to display the target desktop further includes:
  • the second desktop information is decoded to obtain the transparency information of each pixel of the target desktop, and the transparency information of each pixel is sequentially superimposed on the content information of the target desktop to display the target desktop.
  • each of the above modules can be implemented by software or hardware.
  • it can be implemented in the following manner, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination.
  • the forms are located in different processors.
  • the embodiments of the present disclosure also provide a computer-readable storage medium, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any of the foregoing method embodiments when running. step.
  • the foregoing computer-readable storage medium may be configured to store a computer program for executing the steps in the foregoing embodiment 1 and embodiment 2.
  • the foregoing computer-readable storage medium may include, but is not limited to: U disk, Read-Only Memory (Read-Only Memory, ROM for short), Random Access Memory (Random Access Memory, for short) It is a variety of media that can store computer programs such as RAM), mobile hard drives, magnetic disks or optical discs.
  • the embodiment of the present disclosure also provides an electronic device, including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute the steps in any of the foregoing method embodiments.
  • the aforementioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the aforementioned processor, and the input-output device is connected to the aforementioned processor.
  • the above-mentioned processor may be configured to execute the steps in the above-mentioned Embodiment 1 and Embodiment 2 through a computer program.
  • modules or steps of the present disclosure can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed in a network composed of multiple computing devices.
  • they can be implemented with program codes executable by a computing device, so that they can be stored in a storage device for execution by the computing device, and in some cases, they can be executed in a different order than here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本公开提供了一种桌面显示方法及装置、计算机可读的存储介质、电子装置,其中,桌面显示方法包括:获取第一桌面信息与第二桌面信息,其中,所述第一桌面信息用于指示目标桌面的内容信息,所述第二桌面信息用于指示所述目标桌面的透明度信息;将所述第一桌面信息与所述第二桌面信息发送至客户端,以供所述客户端将所述第一桌面信息以及所述第二桌面信息进行叠加以显示所述目标桌面。通过本公开,解决了相关技术中无法实现云化后的桌面透明化的问题,从而实现在客户端中显示具有透明度的云化桌面的效果。

Description

桌面显示方法及装置、计算机可读的存储介质、电子装置 技术领域
本公开涉及视频处理领域,具体而言,涉及一种桌面显示方法及装置、计算机可读的存储介质、电子装置。
背景技术
机顶盒作为视频业务的展示终端,伴随着视频业务经历了多个发展阶段,其产品数量及其庞大,配置各异,厂家众多。在这种状况下,运营商想要上线一款新的业务,必须要和各种机顶盒适配,这就造成业务上线异常困难。此外,为了支撑越来越复杂的业务需求,机顶盒硬件也需要不停的更新换代,这也是一种资源的浪费。
为此,随着云化技术的日益成熟,云桌面在大部分应用场景中已经可以取代传统的PC,进而使得终端设备的虚拟化,业务的云化部署逐渐成为主流趋势。机顶盒在进行云化设置中,业务在云端部署,终端的机顶盒只需要基础的视频解码和输出能力。
相关技术中,上述云化后的交互桌面在云端的服务器进行编码后传输至机顶盒,机顶盒接收到桌面流后解码播放。然而,在上述桌面需在视频业务之上进行叠加显示时,不可避免的造成用户观看视频收到影响。相关技术中可通过在机顶盒本地对桌面进行透明化以使得桌面与视频业务叠加时不影响视频的观看,但在机顶盒的业务云化后,相关技术中并不支持云化后的桌面的透明化处理。
针对相关技术中,无法实现云化后的桌面透明化的问题,相关技术中尚未提出有效的解决方案。
发明内容
本公开实施例提供一种桌面显示方法及装置、计算机可读的存储介质、电子装置,以至少解决相关技术中无法实现云化后的桌面透明化的问题。
根据本公开的一个实施例,提供了一种桌面显示方法,应用于服务器,所述方法包括:获取第一桌面信息与第二桌面信息,其中,所述第一桌面信息用于指示目标桌面的内容信息,所述第二桌面信息用于指示所述目标桌面的透明度信息;将所述第一桌面信息与所述第二桌面信息发送至客户端,以供所述客户端将所述第一桌面信息以及所述第二桌面信息进行叠加以显示所述目标桌面。
根据本公开的另一个实施例,还提供了一种桌面显示方法,应用于客户端,所述方法包括:接收服务器发送的第一桌面信息与第二桌面信息,并将所述第一桌面信息以及所述第二桌面信息进行叠加以显示目标桌面;其中,所述第一桌面信息以及所述第二桌面信息由所述服务器获取,所述第一桌面信息用于指示所述目标桌面的内容信息,所述第二桌面信息用于指示所述目标桌面的透明度信息。
根据本公开的另一个实施例,还提供了一种桌面显示装置,设置于服务器,所述装置包括:获取模块,设置为获取第一桌面信息与第二桌面信息,其中,所述第一桌面信息用于指示目标桌面的内容信息,所述第二桌面信息用于指示所述目标桌面的透明度信息;发送模块,设置为将所述第一桌面信息与所述第二桌面信息发送至客户端,以供所述客户端将所述第一桌面信息以及所述第二桌面信息进行叠加以显示所述目标桌面。
根据本公开的另一个实施例,还提供了一种桌面显示装置,设置于客户端,所述装置包括:接收模块,设置为接收服务器发送的第一桌面信息与第二桌面信息,并将所述第一桌面信息以及所述第二桌面信息进行叠加以显示目标桌面;其中,所述第一桌面信息以及所述第二桌面信息由所述服务器获取,所述第一桌面信息用于指示所述目标桌面的内容信息,所述第二桌面信息用于指示所述目标桌面的透明度信息。
根据本公开的另一个实施例,还提供了一种计算机可读的存储介质,所述计算机可读的存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。
根据本公开的另一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。
附图说明
此处所说明的附图用来提供对本公开的进一步理解,构成本申请的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:
图1是根据本公开实施例提供的桌面显示方法的流程图(一);
图2是根据本公开实施例提供的云化业务的交互示意图;
图3是根据本公开具体实施例提供的服务器与客户端的交互示意图(一);
图4是根据本公开具体实施例提供的服务器与客户端的交互示意图(二);
图5是根据本公开具体实施例提供的服务器与客户端的交互示意图(三);
图6是根据本公开实施例提供的桌面显示方法的流程图(二);
图7是根据本公开实施例提供的桌面显示装置的结构框图(一);
图8是根据本公开实施例提供的桌面显示装置的结构框图(二)。
具体实施方式
下文中将参考附图并结合实施例来详细说明本公开。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
实施例1
本实施例提供了一种桌面显示方法,应用于服务器,图1是根据本公开实施例提供的桌面显示方法的流程图(一),如图1所示,本实施例中的方法包括:
S102,服务器获取第一桌面信息与第二桌面信息,其中,第一桌面信息用于指示目标桌面的内容信息,第二桌面信息用于指示目标桌面的透明度信息;
S104,服务器将第一桌面信息与第二桌面信息发送至客户端,以供客户端将第一桌面信息以及第二桌面信息进行叠加以显示目标桌面。
需要进一步说明的是,本实施例中的服务器用于指示机顶盒业务云化后的云端服务器,该服务器用于获取并向客户端提供可供浏览或观看的图像或视频信息;本实施例中的客户端用于指示用户使用的机顶盒,该客户端用于接收服务器发送的信息并进行输出。上述服务器具体可为设置在云端的虚拟机顶盒VSTB。图2是根据本公开实施例提供的云化业务的交互示意图,上述实施例中的服务器以及客户端的交互方式如图2所示。
本实施例中的桌面用于指示交互桌面,用户通过该交互桌面可实现对机顶盒的信息选择或功能控制;上述桌面通常由机顶盒的系统平台进行提供,也可以由用户所使用的内容提供平台,如爱奇艺、腾讯视频等进行提供。
需要进一步说明的是,目标桌面的透明化设置可以是上述系统平台或内容提供平台预设的,也可以是服务器根据用户的使用场景对目标桌面进行渲染,使得目标桌面进行一定比例的透明化处理,例如,用户在观看视频业务时向服务器请求桌面,则服务器可对目标桌面进行透明化的渲染以使得用户在显示终端上进行桌面操作时,仍可观看视频内容。
此外,上述实施例中,步骤S104中,客户端将第一桌面信息以及第二桌面信息,用于指示客户端将第一桌面信息与第二桌面信息同时进行显示,上述步骤中的“叠加”操作可以指示将第二桌面信息叠加至第一桌面信息中进行显示,也可以指示直接根据第二桌面信息中的透明度信息对第 一桌面信息进行处理后显示,即任何将第一桌面信息与第二桌面信息同时显示的方案,均属于本公开的等同方案。
通过本实施例的桌面显示方法,由于服务器可以获取用于指示目标桌面的内容信息的第一桌面信息以及用于指示所述目标桌面的透明度信息的第二桌面信息,并将所述第一桌面信息与所述第二桌面信息发送至客户端,以供所述客户端将所述第一桌面信息以及所述第二桌面信息进行叠加以显示所述目标桌面。因此,本实施例中的桌面显示方法可以解决相关技术中无法实现云化后的桌面透明化的问题,从而实现在客户端中显示具有透明度的云化桌面的效果。
需要进一步说明的是,本实施例中的桌面显示方法不受限于编码格式或终端支持,在任何工作环境下均可实现桌面的透明化显示。
在一可选实施例中,第一桌面信息为图像信息或者视频信息。
需要进一步说明的是,第一桌面信息可以采用将目标桌面的内容信息以多帧连续图像的方式,如PNG图像,以发送至客户端;第一桌面信息也可采用将目标桌面的内容信息以视频帧的方式,如H264编码的视频帧或VP9编码的视频帧,以发送至客户端。
此外,根据第一桌面信息的类型不同,第二桌面信息也需采用对应的类型进行传输。
在一可选实施例中,上述步骤S104中,将第一桌面信息与第二桌面信息发送至客户端,包括:
将第二桌面信息携带在第一桌面信息中发送至客户端;或者,
将第一桌面信息以及第二桌面信息同步发送至客户端。
需要进一步说明的是,根据第一桌面信息的发送方式不同,可采用不同的第二桌面信息的传输方式,具体而言,当第一桌面信息为图像信息的情形下,如上述PNG图像,由于图像信息可携带透明度信息,因此,可将第二桌面信息直接携带在第一桌面信息中,以将带有透明度信息的图像信息发送至客户端以供显示目标桌面。当第一桌面信息为视频信息的情形 下,如上述H264编码的视频帧,由于部分编码格式的视频帧中无法支持透明度信息,因此,可将第一桌面信息以及第二桌面信息同步发送至客户端,以供客户端对第一桌面信息与第二桌面信息进行解码后叠加以显示目标桌面。
此外,对于支持透明度信息,即具有透明通道的编码格式的视频帧而言,由于该视频帧可携带透明度信息,因此,可将第二桌面信息直接携带在第一桌面信息中,以将带有透明度信息的视频帧发送至客户端以供显示目标桌面。
在一可选实施例中,上述步骤S104中,客户端将第一桌面信息以及第二桌面信息进行叠加以显示目标桌面,还包括:
客户端将第一桌面信息以及第二桌面信息叠加在视频业务之上以显示目标桌面;其中,视频业务为客户端播放的视频业务。
需要进一步说明的是,客户端可将第一桌面信息与第二桌面信息进行叠加后以得到具有透明度的目标桌面,此时,将该目标桌面叠加在客户端正在播放的视频业务之上进行显示,即可实现用户通过桌面进行交互操作的过程中,不影响用户对作为背景的视频的观看,以使得用户的使用体验显著改善。
此外,在视频业务并非客户端的本地视频的情形下,该视频业务也由服务器发送至客户端,因此,该情形下,服务器需同时传输视频业务以及上述第一桌面信息与第二桌面信息至客户端。
在一可选实施例中,上述步骤S102中,获取第一桌面信息与第二桌面信息,包括:
提取目标桌面的内容信息并根据预设格式进行编码,以获取第一桌面信息;以及,提取目标桌面的透明度信息并根据预设格式进行编码,以获取第二桌面信息。
需要进一步说明的是,上述目标桌面可由机顶盒的系统平台或用户所使用的内容提供平台进行提供,服务器获取上述平台预设的桌面后,即可 提取对应的内容信息与透明度信息以进行编码,进而获取对应的第一桌面信息与第二桌面信息。
在一可选实施例中,上述提取目标桌面的透明度信息并根据预设格式进行编码,以获取第二桌面信息,包括:
提取目标桌面的透明度信息,并对于目标桌面的每一个像素点的透明度信息分别进行编码,以获取第二桌面信息。
需要进一步说明的是,对于不支持透明度信息的视频流,即可采用上述可选实施例中,对于目标桌面的每一个像素点的透明度信息分别进行编码的方式,以获取对应的第二桌面进行发送。
以下通过具体实施例的方式对于本实施例中的桌面显示方法进行进一步的阐述。
具体实施例1
S1,在云端的服务器对完成渲染的交互桌面进行编码,以形成多帧带有透明度的PNG图像;服务器将上述多帧PNG图像连同用于视频业务的视频源发送至客户端。
需要进一步说明的是,上述PNG图像即为上述实施例中的第一桌面信息,用于显示用户指定的桌面(即目标桌面)的内容信息,PNG图像中所携带的透明度即上述实施例中的第二桌面信息,由于PNG图像中可携带透明度,因此,服务器将PNG图像发送至客户端的过程中,即实现了将第一桌面信息与第二桌面信息发送至客户端。图3是根据本公开具体实施例提供的服务器与客户端的交互示意图(一),本具体实施例中服务器与客户端之间的交互如图3所示。
S2,客户端接收到上述多帧PNG图像,对其进行解码,即可得到具有透明度的交互桌面,进而可将该交互桌面叠加在客户端根据视频源播放的视频之上进行显示。
需要进一步说明的是,由于上述PNG图像中自带有透明度信息,因此,客户端对PNG图像解码显示后,即可得到带有透明度的交互桌面。
具体实施例2
S1,在云端的服务器对完成渲染的交互桌面采用H264编码格式进行编码,以形成视频帧;同时,对完成渲染的交互桌面中的每一个像素点的透明度信息进行单独编码;服务器将上述视频帧以及对应的透明度信息数据连同用于视频业务的视频源发送至客户端。
需要进一步说明的是,上述视频帧即为上述实施例中的第一桌面信息,用于显示用户指定的桌面(即目标桌面)的内容信息,上述对交互桌面中的每一个像素点的透明度信息进行单独编码所得的透明度信息数据即为上述实施例中的第二桌面信息。由于采用H264编码格式,其不支持透明度信息,故需采用上述步骤中对交互桌面中的每一个像素点的透明度信息进行单独编码的方式,以获取第二桌面信息。图4是根据本公开具体实施例提供的服务器与客户端的交互示意图(二),本具体实施例中服务器与客户端之间的交互如图4所示。
S2,客户端接收到上述视频帧以及透明度信息数据后,首先解码视频帧,然后解码透明度信息数据,以将每一个像素点对应的透明度信息依次叠加到视频帧之中,即可还原对应的交互桌面;客户端进而可将该交互桌面叠加在客户端根据视频源播放的视频之上进行显示。
具体实施例3
S1,在云端的服务器对完成渲染的交互桌面采用VP9编码格式进行编码,以形成视频帧;上述VP9编码格式具有透明通道,故视频帧中可携带有交互桌面的透明度信息;服务器将上述携带有透明度信息的视频帧连同用于视频业务的视频源发送至客户端。
需要进一步说明的是,上述视频帧即为上述实施例中的第一桌面信息,用于显示用户指定的桌面(即目标桌面)的内容信息。由于采用VP9编码格,其具有透明通道,即VP9编码格支持透明度信息,故对应编码后的视频帧中可携带透明度。因此,服务器将视频帧发送至客户端的过程中,即实现了将第一桌面信息与第二桌面信息发送至客户端。图5是根据本公开 具体实施例提供的服务器与客户端的交互示意图(三),本具体实施例中服务器与客户端之间的交互如图5所示。
S2,客户端接收到上述视频帧后,对其进行解码,即可得到具有透明度的交互桌面,进而可将该交互桌面叠加在客户端根据视频源播放的视频之上进行显示。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本公开各个实施例所述的方法。
实施例2
本实施例提供了一种桌面显示方法,应用于客户端,图6是根据本公开实施例提供的桌面显示方法的流程图(二),如图6所示,本实施例中的桌面显示方法包括:
S202,客户端接收服务器发送的第一桌面信息与第二桌面信息,并将第一桌面信息以及第二桌面信息进行叠加以显示目标桌面;
其中,第一桌面信息以及第二桌面信息由服务器获取,第一桌面信息用于指示目标桌面的内容信息,第二桌面信息用于指示目标桌面的透明度信息。
通过本实施例的桌面显示方法,由于客户端可以接收服务器发送的第一桌面信息与第二桌面信息,并将第一桌面信息以及第二桌面信息进行叠加以显示目标桌面;其中,第一桌面信息以及第二桌面信息由服务器获取,第一桌面信息用于指示目标桌面的内容信息,第二桌面信息用于指示目标桌面的透明度信息。因此,本实施例中的桌面显示方法可以解决相关技术 中无法实现云化后的桌面透明化的问题,从而实现在客户端中显示具有透明度的云化桌面的效果。
需要进一步说明的是,本实施例中的桌面显示方法不受限于编码格式或终端支持,在任何工作环境下均可实现桌面的透明化显示。
在一可选实施例中,第一桌面信息为图像信息或者视频信息。
需要进一步说明的是,第一桌面信息可以采用将目标桌面的内容信息以多帧连续图像的方式,如PNG图像,以发送至客户端;第一桌面信息也可采用将目标桌面的内容信息以视频帧的方式,如H264编码的视频帧或VP9编码的视频帧,以发送至客户端。
在一可选实施例中,所述接收服务器发送的第一桌面信息与第二桌面信息,包括:
接收所述服务器发送的所述第一桌面信息,其中,所述第一桌面信息中携带有所述第二桌面信息;或者,
同步接收所述服务器发送的所述第一桌面信息与所述第二桌面信息。
需要进一步说明的是,根据第一桌面信息的发送方式不同,可采用不同的第二桌面信息的传输方式,具体而言,当第一桌面信息为图像信息的情形下,如上述PNG图像,由于图像信息可携带透明度信息,因此,可将第二桌面信息直接携带在第一桌面信息中,当第一桌面信息为视频信息的情形下,如上述H264编码的视频帧,由于部分编码格式的视频帧中无法支持透明度信息,因此,可将第一桌面信息以及第二桌面信息同步传输。
此外,对于支持透明度信息,即具有透明通道的编码格式的视频帧而言,由于该视频帧可携带透明度信息,因此,可将第二桌面信息直接携带在第一桌面信息中进行传送。
在一可选实施例中,将第一桌面信息以及第二桌面信息进行叠加以显示目标桌面,包括:
将第一桌面信息以及第二桌面信息叠加在视频业务之上以显示目标 桌面;其中,视频业务为客户端播放的视频业务。
需要进一步说明的是,客户端可将第一桌面信息与第二桌面信息进行叠加后以得到具有透明度的目标桌面,此时,将该目标桌面叠加在客户端正在播放的视频业务之上进行显示,即可实现用户通过桌面进行交互操作的过程中,不影响用户对作为背景的视频的观看,以使得用户的使用体验显著改善。
在一可选实施例中,将第一桌面信息以及第二桌面信息进行叠加以显示目标桌面,包括:
对于第一桌面信息进行解码,以获取目标桌面的内容信息,并对于第二桌面信息进行解码,以获取目标桌面的透明度信息;
将目标桌面的内容信息与透明度信息进行叠加以显示目标桌面。
需要进一步说明的是,上述对第一桌面信息以及第二桌面信息的解码操作与服务器对于第一桌面信息以及第二桌面信息所采用的编码格式相对应。
在一可选实施例中,将第一桌面信息以及第二桌面信息进行叠加以显示目标桌面,还包括:
对于第二桌面信息进行解码,以获取目标桌面的每一个像素点的透明度信息,并将每一个像素点的透明度信息依次叠加至目标桌面的内容信息之上,以显示目标桌面。
需要进一步说明的是,对于不支持透明度信息的视频流,即可采用上述可选实施例中,对于目标桌面的每一个像素点的透明度信息分别进行编码的方式,以获取对应的第二桌面进行发送。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如 ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本公开各个实施例所述的方法。
实施例3
本实施例提供的了一种桌面显示装置,设置于服务器,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。图7是根据本公开实施例提供的桌面显示装置的结构框图(一),如图7所示,本实施例中的桌面显示装置包括:
获取模块302,设置为获取第一桌面信息与第二桌面信息,其中,第一桌面信息用于指示目标桌面的内容信息,第二桌面信息用于指示目标桌面的透明度信息;
发送模块304,设置为将第一桌面信息与第二桌面信息发送至客户端,以供客户端将第一桌面信息以及第二桌面信息进行叠加以显示目标桌面。
本实施例中的桌面显示装置的其余技术特征与技术效果均与实施例1中的桌面显示方法对应,故在此不再赘述。
在一可选实施例中,第一桌面信息为图像信息或者视频信息。
在一可选实施例中,当第一桌面信息为图像信息的情形下,将第一桌面信息与第二桌面信息发送至客户端,包括:将第二桌面信息携带在第一桌面信息中发送至客户端;
当第一桌面信息为视频信息的情形下,将第一桌面信息与第二桌面信息发送至客户端,包括:将第一桌面信息以及第二桌面信息同步发送至客户端。
在一可选实施例中,客户端将第一桌面信息以及第二桌面信息进行叠加以显示目标桌面,还包括:
客户端将第一桌面信息以及第二桌面信息叠加在视频业务之上以显示目标桌面;其中,视频业务为客户端播放的视频业务。
在一可选实施例中,获取第一桌面信息与第二桌面信息,包括:
提取目标桌面的内容信息并进行编码,以获取第一桌面信息;以及,提取目标桌面的透明度信息并进行编码,以获取第二桌面信息。
在一可选实施例中,提取目标桌面的透明度信息并进行编码,以获取第二桌面信息,包括:
提取目标桌面的透明度信息,并对于目标桌面的每一个像素点的透明度信息分别进行编码,以获取第二桌面信息。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
实施例4
本实施例提供的了一种桌面显示装置,设置于客户端,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。图8是根据本公开实施例提供的桌面显示装置的结构框图(二),如图8所示,本实施例中的桌面显示装置包括:
接收模块402,设置为接收服务器发送的第一桌面信息与第二桌面信息,并将第一桌面信息以及第二桌面信息进行叠加以显示目标桌面;
其中,第一桌面信息以及第二桌面信息由服务器获取,第一桌面信息用于指示目标桌面的内容信息,第二桌面信息用于指示目标桌面的透明度信息。
本实施例中的桌面显示装置的其余技术特征与技术效果均与实施例2中的桌面显示方法对应,故在此不再赘述。
在一可选实施例中,第一桌面信息为图像信息或者视频信息。
在一可选实施例中,所述接收服务器发送的第一桌面信息与第二桌面信息,包括:
接收所述服务器发送的所述第一桌面信息,其中,所述第一桌面信息中携带有所述第二桌面信息;或者,
同步接收所述服务器发送的所述第一桌面信息与所述第二桌面信息。
在一可选实施例中,将第一桌面信息以及第二桌面信息进行叠加以显示目标桌面,包括:
将第一桌面信息以及第二桌面信息叠加在视频业务之上以显示目标桌面;其中,视频业务为客户端播放的视频业务。
在一可选实施例中,将第一桌面信息以及第二桌面信息进行叠加以显示目标桌面,包括:
对于第一桌面信息进行解码,以获取目标桌面的内容信息,并对于第二桌面信息进行解码,以获取目标桌面的透明度信息;
将目标桌面的内容信息与透明度信息进行叠加以显示目标桌面。
在一可选实施例中,将第一桌面信息以及第二桌面信息进行叠加以显示目标桌面,还包括:
对于第二桌面信息进行解码,以获取目标桌面的每一个像素点的透明度信息,并将每一个像素点的透明度信息依次叠加至目标桌面的内容信息之上,以显示目标桌面。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
实施例5
本公开的实施例还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执 行上述任一项方法实施例中的步骤。
可选地,在本实施例中,上述计算机可读的存储介质可以被设置为存储用于执行上述实施例1与实施例2中步骤的计算机程序。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
可选地,在本实施例中,上述计算机可读的存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。
实施例6
本公开的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。
可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行上述实施例1与实施例2中的步骤。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模 块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。
以上所述仅为本公开的优选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。

Claims (16)

  1. 一种桌面显示方法,应用于服务器,所述方法包括:
    获取第一桌面信息与第二桌面信息,其中,所述第一桌面信息用于指示目标桌面的内容信息,所述第二桌面信息用于指示所述目标桌面的透明度信息;
    将所述第一桌面信息与所述第二桌面信息发送至客户端,以供所述客户端将所述第一桌面信息以及所述第二桌面信息进行叠加以显示所述目标桌面。
  2. 根据权利要求1所述的方法,其中,所述第一桌面信息为图像信息或者视频信息。
  3. 根据权利要求1所述的方法,其中,所述将所述第一桌面信息与所述第二桌面信息发送至客户端,包括:
    将所述第二桌面信息携带在所述第一桌面信息中发送至所述客户端;或者,
    将所述第一桌面信息以及所述第二桌面信息同步发送至所述客户端。
  4. 根据权利要求3所述的方法,其中,所述客户端将所述第一桌面信息以及所述第二桌面信息进行叠加以显示所述目标桌面,还包括:
    所述客户端将所述第一桌面信息以及所述第二桌面信息叠加在视频业务之上以显示所述目标桌面;其中,所述视频业务为所述客户端播放的视频业务。
  5. 根据权利要求1至4任一项中所述的方法,其中,所述获取第一桌面信息与第二桌面信息,包括:
    提取所述目标桌面的所述内容信息并根据预设格式进行编码,以获取所述第一桌面信息;以及,提取所述目标桌面的所述透明度信息并根据预设格式进行编码,以获取所述第二桌面信息。
  6. 根据权利要求5所述的方法,其中,所述提取所述目标桌面的所述透明度信息并根据预设格式进行编码,以获取所述第二桌面信息,包括:
    提取所述目标桌面的所述透明度信息,并对于所述目标桌面的每一个像素点的所述透明度信息分别进行编码,以获取所述第二桌面信息。
  7. 一种桌面显示方法,应用于客户端,所述方法包括:
    接收服务器发送的第一桌面信息与第二桌面信息,并将所述第一桌面信息以及所述第二桌面信息进行叠加以显示目标桌面;
    其中,所述第一桌面信息以及所述第二桌面信息由所述服务器获取,所述第一桌面信息用于指示所述目标桌面的内容信息,所述第二桌面信息用于指示所述目标桌面的透明度信息。
  8. 根据权利要求7所述的方法,其中,所述第一桌面信息为图像信息或者视频信息。
  9. 根据权利要求8所述的方法,其中,所述接收服务器发送的第一桌面信息与第二桌面信息,包括:
    接收所述服务器发送的所述第一桌面信息,其中,所述第一桌面信息中携带有所述第二桌面信息;或者,
    同步接收所述服务器发送的所述第一桌面信息与所述第二桌面信息。
  10. 根据权利要求9所述的方法,其中,所述将所述第一桌面信息以及所述第二桌面信息进行叠加以显示目标桌面,包括:
    将所述第一桌面信息以及所述第二桌面信息叠加在视频业务之上以显示所述目标桌面;其中,所述视频业务为所述客户端播放的视频业务。
  11. 根据权利要求7至10任一项中所述的方法,其中,所述将所述第一桌面信息以及所述第二桌面信息进行叠加以显示目标桌面,包括:
    对于所述第一桌面信息进行解码,以获取所述目标桌面的所述内容信息,并对于所述第二桌面信息进行解码,以获取所述目标桌面的所述透明度信息;
    将所述目标桌面的所述内容信息与所述透明度信息进行叠加以显示所述目标桌面。
  12. 根据权利要求11所述的方法,其中,所述将所述第一桌面信息以及所述第二桌面信息进行叠加以显示目标桌面,还包括:
    对于所述第二桌面信息进行解码,以获取所述目标桌面的每一个像素点的所述透明度信息,并将每一个所述像素点的所述透明度信息依次叠加至所述目标桌面的所述内容信息之上,以显示所述目标桌面。
  13. 一种桌面显示装置,设置于服务器,所述装置包括:
    获取模块,设置为获取第一桌面信息与第二桌面信息,其中,所述第一桌面信息用于指示目标桌面的内容信息,所述第二桌面信息用于指示所述目标桌面的透明度信息;
    发送模块,设置为将所述第一桌面信息与所述第二桌面信息发送 至客户端,以供所述客户端将所述第一桌面信息以及所述第二桌面信息进行叠加以显示所述目标桌面。
  14. 一种桌面显示装置,设置于客户端,所述装置包括:
    接收模块,设置为接收服务器发送的第一桌面信息与第二桌面信息,并将所述第一桌面信息以及所述第二桌面信息进行叠加以显示目标桌面;
    其中,所述第一桌面信息以及所述第二桌面信息由所述服务器获取,所述第一桌面信息用于指示所述目标桌面的内容信息,所述第二桌面信息用于指示所述目标桌面的透明度信息。
  15. 一种计算机可读的存储介质,所述计算机可读的存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至6、权利要求7至12任一项中所述的方法。
  16. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至6、权利要求7至12任一项中所述的方法。
PCT/CN2020/135017 2019-12-13 2020-12-09 桌面显示方法及装置、计算机可读的存储介质、电子装置 WO2021115349A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911285420.8 2019-12-13
CN201911285420.8A CN112995739A (zh) 2019-12-13 2019-12-13 桌面显示方法及装置、计算机可读的存储介质、电子装置

Publications (1)

Publication Number Publication Date
WO2021115349A1 true WO2021115349A1 (zh) 2021-06-17

Family

ID=76329442

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/135017 WO2021115349A1 (zh) 2019-12-13 2020-12-09 桌面显示方法及装置、计算机可读的存储介质、电子装置

Country Status (2)

Country Link
CN (1) CN112995739A (zh)
WO (1) WO2021115349A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090001173A1 (en) * 2007-06-28 2009-01-01 Sevier Mitchel P Bar code reading terminal with video capturing mode
CN103475953A (zh) * 2013-09-13 2013-12-25 华为技术有限公司 一种基于桌面云的媒体控制方法和设备
US20150373423A1 (en) * 2013-01-15 2015-12-24 Sharp Kabushiki Kaisha Video supply device, video acquisition device, and program
CN106330986A (zh) * 2015-06-15 2017-01-11 中兴通讯股份有限公司 消息传输方法及装置
CN110061892A (zh) * 2018-06-13 2019-07-26 上海达龙信息科技有限公司 实时显示网络状况的方法、系统、存储介质、及电子设备
CN110493482A (zh) * 2019-07-05 2019-11-22 潘子萌 一种云桌面投屏电话

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005008626A1 (en) * 2003-07-11 2005-01-27 University Of North Carolina At Chapel Hill Methods and systems for controlling a computer using a video image and for combining the video image with a computer desktop
CN103248654B (zh) * 2012-02-10 2018-09-21 中兴通讯股份有限公司 虚拟桌面服务参数的协商方法、装置及系统
US9471194B2 (en) * 2013-10-29 2016-10-18 Microsoft Technology Licensing, Llc Rendering windows having transparent properties from a remote desktop environment
CN103596053A (zh) * 2013-11-18 2014-02-19 深圳创维数字技术股份有限公司 一种pip播放的方法及终端
US10404769B2 (en) * 2013-12-31 2019-09-03 Google Llc Remote desktop video streaming alpha-channel
CN104601930A (zh) * 2015-01-09 2015-05-06 西安融成科技有限公司 一种视频图像和桌面图像自动切换显示的系统及方法
CN106998479A (zh) * 2016-01-22 2017-08-01 中兴通讯股份有限公司 一种实现机顶盒云化的方法、装置和系统
CN108200273B (zh) * 2017-12-27 2021-04-30 努比亚技术有限公司 桌面图标显示方法、终端及计算机可读存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090001173A1 (en) * 2007-06-28 2009-01-01 Sevier Mitchel P Bar code reading terminal with video capturing mode
US20150373423A1 (en) * 2013-01-15 2015-12-24 Sharp Kabushiki Kaisha Video supply device, video acquisition device, and program
CN103475953A (zh) * 2013-09-13 2013-12-25 华为技术有限公司 一种基于桌面云的媒体控制方法和设备
CN106330986A (zh) * 2015-06-15 2017-01-11 中兴通讯股份有限公司 消息传输方法及装置
CN110061892A (zh) * 2018-06-13 2019-07-26 上海达龙信息科技有限公司 实时显示网络状况的方法、系统、存储介质、及电子设备
CN110493482A (zh) * 2019-07-05 2019-11-22 潘子萌 一种云桌面投屏电话

Also Published As

Publication number Publication date
CN112995739A (zh) 2021-06-18

Similar Documents

Publication Publication Date Title
CN107018370B (zh) 用于视频墙的显示方法及其系统
TWI493442B (zh) 用於顯示牆的顯示系統與顯示方法
WO2017193576A1 (zh) 一种视频分辨率的适应方法、装置及虚拟现实终端
CN103283250B (zh) 一种视频重定向的方法、装置、系统
CN109040792B (zh) 一种视频重定向的处理方法、云终端和云桌面服务器
CN104982039A (zh) 用于在视频的图像帧中提供定向内容的方法及相应的设备
US9426476B2 (en) Video stream
CN105262825A (zh) 基于h.265的spice云桌面传输和展现方法及系统
US8995763B2 (en) Systems and methods for determining compression methods to use for an image
TW201347537A (zh) 用於傳輸視覺內容之系統及方法
JP2012085301A (ja) 3次元映像信号処理方法及びこれを具現する携帯型3次元ディスプレイ装置
KR20100025537A (ko) 네트워크 아키텍처를 통해 디스플레이 장치 특정 콘텐트를 제공하는 방법, 장치 및 시스템
CN110913278B (zh) 视频播放方法、显示终端及存储介质
CN107864384B (zh) 重定向云桌面上互联网视频播放的方法及装置
CN106973318B (zh) 聚合视频操作方法及装置
US20220417486A1 (en) Method and apparatus for processing three-dimensional video, readable storage medium and electronic device
US20140355664A1 (en) Optimizing video transfer
CN105898370A (zh) 用于多机位的视频播放器、播放系统及播放方法
CN115103175B (zh) 图像传输方法、装置、设备及介质
CN104067627A (zh) 一种视频重定向的方法、装置、系统及计算机可读介质
CN116450149B (zh) 一种硬件解码方法、设备及存储介质
WO2021115349A1 (zh) 桌面显示方法及装置、计算机可读的存储介质、电子装置
CN112714341B (zh) 信息获取方法、云化机顶盒系统、实体机顶盒及存储介质
CN106658070B (zh) 视频重定向的方法和装置
US10560727B2 (en) Server structure for supporting multiple sessions of virtualization

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: 20899604

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: 20899604

Country of ref document: EP

Kind code of ref document: A1