Method and device for screen projection

Automatically matching and pulling up the player through negotiation between devices solves the problems of complex screen projection operations and limited high-definition functions in the existing technology, achieving a smoother screen projection experience and efficient user interaction.

WO2024222088A1PCT designated stage expired Publication Date: 2024-10-31HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/073847
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-28
Filing Date
2024-01-24
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

In the existing screen casting technology, video content manufacturers impose resolution restrictions on the video resources that can be cast to the screen, and usually only open the high-definition screen casting function to their own players, resulting in users needing to install and activate in advance a mobile phone player that matches the screen projection function. TV players are complex to operate and have low usability.

Method used

By negotiating between devices to determine the matching player, the TV player matched with the mobile phone player is automatically launched to achieve high-definition, double-speed, barrage and other screen casting experiences without the need for the user to manually open the corresponding player, simplifying the operation process. .

Benefits of technology

It improves the display fluency and user experience of screencasting, reduces the complexity of operations, improves the ease of use and success rate of screencasting functions, and provides richer screencasting functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024073847_31102024_PF_FP_ABST
    Figure CN2024073847_31102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a method and a device for screen projection, which relate to the technical field of terminals. A source device and a projected device (a target device) negotiate about screen projection information to improve the resolution and operability of the screen projection. The method comprises: determining a first player required to be used by a first device when a second device initiates a video projection, receiving a play instruction sent by the second device, and according to the play instruction, playing a projected video via the first player. The play instruction is sent due to its triggering by an operation acting on a projection control of a second player of the second device and is configured to instruct the first device to play the projected video via the first player; the first player is a player supported by the first device and matched with the second player for use.
Need to check novelty before this filing date? Find Prior Art

Description

Screen projection method and device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on April 28, 2023, with application number 202310491453.8 and application name “A Screen Projection Method and Device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a screen projection method and device. Background Art

[0003] Currently, screen mirroring has been widely used in users' daily lives. For example, users can install screen mirroring software on their mobile phones to project the content on their mobile phones (i.e., the source device) to other target devices (such as TVs) that support screen mirroring for display.

[0004] In some solutions, devices can perform screen mirroring based on the Digital Living Network Alliance (DLNA) protocol. For example, when a mobile phone is casting content to a large screen (such as a TV), the video content manufacturer provides an application that can be installed on the mobile phone. After the user selects the video they want to cast through the application on the mobile phone, the mobile phone interacts with the TV through the DLNA protocol, allowing the TV to obtain the video resource from the server and play the video.

[0005] Since most video content manufacturers limit the projection resolution of video resources that can be projected, the high-definition projection function provided by video content manufacturers is usually only open to their own players. This means that the video content manufacturer's player must be pre-installed and opened on the TV to achieve a high-definition video projection experience.

[0006] Summary of the Invention

[0007] The present application provides a screen projection method and device, which can dynamically adjust the parameters of the display data projected to the destination device according to the number of source devices, thereby improving the display smoothness and user experience during screen projection.

[0008] To achieve the above objectives, this application adopts the following technical solutions:

[0009] In the first aspect, the present application provides a screen projection method, which is applied to a first device or a component (such as a chip system) that supports the functions of the first device. The method includes: determining a first player that the first device needs to use when a second device initiates video projection, receiving a play instruction sent by the second device, and using the first player to play the projected video according to the play instruction. The play instruction is triggered by the operation of the projection control of the second player acting on the second device, and the play instruction is used to instruct the first device to use the first player to play the projected video; the first player is a player supported by the first device and matched with the second player.

[0010] The first device's player and the second device's player are used together, meaning the first device's player and the second device's player support the same screen projection data transmission protocol. Optionally, the first device's player and the second device's player are from the same manufacturer or different manufacturers.

[0011] Taking the first device as a TV and the second device as a mobile phone as an example, the mobile phone and the TV can determine through negotiation that the TV supports and the TV player (such as the first player) that matches the mobile phone player (such as the second player). In this way, after the TV receives the play instruction, it can automatically pull up the TV player according to the play instruction, and use the TV player to play the projected video. Since the TV player is automatically determined through negotiation and can be used with the mobile phone player, the TV player can provide high-definition, speed, barrage and other projection experiences. In addition, during the screen projection process, the user does not need to manually open the TV player on the TV that matches the mobile phone player in advance, which can reduce the user's operation complexity and improve the ease of use of the screen projection function.

[0012] In one possible design, the playback instruction includes at least one of the following information: source information of the projected video, network connection information of the second device, download address of the first player, identifier of the first player, and identifier of the second player.

[0013] In this way, after the TV receives the play command, it can automatically pull up the TV player according to one or more information carried in the play command, and use the TV player to play the projected video.

[0014] The information carried in the play instruction is not limited to the information listed above. Other possible information may also be carried in the play instruction to instruct the first device to use the first player to play the projected video. For example, if the play instruction includes information A, after the first device receives the play instruction, it can determine the first player to use for the first device to project the screen based on information A.

[0015] In one possible design, using the first player to play the projected video includes:

[0016] If the first device has the first player installed, the first player is launched and the projected video is played using the first player.

[0017] In this way, if the first device has the first player installed, the first device can automatically launch the first player according to the play instruction and play the projected video. This eliminates the need for the user to manually open the first player on the first device, reducing user operation complexity and improving human-computer interaction efficiency.

[0018] In one possible design, using the first player to play the projected video includes:

[0019] If the first player is not installed on the first device, download and install the first player according to the download address of the first player;

[0020] Pull up the first player and use the first player to play the projected video.

[0021] In this way, even if the first device does not have the first player installed, it can automatically download and install the first player according to the playback instruction after receiving the playback instruction, and use the first player to play the projected video, thereby increasing the success rate of the screen projection. At the same time, it can simplify the user's operations during screen projection and improve the usability of the screen projection solution.

[0022] In one possible design, the method further includes:

[0023] establishing a communication connection with the second device according to the playback instruction;

[0024] Through the communication connection, the screen projection control data sent by the second device is received; the screen projection control data includes at least one of the following data: barrage data, speed data, and clarity data.

[0025] In this way, through this communication connection, it is possible to connect the interactive channels of different end-side applications of video content manufacturers, for example, connecting the interactive channel between a mobile phone player (for example, the second player) and a TV player (for example, the first player) from the same manufacturer. In this way, the smart TV can provide users with a higher-definition screen casting viewing experience and more playable screen casting interaction methods such as bullet screen and speed adjustment through the TV player that matches the mobile phone player, making it easy to realize playback control.

[0026] Furthermore, this method does not require the first player on the first device to be pre-opened for use with the second player on the second device. Communication between the first player and the second player can be established to facilitate playback control. This method allows the second device to control playback on the first device while reducing user operation complexity, enhancing the screen mirroring experience.

[0027] In one possible design, the play instruction does not include the network connection information of the second device. In this case, the first device can initiate a search process to obtain the network connection information of the second device through the search process to establish a communication connection with the second device.

[0028] In this way, the first device can establish a communication connection with the second device in a variety of ways, thereby increasing the probability of successful connection, and then can transmit corresponding screen projection control data through the communication connection, providing richer screen projection functions.

[0029] In one possible design, determining the first player that the first device needs to use when the second device initiates video projection includes:

[0030] A discovery message is sent, where the discovery message includes information about players supported by the first device, and the information about players supported by the first device serves as input for the second device to determine the first player.

[0031] That is, the second device may determine the first player supported by the second device and matched with the second player of the second device based on the information of the player supported by the first device.

[0032] In one possible design, the information of the player supported by the first device as input for the second device to determine the first player includes:

[0033] receiving an inquiry message sent by the second device, wherein the inquiry message is used to inquire about a player supported by the first device and compatible with the second player;

[0034] determining the first player according to the inquiry message;

[0035] A response message is sent, where the response message includes information about the first player.

[0036] In other words, through negotiation between the first and second devices, the first device can determine which first player the second device supports and which matches the second player on the second device. Subsequently, upon receiving a play command, the first device can automatically launch and play the projected video using the negotiated first player, enhancing the projected video experience.

[0037] In one possible design, the player information includes at least one of the following information: an identifier of the player, a content manufacturer corresponding to the player, and functions supported by the player;

[0038] The functions supported by the player include at least one of the following: high definition, double speed, and bullet screen.

[0039] In this way, the first device and the second device can exchange information of the first player through the negotiation process to trigger the first device to automatically launch and use the first player to play the projected video.

[0040] In one possible design, the source information of the projected video includes at least one of the following information: a playback address of the projected video, a manufacturer providing the projected video;

[0041] And / or, the network connection information of the second device includes at least one of the following information: the address of the second player of the second device, and the port number of the second player.

[0042] In one possible design, the first player of the first device establishes a communication connection with the second player of the second device according to the playback instruction.

[0043] In this way, the first device can establish a communication connection with the second player based on the address of the second player of the second device, the port number of the second player and other information, thereby realizing encryption of data transmission, relaxation of clarity restrictions and improvement of playback control capabilities.

[0044] In one possible design, the playback instruction also includes membership information of the first player and / or barrage information.

[0045] In this way, the first device can determine the playback strategy based on membership information, such as providing an ad-free screen projection experience.

[0046] In one possible design, the playback instruction includes a first field, which is used to indicate at least one of the following information: source information of the projected video, network connection information of the second device, download address of the first player, identifier of the first player, and identifier of the second player.

[0047] Optionally, the first field may be a newly added field in the play instruction, or a reserved field.

[0048] Optionally, the first field may be one or more, for example, one field indicates the above-mentioned multiple information, or each field in the multiple fields indicates different information.

[0049] In this way, after receiving the play instruction, the first device can parse the corresponding fields carried in the play instruction, and according to the instructions of the corresponding fields, automatically pull up and use the first player to play the projected video, thereby improving the projection experience.

[0050] In one possible design, the discovery message includes a broadcast message, and the discovery message includes a Simple Device Discovery Protocol (SSDP) message.

[0051] In this way, through broadcast messages, the first device can broadcast the information of the player it supports to peripheral devices, so that the peripheral devices can know the information of the player supported by the first device. The peripheral devices can send a play instruction to the first device accordingly to trigger the first device to automatically pull up the corresponding player it supports and play the projected video.

[0052] In one possible design, the playback instruction includes an instruction based on the Simple Object Access Protocol (SOAP), and / or the communication connection includes a Transmission Control Protocol (TCP) connection.

[0053] Optionally, the communication connection established between the first device and the second device can be a communication connection based on a private protocol. The private protocol can be a screen projection data transmission protocol customized according to the standards of the content manufacturer of the projected video. In this way, by establishing a communication connection between the first player and the second player of the content manufacturer through the private protocol of the content manufacturer, it is possible to achieve encryption of data transmission, relaxation of clarity restrictions and improvement of broadcast control capabilities, providing richer screen projection operations.

[0054] In a second aspect, a screen projection method is provided, which is applied to a second device or a component (such as a chip system) that supports the function of the second device, and the method includes:

[0055] Determine a first player that the first device needs to use when the second device initiates video screen projection; the first player is a player supported by the first device and compatible with the second player;

[0056] receiving a screen casting operation on the second player;

[0057] Send a play instruction, where the play instruction is used to instruct the first device to use the first player to play the projected video.

[0058] Compared with the related art in which the first device pulls up a default player when casting the screen, in the method of the present application, during the casting discovery phase, the first device negotiates with the second device to determine the first player supported by the first device and matched with the second player of the second device. In this way, after the first device receives the play instruction, it can automatically pull up the negotiated and determined first player according to the play instruction. Since the first player pulled up by the first device is used in conjunction with the second player, the first device can provide a high-definition and other feature-rich casting experience through the first player. In addition, the first device does not need to install and start the first player in advance, which can simplify the user's operation and improve the efficiency of casting.

[0059] In a possible design, before sending the play instruction, the following is also included:

[0060] Displaying a first interface, where the first interface includes a first screen projection control of the first player;

[0061] Send playback instructions, including:

[0062] In response to an operation on the first projection control, the play instruction is sent.

[0063] After negotiating and determining that the first device supports the first player and matches the second player of the second device, the second device (such as a mobile phone) can prompt the user to operate the screen projection control by displaying the first player to trigger the first device to automatically pull up the first player.

[0064] In one possible design, the first interface further includes a second screen projection control of a third player, the third player is a player not supported by the first device, and / or the third player is not a player compatible with the second player;

[0065] The user interface UI effect of the first screen projection control is different from the UI effect of the second screen projection control.

[0066] In this way, by presenting the screen projection controls of the player supported by the first device to the user in a prominent UI style, the user can be prompted to click to select the player supported by the first device, thereby triggering the first device to automatically launch the player supported by the first device for playback.

[0067] In one possible design, the method further includes:

[0068] Screen projection control data is sent through the communication connection with the first device; the screen projection control data includes at least one of the following data: barrage data, speed data, and clarity data.

[0069] In this way, based on the communication connection, the screen projection data can be transmitted to achieve playback and control synchronization, that is, the second device can control the playback of the screen projection process of the first device through the communication connection.

[0070] In one possible design, determining the first player that the first device needs to use when the second device initiates video screen projection includes:

[0071] receiving a discovery message sent by the first device, where the discovery message includes information about players supported by the first device;

[0072] From the players supported by the first device, it is determined that the player that matches the second player is the first player.

[0073] In one possible design, determining the first player that the first device needs to use when the second device initiates video screen projection includes:

[0074] Sending an inquiry message, where the inquiry message is used to inquire about a player supported by the first device and compatible with the second player;

[0075] A response message sent by the first device is received, where the response message is used to instruct the first player.

[0076] In one possible design, the playback instruction includes at least one of the following information: source information of the projected video, network connection information of the second device, download address of the first player, identifier of the first player, and identifier of the second player.

[0077] In one possible design, the source information of the projected video includes at least one of the following information: the source type of the projected video, the playback address of the projected video, and the manufacturer providing the projected video;

[0078] In one possible design, the network connection information of the second device includes at least one of the following information: the address of the second player of the second device and the port number of the second player.

[0079] In one possible design, the discovery message includes a broadcast message, and the discovery message includes a Simple Device Discovery Protocol (SSDP) message.

[0080] In one possible design, the playback instruction includes an instruction based on the Simple Object Access Protocol (SOAP), and / or the communication connection includes a Transmission Control Protocol (TCP) connection.

[0081] According to a third aspect, a device is provided, which is a destination device for screen projection, and the destination device includes: a display screen, one or more processors, one or more memories, and one or more programs; wherein the processor is coupled to the display screen and the memory, and the one or more programs are stored in the memory. When the destination device is running, the processor executes the one or more programs stored in the memory, so that the destination device executes the screen projection method described in any one of the first aspect and possible implementation methods therein.

[0082] In a fourth aspect, a device is provided, which is a source device for screen projection, and the source device includes: a display screen, one or more processors, one or more memories, and one or more programs; wherein the processor is coupled to the display screen and the memory, and the above-mentioned one or more programs are stored in the memory. When the source device is running, the processor executes the one or more programs stored in the memory, so that the source device executes the screen projection method described in any one of the above-mentioned second aspect and possible implementation methods therein.

[0083] In a fifth aspect, a device is provided, the device having the functionality to implement the method described in any of the above aspects and any possible implementation thereof. The functionality can be implemented via hardware, or via hardware executing corresponding software implementations. The hardware or software includes one or more modules corresponding to the above functionality.

[0084] In a sixth aspect, a readable storage medium is provided, comprising instructions, which, when executed on a device, enable the device to execute a screen projection method as described in any one of the first to second aspects and possible implementations thereof.

[0085] In a seventh aspect, a program product is provided, which, when executed on a device, enables the device to execute a screen projection method as described in any one of the first to second aspects and possible implementations thereof.

[0086] In an eighth aspect, a chip system is provided, comprising at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor. When the at least one processor executes the instructions, the at least one processor executes a method of any aspect or any embodiment of any aspect.

[0087] In a ninth aspect, a system is provided, comprising a first device and a second device according to any of the above aspects or any implementation scheme of any aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0088] FIG1A and FIG1B are exemplary diagrams of a screen projection method provided in an embodiment of the present application;

[0089] FIG1C and FIG1D are scene diagrams of the screen projection method provided in an embodiment of the present application;

[0090] FIG2A is an architecture diagram of a screen projection system provided in an embodiment of the present application;

[0091] FIG2B is a structural diagram of a device / apparatus provided in an embodiment of the present application;

[0092] FIG3 is an interactive diagram of a screen projection method provided in an embodiment of the present application;

[0093] FIG4 is a structural diagram of a device / apparatus provided in an embodiment of the present application;

[0094] FIG5 is a schematic diagram of a scenario of a screen projection method provided in an embodiment of the present application;

[0095] FIG6 is a schematic diagram of an interface of a screen projection method provided in an embodiment of the present application;

[0096] Figures 7 and 8 are schematic diagrams of scenarios of the screen projection method provided in an embodiment of the present application;

[0097] FIG9 is an interactive diagram of a screen projection method provided in an embodiment of the present application;

[0098] FIG10 is a schematic diagram of a scenario of a screen projection method provided in an embodiment of the present application;

[0099] FIG11 is an interactive diagram of a screen projection method provided in an embodiment of the present application;

[0100] FIG12 is a schematic diagram of the structure of the device provided in an embodiment of the present application;

[0101] FIG13 is a schematic structural diagram of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0102] First, the relevant technical terms involved in the embodiments of this application are introduced:

[0103] 1. Simple Service Discovery Protocol (SSDP)

[0104] The process of implementing screen projection based on DLNA includes the device discovery process and the device connection process. As a protocol that can be used in the device discovery process, in SSDP, device A can notify peripheral devices that it has come online through a notification broadcast message. In SSDP, after receiving the notification broadcast message, the peripheral device queries the device description document (DDD) from device A to learn the name of device A and the control instructions supported by device A. In this way, the peripheral device can discover device A and establish a connection with it.

[0105] 2. Simple Object Access Protocol (SOAP)

[0106] After discovering the device, a connection can be established between them. For example, in a screen casting scenario, a mobile phone discovers a TV. Then, in response to the user's screen casting operation on the phone, the phone can send a SOAP-based play command to the TV, instructing the TV to play the casted video. In this way, the user can cast the video on the phone to the TV for playback.

[0107] Currently, the industry provides the following related technologies to achieve screen projection.

[0108] Related Technology 1: As shown in Figure 1A, the screen projection system includes a mobile phone and a TV. The mobile phone has a player installed. The TV includes a screen projection scheduling service, a third-party application screen projection service (such as the DLNA service of application package A), and a manufacturer's screen projection service.

[0109] The player in the phone adds the Prefer parameter to the end of the SSDP request message sent to the TV. This parameter specifies the recipient of the SSDP request message. After receiving the SSDP request message, the TV's screen casting scheduling service determines whether application package A indicated by the Prefer parameter exists locally. If application package A indicated by the Prefer parameter exists locally, the SSDP request message is sent to the DLNA service of application package A for processing. If application package A does not exist locally, the SSDP request message is passed to the system's default DLNA service for processing.

[0110] This method requires that the DLNA service of a third-party application (such as the DLNA service of application package A) has been installed and started in advance to achieve screen projection. Usually, users need to manually install and start the DLNA service of the third-party application, which is highly complex and inefficient.

[0111] Figure 1B shows the implementation method of technology 2. Taking projecting a video on a mobile phone to a TV for playback as an example, the mobile phone's player no longer directly controls the TV for screen projection, but instead transmits the content source of the projected video to the DLNA proxy service. The DLNA proxy service replaces the mobile phone in transmitting content data to the TV, projects the screen, and transmits control commands and playback status.

[0112] In this method, the TV needs to start the private protocol service in advance to realize the normal screen projection function.

[0113] At present, video content manufacturers can provide high-definition, barrage, speed and other screen projection functions, but such functions are usually only open to the manufacturer's own players. In other words, only when the manufacturer's players are installed on both the mobile phone and the TV, can the high-definition, barrage, speed and other screen projection experiences be achieved during the screen projection process. Specifically, during the screen projection process, the user uses the mobile player A1 of manufacturer A on the mobile phone and clicks the screen projection button, and the user needs to manually start the player A2 (TV player provided by manufacturer A) on the TV, which is used in conjunction with the mobile player A1, in order to play the high-definition, barrage, and speed-projected video through the TV player A2. It can be seen that during the screen projection process, the user's operation complexity is high and the ease of use of screen projection is not high.

[0114] As shown in FIG1C (b), the user manually starts the player zzTV on the TV, and the TV displays the player zzTV interface 103. The TV can broadcast the news that the player zzTV is online, so that other devices can search for the online player zzTV.

[0115] As shown in FIG1C (a), the mobile phone displays a screen casting interface 101. Screen casting interface 101 includes tabs of available players that have been searched and launched, such as tab 102 of the player zzTV that has been launched on the TV. Here, the launched player can be a player that has been launched and displayed in the foreground, or it can be a player that has been launched but has not yet displayed in the foreground.

[0116] In some examples, when the TV has already opened the player zzTV in advance, as shown in (a) of Figure 1C, in response to the user clicking the tab 102, the mobile phone can instruct the TV to play the projected video. According to the instructions of the mobile phone, the TV plays the high-definition projected video through the opened player zzTV, and can provide functions such as barrage and speed increase.

[0117] In some examples, when the TV does not open the player zzTV in advance, as shown in (a) of Figure 1D, in response to the user clicking the tab 102, the mobile phone may instruct the TV to play the projected video. According to the instructions of the mobile phone, the TV pulls up the system default player to play the projected video. In some cases, the system default player pulled up by the TV is not compatible with the projected video, resulting in the failure of the projection. As shown in (b) of Figure 1D, the prompt message "Projection failed" may be displayed in the interface 104 of the TV to prompt the user that the projection has failed. Or, in some cases, the system default player pulled up by the TV is not the player used with the mobile phone, resulting in the inability to provide a high-definition, barrage, and double-speed video projection experience.

[0118] As can be seen, during the screen casting process, the TV needs to install and start the player that is used with the mobile phone player in advance. Only then can the high-definition screen casting video be played through the player and realize screen casting functions such as double speed and barrage. In addition, before each screen casting, the user needs to manually start the corresponding player on the TV, which is cumbersome and inefficient. If the TV does not install and start the corresponding player in advance, screen casting may fail.

[0119] To solve the above technical problems, the present application provides a screen projection method. The following will describe the implementation of this embodiment in detail with reference to the accompanying drawings.

[0120] A screen projection method provided in an embodiment of the present application can be applied to a device group 200 shown in Figure 2A. The devices 100 in the device group 200 can communicate with each other through a local area network (LAN) or a wide area network (WAN).

[0121] For example, a user's mobile phone, tablet computer, desktop computer, smart watch and laptop computer can be regarded as device group 200. When the user uses the same account to log in to the mobile phone, tablet computer, desktop computer, smart watch and laptop computer, the mobile phone, tablet computer, desktop computer and laptop computer can communicate with each other through the wide area network.

[0122] For example, a user's mobile phone, tablet computer, desktop computer, smart watch, and laptop computer can be connected to the same router. In this case, the mobile phone, tablet computer, desktop computer, smart watch, and laptop computer can form a local area network, and the various devices in the local area network can communicate with each other through the router.

[0123] For another example, devices 100 may also form a peer-to-peer network (also referred to as a P2P network) through wireless communication (e.g., Bluetooth, Wi-Fi, or ZigBee networks). For example, a user may add a mobile phone, tablet computer, smart speaker, and laptop computer to a Wi-Fi network named "1234." The devices 100 within this Wi-Fi network form a P2P network, and all devices within this P2P network are members of the device group 200.

[0124] Of course, the devices 100 in the device group 200 may also be interconnected via a cellular network, or the devices 100 may be interconnected via a switching device (e.g., a USB data cable or a Dock device), thereby achieving communication between the devices 100 in the device group 200. Alternatively, some devices in the device group 200 may be connected in a certain manner, while other devices may be connected in another manner. In other words, different devices in the device group 200 may be connected in different manners, and this embodiment of the present application does not impose any limitation on this.

[0125] In the embodiments of the present application, one or more devices 100 in device group 200 can serve as source devices, and one or more devices 100 in device group 200 can serve as destination devices. A source device can project its content to a destination device for display. For example, using a mobile phone as the source device and a television as the destination device, a user can project a video from their mobile phone to the television for playback.

[0126] In some embodiments, the specific structures of the various devices in the device group 200 may be the same or different.

[0127] For example, the above-mentioned devices can specifically be mobile phones, tablet computers, smart TVs, wearable devices, car computers, laptops, ultra-mobile personal computers (UMPCs), handheld computers, netbooks, personal digital assistants (PDAs), virtual reality devices, etc., and the embodiments of the present application do not impose any restrictions on this.

[0128] For example, FIG2B shows a schematic structural diagram of a device.

[0129] Among them, the device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, a camera 193, a display screen 194, etc.

[0130] It is understood that the structures illustrated in the embodiments of the present invention do not constitute specific limitations on the device. In other embodiments of the present application, the device may include more or fewer components than shown, or combine or separate certain components, or arrange the components differently. The components shown in the diagram may be implemented in hardware, software, or a combination of software and hardware.

[0131] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0132] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0133] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0134] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the device's wireless charging coil. While charging the battery 142, the charging management module 140 can also provide power to the device via the power management module 141.

[0135] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0136] The wireless communication function of the device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.

[0137] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0138] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied on the device. The mobile communication module 150 may include one or more filters, switches, power amplifiers, low noise amplifiers (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0139] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0140] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. applied on the device. The wireless communication module 160 can be one or more devices integrating one or more communication processing modules. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0141] In some embodiments, antenna 1 of the device is coupled to mobile communication module 150 , and antenna 2 is coupled to wireless communication module 160 , so that the device can communicate with the network and other devices through wireless communication technology.

[0142] The device implements display functionality through a GPU, display screen 194, and an application processor. The GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0143] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the device may include 1 or N display screens 194, where N is a positive integer greater than 1. The device can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor. The ISP is used to process data fed back by the camera 193. The camera 193 is used to capture still images or videos. In some embodiments, the device may include 1 or N cameras 193, where N is a positive integer greater than 1. The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. The video codec is used to compress or decompress digital videos. The device may support one or more video codecs. In this way, the device can play or record videos in multiple encoding formats.

[0144] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement data storage.

[0145] The internal memory 121 can be used to store one or more programs, which include instructions. The processor 110 can enable the device to execute the screen projection method provided in some embodiments of the present application, as well as various functional applications and data processing, by running the above-mentioned instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system; the program storage area can also store one or more applications (such as a gallery, contacts, etc.). The data storage area can store data created during the use of the device (such as photos, contacts, etc.). In addition, the internal memory 121 may include a high-speed random access memory and may also include a non-volatile memory. In other embodiments, the processor 110 enables the device to execute the screen projection method provided in the embodiments of the present application, as well as various functional applications and data processing, by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.

[0146] The device can implement audio functions through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor. The audio module 170 is used to convert digital audio information into analog audio signal output and also to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. The speaker 170A, also known as a "speaker," is used to convert audio electrical signals into sound signals. The receiver 170B, also known as a "handset," is used to convert audio electrical signals into sound signals. The microphone 170C, also known as a "microphone," is used to convert sound signals into electrical signals. The headphone jack 170D is used to connect wired headphones. The sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an accelerometer, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like. The touch sensor can be located on the display screen, and the touch sensor and display screen form a touch screen, also known as a "touch screen." In addition, the above-mentioned device may also include one or more components such as buttons, motors, indicators, and SIM card interfaces, and the embodiments of the present application do not impose any restrictions on this.

[0147] The following will describe in detail a screen projection method provided by an embodiment of the present application with reference to the accompanying drawings.

[0148] As shown in FIG3 , taking the destination device for screen projection as a smart TV (e.g., a first device), the source device as a mobile phone (e.g., a second device), and the projected content as video A as an example, a screen projection method provided in an embodiment of the present application includes:

[0149] S101. The smart TV sends information about TV players supported by the smart TV to the mobile phone.

[0150] Optionally, the player information includes, but is not limited to, at least one of the following: player identification, player type, and supported player functions. Optionally, the supported player functions include, but are not limited to, at least one of the following: high definition, speed, and bullet screen. Optionally, high definition can be Blu-ray or 1080P resolution, or other levels or grades of video resolution.

[0151] In the embodiments of the present application, a mobile phone is installed with an application that can realize the screen projection function. The application may include corresponding functional modules for executing the corresponding method of the embodiments of the present application. Taking Figure 4 as an example, the mobile phone is installed with a video application. The video application may include a device discovery module 401, a device connection module 402, and a display module 407.

[0152] Optionally, a screen casting service and a player are installed in the smart TV. The screen casting service and the player may include corresponding functional modules for executing the method corresponding to the embodiment of the present application. Still taking Figure 4 as an example, the screen casting service of the smart TV includes a screen casting service module 403 and a player management module 404. The player of the smart TV includes a device reconnection module 405 and a video playback module 406. As follows, the functions of each functional module in the mobile phone and the smart TV are introduced in combination with the method flow.

[0153] As a possible implementation, the server is pre-configured with a list of players, and the smart TV can obtain the list from the server and use the players in the list as information about players supported by the smart TV. The smart TV's screen casting service module 403 can read the information about players supported by the smart TV through the interface of the player management module 404.

[0154] As a possible implementation, the mobile phone and the smart TV perform device discovery based on the SSDP protocol. During the device discovery process, as shown in Figure 4, the smart TV sends a discovery message to the mobile phone via the screen casting service module 403. Optionally, the discovery message is an SSDP message, which includes information about the players supported by the smart TV. Optionally, the SSDP message may also include the smart TV's identifier and the smart TV's manufacturer information.

[0155] Optionally, the SSDP message includes but is not limited to at least one of the following messages: a notification message and a message carrying a device description document.

[0156] Optionally, the smart TV may add a field in the SSDP message and indicate the information of the players supported by the smart TV through the newly added field. Alternatively, the smart TV may indicate the information of the players supported by the smart TV through a reserved field in the SSDP message.

[0157] For example, some fields in SSDP are as follows:

[0158] <manufacturer>xxxVision < / manufacturer>

[0159] <castservice> 13,xy < / castservice>

[0160] Among them, xxxVision represents smart TV, and 13,xy represents the player supported by the smart TV.

[0161] As a possible implementation, the smart TV can start the system's screen casting service when it is turned on. The screen casting service obtains information about the players supported by the smart TV through the above method. When the device is discovered, the smart TV's screen casting service module 403 encapsulates the pre-read information about the players supported by the smart TV into an SSDP message and sends the SSDP message to the player on the mobile phone.

[0162] Alternatively, as another possible implementation, as shown in FIG5 , the smart TV can read the information of the players supported by the smart TV through the screen casting service when the device is discovered, and carry the information of the players supported by the smart TV through the discovery message. The embodiment of the present application does not limit the timing or method of reading the information of the players supported by the smart TV.

[0163] As a possible implementation, the smart TV may periodically send SSDP packets so that surrounding devices can quickly obtain information about players supported by the smart TV.

[0164] Alternatively, as another possible implementation, other devices actively send device search messages, and after receiving the device search messages, the smart TV sends SSDP packets. For example, the smart TV can broadcast SSDP packets that carry information about the TV players xxTV and yyTV supported by the smart TV.

[0165] Optionally, the device search message is a broadcast message or a multicast message. Exemplarily, the device search message is an m-search message in SSDP.

[0166] S102. The mobile phone receives the user's operation on the screen casting button of the mobile phone player.

[0167] In some scenarios, users can use the player installed on their mobile phone to project videos on a smart TV for playback. For example, while a mobile phone is playing video A through the display module 407 of player A, the user clicks the cast button 501 on the interface shown in FIG6 .

[0168] In some embodiments, the screen projection button is also a way to implement the screen projection control.

[0169] The embodiment of the present application does not limit the execution order of S101 and S102.

[0170] S103. The mobile phone determines that the smart TV supports and matches the TV player xxTV used with the mobile phone player.

[0171] The phone's player and the TV's player must be compatible, meaning they must support the same projection data transmission protocol. Optionally, the phone's player and the TV's player can be from the same manufacturer or different manufacturers.

[0172] As shown in Figure 6, in response to the user clicking the screen casting button 501, the mobile phone as the source device can broadcast a search message to search for available target devices in the surrounding area. After receiving the search message, the smart TV can broadcast an SSDP message, which carries the information of the TV players xxTV and yyTV supported by the smart TV. After the mobile phone receives the SSDP message from the smart TV, it can determine whether there is a TV player for use with mobile phone player A among the TV players supported by the smart TV based on the information of the TV players xxTV and yyTV carried in the SSDP message. The mobile phone determines that the TV player xxTV supported by the smart TV is a TV player for use with mobile phone player A, which means that the smart TV can pull up and provide high-definition, double-speed, and barrage screen casting functions through the TV player xxTV used in conjunction with mobile phone player A. In this case, the mobile phone sets the TV player xxTV as the preferred player.

[0173] Optionally, the preferred player can be the original player of the smart TV system, or a player provided by a third party. The embodiment of the present application does not limit the type of the preferred player.

[0174] S104. The mobile phone displays a tab of the TV player xxTV.

[0175] After the mobile phone determines that the smart TV supports and matches the TV player xxTV used with the mobile phone player, the mobile phone can display the tab sheet of the TV player xxTV on the screen according to the display rules to prompt the user to click the tab sheet of the player xxTV.

[0176] In some embodiments, according to the display rules, the mobile phone displays the tabs of the player xxTV and the tabs of other players in different areas of the screen. For example, as shown in Figure 7 (b), the smart TV broadcasts the information of the players xxTV and yyTV supported by the smart TV. As shown in Figure 7 (a), after the mobile phone receives the information of the players xxTV and yyTV, it can be determined that the player supported by the smart TV and matched with the mobile phone player is the player xxTV. The mobile phone can display the tab 701a of the player xxTV (for example, the screen casting control of the first player) in area 701 of the screen. For another example, as shown in Figure 7 (a), the mobile phone can also display the tabs of other players searched (such as the tabs of the player zzTV) in area 702 of the screen. The other players are players that are not supported by the smart TV. In this way, by arranging and displaying the tabs of the players supported by the smart TV in the upper area of ​​the screen, it can attract the user's attention and increase the probability of the user clicking on the tab of the player supported by the smart TV, so as to trigger the smart TV to automatically pull up the player supported by the smart TV for playback, thereby achieving an efficient and convenient screen casting experience.

[0177] Alternatively, in some embodiments, according to display rules, the mobile phone displays the tabs for the player xxTV and other players in different user interface (UI) effects. For example, as shown in FIG7 (a), the mobile phone can use a dark background to display the tab xxTV for the player supported by the smart TV, and use a light background to display the tabs for the players not supported by the smart TV. In this way, by presenting the tabs for the players supported by the smart TV to the user in a prominent UI style, the user can be prompted to click to select a player supported by the smart TV, thereby triggering the smart TV to automatically launch the player supported by the smart TV for playback.

[0178] In this method, the user does not need to open the TV player that matches the mobile phone player on the smart TV in advance. The mobile phone can determine the TV player supported by the smart TV and matched with the mobile phone player based on the interactive negotiation between the mobile phone and the smart TV, and display the tab of the TV player to prompt the user to click the tab, triggering the smart TV to automatically pull up the TV player and play the cast video, thereby improving the screen casting experience.

[0179] The above example uses xxTV as the player supported by the smart TV. It should be noted that the smart TV may support one or more players, and this embodiment of the application does not limit this. When the smart TV supports multiple or multiple players, the mobile phone can use the player that is used in conjunction with the mobile phone player among the multiple or multiple players as the preferred player. The mobile phone can highlight the tab of the preferred player according to the display rules to increase the probability of the user clicking on the tab of the preferred player, thereby triggering the smart TV to automatically pull up the preferred player and provide high-definition, double-speed, and bullet screen projection functions.

[0180] S105: The mobile phone receives an operation on the tab of the TV player xxTV.

[0181] For example, as shown in FIG7 (a), the mobile phone receives a user's click operation on the tab 701a of the player xxTV, which is used to instruct the TV player xxTV to play the cast video.

[0182] Alternatively, other methods may be used to indicate that the cast video is played through the TV player xxTV, such as the user inputting a voice message "open xxTV" to indicate that the user has selected the player xxTV. The embodiment of the present application does not limit the method in which the user selects the player.

[0183] S106 . In response to the user's operation on the tab of the player xxTV, the mobile phone sends a play instruction to the smart TV.

[0184] The play command can be used to instruct or request the smart TV to play the cast video via the player xxTV. The play command can explicitly or implicitly instruct the player xxTV. The play command can also be called a start request, a cast play command, a cast start request, a cast play request, a cast play command, or a cast command.

[0185] For example, as shown in (a) of FIG8 , in response to the user clicking on the tab 701a of the player xxTV (eg, a screen casting operation), the mobile phone sends a play instruction to instruct the smart TV to play the cast video.

[0186] As one possible implementation, the device connection module 402 in the mobile phone's player can obtain information about players supported by the smart TV from the device discovery module 401. After the user clicks the tab 701a for the player xxTV, as shown in FIG8(a), the mobile phone's device connection module 402 can determine that the player xxTV is supported by the smart TV based on the information obtained from the device discovery module 401. The mobile phone's device connection module 402 then sends a play command to the smart TV.

[0187] Optionally, the playback instruction may include at least one of the following information: source information of the projected video, network connection information of the mobile phone, identification information of the mobile phone player, identification information of the TV player used with the mobile phone player, and download address of the TV player used with the mobile phone player. The source information of the projected video includes but is not limited to: the source type of the projected video, the playback address of the projected video, and the manufacturer of the projected video. The network connection information of the mobile phone includes but is not limited to: the IP address of the mobile phone player and the port number of the mobile phone player.

[0188] For example, taking the example of a user projecting a video from a mobile phone to a smart TV for playback, the projected video is video A in the mobile phone, and the playback instruction can carry the uniform resource locator (URL) address of video A, the IP address of the mobile phone, and information about the content provider of video A (such as manufacturer A).

[0189] Optionally, the mobile phone sending the play instruction may be implemented as follows: the mobile phone sends the play instruction to the smart TV via a SOAP protocol.

[0190] Alternatively, the phone can add a field to the play command to indicate the source information of the projected video and the phone's address. Alternatively, the smart TV can use a reserved field in the play command to indicate the source information of the projected video and the phone's address.

[0191] Optionally, the playback instruction may also include at least one of the following information: player membership, barrage information.

[0192] For example, some fields in the play instruction are as follows:

[0193] <sourceid> xxxxx < / sourceid>

[0194] <extenddata> xyyy< / extenddata>

[0195] Among them, xxxxx represents the address of the source device mobile phone, and xyyy represents the player's membership or barrage information and other extended information.

[0196] As a possible implementation, S104 and S105 are optional steps. For example, in some examples, after the mobile phone detects that a user clicks the screen casting button 501 (e.g., a screen casting operation) such as that shown in FIG8(a), the mobile phone determines, based on the SSDP message from the smart TV, that the smart TV supports a TV player xxTV that matches the mobile phone player, and sends a play instruction to instruct the smart TV to play the cast video through the TV player xxTV.

[0197] S107. The smart TV uses the TV player xxTV to play the projected video according to the playback instruction.

[0198] As a possible implementation method, after the screen casting service of the smart TV receives the playback instruction through the screen casting service module 403, the player management module 404 can determine the player for screen casting playback on the smart TV according to the playback instruction.

[0199] For example, if the play instruction contains the identifier of content provider A, then after receiving the play instruction, the smart TV can determine to use the TV player xxTV of content provider A to play the projected video on the smart TV based on the identifier of content provider A in the play instruction. This type of instruction is called implicit instruction.

[0200] For example, if the TV player xxTV is identified in the play instruction, the smart TV can determine to use the TV player xxTV to play the projected video on the smart TV based on the TV player xxTV identification in the play instruction. This type of instruction is called an explicit instruction method.

[0201] For example, if the mobile phone player identifier is included in the play instruction, the smart TV can determine to use the TV player xxTV that matches the mobile phone player to play the projected video on the smart TV based on the mobile phone player identifier in the play instruction. This type of instruction is called implicit instruction.

[0202] Afterwards, the player management module 404 of the smart TV can determine whether the player xxTV that the user wants to use to play the cast video A has been installed locally, and perform the following different operations based on whether the player xxTV has been installed locally.

[0203] In some examples, if the smart TV has the player xxTV installed locally, the player management module 404 can directly launch the player xxTV. The player management module 404 can also forward a play instruction to the player xxTV, and the video playback module 406 of the player xxTV plays the casted video A according to the play instruction. For example, the player xxTV obtains the resource of video A based on the playback address of the casted video A and plays it. Figure 8(b) shows the screen of the casted video being played on the smart TV.

[0204] In other examples, if the smart TV does not have the player xxTV installed locally, the player management module 404 downloads and installs the player xxTV from the corresponding download address. After the installation is complete, the player management module 404 sends a play instruction to the player xxTV, and the player xxTV downloads and plays the projected video A according to the play instruction.

[0205] Optionally, if the play instruction carries the download address of the player xxTV, the player management module 404 can download the player xxTV from the corresponding download address according to the play instruction. Alternatively, the player management module 404 can independently obtain the corresponding download address via the Internet. This embodiment of the application does not limit the method for obtaining the download address.

[0206] For application manufacturers, since the smart TV has automatically launched the TV player xxTV that is used in conjunction with the mobile phone player, the application manufacturers have opened up functions such as video resolution in this screen casting. In other words, the smart TV can provide a high-definition, multi-speed, and bullet-screen casting experience through the player xxTV.

[0207] This method improves upon the playback instructions used in related technologies. By including the source information of the projected video in the playback instruction, the mobile phone can trigger the smart TV to automatically launch the xxTV player, which is used in conjunction with the mobile phone's player. This player then provides a high-definition, multi-speed, and bullet-screen projection experience. This process eliminates the need for users to manually launch the corresponding player on the smart TV, simplifying operations and improving the interactive experience and efficiency of the projection process.

[0208] Optionally, the method may further include the following steps S108 and S109:

[0209] S108: The smart TV establishes a communication connection with the mobile phone according to the playback instruction.

[0210] As one possible implementation, after receiving the play command, the smart TV can establish a communication link with the mobile phone based on the mobile phone's network connection information carried in the play command. For example, the smart TV's device reconnection module 405 establishes a connection with the mobile phone's player based on the mobile phone's player IP address and port number carried in the play command.

[0211] Optionally, the communication connection established between the smart TV and the mobile phone can be based on a proprietary protocol. This proprietary protocol can be a screen projection data transmission protocol customized according to the standards of the content manufacturer of the projected video. In this way, establishing a communication connection between the content manufacturer's mobile player and the TV player through the content manufacturer's proprietary protocol can achieve data encryption, remove clarity restrictions, and improve playback control capabilities.

[0212] For example, the communication connection may be a connection based on the Transmission Control Protocol (TCP) provided by the content manufacturer. In the embodiment of the present application, the process of establishing a communication connection between the smart TV and the mobile phone may be referred to as a link back connection (abbreviated as back connection) process.

[0213] In other embodiments, the play instruction does not include the network connection information of the mobile phone. In this case, the smart TV can initiate a search process to obtain the network connection information of the mobile phone through the search process to establish a communication connection with the mobile phone.

[0214] S109. The mobile phone receives the user's control instruction A and transmits the screen projection control data related to the control instruction A through the communication connection.

[0215] After the smart TV and the mobile phone are successfully connected, they can interact through the connection link so that the mobile phone can control the playback of the projected video played on the smart TV.

[0216] For example, a user enters control command A through a mobile player to switch the definition of the projected video. The mobile phone sends control command A to the smart TV via the backlink, and the smart TV switches the definition of the projected video according to control command A.

[0217] For example, a user inputs a bullet comment through a mobile player. The mobile phone sends the bullet comment information to the smart TV through the backlink, and the smart TV displays the bullet comment while playing the projected video.

[0218] For example, the user enters a speed playback instruction A through the mobile player, which is used to instruct the playback speed of the projected video to switch. The mobile phone sends the speed playback instruction to the smart TV through the backlink to instruct the smart TV to switch the playback speed of the projected video.

[0219] This method, through link backlinking, connects the interactive channels between different end-side applications of video content manufacturers. For example, it connects the interactive channel between a mobile player and a compatible TV player from the same manufacturer. This allows smart TVs to provide users with a higher-definition screencast viewing experience and more engaging screencasting interactions, such as bullet screen comments and speed-up, through the TV player that matches the mobile player, making playback control easier.

[0220] Furthermore, this method doesn't require the smart TV to have a compatible TV player running on it, and it can also connect the TV player to the compatible mobile player for playback control. This method can significantly reduce user operational complexity while enabling mobile phone-controlled TV playback, improving the screen mirroring experience.

[0221] For example, in other embodiments, the mobile phone player and the TV player do not belong to the same manufacturer, but the mobile phone player and the TV player support the same screen projection data transmission protocol. In this case, the smart TV can also connect the interactive channel between the mobile phone player and the TV player that matches it, and provide users with a higher-definition screen projection viewing experience and more playable screen projection interaction methods such as barrage and speed through the TV player that matches the mobile phone player, making it easy to implement playback control.

[0222] The above shows an example of a process for negotiating between a smart TV and a mobile phone about the player to be used for screen casting on the smart TV. The embodiment of the present application does not limit the process for negotiating screen casting between a smart TV and a mobile phone. For example, Figure 9 shows another example of a process for negotiating the player to be used for screen casting on a smart TV. As shown in Figure 9, the process includes:

[0223] S201. The mobile phone receives the user's operation on the screen casting button of the mobile phone player.

[0224] The implementation of S201 can refer to the relevant description of S102 above, which will not be repeated here.

[0225] S202. The mobile phone sends an inquiry message.

[0226] The inquiry message is used to inquire whether other devices support a player that matches the mobile phone player.

[0227] Optionally, the inquiry message includes information about the mobile phone player, including but not limited to at least one of the following: an identifier of the mobile phone player, a content manufacturer corresponding to the mobile phone player, and functions supported by the mobile phone player.

[0228] Optionally, the inquiry message may be any one of unicast, broadcast, and multicast messages.

[0229] Exemplarily, as shown in step ① of FIG10 , the mobile phone sends an inquiry message to inquire whether the peripheral devices (including the smart TV) support the player that matches the mobile phone player.

[0230] S203: The smart TV sends a response message.

[0231] The response message includes information about the TV player xxTV that is supported by the smart TV and matches the mobile phone player.

[0232] It should be understood that after receiving the query message, the smart TV can determine the TV player that is compatible with the mobile phone player and that it supports based on the mobile phone player information carried in the query message. For example, if the smart TV supports TV players xxTV and yyTV, where xxTV is the TV player that is compatible with the mobile phone player, then as shown in step ② of Figure 10, the smart TV can feedback the TV player information of xxTV to the mobile phone, so that the mobile phone can know that the TV player supported by the smart TV and compatible with the mobile phone player is xxTV.

[0233] S204: The mobile phone sends a play instruction.

[0234] In some examples, after detecting that a user has clicked the cast button, the mobile phone may negotiate with the smart TV to determine that the player used for the smart TV casting is xxTV, and then send a play command. Alternatively, after detecting that a user has clicked the cast button, the mobile phone may negotiate with the smart TV to determine that the player used for the smart TV casting is xxTV, and then display a tab for the TV player xxTV. After detecting that a user has clicked the tab for the TV player xxTV, the mobile phone sends a play command.

[0235] S205. The smart TV uses the TV player xxTV to play the projected video according to the playback instruction.

[0236] The implementation of S204 and S205 can refer to the relevant description of S106 and S107 above, which will not be repeated here.

[0237] FIG11 shows another example of a screen projection method according to an embodiment of the present application. As shown in FIG11 , the method includes:

[0238] S301: A first device determines a first player that the first device needs to use when a second device initiates video projection. The first player is a player supported by the first device and compatible with the second player.

[0239] As a possible implementation, S301 may be implemented as follows: the first device sends a discovery message including information about the players supported by the first device, and the information about the players supported by the first device serves as input for the second device to determine the first player. Accordingly, after receiving the discovery message from the first device, the second device determines that the first player is compatible with the second player from among the players supported by the first device.

[0240] For example, as shown in (b) of Figure 7, the smart TV (e.g., the first device) broadcasts the information of the players xxTV and yyTV supported by the smart TV. As shown in (a) of Figure 7, after the mobile phone (e.g., the second device) receives the information of the players xxTV and yyTV supported by the smart TV, the mobile phone can determine that the player supported by the smart TV and matched with the mobile phone player (e.g., the second player) is the first player. For example, if the player xxTV supported by the smart TV and the mobile phone player are from the same manufacturer, the mobile phone can use the player xxTV as the first player. For another example, if the player xxTV supported by the smart TV and the mobile phone player support the same screen projection data transmission protocol, the mobile phone can use the player xxTV as the first player.

[0241] As another possible implementation method, S301 can be implemented as follows: the first device receives an inquiry message sent by the second device, where the inquiry message is used to inquire about the player supported by the first device and matched with the second player; the first device determines the first player based on the inquiry message; the first device sends a response message, where the response message includes information about the first player.

[0242] For example, as shown in Figure 10, a mobile phone sends a query message to a smart TV, asking for TV players supported by the smart TV and compatible with the mobile phone player. If the smart TV supports TV players xxTV and yyTV, where xxTV is a compatible TV player for the mobile phone player, the smart TV can respond with information about TV player xxTV to the mobile phone, so that the mobile phone can know that the TV player supported by the smart TV and compatible with the mobile phone player is xxTV.

[0243] S302: The second device receives a screen projection operation on the second player.

[0244] For example, the screen casting operation may be an operation of clicking the screen casting button 501 shown in FIG6 , or an operation of clicking the tab sheet 701 a shown in FIG7 ( a ). Alternatively, the screen casting operation may be other operations.

[0245] S303. The second device sends a play instruction to the first device in response to the screen projection operation.

[0246] Correspondingly, the first device receives the play instruction sent by the second device.

[0247] Among them, the play instruction is triggered by the operation of the screen projection control of the second player acting on the second device, and the play instruction is used to instruct the first device to use the first player to play the projected video.

[0248] The second device can encapsulate information associated with the first player in the playback instruction, so that the first device launches the first player based on the information associated with the first player. Optionally, the information associated with the first player includes, but is not limited to, at least one of the following: source information of the projected video, network connection information of the second device, download address of the first player, identifier of the first player, and identifier of the second player. A detailed description of the at least one piece of information can be found in the above embodiment and will not be repeated here.

[0249] S304: The first device plays the projected video using the first player according to the play instruction.

[0250] The implementation of S304 may refer to the above-mentioned S107 or S205 and will not be described in detail.

[0251] Taking the first device as a TV and the second device as a mobile phone as an example, the mobile phone and the TV can determine through negotiation that the TV supports and the TV player (for example, the first player) that matches the mobile phone player (for example, the second player). In this way, after the TV receives the play instruction, it can automatically pull up the TV player according to the play instruction, and use the TV player to play the projected video. Since the TV player is a TV player that can be used with a mobile phone player, the TV player can provide high-definition, speed-matching, barrage and other screen projection experiences. In addition, during the screen projection process, the user does not need to manually open the TV player on the TV that matches the mobile phone player in advance, which can reduce the user's operation complexity and improve the ease of use of the screen projection function.

[0252] The one or more interfaces described above are exemplary, and other interface design methods are possible. This application does not limit the specific interface design method. For example, the above example uses the player's tab to trigger the sending of the play instruction. In other embodiments, the control that triggers the sending of the play instruction can also be other controls, such as an option button, and this embodiment of the application does not limit this.

[0253] For the introduction of some interfaces in the drawings, please refer to the relevant descriptions in similar drawings.

[0254] It should be noted that the above-mentioned multiple embodiments can be combined and the combined scheme can be implemented. Optionally, some operations in the process of each method embodiment are optionally combined, and / or the order of some operations is optionally changed. In addition, the execution order between the steps of each process is only exemplary and does not constitute a limitation on the execution order between the steps. There can also be other execution orders between the steps. It is not intended to indicate that the execution order is the only order in which these operations can be performed. Ordinary technicians in this field will think of many ways to reorder the operations described herein. In addition, it should be pointed out that the process details involved in a certain embodiment of this article are also applicable to other embodiments in a similar manner, or different embodiments can be used in combination.

[0255] Furthermore, some steps in the method embodiments may be equivalently replaced with other possible steps. Alternatively, some steps in the method embodiments may be optional and may be deleted in certain usage scenarios. Alternatively, other possible steps may be added to the method embodiments.

[0256] Furthermore, the above method embodiments may be implemented separately or in combination.

[0257] For example, when a device (e.g., device A) obtains information from another device (e.g., device B), it may refer to device A receiving information directly from device B, or it may refer to device A receiving information from device B via another device (e.g., device C). When device A receives information from device B via device C, device C may transparently transmit the information or process the information, for example, by carrying the information in different messages for transmission or filtering the information and only sending the filtered information to device A. Similarly, in each embodiment of the present application, when device A sends information to device B, it may refer to device A sending information directly to device B, or it may refer to device A sending information to device B via another device (e.g., device C).

[0258] Other embodiments of the present application provide an apparatus, which may be the first device or the second device described above. The apparatus may include: a display screen, a memory, and one or more processors. The display screen, the memory, and the processor are coupled. The memory is used to store computer program code, which includes instructions. When the processor executes the instructions, the apparatus may perform the various functions or steps of the method embodiments described above. The structure of the apparatus may refer to the apparatus (device) shown in Figure 12.

[0259] The core structure of the device can be represented as the structure shown in FIG12 , and the device includes: a processing module 1301 , an input module 1302 , a storage module 1303 and a display module 1304 .

[0260] Processing module 1301 may include at least one of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). Processing module 1301 may perform operations or data processing related to the control and / or communication of at least one of the other components of the user device. Specifically, processing module 1301 may be used to control the content displayed on the main screen based on certain trigger conditions. Processing module 1301 may also be used to process input instructions or data and determine a display style based on the processed data.

[0261] Input module 1302 is used to obtain user input commands or data and transmit the obtained commands or data to other modules of the device. Specifically, input methods of input module 1302 may include touch, gestures, proximity to the screen, etc., or voice input. For example, the input module can be the device's screen, obtain user input operations, generate input signals based on the obtained input operations, and transmit the input signals to processing module 1301.

[0262] The storage module 1303 may include a volatile memory and / or a non-volatile memory. The storage module is used to store at least one instruction or data related to other modules of the user equipment device.

[0263] The display module 1304 may include, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, a micro-electromechanical system (MEMS) display, or an electronic paper display, and is used to display content that a user can view.

[0264] Optionally, a communication module 1305 is also included to support personal devices communicating with other personal devices (via a communication network). For example, the communication module can be connected to a network via wireless communication or wired communication to communicate with other personal devices or network servers. Wireless communication can adopt at least one of cellular communication protocols, such as 5G, long term evolution (LTE), advanced long term evolution (LTE-A), code division multiple access (CDMA), wideband code division multiple access (WCDMA), universal mobile telecommunications system (UMTS), wireless broadband (WiBro) or global system for mobile communications (GSM). Wireless communication may include, for example, short-range communication. Short-range communication may include at least one of wireless fidelity (Wi-Fi), Bluetooth, near field communication (NFC), magnetic stripe transmission (MST) or GNSS.

[0265] It should be noted that each functional module of the device can execute one or more steps in the above method embodiment.

[0266] An embodiment of the present application also provides a chip system, as shown in Figure 13, which includes at least one processor 1401 and at least one interface circuit 1402. The processor 1401 and the interface circuit 1402 can be interconnected via lines. For example, the interface circuit 1402 can be used to receive signals from other devices (such as the memory of the device). For another example, the interface circuit 1402 can be used to send signals to other devices (such as the processor 1401). Exemplarily, the interface circuit 1402 can read instructions stored in the memory and send the instructions to the processor 1401. When the instruction is executed by the processor 1401, the device can execute the various steps in the above embodiments. Of course, the chip system can also include other discrete devices, which is not specifically limited in the embodiment of the present application.

[0267] An embodiment of the present application also provides a readable storage medium, which includes instructions. When the instructions are executed on the above-mentioned device, the device executes each function or step in the above-mentioned method embodiment.

[0268] The embodiment of the present application also provides a program product, which, when executed on a device, enables the device to perform the functions or steps in the above method embodiment.

[0269] The above content is only a specific embodiment of this application, but the scope of protection of this application is not limited to this. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A screen projection method, characterized in that: Applied to a first device, the method includes: Determine a first player that the first device needs to use when the second device initiates video screen projection, where the first player is supported by the first device and matches the second player; receiving a play instruction sent by the second device, where the play instruction is triggered by an operation of a screen casting control of the second player acting on the second device, and the play instruction is used to instruct the first device to use the first player to play the casted video; According to the playback instruction, the projected video is played using the first player.

2. The method according to claim 1, characterized in that: The playback instruction includes at least one of the following information: source information of the projected video, network connection information of the second device, download address of the first player, identifier of the first player, and identifier of the second player.

3. The method according to claim 1 or 2, characterized in that: Using the first player to play the projected video includes: If the first device has the first player installed, the first player is launched, and the projected video is played using the first player; or, If the first player is not installed on the first device, download and install the first player according to the download address of the first player; Pull up the first player and use the first player to play the projected video.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Establishing a communication connection with the second device according to the playback instruction; Through the communication connection, the screen projection control data sent by the second device is received, and the screen projection control data includes at least one of the following data: barrage data, speed data, and clarity data.

5. The method according to any one of claims 1 to 4, characterized in that: Determining a first player that the first device needs to use when the second device initiates video screen projection, including: Sending a discovery message, wherein the discovery message includes information about players supported by the first device, and the information about players supported by the first device serves as input for the second device to determine the first player; or, receiving an inquiry message sent by the second device, where the inquiry message is used to inquire about a player supported by the first device and matched with the second player; determining the first player according to the inquiry message; A response message is sent, wherein the response message includes information of the first player.

6. The method according to any one of claims 1 to 5, characterized in that: The player information includes at least one of the following information: the player identifier, the content manufacturer corresponding to the player, and the functions supported by the player; The functions supported by the player include at least one of the following: high definition, double speed, and bullet screen.

7. The method according to any one of claims 1 to 6, characterized in that: The source information of the projected video includes at least one of the following information: the playback address of the projected video, and the manufacturer providing the projected video; And / or, the network connection information of the second device includes at least one of the following information: an address of the second player of the second device, and a port number of the second player.

8. The method according to any one of claims 1 to 7, characterized in that: The play instruction also includes membership information of the first player, and / or barrage information.

9. The method according to any one of claims 1 to 8, characterized in that: The playback instruction includes a first field, and the first field is used to indicate at least one of the following information: source information of the projected video, network connection information of the second device, download address of the first player, identifier of the first player, and identifier of the second player.

10. A screen projection method, characterized in that: Applied to the second device, the method includes: Determine a first player that the first device needs to use when the second device initiates video screen projection; the first player is a player supported by the first device and matched with the second player; receiving a screen casting operation on the second player; Send a play instruction, where the play instruction is used to instruct the first device to use the first player to play the projected video.

11. The method according to claim 10, characterized in that Before sending the play command, it also includes: Displaying a first interface, where the first interface includes a first screen projection control of the first player; Send playback instructions, including: In response to an operation on the first projection control, the play instruction is sent.

12. The method according to claim 11, characterized in that The first interface further includes a second screen projection control of a third player, the third player is a player not supported by the first device, and / or the third player is not a player matched with the second player; The user interface UI effect of the first screen projection control is different from the UI effect of the second screen projection control.

13. The method according to any one of claims 10 to 12, characterized in that: The method further comprises: Screen projection control data is sent through the communication connection with the first device, and the screen projection control data includes at least one of the following data: barrage data, speed data, and clarity data.

14. The method according to any one of claims 10 to 13, characterized in that: Determining a first player that the first device needs to use when the second device initiates video screen projection, including: receiving a discovery message sent by the first device, where the discovery message includes information about a player supported by the first device; Determine, from among players supported by the first device, that a player that matches and is used with the second player is the first player; or Sending an inquiry message, where the inquiry message is used to inquire about a player supported by the first device and matched with the second player; A response message sent by the first device is received, where the response message is used to instruct the first player.

15. The method according to any one of claims 10 to 14, characterized in that: The play instruction includes at least one of the following information: source information of the projected video, network connection information of the second device, download address of the first player, identifier of the first player, and identifier of the second player; And / or, the source information of the projected video includes at least one of the following information: the source type of the projected video, the playback address of the projected video, and the manufacturer providing the projected video; And / or, the network connection information of the second device includes at least one of the following information: an address of the second player of the second device, and a port number of the second player.

16. A device, which is a target device for screen projection, characterized in that: The destination device includes: Display screen; one or more processors; one or more memories; And one or more programs, wherein the one or more programs are stored in the one or more memories, and the one or more programs include instructions, which, when executed by the destination device, enable the destination device to execute the screen projection method as described in any one of claims 1-9.

17. A device, the device being a source device during screen projection, characterized in that: The source device comprises: Display screen; one or more processors; one or more memories; And one or more programs, wherein the one or more programs are stored in the one or more memories, and the one or more programs include instructions, which, when executed by the source device, enable the source device to execute the screen projection method described in any one of claims 10-15.

18. A readable storage medium, wherein instructions are stored in the readable storage medium, characterized in that: When the instruction is executed on the device, the device executes the screen projection method as described in any one of claims 1-9, or the device executes the screen projection method as described in any one of claims 10-15.

19. A program product comprising instructions, characterized in that When the program product runs on a device, the device executes the screen projection method as described in any one of claims 1 to 9, or the device executes the screen projection method as described in any one of claims 10 to 15.

Citation Information

Patent Citations

  • Screen projection method and equipment

    CN118870108A

  • Mobile terminal, terminal device and video projection method capable of implementing video projection

    CN108076369A

  • Projection screen display method and electronic device

    CN110381345A

  • Screen projection method and system

    CN115665469A

  • Systems and methods for secure communications between media devices

    US10735785B1