Playback control methods, devices, electronic equipment and storage media

By determining the filtering feature information of the media control object to be processed in the terminal device and filtering the target media control object, the problem of miscontrol in multimedia applications and session scenarios is solved, and more accurate and stable playback control is achieved.

CN123123647APending Publication Date: 2026-11-17SHENZHEN FALCON NETWORK MEDIA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611234842.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-13
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

When multiple media applications and media sessions exist in a terminal device, existing technologies struggle to accurately select the appropriate media control object, leading to problems such as miscontrol and control failure.

Method used

By responding to media control trigger events, the system identifies the media control object to be processed, obtains its filtering feature information, filters the target media control object based on the filtering feature information, and sends playback control instructions to the target media session.

Benefits of technology

It improves the accuracy and stability of media control object selection and reduces the probability of miscontrol and control failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123123647A_ABST
    Figure CN123123647A_ABST
Patent Text Reader

Abstract

This application discloses a playback control method, apparatus, electronic device, and storage medium, relating to the field of terminal control technology. The method includes: responding to a media control trigger event, determining at least one media control object to be processed, wherein the media control object to be processed is associated with a media session; obtaining filtering feature information corresponding to each media control object to be processed; filtering a target media control object from the at least one media control object to be processed based on the filtering feature information; and sending a playback control command to the target media session corresponding to the target media control object. This method can improve the accuracy and rationality of media control object selection and reduce the probability of miscontrol and control failure in scenarios where multiple media applications coexist or multiple media sessions exist within the same media application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal control technology, specifically to a playback control method, device, electronic device, and storage medium. Background Technology

[0002] As the functions of terminal devices such as smart TVs, set-top boxes, and smart display devices become increasingly sophisticated, users can typically install and use multiple media applications on these devices, such as music applications, video applications, karaoke applications, or other audio playback applications. To facilitate users' quick access to media playback information and execution of playback controls on the desktop, the terminal device's desktop launcher usually provides media control entry points, such as playback cards, quick control bars, or media button response modules on the remote control.

[0003] In related technologies, media applications can expose playback status, media information, and control capabilities through the media session mechanism provided by the system. The desktop or system control terminal can obtain the media control object in the current system based on this media session mechanism, and read the playback status, song information, playback queue, and other content through the media control object, or send control commands such as play, pause, previous track, and next track to the corresponding media session.

[0004] However, in real-world usage scenarios, multiple media applications may coexist on a terminal device, and each application may create and expose a media session. Furthermore, within the same media application, multiple media sessions may be created due to business playback modules, internal SDK modules, auxiliary playback modules, etc., allowing the system to access multiple media control objects. In this case, the desktop application needs to determine one of these media control objects for display and control. Summary of the Invention

[0005] This application provides a playback control method, device, electronic device, and storage medium, which can improve the rationality of selecting from multiple media control objects.

[0006] In a first aspect, embodiments of this application provide a playback control method, the method comprising: In response to a media control trigger event, at least one media control object to be processed is identified, the media control object to be processed being associated with a media session; Obtain the filtering feature information corresponding to each of the media control objects to be processed; Target media control objects are selected from the at least one media control object to be processed based on the filtering feature information described above; The playback control command is sent to the target media session corresponding to the target media control object.

[0007] Secondly, embodiments of this application also provide a playback control device, which includes: The determination module is used to determine at least one media control object to be processed in response to a media control trigger event, the media control object to be processed being associated with a media session; The acquisition module is used to acquire the filtering feature information corresponding to each of the media control objects to be processed; The filtering module is used to filter target media control objects from the at least one media control object to be processed based on the filtering feature information. The sending module is used to send playback control commands to the target media session corresponding to the target media control object.

[0008] Optionally, in some embodiments of this application, the filtering feature information includes filtering feature information and selecting feature information; The step of filtering target media control objects from the at least one media control object to be processed based on the filtering feature information includes: The at least one media control object to be processed is filtered according to the filtering feature information to obtain at least one filtered media control object. The target media control object is selected from the at least one filtered media control object based on the selected feature information.

[0009] Optionally, in some embodiments of this application, the filtering feature information includes at least one of whether it contains a valid playback status, whether it is in the target whitelist, or whether it is a target object identifier, wherein the target object identifier is used to indicate that the media session is a target service playback session; The selection feature information includes at least one of the following: whether it is currently playing, whether it corresponds to the most recently played application, or the default media control object.

[0010] Optionally, in some embodiments of this application, the step of filtering the target media control object from the at least one filtered media control object based on the selection feature information includes: Filtered media control objects that are currently playing are selected as the target media control objects; Alternatively, if there is no filtered media control object that is currently playing, then the filtered media control object corresponding to the most recently played application is selected as the target media control object. Alternatively, if there is no filtered media control object corresponding to the most recently played application, then a default media control object is selected from the filtered media control objects as the target media control object.

[0011] Optionally, in some embodiments of this application, the target whitelist is obtained by parsing after being distributed from the cloud, or when the target whitelist is not distributed from the cloud and / or is empty, the local default whitelist is determined as the target whitelist; The target whitelist is obtained based on an acquisition command, which is generated when the desktop launcher starts or initializes, or when a judgment command for whether something is in the target whitelist is detected and the target whitelist is empty.

[0012] Optionally, in some embodiments of this application, after filtering target media control objects from the at least one media control object to be processed according to the filtering feature information, the method further includes: If the target media control object is inconsistent with the current media control object, then the media control callback corresponding to the current media control object is cancelled, and the media control callback corresponding to the target media control object is registered.

[0013] Optionally, in some embodiments of this application, after sending the playback control command to the target media session corresponding to the target media control object, the method further includes: Monitor the playback status of the target media session and update the application information of the most recently played session when entering the playback state.

[0014] Thirdly, embodiments of this application also provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps in the playback control method described above.

[0015] Fourthly, embodiments of this application also provide a storage medium, which includes a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the steps in the playback control method described above.

[0016] Fifthly, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in embodiments of this application.

[0017] In summary, in response to a media control trigger event, this application embodiment determines at least one media control object to be processed, which is associated with a media session, obtains filtering feature information corresponding to each media control object to be processed, filters a target media control object from the at least one media control object to be processed according to the filtering feature information, and sends a playback control command to the target media session corresponding to the target media control object.

[0018] In this embodiment, the filtering status feature information corresponding to each media control object to be processed is obtained, and then the target media control object is filtered according to the filtering status feature information. The playback control command is then sent to the target media session corresponding to the target media control object. Therefore, in scenarios where multiple media applications coexist or multiple media sessions exist for the same media application, the accuracy and rationality of media control object selection can be improved, and the probability of miscontrol and control failure can be reduced. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic diagram of a scenario in which a terminal device, as provided in an embodiment of this application, executes the playback control method; Figure 2 This is a schematic flowchart of the playback control method provided in the embodiments of this application; Figure 3 This is a schematic diagram of the playback control device provided in the embodiments of this application; Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application.

[0021] Explanation of icon numbers: 101-Terminal device; 301-Determining module; 302-Acquiring module; 303-Filtering module; 304-Sending module; 401-Processor; 402-Memory; 403-Power supply; 404-Input unit. Detailed Implementation

[0022] The technical solutions of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0023] In the description of the embodiments of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. Furthermore, the terms "first," "second," "third," and "fourth" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first," "second," "third," and "fourth" may explicitly or implicitly include one or more features. In the description of the present invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0024] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.

[0025] This application provides a playback control method, apparatus, electronic device, and storage medium. Specifically, this application provides a playback control apparatus suitable for electronic devices, including terminal devices such as smart TVs, in-vehicle terminals, set-top boxes, and smart display devices. The method can be applied to the desktop of the terminal device, desktop launcher, launcher, TV desktop, media control module, or other control terminals with media display and control capabilities. This control terminal can display music cards, playback status, song information, artist information, and album art information, and respond to user-triggered playback control operations such as play, pause, previous track, and next track. It is understood that a playback control command is generated after responding to a user-triggered playback control operation.

[0026] Understandably, in some scenarios, multiple media applications may run simultaneously on a terminal device, and each application may expose media sessions to the system. Furthermore, multiple media sessions may exist within the same media application, such as a business playback session, an internal SDK session, or an auxiliary function session. Faced with multiple sessions, issues such as unstable control objects, inconsistencies between the control object and user expectations, and playback control commands being sent to non-target media sessions may arise.

[0027] Based on this, in the embodiments of this application, when a media control trigger event occurs, the media control object to be processed is first determined, the filtering feature information of each media control object to be processed is obtained, the target media control object is filtered according to the filtering feature information, and then the playback control instruction is sent to the target media session corresponding to the target media control object, thereby improving the accuracy and stability of the selection of the playback control object.

[0028] For example, please see Figure 1 , Figure 1 This is a schematic diagram illustrating a scenario where a terminal device, according to an embodiment of this application, executes the playback control method. Specifically, the execution process of the playback control method by the terminal device is as follows: In response to a media control trigger event, terminal device 101 determines at least one media control object to be processed, which is associated with a media session, obtains filtering feature information corresponding to each media control object to be processed, filters target media control objects from at least one media control object to be processed according to each filtering feature information, and sends playback control instructions to the target media session corresponding to the target media control object.

[0029] In this embodiment, the filtering status feature information corresponding to each media control object to be processed is obtained, and then the target media control object is filtered according to the filtering status feature information. The playback control command is then sent to the target media session corresponding to the target media control object. Therefore, in scenarios where multiple media applications coexist or multiple media sessions exist for the same media application, the accuracy and rationality of media control object selection can be improved, and the probability of miscontrol and control failure can be reduced.

[0030] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the priority of the embodiments.

[0031] Please see Figure 2 , Figure 2 This is a flowchart illustrating the playback control method provided in an embodiment of this application. Although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than that shown in the flowchart. Specifically, the specific flow of the playback control method is as follows: S201. In response to a media control trigger event, determine at least one media control object to be processed, the media control object to be processed being associated with a media session.

[0032] Among them, media control trigger events refer to events used to trigger the determination of media control objects, the updating of media control objects, the filtering of media control objects, or the execution of playback control. For example, media control trigger events may include desktop launcher startup events, desktop launcher initialization events, media control module initialization events, media session change events, active media session list change events, whitelist configuration change events, and user-triggered playback control operations, etc.

[0033] For example, a media control trigger event can be generated when the smart TV desktop launcher initializes; a media control trigger event can also be generated when the system detects a change in the list of active media sessions; and a media control trigger event can also be generated when the user clicks the play, pause, previous, or next track button on the desktop playback card.

[0034] In this context, the media control object to be processed refers to the media control object that needs to be identified, judged, filtered, or selected after a media control trigger event occurs. This media control object can be used to read the playback status, media information, or control capabilities of a media session, or it can be used to send control commands to the corresponding media session. For example, in the Android system, the media control object to be processed can be a MediaController; in other systems, the media control object to be processed can also be a control proxy object with similar media session control functionality.

[0035] In this context, a media session refers to a session object exposed by a media application to the system or external control terminal, used to represent the media playback status and playback control capabilities. For example, in the Android system, a media session can be a MediaSession. A media session can carry information such as playback status, media metadata, playback queue, control entry points, and jump entry points.

[0036] In this context, "media control object to be processed associated with a media session" refers to the existence of a control relationship, access relationship, or mapping relationship between the media control object to be processed and a specific media session. In other words, the media control object to be processed can act as a control proxy for that media session, enabling the desktop client to read information from the media session or send playback control commands to it. For example, after a music application creates a media session, the system can provide the desktop client with a media control object associated with that media session, allowing the desktop client to control the media session through this media control object.

[0037] In one example, multiple media applications exist simultaneously on the terminal device, such as a first music application, a second music application, and a third music application. Each media application can create its own media session, and the system can provide multiple media control objects to the desktop based on these media sessions. In response to a media control trigger event, the desktop can obtain at least one currently identifiable media control object and treat it as a media control object to be processed.

[0038] Understandably, this step allows the desktop application to identify at least one media control object to be processed after a media control trigger event occurs, providing a basis for subsequently determining the target media control object based on filtering rules. This avoids miscontrol or control failure caused by directly using any media control object when multiple media control objects coexist.

[0039] S202. Obtain the filtering feature information corresponding to each of the media control objects to be processed.

[0040] Among them, filtering feature information refers to the characteristic information used to determine whether a media control object is suitable as a target media control object. Filtering feature information can include status information, attribute information, identification information, configuration information, or historical record information, etc. Its purpose is to provide a basis for subsequent selection of target media control objects.

[0041] For example, the filtering feature information may include whether the media control object to be processed has a readable playback status, whether the application corresponding to the media control object to be processed is within a preset controllable range, whether the media session associated with the media control object to be processed has a specific identifier, whether the media control object to be processed is currently in a playback state, and whether the media control object to be processed matches historical playback records, etc.

[0042] Obtaining filtering feature information refers to the process of acquiring the aforementioned feature information through methods such as interface reading, system querying, configuration parsing, local record reading, or status monitoring. For example, the desktop client can read the playback status information of the media control object to be processed to determine whether it has a valid playback status; it can read the application identifier corresponding to the media control object to be processed to determine whether the application is within the controllable range; it can read the identifier field of the media control object to be processed or its associated media session to determine whether the media session is suitable as a business playback session; and it can also read the historical playback information recorded locally to determine whether the media control object to be processed is related to the recently played application.

[0043] It should be noted that the filtering feature information can be any relevant feature used to filter media control objects. It can come from the media control object or media session itself, or from cloud configuration, local configuration, or desktop records, etc.

[0044] It is understood that through this step, the embodiments of this application can obtain multiple dimensions of screening criteria, so that the subsequent screening of target media control objects no longer relies on a single condition, thereby improving the reliability of the determination of target media control objects.

[0045] S203. Select target media control objects from the at least one media control object to be processed according to the filtering feature information.

[0046] Filtering target media control objects refers to determining the media control objects ultimately used for playback control, media display, status monitoring, or other media control processing from one or more media control objects to be processed, based on filtering feature information. Filtering can include processing methods such as judgment, comparison, filtering, sorting, priority selection, or combination rule matching.

[0047] The target media control object refers to the media control object selected after screening and used to interact with the target media session. The target media control object can be understood as the currently selected master media control object. The target media control object can be used to send playback control commands to the corresponding media session, and can also be used to read the playback status, media metadata, or other session information of the corresponding media session.

[0048] In one example, if only one of multiple media control objects to be processed meets the preset filtering criteria, that media control object can be identified as the target media control object. If multiple media control objects to be processed meet the basic filtering criteria, a media control object that better meets the current media control requirements can be selected as the target media control object according to preset selection rules. If no media control object meets the filtering criteria, no playback control command can be sent, or the media control object to be processed can be re-identified after a subsequent media control trigger event occurs.

[0049] Understandably, this step allows for the identification of a relatively stable target media control object that meets current control requirements among multiple media control objects to be processed. This reduces the instability of control objects caused by changes in system return order, the coexistence of multiple applications, or the coexistence of multiple sessions, thereby improving the rationality of target media control object selection.

[0050] S204. Send the playback control command to the target media session corresponding to the target media control object.

[0051] Playback control commands refer to control commands used to control media playback behavior. For example, playback control commands may include play commands, pause commands, commands to switch to the previous media content, commands to switch to the next media content, stop commands, and commands to continue playback. Playback control commands can be generated by user-triggered playback control operations, or by system control logic, desktop control logic, or other control entry points.

[0052] In this context, a target media session refers to a media session that corresponds to or is associated with the target media control object. Target media sessions are typically created by media applications to receive playback control commands and enable the media application to perform corresponding playback control operations. For example, a target media session could be the media session currently used by a music application to play songs.

[0053] Specifically, sending to the target media session corresponding to the target media control object means transmitting playback control commands to the target media session associated with the target media control object through the control capabilities provided by the target media control object. For example, in the Android system, the desktop client can send play, pause, previous track, or next track control commands to its associated MediaSession through the control interface of the target MediaController.

[0054] It's important to note that the target media control object is typically not the actual entity performing media playback; its role is to act as a control channel between the desktop and the target media session. The actual actions such as playing, pausing, or skipping tracks are performed by the media application to which the target media session belongs. Therefore, sending playback control commands to the target media session through the target media control object ensures that the commands apply to the selected target media session, reducing the risk of sending control commands to the wrong session.

[0055] It is understood that through this step, the embodiments of this application can send playback control instructions to the corresponding target media session after determining the target media control object, thereby achieving stable and accurate playback control.

[0056] Understandably, when multiple media control objects exist simultaneously, directly selecting the target media control object from all available objects might include invalid objects, objects outside the controllable scope, or objects unsuitable for use in business playback sessions. Therefore, filtering can be performed first, followed by selection from the filtered objects, to improve the hierarchy and accuracy of the filtering process.

[0057] That is, optionally, in some embodiments of this application, the filtering feature information includes filtering feature information and selecting feature information, and the step of "filtering target media control objects from the at least one media control object to be processed according to each of the filtering feature information" includes: The at least one media control object to be processed is filtered according to the filtering feature information to obtain at least one filtered media control object. The target media control object is selected from the at least one filtered media control object based on the selected feature information.

[0058] Among them, filtering feature information refers to the feature information used to determine whether a media control object to be processed should be retained as a candidate object. The role of filtering feature information is to exclude media control objects to be processed that do not meet the basic control conditions or are not suitable as candidates. For example, filtering feature information can be used to determine whether a media control object to be processed has available playback status information, whether it falls within the allowed control scope (whether it belongs to a specific application), or whether it has features that distinguish business playback sessions from other sessions (e.g., whether it is an internal SDK and belongs to a non-target business playback session), etc.

[0059] In this context, selection feature information refers to the feature information used to further select a target media control object from the filtered media control objects. The role of selection feature information is to determine one target object according to further selection rules when multiple candidate objects can be used as control objects. For example, selection feature information can be used to characterize whether a filtered media control object better matches the current user's control intent, the current playback scenario, or a preset selection strategy.

[0060] Filtering refers to judging at least one media control object to be processed based on filtering feature information and retaining media control objects that meet the filtering conditions. Filtering can include processing methods such as rejection, exclusion, retention, matching, or conditional judgment. For example, filtering out media control objects that do not have a valid playback status, filtering out media control objects that are not included in the target whitelist, or filtering out media control objects whose media sessions belong to the internal SDK and are not playback sessions of the target business.

[0061] The filtered media control object refers to the media control object that remains after filtering. This filtered media control object can be used as a candidate for selecting the target media control object in subsequent processes.

[0062] It is understood that, through the above method, the embodiments of this application divide the screening process of the target media control object into a filtering stage and a selection stage. The filtering stage is used to ensure the basic validity and applicability of the candidate objects; the selection stage is used to further determine the final control object from the candidate objects. Therefore, it is possible to reduce the participation of unsuitable media control objects in the final selection and improve the accuracy of the screening of target media control objects.

[0063] It is understandable that in actual media control scenarios, the media control objects to be processed may have various differences. For example, some objects may lack a valid playback status, some objects may correspond to applications that are not within the allowed control scope, and some objects may correspond to media sessions that are not the target service playback sessions. Furthermore, after filtering, multiple candidate objects may still exist, requiring further determination of the target object based on selection features. Therefore, the specific content of the filtering feature information and the selection feature information can be further defined. Optionally, in some embodiments of this application, the filtering feature information includes at least one of whether it contains a valid playback status, whether it is in the target whitelist, or whether it is a target object identifier, wherein the target object identifier is used to indicate that the media session is a target service playback session; The selection feature information includes at least one of the following: whether it is currently playing, whether it corresponds to the most recently played application, or the default media control object.

[0064] In this context, a valid playback status refers to the status information that the media control object to be processed can provide to determine the media playback status. This playback status can indicate that the media session is currently playing, paused, stopped, buffering, or in another media state. For example, if the media control object to be processed can return a non-empty playback status, it can be considered to contain a valid playback status; if the media control object to be processed cannot return a playback status or returns an empty playback status, it can be considered not to contain a valid playback status. By determining whether a valid playback status is contained, media control objects that cannot be reliably displayed or controlled can be avoided from participating in subsequent selections.

[0065] The target whitelist refers to a set of application identifiers used to limit the scope of media applications that can be controlled. Application identifiers may include application package names, application IDs, service identifiers, or other identifiers used to distinguish applications. For example, the target whitelist may include the package names of several music applications. When the application identifier corresponding to the media control object to be processed is in the target whitelist, the media control object can be considered to be within the allowed control scope; when its corresponding application identifier is not in the target whitelist, it can be excluded from subsequent selection. The target whitelist can prevent desktop control of unwanted or incompatible media applications.

[0066] The target object identifier refers to the identification information used to identify the target service playback session within a media control object or its associated media session. A target service playback session refers to a media session in a media application that carries the user's actual media playback service and is suitable for responding to desktop playback control operations. For example, a service session in a music application used to play the user's currently selected song can be a target service playback session.

[0067] It should be noted that "whether it is a target object identifier" can be understood as: determining whether a media control object should be retained as the control object corresponding to a target service playback session based on the identifier field, session characteristic field, or flag field of the media control object or its associated media session. That is, it does not exclude the possibility of filtering by identifying non-target service playback sessions. In other words, in a specific implementation, if an identifier field indicates that a media session belongs to an internal SDK session, an auxiliary session, or another non-target service playback session, then based on that identifier field, it can be determined that the media control object does not meet the target object identifier condition, and thus it can be filtered out.

[0068] For example, two media sessions may exist simultaneously in the same media application: one is a service playback session, and the other is an internal SDK session. If the media session corresponding to a certain media control object returned by the system has a specific flags value, such as flags==3, and this value is used in the current application scenario to indicate that the media session is an internal SDK session, then it can be determined based on this flags value that the media control object does not belong to the target service playback session indicated by the target object identifier, thereby filtering out the media control object.

[0069] In this context, "playing" refers to the current state of a media session associated with a media control object, where media content is being played. For example, "playing" could indicate that a media application is outputting audio or video content. Media control objects in a "playing" state are generally closer to the user's current control intent and can therefore be used as a priority selection criterion.

[0070] The most recently played application refers to the application that last played media before the current time. This application can be determined by the desktop client, system, or media control module based on historical playback records. For example, when a music application last entered a playback state, that music application can be recorded as the most recently playing application. When there is no media control object currently playing, the most recently playing application can be used as a reference for determining the target media control object.

[0071] The default media control object is the media control object used as a fallback when the target media control object cannot be determined based on the currently playing state or the most recently played application. The default media control object can be determined according to preset rules. For example, the first object in the filtered media control objects can be used as the default media control object, or it can be determined based on application priority, configuration order, or system return order.

[0072] Understandably, the aforementioned filtering features allow for basic screening of media control objects, reducing the number of invalid, non-whitelisted, or non-target business playback sessions entering the subsequent selection process. Furthermore, the aforementioned selection features enable the identification of target media control objects that better match the current playback scenario or user control intent from the filtered candidate objects. This improves the accuracy of target media control object selection and reduces the risk of mis-control when multiple media sessions exist within the same application.

[0073] It should be noted that after obtaining at least one filtered media control object, if multiple filtered media control objects exist, it is still necessary to determine the final target media control object used to respond to playback control operations. To avoid the target media control object changing randomly with the system's return order, it can be selected according to a certain priority.

[0074] That is, optionally, in some embodiments of this application, the step of "filtering the target media control object from the at least one filtered media control object according to each of the selection feature information" includes: Filtered media control objects that are currently playing are selected as the target media control objects; Alternatively, if there is no filtered media control object that is currently playing, then the filtered media control object corresponding to the most recently played application is selected as the target media control object. Alternatively, if there is no filtered media control object corresponding to the most recently played application, then a default media control object is selected from the filtered media control objects as the target media control object.

[0075] Among them, a filtered media control object that is currently playing refers to a media control object that has been retained after filtering and whose associated media session is currently playing. For example, if the filtered media control object corresponding to the first music application is currently playing, then this filtered media control object can be prioritized as the target media control object.

[0076] The filtered media control object corresponding to the most recently played application refers to the media control object among the filtered media control objects that corresponds to the most recently played application. For example, if the most recently played application recorded on the desktop is the Second Music application, and there is currently no filtered media control object that is playing, then the filtered media control object corresponding to the Second Music application can be selected as the target media control object.

[0077] Specifically, selecting a default media control object from the filtered media control objects means that when neither of the aforementioned two conditions (the existence of a filtered media control object currently playing and the existence of the application that most recently played) is met, an object is selected from the filtered media control objects according to a preset default rule. For example, the default rule could be to select the first object in the list of filtered media control objects, or to select the object with the highest preset priority.

[0078] It's important to note that the above filtering process can form a progressive selection logic. First, a "playing" state usually indicates the media session the user is currently using; therefore, prioritizing a filtered media control object that is currently playing ensures that playback control operations directly apply to the currently playing media session. Second, if no filtered media control object is currently playing, selecting the filtered media control object corresponding to the most recently played application ensures that the desktop application still tends to control the user's most recently used media application even in paused, stopped, or no-play scenarios. Third, if the most recently played application cannot be found, selecting the default media control object as a fallback ensures that the playback control method has a definite control object.

[0079] It is understood that, through the above methods, the embodiments of this application can reduce the problem of random selection when multimedia control objects coexist, make the determination of the target media control object more stable, and improve the consistency between the desktop display object and the control object.

[0080] It should be noted that the scope of media applications that can be controlled from the desktop may vary depending on the product, region, or partner media application scenario. If the controllable scope is determined solely by a fixed local configuration, the flexibility for adjustment is limited when application compatibility changes or operational strategies shift. Therefore, a target whitelist can be distributed via the cloud, and a local default whitelist can be used as a fallback if cloud configuration becomes unavailable.

[0081] That is, optionally, in some embodiments of this application, the target whitelist is obtained by parsing after being distributed from the cloud, or when the target whitelist is not distributed from the cloud and / or is empty, the local default whitelist is determined as the target whitelist; The target whitelist is obtained based on an acquisition command, which is generated when the desktop launcher starts or initializes, or when a judgment command for whether something is in the target whitelist is detected and the target whitelist is empty.

[0082] In this context, "cloud-based delivery" refers to the sending of whitelist configuration information from a remote configuration service, operational configuration platform, feature configuration platform, or cloud server to the terminal device. For example, the cloud can deliver configuration strings, arrays, objects, or other data formats containing multiple media application package names.

[0083] In this context, "parsing" refers to the process by which the terminal device reads, parses, extracts fields, cleans, and verifies the legality of the whitelist configuration information sent from the cloud to obtain the target whitelist. For example, the configuration information sent from the cloud might be a JSON array containing multiple application package names; the terminal device can parse this JSON array to obtain the target whitelist. Alternatively, the configuration information sent from the cloud might be a JSON object containing whitelist fields; the terminal device can extract the corresponding fields from this JSON object and parse it to obtain the target whitelist.

[0084] "Not delivered from the cloud" means that the terminal device has not received the whitelist configuration information from the cloud, or is unable to obtain the whitelist configuration information from the cloud at the current moment. For example, "not delivered from the cloud" can occur in scenarios such as network unavailability, configuration not yet synchronized, relevant fields not configured in the cloud, or configuration service temporarily unavailable.

[0085] In this context, "the target whitelist is empty" means that although the cloud sends whitelist-related information, a valid application identifier is not obtained after parsing, or the sent content itself is empty. For example, if the cloud sends an empty string, an empty array, or configuration content that cannot be parsed to obtain a valid package name, the target whitelist can be considered empty.

[0086] The local default whitelist refers to a set of default controllable applications pre-stored on the terminal device. This default whitelist can be used to ensure basic playback control functions when cloud configuration is unavailable or empty. For example, the local default whitelist may include music applications pre-installed on the terminal device, system-adapted media applications, or default partner media applications.

[0087] Here, the acquisition instruction refers to an instruction, event, or condition used to trigger the terminal device to acquire the target whitelist. In the embodiments of this application, the acquisition instruction may be generated when the desktop launcher starts or initializes, or it may be generated when a judgment instruction on whether it is in the target whitelist is detected and the target whitelist is empty.

[0088] The phrase "generated during desktop launcher startup or initialization" refers to the generation of a whitelist acquisition command when the desktop launcher / Launcher of a terminal device starts, initializes, or begins operation. Alternatively, it can be generated during the startup or initialization of a desktop media control module (e.g., a corresponding desktop media control card) or media control service. For example, when a smart TV's launcher starts after powering on, or when a desktop media control card initializes, a whitelist acquisition command can be generated to trigger the whitelist acquisition process.

[0089] Specifically, the instruction for determining whether an application is on the target whitelist refers to a request, operation, or judgment event used to determine whether the application corresponding to a media control object belongs to the target whitelist. For example, this instruction can be generated when it is necessary to determine whether the application package name corresponding to a media control object to be processed is in the target whitelist.

[0090] In practical implementation, the terminal device can proactively attempt to obtain the target whitelist sent by the cloud based on the acquisition command when the desktop launcher starts or initializes. If a valid whitelist has been sent by the cloud, the target whitelist is obtained by parsing; if the cloud has not sent one, or the sent target whitelist is empty, the local default whitelist is determined as the target whitelist. This allows for the establishment of a controllable application scope as early as possible during the initialization phase.

[0091] Furthermore, when media control object filtering is performed subsequently, if a judgment instruction regarding whether an application is on the target whitelist is detected and the current target whitelist is empty, a retrieval instruction can be generated, and the target whitelist can be retrieved again based on this retrieval instruction. This method can be understood as a fallback retrieval mechanism. For example, during desktop launcher initialization, the cloud configuration may not have been successfully synchronized, resulting in a temporarily empty target whitelist; when it is actually necessary to determine whether an application belongs to the target whitelist later, the retrieval instruction can be triggered again to retrieve the cloud whitelist or determine the local default whitelist.

[0092] It is understood that, through the above methods, the embodiments of this application can not only support the dynamic configuration of the target whitelist in the cloud, but also ensure basic functions through the local default whitelist when the whitelist is not distributed in the cloud or is empty; at the same time, it can also obtain the whitelist by obtaining instructions when actually judging the target whitelist, thereby reducing the impact of the incomplete configuration in the initialization stage on the selection of playback control objects.

[0093] Understandably, after selecting the target media control object, if the target media control object is different from the currently used media control object, the desktop client needs to switch control objects. Without callback deregistration and registration, the desktop client may still receive status callbacks from the old media control object, or may fail to receive status callbacks from the new target media control object in a timely manner.

[0094] That is, optionally, in some embodiments of this application, after the step of "filtering target media control objects from the at least one media control object to be processed according to the filtering feature information", the method further includes: If the target media control object is inconsistent with the current media control object, then the media control callback corresponding to the current media control object is cancelled, and the media control callback corresponding to the target media control object is registered.

[0095] The current media control object refers to the media control object that the desktop client is currently bound to, listening to, or currently using for media display and control before this selection of target media control objects. For example, if the desktop client is currently displaying song information from the First Music application and sending control commands through the media control object corresponding to the First Music application, then the media control object corresponding to the First Music application can be used as the current media control object.

[0096] A discrepancy between the target media control object and the current media control object means that the target media control object obtained in this screening is different from the current media control object previously used on the desktop. For example, if the current media control object is the media control object corresponding to the first music application, while the target media control object obtained in this screening is the media control object corresponding to the second music application, then the two are inconsistent.

[0097] Media control callbacks refer to callback mechanisms used to receive changes in the session state of a media control object or its associated media. For example, media control callbacks can be used to receive information such as changes in playback state, media metadata, playback queue, and session events.

[0098] Specifically, canceling the media control callback corresponding to the current media control object means removing the callback binding relationship between the desktop client and the current media control object, so that the desktop client no longer receives state changes of the current media control object through this media control callback. For example, the desktop client can cancel the playback status callback, media metadata callback, queue change callback, or session event callback corresponding to the current media control object.

[0099] Registering media control callbacks for the target media control object refers to establishing a callback listening relationship for the target media control object, enabling the desktop client to receive state changes of the target media session corresponding to the target media control object through these media control callbacks. For example, the desktop client can register playback status callbacks, media metadata callbacks, queue change callbacks, or session event callbacks for the target media control object.

[0100] It is understood that, through the above method, when the target media control object changes, the embodiments of this application can promptly unbind the callback of the old media control object and establish a callback binding for the new media control object. This reduces state crosstalk between the old and new media control objects, ensuring that the playback status, media metadata, or session events subsequently received by the desktop are consistent with the target media control object.

[0101] It is understandable that after the target media control object is determined and used to send playback control instructions, the playback status of subsequent media sessions may change. To allow for reference to recent playback behavior when subsequently filtering target media control objects again, the playback status of the target media session can be monitored, and the application information of the most recently played session can be updated when it enters the playback state. That is, optionally, in some embodiments of this application, after the step "sending playback control instructions to the target media session corresponding to the target media control object," the method further includes: Monitor the playback status of the target media session and update the application information of the most recently played session when entering the playback state.

[0102] Listening to the playback state of the target media session refers to obtaining changes in the playback state of the target media session through registered callbacks, subscribed events, polling interfaces, or other state acquisition methods. For example, in the Android system, changes in the PlaybackState of the target media session can be listened to through the media control callback corresponding to the target media control object.

[0103] Playback status refers to the current media playback status of the target media session. For example, playback status can include playing, paused, stopped, buffering, etc.

[0104] Entering playback mode means that the target media session changes from a non-playing state to a playing state, or the target media session is currently detected as being in a playing state. For example, when a user sends a play command through the desktop, the target media session changes from a paused state to a playing state, which can be considered as the target media session entering playback mode.

[0105] The most recently played application information refers to information used to identify the media application that most recently entered the playback state. This information may include the application package name, application name, application identifier, or other information that can indicate the identity of the media application. For example, if the target media session belongs to the first music application and the target media session enters the playback state, the application package name of the first music application can be updated to the most recently played application information.

[0106] In other words, in the specific implementation, after the desktop client sends the playback control command to the target media session, it can continuously monitor the playback status of the target media session. When the target media session is detected to have entered the playback state, it indicates that the application to which the target media session belongs is related to the user's most recent actual playback behavior, and therefore the application information of the most recent playback can be updated. Subsequently, when filtering target media control objects again, this application information of the most recent playback can be used as the selection criterion.

[0107] It is understood that, through the above method, the embodiments of this application can dynamically maintain the application information of the most recently played application, so that even when there is no media control object in a playing state, the target media control object can still be determined based on the application information of the most recently played application, thereby improving the stability of target media control object selection in scenarios without a playing state.

[0108] In summary, this application embodiment obtains the filtering status feature information corresponding to each media control object to be processed, then filters the target media control object based on the filtering status feature information, and sends the playback control command to the target media session corresponding to the target media control object. Therefore, in scenarios where multiple media applications coexist or the same media application has multiple media sessions, the accuracy and rationality of media control object selection can be improved, and the probability of miscontrol and control failure can be reduced.

[0109] The screening process divides the feature information into filtering feature information and selection feature information. First, the filtered media control objects are obtained based on the filtering feature information. Then, the target media control objects are selected from the filtered media control objects based on the selection feature information. This allows for the elimination of unsuitable media control objects as candidates before further selection from the remaining candidates, making the screening process more hierarchical and reducing the risk of incorrect selection.

[0110] The filtering features can include at least one of the following: whether it contains a valid playback status, whether it is in the target whitelist, or whether it is the target object identifier. The selection features can include at least one of the following: whether it is currently playing, whether it corresponds to the most recently played application, or the default media control object. Therefore, media control objects to be processed can be filtered based on factors such as the validity of the playback status, the controllable range, and the identification of business playback sessions. Target media control objects can be determined based on factors such as the current playback status, historical playback applications, and default selection strategies, thereby improving the accuracy of subject selection in multimedia control object scenarios.

[0111] Specifically, the system prioritizes identifying the currently playing filtered media control object as the target media control object. If no currently playing filtered media control object exists, the filtered media control object corresponding to the most recently played application is selected. If no match is found, the default media control object is selected. This ensures that the selection of the target media control object better aligns with the user's current playback behavior and recent usage habits, while also guaranteeing a fallback control object in extreme cases.

[0112] The target whitelist can be obtained by parsing after being sent from the cloud, or by determining it from the local default whitelist if it is not sent from the cloud or if the sent target whitelist is empty. The target whitelist can also be obtained based on a retrieval command generated during desktop launcher startup or initialization, or based on a retrieval command generated when the whitelist is checked and the target whitelist is empty. This allows for dynamic configuration of a controllable application scope and ensures basic control capabilities when cloud configuration is unavailable or configuration is not ready during the initialization phase.

[0113] Specifically, when the target media control object is inconsistent with the current media control object, the media control callback corresponding to the current media control object is deregistered, and the media control callback corresponding to the target media control object is registered. This ensures that the playback status, media metadata, or session events subsequently monitored by the desktop client remain consistent with the target media control object, reducing state crosstalk between the old and new media control objects.

[0114] Specifically, after sending playback control commands to the target media session corresponding to the target media control object, the playback status of the target media session is monitored, and the application information of the most recently played session is updated when entering the playback state. This allows for dynamic maintenance of the application information of the most recently played session, enabling subsequent selection of target media control objects to reference the user's recent playback behavior and improving the stability of target media control object selection in scenarios without a playback state.

[0115] To facilitate better implementation of the playback control method of this application, this application also provides a playback control device based on the above-described playback control method. The meanings of the terms used are the same as in the playback control method described above, and specific implementation details can be found in the descriptions of the method embodiments.

[0116] Please see Figure 3 , Figure 3 This is a schematic diagram of the playback control device provided in an embodiment of this application. Specifically, the playback control device can be as follows: The determination module 301 is used to determine at least one media control object to be processed in response to a media control trigger event, wherein the media control object to be processed is associated with a media session; The acquisition module 302 is used to acquire the filtering feature information corresponding to each of the media control objects to be processed; The filtering module 303 is used to filter target media control objects from the at least one media control object to be processed according to the filtering feature information. The sending module 304 is used to send playback control commands to the target media session corresponding to the target media control object.

[0117] Optionally, in some embodiments of this application, the filtering feature information includes filtering feature information and selecting feature information; The step of filtering target media control objects from the at least one media control object to be processed based on the filtering feature information includes: The at least one media control object to be processed is filtered according to the filtering feature information to obtain at least one filtered media control object. The target media control object is selected from the at least one filtered media control object based on the selected feature information.

[0118] Optionally, in some embodiments of this application, the filtering feature information includes at least one of whether it contains a valid playback status, whether it is in the target whitelist, or whether it is a target object identifier, wherein the target object identifier is used to indicate that the media session is a target service playback session; The selection feature information includes at least one of the following: whether it is currently playing, whether it corresponds to the most recently played application, or the default media control object.

[0119] Optionally, in some embodiments of this application, the step of filtering the target media control object from the at least one filtered media control object based on the selection feature information includes: Filtered media control objects that are currently playing are selected as the target media control objects; Alternatively, if there is no filtered media control object that is currently playing, then the filtered media control object corresponding to the most recently played application is selected as the target media control object. Alternatively, if there is no filtered media control object corresponding to the most recently played application, then a default media control object is selected from the filtered media control objects as the target media control object.

[0120] Optionally, in some embodiments of this application, the target whitelist is obtained by parsing after being distributed from the cloud, or when the target whitelist is not distributed from the cloud and / or is empty, the local default whitelist is determined as the target whitelist; The target whitelist is obtained based on an acquisition command, which is generated when the desktop launcher starts or initializes, or when a judgment command for whether something is in the target whitelist is detected and the target whitelist is empty.

[0121] Optionally, in some embodiments of this application, after filtering target media control objects from the at least one media control object to be processed according to the filtering feature information, the method further includes: If the target media control object is inconsistent with the current media control object, then the media control callback corresponding to the current media control object is cancelled, and the media control callback corresponding to the target media control object is registered.

[0122] Optionally, in some embodiments of this application, after sending the playback control command to the target media session corresponding to the target media control object, the method further includes: Monitor the playback status of the target media session and update the application information of the most recently played session when entering the playback state.

[0123] In this embodiment, the determining module 301, in response to a media control trigger event, determines at least one media control object to be processed, which is associated with a media session. The obtaining module 302 obtains the filtering feature information corresponding to each of the media control objects to be processed. The filtering module 303 filters target media control objects from the at least one media control object to be processed according to the filtering feature information. The sending module 304 sends a playback control command to the target media session corresponding to the target media control object.

[0124] In summary, this application embodiment obtains the filtering status feature information corresponding to each media control object to be processed, then filters the target media control object based on the filtering status feature information, and sends the playback control command to the target media session corresponding to the target media control object. Therefore, in scenarios where multiple media applications coexist or the same media application has multiple media sessions, the accuracy and rationality of media control object selection can be improved, and the probability of miscontrol and control failure can be reduced.

[0125] In addition, this application also provides an electronic device, such as Figure 4 As shown, it illustrates a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Specifically: The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will understand that... Figure 4The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 401 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 402, and by calling data stored in the memory 402, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 401.

[0126] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function, etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0127] The electronic device also includes a power supply 403 that supplies power to the various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power equipment debugging circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0128] The electronic device may also include an input unit 404, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0129] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 401 runs the applications stored in the memory 402, thereby implementing the steps in any of the playback control methods provided in the embodiments of this application.

[0130] In response to a media control trigger event, this application embodiment determines at least one media control object to be processed, which is associated with a media session. It obtains filtering feature information corresponding to each media control object to be processed, filters target media control objects from the at least one media control object to be processed according to the filtering feature information, and sends playback control instructions to the target media session corresponding to the target media control object.

[0131] In this embodiment, the filtering status feature information corresponding to each media control object to be processed is obtained, and then the target media control object is filtered according to the filtering status feature information. The playback control command is then sent to the target media session corresponding to the target media control object. Therefore, in scenarios where multiple media applications coexist or multiple media sessions exist for the same media application, the accuracy and rationality of media control object selection can be improved, and the probability of miscontrol and control failure can be reduced.

[0132] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0133] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0134] Therefore, this application provides a storage medium, including a computer-readable storage medium on which a computer program is stored, the computer program being loadable by a processor to execute the steps in any of the playback control methods provided in this application.

[0135] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0136] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0137] Since the instructions stored in the computer-readable storage medium can execute the steps of any of the playback control methods provided in this application, the beneficial effects that any of the playback control methods provided in this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.

[0138] The above provides a detailed description of a playback control method, apparatus, electronic device, and computer-readable storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

[0139] It is understood that in the specific implementation of this application, data related to media control trigger events, playback control instructions, media control objects to be processed, media sessions, filtering feature information, whitelists, etc. are involved. When the embodiments in this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

Claims

1. A playback control method, characterized in that, The method includes: In response to a media control trigger event, at least one media control object to be processed is identified, the media control object to be processed being associated with a media session; Obtain the filtering feature information corresponding to each of the media control objects to be processed; Target media control objects are selected from the at least one media control object to be processed based on the filtering feature information described above; The playback control command is sent to the target media session corresponding to the target media control object.

2. The playback control method according to claim 1, characterized in that, The filtering feature information includes filtering feature information and selecting feature information; The step of filtering target media control objects from the at least one media control object to be processed based on the filtering feature information includes: The at least one media control object to be processed is filtered according to the filtering feature information to obtain at least one filtered media control object. The target media control object is selected from the at least one filtered media control object based on the selected feature information.

3. The playback control method according to claim 2, characterized in that, The filtering feature information includes at least one of whether it contains a valid playback status, whether it is in the target whitelist, or whether it is a target object identifier, wherein the target object identifier is used to indicate that the media session is a target service playback session; The selection feature information includes at least one of the following: whether it is currently playing, whether it corresponds to the most recently played application, or the default media control object.

4. The playback control method according to claim 3, characterized in that, The step of filtering the target media control object from the at least one filtered media control object based on the selected feature information includes: Filtered media control objects that are currently playing are selected as the target media control objects; Alternatively, if there is no filtered media control object that is currently playing, then the filtered media control object corresponding to the most recently played application is selected as the target media control object. Alternatively, if there is no filtered media control object corresponding to the most recently played application, then a default media control object is selected from the filtered media control objects as the target media control object.

5. The playback control method according to claim 3, characterized in that, The target whitelist is obtained by parsing after being sent from the cloud, or when the target whitelist is not sent from the cloud and / or is empty, the local default whitelist is determined as the target whitelist. The target whitelist is obtained based on an acquisition command, which is generated when the desktop launcher starts or initializes, or when a judgment command for whether something is in the target whitelist is detected and the target whitelist is empty.

6. The playback control method according to claim 1, characterized in that, After filtering target media control objects from the at least one media control object to be processed based on the filtering feature information, the method further includes: If the target media control object is inconsistent with the current media control object, then the media control callback corresponding to the current media control object is cancelled, and the media control callback corresponding to the target media control object is registered.

7. The playback control method according to claim 1, characterized in that, After sending the playback control command to the target media session corresponding to the target media control object, the method further includes: Monitor the playback status of the target media session and update the application information of the most recently played session when entering the playback state.

8. A playback control device, characterized in that, The device includes: The determination module is used to determine at least one media control object to be processed in response to a media control trigger event, the media control object to be processed being associated with a media session; The acquisition module is used to acquire the filtering feature information corresponding to each of the media control objects to be processed; The filtering module is used to filter target media control objects from the at least one media control object to be processed based on the filtering feature information. The sending module is used to send playback control commands to the target media session corresponding to the target media control object.

9. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the playback control method as described in any one of claims 1-7.

10. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the steps of the playback control method as described in any one of claims 1-7.