Method, device and equipment for playing multimedia resource and storage medium

By acquiring and analyzing the focus information of the playback interface, the display of information other than multimedia resources is automatically canceled, solving the problem of multimedia resource interface obstruction and improving user experience and interaction efficiency.

CN119342273BActive Publication Date: 2026-01-23BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411525285.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2026-01-23
Estimated Expiration
2044-10-29

AI Technical Summary

Technical Problem

On the playback interface of multimedia resources, text descriptions and interactive components obscure some content, resulting in poor interface display and reduced user experience.

Method used

By obtaining the focus information of the object on the playback interface, and determining whether to cancel the display of information other than multimedia resources based on the focus area and duration, the multimedia resources are played in a clear screen mode to reduce obstruction and interference.

Benefits of technology

It improves the interface display, enhances user immersion and comfort, increases the efficiency and convenience of human-computer interaction, and reduces the need for manual interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342273B_ABST
    Figure CN119342273B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a multimedia resource playing method and device, equipment and storage medium, and relates to the technical field of multimedia. The method comprises: when playing a multimedia resource, obtaining focus information of an object in a playing interface; when the focus information meets a preset condition, canceling display of information other than the multimedia resource on the playing interface. This reduces the occlusion of the information on the playing interface to the played multimedia resource, i.e. reduces the interference with the playing of the multimedia resource, improves the interface display effect, enables the object to watch the multimedia resource more immersed and comfortably, and improves the watching experience. Furthermore, the method automatically cancels display of the information based on the focus information of the object, without manual interaction by the object, thereby further improving the convenience of interaction and the efficiency of human-computer interaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of multimedia technology, and in particular to a method, apparatus, device, and storage medium for playing multimedia resources. Background Technology

[0002] With the development of multimedia technology, more and more short video applications have emerged. People can publish multimedia resources on short video applications, and at the same time, they can watch multimedia resources published by others.

[0003] In related technologies, the playback interface of multimedia resources not only plays the multimedia resources, but also generally displays text descriptions, interactive components, and other information about the multimedia resources. The display of this information can obscure some content in the multimedia resources being played, resulting in the content of the multimedia resources not being displayed completely and reducing the interface display effect. Summary of the Invention

[0004] This disclosure provides a method, apparatus, device, and storage medium for playing multimedia resources. The method improves the interface display effect and enhances the convenience and efficiency of human-computer interaction. The technical solution of this disclosure is as follows.

[0005] According to one aspect of the embodiments of this disclosure, a method for playing multimedia resources is provided, the method comprising:

[0006] Display a playback interface, which is used to play multimedia resources;

[0007] Obtain focus information of an object on the playback interface, the focus information including at least one of a focus area and a focus duration corresponding to the focus area;

[0008] If the focus information meets the focus conditions, information other than the multimedia resources on the playback interface will be canceled from being displayed.

[0009] In some embodiments, when the focus information satisfies the focus condition, canceling the display of information other than the multimedia resources on the playback interface includes:

[0010] If the focused area is outside the area where the information is located, the information will be canceled from display; or,

[0011] If the focused area is the area where the prompt message is located, the message will be canceled from display. The prompt message is used to prompt the cancellation of displaying information other than the multimedia resources on the playback interface; or...

[0012] If the focus area is the area where the close control for the information is located, then the information will be canceled from display.

[0013] In some embodiments, canceling the display of the information when the focus area is outside the area where the information is located includes:

[0014] If the focused area is outside the area where the information is located and the focused duration reaches a preset duration, the information will be canceled from display.

[0015] In some embodiments, when the focus area is the area where the prompt information is located, canceling the display of the information includes:

[0016] If the focus area is the area where the prompt message is located and the focus duration reaches the preset duration, the message will be canceled from display.

[0017] In some embodiments, when the focus area is the area where the close control of the information is located, canceling the display of the information includes:

[0018] If the focus area is the area where the information's close control is located and the focus duration reaches a preset duration, the information will be canceled from display.

[0019] In some embodiments, canceling the display of information other than the multimedia resources on the playback interface includes:

[0020] The process of gradually increasing the transparency of information other than the multimedia resources displayed on the playback interface until it disappears.

[0021] In some embodiments, after canceling the display of information other than the multimedia resources on the playback interface, the method further includes:

[0022] In response to detecting that the object is focused on any area of ​​the playback interface, information that was previously canceled from being displayed in that area is restored to the display area.

[0023] In some embodiments, after canceling the display of information other than the multimedia resources on the playback interface, the method further includes at least one of the following:

[0024] In response to a trigger operation on the playback interface, information that was previously canceled from display is restored on the playback interface;

[0025] In response to detecting a trigger operation by the object on any area of ​​the playback interface, information that was previously canceled from display is restored to that area.

[0026] In some embodiments, the method further includes:

[0027] In response to detecting the object's closed-eye action, the brightness of the screen where the playback interface is located is reduced.

[0028] In some embodiments, the method further includes:

[0029] In response to detecting an air gesture used to adjust the playback progress, information other than the multimedia resources on the playback interface is canceled from being displayed, and the multimedia resources are continued to be played starting from the playback progress corresponding to the air gesture.

[0030] In some embodiments, the method further includes:

[0031] In response to detecting an air gesture used to adjust the playback speed, information other than the multimedia resource on the playback interface is canceled from being displayed, and the multimedia resource continues to be played at the playback speed corresponding to the air gesture.

[0032] In some embodiments, the method further includes:

[0033] In response to a playback mode selection operation on the playback interface, a switch control for a target playback mode is displayed, wherein the target playback mode is used to indicate the display of information other than the multimedia resources on the playback interface by controlling the focus information;

[0034] In response to the activation operation of the switch control, the target playback mode is activated.

[0035] In some embodiments, the information on the playback interface other than the multimedia resources includes at least one of the textual description information of the multimedia resources and interactive components.

[0036] In some embodiments, the method further includes:

[0037] Obtain the viewing distance of the object relative to the playback interface;

[0038] Adjust the magnification of the multimedia resources on the playback interface based on the viewing distance.

[0039] In some embodiments, the method further includes at least one of the following:

[0040] Information other than the multimedia resources on the playback interface includes a playback progress bar. In response to detecting that the object is focused on the playback progress bar on the playback interface, the playback progress of the multimedia resources is adjusted.

[0041] The information on the playback interface other than the multimedia resources includes at least one interactive component. In response to detecting that the object focuses on any interactive component on the playback interface, the multimedia resources are interacted with based on the interactive component.

[0042] In some embodiments, the method further includes:

[0043] In response to detecting continuous blinking of the object, the multimedia resource being played on the playback interface is switched.

[0044] According to another aspect of the embodiments of this disclosure, a multimedia resource playback device is provided, the device comprising:

[0045] The display unit is configured to display a playback interface, which is used to play multimedia resources.

[0046] The acquisition unit is configured to acquire focus information of an object on the playback interface, the focus information including at least one of a focus area and a focus duration corresponding to the focus area;

[0047] The display unit is further configured to, when the focus information satisfies the focus condition, cancel the display of information other than the multimedia resources on the playback interface.

[0048] In some embodiments, the display unit is configured to perform:

[0049] If the focused area is outside the area where the information is located, the information will be canceled from display; or,

[0050] If the focused area is the area where the prompt message is located, the message will be canceled from display. The prompt message is used to prompt the cancellation of displaying information other than the multimedia resources on the playback interface; or...

[0051] If the focus area is the area where the close control for the information is located, then the information will be canceled from display.

[0052] In some embodiments, the display unit is configured to perform:

[0053] If the focused area is outside the area where the information is located and the focused duration reaches a preset duration, the information will be canceled from display.

[0054] In some embodiments, the display unit is configured to perform:

[0055] If the focus area is the area where the prompt message is located and the focus duration reaches the preset duration, the message will be canceled from display.

[0056] In some embodiments, the display unit is configured to perform:

[0057] If the focus area is the area where the information's close control is located and the focus duration reaches a preset duration, the information will be canceled from display.

[0058] In some embodiments, the display unit is configured to perform:

[0059] The process of gradually increasing the transparency of information other than the multimedia resources displayed on the playback interface until it disappears.

[0060] In some embodiments, the display unit is further configured to perform:

[0061] In response to detecting that the object is focused on any area of ​​the playback interface, information that was previously canceled from being displayed in that area is restored to the display area.

[0062] In some embodiments, the display unit is further configured to perform at least one of the following:

[0063] In response to a trigger operation on the playback interface, information that was previously canceled from display is restored on the playback interface;

[0064] In response to detecting a trigger operation by the object on any area of ​​the playback interface, information that was previously canceled from display is restored to that area.

[0065] In some embodiments, the apparatus further includes a first adjustment unit configured to perform:

[0066] In response to detecting the object's closed-eye action, the brightness of the screen where the playback interface is located is reduced.

[0067] In some embodiments, the display unit is further configured to perform:

[0068] In response to detecting an air gesture used to adjust the playback progress, information other than the multimedia resources on the playback interface is canceled from being displayed, and the multimedia resources are continued to be played starting from the playback progress corresponding to the air gesture.

[0069] In some embodiments, the display unit is further configured to perform:

[0070] In response to detecting an air gesture used to adjust the playback speed, information other than the multimedia resource on the playback interface is canceled from being displayed, and the multimedia resource continues to be played at the playback speed corresponding to the air gesture.

[0071] In some embodiments, the display unit is further configured to perform:

[0072] In response to a playback mode selection operation on the playback interface, a switch control for a target playback mode is displayed, wherein the target playback mode is used to indicate the display of information other than the multimedia resources on the playback interface by controlling the focus information;

[0073] In response to the activation operation of the switch control, the target playback mode is activated.

[0074] In some embodiments, the information on the playback interface other than the multimedia resources includes at least one of the textual description information of the multimedia resources and interactive components.

[0075] In some embodiments, the acquisition unit is further configured to perform:

[0076] Obtain the viewing distance of the object relative to the playback interface;

[0077] The device further includes a second adjustment unit configured to perform an adjustment of the magnification of the multimedia resources on the playback interface based on the viewing distance.

[0078] In some embodiments, the apparatus further includes an interaction unit configured to perform at least one of the following:

[0079] Information other than the multimedia resources on the playback interface includes a playback progress bar. In response to detecting that the object is focused on the playback progress bar on the playback interface, the playback progress of the multimedia resources is adjusted.

[0080] The information on the playback interface other than the multimedia resources includes at least one interactive component. In response to detecting that the object focuses on any interactive component on the playback interface, the multimedia resources are interacted with based on the interactive component.

[0081] In some embodiments, the apparatus further includes a switching unit configured to perform:

[0082] In response to detecting continuous blinking of the object, the multimedia resource being played on the playback interface is switched.

[0083] According to another aspect of the present disclosure, an electronic device is provided, the electronic device comprising:

[0084] processor;

[0085] Memory used to store the processor's executable instructions;

[0086] The processor is configured to execute the instructions to implement the above-mentioned method for playing multimedia resources.

[0087] According to another aspect of the present disclosure, a computer-readable storage medium is provided that, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform the above-described method for playing multimedia resources.

[0088] According to another aspect of the present disclosure, a computer program product is provided, the computer program product including a computer program that, when executed by a processor, implements the above-described method for playing multimedia resources.

[0089] This application provides a method for playing multimedia resources. When playing multimedia resources, the method acquires the focus information of an object on the playback interface. When the focus information meets preset conditions, it cancels the display of information other than the multimedia resources on the playback interface. This reduces the obstruction of the multimedia resources by this information, thus reducing interference with playback and improving the interface display effect. This allows the viewer to watch multimedia resources more immersively and comfortably, enhancing the viewing experience. Furthermore, this method automatically cancels the display of this information based on the object's focus information, eliminating the need for manual interaction and further improving the convenience and efficiency of human-computer interaction.

[0090] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0091] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.

[0092] Figure 1 This is a schematic diagram illustrating an implementation environment according to an exemplary embodiment.

[0093] Figure 2 This is a flowchart illustrating a method for playing multimedia resources according to an exemplary embodiment.

[0094] Figure 3 This is a flowchart illustrating another method for playing multimedia resources according to an exemplary embodiment.

[0095] Figure 4 This is a schematic diagram illustrating a playback interface according to an exemplary embodiment.

[0096] Figure 5 This is a schematic diagram illustrating a settings panel according to an exemplary embodiment.

[0097] Figure 6This is a schematic diagram illustrating a playback interface for canceling the display of information, according to an exemplary embodiment.

[0098] Figure 7 This is a block diagram illustrating a multimedia resource playback device according to an exemplary embodiment.

[0099] Figure 8 This is a block diagram illustrating a terminal according to an exemplary embodiment. Detailed Implementation

[0100] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0101] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0102] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this disclosure are authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, focusing information, air gestures, blinking actions, etc. involved in this disclosure were obtained with full authorization.

[0103] The multimedia resource playback method provided in this disclosure can be executed by an electronic device, which can be provided as at least one of a terminal and a server. Figure 1 This is a schematic diagram of an implementation environment provided by an embodiment of this disclosure. See also: Figure 1 The implementation environment includes: terminal 101 and server 102.

[0104] In this embodiment, terminal 101 is used to play multimedia resources such as short videos and image collections. In some embodiments, a target application is installed on terminal 101. The target application is used to play multimedia resources, and during the playback of multimedia resources, it can play the multimedia resources in a clear screen mode, that is, cancel the display of information other than the multimedia resources on the playback interface. Server 102 is the background server of the target application, used to provide background services for terminal 101 to play multimedia resources.

[0105] In some embodiments, during the process of playing multimedia resources on the playback interface, the terminal 101 obtains the focus information of the object on the playback interface. The focus information includes at least one of the focus area and the focus duration corresponding to the focus area. If the focus information meets the focus conditions, the display of information other than the multimedia resources on the playback interface is canceled.

[0106] Terminal 101 can be at least one of the following devices: smartphone, smartwatch, desktop computer, laptop, virtual reality terminal, augmented reality terminal, wireless terminal, and laptop computer. Terminal 101 has communication capabilities and can access wired or wireless networks. Terminal 101 can refer to one of multiple terminals; those skilled in the art will understand that the number of terminals can be more or less. Server 102 can be an independent physical server, a server cluster composed of multiple physical servers, or a distributed file system. It can also be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. In some embodiments, server 102 and terminal 101 are directly or indirectly connected via wired or wireless communication; this disclosure does not limit this. Optionally, the number of servers 102 can be more or less; this disclosure does not limit this. Of course, server 102 can also include other functional servers to provide more comprehensive and diversified services. In this embodiment, server 102 undertakes the main computing work and terminal 101 undertakes the secondary computing work; or, server 102 undertakes the secondary computing work and terminal 101 undertakes the main computing work; or, server 102 or terminal 101 can each undertake computing work independently, and this embodiment does not limit this.

[0107] Figure 2 This is a flowchart illustrating a method for playing multimedia resources according to an exemplary embodiment, such as... Figure 2 As shown, this method is executed by a terminal and includes the following steps.

[0108] In step S201, the terminal displays a playback interface, which is used to play multimedia resources.

[0109] In the embodiments of this application, multimedia resources can be videos, pictures, picture sets, etc.

[0110] In some embodiments, the playback interface displays information other than the multimedia resources. This information includes at least one of the following: text description information of the multimedia resources, interactive components, etc. The text description information includes the text, title, author information, etc., of the multimedia resources. Interactive components include at least one of the following: like component, comment component, favorite component, share component, follow component, and audio viewing component. Furthermore, the information other than the multimedia resources also includes bullet screen information, promotional information, etc., which will not be elaborated further here.

[0111] In step S202, the terminal obtains the focus information of the object on the playback interface. The focus information includes at least one of the focus area and the focus duration corresponding to the focus area.

[0112] In this embodiment, the focus area can be any area on the playback interface. Optionally, the terminal acquires focus information of the object on the playback interface through a camera.

[0113] In step S203, if the focus information meets the focus conditions, the terminal cancels the display of information other than multimedia resources on the playback interface.

[0114] The focus information includes at least one of a focus area and a focus duration. Correspondingly, the focus conditions include at least one of a condition corresponding to the focus area and a condition corresponding to the focus duration. Focus conditions are used to indicate that the object is focused on the multimedia resource on the playback interface and is not interested in information other than the multimedia resource. For example, focus conditions can be used to indicate that the object is focused on the multimedia resource for an extended period of time.

[0115] In this embodiment of the application, information other than multimedia resources on the playback interface is canceled, that is, multimedia resources are played in clear screen mode on the playback interface.

[0116] This application provides a method for playing multimedia resources. When playing multimedia resources, the method acquires the focus information of an object on the playback interface. When the focus information meets preset conditions, it cancels the display of information other than the multimedia resources on the playback interface. This reduces the obstruction of the multimedia resources by this information, thus reducing interference with playback and improving the interface display effect. This allows the viewer to watch multimedia resources more immersively and comfortably, enhancing the viewing experience. Furthermore, this method automatically cancels the display of this information based on the object's focus information, eliminating the need for manual interaction and further improving the convenience and efficiency of human-computer interaction.

[0117] The above Figure 2 The diagram shown is merely the basic process of this disclosure. The following section, based on a specific implementation method, further elaborates on the solution provided in this disclosure. See also... Figure 3 , Figure 3 This is a flowchart illustrating another method for playing multimedia resources according to an exemplary embodiment, the method being executed by a terminal, and the method including the following steps.

[0118] In step S301, the terminal displays a playback interface, which is used to play multimedia resources.

[0119] In the embodiments of this application, step S301 is the same as step S201, and will not be described again here.

[0120] For example, see Figure 4 , Figure 4 This is a schematic diagram illustrating a playback interface according to an exemplary embodiment. The playback interface plays multimedia resources and also displays text description information 401 and interactive components 402 of the multimedia resources.

[0121] In step S302, in response to the playback mode selection operation of the playback interface, the terminal displays a switch control for the target playback mode. In response to the opening operation of the switch control, the target playback mode is turned on. The target playback mode is used to indicate the display of information other than multimedia resources on the playback interface through focus information control.

[0122] In some embodiments, the playback mode selection operation on the playback interface is a target operation on the playback interface, such as a long press operation. Alternatively, if the playback interface displays a mode control, the playback mode selection operation on the playback interface refers to the triggering operation of that mode control.

[0123] In some embodiments, in response to a playback mode selection operation on the playback interface, the terminal directly displays a switch control for the target playback mode on the playback interface. For example, the switch control may be displayed above the text description information on the playback interface.

[0124] In other embodiments, a switch control for the target playback mode is displayed on the settings panel of the multimedia resource. That is, in response to a playback mode selection operation on the playback interface, the terminal displays the settings panel, on which the switch control for the target playback mode is displayed. This switch control includes an on state and an off state. In response to a trigger operation on the switch control, it is put into the on state, thus enabling the switch control. Optionally, the settings panel is displayed on the playback interface as a pop-up window. For example, see... Figure 5 , Figure 5This is a schematic diagram of a settings panel according to an exemplary embodiment. The settings panel displays various settings controls for multimedia resources and a switch control 501 for the target playback mode (intelligent noise reduction mode).

[0125] In other embodiments, the switch control for the target playback mode is displayed directly on the playback interface, without requiring a playback mode selection operation to display the switch control.

[0126] In this embodiment, the following steps are described using the example of enabling the target playback mode and performing the following steps in the target playback mode; in other embodiments, the playback interface always controls the display of information other than multimedia resources on the playback interface based on focus information, without needing to perform the step of enabling the target playback mode.

[0127] In step S303, the terminal obtains focus information of the object on the playback interface. The focus information includes at least one of the focus area and the focus duration corresponding to the focus area.

[0128] In some embodiments, the terminal acquires focus information via a camera. Further, eye-tracking technology is used to acquire focus information via the camera. Eye-tracking technology primarily acquires focus information based on the measurement and analysis of eye movements. Common methods for this technology include pupil center localization and corneal reflection. Pupil center localization calculates the focus area by locating the pupil center and combining it with the position of corneal reflection. Corneal reflection determines the focus area by illuminating the subject's eye with an infrared light source and capturing the reflected light from the cornea. Embodiments of this application may employ any of the above methods or other methods to acquire focus information, which will not be elaborated further here.

[0129] In step S304, if the focus information meets the focus conditions, the terminal cancels the display of information other than multimedia resources on the playback interface.

[0130] In the embodiments of this application, step S304 above includes the following implementation methods.

[0131] The first scenario is that if the focused area is outside the area where the information is located, the terminal cancels the display of the information.

[0132] In this embodiment, the object's focus area is the area outside the information area, indicating that the object is not interested in the information displayed on the playback interface. Therefore, in this case, the display of this information is canceled, which meets the object's current viewing needs, ensures the accuracy of information cancellation, reduces the interference caused by this information, and improves the interface display effect.

[0133] In some embodiments, the display of this information is canceled only when the focus duration also meets certain conditions. Accordingly, the process of canceling the display of information by the terminal when the focus area is outside the area where the information is located includes the following steps: when the focus area is outside the area where the information is located and the focus duration reaches a preset duration, the terminal cancels the display of information.

[0134] The preset duration can be set as needed. For example, the preset duration can be a fixed length, such as 5 seconds. Alternatively, the preset duration can be positively correlated with the overall duration of the multimedia resource; that is, the longer the overall duration of the multimedia resource, the longer the preset duration.

[0135] In this embodiment, the information is only canceled when the focus time on areas other than the information reaches a certain duration, thus avoiding accidental cancellation of information due to accidental focusing on the object, which improves the accuracy of the timing for canceling the display of information.

[0136] The second scenario involves canceling the display of information when the focus area is the same as the area containing the prompt message. The prompt message is used to indicate when to cancel the display of information other than multimedia resources on the playback interface.

[0137] In this embodiment, the area of ​​the prompt message on the playback interface can be set as needed, such as displaying it in the top area of ​​the playback interface. It should be noted that information other than multimedia resources also includes this prompt message; that is, when the focus condition is met, the prompt message is also not displayed on the playback interface.

[0138] In this embodiment, displaying prompt information on the playback interface not only prompts the user to cancel the display of other information, improving information transparency, but also allows the user to cancel the display of other information by focusing on the prompt information. This eliminates the need for manual interaction from the user, thus improving the efficiency of human-computer interaction.

[0139] Optionally, in response to the triggering operation of the prompt message, it is also possible to cancel the display of information other than multimedia resources on the playback interface, thereby improving the diversity and convenience of interaction.

[0140] In some embodiments, the display of this information is canceled only when the focus duration also meets certain conditions. Accordingly, the process of canceling the display of information when the focus area is the area where the prompt information is located includes the following steps: when the focus area is the area where the prompt information is located and the focus duration reaches a preset duration, the terminal cancels the display of information.

[0141] In this embodiment, the information is only canceled when the focus time on the area containing the prompt message reaches a certain duration, thus avoiding accidental cancellation of the information due to accidental focus on the prompt message and improving the accuracy of the timing for canceling the display of the information.

[0142] The third scenario involves canceling the display of information when the focus area is the area where the information's close control is located.

[0143] In some embodiments, the playback interface displays at least one piece of information other than multimedia resources, and each of these pieces of information corresponds to the close control; that is, focusing on the close control can cancel the display of the at least one piece of information on the playback interface. In other embodiments, each of the at least one piece of information corresponds to its own close control, and when the focus area is the area where the close control of any piece of information is located, the terminal cancels the display of that information on the playback interface.

[0144] In this embodiment, a close control for the information displayed on the playback interface is provided, and the close control for the focused information can cancel the display of the information. This eliminates the need for manual interaction between the user and the display, thus improving the efficiency of human-computer interaction.

[0145] Optionally, in response to the triggering of the close control, information other than multimedia resources on the playback interface can also be canceled, improving the diversity and convenience of interaction.

[0146] In some embodiments, the display of this information is canceled only when the focus duration also meets certain conditions. Accordingly, the process of canceling the display of information by the terminal when the focus area is the area where the information's close control is located includes the following steps: when the focus area is the area where the information's close control is located and the focus duration reaches a preset duration, the terminal cancels the display of information.

[0147] In this embodiment, the information is only canceled when the focus time on the area where the close control is located reaches a certain duration, thus avoiding the accidental cancellation of information due to the object's accidental focus on the close control, which improves the accuracy of the timing for canceling the display of information.

[0148] The preset duration in the above three implementation methods can be the same or different, and no specific limitation is made here.

[0149] In this embodiment of the application, in order to improve the interface display effect, the above-mentioned process of canceling the display of information other than multimedia resources on the playback interface includes the following implementation method: the transparency of the information other than multimedia resources displayed on the playback interface by the terminal gradually increases until it disappears.

[0150] In this embodiment, the information disappears from the playback interface when its transparency reaches 100%. By displaying the gradual disappearance of information, the interface display effect is improved.

[0151] In other embodiments, to improve the interface display effect, when this information is not displayed, an animation of the information moving out is also shown. For example, if the information is located in the bottom area of ​​the playback interface, the displayed information moves downwards until it disappears. Similarly, if the information is located in the right area of ​​the playback interface, the displayed information moves to the right until it disappears.

[0152] For example, see Figure 6 , Figure 6 This is a schematic diagram illustrating a playback interface where information is not displayed, according to an exemplary embodiment. The playback interface only displays multimedia resources and no other information.

[0153] In step S304, the example given is that the focus information meets the focus conditions. If the focus information does not meet the focus conditions, the step of canceling the display of information other than multimedia resources on the playback interface will not be executed.

[0154] In step S305, in response to detecting that an object is focused on any area of ​​the playback interface, the terminal restores the display of information that was previously canceled from display on the area.

[0155] The playback interface includes areas where information was previously displayed and areas where no information was previously displayed. Accordingly, when the terminal detects focus on any area, if information was previously displayed in that area, the previously undisplayed information is restored to that area.

[0156] In some embodiments, the display information is restored only when the focus duration also meets certain conditions. Accordingly, the process by which the terminal restores the previously canceled display information on the area in response to detecting that an object is focused on any area of ​​the playback interface includes the following steps: in response to detecting that an object is focused on any area of ​​the playback interface and the focus duration reaches a preset duration, the terminal restores the previously canceled display information on the area.

[0157] In some embodiments, in order to improve the interface display effect, the process of restoring the display of previously canceled information on the area includes the following implementation: the terminal gradually reduces the transparency of the previously canceled information on the area until the transparency is zero.

[0158] In other embodiments, this information can also be restored to display through gesture interaction, and the process includes at least one of the following implementations.

[0159] The first method involves responding to a trigger operation on the playback interface, where the terminal restores the previously canceled information on the playback interface. In this embodiment, responding to a trigger operation on the playback interface allows for the restoration of previously canceled information, meaning that information display can be restored with a single click, improving interaction efficiency and making it easier for users to view previously canceled information.

[0160] The triggering operation can be applied to any area of ​​the playback interface. Optionally, in response to the triggering operation on the playback interface, the terminal pauses the playback of multimedia resources and restores the display of previously undisplayed information on the playback interface. That is, when the multimedia resources are paused, this information is displayed so that viewing this information does not affect the viewer's viewing of the multimedia resources.

[0161] The second approach involves, in response to a detected trigger operation by an object on any area of ​​the playback interface, restoring the previously canceled information displayed in that area. In this embodiment, responding to a trigger operation on an area where information was previously canceled allows for the restoration of that area's display, improving the ease of interaction and making it easier for the user to view the previously displayed information.

[0162] In other embodiments, the terminal displays a restore control on the playback interface, and in response to a triggering operation on the restore control, the terminal restores the previously canceled information on the playback interface. Alternatively, in response to detecting focus on the restore control by an object, the terminal restores the previously canceled information on the playback interface.

[0163] In step S306, in response to detecting an air gesture used to adjust the playback progress, the terminal cancels the display of information other than multimedia resources on the playback interface and continues to play multimedia resources starting from the playback progress corresponding to the air gesture.

[0164] The air gestures used to adjust the playback progress can be set as needed. For example, the air gesture can be a swipe gesture, including a left swipe gesture and a right swipe gesture. The left swipe gesture is used to adjust the playback progress forward, and the right swipe gesture is used to adjust the playback progress backward.

[0165] For example, the air gesture is a pinching gesture, that is, pinching the thumb and forefinger together while the other three fingers are naturally clenched into a fist. After pinching, slide left or right. Sliding left rewinds or moves the playback forward, while sliding right fast forwards or moves the playback backward. After opening the pinch of the thumb and forefinger, the air gesture ends.

[0166] Optionally, the playback progress is positively correlated with the strength of the air gesture, which is the distance the gesture slides to the left or right. The greater the distance the gesture slides to the left, the more the playback progress is adjusted forward. The greater the distance the gesture slides to the right, the more the playback progress is adjusted backward.

[0167] In this embodiment, the playback progress can be adjusted via air gestures without the user having to manually trigger the terminal. This allows for convenient adjustment of the playback progress even when the user cannot easily access the terminal, improving interaction efficiency and facilitating interaction. Furthermore, while adjusting the playback progress, information other than multimedia resources on the playback interface can be canceled. This achieves two functions in one operation, reducing the number of operations and further improving human-computer interaction efficiency.

[0168] It should be noted that step S306 can be executed before or after step S304. Specifically, if it is executed after step S304, that is, if step S304 cancels the display of information other than the multimedia resources on the playback interface, and information remains on the playback interface, then in response to the air gesture used to adjust the playback progress, the remaining information on the playback interface is also canceled.

[0169] In step S307, in response to detecting an air gesture for adjusting the playback speed, the terminal cancels the display of information other than multimedia resources on the playback interface and continues to play the multimedia resources at the playback speed corresponding to the air gesture.

[0170] The air gestures used to adjust the playback speed can be set as needed. For example, the air gesture is a swipe gesture, including an upward swipe gesture and a downward swipe gesture. The upward swipe gesture is used to increase the playback speed, and the downward swipe gesture is used to decrease the playback speed.

[0171] In this embodiment, the playback speed can be adjusted via air gestures without requiring the user to manually trigger the terminal. This allows for convenient adjustment of the playback speed even when the user cannot easily access the terminal, improving interaction efficiency and facilitating interaction. Furthermore, while adjusting the playback speed, information other than multimedia resources on the playback interface can be canceled. This achieves two functions in one operation, reducing the number of operations and further improving human-computer interaction efficiency.

[0172] Steps S306 and S307 are optional execution steps; their numbers are for illustrative purposes only. Step S306 can be executed before or after step S307. For example, after executing step S306, in response to an air gesture used to adjust the playback speed, the multimedia resource continues to play at the playback speed corresponding to the air gesture, without needing to execute the step of canceling the displayed information again. Similarly, after executing step S307, in response to an air gesture used to adjust the playback progress, the multimedia resource continues to play at the playback speed starting from the playback progress corresponding to the air gesture, without needing to execute the step of canceling the displayed information again. Accordingly, step S307 can be executed before or after step S304. Executing it after step S304 means that in step S304, some information other than the multimedia resource on the playback interface was canceled, but information remains on the playback interface. Therefore, in response to the air gesture used to adjust the playback speed, the remaining information on the playback interface is also canceled.

[0173] In some embodiments, the object may pre-record air gestures for adjusting playback progress and air gestures for adjusting playback speed on the terminal. Optionally, the terminal subsequently detects either of the aforementioned air gestures via a camera.

[0174] In some embodiments, the terminal can also automatically adjust the screen brightness. Specifically, in response to detecting a person closing their eyes, the terminal lowers the brightness of the screen displaying the playback interface. In this embodiment, the person closing their eyes indicates that the current screen brightness is causing discomfort; therefore, adjusting the screen brightness at this time meets the person's current brightness requirements, eliminating the need for the person to manually adjust the brightness, thus improving the user experience and human-computer interaction efficiency.

[0175] In some embodiments, the terminal reduces the screen brightness based on the duration of the object's closed eyes; that is, the longer the eyes are closed, the greater the reduction in brightness. Alternatively, in response to detecting the object's closed-eye action, the terminal directly adjusts the screen brightness to the minimum brightness threshold.

[0176] In some embodiments, the terminal can also automatically adjust the magnification of multimedia resources. Specifically, the terminal obtains the viewing distance of the object relative to the playback interface; and adjusts the magnification of the multimedia resources on the playback interface based on the viewing distance. In this embodiment, adjusting the magnification of the multimedia resources based on the viewing distance ensures that the magnification of the multimedia resources matches the viewing distance of the object, improving the viewing experience and encouraging the object to watch the multimedia resources.

[0177] The viewing distance is positively correlated with the magnification of the multimedia resource; that is, the greater the viewing distance, the greater the magnification. It should be noted that the magnification has a maximum and a minimum value. Optionally, when the viewing distance is less than a first distance, the minimum magnification (i.e., the normal magnification) is maintained when playing the multimedia resource. When the viewing distance is greater than a second distance, the maximum magnification is maintained when playing the multimedia resource. When the first distance is less than the second distance, and the viewing distance is between the first and second distances, the magnification is determined based on the viewing distance, and the multimedia resource is played based on that magnification.

[0178] In some embodiments, the object can also interact by focusing on an interactive component on the playback interface, including at least one of the following implementations: information other than multimedia resources on the playback interface includes a playback progress bar; in response to detecting that the object focuses on the playback progress bar on the playback interface, the terminal adjusts the playback progress of the multimedia resources; information other than multimedia resources on the playback interface includes at least one interactive component; in response to detecting that the object focuses on any interactive component on the playback interface, the terminal interacts with the multimedia resources based on the interactive component.

[0179] Optionally, focusing the object on the playback progress bar is used to adjust the playback progress backward. Furthermore, the adjustment range is positively correlated with the duration the object is focused on the progress bar; that is, the longer the focus duration, the greater the adjustment range, and vice versa.

[0180] In some embodiments, in response to detecting that an object is focused on the playback progress bar and the focus duration reaches a preset duration, the terminal adjusts the playback progress of the multimedia resource. Similarly, in response to detecting that an object is focused on any interactive component and the focus duration reaches a preset duration, the terminal interacts with the multimedia resource based on the interactive component. This avoids erroneous interactions caused by accidental focusing of an object and improves the accuracy of the interaction.

[0181] In this embodiment, the object can adjust the playback progress by focusing on the playback progress bar, and can interact with multimedia resources by focusing on the interactive component. In this way, the object can achieve interaction without manual triggering, which obviously improves the convenience of interaction and the efficiency of human-computer interaction.

[0182] In some embodiments, the terminal plays multimedia resources on a playback interface based on an information stream. The information stream can provide multiple multimedia resources, and correspondingly, the multimedia resources played on the playback interface can be switched based on body movements. Specifically, in response to detecting continuous blinking of an object, the terminal switches the multimedia resources played on the playback interface. In this embodiment, the object can switch multimedia resources simply by blinking, eliminating the need for manual switching, which obviously improves the convenience of interaction and the efficiency of human-computer interaction.

[0183] This application provides a method for playing multimedia resources. When playing multimedia resources, the method acquires the focus information of an object on the playback interface. When the focus information meets preset conditions, it cancels the display of information other than the multimedia resources on the playback interface. This reduces the obstruction of the multimedia resources by this information, thus reducing interference with playback and improving the interface display effect. This allows the viewer to watch multimedia resources more immersively and comfortably, enhancing the viewing experience. Furthermore, this method automatically cancels the display of this information based on the object's focus information, eliminating the need for manual interaction and further improving the convenience and efficiency of human-computer interaction.

[0184] Figure 7 This is a block diagram illustrating a multimedia resource playback device according to an exemplary embodiment. (Refer to...) Figure 7 The device includes:

[0185] Display unit 701 is configured to display a playback interface, which is used to play multimedia resources.

[0186] The acquisition unit 702 is configured to acquire the focus information of the object on the playback interface, the focus information including at least one of the focus area and the focus duration corresponding to the focus area;

[0187] The display unit 701 is also configured to cancel the display of information other than multimedia resources on the playback interface when the focus information meets the focus conditions.

[0188] In some embodiments, the display unit 701 is configured to perform:

[0189] If the focused area is outside the area where the information is located, cancel the display of the information; or,

[0190] If the focus area is the area containing the prompt message, the message will be canceled. The prompt message is used to prompt the user to cancel displaying information other than multimedia resources on the playback interface; or...

[0191] If the focus area is the area where the information's close control is located, cancel the display of the information.

[0192] In some embodiments, the display unit 701 is configured to perform:

[0193] If the focused area is outside the area where the information is located and the focused duration reaches the preset duration, the information will be canceled from display.

[0194] In some embodiments, the display unit 701 is configured to perform:

[0195] If the focus area is the same area as the prompt message and the focus duration reaches the preset duration, the message will be canceled.

[0196] In some embodiments, the display unit 701 is configured to perform:

[0197] If the focus area is the area where the information's close control is located and the focus duration reaches the preset duration, the information will be canceled from display.

[0198] In some embodiments, the display unit 701 is configured to perform:

[0199] The process of gradually increasing transparency of information other than multimedia resources displayed on the playback interface until it disappears.

[0200] In some embodiments, the display unit 701 is further configured to perform:

[0201] In response to detecting that an object is focused on any area of ​​the playback interface, restore the display of information that was previously hidden from display on that area.

[0202] In some embodiments, the display unit 701 is further configured to perform at least one of the following:

[0203] In response to a trigger operation on the playback interface, restore the display of information that was previously canceled from the playback interface;

[0204] In response to the detection of a trigger operation by an object on any area of ​​the playback interface, the information that was previously canceled from being displayed on that area is restored.

[0205] In some embodiments, the apparatus further includes a first adjustment unit configured to perform:

[0206] In response to the detection of an object closing its eyes, the brightness of the screen where the playback interface is located is reduced.

[0207] In some embodiments, the display unit 701 is further configured to perform:

[0208] In response to the detection of an air gesture used to adjust the playback progress, information other than multimedia resources on the playback interface is canceled, and the multimedia resources continue to play from the playback progress corresponding to the air gesture.

[0209] In some embodiments, the display unit 701 is further configured to perform:

[0210] In response to the detection of an air gesture used to adjust the playback speed, information other than the multimedia resources on the playback interface is canceled, and the multimedia resources continue to play at the playback speed corresponding to the air gesture.

[0211] In some embodiments, the display unit 701 is further configured to perform:

[0212] In response to the playback mode selection operation on the playback interface, a switch control for the target playback mode is displayed. The target playback mode is used to indicate the display of information other than multimedia resources on the playback interface by controlling the focus information.

[0213] In response to the on / off operation of the switch control, the target playback mode is enabled.

[0214] In some embodiments, information other than multimedia resources on the playback interface includes at least one of the textual description information of the multimedia resources and interactive components.

[0215] In some embodiments, the acquisition unit 702 is further configured to perform:

[0216] Get the viewing distance of the object relative to the playback interface;

[0217] The device also includes a second adjustment unit configured to adjust the magnification of multimedia resources on the playback interface based on the viewing distance.

[0218] In some embodiments, the device further includes an interaction unit configured to perform at least one of the following:

[0219] Information on the playback interface other than multimedia resources includes the playback progress bar. In response to detecting that an object is focused on the playback progress bar on the playback interface, the playback progress of the multimedia resources is adjusted.

[0220] The information on the playback interface other than multimedia resources includes at least one interactive component. In response to detecting that an object focuses on any interactive component on the playback interface, the multimedia resources are interacted with based on the interactive component.

[0221] In some embodiments, the apparatus further includes a switching unit configured to perform:

[0222] In response to the detection of continuous blinking of an object, switch the multimedia resources being played on the playback interface.

[0223] This application provides a multimedia resource playback device. When playing multimedia resources, the device acquires the focus information of the viewer on the playback interface. When the focus information meets preset conditions, it cancels the display of information other than the multimedia resource on the playback interface. This reduces the obstruction of the multimedia resource by this information, thus reducing interference with the playback and improving the interface display effect. This allows the viewer to watch the multimedia resource more immersively and comfortably, enhancing the viewing experience. Furthermore, the device automatically cancels the display of this information based on the viewer's focus information, eliminating the need for manual interaction and further improving the convenience and efficiency of human-computer interaction.

[0224] Regarding the apparatus in the above embodiments, the specific manner in which each unit performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0225] In some embodiments, the electronic device is provided as a terminal. Figure 8 A structural block diagram of a terminal 800 provided in an exemplary embodiment of this disclosure is shown. The terminal 800 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 800 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.

[0226] Typically, terminal 800 includes a processor 801 and a memory 802.

[0227] Processor 801 may include one or more processing cores, such as a quad-core processor or an octa-core processor. Processor 801 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 801 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 801 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 801 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0228] The memory 802 may include one or more computer-readable storage media, which may be non-transitory. The memory 802 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 802 are used to store at least one program code, which is executed by the processor 801 to implement the multimedia resource playback method provided in the method embodiments of this disclosure.

[0229] In some embodiments, the terminal 800 may also optionally include a peripheral device interface 803 and at least one peripheral device. The processor 801, memory 802, and peripheral device interface 803 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 803 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 804, a display screen 805, a camera assembly 806, an audio circuit 807, and a power supply 808.

[0230] Peripheral device interface 803 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 801 and memory 802. In some embodiments, processor 801, memory 802 and peripheral device interface 803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 801, memory 802 and peripheral device interface 803 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0231] The radio frequency (RF) circuit 804 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 804 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 804 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 804 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, etc. The RF circuit 804 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: metropolitan area networks (MANs), various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks (WLANs), and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 804 may also include circuitry related to NFC (Near Field Communication), which is not limited in this disclosure.

[0232] Display screen 805 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 805 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 801 for processing. In this case, display screen 805 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 805, which serves as the front panel of terminal 800; in other embodiments, there may be at least two display screens, respectively disposed on different surfaces of terminal 800 or in a folded design; in still other embodiments, display screen 805 may be a flexible display screen, disposed on a curved or folded surface of terminal 800. Furthermore, display screen 805 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. Display screen 805 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).

[0233] The camera assembly 806 is used to acquire images or videos. Optionally, the camera assembly 806 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 806 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.

[0234] The audio circuit 807 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 801 for processing, or input to the radio frequency circuit 804 to achieve voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different part of the terminal 800. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert the electrical signals from the processor 801 or the radio frequency circuit 804 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 807 may also include a headphone jack.

[0235] Power supply 808 is used to supply power to the various components in terminal 800. Power supply 808 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 808 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.

[0236] Those skilled in the art will understand that Figure 8 The structure shown does not constitute a limitation on terminal 800 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0237] In an exemplary embodiment, a computer-readable storage medium is also provided, which, when executed by a processor of an electronic device, enables the electronic device to perform the aforementioned multimedia resource playback method. Optionally, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device, etc.

[0238] In an exemplary embodiment, a computer program product is also provided, the computer program product including a computer program, which, when executed by a processor, implements the above-described method for playing multimedia resources.

[0239] In some embodiments, the computer program product involved in this disclosure may be deployed on an electronic device for execution, or on multiple electronic devices located in one location, or on multiple electronic devices distributed in multiple locations and interconnected through a communication network. The multiple electronic devices distributed in multiple locations and interconnected through a communication network may constitute a blockchain system.

[0240] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims. All the above-described optional technical solutions can be combined in any way to form optional embodiments of this application, and will not be elaborated upon here.

[0241] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A method for playing multimedia resources, characterized in that, The method includes: Display a playback interface, which is used to play multimedia resources; Obtain focus information of an object on the playback interface, the focus information including at least one of a focus area and a focus duration corresponding to the focus area; When the focus information meets the focus conditions, information other than the multimedia resources on the playback interface is canceled from being displayed. The focus conditions include at least one of the conditions corresponding to the focus area and the conditions corresponding to the focus duration. The method further includes: in response to detecting an air gesture for adjusting playback speed, canceling the display of information other than the multimedia resources on the playback interface, and continuing to play the multimedia resources at the playback speed corresponding to the air gesture, wherein the air gesture includes a swipe gesture, and the air gesture is recorded by the terminal before performing the air gesture detection.

2. The method for playing multimedia resources according to claim 1, characterized in that, When the focus information meets the focus conditions, canceling the display of information other than the multimedia resources on the playback interface includes: If the focused area is outside the area where the information is located, the information will be canceled from display; or, If the focused area is the area where the prompt message is located, the message will be canceled from display. The prompt message is used to prompt the cancellation of displaying information other than the multimedia resources on the playback interface; or... If the focus area is the area where the close control for the information is located, then the information will be canceled from display.

3. The method for playing multimedia resources according to claim 2, characterized in that, When the focused area is outside the area where the information is located, canceling the display of the information includes: If the focused area is outside the area where the information is located and the focused duration reaches a preset duration, the information will be canceled from display.

4. The method for playing multimedia resources according to claim 2, characterized in that, When the focused area is the area where the prompt information is located, canceling the display of the information includes: If the focus area is the area where the prompt message is located and the focus duration reaches the preset duration, the message will be canceled from display.

5. The method for playing multimedia resources according to claim 2, characterized in that, When the focus area is the area where the close control for the information is located, canceling the display of the information includes: If the focus area is the area where the information's close control is located and the focus duration reaches a preset duration, the information will be canceled from display.

6. The method for playing multimedia resources according to claim 1, characterized in that, The step of canceling the display of information other than the multimedia resources on the playback interface includes: The process of gradually increasing the transparency of information other than the multimedia resources displayed on the playback interface until it disappears.

7. The method for playing multimedia resources according to claim 1, characterized in that, After canceling the display of information other than the multimedia resources on the playback interface, the method further includes: In response to detecting that the object is focused on any area of ​​the playback interface, information that was previously canceled from being displayed in that area is restored to the display area.

8. The method for playing multimedia resources according to claim 1, characterized in that, After canceling the display of information other than the multimedia resources on the playback interface, the method further includes at least one of the following: In response to a trigger operation on the playback interface, information that was previously canceled from display is restored on the playback interface; In response to detecting a trigger operation by the object on any area of ​​the playback interface, information that was previously canceled from display is restored to that area.

9. The method for playing multimedia resources according to claim 1, characterized in that, The method further includes: In response to detecting the object's closed-eye action, the brightness of the screen where the playback interface is located is reduced.

10. The method for playing multimedia resources according to claim 1, characterized in that, The method further includes: In response to detecting an air gesture used to adjust the playback progress, information other than the multimedia resources on the playback interface is canceled from being displayed, and the multimedia resources are continued to be played starting from the playback progress corresponding to the air gesture.

11. The method for playing multimedia resources according to claim 1, characterized in that, The method further includes: In response to a playback mode selection operation on the playback interface, a switch control for a target playback mode is displayed, wherein the target playback mode is used to indicate the display of information other than the multimedia resources on the playback interface by controlling the focus information; In response to the activation operation of the switch control, the target playback mode is activated.

12. The method for playing multimedia resources according to claim 1, characterized in that, The information on the playback interface other than the multimedia resources includes at least one of the textual description information of the multimedia resources and interactive components.

13. The method for playing multimedia resources according to claim 1, characterized in that, The method further includes: Obtain the viewing distance of the object relative to the playback interface; Adjust the magnification of the multimedia resources on the playback interface based on the viewing distance.

14. The method for playing multimedia resources according to claim 1, characterized in that, The method further includes at least one of the following: Information other than the multimedia resources on the playback interface includes a playback progress bar. In response to detecting that the object is focused on the playback progress bar on the playback interface, the playback progress of the multimedia resources is adjusted. The information on the playback interface other than the multimedia resources includes at least one interactive component. In response to detecting that the object focuses on any interactive component on the playback interface, the multimedia resources are interacted with based on the interactive component.

15. The method for playing multimedia resources according to claim 1, characterized in that, The method further includes: In response to detecting continuous blinking of the object, the multimedia resource being played on the playback interface is switched.

16. A multimedia resource playback device, characterized in that, The device includes: The display unit is configured to display a playback interface, which is used to play multimedia resources. The acquisition unit is configured to acquire focus information of an object on the playback interface, the focus information including at least one of a focus area and a focus duration corresponding to the focus area; The display unit is further configured to cancel the display of information other than the multimedia resources on the playback interface when the focus information meets the focus conditions. The focus conditions include at least one of the conditions corresponding to the focus area and the conditions corresponding to the focus duration. The display unit is further configured to, in response to detecting an air gesture for adjusting playback speed, cancel the display of information other than the multimedia resources on the playback interface, and continue playing the multimedia resources at the playback speed corresponding to the air gesture. The air gesture includes a swipe gesture, which is recorded by the terminal before the air gesture is detected.

17. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the method for playing multimedia resources as described in any one of claims 1 to 15.

18. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the method for playing multimedia resources as described in any one of claims 1 to 15.

19. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the method for playing multimedia resources as described in any one of claims 1 to 15.

Citation Information

Patent Citations

  • Method and device for operating browser based on eye-movement tracking

    CN103336576A

  • Method and device for human-computer interaction

    CN103809737A

  • Display screen multi-screen control method and system based on eyeball tracking technology

    CN104834446A