A screen mirroring method and system
By using the first application in the screen projection system to share multiple video playback addresses between the screen projection display end and the screen projection transmitting end, the problem of single video presentation form in the existing screen projection technology is solved, and a richer user experience is achieved.
Patent Information
- Application Number
- CN202211286044.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-20
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2042-10-20
AI Technical Summary
In the existing screen projection technology, the screen projection display can only present one video content pointed to by the video playback address, resulting in a single video presentation form and a poor user experience.
When both the screen projection display end and the screen projection transmitting end have a first application, a plurality of video playback addresses provided by the first application are obtained using the video identifier, and a video playback address is selected according to the video playback requirements for playback.
It realizes diversification of video presentation forms and improves the user experience. Users can switch different video content, clarity and episodes according to their needs.
Smart Images

Figure CN115665469B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of screen mirroring, and particularly to a screen mirroring method and system. Background Art
[0002] During the existing screen mirroring process, the screen mirroring transmitting end obtains the corresponding video playback address based on the video content and video clarity selected by the user, and the screen mirroring display end uses the video playback address sent by the screen mirroring transmitting end to find and play the corresponding video. In this screen mirroring method, only the video content pointed to by one video playback address can be presented on the screen mirroring display end, and the video presentation form is single, resulting in a poor user experience. Summary of the Invention
[0003] The purpose of the embodiments of the present invention is to provide a screen mirroring method and system. The specific technical solutions are as follows:
[0004] The present invention provides a screen mirroring method applied to a screen mirroring display end. The method includes:
[0005] In response to a screen mirroring request sent by the screen mirroring transmitting end through a first application, send the screen mirroring information address to the screen mirroring transmitting end, so that the screen mirroring transmitting end obtains the screen mirroring display end information pointed to by the screen mirroring information address; wherein, the screen mirroring display end information at least includes information reflecting the applications installed on the screen mirroring display end;
[0006] Receive the application program identifier sent by the screen mirroring transmitting end when it is confirmed that the applications installed on the screen mirroring display end include the first application, and determine whether the application program identifier is consistent with the program identifier of the first application. If they are consistent, obtain multiple video playback addresses provided by the first application based at least on the video identifier sent by the screen mirroring transmitting end; wherein, the video identifier is the identifier of the video in the first application;
[0007] Select one of the video playback addresses according to the video playback requirements, and play the video content pointed to by the selected video playback address.
[0008] Optionally, the step of obtaining multiple video playback addresses provided by the first application based at least on the video identifier sent by the screen mirroring transmitting end includes:
[0009] Obtain multiple video playback addresses by using any one of Method 1 to Method 3:
[0010] Method 1: Based on the video identifier sent by the screen mirroring transmitting end, obtain the video playback addresses corresponding to the videos with the same video identifier but different clarity levels;
[0011] Method 2: Based on the video identifier and the video set identifier sent by the screen mirroring transmitter, obtain the video playback addresses corresponding to at least one video with the video identifier, and the video playback addresses corresponding to different videos with the same video set identifier; wherein, the video set includes the video with the video identifier.
[0012] Method 3: Based on the video identifier and the clarity list sent by the screen mirroring transmitter, obtain the video playback address corresponding to the video with the video identifier and matching the clarity in the clarity list.
[0013] Optionally, the selecting one of the video playback addresses according to the video playback requirement includes:
[0014] Select the video playback address corresponding to the video with the video identifier and the highest clarity from multiple video playback addresses;
[0015] Or,
[0016] Select the video playback address corresponding to the video in the video set other than the current video from multiple video playback addresses; the video identifier of the current video is the video identifier sent by the screen mirroring transmitter.
[0017] Optionally, after determining that the application identifier is consistent with the program identifier of the first application, the method further includes:
[0018] Send the public key to the screen mirroring transmitter so that the screen mirroring transmitter encrypts the user permission information based on the public key to obtain the encrypted user permission information;
[0019] Decrypt the encrypted user permission information sent by the screen mirroring transmitter using the private key to obtain the user permission information;
[0020] Based on the user permission information, screen the video playback address corresponding to the video identifier provided by the first application to obtain the screened video playback address, and the screened video playback address is the video playback address matching the user permission information;
[0021] The selecting one of the video playback addresses according to the video playback requirement and playing the video content pointed to by the selected video playback address includes:
[0022] According to the video playback requirement, select and play the video content pointed to by one of the screened video playback addresses.
[0023] Optionally, it further includes:
[0024] If the application programs of the screen mirroring display end do not include the first application program, or the application program identifier sent by the screen mirroring transmitting end is inconsistent with the program identifier of the first application program, then play the video content pointed to by the video play address sent by the screen mirroring transmitting end.
[0025] Optionally, it further includes:
[0026] Based on the user video play history sent by the screen mirroring transmitting end, obtain the video identifiers of the videos in the first application program that are related to the user video play history, and display the video information corresponding to the obtained video identifiers on the screen mirroring display end and / or the screen mirroring transmitting end.
[0027] The present invention provides a screen mirroring system, which is applied to a screen mirroring display end. The system includes:
[0028] A screen mirroring response module, configured to respond to a screen mirroring request sent by a screen mirroring transmitting end through a first application program, and send a screen mirroring information address to the screen mirroring transmitting end, so that the screen mirroring transmitting end obtains the screen mirroring display end information pointed to by the screen mirroring information address; wherein, the screen mirroring display end information at least includes information reflecting the application programs of the screen mirroring display end;
[0029] A video play address obtaining module, configured to receive the application program identifier sent by the screen mirroring transmitting end when it is confirmed that the application programs of the screen mirroring display end include the first application program, determine whether the application program identifier is consistent with the program identifier of the first application program, and if they are consistent, obtain multiple video play addresses provided by the first application program at least based on the video identifiers sent by the screen mirroring transmitting end; wherein, the video identifier is the identifier of the video in the first application program;
[0030] A video play module, configured to select one of the video play addresses according to the video play requirements and play the video content pointed to by the selected video play address.
[0031] The present invention provides a screen mirroring method, which is applied to a screen mirroring transmitting end. The method includes:
[0032] Send a screen mirroring request through a first application program, receive the screen mirroring information address sent by the screen mirroring display end in response to the screen mirroring request, and obtain the screen mirroring display end information pointed to by the screen mirroring information address; wherein, the screen mirroring display end information at least includes information reflecting the application programs of the screen mirroring display end;
[0033] Based on the screen mirroring display information, determine whether the screen mirroring display end has the first application. If the screen mirroring display end has the first application, send the video identifier and the application identifier of the first application, so that the screen mirroring display end selects the video content pointed to by the video play address that meets the video play requirements from the multiple video play addresses provided by the first application when confirming that the application identifier is consistent with the program identifier of the first application for playing; wherein, the video identifier is the identifier of the video in the first application.
[0034] Optionally, it further includes at least one of the following methods:
[0035] Method 1: Receive the public key sent by the screen mirroring display end, encrypt the user permission information based on the public key to obtain the encrypted user permission information, and send the encrypted user permission information to the screen mirroring display end, so that the screen mirroring display end decrypts the encrypted user permission information using the private key to obtain the user permission information, and then filters the multiple video play addresses corresponding to the video identifier provided by the first application based on the user permission information, and plays the video content pointed to by the filtered video play address that meets the video play requirements;
[0036] Method 2: Send the video play address to the screen mirroring display end, so that when the screen mirroring display end does not have the first application or the application identifier is inconsistent with the program identifier of the first application, the screen mirroring display end plays the video content pointed to by the received video play address;
[0037] Method 3: Send the user's video play history to the screen mirroring display end, so that the screen mirroring display end obtains the video identifier of the video related to the user's video play history in the first application, and displays the video information corresponding to the obtained video identifier on the screen mirroring display end.
[0038] The present invention provides a screen mirroring system applied to a screen mirroring transmitting end, and the system includes:
[0039] A screen mirroring request sending module, configured to send a screen mirroring request through a first application, receive the screen mirroring information address sent by the screen mirroring display end in response to the screen mirroring request, and obtain the screen mirroring display end information pointed to by the screen mirroring information address; wherein, the screen mirroring display end information at least includes information reflecting the applications possessed by the screen mirroring display end;
[0040] An identification sending module, configured to determine whether the screen mirroring display end has the first application program based on the screen mirroring display information. If the screen mirroring display end has the first application program, it sends a video identifier and an application program identifier of the first application program, so that the screen mirroring display end, when confirming that the application program identifier is consistent with the program identifier of the first application program, selects a video content pointed to by a video playback address that meets the video playback requirements from multiple video playback addresses provided by the first application program for playback; wherein, the video identifier is an identifier of a video in the first application program.
[0041] A screen mirroring method and system provided by an embodiment of the present invention. Both the screen mirroring display end and the screen mirroring transmitting end have a first application program. Through the video identifier of the video in the first application program sent by the screen mirroring transmitting end, the screen mirroring display end can obtain multiple video playback addresses provided by the first application program using the video identifier, select one video playback address from the multiple video playback addresses according to the video playback requirements, and play the video content pointed to by the selected video playback address. The video presentation form is diversified, improving the user experience.
[0042] Of course, when implementing any product or method of the present invention, it is not necessarily required to achieve all the above-mentioned advantages simultaneously. Description of the Drawings
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0044] Figure 1 It is a flowchart of a screen mirroring method provided by an embodiment of the present invention;
[0045] Figure 2 It is a structural diagram of a screen mirroring system provided by an embodiment of the present invention;
[0046] Figure 3 It is a flowchart of another screen mirroring method provided by an embodiment of the present invention;
[0047] Figure 4 It is a structural diagram of another screen mirroring system provided by an embodiment of the present invention;
[0048] Figure 5 It is a screen mirroring interaction schematic diagram provided by an embodiment of the present invention;
[0049] Figure 6 It is a structural diagram of an electronic device provided by an embodiment of the present invention. Detailed implementation mode
[0050] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0051] The present invention provides a screen mirroring method, which is applied to a screen mirroring display end, such as Figure 1 As shown, this method includes:
[0052] Step 101: In response to a screen mirroring request sent by the screen mirroring transmitting end through a first application, send the screen mirroring information address to the screen mirroring transmitting end, so that the screen mirroring transmitting end can obtain the screen mirroring display end information pointed to by the screen mirroring information address; wherein, the screen mirroring display end information at least includes information reflecting the applications possessed by the screen mirroring display end.
[0053] When screen mirroring, the screen mirroring transmitting end sends a screen mirroring request, and this screen mirroring request is sent through the first application possessed by the screen mirroring transmitting end. If the screen mirroring display end has this first application, it will respond to this screen mirroring request. If the screen mirroring display end does not have this first application, it will not respond to this screen mirroring request. Optionally, this first application can be an application of the video type. The screen mirroring display end can include but is not limited to a TV, a display screen, a set-top box, and a projector. The screen mirroring transmitting end can include but is not limited to a computer, a tablet computer, and a mobile phone. The screen mirroring display end and the screen mirroring transmitting end can interact based on the DLNA protocol.
[0054] After the screen mirroring display end responds to the screen mirroring request sent by the screen mirroring transmitting end, the screen mirroring display end sends the screen mirroring information address to the screen mirroring transmitting end. The screen mirroring display end information pointed to by this screen mirroring information address has the application information possessed by the screen mirroring display end, and through this application information, it can be reflected whether the screen mirroring display end has the first application.
[0055] Step 102: Receive the application program identifier sent by the screen mirroring transmitting end when it is confirmed that the applications possessed by the screen mirroring display end include the first application, and judge whether the application program identifier is consistent with the program identifier of the first application. If they are consistent, obtain multiple video playback addresses provided by the first application at least based on the video identifier sent by the screen mirroring transmitting end; wherein, the video identifier is the identifier of the video in the first application.
[0056] The screen mirroring transmitting end uses the obtained screen mirroring display end information to confirm whether the screen mirroring display end has a first application. If the screen mirroring transmitting end determines that the screen mirroring display end has the first application, it sends the application identifier corresponding to the first application. The screen mirroring display end verifies the application identifier to verify the identity of the screen mirroring transmitting end, and processes the video identifier of the video in the first application sent by the screen mirroring transmitting end when the verification is passed. Specifically, multiple video playback addresses provided by the first application can be obtained based on the video identifier. Among them, the video content corresponding to the multiple video playback addresses is the same video content with different resolutions. Optionally, the video identifier can be a video ID.
[0057] As an optional implementation manner, obtaining multiple video playback addresses provided by the first application based on the video identifier sent by the screen mirroring transmitting end includes: obtaining the video playback addresses corresponding to the videos with the video identifier and different resolutions based on the video identifier sent by the screen mirroring transmitting end.
[0058] For videos of the same video content, the video identifier can be the same, and the video resolution can be different. Therefore, the video playback addresses corresponding to videos with different resolutions are different. When the first application can provide the same video content with multiple video resolutions, there will be multiple video playback addresses.
[0059] As another optional implementation manner, obtaining multiple video playback addresses provided by the first application based on the video identifier sent by the screen mirroring transmitting end includes: obtaining the video playback addresses corresponding to at least one video with the video identifier and the video playback addresses corresponding to different videos with the same video set identifier based on the video identifier and the video set identifier sent by the screen mirroring transmitting end; where the video set includes videos with the video identifier. Optionally, the video set identifier can be a media asset ID.
[0060] For a video set, the video playback addresses corresponding to multiple videos in the same video set are different, and the video content corresponding to different video playback addresses is also different, but the video set identifiers of multiple videos in the same video set are the same. For example, if the video set is a TV drama series, a TV drama includes dozens of episodes of films, the video playback addresses corresponding to different episodes of films are different, and different episodes of films have the same video set identifier. Since one video identifier can correspond to at least one video playback address, one video set identifier can correspond to multiple different videos, and multiple different videos will have multiple video playback addresses, multiple video playback addresses provided by the first application can be obtained based on the video identifier and the video set identifier sent by the screen mirroring transmitting end.
[0061] As another optional implementation, based on the video identifier sent by the screen mirroring transmitter, obtain multiple video playback addresses provided by the first application, including: based on the video identifier and the clarity list sent by the screen mirroring transmitter, obtain the video playback address corresponding to the video with the video identifier and matching the clarity in the clarity list.
[0062] There can be multiple different clarities in the clarity list. Use the video identifier to find multiple videos with different clarities in the first application, and then filter the clarities of the found multiple videos through the clarity list to obtain the video playback address corresponding to the video that matches the clarity in the clarity list.
[0063] Step 103: Select a video playback address according to the video playback requirement and play the video content pointed to by the selected video playback address.
[0064] As an optional implementation, selecting a video playback address according to the video playback requirement includes: selecting the video playback address corresponding to the video with the highest clarity among multiple video playback addresses. By selecting the video playback address corresponding to the video with the highest clarity, the user experience of watching videos can be improved.
[0065] As another optional implementation, selecting a video playback address according to the video playback requirement includes: selecting the video playback address corresponding to the video other than the current video in the video set; the video identifier of the current video is the video identifier sent by the screen mirroring transmitter.
[0066] By selecting the video playback address corresponding to the video other than the current video, the switching of video episodes can be realized. Instead of being limited to the single video address provided by the video transmitter for video playback, the video playback address is selected and played using the video resources in the first application on the screen mirroring display terminal. Thus, on the screen mirroring display terminal, the video source, episode number, and clarity can be switched, the video presentation form is diversified, and the user experience is improved.
[0067] In an optional embodiment, after determining that the application identifier is consistent with the program identifier of the first application, the screen mirroring method provided by the present invention further includes: sending the public key to the screen mirroring transmitter so that the screen mirroring transmitter encrypts the user permission information based on the public key to obtain the encrypted user permission information; decrypting the encrypted user permission information sent by the screen mirroring transmitter using the private key to obtain the user permission information; screening the video play address corresponding to the video identifier provided by the first application based on the user permission information to obtain the screened video play address, and the screened video play address is the video play address that matches the user permission information. Optionally, the user permission information may include user video play entitlement information, user identifier, etc. Through the user video play entitlement information in the user permission information, it can be determined whether the user is an ordinary user or a VIP user. The clarity of the video provided for VIP users is higher than that of the video provided for ordinary users. Optionally, the user identifier may be the user id.
[0068] Optionally, select a video play address according to the video play requirements and play the video content pointed to by the selected video play address, including: according to the video play requirements, select the video content pointed to by a screened video play address for playing. The video play requirements may be video play requirements related to video clarity, video source, number of video episodes, etc. The video play addresses corresponding to different video play requirements are different. For different user video play entitlement information, the selectable video play addresses are also different.
[0069] As an optional implementation manner, the screen mirroring method of the present invention further includes:
[0070] If the application program on the screen mirroring display end does not include the first application program, or the application identifier sent by the screen mirroring transmitter is inconsistent with the program identifier of the first application program, then play the video content pointed to by the video play address sent by the screen mirroring transmitter.
[0071] When the application program on the screen mirroring display end does not include the first application program, the screen mirroring display end cannot provide a video play address. At this time, it is necessary to receive the video play address sent by the screen mirroring transmitter to play the video content pointed to by the address.
[0072] When the screen mirroring display end fails to verify the application identifier sent by the screen mirroring transmitter, since the program identifiers are inconsistent, it may cause the screen mirroring display end to be unable to find the corresponding video play address through the video identifier sent by the screen mirroring transmitter. At this time, it is also necessary to receive the video play address sent by the screen mirroring transmitter to play the video content pointed to by the address.
[0073] Of course, in addition to playing the video content pointed to by the video playback address sent by the screen mirroring transmitting end for handling the above two situations, it may also be impossible to screen the video playback address corresponding to the video identifier provided by the first application based on the user permission information, or receive the video playback address sent by the screen mirroring display end when the screen mirroring display end does not have a video playback address meeting the clarity requirements, so that the screen mirroring display end can play the video content pointed to by the received video playback address using the received video playback address.
[0074] As an optional implementation manner, the screen mirroring method of the present invention further includes:
[0075] Based on the user video playback history sent by the screen mirroring transmitting end, obtain the video identifier of the video related to the user video playback history in the first application, and display the video information corresponding to the obtained video identifier on the screen mirroring display end and / or the screen mirroring transmitting end.
[0076] The user video playback history can reflect the user's media preference. Through the user video playback history sent by the screen mirroring transmitting end, the screen mirroring display end can find the video identifier of the video related to the user video playback history in the first application, so as to provide the user with video information that meets the user's media preference. In addition, in order to ensure the secure transmission of the user video playback history, the user video playback history can be encrypted using the public key sent by the screen mirroring display end before sending the history.
[0077] The present invention also provides a screen mirroring system, which is applied to the screen mirroring display end, as Figure 2 shown. The system includes:
[0078] A screen mirroring response module 201, configured to respond to a screen mirroring request sent by the screen mirroring transmitting end through the first application, and send the screen mirroring information address to the screen mirroring transmitting end, so that the screen mirroring transmitting end can obtain the screen mirroring display end information pointed to by the screen mirroring information address; wherein, the screen mirroring display end information at least includes information reflecting the application programs possessed by the screen mirroring display end.
[0079] A video playback address obtaining module 202, configured to receive the application program identifier sent by the screen mirroring transmitting end when it is confirmed that the application programs possessed by the screen mirroring display end include the first application, determine whether the application program identifier is consistent with the program identifier of the first application, and if they are consistent, obtain multiple video playback addresses provided by the first application at least based on the video identifier sent by the screen mirroring transmitting end; wherein, the video identifier is the identifier of the video in the first application.
[0080] A video playback module 203, configured to select a video playback address according to the video playback requirements and play the video content pointed to by the selected video playback address.
[0081] Among them, the video playback address acquisition module 202 is specifically configured to acquire multiple video playback addresses by any one of Method 1 to Method 3:
[0082] Method 1: Based on the video identifier sent by the screen mirroring transmitter, acquire the video playback addresses corresponding to the videos with the video identifier and different resolutions.
[0083] Method 2: Based on the video identifier and the video set identifier sent by the screen mirroring transmitter, acquire the video playback addresses corresponding to at least one video with the video identifier, and the video playback addresses corresponding to different videos with the same video set identifier; wherein, the video set includes videos with the video identifier.
[0084] Method 3: Based on the video identifier and the resolution list sent by the screen mirroring transmitter, acquire the video playback addresses corresponding to the videos with the video identifier and matching the resolutions in the resolution list.
[0085] The video playback module 203 is specifically configured to select the video playback address corresponding to the video with the video identifier and the highest resolution from multiple video playback addresses; or, select the video playback address corresponding to the video other than the current video in the video set from multiple video playback addresses; the video identifier of the current video is the video identifier sent by the screen mirroring transmitter.
[0086] The screen mirroring system of the present invention further includes:
[0087] An address screening module, configured to send the public key to the screen mirroring transmitter so that the screen mirroring transmitter encrypts the user permission information based on the public key to obtain the encrypted user permission information; decrypt the encrypted user permission information sent by the screen mirroring transmitter using the private key to obtain the user permission information; based on the user permission information, screen the video playback addresses corresponding to the video identifier provided by the first application program to obtain the screened video playback addresses, and the screened video playback addresses are the video playback addresses matching the user permission information.
[0088] The video playback module 203 is further configured to select the video content pointed to by one of the screened video playback addresses for playback according to the video playback requirements.
[0089] The screen mirroring system of the present invention further includes:
[0090] An address receiving module, configured to play the video content pointed to by the video playback address sent by the screen mirroring transmitter if the application program on the screen mirroring display end does not include the first application program, or the application program identifier sent by the screen mirroring transmitter is inconsistent with the program identifier of the first application program.
[0091] A video identifier acquisition module, configured to acquire video identifiers of videos related to the user's video playback history in a first application based on the user's video playback history sent by the screen mirroring transmitting end, and display video information corresponding to the acquired video identifiers on the screen mirroring display end and / or the screen mirroring transmitting end.
[0092] The present invention also provides a screen mirroring method, which is applied to the screen mirroring transmitting end. As Figure 3 shown, the screen mirroring method includes:
[0093] Step 301: Send a screen mirroring request through the first application, receive the screen mirroring information address sent by the screen mirroring display end in response to the screen mirroring request, and acquire the screen mirroring display end information pointed to by the screen mirroring information address; wherein, the screen mirroring display end information at least includes information reflecting the applications available on the screen mirroring display end.
[0094] If the screen mirroring transmitting end has the first application, it can send a screen mirroring request through the first application. If the screen mirroring display end also has the first application, it will respond to the screen mirroring request, and the screen mirroring display end will send the screen mirroring information address. After receiving the screen mirroring information address, the screen mirroring transmitting end confirms that the screen mirroring display end has the first application, so as to execute step 302.
[0095] Step 302: Determine whether the screen mirroring display end has the first application based on the screen mirroring display information. If the screen mirroring display end has the first application, send the video identifier and the application identifier of the first application, so that the screen mirroring display end, when confirming that the application identifier is consistent with the program identifier of the first application, selects the video content pointed to by the video playback address that meets the video playback requirements from the multiple video playback addresses provided by the first application for playback; wherein, the video identifier is the identifier of the video in the first application.
[0096] If the screen mirroring display end has the first application, the screen mirroring transmitting end will send the video identifier of the video to be screen mirrored, and at the same time send the first program identifier for the screen mirroring display end to verify. When the screen mirroring display end verifies that the program identifiers are consistent, it can obtain the multiple video playback addresses provided by the first application using the video identifier sent by the screen mirroring transmitting end. The screen mirroring display end selects a video playback address according to the video playback requirements and plays the video content pointed to by the selected video playback address.
[0097] The screen mirroring display end can obtain the multiple video playback addresses provided by the first application based on the video identifier sent by the screen mirroring transmitting end. Specifically, there are three ways to obtain the multiple video playback addresses as follows:
[0098] Way 1: Based on the video identifier sent by the screen mirroring transmitting end, obtain the video playback addresses corresponding to the videos with the video identifier and different resolutions.
[0099] Method 2: Based on the video identifier and video set identifier sent by the screen mirroring transmitter, obtain the video playback addresses corresponding to at least one video with the video identifier, and the video playback addresses corresponding to different videos with the same video set identifier; wherein, the video set includes videos with video identifiers.
[0100] Method 3: Based on the video identifier and the clarity list sent by the screen mirroring transmitter, obtain the video playback address corresponding to the video with the video identifier and matching the clarity in the clarity list.
[0101] When the screen mirroring display end selects a video playback address that meets the video playback requirements, it can select the video playback address corresponding to the video with the highest clarity among multiple video playback addresses; or, select the video playback address corresponding to the video other than the current video in the video set from multiple video playback addresses; the video identifier of the current video is the video identifier sent by the screen mirroring transmitter.
[0102] As an optional implementation manner, the screen mirroring method of the present invention further includes at least one of the following manners:
[0103] Method 1: Receive the public key sent by the screen mirroring display end, encrypt the user permission information based on the public key to obtain the encrypted user permission information, and send the encrypted user permission information to the screen mirroring display end, so that after the screen mirroring display end decrypts the encrypted user permission information with the private key to obtain the user permission information, it filters the multiple video playback addresses corresponding to the video identifier provided by the first application program based on the user permission information, and plays the video content pointed to by the filtered video playback address that meets the video playback requirements.
[0104] After the screen mirroring display end determines that the application program identifier sent by the screen mirroring transmitter is the same as the first application program identifier, the screen mirroring display end sends the public key to the screen mirroring transmitter, and the screen mirroring transmitter can encrypt the user permission information based on the public key. The user permission information may include, but is not limited to, user video playback right information, user identifier, etc. The screen mirroring display end can obtain the filtered video playback address through the user permission information to play the video content pointed to by the address.
[0105] Method 2: Send the video playback address to the screen mirroring display end, so that when the screen mirroring display end does not have the first application program or the application program identifier is inconsistent with the program identifier of the first application program, the screen mirroring display end plays the video content pointed to by the received video playback address.
[0106] The screen mirroring transmitting end can send a video playback address to the screen mirroring display end. When the screen mirroring display end cannot obtain the video playback address through the first application or cannot obtain the video playback address through the video identifier, the video content is played using the video playback address sent by the screen mirroring transmitting end.
[0107] Method 3: Send the user's video playback history to the screen mirroring display end, so that the screen mirroring display end can obtain the video identifier of the video related to the user's video playback history in the first application, and display the video information corresponding to the obtained video identifier on the screen mirroring display end.
[0108] The screen mirroring transmitting end can send the user's video playback history to the screen mirroring display end. The screen mirroring display end can obtain the video identifier of the video related to the video playback history. The video information corresponding to the video identifier can be displayed on the screen mirroring transmitting end and the screen mirroring display end, providing users with diverse video content and enhancing the user experience.
[0109] The present invention also provides a screen mirroring system, which is applied to the screen mirroring transmitting end, as Figure 4 shown. The screen mirroring system includes:
[0110] A screen mirroring request sending module 401, configured to send a screen mirroring request through the first application, receive the screen mirroring information address sent by the screen mirroring display end in response to the screen mirroring request, and obtain the screen mirroring display end information pointed to by the screen mirroring information address; wherein, the screen mirroring display end information at least includes information reflecting the applications possessed by the screen mirroring display end.
[0111] An identifier sending module 402, configured to determine whether the screen mirroring display end has the first application based on the screen mirroring display information. If the screen mirroring display end has the first application, send the video identifier and the application identifier of the first application, so that the screen mirroring display end can select the video content pointed to by the video playback address that meets the video playback requirements from the multiple video playback addresses provided by the first application for playback when confirming that the application identifier is consistent with the program identifier of the first application; wherein, the video identifier is the identifier of the video in the first application.
[0112] Optionally, the screen mirroring system further includes:
[0113] An encryption module, configured to receive a public key sent by a screen mirroring display end, encrypt user permission information based on the public key to obtain encrypted user permission information, and send the encrypted user permission information to the screen mirroring display end, so that the screen mirroring display end decrypts the encrypted user permission information with the private key to obtain the user permission information, and then filters multiple video playback addresses corresponding to a video identifier provided by the first application based on the user permission information, and plays the video content pointed to by the filtered video playback addresses that meet the video playback requirements.
[0114] An address sending module, configured to send a video playback address to the screen mirroring display end, so that when the screen mirroring display end does not have the first application or the application identifier is inconsistent with the program identifier of the first application, the screen mirroring display end plays the video content pointed to by the received video playback address.
[0115] A historical record sending module, configured to send a user video playback history record to the screen mirroring display end, so that the screen mirroring display end obtains the video identifier of the video related to the user video playback history record in the first application, and displays the video information corresponding to the obtained video identifier on the screen mirroring display end.
[0116] To further illustrate the screen mirroring method provided by the present invention, as Figure 5 shown, Figure 5 the interaction process between the screen mirroring transmitting end and the screen mirroring display end is shown.
[0117] Step 501: The screen mirroring transmitting end sends a screen mirroring request through the first application.
[0118] Step 502: The screen mirroring display end responds to the screen mirroring request and sends a screen mirroring information address to the screen mirroring transmitting end.
[0119] Step 503: The screen mirroring transmitting end obtains the screen mirroring display end information pointed to by the screen mirroring information address, and judges whether the screen mirroring display end has the first application based on the screen mirroring display end information.
[0120] Step 504: When the screen mirroring display end has the first application, the screen mirroring transmitting end sends a video identifier and the application identifier of the first application to the screen mirroring display end.
[0121] Step 505: The screen mirroring display end judges whether the application identifier is consistent with the program identifier of the first application.
[0122] Step 506: When the program identifiers are consistent, the screen mirroring display end sends the public key to the screen mirroring transmitting end.
[0123] Step 507: The screen mirroring transmitting end encrypts the user permission information based on the public key to obtain encrypted user permission information.
[0124] Step 508: Send the encrypted user permission information to the screen mirroring display terminal.
[0125] Step 509: The screen mirroring display terminal decrypts the encrypted user permission information using the private key, obtains and filters the multiple video playback addresses corresponding to the video identifier provided by the first application based on the user permission information, obtains the filtered video playback addresses, selects one of the filtered video playback addresses according to the video playback requirements, and plays the video content pointed to by the selected video playback address.
[0126] In addition to the above steps, if the application program available on the screen mirroring display terminal does not include the first application program, or the application program identifier sent by the screen mirroring transmitting terminal is inconsistent with the program identifier of the first application program, the screen mirroring display terminal will play the video content pointed to by the video playback address sent by the screen mirroring transmitting terminal. Among them, the screen mirroring transmitting terminal can send the video playback address after step 503.
[0127] In addition, the screen mirroring transmitting terminal can also send the user's video playback history. The screen mirroring display terminal can obtain the video identifiers of the videos related to the user's video playback history in the first application program based on the user's video playback history sent by the screen mirroring transmitting terminal, and display the video information corresponding to the obtained video identifiers on the screen mirroring display terminal and / or the screen mirroring transmitting terminal.
[0128] By selecting the screen mirroring content playback method of the present invention, such as filtering videos through user permission information, selecting videos with high clarity for playback, or playing related videos through the user's video playback history, the video resources of the screen mirroring display terminal can be utilized, so that it is not limited to playing a single video playback address sent by the screen mirroring transmitting terminal to the screen mirroring display terminal, which can enhance the user experience and effectively improve the screen mirroring stability.
[0129] An embodiment of the present invention provides a computer-readable storage medium, on which a program is stored, and when the program is executed by a processor, the above screen mirroring method is implemented.
[0130] An embodiment of the present invention provides an electronic device, as Figure 6 shown, the electronic device 60 includes at least one processor 601, at least one memory 602 connected to the processor 601, and a bus 603; wherein, the processor 601 and the memory 602 complete communication with each other through the bus 603; the processor 601 is used to call the program instructions in the memory 602 to execute the above screen mirroring method. The electronic device in this article can be a server, a PC, a PAD, a mobile phone, etc.
[0131] The present application also provides a computer program product, which is suitable for executing a program initialized with the steps included in the above screen mirroring method when executed on a data processing device.
[0132] This application is described with reference to the flowcharts and / or block diagrams of methods, systems, and computer program products according to embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing devices to generate a machine, so that the instructions executed by the processors of the computer or other programmable data processing devices generate means for implementing the functions specified in one Figure 1 flow or multiple flows and / or blocks Figure 1 or means for implementing the functions specified in one block or multiple blocks.
[0133] In a typical configuration, the device includes one or more processors (CPUs), a memory, and a bus. The device may also include an input / output interface, a network interface, etc.
[0134] The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). The memory includes at least one storage chip. The memory is an example of computer-readable media.
[0135] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can store information by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory, or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage, or other magnetic storage devices, or any other non-transmission media that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
[0136] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0137] It should be noted that, in this document, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. It should also be noted that the term "comprising", "including" or any other variation thereof is intended to cover non-exclusive inclusion, so that a process, method, commodity or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, commodity or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the existence of additional identical elements in the process, method, commodity or device comprising the element.
[0138] Each embodiment in this specification is described in a related manner. For the same or similar parts among the embodiments, reference can be made to each other. The key point of each embodiment is to illustrate the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and reference can be made to the relevant part of the method embodiment for the related content.
[0139] The above are only the embodiments of the present application and are not used to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.
Claims
1. A screen mirroring method, characterized in that, Applied to the screen mirroring display end, the method includes: In response to a screen mirroring request sent by the screen mirroring transmitting end through a first application, sending a screen mirroring information address to the screen mirroring transmitting end, so that the screen mirroring transmitting end can obtain the screen mirroring display end information pointed to by the screen mirroring information address; wherein, the screen mirroring display end information at least includes information reflecting the applications on the screen mirroring display end. Receiving an application identifier sent by the screen mirroring transmitting end when it is confirmed that the applications on the screen mirroring display end include the first application, determining whether the application identifier is consistent with the program identifier of the first application. If they are consistent, obtaining multiple video playback addresses corresponding to the video identifier from the video resources of the first application on itself at least based on the video identifier sent by the screen mirroring transmitting end; wherein, the video identifier is the identifier of the video in the first application. Selecting one of the video playback addresses according to the video playback requirements and playing the video content pointed to by the selected video playback address. After determining that the application identifier is consistent with the program identifier of the first application, the method further includes: Sending a public key to the screen mirroring transmitting end, so that the screen mirroring transmitting end encrypts the user permission information based on the public key to obtain the encrypted user permission information; the user permission information includes user video playback privilege information and user identification. Decrypting the encrypted user permission information sent by the screen mirroring transmitting end using the private key to obtain the user permission information. Based on the user permission information, screening the video playback addresses corresponding to the video identifier provided by the first application to obtain the screened video playback addresses, and the screened video playback addresses are the video playback addresses matching the user permission information. The step of selecting one of the video playback addresses according to the video playback requirements and playing the video content pointed to by the selected video playback address includes: Selecting and playing the video content pointed to by one of the screened video playback addresses according to the video playback requirements.
2. The screen mirroring method according to claim 1, characterized in that, The step of obtaining multiple video playback addresses provided by the first application at least based on the video identifier sent by the screen mirroring transmitting end includes: Obtaining multiple video playback addresses by using any one of Method 1 to Method 3: Method 1: Based on the video identifier sent by the screen mirroring transmitting end, obtaining the video playback addresses corresponding to the videos with the video identifier and different clarity levels. Method 2: Based on the video identifier and video set identifier sent by the screen mirroring transmitting end, obtaining the video playback addresses corresponding to at least one video with the video identifier, and the video playback addresses corresponding to different videos with the same video set identifier; wherein, the video set includes the videos with the video identifier. Method 3: Based on the video identifier and clarity list sent by the screen mirroring transmitting end, obtaining the video playback addresses corresponding to the videos with the video identifier and matching the clarity levels in the clarity list.
3. The screen mirroring method according to claim 2, characterized in that, The step of selecting one of the video playback addresses according to the video playback requirements includes: Select the video play address corresponding to the video with the highest definition among the multiple video play addresses that have the video identifier; Or, Select the video play address corresponding to the video other than the current video in the video set from the multiple video play addresses; the video identifier of the current video is the video identifier sent by the screen mirroring transmitting end.
4. The screen mirroring method according to claim 1, characterized in that, It further includes: If the application programs available on the screen mirroring display end do not include the first application program, or the application program identifier sent by the screen mirroring transmitting end is inconsistent with the program identifier of the first application program, then play the video content pointed to by the video play address sent by the screen mirroring transmitting end.
5. The screen mirroring method according to claim 1, characterized in that, It further includes: Based on the user video play history sent by the screen mirroring transmitting end, obtain the video identifiers of the videos in the first application program that are related to the user video play history, and display the video information corresponding to the obtained video identifiers on the screen mirroring display end and / or the screen mirroring transmitting end.
6. A screen mirroring system, characterized in that, Applied to the screen mirroring display end, the system includes: A screen mirroring response module, configured to respond to a screen mirroring request sent by a screen mirroring transmitting end through a first application program, and send a screen mirroring information address to the screen mirroring transmitting end, so that the screen mirroring transmitting end obtains the screen mirroring display end information pointed to by the screen mirroring information address; wherein, the screen mirroring display end information at least includes information reflecting the application programs available on the screen mirroring display end; A video play address obtaining module, configured to receive the application program identifier sent by the screen mirroring transmitting end when it is confirmed that the application programs available on the screen mirroring display end include the first application program, determine whether the application program identifier is consistent with the program identifier of the first application program, and if they are consistent, obtain multiple video play addresses corresponding to the video identifier from the video resources of the first application program it has, at least based on the video identifier sent by the screen mirroring transmitting end; wherein, the video identifier is the identifier of the video in the first application program; A video play module, configured to select one of the video play addresses according to the video play requirements and play the video content pointed to by the selected video play address; After determining that the application program identifier is consistent with the program identifier of the first application program, it further includes: Send the public key to the screen mirroring transmitting end, so that the screen mirroring transmitting end encrypts the user permission information based on the public key to obtain the encrypted user permission information; the user permission information includes user video play right information and user identifier; Decrypt the encrypted user permission information sent by the screen mirroring transmitting end using the private key to obtain the user permission information; Based on the user permission information, screen the video play addresses corresponding to the video identifier provided by the first application program to obtain the screened video play addresses, and the screened video play addresses are the video play addresses that match the user permission information; The step of selecting one of the video play addresses according to the video play requirements and playing the video content pointed to by the selected video play address includes: Select a video content pointed to by a filtered video playback address according to the video playback requirements for playback.
7. A screen mirroring method, characterized in that,Applied to a screen mirroring transmitting end, the method includes: Send a screen mirroring request through a first application program, receive a screen mirroring information address sent by a screen mirroring display end in response to the screen mirroring request, and obtain screen mirroring display end information pointed to by the screen mirroring information address; wherein, the screen mirroring display end information at least includes information reflecting the application programs possessed by the screen mirroring display end. Based on the screen mirroring display end information, determine whether the screen mirroring display end has the first application program. If the screen mirroring display end has the first application program, send a video identifier and an application program identifier of the first application program, so that when the screen mirroring display end confirms that the application program identifier is consistent with the program identifier of the first application program, based on the video identifier, select a video content pointed to by a video playback address that meets the video playback requirements from multiple video playback addresses corresponding to the video identifier in the video resources of the first application program possessed by itself for playback; wherein, the video identifier is the identifier of the video in the first application program. Wherein, after the screen mirroring display end confirms that the application program identifier is consistent with the program identifier of the first application program, it also sends a public key to the screen mirroring transmitting end, so that the screen mirroring transmitting end encrypts user permission information based on the public key to obtain encrypted user permission information; the user permission information includes user video playback right information and user identification; decrypt the encrypted user permission information sent by the screen mirroring transmitting end using a private key to obtain the user permission information; based on the user permission information, screen the video playback addresses corresponding to the video identifier provided by the first application program to obtain filtered video playback addresses, and the filtered video playback addresses are video playback addresses that match the user permission information.
8. The screen mirroring method according to claim 7, wherein, It also includes at least one of the following methods: Method 1: Receive the public key sent by the screen mirroring display end, encrypt the user permission information based on the public key to obtain encrypted user permission information, and send the encrypted user permission information to the screen mirroring display end, so that after the screen mirroring display end decrypts the encrypted user permission information using the private key to obtain the user permission information, based on the user permission information, screen the multiple video playback addresses corresponding to the video identifier provided by the first application program, and play the video content pointed to by the filtered video playback address that meets the video playback requirements. Method 2: Send a video playback address to the screen mirroring display end, so that when the screen mirroring display end does not have the first application program or the application program identifier is inconsistent with the program identifier of the first application program, the screen mirroring display end plays the video content pointed to by the received video playback address. Method 3: Send the user's video playback history to the screen mirroring display terminal, so that the screen mirroring display terminal obtains the video identifiers of the videos related to the user's video playback history in the first application program, and displays the video information corresponding to the obtained video identifiers on the screen mirroring display terminal.
9. A screen mirroring system, wherein, Applied to the screen mirroring transmitting terminal, the system includes: A screen mirroring request sending module, configured to send a screen mirroring request through a first application program, receive the screen mirroring information address sent by the screen mirroring display terminal in response to the screen mirroring request, and obtain the screen mirroring display terminal information pointed to by the screen mirroring information address; wherein, the screen mirroring display terminal information at least includes information reflecting the application programs possessed by the screen mirroring display terminal; An identifier sending module, configured to determine whether the screen mirroring display terminal has the first application program based on the screen mirroring display terminal information. If the screen mirroring display terminal has the first application program, send the video identifier and the application program identifier of the first application program, so that the screen mirroring display terminal, when confirming that the application program identifier is consistent with the program identifier of the first application program, selects the video content pointed to by the video playback address that meets the video playback requirements from the multiple video playback addresses corresponding to the video identifier in the video resources of the first application program it has for playback; wherein, the video identifier is the identifier of the video in the first application program; Wherein, after the screen mirroring display terminal confirms that the application program identifier is consistent with the program identifier of the first application program, it also sends the public key to the screen mirroring transmitting terminal, so that the screen mirroring transmitting terminal encrypts the user permission information based on the public key to obtain the encrypted user permission information; the user permission information includes user video playback entitlement information and user identification; decrypt the encrypted user permission information sent by the screen mirroring transmitting terminal using the private key to obtain the user permission information; based on the user permission information, screen the video playback addresses corresponding to the video identifier provided by the first application program to obtain the screened video playback addresses, and the screened video playback addresses are the video playback addresses that match the user permission information.
Citation Information
Patent Citations
Screen projection control method, screen projection playing method and related devices
CN111741352A
Screen projection method, device and system, screen projection equipment and storage medium
CN112394898A