Interactive method, device, electronic device and storage medium for media resources
By using the target buttons of the remote control device on smart TVs and smart projection devices to achieve interactive operations during video playback, the problem of insufficient user interaction is solved, the interaction efficiency and experience are improved, and a variety of interactive methods are provided.
Patent Information
- Application Number
- CN202210772664.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2042-06-30
AI Technical Summary
When smart TVs and smart projection devices play videos, users cannot interact through remote control devices, such as likes or following, resulting in low human-computer interaction efficiency and affecting the user experience.
By deploying the target button on the remote control device, continuous or long pressing operations during video playback can be triggered to perform interactive operations, display interaction results, and adjust the control display style based on historical interaction information to provide a lightweight interactive method.
It improves the interaction efficiency and experience between users and electronic devices, expands the interactive form, provides an immersive viewing experience, and supports a variety of interactive operations.
Smart Images

Figure CN115190341B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a method, device, electronic device and storage medium for interacting with media resources. Background Art
[0002] With the rapid development of technologies such as smart TVs and smart projectors, users can not only watch videos and other media resources through applications running on smartphones, but also through applications running on devices such as smart TVs and smart projectors.
[0003] In the related art, taking smart TV as an example, users can control smart TV to play videos by operating remote control devices. However, due to the limitations of the interaction between smart TV and users, users cannot use remote control devices to perform various interactive operations on videos during the video viewing process, such as like operations, follow operations, etc., resulting in low human-computer interaction efficiency and affecting user experience. Summary of the invention
[0004] The present disclosure provides a method, device, electronic device and storage medium for interacting with media resources, which can implement corresponding interactive operations on media resources during the playback of media resources in a lightweight operation mode. The technical solution of the present disclosure is as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, a method for interacting with media resources is provided, which is performed by an electronic device, and the electronic device is bound to a remote control device, and the method includes:
[0006] Play the target media resource;
[0007] In response to receiving a target interaction signal sent by the remote control device twice in a first time period in a process of playing the target media resource, performing a target interaction operation on the target media resource and displaying an interaction result corresponding to the target interaction operation, wherein the target interaction signal is triggered by pressing a target button of the remote control device;
[0008] In response to receiving the target interactive signal sent by the remote control device once within the first duration during the playing of the target media resource, an operation corresponding to the target button is executed.
[0009] By this method, when the electronic device plays the target media resource, the target button deployed on the remote control device is used to implement the target interactive operation for the target media resource, wherein if the electronic device receives two consecutive target interactive signals triggered by the target button within the first time period, the electronic device implements the target interactive operation on the target media resource, and if the electronic device receives only one target interactive signal within the first time period, the electronic device performs the operation corresponding to the target button. In this process, by reusing the target buttons deployed by the remote control device, a lightweight operation method is used to implement the corresponding interactive operation on the media resource during the playback of the media resource, thereby expanding the form of interaction between the user and the electronic device and improving the efficiency of human-computer interaction and the user experience.
[0010] In some embodiments, the method further comprises:
[0011] In response to continuously receiving the target interaction signal sent by the remote control device within a second time period during the playing of the target media resource, displaying a target control;
[0012] In response to receiving the target interaction signal sent by the remote control device once within a third time period during the process of displaying the target control, performing the target interaction operation on the target media resource;
[0013] In response to not receiving the target interaction signal sent by the remote control device within the third time period during the process of displaying the target control, hiding the target control.
[0014] Through the above method, by reusing the target buttons deployed by the remote control device, a lightweight operation method (i.e., long press operation) is used to implement corresponding interactive operations on media resources during the playback of media resources, thereby expanding the interaction form between the user and the electronic device, thereby improving the human-computer interaction efficiency and user experience.
[0015] In some embodiments, in response to continuously receiving the target interaction signal sent by the remote control device within a second time period during the process of playing the target media resource, displaying the target control includes:
[0016] In response to continuously receiving the target interaction signal sent by the remote control device within the second duration during the playing of the target media resource, determining target display content of the target media resource based on the target media resource;
[0017] Based on the target display content, the target control is displayed in an area other than the target display content in the playback area of the target media resource, so that the target control does not block the target display content.
[0018] In the above manner, the electronic device displays the target control based on the display content of the target media resource, so that the target control does not block important information of the target media resource, thereby providing an immersive viewing experience for the user.
[0019] In some embodiments, the method further comprises:
[0020] In response to continuously receiving the target interaction signal sent by the remote control device within a fourth time period during the playing of the target media resource, acquiring historical interaction information of the target media resource, the historical interaction information indicating interaction operations that have been performed on the target media resource;
[0021] displaying a target control based on the historical interaction information;
[0022] Among them, when the historical interaction information indicates that the target interaction operation has been implemented for the target media resource, the target control is displayed in a first display style; when the historical interaction information indicates that the target interaction operation has not been implemented for the target media resource, the target control is displayed in a second display style, and the second display style is different from the first display style.
[0023] Through the above method, the target control is displayed according to the historical interaction information of the target media resource, so that the user can decide to cancel the target interaction operation or implement the target interaction operation according to the current interaction status of the target media resource.
[0024] In some embodiments, the method further comprises any of the following:
[0025] In a case where the target control is displayed in the first display style, in response to receiving the target interaction signal sent by the remote control device once within a fifth time period during the process of displaying the target control, canceling the target interaction operation implemented on the target media resource;
[0026] When the target control is displayed in the second display style, in response to receiving the target interaction signal sent by the remote control device once within the fifth time period during the process of displaying the target control, the target interaction operation is performed on the target media resource.
[0027] Through the above method, by reusing the target buttons deployed by the remote control device, a lightweight operation method is used to implement or cancel corresponding interactive operations on media resources during the playback of media resources, thereby expanding the interaction form between the user and the electronic device, thereby improving the human-computer interaction efficiency and user experience.
[0028] In some embodiments, the method further comprises:
[0029] Displaying a first control at a position adjacent to the target control, the first control indicating to implement a first interactive operation on the target media resource;
[0030] In response to receiving the first interaction signal and the target interaction signal sent by the remote control device in sequence within a sixth time period, performing the first interaction operation on the target media resource, the first interaction signal being triggered by pressing a first button of the remote control device.
[0031] Through the above method, by reusing the target buttons deployed by the remote control device, different interactive operations are implemented on the media resources during the playback of the media resources in a lightweight operation mode, expanding the interaction form between the user and the electronic device, thereby improving the human-computer interaction efficiency and user experience.
[0032] In some embodiments, in response to sequentially receiving the first interaction signal and the target interaction signal sent by the remote control device within a sixth time period, performing the first interaction operation on the target media resource includes:
[0033] In response to receiving the first interaction signal and the target interaction signal in sequence within the sixth duration during displaying the first control, hiding the target control and the first control, and displaying a target prompt message, wherein the target prompt message indicates that there is no interest in the target media resource;
[0034] The target media resource is stopped from being played, and a first media resource of a different type from that of the target media resource is played.
[0035] In some embodiments, the interaction result indicates that the target interaction operation has been performed on the target media resource, and the interaction result is at least one of the following: a picture, text, and a dynamic special effect.
[0036] According to a second aspect of an embodiment of the present disclosure, there is provided a media resource interaction device, which is applied to an electronic device, and the electronic device is bound to a remote control device, and the device includes:
[0037] A playback unit, configured to play a target media resource;
[0038] A first operation execution unit is configured to execute, in response to receiving a target interaction signal sent by the remote control device twice in a first time period during the playing of the target media resource, a target interaction operation on the target media resource and display an interaction result corresponding to the target interaction operation, wherein the target interaction signal is triggered by pressing a target button of the remote control device;
[0039] The second operation execution unit is configured to execute the operation corresponding to the target button in response to receiving the target interaction signal sent by the remote control device once within the first time period during the process of playing the target media resource.
[0040] In some embodiments, the apparatus further comprises:
[0041] The first display unit is configured to display a target control in response to continuously receiving the target interaction signal sent by the remote control device within a second time period during the playing of the target media resource;
[0042] A third operation execution unit is configured to execute, in response to receiving the target interaction signal sent by the remote control device once within a third time period during the process of displaying the target control, the target interaction operation is performed on the target media resource;
[0043] The fourth operation execution unit is configured to execute hiding of the target control in response to not receiving the target interaction signal sent by the remote control device within the third time period during the process of displaying the target control.
[0044] In some embodiments, the first display unit is configured to perform:
[0045] In response to continuously receiving the target interaction signal sent by the remote control device within the second duration during the playing of the target media resource, determining target display content of the target media resource based on the target media resource;
[0046] Based on the target display content, the target control is displayed in an area other than the target display content in the playback area of the target media resource, so that the target control does not block the target display content.
[0047] In some embodiments, the apparatus further comprises:
[0048] an acquisition unit configured to execute, in response to continuously receiving the target interaction signal sent by the remote control device within a fourth time period during the process of playing the target media resource, acquiring historical interaction information of the target media resource, the historical interaction information indicating the interaction operations that have been performed on the target media resource;
[0049] The second display unit is further configured to display a target control based on the historical interaction information;
[0050] Among them, when the historical interaction information indicates that the target interaction operation has been implemented for the target media resource, the target control is displayed in a first display style; when the historical interaction information indicates that the target interaction operation has not been implemented for the target media resource, the target control is displayed in a second display style, and the second display style is different from the first display style.
[0051] In some embodiments, the device further includes a fifth operation execution unit configured to execute any of the following:
[0052] In a case where the target control is displayed in the first display style, in response to receiving the target interaction signal sent by the remote control device once within a fifth time period during the process of displaying the target control, canceling the target interaction operation implemented on the target media resource;
[0053] When the target control is displayed in the second display style, in response to receiving the target interaction signal sent by the remote control device once within the fifth time period during the process of displaying the target control, the target interaction operation is performed on the target media resource.
[0054] In some embodiments, the apparatus further comprises:
[0055] A third display unit is configured to display a first control at a position adjacent to the target control, where the first control indicates to implement a first interactive operation on the target media resource;
[0056] The sixth operation execution unit is configured to execute the first interactive operation on the target media resource in response to the first interactive signal and the target interactive signal sent by the remote control device being received in sequence within a sixth time period, and the first interactive signal is triggered by pressing the first button of the remote control device.
[0057] In some embodiments, the sixth operation execution unit is configured to execute:
[0058] In response to receiving the first interaction signal and the target interaction signal in sequence within the sixth duration during displaying the first control, hiding the target control and the first control, and displaying a target prompt message, wherein the target prompt message indicates that there is no interest in the target media resource;
[0059] The target media resource is stopped from being played, and a first media resource of a different type from that of the target media resource is played.
[0060] In some embodiments, the interaction result indicates that the target interaction operation has been performed on the target media resource, and the interaction result is at least one of the following: a picture, text, and a dynamic special effect.
[0061] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:
[0062] one or more processors;
[0063] A memory for storing program codes executable by the processor;
[0064] The processor is configured to execute the program code to implement the above-mentioned media resource interaction method.
[0065] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, which includes: when the program code in the computer-readable storage medium is executed by a processor of an electronic device, the electronic device is enabled to execute the above-mentioned media resource interaction method.
[0066] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, which implements the above-mentioned media resource interaction method when executed by a processor.
[0067] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0069] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present disclosure;
[0070] Figure 2 is a flow chart of a method for interacting with media resources provided by an embodiment of the present disclosure;
[0071] Figure 3 is a schematic diagram of a media resource interaction method provided by an embodiment of the present disclosure;
[0072] Figure 4 is a flow chart of another method for interacting with media resources provided by an embodiment of the present disclosure;
[0073] Figure 5 is a schematic diagram of a media resource interaction method provided by an embodiment of the present disclosure;
[0074] Figure 6 is a flow chart of another method for interacting with media resources provided by an embodiment of the present disclosure;
[0075] Figure 7is a schematic diagram of a display target control provided by an embodiment of the present disclosure;
[0076] Figure 8 is a schematic diagram of a media resource interaction method provided by an embodiment of the present disclosure;
[0077] Fig. 9 is a flow chart of another method for interacting with media resources provided by an embodiment of the present disclosure;
[0078] Fig.10 is a schematic diagram of a media resource interaction method provided by an embodiment of the present disclosure;
[0079] Fig.11 is a block diagram of a media resource interaction device provided by an embodiment of the present disclosure;
[0080] Fig.12 is a block diagram of an electronic device provided by an embodiment of the present disclosure;
[0081] Fig.13 is a block diagram of another electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0082] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0083] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0084] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the present disclosure are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the media resources and other information involved in the embodiments of the present disclosure are obtained with full authorization. In some embodiments, the embodiments of the present disclosure provide a permission inquiry page, which is used to inquire whether to grant permission to obtain the above information. In the permission inquiry page, an authorization consent control and an authorization rejection control are displayed. When a trigger operation of the authorization consent control is detected, the interactive method of media resources provided in the embodiments of the present disclosure is used to obtain the above information.
[0085] Figure 1 This is a schematic diagram of an implementation environment provided by the embodiment of the present disclosure, see Figure 1 The implementation environment includes: an electronic device 101, a remote control device 102 and a server 103.
[0086] The electronic device 101 may be at least one of a smart TV, a TV box, a smart projector, a desktop computer, a laptop, a tablet computer, a virtual reality terminal, an augmented reality terminal, a wireless terminal, and a laptop computer. The electronic device 101 has a communication function and can access a wired network or a wireless network. The electronic device 101 may generally refer to one of a plurality of electronic devices, and the disclosed embodiment is only illustrated by the electronic device 101. Those skilled in the art may know that the number of the above-mentioned electronic devices 101 may be more or less. Schematically, the electronic device 101 can be installed and run with an application, which is used to provide a playback function of media resources, such as video applications, audio applications, etc., without limitation. For example, taking the electronic device 101 as a smart TV as an example, the electronic device 101 runs a TV version of a short video application, so that users can watch short videos through a smart TV to enhance the viewing experience of short videos.
[0087] The remote control device 102 is bound to the electronic device 101, and the remote control device 102 controls the electronic device 101 to realize the playback function of the media resource by sending a signal to the electronic device 101. Schematically, the remote control device 102 is a wireless transmitting device, and a plurality of buttons are deployed on the remote control device 102 (the plurality of buttons can be mechanical buttons, or virtual buttons displayed on the display screen, etc., which are not limited to this). The user presses the button to trigger the remote control device 102 to transmit an infrared signal to the electronic device 101, and the electronic device 101 converts the received infrared signal into an electrical signal, decodes the electrical signal, and adjusts the corresponding instruction to perform the corresponding operation. For example, taking the electronic device 101 as a smart TV, the electronic device 101 runs a TV version of a short video application. When the electronic device 101 is playing a short video A, the user presses the [Down] button deployed on the remote control device 102 to make the electronic device 101 stop playing the short video A and play the next short video B of the short video A. In the embodiments of the present disclosure, a variety of interactive methods for media resources based on remote control devices are provided. During the process of playing media resources on an electronic device, lightweight operations can be performed on buttons deployed on the remote control device to achieve various interactive operations on the media resources without conflicting with the original functions of the buttons on the remote control device. This process will be introduced in subsequent embodiments and will not be repeated here.
[0088] The server 103 may be an independent physical server, or a server cluster or distributed file system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. In some embodiments, the server 103 is directly or indirectly connected to the electronic device 101 by wired or wireless communication, which is not limited in the embodiments of the present disclosure. Schematically, the server 103 is used to provide background services for the application program run by the electronic device 101. For example, taking the TV version of the short video application program running on the electronic device 101 as an example, the electronic device 101 responds to the signal sent by the remote control device 102 and obtains the corresponding short video from the server 103 for playback. It should be understood that the number of the above-mentioned servers 103 can be more or less, which is not limited in the embodiments of the present disclosure. Of course, the server 103 may also include other functional servers to provide more comprehensive and diversified services.
[0089] Figure 2 FIG. 1 is a flow chart of a method for interacting with media resources provided by an embodiment of the present disclosure. Figure 2As shown, the method is executed by an electronic device, and the electronic device is bound to a remote control device. Schematically, the method includes the following steps 201 to 203.
[0090] In step 201, the electronic device plays a target media resource.
[0091] In an embodiment of the present disclosure, a target application is running on an electronic device, and the target application is used to provide a playback function for media resources. Schematically, the target media resource is a video or audio, etc. In some embodiments, the electronic device displays introduction information (such as cover images, names, etc.) of multiple media resources on the application interface of the target application for user selection. The user selects the target media resource by pressing multiple buttons deployed on the remote control device (such as direction buttons, confirmation buttons, and search buttons, etc.) to trigger the remote control device to send a corresponding signal to the electronic device, so that the electronic device plays the target media resource selected by the user. It should be noted that the embodiment of the present disclosure does not limit the process of how the electronic device plays the target media resource according to the signal sent by the remote control device.
[0092] In some embodiments, the electronic device plays the target media resource in the form of full-screen playback, thereby providing an immersive viewing experience for the user. For example, the electronic device plays the target media resource in the form of full-screen playback based on default settings, or the electronic device plays the target media resource in the form of full-screen playback based on the user triggering the "full-screen playback" control on the application interface, and this is not limited.
[0093] In step 202, in response to receiving two consecutive target interaction signals sent by a remote control device within a first time period during the playback of a target media resource, the electronic device performs a target interaction operation on the target media resource and displays an interaction result corresponding to the target interaction operation.
[0094] In the disclosed embodiment, the target interaction signal is triggered by pressing the target button of the remote control device. The target button refers to a designated button deployed on the remote control device, and the operation corresponding to the target button is different from the target interaction operation. For example, the target button is a confirmation button (also called an ok button), that is, the operation corresponding to the target button is a confirmation operation. In some scenarios, the operation corresponding to the target button is a pause operation, such as when a video is playing, the user presses the target button to trigger the electronic device to pause the video, and so on. In some embodiments, the target interaction operation is a like operation, a follow operation, or a gift sending operation, etc., which is not limited to this.
[0095] The interaction result indicates that the target interaction operation has been implemented for the target media resource. In this way, the user can be promptly prompted that the target interaction operation has been successfully implemented, thereby improving the efficiency of human-computer interaction. Schematically, the interaction result is at least one of the following: pictures, text, and dynamic special effects. For example, taking the target interaction operation as a like operation as an example, the electronic device displays the text "Like Successfully", or the electronic device displays a heart-shaped dynamic special effect to indicate that the like is successful, etc., and the embodiments of the present disclosure are not limited to this.
[0096] Schematically, the user triggers the remote control device to send a target interaction signal to the electronic device by pressing the target button of the remote control device once (pressing and lifting the button within a preset time period is considered a pressing operation). For example, the preset time period is 0.2 seconds. The electronic device receives two target interaction signals consecutively within the first time period, which means that the user has pressed the target button twice within the first time period (it can also be understood that the time interval between the two pressing operations is less than or equal to the first time period), or the user has double-clicked the target button. Based on this, the electronic device implements the target interaction operation on the target media resource and displays the interaction result corresponding to the target interaction operation. In some embodiments, the first time period is a default time period, for example, the first time period is 1 second. In other embodiments, the first time period can be set as needed to meet the personalized needs of the user.
[0097] In some embodiments, the electronic device displays a first prompt message for the target interactive operation during the process of playing the target media resource. The first prompt message instructs the target button to be pressed twice to implement the target interactive operation, thereby achieving the purpose of prompting the user. For example, taking the target interactive operation as a like operation, the target button as a confirmation button, and the target media resource as a video, the first prompt message is "Double-click the [confirmation key] to like the current video", which is not limited to the embodiments of the present disclosure. Schematically, the electronic device can display the first prompt message with a default duration when starting to play the target media resource, or it can display the first prompt message with a default duration during the process of playing the target media resource. It can also decide whether to display the first prompt message based on whether the user has implemented the target interactive operation during the time period when the user is currently using the electronic device. This is not limited to the embodiments of the present disclosure.
[0098] It should be noted that, in the above-mentioned embodiments, an example is given in which an electronic device determines whether to implement a target interactive operation on a target media resource based on a received target interactive signal. In other embodiments, the remote control device has the function of identifying a pressing operation, that is, the remote control device responds to the target button being pressed twice within a first time period by sending a double-click signal for the target button to the electronic device, and the electronic device implements the target interactive operation on the target media resource in response to the double-click signal. That is, in this case, the remote control device sends an interactive signal to the electronic device once, thereby saving the processing flow of the electronic device and improving the interactive efficiency of media resources. The embodiments of the present disclosure are not limited to this.
[0099] Schematically, a target account is logged in to a target application running on an electronic device. When the electronic device performs a target interactive operation on the target media resource, the operation record of the target interactive operation is synchronized to the target account, so that when a user logs in to the target account through a target application running on other devices, the other devices can display the relevant operation records of the target media resource according to the target account. In this way, the operation record synchronization of multiple devices can be achieved, improving the user experience.
[0100] In step 203, the electronic device executes the operation corresponding to the target button in response to receiving the target interactive signal sent by the remote control device once within the first duration during the process of playing the target media resource.
[0101] In the disclosed embodiment, the electronic device receives the target signal once within the first duration, indicating that the user has pressed the target button once (or the user has clicked the target button), and the electronic device performs the operation corresponding to the target button on the target media resource. For example, the target button is a confirmation button, and during the process of the electronic device playing the target media resource, the operation corresponding to the target button is a pause operation, and the electronic device pauses the playing of the target media resource in response to receiving the target interaction signal once.
[0102] Schematically, the following reference Figure 3 , the interactive method of the media resources shown in the above steps 201 to 203 is illustrated by way of example. Figure 3 FIG. 1 is a schematic diagram of a method for interacting with media resources provided by an embodiment of the present disclosure. Figure 3 As shown in Figure (a), taking the target media resource as a video, the electronic device plays video A in full screen. Figure 3As shown in Figure (b), during the playback of video A, if the user double-clicks the target button of the remote control device (such as the [Confirmation button]), the electronic device will perform a target interactive operation (such as a "like operation") on the video A and display a dynamic special effect (such as a heart-shaped dynamic special effect) corresponding to the target interactive operation. Figure 3 As shown in Figure (c), if the user clicks the target button of the remote control device, the electronic device pauses playing the video A.
[0103] Through the above Figure 2 The interactive method of media resources shown in the figure, when the electronic device plays the target media resource, uses the target button deployed on the remote control device to implement the target interactive operation for the target media resource, wherein if the electronic device receives two consecutive target interactive signals triggered based on the target button within the first time length, the electronic device implements the target interactive operation on the target media resource, and if the electronic device receives only one target interactive signal within the first time length, the electronic device performs the operation corresponding to the target button. In this process, by reusing the target buttons deployed by the remote control device, a lightweight operation method is used to implement the corresponding interactive operation on the media resource during the playback of the media resource, which expands the form of interaction between the user and the electronic device, and improves the efficiency of human-computer interaction and user experience.
[0104] Figure 4 FIG. 1 is a flow chart of another method for interacting with media resources provided by an embodiment of the present disclosure. Figure 4 As shown, the method is executed by an electronic device, and the electronic device is bound to a remote control device. Schematically, the method includes the following steps 401 to 404.
[0105] In step 401, the electronic device plays a target media resource.
[0106] In the embodiment of the present disclosure, this step is the same as the above step 201 and will not be described again here.
[0107] In step 402, the electronic device displays a target control in response to continuously receiving a target interaction signal sent by the remote control device within a second time period during the playing of the target media resource.
[0108] In the disclosed embodiment, the target control indicates that a target interactive operation is performed on the target media resource. For example, taking the target interactive operation as a like operation as an example, the target control is a text button "Like" or a heart-shaped graphic button, etc., without limitation. It should be noted that the target interactive signal and target interactive operation in this step are the same as those in the above step 202, and will not be repeated here.
[0109] Illustratively, the user triggers the remote control device to continuously send a target interaction signal to the electronic device by pressing the target button of the remote control device for a long time, and the duration is greater than or equal to the second duration, or the user performs a long press operation on the target button. Based on this, the electronic device displays the target control. In some embodiments, the second duration is a default duration, for example, the second duration is 3 seconds. In other embodiments, the second duration can be set as needed to meet the user's personalized needs.
[0110] In some embodiments, the electronic device displays the target control based on the display content of the target media resource so that the target control does not block the important information of the target media resource, thereby providing an immersive viewing experience for the user. Schematically, in response to the target interactive signal continuously received from the remote control device during the second duration of playing the target media resource, the electronic device determines the target display content of the target media resource based on the target media resource; based on the target display content, the target control is displayed in an area other than the target display content in the playback area of the target media resource so that the target control does not block the target display content. The target display content indicates the important display content of the target media resource. For example, the target display content is subtitles or portraits. In some embodiments, the electronic device identifies the screen information corresponding to the target media resource in the playback area, determines the target display content based on the screen information, and displays the target control in an area other than the target display content, without limitation.
[0111] In some embodiments, the electronic device displays a second prompt message for the target interactive operation during the process of playing the target media resource, and the second prompt message instructs the target button to be pressed for a long time to achieve the target interactive operation, thereby achieving the purpose of prompting the user. For example, taking the target interactive operation as a like operation, the target button as a confirmation button, and the target media resource as a video as an example, the second prompt message is "Press and hold the [Confirmation Key] to like the current video", which is not limited in the embodiments of the present disclosure. This process is the same as the process of displaying the first prompt message in step 202 above, so it will not be repeated.
[0112] In addition, based on the same process as step 202 above, in some embodiments, the remote control device has the function of identifying a pressing operation, that is, the remote control device sends a long press signal for the target button to the electronic device in response to a continuous pressing operation on the target button within the second time period, and the electronic device displays the target control in response to the long press signal.
[0113] In step 403, the electronic device performs the target interaction operation on the target media resource in response to receiving a target interaction signal sent by the remote control device once within a third time period during the process of displaying the target control.
[0114] In the disclosed embodiment, when the electronic device is displaying a target control, the display state of the target control is selected by default. Based on this, if the user presses the target button of the remote control device once, triggering the remote control device to send a target interaction signal to the electronic device, it indicates that the user confirms to implement the target interaction operation, and the electronic device implements the target interaction operation on the target media resource. In some embodiments, the third duration is a default duration, for example, the third duration is 5 seconds. In other embodiments, the third duration can be set as needed to meet the personalized needs of the user. In some embodiments, the electronic device can also highlight the target control to prompt the user when implementing the target interaction operation on the target media resource.
[0115] It should be understood that, based on the same process as step 202 above, when the electronic device performs the target interactive operation on the target media resource, it can display the interactive result corresponding to the target interactive operation to prompt the user that the target interactive operation has been successfully performed. Moreover, the electronic device can also synchronize the operation record of the target interactive operation to the target account, etc., which will not be repeated here.
[0116] In step 404, in response to not receiving the target interaction signal sent by the remote control device within the third time period during the process of displaying the target control, the electronic device hides the target control.
[0117] In an embodiment of the present disclosure, if the electronic device does not receive the target interaction signal within the third time period, indicating that the user has not performed any operation on the target control, the electronic device hides the target control. In other embodiments, the electronic device hides the target control in response to receiving other interaction signals sent by the remote control device during the process of displaying the target control, and the other interaction signals refer to interaction signals triggered by pressing non-target buttons of the remote control device. For example, taking the target button as the confirmation button, if the user presses the [Down] button or the [Back] button of the remote control device during the process of displaying the target control, the remote control device is triggered to send a corresponding interaction signal to the electronic device, so that the electronic device hides the target control. The embodiment of the present disclosure does not limit the way in which the electronic device hides the target control.
[0118] Schematically, the following reference Figure 5 , the interactive method of the media resources shown in the above steps 401 to 404 is illustrated by way of example. Figure 5 FIG. 1 is a schematic diagram of a method for interacting with media resources provided by an embodiment of the present disclosure. Figure 5 As shown in Figure (a), taking the target media resource as a video, the electronic device plays video A in full screen. Figure 5As shown in Figure (b), during the playback of video A, if the user long presses the target button (such as the [Confirmation button]) of the remote control device, the electronic device displays the target control (such as the heart-shaped button). Figure 5 As shown in Figure (c), if the user presses the target button once (i.e., clicks it), the electronic device performs a target interactive operation (such as a "like operation") on the video A and displays a dynamic special effect (such as a heart-shaped dynamic special effect) corresponding to the target interactive operation. Figure 5 As shown in the middle figure (d), if the user does not perform any operation within 5 seconds, the electronic device hides the target control.
[0119] Through the above Figure 4 The interactive method of media resources shown in the figure, when the electronic device plays the target media resource, uses the target button deployed on the remote control device to implement the target interactive operation for the target media resource, wherein if the electronic device continues to receive the target interactive signal triggered based on the target button within the second time length, the electronic device displays the target control, and in the process of displaying the target control, if the electronic device receives the target interactive signal again within the third time length, the target interactive operation is implemented on the target media resource, and if the electronic device does not receive the target interactive signal within the third time length, the electronic device hides the target control. In the above process, by reusing the target button deployed by the remote control device, a lightweight operation method is used to implement the corresponding interactive operation on the media resource during the playback of the media resource, which expands the form of interaction between the user and the electronic device, thereby improving the efficiency of human-computer interaction and user experience.
[0120] After the above Figure 2 and Figure 4The illustrated embodiment introduces two methods for implementing target interactive operations based on the target button of the remote control device. It should be understood that in some embodiments, the electronic device can implement the interactive method of the media resource based on any of the above methods. That is, the user can implement the target interactive operation of the target media resource by double-clicking the target button, or can implement the target interactive operation of the target media resource by long pressing the target button, which is not limited in the embodiment of the present disclosure. Schematically, during the process of playing the target media resource, the electronic device displays a third prompt message for the target interactive operation, which indicates that the target button should be pressed twice or pressed for a long time to implement the target interactive operation, thereby achieving the purpose of prompting the user. For example, taking the target interactive operation as a like operation, the target button as a confirmation button, and the target media resource as a video as an example, the third prompt message is "Long press / double-click [Confirmation Key] to like the current video", which is not limited in the embodiment of the present disclosure. In this way, the target button deployed by the remote control device is utilized, and a variety of lightweight operation methods for implementing the target interactive operation are provided, which is convenient for users to select the corresponding operation method according to their needs, and meets the personalized needs of users.
[0121] In other embodiments, the electronic device can also display the target control according to the historical interaction information of the target media resource to provide a cancellation function for the target interaction operation. This optional implementation is introduced below.
[0122] Figure 6 FIG. 1 is a flow chart of another method for interacting with media resources provided by an embodiment of the present disclosure. Figure 6 As shown, the method is executed by an electronic device, and the electronic device is bound to a remote control device. Schematically, the method includes the following steps 601 to 605.
[0123] In step 601, the electronic device plays a target media resource.
[0124] In the embodiment of the present disclosure, this step is the same as the above step 201 and will not be described again here.
[0125] In step 602, the electronic device obtains historical interaction information of the target media resource in response to continuously receiving a target interaction signal sent by the remote control device within a fourth time period during the process of playing the target media resource.
[0126] In an embodiment of the present disclosure, the historical interaction information indicates the interactive operations that have been performed on the target media resource. In some embodiments, a target account is logged in to the target application running on the electronic device, and the electronic device stores the account information of the target account, and the account information records all interactive operations corresponding to the target account. Schematically, the electronic device obtains the historical interaction information of the target media resource from the account information of the target account. In other embodiments, the electronic device obtains the historical interaction information of the target media resource from the server based on the target account, and the embodiments of the present disclosure are not limited to this.
[0127] It should be noted that the process of the electronic device continuously receiving the target interaction signal sent by the remote control device within the fourth time period is the same as the process of "continuously receiving the target interaction signal sent by the remote control device within the second time period" in the above step 402, so it will not be repeated here. For example, the fourth time period is the same as the second time period, both of which are 3 seconds. Of course, the fourth time period can also be set according to needs, and there is no limitation on this.
[0128] In step 603, the electronic device displays a target control based on the historical interaction information.
[0129] In the embodiment of the present disclosure, the electronic device displays the target control in different display styles based on the historical interaction information. Schematically, this process includes any of the following situations:
[0130] The first is that when the historical interaction information indicates that the target interaction operation has been performed on the target media resource, the target control is displayed in the first display style. It should be understood that the method of performing the target interaction operation on the target media resource can be the aforementioned Figure 2 The "double-click operation" in the embodiment shown can also be realized by the aforementioned Figure 4 The “long press operation” in the illustrated embodiment is implemented without limitation.
[0131] Second, when the historical interaction information indicates that the target interaction operation has not been performed on the target media resource, the target control is displayed in a second display style.
[0132] The second display style is different from the first display style. The target control is displayed in different display styles to prompt the user whether the target media resource has implemented the target interactive operation, so that the user can intuitively understand the current interactive status of the target media resource. Figure 7 , Figure 7 is a schematic diagram of a display target control provided by an embodiment of the present disclosure. Figure 7 As shown in Figure (a), taking the target media resource as a video, the electronic device plays video A in full screen. Figure 7As shown in Figure (b), during the playback of video A, if the user long presses the target button (such as the [Confirmation button]) of the remote control device, and the historical interaction information of video A indicates that the target interaction operation (such as the "Like operation") has been implemented, the electronic device displays the target control (such as the heart-shaped button) in the first display style (such as highlight). Figure 7 As shown in Figure (c), if the user long presses the target button of the remote control device, and the historical interaction information of video A indicates that the target interaction operation has not been implemented, the electronic device displays the target control in a second display style (such as grayscale).
[0133] In step 604, when the electronic device displays the target control in the first display style, in response to receiving a target interaction signal sent by the remote control device once within the fifth time period during displaying the target control, the electronic device cancels the target interaction operation performed on the target media resource.
[0134] In an embodiment of the present disclosure, when the target control is displayed in the first display style, it indicates that the target interactive operation has been implemented for the target media resource. Based on this, the electronic device receives a target interactive signal once within the fifth duration, and cancels the target interactive operation implemented for the target media resource. The fifth duration can be a preset duration or can be set according to demand, and there is no limitation on this. In some embodiments, when the electronic device cancels the target interactive operation, the target control is displayed in a third display style, and the third display style indicates that the target interactive operation has been canceled.
[0135] It should be understood that based on the same process as step 202 above, when the electronic device cancels the target interactive operation implemented on the target media resource, it can display the interactive result corresponding to the cancellation of the target interactive operation to prompt the user that the target interactive operation has been successfully cancelled. In addition, the electronic device can also synchronize the operation record of the target interactive operation to the target account, etc., which will not be repeated here.
[0136] In step 605, when the electronic device displays the target control in the second display style, in response to receiving a target interaction signal sent by the remote control device once within the fifth time period during displaying the target control, the electronic device performs the target interaction operation on the target media resource.
[0137] In an embodiment of the present disclosure, when the target control is displayed in the second display style, it indicates that no target interactive operation has been performed on the target media resource. Based on this, the electronic device receives a target interactive signal once within the fifth time period and performs a target interactive operation on the target media resource.
[0138] It should be understood that, based on the same process as step 202 above, when the electronic device performs the target interactive operation on the target media resource, it can display the interactive result corresponding to the target interactive operation to prompt the user that the target interactive operation has been successfully performed. Moreover, the electronic device can also synchronize the operation record of the target interactive operation to the target account, etc., which will not be repeated here.
[0139] Schematically, the following reference Figure 8 , the interactive method of the media resources shown in the above steps 601 to 605 is illustrated by way of example. Figure 8 FIG. 1 is a schematic diagram of a method for interacting with media resources provided by an embodiment of the present disclosure. Figure 8 As shown in Figure (a), taking the target media resource as a video, the electronic device plays video A in full screen. Figure 8 As shown in Figure (b), during the playback of video A, if the user long presses the target button of the remote control device (such as the [Confirmation button]), and the historical interaction information of video A indicates that the target interaction operation (such as the "Like operation") has been implemented, the electronic device displays the target control (such as a heart-shaped button) in a first display style (such as highlight). Based on this, if the electronic device receives the target interaction signal again, the target interaction operation is canceled and the target control is displayed in a third display style (such as a broken heart-shaped button). Figure 8 As shown in Figure (c), if the user long presses the target button of the remote control device, and the historical interaction information of video A indicates that the target interaction operation has not been implemented, the electronic device displays the target control in a second display style (such as grayscale). Based on this, if the user presses the target button again, the electronic device implements the target interaction operation on video A and displays dynamic special effects corresponding to the target interaction operation (such as heart-shaped dynamic special effects).
[0140] Through the above Figure 6 The interactive method of media resources shown in the figure, when the electronic device plays the target media resource, uses the target button deployed on the remote control device to implement the target interactive operation for the target media resource, wherein, if the electronic device continues to receive the target interactive signal triggered based on the target button within the fourth time period, the electronic device displays the target control according to the historical interactive information of the target media resource, so that the user can decide to cancel the target interactive operation or implement the target interactive operation according to the interactive situation of the current target media resource. In the above process, by reusing the target button deployed by the remote control device, in a lightweight operation mode, it is realized that during the playback of the media resource, the corresponding interactive operation is implemented or canceled for the media resource, which expands the form of interaction between the user and the electronic device, thereby improving the efficiency of human-computer interaction and the user experience.
[0141] In other embodiments, the electronic device can display at least one other control in addition to displaying the target control, so as to provide more interactive operations for the target media resource, such as not interested, favorite, follow, etc. The following takes the display of one other control as an example to introduce this optional implementation. Schematically, in the following embodiments, the other control is referred to as the first control.
[0142] Fig. 9 FIG. 1 is a flow chart of another method for interacting with media resources provided by an embodiment of the present disclosure. Fig. 9 As shown, the method is executed by an electronic device, and the electronic device is bound to a remote control device. Schematically, the method includes the following steps 901 to 905.
[0143] In step 901, the electronic device plays a target media resource.
[0144] In the embodiment of the present disclosure, this step is the same as the above step 201 and will not be described again here.
[0145] In step 902, the electronic device displays the target control and the first control in response to continuously receiving the target interaction signal sent by the remote control device within the target duration during the playback of the target media resource.
[0146] In the embodiments of the present disclosure, the target duration can be a default duration or can be set as required, and there is no limitation on this. The first control indicates that a first interactive operation is performed on the target media resource. Schematically, in the embodiments of the present disclosure, the first interactive operation indicating that there is no interest in the target media resource is used as an example for introduction. In some embodiments, the electronic device displays the first control in an adjacent position to the target control.
[0147] It should be noted that the process of the electronic device continuously receiving the target interaction signal sent by the remote control device within the target duration is the same as the process of "continuously receiving the target interaction signal sent by the remote control device within the second duration" in the above step 402, so it will not be repeated here. For example, the target duration is the same as the second duration, both of which are 3 seconds. Of course, the target duration can also be set according to needs, and there is no limitation on this.
[0148] In addition, based on the same process as the above step 602 and step 603, in some embodiments, the electronic device can display the target control based on the historical interaction information of the target media resource, which will not be described in detail here.
[0149] In step 903, the electronic device performs a target interactive operation on the target media resource in response to receiving the target interactive signal sent by the remote control device once within the third time period.
[0150] In the embodiment of the present disclosure, this step is the same as the above step 403 and will not be described again here.
[0151] It should be noted that, in some embodiments, based on the same process as steps 604 and 605 above, when the electronic device displays the target control based on historical interaction information, the electronic device can perform the target interaction operation on the target media resource or cancel the target interaction operation according to the received target interaction signal, which will not be repeated here.
[0152] In step 904, in response to receiving the first interaction signal and the target interaction signal sent by the remote control device in sequence within a sixth time period, the electronic device hides the target control and the first control and displays a target prompt message, wherein the target prompt message indicates no interest in the target media resource.
[0153] In the disclosed embodiment, the first interactive signal is triggered by pressing a first button of the remote control device, and the first button refers to a button on the remote control device for indicating a direction. For example, if the electronic device displays the first control at an adjacent position to the right of the target control, the first button is a [right] button; if the electronic device displays the first control at an adjacent position below the target control, the first button is a [down] button, and so on.
[0154] Illustratively, the user presses the first button of the remote control device once, triggering the remote control device to send a first interactive signal to the electronic device. Then, the user presses the target button of the remote control device once, triggering the remote control device to send a target interactive signal to the electronic device. The time interval between the two interactive signals is less than or equal to the sixth duration. In this way, the electronic device receives the first interactive signal and the target interactive signal in sequence within the sixth duration, hides the target control and the first control, and displays a target prompt message. For example, the target prompt message indicates "Not interested in the current video, reduce similar recommendations." The sixth duration can be a default duration or can be set as required, and there is no limitation on this.
[0155] In some embodiments, when the electronic device receives the first interactive signal, it displays the first control as a selected state, so that the user can intuitively know that the first control is currently selected and decide whether to press the target button according to needs.
[0156] In step 905, the electronic device ends playing the target media resource and plays a first media resource of a different type from that of the target media resource.
[0157] In an embodiment of the present disclosure, the electronic device determines the type of the target media resource based on the target media resource, obtains a first media resource of a different type from the target media resource, ends playing the target media resource, and plays the first media resource. In some embodiments, when the duration of displaying the target prompt message reaches a preset duration, the electronic device ends playing the target media resource and plays the first media resource. For example, the preset duration is 1 second, that is, the electronic device ends playing the target media resource after displaying the target prompt message for 1 second, so as to prompt the user.
[0158] Schematically, the following reference Fig.10 , the interactive method of the media resources shown in the above steps 901 to 905 is illustrated by way of example. Fig.10 FIG. 1 is a schematic diagram of a method for interacting with media resources provided by an embodiment of the present disclosure. Fig.10 As shown in Figure (a), taking the target media resource as a video, the electronic device plays video A in full screen. Fig.10 As shown in Figure (b), during the playback of video A, if the user long presses the target button (such as the [Confirmation button]) of the remote control device, the electronic device displays the target control (such as the heart-shaped button) and the first control (such as the Not Interested button), and the target control is displayed as selected by default. Fig.10 As shown in Figure (c), if the user presses the target button again, the electronic device performs the target interactive operation on the video A and displays a dynamic special effect (such as a heart-shaped dynamic special effect) corresponding to the target interactive operation. Fig.10 As shown in Figure (d), if the user presses the first button, the electronic device receives the first interaction signal and displays the first control as selected. If the user then presses the target button, the electronic device receives the target interaction signal, hides the target control and the first control, and displays a target prompt message (such as "Reduce similar recommendations"). After 1 second, the electronic device ends playing video A and plays video B of a different type from video A.
[0159] It should be understood that in the above Fig. 9 In the embodiment shown, the first control is used as an example for explanation. In some embodiments, the electronic device can display multiple other controls on the basis of displaying the target control to provide more interactive operations for the target media resource. The specific process is the same as the above. Fig. 9 For example, the electronic device displays a target control, a first control, and a second control, and the second control indicates that a collection operation is performed on the target media resource. The user presses a button deployed on the remote control device to select the corresponding control, triggering the remote control device to send an interactive signal to the electronic device, so that the electronic device performs the corresponding interactive operation.
[0160] Through the above Fig. 9 The interactive method of media resources shown in the figure, when the electronic device plays the target media resource, uses the target button deployed on the remote control device to implement multiple interactive operations for the target media resource, wherein if the electronic device continues to receive the target interactive signal triggered based on the target button within the target duration, the electronic device displays the target control and the first control, so that the user can press the remote control device as needed to trigger the electronic device to implement the corresponding interactive operation. In the above process, by reusing the target button deployed by the remote control device, different interactive operations are implemented on the media resource during the playback of the media resource in a lightweight operation mode, expanding the interactive form between the user and the electronic device, thereby improving the human-computer interaction efficiency and user experience.
[0161] In addition, it should be noted that the target application running on the electronic device often supports running on different types of devices. For example, taking a video application as an example, the application not only supports running on mobile devices (such as mobile phones and tablets), but also supports running on the electronic devices involved in the embodiments of the present disclosure. Based on this, the electronic device involved in the present disclosure can implement the target interactive operation based on the same method as the mobile device. For example, when the mobile device plays a video, the user double-clicks the screen to implement the like operation. Correspondingly, when the electronic device involved in the present disclosure plays a video, the user double-clicks the target button of the remote control device to implement the like operation, thereby achieving the same trigger conditions for implementing interactive operations on media resources when running the same application on different types of devices, improving the user's experience. For example, the developer configures the target application running on the electronic device involved in the present disclosure based on the target application that has been running on other devices. For another example, in the process of running the target application, the electronic device obtains the interactive operation trigger conditions of the target application running on other devices, and configures the interactive operation trigger conditions of the target application on the electronic device, which is not limited to this.
[0162] Fig.11 is a block diagram of a media resource interaction device provided by an embodiment of the present disclosure. Fig.11 The device includes a playing unit 1101, a first operation executing unit 1102 and a second operation executing unit 1103.
[0163] The playing unit 1101 is configured to play the target media resource;
[0164] The first operation execution unit 1102 is configured to execute, in response to receiving a target interaction signal sent by the remote control device twice in a first time period during the playing of the target media resource, a target interaction operation on the target media resource and display an interaction result corresponding to the target interaction operation, wherein the target interaction signal is triggered by pressing a target button of the remote control device;
[0165] The second operation execution unit 1103 is configured to execute the operation corresponding to the target button in response to receiving the target interaction signal sent by the remote control device once within the first time period during the process of playing the target media resource.
[0166] Through the device, when the electronic device plays the target media resource, the target button deployed on the remote control device is used to implement the target interactive operation for the target media resource, wherein if the electronic device receives two consecutive target interactive signals triggered by the target button within the first time length, the electronic device implements the target interactive operation on the target media resource, and if the electronic device receives only one target interactive signal within the first time length, the electronic device performs the operation corresponding to the target button. In this process, by reusing the target button deployed by the remote control device, a lightweight operation method is used to implement the corresponding interactive operation on the media resource during the playback of the media resource, thereby expanding the form of interaction between the user and the electronic device and improving the efficiency of human-computer interaction and user experience.
[0167] In some embodiments, the apparatus further comprises:
[0168] The first display unit is configured to display a target control in response to continuously receiving the target interaction signal sent by the remote control device within a second time period during the playing of the target media resource;
[0169] A third operation execution unit is configured to execute, in response to receiving the target interaction signal sent by the remote control device once within a third time period during the process of displaying the target control, the target interaction operation is performed on the target media resource;
[0170] The fourth operation execution unit is configured to execute hiding of the target control in response to not receiving the target interaction signal sent by the remote control device within the third time period during the process of displaying the target control.
[0171] In some embodiments, the first display unit is configured to perform:
[0172] In response to continuously receiving the target interaction signal sent by the remote control device within the second duration during the playing of the target media resource, determining target display content of the target media resource based on the target media resource;
[0173] Based on the target display content, the target control is displayed in an area other than the target display content in the playback area of the target media resource, so that the target control does not block the target display content.
[0174] In some embodiments, the apparatus further comprises:
[0175] an acquisition unit configured to execute, in response to continuously receiving the target interaction signal sent by the remote control device within a fourth time period during the process of playing the target media resource, acquiring historical interaction information of the target media resource, the historical interaction information indicating the interaction operations that have been performed on the target media resource;
[0176] The second display unit is further configured to display the target control based on the historical interaction information;
[0177] Among them, when the historical interaction information indicates that the target interaction operation has been implemented for the target media resource, the target control is displayed in a first display style; when the historical interaction information indicates that the target interaction operation has not been implemented for the target media resource, the target control is displayed in a second display style, and the second display style is different from the first display style.
[0178] In some embodiments, the device further includes a fifth operation execution unit configured to execute any of the following:
[0179] In a case where the target control is displayed in the first display style, in response to receiving the target interaction signal sent by the remote control device once within a fifth time period during the process of displaying the target control, canceling the target interaction operation implemented on the target media resource;
[0180] When the target control is displayed in the second display style, in response to receiving the target interaction signal sent by the remote control device once within the fifth time period during the process of displaying the target control, the target interaction operation is performed on the target media resource.
[0181] In some embodiments, the apparatus further comprises:
[0182] A third display unit is configured to display a first control at a position adjacent to the target control, where the first control indicates to implement a first interactive operation on the target media resource;
[0183] The sixth operation execution unit is configured to execute the first interactive operation on the target media resource in response to the first interactive signal and the target interactive signal sent by the remote control device being received in sequence within a sixth time period, and the first interactive signal is triggered by pressing the first button of the remote control device.
[0184] In some embodiments, the sixth operation execution unit is configured to execute:
[0185] In response to receiving the first interaction signal and the target interaction signal in sequence within the sixth duration during displaying the first control, hiding the target control and the first control, and displaying a target prompt message, wherein the target prompt message indicates that there is no interest in the target media resource;
[0186] The target media resource is stopped from being played, and a first media resource of a different type from that of the target media resource is played.
[0187] In some embodiments, the interaction result indicates that the target interaction operation has been performed on the target media resource, and the interaction result is at least one of the following: a picture, text, and a dynamic special effect.
[0188] It should be noted that: when the interactive device for media resources provided in the above embodiment implements interactive operations on media resources, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the interactive device for media resources provided in the above embodiment and the interactive method embodiment of media resources belong to the same concept. The specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0189] In an exemplary embodiment, an electronic device is also provided. The electronic device includes a processor and a memory. The memory is used to store at least one computer program. The at least one computer program is loaded and executed by the processor to implement the above-mentioned interactive method of media resources.
[0190] Fig.12 1 is a block diagram of an electronic device provided by an embodiment of the present disclosure. Taking the electronic device configured as a terminal as an example, the terminal 1200 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3), an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) player, a laptop computer or a desktop computer. The terminal 1200 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal, or other names.
[0191] Typically, the terminal 1200 includes: a processor 1201 and a memory 1202 .
[0192] The processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1201 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1201 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1201 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1201 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0193] The memory 1202 may include one or more computer-readable storage media, which may be non-transitory. The memory 1202 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1202 is used to store at least one program code, which is used to be executed by the processor 1201 to implement the process executed by the electronic device in the interactive method of the media resource provided in the embodiment of the method of the present disclosure.
[0194] In some embodiments, the terminal 1200 may also optionally include: a peripheral device interface 1203 and at least one peripheral device. The processor 1201, the memory 1202 and the peripheral device interface 1203 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1203 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1204, a display screen 1205, a camera assembly 1206, an audio circuit 1207, a positioning assembly 1208 and a power supply 1209.
[0195] The peripheral device interface 1203 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1201 and the memory 1202. In some embodiments, the processor 1201, the memory 1202, and the peripheral device interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1201, the memory 1202, and the peripheral device interface 1203 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0196] The radio frequency circuit 1204 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1204 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1204 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1204 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1204 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1204 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0197] The display screen 1205 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1205 is a touch display screen, the display screen 1205 also has the ability to collect touch signals on the surface or above the surface of the display screen 1205. The touch signal can be input to the processor 1201 as a control signal for processing. At this time, the display screen 1205 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1205 can be one, set on the front panel of the terminal 1200; in other embodiments, the display screen 1205 can be at least two, respectively set on different surfaces of the terminal 1200 or in a folding design; in other embodiments, the display screen 1205 can be a flexible display screen, set on a curved surface or a folding surface of the terminal 1200. Even, the display screen 1205 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1205 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0198] The camera assembly 1206 is used to capture images or videos. Optionally, the camera assembly 1206 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1206 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0199] The audio circuit 1207 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1201 for processing, or input them into the radio frequency circuit 1204 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1200. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1201 or the radio frequency circuit 1204 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1207 may also include a headphone jack.
[0200] The positioning component 1208 is used to locate the current geographical location of the terminal 1200 to implement navigation or LBS (Location Based Service).
[0201] The power supply 1209 is used to power various components in the terminal 1200. The power supply 1209 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1209 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0202] In some embodiments, the terminal 1200 further includes one or more sensors 1210 , including but not limited to: an acceleration sensor 1211 , a gyroscope sensor 1212 , a pressure sensor 1213 , a fingerprint sensor 1214 , an optical sensor 1215 , and a proximity sensor 1216 .
[0203] The acceleration sensor 1211 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1200. For example, the acceleration sensor 1211 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1201 can control the display screen 1205 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1211. The acceleration sensor 1211 can also be used to collect motion data of games or users.
[0204] The gyro sensor 1212 can detect the body direction and rotation angle of the terminal 1200, and the gyro sensor 1212 can cooperate with the acceleration sensor 1211 to collect the user's 3D actions on the terminal 1200. The processor 1201 can implement the following functions based on the data collected by the gyro sensor 1212: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0205] The pressure sensor 1213 can be set on the side frame of the terminal 1200 and / or the lower layer of the display screen 1205. When the pressure sensor 1213 is set on the side frame of the terminal 1200, the user's holding signal of the terminal 1200 can be detected, and the processor 1201 performs left and right hand recognition or shortcut operations according to the holding signal collected by the pressure sensor 1213. When the pressure sensor 1213 is set on the lower layer of the display screen 1205, the processor 1201 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1205. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0206] The fingerprint sensor 1214 is used to collect the user's fingerprint, and the processor 1201 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 1214, or the fingerprint sensor 1214 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 1201 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 1214 can be set on the front, back, or side of the terminal 1200. When a physical button or a manufacturer logo is set on the terminal 1200, the fingerprint sensor 1214 can be integrated with the physical button or the manufacturer logo.
[0207] The optical sensor 1215 is used to collect the ambient light intensity. In one embodiment, the processor 1201 can control the display brightness of the display screen 1205 according to the ambient light intensity collected by the optical sensor 1215. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1205 is increased; when the ambient light intensity is low, the display brightness of the display screen 1205 is reduced. In another embodiment, the processor 1201 can also dynamically adjust the shooting parameters of the camera assembly 1206 according to the ambient light intensity collected by the optical sensor 1215.
[0208] The proximity sensor 1216, also called a distance sensor, is usually arranged on the front panel of the terminal 1200. The proximity sensor 1216 is used to collect the distance between the user and the front of the terminal 1200. In one embodiment, when the proximity sensor 1216 detects that the distance between the user and the front of the terminal 1200 is gradually decreasing, the processor 1201 controls the display screen 1205 to switch from the screen-on state to the screen-off state; when the proximity sensor 1216 detects that the distance between the user and the front of the terminal 1200 is gradually increasing, the processor 1201 controls the display screen 1205 to switch from the screen-off state to the screen-on state.
[0209] Those skilled in the art will understand that Fig.12 The structure shown in the figure does not constitute a limitation on the terminal 1200, and the terminal 1200 may include more or fewer components than those shown in the figure, or combine certain components, or adopt a different component arrangement.
[0210] Fig.13 It is a block diagram of another electronic device provided by an embodiment of the present disclosure. Schematically, the electronic device 1300 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1301 and one or more memories 1302, wherein the one or more memories 1302 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 1301 to implement the interactive method of media resources provided by the above-mentioned various method embodiments. In addition, the electronic device 1300 also includes a display screen 1303 for providing a playback function of media resources. Of course, the electronic device 1300 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The electronic device 1300 may also include other components for implementing device functions, which will not be repeated here.
[0211] In an exemplary embodiment, a computer-readable storage medium including a program code is also provided, such as a memory 1302 including the program code, and the program code can be executed by a processor 1301 of an electronic device 1300 to complete the above-mentioned interactive method of media resources. Optionally, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0212] In an exemplary embodiment, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the above-mentioned interactive method of media resources is implemented.
[0213] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0214] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for interactive media resources, characterized in that: The method is performed by an electronic device, the electronic device is bound to a remote control device, and includes: Play the target media resource; In response to receiving a target interaction signal sent by the remote control device twice in a first duration in a process of playing the target media resource, performing a target interaction operation on the target media resource and displaying an interaction result corresponding to the target interaction operation, wherein the target interaction signal is triggered by pressing a target button of the remote control device; In response to receiving a target interaction signal sent by the remote control device once within a first duration during the playing of the target media resource, executing an operation corresponding to a target button of the remote control device; In response to continuously receiving the target interaction signal sent by the remote control device within a second duration during the playing of the target media resource, displaying a target control and a first control; the first control is displayed at a position adjacent to the target control, and the first control indicates that a first interaction operation is performed on the target media resource; In response to receiving a first interaction signal and a target interaction signal in sequence within a sixth duration during display of the first control, hiding the target control and the first control, displaying a target prompt message, the target prompt message indicating no interest in the target media resource, the first interaction signal being triggered by pressing a first button of the remote control device; The target media resource is stopped from being played, and a first media resource of a different type from that of the target media resource is played.
2. The interactive method of media resources according to claim 1, characterized in that: The method further comprises: In response to receiving the target interaction signal sent by the remote control device once within a third time period during the process of displaying the target control, performing the target interaction operation on the target media resource; In response to not receiving the target interaction signal sent by the remote control device within the third time period during the process of displaying the target control, hiding the target control.
3. The interactive method of media resources according to claim 1, characterized in that: The step of displaying a target control in response to continuously receiving the target interaction signal sent by the remote control device within a second time period during the process of playing the target media resource includes: In response to continuously receiving the target interaction signal sent by the remote control device within the second duration during the playing of the target media resource, determining target display content of the target media resource based on the target media resource; Based on the target display content, the target control is displayed in an area other than the target display content in the playback area of the target media resource, so that the target control does not block the target display content.
4. The interactive method of media resources according to claim 1, characterized in that: The method further comprises: In response to continuously receiving the target interaction signal sent by the remote control device within a fourth time period during the playing of the target media resource, acquiring historical interaction information of the target media resource, the historical interaction information indicating interaction operations that have been performed on the target media resource; displaying a target control based on the historical interaction information; Among them, when the historical interaction information indicates that the target interaction operation has been implemented on the target media resource, the target control is displayed in a first display style; when the historical interaction information indicates that the target interaction operation has not been implemented on the target media resource, the target control is displayed in a second display style, and the second display style is different from the first display style.
5. The interactive method of media resources according to claim 4, characterized in that: The method further comprises any of the following: In a case where the target control is displayed in the first display style, in response to receiving the target interaction signal sent by the remote control device once within a fifth time period during the process of displaying the target control, canceling the target interaction operation performed on the target media resource; When the target control is displayed in the second display style, in response to receiving the target interaction signal sent by the remote control device once within the fifth time period during the process of displaying the target control, the target interaction operation is performed on the target media resource.
6. An interactive device for media resources, characterized in that: Applied to an electronic device, the electronic device is bound to a remote control device, and the device comprises: A playback unit, configured to play a target media resource; A first operation execution unit is configured to execute, in response to receiving a target interaction signal sent by the remote control device twice in a first time period during the playing of the target media resource, a target interaction operation on the target media resource and display an interaction result corresponding to the target interaction operation, wherein the target interaction signal is triggered by pressing a target button of the remote control device; A second operation execution unit is configured to execute, in response to receiving a target interaction signal sent by the remote control device once within a first time period during the process of playing the target media resource, an operation corresponding to a target button of the remote control device; The first display unit is configured to display a target control and a first control in response to continuously receiving the target interaction signal sent by the remote control device within a second time period during the playing of the target media resource; the first control is displayed at a position adjacent to the target control, and the first control indicates that a first interaction operation is performed on the target media resource; The sixth operation execution unit is configured to execute in response to receiving the first interaction signal and the target interaction signal in sequence within a sixth time period during the process of displaying the first control, hiding the target control and the first control, displaying a target prompt message, wherein the target prompt message indicates that there is no interest in the target media resource, and the first interaction signal is triggered by pressing a first button of the remote control device; ending the playback of the target media resource, and playing a first media resource of a type different from that of the target media resource.
7. An electronic device, characterized in that: The electronic device comprises: one or more processors; a memory for storing program code executable by the processor; The processor is configured to execute the program code to implement the interactive method of media resources as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: When the program code in the computer-readable storage medium is executed by a processor of an electronic device, the electronic device is enabled to execute the interactive method for media resources as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Voice interaction method and system of intelligent television
CN105635778A
Control method and device for mobile terminal
CN106775728A
Method and apparatus for intelligent remote control of videos
CN106792039A
Television remote controller and key reuse method thereof as well as storage medium
CN107995513A
Method for playing media item and display equipment
CN111182339A
