Screen projection method and device, electronic device and storage medium

By setting up a management platform in the cloud, establishing a communication link between terminal devices and set-top boxes, and realizing cloud-based screen projection services, the problem of poor user experience caused by aging set-top box hardware performance is solved, reducing costs and improving user experience.

CN118803340BActive Publication Date: 2025-10-03CHINA MOBILE COMM GRP TERMINAL +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410388647.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-01
Publication Date
2025-10-03
Estimated Expiration
2044-04-01

AI Technical Summary

Technical Problem

The existing set-top box hardware performance is aging and cannot support the high-demand screen projection interactive services, resulting in poor user experience and high update and promotion costs.

Method used

By setting up a management platform in the cloud, establishing a communication link between the terminal device and the set-top box, and utilizing cloud resources for screen projection operations, the memory and CPU pressure on the set-top box can be reduced, and the screen projection business can be cloud-based.

Benefits of technology

It reduces the memory and CPU pressure of the set-top box, improves the user experience, meets the user's demand for set-top box value-added services, and reduces the promotion cost of screen projection interactive services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803340B_ABST
    Figure CN118803340B_ABST
Patent Text Reader

Abstract

One or more embodiments of this specification disclose a screen projection method and device, an electronic device, and a storage medium. The method includes: upon receiving a login request sent by a set-top box, establishing a first communication link between the set-top box and a target computing server in a management platform; based on the first communication link, sending the first attribute parameter received from the set-top box to the target computing server, so that the target computing server generates a graphic code by processing the first attribute parameter, and sending the graphic code to the set-top box; upon receiving information that the terminal device scans the graphic code of the set-top box, establishing a second communication link between the terminal device and the target computing server; upon receiving a screen projection request for a screen projection resource sent by the terminal device through the second communication link, transferring the screen projection resource from the terminal device to the set-top box through the first communication link and the second communication link, so that the set-top box performs screen projection processing based on the screen projection resource.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of data processing technology, and in particular to a screen projection method and device, an electronic device, and a storage medium. Background Art

[0002] With the increasing maturity and widespread adoption of big video services and rapid economic development, household users are increasingly demanding higher functionality and performance from their set-top boxes. For example, they want a more futuristic UI, richer channel content, a more advanced feature list, and smarter service support. They also want to be able to instantly project high-definition video content from their mobile phones through their home set-top boxes, increasing the diversity of their home set-top box usage scenarios.

[0003] Local deployment and installation of screen projection applications places higher demands on the set-top box's OS computing power, software version, and system performance, making market promotion more economical and time-consuming. However, the diverse set-top boxes on the market are limited by manufacturing and replacement costs. Furthermore, the aging hardware performance of most home set-top boxes is insufficient to support local operation of innovative services and intelligent UI interaction, and thus cannot meet users' high demands for large-screen interactive experience. Therefore, there is an urgent need for a better screen projection solution. Summary of the Invention

[0004] The embodiments of this specification provide a screen projection method and device, an electronic device, and a storage medium to provide a better screen projection solution.

[0005] In a first aspect, one or more embodiments of this specification provide a screen projection method, which is applied to a management platform located in the cloud, including:

[0006] Upon receiving a login request sent by the set-top box, establishing a first communication link between the set-top box and a target computing server in the management platform;

[0007] sending, based on the first communication link, the first attribute parameter received from the set-top box to the target computing server, so that the target computing server processes the first attribute parameter to generate a graphic code, and sends the graphic code to the set-top box;

[0008] establishing a second communication link between the terminal device and the target computing server upon receiving information that the terminal device scans the graphic code of the set-top box;

[0009] Upon receiving a screen projection request for a screen projection resource sent by the terminal device through the second communication link, the screen projection resource is passed from the terminal device to the set-top box through the first communication link and the second communication link, so that the set-top box performs screen projection processing based on the screen projection resource.

[0010] Optionally, the management platform includes multiple computing servers, and upon receiving a login request sent by a set-top box, establishing a first communication link between the set-top box and a target computing server in the management platform includes:

[0011] Upon receiving the login request, determining a target container based on the plurality of computing servers and status information of containers in the computing servers;

[0012] A first communication link is established between the set-top box and a gateway of a computing server corresponding to the target container.

[0013] Optionally, upon receiving the login request, determining a target container based on the plurality of computing servers and status information of containers in the computing servers includes:

[0014] Upon receiving the login request, determining a target computing server from the plurality of computing servers based on status information of the plurality of computing servers;

[0015] Determining a target computing node from the target computing server based on status information of each computing node in the target computing server;

[0016] The target container is determined from the target computing node based on status information of each container in the target computing node.

[0017] Optionally, upon receiving information indicating that the terminal device has scanned the graphic code of the set-top box, establishing a second communication link between the terminal device and the target computing server includes:

[0018] Upon receiving the information sent by the terminal device, a second communication link is established between the terminal device and a gateway of a computing server corresponding to the target container based on a second attribute parameter of the target container in the information. The terminal device obtains the information by scanning a graphic code of the set-top box, and the target container generates a graphic code based on the first attribute parameter and the second attribute parameter.

[0019] Optionally, upon receiving a screen projection request for a screen projection resource sent by the terminal device through the second communication link, transmitting the screen projection resource from the terminal device to the set-top box through the first communication link and the second communication link, so that the set-top box performs screen projection processing based on the screen projection resource, includes:

[0020] Upon receiving a request for a screen projection resource sent by the terminal device through the second communication link, receiving a network link of the screen projection resource sent by the terminal device through the second communication link;

[0021] The network link is sent to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the network link.

[0022] Optionally, sending the network link to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the network link, includes:

[0023] In a case where the network link is a link that the set-top box can directly access, sending the network link to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the network link;

[0024] In the case that the network link is a link that the set-top box cannot directly access, the target computing server is used to convert the network link, and the converted network link is sent to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the converted network link.

[0025] In a second aspect, an embodiment of this specification provides a screen projection device for a management platform located in the cloud, including:

[0026] A first link establishment module is configured to establish a first communication link between the set-top box and a target computing server in the management platform when receiving a login request sent by the set-top box;

[0027] a graphic code module, configured to send the first attribute parameter received from the set-top box to the target computing server based on the first communication link, so that the target computing server processes the first attribute parameter to generate a graphic code, and send the graphic code to the set-top box;

[0028] a second link establishing module, configured to establish a second communication link between the terminal device and the target computing server upon receiving information that the terminal device scans the graphic code of the set-top box;

[0029] The screen projection module is used to transfer the screen projection resources from the terminal device to the set-top box through the first communication link and the second communication link upon receiving the screen projection request for the screen projection resources sent by the terminal device through the second communication link, so that the set-top box performs screen projection processing based on the screen projection resources.

[0030] Optionally, the management platform includes multiple computing servers, and the first link building module includes:

[0031] a status unit, configured to determine a target container based on status information of the plurality of computing servers and containers in the computing servers when receiving the login request;

[0032] A link establishing unit is configured to establish a first communication link between the set-top box and a gateway of a computing server corresponding to the target container.

[0033] Optional, status unit, used to:

[0034] Upon receiving the login request, determining a target computing server from the plurality of computing servers based on status information of the plurality of computing servers;

[0035] Determining a target computing node from the target computing server based on status information of each computing node in the target computing server;

[0036] The target container is determined from the target computing node based on status information of each container in the target computing node.

[0037] Optionally, the second link building module includes:

[0038] A link establishing unit is configured to establish, upon receiving information sent by the terminal device, a second communication link between the terminal device and a gateway of a computing server corresponding to the target container based on a second attribute parameter of the target container in the information, wherein the terminal device obtains the information by scanning a graphic code of the set-top box, and the target container generates a graphic code based on the first attribute parameter and the second attribute parameter.

[0039] Optional screen projection module, including:

[0040] a receiving unit, configured to, upon receiving a request for a screen projection resource sent by the terminal device through the second communication link, receive a network link of the screen projection resource sent by the terminal device through the second communication link;

[0041] The screen projection unit is used to send the network link to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the network link.

[0042] In one embodiment, the screen projection unit is used to:

[0043] In a case where the network link is a link that the set-top box can directly access, sending the network link to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the network link;

[0044] In the case that the network link is a link that the set-top box cannot directly access, the target computing server is used to convert the network link, and the converted network link is sent to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the converted network link.

[0045] In a third aspect, an embodiment of this specification provides an electronic device comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0046] In a fourth aspect, an embodiment of this specification provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0047] In a fifth aspect, an embodiment of this specification provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method described in the first aspect.

[0048] In a sixth aspect, an embodiment of this specification provides a computer program product, which, when executed by a processor, implements the method described in the first aspect.

[0049] In the embodiments of this specification, a cloud-based management platform establishes a first communication link and a second communication link connecting a terminal device and a set-top box. The first and second communication links enable the terminal device's screen projection resources to be projected through the set-top box. This process, through the cloud-based management platform, centrally manages the terminal device's screen projection operations based on the set-top box, enabling cloud-based screen projection services. This reduces the memory and CPU pressure on the set-top box and relieves the limitations imposed by terminal device screen projection on the set-top box configuration. This can improve the set-top box user experience and meet users' demand for value-added services from the set-top box. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in one or more embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0051] Figure 1 This is a structural diagram of a screen projection system according to an embodiment of this specification.

[0052] Figure 2 This is a schematic flowchart of a screen projection method according to an embodiment of this specification.

[0053] Figure 3 This is a schematic flow chart of the internal structure of a computing server according to an embodiment of this specification.

[0054] Figure 4 This is a schematic flowchart of a screen projection method according to an embodiment of this specification.

[0055] Figure 5 This is a structural diagram of a screen projection device according to an embodiment of this specification.

[0056] Figure 6 This is a structural diagram of an electronic device according to an embodiment of this specification. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the embodiments described are part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.

[0058] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this specification can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like generally refer to a class and do not limit the number of objects; for example, the first object can be one or more. Furthermore, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the connected objects are in an "or" relationship.

[0059] Currently, satisfying users' demand for interactive screen projection through set-top boxes requires upgrading and improving the physical performance of the set-top boxes and increasing bandwidth speeds. This inevitably increases investment costs for users and operators, and increases the cost of promoting interactive screen projection services.

[0060] In the embodiments of this specification, a management platform can be set up in the cloud, and the management platform can be used to connect the terminal device and the set-top box, so that the screen resources to be cast of the terminal device can be played on the terminal of the set-top box through the management platform. This process relocates the screen casting software to the cloud for operation, reduces the occupation of the set-top box resources by the screen casting operation, and thus supports users to realize mobile phone screen casting on the existing set-top box without the need to update and upgrade the set-top box and without placing high requirements on the user's bandwidth speed. Among them, the management platform can be a virtual processing machine system (abbreviated as vSTB).

[0061] The requirements for the management platform in this specification may include: ① Supporting load balancing for set-top box login to allocate computing resources; ② Managing VR application installation, online / offline, deletion and other management operations; ③ Real-time monitoring of computing server status to ensure that the load can provide computing nodes that can provide services normally.

[0062] See also Figure 1 , a screen projection system provided by an embodiment of the present disclosure, includes: a terminal 101, a management platform 102, a computing server 103, a CDN distributed platform 104, and a public network environment 105. The management platform 102 and computing server 103 can be set up in the cloud, and the computing server 103 is managed by the management platform 102.

[0063] The terminal 101 includes a set-top box and a terminal device. The terminal device may be a user equipment (UE), a mobile device, a terminal device, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc.

[0064] In the above-mentioned screen projection system, the set-top box in the terminal 101 establishes a communication link with the computing server 103 in the cloud management platform 102. By means of scanning a code or other means, the terminal device in the terminal 101 establishes a communication link with the computing server 103, and then the playback resources of the terminal device can be transmitted to the set-top box, so that the set-top box can connect to the CDN distributed platform 104 or the public network environment 105 through a link to load the playback resources for screen projection. This system realizes mobile phone screen projection to the cloud by clouding the screen projection service.

[0065] The following describes in detail the workflow of the management platform of this manual in combination with the screen projection method provided in this manual.

[0066] In an embodiment of the present disclosure, a screen projection method is provided. The method is applied to a management platform located in the cloud. The management platform is used to manage the screen projection services of multiple set-top boxes. Each set-top box can receive playback resources to be projected from at least one terminal device. The method can be implemented by a processor calling computer-readable instructions stored in a memory. Alternatively, the method can be executed by a server in the cloud.

[0067] For ease of description, in one or more embodiments of this specification, the screen projection method may be performed by a cloud-based management platform. The following text describes the method using the management platform as an example. It should be understood that the use of the management platform as the method's execution entity is merely an example and should not be construed as limiting the method.

[0068] Figure 2 A flowchart of a screen projection method according to an embodiment of the present disclosure is shown. Figure 2 As shown, the screen projection method includes:

[0069] Step S202: upon receiving a login request sent by the set-top box, establishing a first communication link between the set-top box and a target computing server in the management platform.

[0070] The set-top box can have basic Android OS computing power. This description does not specify the type and model of the set-top box; this can be determined based on actual circumstances. For example, the set-top box can be a common home model, such as the B860AV1.1. After the set-top box is deployed, default login interface parameters can be set, and management platform information can also be manually configured.

[0071] The terminal of the set-top box can collect the first attribute parameters of the set-top box, including: user account, MAC address, network IP, etc., and can carry the first attribute parameters to access the management system for user authentication and application authentication. After the authentication is passed, the management platform can allocate the idle target computing server to the set-top box according to the load balancing principle of "computing servers with higher idle rates are allocated first". This manual does not specifically limit the method for determining the status information such as the idle rate of the computing server, and it can be determined according to actual conditions. For example, the idle rate of the computing server can be determined based on the number of idle nodes in the computing server.

[0072] After the target computing server is determined, a first communication link between the set-top box and the target computing server may be established as a response to the login request.

[0073] Step S204: Based on the first communication link, the first attribute parameter received from the set-top box is sent to the target computing server, so that the target computing server processes the first attribute parameter to generate a graphic code, and sends the graphic code to the set-top box.

[0074] After the first communication link is established, the set-top box can send the first attribute parameter to the target computing server, so that the target computing server generates a graphic code, such as a QR code or barcode, for the terminal device to scan based on the first attribute parameter. Furthermore, the target computing server can send the generated graphic code to the set-top box, so that the terminal of the set-top box displays the graphic code for the terminal device to scan.

[0075] In one example, the basic service components of a computing server may include: (1) Gateway: responsible for communication and forwarding between other modules in the computing server (such as cloud display modules, containers, etc.) and external devices (including management platform systems and terminal devices); (2) Cloud display module: responsible for communication with terminal devices, conveying set-top box messages to containers, and pushing encoded streaming media to set-top boxes; accessing management platform system communications, maintaining computing nodes and container heartbeats (i.e., working status) and reporting; (3) Operating system: deploying containers, providing computing power services for the management platform, supporting application startup, shutdown, and resource decoding, etc.; (4) Computing node management module: implementing node task execution, calling underlying components, and docking with the management platform.

[0076] Figure 3 A flow chart of the internal structure of a computing server is shown. In one example, after the first communication link is established, Figure 3 The cloud display module in the system starts the screen projection application APP through the control panel agent module (corresponding to step 303), and synchronizes the attribute parameters of the set-top box and the container terminal to generate QR code information for the mobile phone to scan. The parameters are sent to the mobile phone terminal through the cloud display module and the gateway (corresponding to steps 404 and 403), and the QR code is decrypted by the set-top box and displayed to the user (corresponding to step 301).

[0077] Step S206: upon receiving information indicating that the terminal device has scanned the graphic code of the set-top box, a second communication link is established between the terminal device and the target computing server.

[0078] After the set-top box terminal displays the graphic code, the user can use the terminal device to scan the graphic code, and then generate information and return it to the management platform. The management platform establishes a second communication link based on the received information. The information generated by the terminal device can be the information contained in the graphic code.

[0079] Step S208: Upon receiving a screen projection request for a screen projection resource sent by the terminal device through the second communication link, the screen projection resource is transferred from the terminal device to the set-top box through the first communication link and the second communication link, so that the set-top box performs screen projection processing based on the screen projection resource.

[0080] Through steps S202-S206, a first communication link and a second communication link are established between the terminal device and the set-top box based on the cloud-based management platform. Furthermore, when a user needs to cast a screen, they can use the terminal device to send a screen casting request to the management platform. The screen casting resources corresponding to the screen casting request are transferred from the terminal device to the set-top box via the first communication link and the second communication link, thereby implementing the screen casting operation on the set-top box. The communication protocols of the first communication link and the second communication link can be the same.

[0081] In the embodiments of this specification, a cloud-based management platform establishes a first communication link and a second communication link connecting a terminal device and a set-top box. The first and second communication links enable the terminal device's screen projection resources to be projected through the set-top box. This process, through the cloud-based management platform, centrally manages the terminal device's screen projection operations based on the set-top box, enabling cloud-based screen projection services. This reduces the memory and CPU pressure on the set-top box and relieves the limitations imposed by terminal device screen projection on the set-top box configuration. This can improve the set-top box user experience and meet users' demand for value-added services from the set-top box.

[0082] In one example, the computing server can adapt to the container scenario, access the k8s (Kubernetes) cluster, and support basic operations such as the creation, operation, and deletion of virtual platforms such as POD containers. In one implementation, the management platform includes multiple computing servers, and when a login request is received from a set-top box, a first communication link is established between the set-top box and a target computing server in the management platform, including:

[0083] Upon receiving the login request, determining a target container based on the plurality of computing servers and status information of containers in the computing servers;

[0084] A first communication link is established between the set-top box and a gateway of a computing server corresponding to the target container.

[0085] Specifically, the management platform can be built based on distributed computing servers. Each computing server can have multiple computing nodes, and each computing node can contain multiple containers. Specific container types can be selected as computing nodes. Since set-top boxes typically have Android OS computing power, Android containers can be selected as computing nodes to facilitate interaction between the set-top boxes and the management platform.

[0086] Upon receiving a login request from a set-top box, the state information of each computing server and the state information of the containers in the computing server can be determined in real time, thereby determining a target container for providing computing services. In one implementation, upon receiving the login request, determining the target container based on the state information of the plurality of computing servers and the containers in the computing servers includes:

[0087] Upon receiving the login request, determining a target computing server from the plurality of computing servers based on status information of the plurality of computing servers;

[0088] Determining a target computing node from the target computing server based on status information of each computing node in the target computing server;

[0089] The target container is determined from the target computing node based on status information of each container in the target computing node.

[0090] In one example, a scheduled "heartbeat reporting" function can be configured for compute servers. This means that the compute servers can periodically report the current operating status of the compute nodes and their containers to the management node. During load balancing, the compute servers can authenticate and return idle container information. This allows for real-time updates of the operating status of nodes and containers on each compute server within the management platform.

[0091] Specifically, the content reported by the "heartbeat reporting" timing function may include: ① The process status of the computing node and the information of the computing server where the computing node is registered. The computing node can be labeled "whether it is functioning normally"; ② The status of all containers under the computing node to limit the allocation of abnormal PODs (the structure of the encapsulated container). The computing node can be labeled "whether the capacity is idle" to limit the allocation of abnormal PODs (the structure of the encapsulated container). When load balancing, the management platform determines whether the current node has idle computing power terminals (i.e., containers) for user access by querying the service process. Each node will return the node self-test results to the management platform.

[0092] When a login request is received, a computing server with a higher computing node idle rate can be first determined as the target computing server from the content reported by the "heartbeat reporting" timing function; then a computing node with a higher idle rate is determined in the target computing server as the target computing node; further, an idle container is determined in the target computing node as the target container. In order to enable data to be transmitted between the set-top box and the target container, the gateway corresponding to the target container is used as the target gateway, and a first communication link is established through the target gateway.

[0093] After determining the target container, information related to the target container can be returned to the set-top box to establish the first communication link. The returned information may include, but is not limited to: ① the name, network address, and port of the target container; ② the external network address and port of the target gateway; and ③ the token authentication information used when establishing the first communication link. In one example, the token authentication information can be updated once the user completes a login and logout cycle.

[0094] Furthermore, based on the returned information, the set-top box can initiate a communication request to the gateway corresponding to the target container. After receiving the request, the gateway can obtain the target container name, network IP and port while parsing the first attribute parameter, and then establish a link with the cloud display module matching the target container, and forward the login request to the cloud display module; the cloud display module can verify the token value carried in the login request, and allow the link to be established if the verification is passed, otherwise disconnect the direct connection between the set-top box and the gateway corresponding to the target container.

[0095] In this embodiment, a target container is determined based on the status information of the compute server and container, and a first communication link is established between the set-top box and the gateway of the compute server corresponding to the target container. This process establishes the first communication link between the set-top box and the target compute server in the management platform, providing a foundation for migrating screen projection software and functions to the cloud.

[0096] In one implementation, upon receiving information that the terminal device scans the graphic code of the set-top box, establishing a second communication link between the terminal device and the target computing server includes:

[0097] Upon receiving the information sent by the terminal device, a second communication link is established between the terminal device and a gateway of a computing server corresponding to the target container based on a second attribute parameter of the target container in the information. The terminal device obtains the information by scanning a graphic code of the set-top box, and the target container generates a graphic code based on the first attribute parameter and the second attribute parameter.

[0098] The second attribute parameter is an attribute parameter of the target container, which may include the container name, network IP address, and port number. After determining the target container, to establish a communication link between the terminal device and the set-top box, in one example, the target container may generate a graphic code based on the first attribute parameter and the second attribute parameter. The terminal device then scans the graphic code to establish a second communication link between the terminal device and the gateway of the computing server corresponding to the target container. In this case, the first communication link and the second communication link constitute the communication link between the terminal device and the set-top box.

[0099] exist Figure 3 In the process, the cloud display module starts the screen projection application APP through the control panel proxy module (corresponding to step 303), synchronizes the attribute parameters of the set-top box and the target container, generates a QR code information for the mobile phone to scan, and passes through the cloud display module and the gateway (corresponding to steps 404 and 403), sends the parameters to the set-top box (corresponding to step 301), and decrypts and displays the QR code through the terminal of the set-top box. The user's mobile phone terminal scans the QR code displayed by the set-top box to obtain the target container information and token authentication information, and then successfully establishes a link with the gateway corresponding to the target container. Among them, when the mobile phone scans the QR code to access the target container, the cloud display module can determine the target container to be connected to the mobile phone terminal through the token authentication information.

[0100] In one implementation, upon receiving a screen projection request for a screen projection resource sent by the terminal device through the second communication link, transmitting the screen projection resource from the terminal device to the set-top box through the first communication link and the second communication link, so that the set-top box performs screen projection processing based on the screen projection resource, includes:

[0101] Upon receiving a request for a screen projection resource sent by the terminal device through the second communication link, receiving a network link of the screen projection resource sent by the terminal device through the second communication link;

[0102] The network link is sent to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the network link.

[0103] Specifically, the process of screen projection through the link between the set-top box and the terminal device can be: first, the screen projection resources to be projected by the terminal device are sent to the management platform through the second communication link, and the management platform then forwards the screen projection resources to the terminal of the set-top box through the first communication link.

[0104] The following combination Figure 3 Analyze the specific process in the computing node during the screen projection process:

[0105] like Figure 3As shown, the user operates the mobile phone terminal to perform interactive screen projection. First, the user scans the assistant application or applet to upload the URL link of the projection to the gateway (corresponding to step 402), and sends it to the built-in control panel agent module through the cloud display module (corresponding to step 403), and further sends the URL link to the projection application APP through the internal designated port in a transparent manner. The projection application APP calls the interface of the player in the container, so that the URL link is intercepted by the playback agent module (corresponding to step 405), and the URL link to be played is converted according to the configuration information. After the conversion is successful, the converted URL link is sent to the set-top box through the gateway (corresponding to steps 406 and 301).

[0106] Typically, a set-top box accesses a link to obtain the resource corresponding to the link, and then projects the resource. In one implementation, sending the network link to the set-top box via the first communication link so that the set-top box projects the projection resource via the network link includes:

[0107] In a case where the network link is a link that the set-top box can directly access, sending the network link to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the network link;

[0108] In the case that the network link is a link that the set-top box cannot directly access, the target computing server is used to convert the network link, and the converted network link is sent to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the converted network link.

[0109] Different bureaus have different requirements for set-top boxes. For example, open bureaus allow set-top boxes to access public or private network resources, while closed bureaus require set-top boxes to only access resources on a closed, specific private network. In one example, upon receiving a network link (such as a URL link) sent by a terminal device, it is possible to first determine whether the network link is a link that the set-top box can directly access. If the network link is not directly accessible, the network link can be converted (for example, by adding a CDN parameter item) to a link that the set-top box can directly access. Whether the network link can be directly accessed by the set-top box can be determined based on the bureau to which the network link belongs.

[0110] Furthermore, the set-top box can call the local player interface according to the address corresponding to the received network link, go to the specified CDN address or public network address to load resources, thereby realizing the playback of the projection resources on the set-top box.

[0111] In the embodiments of this specification, the screen projection service is cloud-based based on network link conversion through the first communication link and the second communication link, so that the resources of different terminal devices can be projected on the set-top box, thereby improving the robustness of the screen projection method and reducing the promotion and use costs of the screen projection method.

[0112] See also Figure 4 , is a specific implementation of the screen projection method of the embodiment of this specification, which is based on Figure 1 Based on the screen projection system in , in this implementation, the specific process of the screen projection method is as follows:

[0113] Step S401: The set-top box logs in to the access management platform. Specifically, the set-top box is a cloud-based set-top box (tSTB). The management platform is a virtual processing system (vSTB). Based on the login access request, the management platform allocates a target container to the set-top box.

[0114] Step S402: The set-top box establishes a communication link with a gateway and authenticates user information. Specifically, the gateway is the gateway of the computing server corresponding to the target container. The user information is the attribute data of the set-top box. The link between the set-top box and the gateway is a first communication link.

[0115] Step S403: Synchronize terminal data and generate a QR code. Specifically, the terminal data includes attribute data of the set-top box and the target container. The QR code generated in this process will be sent to the terminal of the set-top box based on the first communication link.

[0116] Step S404: The terminal device scans successfully and establishes a communication link with the gateway. Specifically, if the terminal device scans the QR code successfully, a second communication link will be established with the gateway of the target container.

[0117] Step S405: Transmit the screen casting playback URL, and the built-in playback proxy module converts the playback link. Specifically, based on the second communication link, the terminal device transmits the URL link to be cast and played to the target container, and the target container uses the built-in playback proxy module to convert the URL link.

[0118] Step S406: The converted URL is transmitted back to the client, which then calls the player to load the CDN or public network resource. Specifically, based on the first communication link, the target container transmits the converted URL link back to the set-top box. The set-top box then calls the local player interface to load the resource from the CDN or public network address specified by the URL link, thereby enabling the projection of the screen resource to the set-top box terminal.

[0119] In the embodiments of this specification, a cloud-based management platform establishes a first communication link and a second communication link connecting a terminal device and a set-top box. The first and second communication links enable the terminal device's screen projection resources to be projected through the set-top box. This process, through the cloud-based management platform, centrally manages the terminal device's screen projection operations based on the set-top box, enabling cloud-based screen projection services. This reduces the memory and CPU pressure on the set-top box and relieves the limitations imposed by terminal device screen projection on the set-top box configuration. This can improve the set-top box user experience and meet users' demand for value-added services from the set-top box.

[0120] For details not mentioned in the above implementation, please refer to the previous description and will not be repeated here.

[0121] It is understood that the various method embodiments mentioned in this specification can be combined with each other to form combined embodiments without violating the principle logic. Due to space limitations, they will not be described in detail in this specification. Those skilled in the art will understand that in the above-mentioned methods of specific implementation, the specific execution order of each step should be determined by its function and possible internal logic.

[0122] It should be noted that the screen projection method provided in the embodiments of this specification can be executed by a screen projection device or a control module in the screen projection device for executing the screen projection method. In the embodiments of this specification, the screen projection device provided in the embodiments of this specification is described by taking the screen projection method executed by the screen projection device as an example.

[0123] Figure 5 Schematic diagram of the structure of the screen projection device according to an embodiment of the present invention. Figure 5 As shown, the screen projection device 500 is used in a management platform located in the cloud, including:

[0124] A first link establishment module 510 is configured to establish a first communication link between the set-top box and a target computing server in the management platform upon receiving a login request sent by the set-top box;

[0125] a graphic code module 520 configured to transmit, based on the first communication link, the first attribute parameter received from the set-top box to the target computing server, so that the target computing server processes the first attribute parameter to generate a graphic code, and transmit the graphic code to the set-top box;

[0126] A second link establishment module 530 is configured to establish a second communication link between the terminal device and the target computing server upon receiving information that the terminal device scans the graphic code of the set-top box;

[0127] The screen projection module 540 is used to transfer the screen projection resources from the terminal device to the set-top box through the first communication link and the second communication link upon receiving a screen projection request for the screen projection resources sent by the terminal device through the second communication link, so that the set-top box performs screen projection processing based on the screen projection resources.

[0128] In one embodiment, the management platform includes multiple computing servers, and the first link building module 510 includes:

[0129] a status unit, configured to determine a target container based on status information of the plurality of computing servers and containers in the computing servers when receiving the login request;

[0130] A link establishing unit is configured to establish a first communication link between the set-top box and a gateway of a computing server corresponding to the target container.

[0131] In one embodiment, the status unit is configured to:

[0132] Upon receiving the login request, determining a target computing server from the plurality of computing servers based on status information of the plurality of computing servers;

[0133] Determining a target computing node from the target computing server based on status information of each computing node in the target computing server;

[0134] The target container is determined from the target computing node based on status information of each container in the target computing node.

[0135] In one embodiment, the second link building module 530 includes:

[0136] A link establishing unit is configured to establish, upon receiving information sent by the terminal device, a second communication link between the terminal device and a gateway of a computing server corresponding to the target container based on a second attribute parameter of the target container in the information, wherein the terminal device obtains the information by scanning a graphic code of the set-top box, and the target container generates a graphic code based on the first attribute parameter and the second attribute parameter.

[0137] In one embodiment, the screen projection module 540 includes:

[0138] a receiving unit, configured to, upon receiving a request for a screen projection resource sent by the terminal device through the second communication link, receive a network link of the screen projection resource sent by the terminal device through the second communication link;

[0139] The screen projection unit is used to send the network link to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the network link.

[0140] In one embodiment, the screen projection unit is used to:

[0141] In a case where the network link is a link that the set-top box can directly access, sending the network link to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the network link;

[0142] In the case that the network link is a link that the set-top box cannot directly access, the target computing server is used to convert the network link, and the converted network link is sent to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the converted network link.

[0143] The screen projection device provided in the embodiment of the present application establishes a first communication link and a second communication link connecting the terminal device and the set-top box based on a cloud-based management platform, and can then project the screen projection resources of the terminal device through the set-top box through the first communication link and the second communication link. This process uniformly manages the screen projection operations of the terminal device based on the set-top box through the cloud-based management platform, realizes the cloudification of the screen projection service, reduces the memory and CPU pressure of the set-top box, and releases the restrictions imposed by the terminal device screen projection on the set-top box configuration, thereby improving the user experience of the set-top box and meeting the user's demand for value-added services of the set-top box.

[0144] Each module in the above-mentioned screen projection device can be implemented in whole or in part through software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the terminal device or the server-side processor in the form of hardware, or can be stored in the memory in the terminal device or the server-side memory in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.

[0145] Furthermore, corresponding to the screen projection method described above, based on the same technical concept, one or more embodiments of the present application further provide an electronic device, such as Figure 6As shown. Electronic devices may have relatively large differences due to different configurations or performances, and may include one or more processors 601 and memory 602, and the memory 602 may store one or more storage applications or data. Among them, the memory 602 may be a temporary storage or a persistent storage. The application stored in the memory 602 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the electronic device. Furthermore, the processor 601 may be configured to communicate with the memory 602 to execute a series of computer executable instructions in the memory 602 on the electronic device. The electronic device may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input and output interfaces 605, and one or more keyboards 606.

[0146] In a specific embodiment, the electronic device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the electronic device, and the one or more programs are configured to be executed by one or more processors, including computer-executable instructions for performing the following:

[0147] Upon receiving a login request sent by the set-top box, establishing a first communication link between the set-top box and a target computing server in the management platform;

[0148] sending, based on the first communication link, the first attribute parameter received from the set-top box to the target computing server, so that the target computing server processes the first attribute parameter to generate a graphic code, and sends the graphic code to the set-top box;

[0149] establishing a second communication link between the terminal device and the target computing server upon receiving information that the terminal device scans the graphic code of the set-top box;

[0150] Upon receiving a screen projection request for a screen projection resource sent by the terminal device through the second communication link, the screen projection resource is passed from the terminal device to the set-top box through the first communication link and the second communication link, so that the set-top box performs screen projection processing based on the screen projection resource.

[0151] The electronic device provided by one or more embodiments of the present application establishes a first communication link and a second communication link connecting the terminal device and the set-top box based on a cloud-based management platform, and can then project the screen resources of the terminal device through the set-top box through the first communication link and the second communication link. This process uniformly manages the screen projection operations of the terminal device based on the set-top box through the cloud-based management platform, realizes the cloudification of the screen projection service, reduces the memory and CPU pressure of the set-top box, and releases the restrictions imposed by the terminal device screen projection on the set-top box configuration, thereby improving the user experience of the set-top box and meeting the user's demand for value-added services of the set-top box.

[0152] It should be noted that the embodiment of the electronic device in this application and the embodiment of the screen projection method in this application are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the corresponding screen projection method mentioned above, and the repeated parts will not be repeated.

[0153] Furthermore, corresponding to the screen projection method described above, based on the same technical concept, one or more embodiments of the present application further provide a storage medium for storing computer-executable instructions. In a specific embodiment, the storage medium may be a USB flash drive, an optical disk, a hard disk, etc. When the computer-executable instructions stored in the storage medium are executed by the processor, the following process can be implemented:

[0154] Upon receiving a login request sent by the set-top box, establishing a first communication link between the set-top box and a target computing server in the management platform;

[0155] sending, based on the first communication link, the first attribute parameter received from the set-top box to the target computing server, so that the target computing server processes the first attribute parameter to generate a graphic code, and sends the graphic code to the set-top box;

[0156] establishing a second communication link between the terminal device and the target computing server upon receiving information that the terminal device scans the graphic code of the set-top box;

[0157] Upon receiving a screen projection request for a screen projection resource sent by the terminal device through the second communication link, the screen projection resource is passed from the terminal device to the set-top box through the first communication link and the second communication link, so that the set-top box performs screen projection processing based on the screen projection resource.

[0158] When the computer-executable instructions stored in the storage medium provided by one or more embodiments of the present application are executed by the processor, a first communication link and a second communication link are established to connect the terminal device and the set-top box based on the cloud-based management platform, and the screen projection resources of the terminal device can be projected through the set-top box through the first communication link and the second communication link. This process uniformly manages the screen projection operations of the terminal device based on the set-top box through the cloud-based management platform, realizes the cloudification of the screen projection service, reduces the memory and CPU pressure of the set-top box, and releases the restrictions imposed by the terminal device screen projection on the set-top box configuration, thereby improving the user experience of the set-top box and meeting the user's demand for value-added services of the set-top box.

[0159] It should be noted that the embodiment of the storage medium in this application and the screen projection method in this application are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the corresponding screen projection method mentioned above, and the repeated parts will not be repeated.

[0160] Furthermore, corresponding to the screen projection method described above, based on the same technical concept, one or more embodiments of the present application further provide a computer program product, which includes a computer program. When the computer program is executed by a processor, the following process can be implemented:

[0161] Upon receiving a login request sent by the set-top box, establishing a first communication link between the set-top box and a target computing server in the management platform;

[0162] sending, based on the first communication link, the first attribute parameter received from the set-top box to the target computing server, so that the target computing server processes the first attribute parameter to generate a graphic code, and sends the graphic code to the set-top box;

[0163] establishing a second communication link between the terminal device and the target computing server upon receiving information that the terminal device scans the graphic code of the set-top box;

[0164] Upon receiving a screen projection request for a screen projection resource sent by the terminal device through the second communication link, the screen projection resource is passed from the terminal device to the set-top box through the first communication link and the second communication link, so that the set-top box performs screen projection processing based on the screen projection resource.

[0165] When the computer program in the computer program product provided in one or more embodiments of the present application is executed by a processor, a first communication link and a second communication link are established to connect the terminal device and the set-top box based on a cloud-based management platform, and the screen projection resources of the terminal device can be projected through the set-top box through the first communication link and the second communication link. This process uniformly manages the screen projection operations of the terminal device based on the set-top box through the cloud-based management platform, realizes the cloudification of the screen projection service, reduces the memory and CPU pressure of the set-top box, and releases the restrictions imposed by the terminal device screen projection on the set-top box configuration, thereby improving the user experience of the set-top box and meeting the user's demand for value-added services of the set-top box.

[0166] It should be noted that the embodiment of the computer program product in this application and the embodiment of the screen projection method in this application are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the corresponding screen projection method mentioned above, and the repeated parts will not be repeated.

[0167] The foregoing description describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0168] In the 1990s, technological improvements could be clearly distinguished as either hardware improvements (for example, improvements to circuit structures such as diodes, transistors, and switches) or software improvements (improvements to process flows). However, with the advancement of technology, many process flow improvements today can now be considered direct improvements to hardware circuit structures. Designers almost always create the corresponding hardware circuit structure by programming the improved process flow into the hardware circuit. Therefore, it cannot be said that a process flow improvement cannot be implemented using hardware modules. For example, a programmable logic device (PLD), such as a field programmable gate array (FPGA), is an integrated circuit whose logical function is determined by user programming. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to hire a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly done using "logic compiler" software. This is similar to the software compiler used when developing programs. Before compilation, the original code must also be written in a specific programming language, called a hardware description language (HDL). There is not just one HDL, but many, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art will also understand that by simply programming the method flow in one of these hardware description languages ​​and then programming it into an integrated circuit, a hardware circuit that implements the logic method flow can be easily obtained.

[0169] The controller can be implemented in any suitable manner. For example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also know that in addition to implementing the controller in a purely computer-readable program code format, the controller can be implemented in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, such a controller can be considered a hardware component, and the devices included therein for implementing various functions can also be considered as structures within the hardware component. Or even, the devices for implementing various functions can be considered as both software modules that implement the method and structures within the hardware component.

[0170] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0171] For the convenience of description, the above devices are described as being divided into various units according to their functions. Of course, when implementing the embodiments of the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0172] Those skilled in the art will appreciate that one or more embodiments of the present application may be provided as a method, system, or computer program product. Therefore, one or more embodiments of the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0173] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0174] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0175] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0176] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0177] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0178] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0179] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0180] One or more embodiments of the present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0181] The various embodiments in this application are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiment is generally similar to the method embodiment, so the description is relatively simple. For relevant parts, refer to the partial description of the method embodiment.

[0182] The above are merely examples of the present invention and are not intended to limit the present invention. Persons skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be included within the scope of the claims of the present invention.

Claims

1. A screen projection method, characterized in that: Applied to cloud-based management platforms, including: Upon receiving a login request sent by the set-top box, establishing a first communication link between the set-top box and a target computing server in the management platform; sending, based on the first communication link, the first attribute parameter received from the set-top box to the target computing server, so that the target computing server processes the first attribute parameter to generate a graphic code, and sends the graphic code to the set-top box; establishing a second communication link between the terminal device and the target computing server upon receiving information that the terminal device scans the graphic code of the set-top box; Upon receiving a screen projection request for a screen projection resource sent by the terminal device through the second communication link, transmitting the screen projection resource from the terminal device to the set-top box through the first communication link and the second communication link, so that the set-top box performs screen projection processing based on the screen projection resource; The method further comprises: upon receiving a screen projection request for a screen projection resource sent by the terminal device through the second communication link, transmitting the screen projection resource from the terminal device to the set-top box through the first communication link and the second communication link, so that the set-top box performs screen projection processing based on the screen projection resource. Upon receiving a request for a screen projection resource sent by the terminal device through the second communication link, receiving a network link of the screen projection resource sent by the terminal device through the second communication link; The network link is sent to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the network link.

2. The method according to claim 1, characterized in that The management platform includes a plurality of computing servers, and upon receiving a login request sent by a set-top box, establishing a first communication link between the set-top box and a target computing server in the management platform includes: Upon receiving the login request, determining a target container based on the plurality of computing servers and status information of containers in the computing servers; A first communication link is established between the set-top box and a gateway of a computing server corresponding to the target container.

3. The method according to claim 2, characterized in that The step of determining a target container based on the plurality of computing servers and status information of containers in the computing servers upon receiving the login request includes: Upon receiving the login request, determining a target computing server from the plurality of computing servers based on status information of the plurality of computing servers; Determining a target computing node from the target computing server based on status information of each computing node in the target computing server; The target container is determined from the target computing node based on status information of each container in the target computing node.

4. The method according to claim 3, characterized in that The step of establishing a second communication link between the terminal device and the target computing server upon receiving information that the terminal device scans the graphic code of the set-top box comprises: Upon receiving information containing a token sent by the terminal device, a second communication link is established between the terminal device and the gateway corresponding to the target computing server based on the token. The terminal device obtains the token by scanning the graphic code of the set-top box, and the target computing server generates a graphic code based on user information containing the token.

5. The method according to claim 1, wherein The sending the network link to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the network link, includes: In a case where the network link is a link that the set-top box can directly access, sending the network link to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the network link; In the case that the network link is a link that the set-top box cannot directly access, the target computing server is used to convert the network link, and the converted network link is sent to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the converted network link.

6. A screen projection device, characterized in that: Applied to cloud-based management platforms, including: A first link establishment module is configured to establish a first communication link between the set-top box and a target computing server in the management platform when receiving a login request sent by the set-top box; a graphic code module, configured to send the first attribute parameter received from the set-top box to the target computing server based on the first communication link, so that the target computing server processes the first attribute parameter to generate a graphic code, and send the graphic code to the set-top box; a second link establishing module, configured to establish a second communication link between the terminal device and the target computing server upon receiving information that the terminal device scans the graphic code of the set-top box; a screen projection module, configured to, upon receiving a screen projection request for a screen projection resource sent by the terminal device through the second communication link, transmit the screen projection resource from the terminal device to the set-top box through the first communication link and the second communication link, so that the set-top box performs screen projection processing based on the screen projection resource; In the screen projection module, upon receiving a screen projection request for a screen projection resource sent by the terminal device through the second communication link, transmitting the screen projection resource from the terminal device to the set-top box through the first communication link and the second communication link, so that the set-top box performs screen projection processing based on the screen projection resource, including: Upon receiving a request for a screen projection resource sent by the terminal device through the second communication link, receiving a network link of the screen projection resource sent by the terminal device through the second communication link; The network link is sent to the set-top box through the first communication link, so that the set-top box projects the screen projection resource through the network link.

7. An electronic device, characterized in that: include: processor; as well as A memory arranged to store computer executable instructions, the executable instructions being configured to be executed by the processor, the executable instructions comprising instructions for performing the steps of the method according to any one of claims 1 to 5.

8. A storage medium, characterized in that: The storage medium is used to store computer-executable instructions, and the executable instructions enable a computer to execute the method according to any one of claims 1 to 5.

9. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 5 when executed by a processor.

Citation Information

Patent Citations

  • Screen projection method, device and system

    CN113242435A

  • Media stream playing method and device, and storage medium

    CN115150649A