Play control method, screen projection initiating end, screen projection receiving end, equipment and medium
By interacting with the device performance parameters of the screen projection initiator and the receiver, the target playback address is determined, solving the problem of stream specification mismatch in DLNA screen projection and achieving a high-quality multimedia screen projection experience.
Patent Information
- Application Number
- CN202510972946.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-15
- Publication Date
- 2025-09-30
AI Technical Summary
In DLNA screen mirroring, the sender cannot determine the performance of the receiver, resulting in a mismatch in the provided bitstream specifications. This may cause the receiver to be unable to play high-resolution multimedia or waste the resources of a high-performance receiver.
The screen projection initiator and the receiver determine the target playback address by interacting with the device performance parameters to match the device performance of the receiver, thereby optimizing the multimedia screen projection process.
Ensure that the receiving end can successfully play multimedia and maximize device performance to provide a higher-quality screen projection and playback experience.
Smart Images

Figure CN120730107A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of screen projection technology, and in particular to a playback control method, a screen projection initiator, a screen projection receiver, a device, and a medium. Background Art
[0002] DLNA (Digital Living Network Alliance) screen projection is a media content push technology based on the local network. It allows users to transfer multimedia files from sending terminals such as mobile phones and computers to receiving terminals such as TVs or large-screen devices for playback via wireless networks.
[0003] When a sender initiates multimedia projection via DLNA to a receiver, the performance of the receiver varies, making it difficult for the sender to determine the appropriate bitrate to provide. Providing a high-resolution bitrate may result in playback issues due to the receiver's inability to support it. Providing a low-resolution bitrate wastes performance and reduces playback quality for high-performance receivers. Therefore, DLNA projection currently faces the challenge of adapting the multimedia content to the receiver's performance. Summary of the Invention
[0004] In order to solve the above technical problems, the present disclosure provides a playback control method, a screen projection initiator, a screen projection receiver, a device and a medium.
[0005] According to one aspect of the present disclosure, a playback control method is provided, which is applied to a screen projection initiator; the method includes:
[0006] In response to a screen projection request for multimedia, determining a screen projection receiving end and reading device performance parameters of the screen projection receiving end;
[0007] Determining a target playback address for the multimedia that matches the device performance parameters;
[0008] The target playback address is pushed to the screen projection receiving end so that the screen projection receiving end plays the multimedia based on the target playback address.
[0009] According to another aspect of the present disclosure, a playback control method is provided, which is applied to a screen projection receiving end; the method includes:
[0010] Based on the projection request of the screen projection initiator for the multimedia, the device performance parameters of the screen projection receiving end are fed back to the screen projection initiator, so that the screen projection initiator determines a target playback address for the multimedia that matches the device performance parameters;
[0011] Receive the target playback address pushed by the screen projection initiator;
[0012] The multimedia is played based on the target playback address.
[0013] According to another aspect of the present disclosure, a screen projection initiator is provided, comprising:
[0014] A receiving end determination module, configured to determine a screen projection receiving end and read device performance parameters of the screen projection receiving end in response to a screen projection request for multimedia;
[0015] An address matching module is used to determine a target playback address for the multimedia that matches the device performance parameters;
[0016] The push module is used to push the target playback address to the screen projection receiving end so that the screen projection receiving end plays the multimedia based on the target playback address.
[0017] According to another aspect of the present disclosure, a screen projection receiving terminal is provided, comprising:
[0018] A parameter feedback module is used to feed back the device performance parameters of the screen projection receiving end to the screen projection initiator based on the screen projection request for multimedia, so that the screen projection initiator determines a target playback address for the multimedia that matches the device performance parameters;
[0019] An address receiving module, configured to receive the target playback address pushed by the screen projection initiator;
[0020] The multimedia playing module is used to play the multimedia based on the target playing address.
[0021] According to another aspect of the present disclosure, a playback control system is further provided, the system comprising: a screen projection initiator and a screen projection receiver;
[0022] The screen projection initiator is used to respond to a screen projection request for multimedia, determine a screen projection receiving end and read device performance parameters of the screen projection receiving end; determine a target playback address for the multimedia that matches the device performance parameters; and push the target playback address to the screen projection receiving end;
[0023] The screen projection receiving end is used to feed back the device performance parameters to the screen projection initiating end, and to play the multimedia based on the target playback address.
[0024] According to another aspect of the present disclosure, an electronic device is provided, comprising:
[0025] processor;
[0026] a memory for storing instructions executable by the processor;
[0027] The processor is configured to read the executable instructions from the memory and execute the instructions to implement the above-mentioned playback control method.
[0028] According to another aspect of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the above-mentioned playback control method.
[0029] According to another aspect of the present disclosure, a computer program product is further provided. When the computer program product is run on a computer, the computer is enabled to implement the playback control method as described above.
[0030] The technical solution provided by the embodiments of the present disclosure has the following advantages over the prior art:
[0031] The technical solution provided by the embodiment of the present disclosure does not directly push the original address of the multimedia to the projection receiving end, or does not directly push it according to the most basic 1080P, when the projection initiator performs multimedia projection, but increases the interaction and adaptation capabilities of the device performance parameters; first, in response to the projection request for multimedia, the projection receiving end is determined and the device performance parameters that the projection receiving end can support are actively read; then, the target playback address that matches the device performance parameters is determined for the multimedia, and the playback address of the multimedia is unified with the device performance parameters of the projection receiving end at the projection initiator, thereby optimizing and improving the adaptability between the multimedia and the projection receiving end; then, the target playback address is pushed to the projection receiving end for multimedia playback, which can ensure that the projection receiving end can successfully play the multimedia and maximize its device performance, providing a higher quality projection playback experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0033] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0034] Figure 1 This is a flowchart of the playback control method of the screen projection initiator according to the embodiment of the present disclosure;
[0035] Figure 2 A schematic diagram of the performance parameters of the device described in the embodiment of the present disclosure;
[0036] Figure 3This is a flowchart of the playback control method of the screen projection receiving end according to the embodiment of the present disclosure;
[0037] Figure 4 This is a structural diagram of the screen projection initiator according to an embodiment of the present disclosure;
[0038] Figure 5 This is a structural diagram of the screen projection receiving terminal according to an embodiment of the present disclosure;
[0039] Figure 6 This is a schematic diagram of the structure of the electronic device described in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0040] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features therein can be combined with each other in the absence of conflict.
[0041] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0042] When a sender initiates multimedia screen projection to a receiver via DLNA, the sender (such as a mobile phone) usually has good performance and can support high-resolution playback quality. However, the performance of the receiver varies, and the sender cannot determine what resolution stream specifications to provide to the receiver. To address this issue, one related solution is to provide a unified maximum 1080p stream to ensure compatibility, as 1080p support is a basic requirement for TVs on the market. Although this solution covers the basic needs of mainstream receivers, for high-performance receivers (such as TVs that support higher resolutions such as 4K or 8K), there will be performance waste and loss of screen projection playback quality.
[0043] Based on this, in order to address the adaptation issues of multimedia and receiving end performance faced by DLNA screen projection, and to ensure that users have a better playback and screen projection experience on the receiving end, the disclosed embodiments provide a playback control method, a screen projection initiator, a screen projection receiving end, a device and a medium. When performing multimedia screen projection, this solution does not directly push the original address of the multimedia to the screen projection receiving end, or does not directly push it according to the most basic 1080P, but instead increases the interaction and adaptation capabilities of the device performance parameters, so that the screen projection initiator can actively read the device performance parameters supported by the screen projection receiving end, and then specifically determine a better target playback address for the multimedia based on the device performance parameters; thereby ensuring that the screen projection receiving end can not only successfully play multimedia, but also maximize its device performance, providing a higher quality screen projection playback experience.
[0044] Figure 1 This is a flowchart of a playback control method provided in an embodiment of the present disclosure. The method can be applied to a scenario in which multimedia is pushed from a screen projection initiator to a screen projection receiver for playback via DLNA. The method can be executed by a playback control device configured at the screen projection initiator. The source end can include any terminal with video playback and screen projection capabilities, such as a mobile phone, tablet, etc. The playback control device can be implemented using software and / or hardware.
[0045] like Figure 1 As shown, the playback control method provided in this embodiment is applied to the screen projection initiator and may include the following steps S102-S106.
[0046] S102, in response to a screen projection request for multimedia, determining a screen projection receiving end and reading device performance parameters of the screen projection receiving end.
[0047] In this embodiment, the screen projection initiator can be a video APP (Application) of a mobile terminal, etc., which is used to provide multimedia such as video, images and audio. The screen projection receiving end may include: digital TV, projector, set-top box and game console, etc., which are used to play the multimedia pushed by the screen projection initiator. The screen projection initiator may push multimedia under various playback parameters (such as resolution, bit rate, encoding format, etc.). The device performance parameters of the screen projection receiving end must support the playback parameters of the multimedia in order to successfully play the multimedia and better utilize the device performance to ensure high-quality playback effects.
[0048] In one embodiment, determining the screen projection receiving end in response to a screen projection request for multimedia may include: sending a broadcast message carrying a local area network identifier in response to the screen projection request for multimedia; receiving a broadcast response message, and parsing the broadcast response message to generate a list of candidate receiving ends; and in response to a screen projection click operation on a target receiving end in the candidate receiving end list, using the target receiving end as the screen projection receiving end.
[0049] Among them, the multimedia currently executing the screen projection request can be a certain multimedia selected by the user in the video APP of the screen projection initiator, or the multimedia currently being played by the video APP. When the user clicks the screen projection button of the multimedia, then in response to the screen projection request for the multimedia, the screen projection initiator needs to discover the screen projection devices in the unified local area network through the DLNA protocol. Therefore, a message carrying the local LAN identifier is generated and broadcast. At this time, the devices in the same local area network will receive the broadcast message and return their basic device information in the broadcast response message. The screen projection initiator parses the broadcast response message returned by each device, obtains the basic information of each device, generates a list of candidate receiving terminals and displays it to the user. When the user clicks on a screen projection device in the candidate receiving terminal list, the screen projection device selected by the click is determined as the screen projection receiving terminal.
[0050] After determining the screen projection receiving end, the device performance parameters of the screen projection receiving end can be read; among them, the device performance parameters are used to indicate the device playback capabilities of the screen projection receiving end, and may include at least but not limited to the following: screen resolution, encoding format, dynamic range and sound effect parameters.
[0051] In this embodiment, the performance parameters of the screen projection receiving end device may not match the playback parameters of the multimedia sent by the screen projection initiator. For example, the performance of the screen projection receiving end is poor and does not support the playback of multimedia under the original playback parameters. Alternatively, the performance of the screen projection receiving end is high and supports providing higher quality playback effects for multimedia. Based on the above considerations, the screen projection initiator of this embodiment can obtain the device performance parameters of the screen projection receiving end before sending the playback address (Uniform Resource Locator, URL) of the multimedia to the screen projection receiving end, such as at least one of the screen resolution, encoding format, dynamic range and sound effect parameters, so as to determine the target playback address for the multimedia that matches the device performance parameters, thereby improving the screen projection success rate and playback effect.
[0052] In an embodiment of reading device performance parameters of a screen projection receiving end, the method may include:
[0053] The screen projection initiator responds to the multimedia screen projection request, determines the screen projection receiving end, and sends a parameter reading instruction to the screen projection receiving end; receives the parameter configuration file feedback from the screen projection receiving end in response to the parameter reading instruction; and parses the device performance parameters from the parameter configuration file.
[0054] In a specific implementation, the device performance parameters can be pre-written into the parameter configuration file of the screen projection receiving end. The parameter configuration file for writing the device performance parameters is, for example, the description.xml file format shown in Table 1 below.
[0055] Table 1: Parameter configuration file
[0056]
[0057]
[0058] The screen projection initiator can send a parameter read instruction to the screen projection receiver to obtain the parameter configuration file shown in Table 1 from the screen projection receiver. The parameter read instruction can be carried in the screen projection request, or the screen projection initiator can trigger the generation of the parameter read instruction based on the screen projection request.
[0059] In the parameter configuration file shown in Table 1, DPC is the abbreviation of the field node used to represent device performance parameters. The full name is Device Playback Capability. Device performance parameters are used to represent the device playback capabilities of the screen projection receiver.
[0060] After obtaining the parameter configuration file, parse the DPC field in the parameter configuration file to obtain the device performance parameters of the screen projection receiving end. Figure 2 Examples show the meanings of multiple equipment performance parameters and their corresponding numbers. Figure 2 The value of the DPC field in Table 1: 01020101 indicates that the device performance parameters of the screen projection receiving end include: screen resolution of 4k, dynamic range of HDR, video encoding format of H265, and sound effect of ACC. In this case, the playback address of multimedia that matches the above-mentioned device performance parameters can be pushed to the screen projection receiving end in a targeted manner, that is, the playback address with a clarity of 4k, a dynamic range of HDR, a video encoding format of H265, and a sound effect of ACC is transmitted to the screen projection receiving end, so that the screen projection receiving end can play the multimedia locally based on the playback address.
[0061] S104: Determine a target playback address for the multimedia that matches the device performance parameters.
[0062] This embodiment may include: obtaining the original playback parameters of the multimedia and matching the original playback parameters with the device performance parameters; if the device performance parameters can support the playback of the multimedia under the original playback parameters, directly pushing the original playback address of the multimedia to the screen projection receiving end for multimedia playback; if the device performance parameters do not support the playback of the multimedia under the original playback parameters, combining the code stream data corresponding to the multiple playback parameters pre-generated for the multimedia, and pushing the target playback address that its device performance parameters can support to the screen projection receiving end. This embodiment ensures that the target playback address of the multimedia screen projection is optimally matched with the device performance parameters of the screen projection receiving end.
[0063] S106, pushing the target playback address to the screen projection receiving end, so that the screen projection receiving end plays the multimedia based on the target playback address.
[0064] In this embodiment, the target playback address can be pushed to the screen projection receiving end, so that the screen projection receiving end downloads the multimedia code stream data through the target playback address and plays the multimedia locally.
[0065] Based on the above embodiment, the playback control method provided in this embodiment may further include:
[0066] In response to a screen projection request for multimedia, determine the screen projection receiving end and send a parameter reading instruction to the screen projection receiving end; receive a parameter configuration file feedback from the screen projection receiving end in response to the parameter reading instruction; parse the device performance parameters from the parameter configuration file; determine a target playback address for the multimedia that matches the device performance parameters; push the target playback address to the screen projection receiving end, so that the screen projection receiving end plays the multimedia locally based on the target playback address.
[0067] In the above playback control method, regarding the step of determining a target playback address for multimedia that matches the device performance parameters, the following possible embodiment is provided.
[0068] In one embodiment, determining a target playback address for multimedia that matches the device performance parameters may include:
[0069] Step 1: Obtain original multimedia playback parameters.
[0070] Step 2: Based on the device performance parameters, determine whether the screen projection receiving end supports multimedia playback under the original playback parameters.
[0071] Specifically, it can be determined whether the device performance parameters of the screen projection receiver can cover the original multimedia playback parameters. For example, the device performance parameters include: screen resolution of 4K, dynamic range of HDR, video encoding format of H265, and sound effects of ACC; the original playback parameters include: resolution of 4K, video encoding format of H265, dynamic range of SDR, and sound effects of ACC.
[0072] Through judgment, it is found that among the various parameters, the dynamic range in the device performance parameters is HDR, which can cover the dynamic range in the original playback parameters is SDR, and the other parameters match each other; therefore, it is determined that the device performance parameters can cover the original playback parameters of the multimedia, that is, it is determined that the screen projection receiving end can support the playback of multimedia under the original playback parameters. In this case, the following step 3 can be executed. Conversely, if the screen projection receiving end does not support the playback of multimedia under the original playback parameters, the subsequent step 4 is executed.
[0073] Step 3: If supported, the original playback address of the multimedia is determined as the target playback address.
[0074] Step 4: If it is not supported, the original playback parameters are converted into the first playback parameters supported by the screen projection receiving end based on the device performance parameters; and based on the preset correspondence between the playback parameters and the playback address, the target playback address corresponding to the first playback parameter is determined for the multimedia.
[0075] For example, the device performance parameters include: screen resolution of 1080k, dynamic range of SDR, video encoding format of H265, and sound effect of ACC; the original playback parameters include: resolution of 4k, dynamic range of HDR, and sound effect of Dolby.
[0076] We determined that the device's performance parameters, including 1080p screen resolution, SDR dynamic range, and ACC sound effects, do not cover the original playback parameters of 4K resolution, HDR dynamic range, and Dolby sound effects. Therefore, we determined that the device's performance parameters cannot cover the original multimedia playback parameters, confirming that the screen projection receiver does not support multimedia playback under the original playback parameters.
[0077] In this case, the code stream data corresponding to the multiple playback parameters pre-generated for the multimedia is obtained; the multiple playback parameters correspond to different playback addresses. Then, based on the preset correspondence between the playback parameters and the playback addresses, the target playback address corresponding to the first playback parameter is determined for the multimedia.
[0078] Alternatively, in another implementation, the screen projection initiator can send the device performance parameters and the original playback video to the transcoding server. The transcoding server converts the original playback parameters into the first playback parameters supported by the screen projection receiver based on the device performance parameters. Continuing with the above example, based on the device performance parameters, the original 4k resolution of the multimedia can be converted to a 1080P resolution by oversampling (Downscale), and the dynamic range of the multimedia can be set to SDR and the sound effect to ACC to obtain the first playback parameters that the screen projection receiver can support after the conversion.
[0079] Then, the transcoding server receives the original multimedia stream, transcodes the original stream into a temporary stream segment according to the first playback parameter, and generates a target playback address for the stream segment. The screen projection initiator pushes the target playback address to the screen projection receiving end for multimedia playback.
[0080] In summary, the playback control method provided by the embodiment of the present disclosure includes: responding to a screen projection request for multimedia, determining the screen projection receiving end and reading the device performance parameters of the screen projection receiving end; determining a target playback address for the multimedia that matches the device performance parameters; pushing the target playback address to the screen projection receiving end so that the screen projection receiving end plays the multimedia based on the target playback address.
[0081] In order to improve the playback quality of DLNA screen projection multimedia, this technical solution does not directly push the original address of the multimedia to the screen projection receiving end, or does not directly push it according to the most basic 1080P, but increases the interaction and adaptation capabilities of the device performance parameters. After determining the screen projection receiving end, the screen projection initiator can actively obtain the device performance parameters that the screen projection receiving end can support, and then specifically determine the target playback address that matches the device performance parameters for the multimedia. The screen projection initiator unifies the multimedia playback address with the device performance parameters of the screen projection receiving end, thereby optimizing and improving the adaptability between the multimedia and the screen projection receiving end; further, when pushing the target playback address to the screen projection receiving end for multimedia playback, it can ensure that the screen projection receiving end can successfully play the multimedia and maximize its device performance, providing a higher quality screen projection playback experience.
[0082] Based on the above solution, in some real screen projection scenarios, if the screen projection receiver at the user's home (such as a common TV) has high performance and supports up to 4k, or even higher 8k; then, when projecting the screen to the screen projection receiver, the screen projection initiator can push higher resolution multimedia, thereby improving the playback picture quality experience and maximizing the use of device performance; if the performance of the screen projection receiver is poor and only supports up to 1080p, then the problem of screen projection being unable to be played due to pushing 4k resolution multimedia can also be avoided.
[0083] Figure 3 This is a flowchart of a playback control method provided by an embodiment of the present disclosure. The method is applied to a screen projection receiving end and can be executed by a playback control device configured at the screen projection receiving end. Figure 3 As shown, the playback control method provided in this embodiment is applied to the screen projection receiving end and may include the following steps S202-S206.
[0084] S202: Based on the projection request of the screen projection initiator for the multimedia, feeding back the device performance parameters of the screen projection receiving end to the screen projection initiator, so that the screen projection initiator determines a target playback address for the multimedia that matches the device performance parameters;
[0085] S204, receiving the target playback address pushed by the screen projection initiator;
[0086] S206: Play the multimedia based on the target playback address.
[0087] In one embodiment, feeding back the device performance parameters of the screen projection receiving end to the screen projection initiating end includes:
[0088] Receive a parameter reading instruction sent by the screen projection initiator;
[0089] The parameter configuration file is fed back to the screen projection initiator according to the parameter reading instruction, so that the screen projection initiator parses the device performance parameters from the parameter configuration file.
[0090] In the playback control method provided by the embodiment of the present disclosure, when the screen projection receiving end receives the screen projection request for multimedia from the screen projection initiating end, it first feeds back the device performance parameters to the screen projection initiating end, and then receives the target playback address pushed by the screen projection initiating end; because the target playback address is an address that matches the device performance parameters determined by the screen projection initiating end for the multimedia, it can be unified with the device performance parameters of the screen projection receiving end, thereby optimizing and improving the adaptability between the multimedia and the screen projection receiving end; furthermore, when the screen projection receiving end plays multimedia based on the target playback address, it can not only successfully play the multimedia, but also maximize its device performance, providing a higher quality screen projection playback experience.
[0091] Figure 4 This is a schematic diagram of the structure of a screen projection initiator provided in an embodiment of the present disclosure, which can be used to implement the playback control method provided in the above embodiment. The screen projection initiator 300 may include the following modules:
[0092] A receiving end determination module 310 is configured to determine a screen projection receiving end and read device performance parameters of the screen projection receiving end in response to a screen projection request for multimedia;
[0093] An address matching module 320 is configured to determine a target playback address for the multimedia that matches the device performance parameters;
[0094] The push module 330 is used to push the target playback address to the screen projection receiving end to play the multimedia, so that the screen projection receiving end plays the multimedia based on the target playback address.
[0095] Figure 5 This is a schematic diagram of the structure of a screen projection receiving terminal provided in an embodiment of the present disclosure, which can be used to implement the playback control method provided in the above embodiment. The screen projection receiving terminal 400 may include the following modules:
[0096] A parameter feedback module 410 is configured to feed back the device performance parameters of the screen projection receiving end to the screen projection initiator based on the screen projection request for multimedia, so that the screen projection initiator determines a target playback address for the multimedia that matches the device performance parameters;
[0097] The address receiving module 420 is used to receive the target playback address pushed by the screen projection initiator;
[0098] The multimedia playing module 430 is configured to play the multimedia based on the target playing address.
[0099] The device provided in this embodiment has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0100] This embodiment provides a playback control system, which includes: a screen projection initiator and a screen projection receiver;
[0101] The screen projection initiator is used to respond to a screen projection request for multimedia, determine a screen projection receiving end and read device performance parameters of the screen projection receiving end; determine a target playback address for the multimedia that matches the device performance parameters; and push the target playback address to the screen projection receiving end;
[0102] The screen projection receiving end is used to feed back the device performance parameters to the screen projection initiating end, and to play the multimedia based on the target playback address.
[0103] Figure 6 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 6 As shown, the electronic device 500 includes one or more processors 501 and a memory 502 .
[0104] The processor 501 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 500 to perform desired functions.
[0105] The memory 502 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), a hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 501 may execute the program instructions to implement the playback control method of the embodiment of the present disclosure described above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.
[0106] In one example, the electronic device 500 may further include an input device 503 and an output device 504 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0107] In addition, the input device 503 may also include, for example, a keyboard, a mouse, and the like.
[0108] The output device 504 can output various information to the outside, including determined distance information, direction information, etc. The output device 504 can include, for example, a display, a speaker, a printer, a communication network and its connected remote output device, etc.
[0109] Of course, to simplify, Figure 6 Only some of the components related to the present disclosure in the electronic device 500 are shown, and components such as buses, input / output interfaces, etc. are omitted. In addition, the electronic device 500 may further include any other appropriate components according to specific application scenarios.
[0110] Furthermore, this embodiment also provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the above-mentioned playback control method.
[0111] Furthermore, this embodiment also provides a computer program product, which, when executed on a computer, enables the computer to implement the playback control method described above.
[0112] The embodiments of the present disclosure provide a playback control method, a screen projection initiator, a screen projection receiver, a playback control system, an electronic device, and a computer program product of a medium, including a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the previous method embodiments. For specific implementation, please refer to the method embodiments and will not be repeated here.
[0113] It should be noted that, in this document, relational terms such as "first" and "second" are used only 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. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0114] The foregoing description is intended only to provide specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments described herein, but rather to be construed in the broadest manner consistent with the principles and novel features disclosed herein.
Claims
1. A playback control method, characterized in that: The method is applied to the screen projection initiator; the method includes: In response to a screen projection request for multimedia, determining a screen projection receiving end and reading device performance parameters of the screen projection receiving end; Determining a target playback address for the multimedia that matches the device performance parameters; The target playback address is pushed to the screen projection receiving end so that the screen projection receiving end plays the multimedia based on the target playback address.
2. The method according to claim 1, characterized in that The determining of a target playback address for the multimedia that matches the device performance parameter includes: Obtaining original playback parameters of the multimedia; Based on the device performance parameters, determining whether the screen projection receiving end supports playing the multimedia under the original playback parameters; If supported, determining the original playback address of the multimedia as the target playback address; If not supported, converting the original playback parameters into first playback parameters supported by the screen projection receiving end based on the device performance parameters; Based on a preset correspondence between playback parameters and playback addresses, a target playback address corresponding to the first playback parameter is determined for the multimedia.
3. The method according to claim 1, characterized in that The step of determining a screen projection receiving end and reading device performance parameters of the screen projection receiving end in response to a multimedia screen projection request includes: In response to a screen projection request for multimedia, determining a screen projection receiving end, and sending a parameter reading instruction to the screen projection receiving end; Receiving a parameter configuration file fed back by the screen projection receiving end in response to the parameter reading instruction; Device performance parameters are parsed from the parameter configuration file.
4. The method according to claim 1, wherein The equipment performance parameters include at least one of the following: Screen resolution, encoding format, dynamic range and sound parameters.
5. A playback control method, characterized in that: The method is applied to a screen projection receiving end; the method includes: Based on the projection request of the screen projection initiator for the multimedia, the device performance parameters of the screen projection receiving end are fed back to the screen projection initiator, so that the screen projection initiator determines a target playback address for the multimedia that matches the device performance parameters; Receive the target playback address pushed by the screen projection initiator; The multimedia is played based on the target playback address.
6. The method according to claim 5, characterized in that Feedback of the device performance parameters of the screen projection receiving end to the screen projection initiating end includes: Receive a parameter reading instruction sent by the screen projection initiator; The parameter configuration file is fed back to the screen projection initiator according to the parameter reading instruction, so that the screen projection initiator parses the device performance parameters from the parameter configuration file.
7. A screen projection initiator, characterized in that: include: A receiving end determination module, configured to determine a screen projection receiving end and read device performance parameters of the screen projection receiving end in response to a screen projection request for multimedia; An address matching module is used to determine a target playback address for the multimedia that matches the device performance parameters; The push module is used to push the target playback address to the screen projection receiving end so that the screen projection receiving end plays the multimedia based on the target playback address.
8. A screen projection receiving terminal, characterized in that: include: A parameter feedback module is used to feed back the device performance parameters of the screen projection receiving end to the screen projection initiator based on the screen projection request for multimedia, so that the screen projection initiator determines a target playback address for the multimedia that matches the device performance parameters; An address receiving module, configured to receive the target playback address pushed by the screen projection initiator; The multimedia playing module is used to play the multimedia based on the target playing address.
9. A playback control system, characterized in that: The system includes: a screen projection initiator and a screen projection receiver; The screen projection initiator is used to respond to a screen projection request for multimedia, determine a screen projection receiving end and read device performance parameters of the screen projection receiving end; determine a target playback address for the multimedia that matches the device performance parameters; and push the target playback address to the screen projection receiving end; The screen projection receiving end is used to feed back the device performance parameters to the screen projection initiating end, and to play the multimedia based on the target playback address.
10. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is configured to read the executable instructions from the memory and execute the instructions to implement the method described in any one of claims 1 to 4 or any one of claims 5 to 6.
11. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed on the terminal device, the terminal device implements the method according to any one of claims 1 to 4 or the method according to any one of claims 5 to 6.
12. A computer program product, characterized in that When the computer program product is run on a computer, the computer is enabled to implement the method according to any one of claims 1 to 4 or the method according to any one of claims 5 to 6.