Vibration method and device, electronic equipment and storage medium

By providing vibration setting controls and interfaces in resource playback applications, users can customize vibration methods, solving the problem that vibration modules in the prior art cannot meet users' personalized needs, and improving user satisfaction and application viscosity.

CN119987546APending Publication Date: 2025-05-13BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510065447.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

The existing vibration module is mainly used to notify scenes, and it is impossible to set vibration mode according to users' personalized needs in resource playback applications, resulting in low user satisfaction with vibration effects and insufficient user viscosity.

Method used

The vibration setting control is displayed on the resource playback interface of the resource playback application. Users can trigger the vibration setting interface to set the target vibration mode, including the target vibration intensity and the target resource type.

Benefits of technology

Through the user-defined target vibration method, users' satisfaction with the vibration effect is improved and user viscosity of resource playback applications is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987546A_ABST
    Figure CN119987546A_ABST
Patent Text Reader

Abstract

The invention relates to a vibration method and device, electronic equipment and a storage medium, and belongs to the technical field of computers. The method comprises the steps that a vibration setting control is displayed on a resource playing interface in a resource playing application, the vibration setting control is used for indicating a target vibration mode corresponding to a vibration mode, and the vibration mode is vibration under the condition that resources meeting target conditions are played on the basis of the resource playing interface; in response to a triggering operation on the vibration setting control, displaying a vibration setting interface; determining a target vibration mode based on the vibration setting interface; and in the process of playing the resource meeting the target condition based on the resource playing interface, performing vibration according to the target vibration mode. According to the resource playing method and device, the function of setting the vibration mode in the resource playing application is achieved, vibration can be conducted according to the vibration mode adapted to the user in the process of playing the resources meeting the specific conditions, the satisfaction degree of the user to the vibration effect is improved, and therefore the user viscosity of the resource playing application is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a vibration method, device, electronic equipment and storage medium. Background Art

[0002] With the development of computer technology, more and more terminals are equipped with vibration modules, which provide users with important tactile experience and enhance their interactive feeling.

[0003] The current vibration module is often used in notification scenarios. For example, when the electronic device turns on the vibration notification mode, when a notification message is received, the electronic device vibrates through the vibration module to remind the user that the notification message has been received. Summary of the invention

[0004] The present disclosure provides a vibration method, device, electronic device and storage medium, which realize the function of setting a vibration mode in a resource playback application, and can vibrate according to the vibration mode adapted by the user, thereby improving the user's satisfaction with the vibration effect, thereby improving the user stickiness of the resource playback application.

[0005] According to one aspect of an embodiment of the present disclosure, a vibration method is provided, the method comprising:

[0006] In a resource playback interface in a resource playback application, a vibration setting control is displayed, the resource playback interface is used to play resources in the resource playback application, the vibration setting control is used to indicate a target vibration mode corresponding to a setting vibration mode, the vibration mode is to vibrate when playing resources that meet target conditions based on the resource playback interface;

[0007] In response to a triggering operation on the vibration setting control, displaying a vibration setting interface;

[0008] Based on the vibration setting interface, determining the target vibration mode;

[0009] In the process of playing the resource that meets the target condition based on the resource playing interface, vibration is performed according to the target vibration mode.

[0010] In some embodiments, the target vibration mode includes a target vibration intensity, and in the process of playing the resource that meets the target condition based on the resource playing interface, vibrating according to the target vibration mode includes:

[0011] In the process of playing the resource that meets the target condition based on the resource playing interface, vibration is performed according to the target vibration intensity.

[0012] In some embodiments, the vibration setting interface includes a slide bar for setting the vibration intensity, and determining the target vibration mode based on the vibration setting interface includes:

[0013] In response to a sliding operation in the sliding bar, determining the vibration intensity corresponding to the end position of the sliding operation as the target vibration intensity; or,

[0014] In response to a click operation in the slide bar, the vibration intensity corresponding to the click position is determined as the target vibration intensity.

[0015] In some embodiments, the vibration setting interface includes a vibration intensity input area, and determining the target vibration mode based on the vibration setting interface includes:

[0016] The vibration intensity input in the vibration intensity input area is determined as the target vibration intensity.

[0017] In some embodiments, the target vibration mode includes a target resource type, and in the process of playing a resource that meets the target condition based on the resource playback interface, vibrating according to the target vibration mode includes:

[0018] Vibration is performed during the process of playing any resource that meets the target condition and belongs to the target resource type based on the resource playing interface.

[0019] In some embodiments, the vibration setting interface includes at least two resource types, and determining the target vibration mode based on the vibration setting interface includes:

[0020] In response to a resource type selection operation in the vibration setting interface, the selected resource type is determined as the target resource type.

[0021] In some embodiments, the vibration setting interface includes a resource type input area, and determining the target vibration mode based on the vibration setting interface includes:

[0022] The resource type input in the resource type input area is determined as the target resource type.

[0023] In some embodiments, in the process of playing the resource that meets the target condition based on the resource playing interface, vibrating according to the target vibration mode includes at least one of the following:

[0024] During the process of playing the resource containing the target plot based on the resource playing interface, vibrating according to the target vibration mode;

[0025] During the process of playing the resource on which the preset interactive operation is performed based on the resource playing interface, vibrating according to the target vibration mode;

[0026] In the process of playing a resource with a vibration feedback tag based on the resource playing interface, vibrating according to the target vibration mode;

[0027] In the process of playing resources released by a follow account based on the resource playing interface, vibrating according to the target vibration mode, the follow account being an account that the currently logged-in account has followed;

[0028] In the process of playing the resources published by the currently logged-in account based on the resource playing interface, vibration is performed according to the target vibration mode.

[0029] In some embodiments, the resource playback interface in the resource playback application displays a vibration setting control, including at least one of the following:

[0030] When a resource carrying a vibration feedback tag is played based on the resource playback interface and the playback time of the resource reaches a preset time, the vibration setting control is displayed, and the vibration feedback tag indicates that vibration is performed during the playback of the resource;

[0031] In response to a first preset interactive operation in the resource playback interface, displaying the vibration setting control;

[0032] In response to a second preset interactive operation in the resource playback interface, displaying a function setting window, the function setting window including the vibration setting control;

[0033] In response to an operation of shaking the electronic device during the process of playing a resource based on the resource playing interface, displaying the vibration setting control;

[0034] In response to an operation of shaking the electronic device during the process of playing a resource based on the resource playing interface, displaying the function setting window, wherein the function setting window includes the vibration setting control;

[0035] The recommended resource is played on the resource playing interface, the recommended resource is used to recommend a vibration mode, and the vibration setting control is displayed in the recommended resource.

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

[0037] In the resource playback interface of the resource playback application, a vibration mode control is displayed, wherein the vibration mode control is used to turn on or off the vibration mode;

[0038] In response to a first triggering operation on the vibration mode control, the vibration setting interface is displayed.

[0039] In some embodiments, the method further comprises:

[0040] In the case where the vibration mode is turned on, in response to a second triggering operation on the vibration mode control, turning off the vibration mode; or,

[0041] In a case where the vibration mode is turned off, in response to the second triggering operation on the vibration mode control, turning on the vibration mode;

[0042] The second trigger operation is different from the first trigger operation.

[0043] In some embodiments, the resource playback interface in the resource playback application displays a vibration mode control, including at least one of the following:

[0044] When a resource carrying a vibration feedback tag is played based on the resource playback interface and the playback time of the resource reaches a preset time, the vibration mode control is displayed, and the vibration feedback tag indicates that vibration is performed during the playback of the resource;

[0045] In response to a third preset interactive operation in the resource playback interface, displaying the vibration mode control;

[0046] In response to an operation of shaking the electronic device during the process of playing a resource based on the resource playing interface, displaying the vibration mode control;

[0047] The recommended resource is played on the resource playing interface, the recommended resource is used to recommend the vibration mode, and the vibration mode control is displayed in the recommended resource.

[0048] According to another aspect of the embodiments of the present disclosure, a vibration device is provided, the device comprising:

[0049] A display unit is configured to display a vibration setting control in a resource playback interface in a resource playback application, wherein the resource playback interface is used to play resources provided in the resource playback application, and the vibration setting control is used to indicate a target vibration mode corresponding to a setting of a vibration mode, wherein the vibration mode is to vibrate when playing a resource that meets a target condition based on the resource playback interface;

[0050] The display unit is further configured to display a vibration setting interface in response to a triggering operation on the vibration setting control;

[0051] a vibration setting unit, configured to determine a target vibration mode in response to a triggering operation on the vibration setting control;

[0052] The vibration control unit is configured to vibrate according to the target vibration mode during the process of playing the resource that meets the target condition based on the resource playing interface.

[0053] In some embodiments, the target vibration mode includes a target vibration intensity, and the vibration control unit is configured to vibrate according to the target vibration intensity during the process of playing the resource that meets the target condition based on the resource playback interface.

[0054] In some embodiments, the vibration setting interface includes a slide bar for setting the vibration intensity, and the vibration setting unit is configured to:

[0055] In response to a sliding operation in the sliding bar, determining the vibration intensity corresponding to the end position of the sliding operation as the target vibration intensity; or,

[0056] In response to a click operation in the slide bar, the vibration intensity corresponding to the click position is determined as the target vibration intensity.

[0057] In some embodiments, the vibration setting interface includes a vibration intensity input area, and the vibration setting unit is configured to determine the vibration intensity input in the vibration intensity input area as the target vibration intensity.

[0058] In some embodiments, the target vibration mode includes a target resource type, and the vibration control unit is configured to vibrate during the process of playing any resource that meets the target condition and belongs to the target resource type based on the resource playback interface.

[0059] In some embodiments, the vibration setting interface includes at least two resource types, and the vibration setting unit is configured to, in response to a resource type selection operation in the vibration setting interface, determine the selected resource type as the target resource type.

[0060] In some embodiments, the vibration setting interface includes a resource type input area, and the vibration setting unit is configured to determine the resource type input in the resource type input area as the target resource type.

[0061] In some embodiments, the vibration control unit is configured as at least one of the following:

[0062] During the process of playing the resource containing the target plot based on the resource playing interface, vibrating according to the target vibration mode;

[0063] During the process of playing the resource on which the preset interactive operation is performed based on the resource playing interface, vibrating according to the target vibration mode;

[0064] In the process of playing a resource with a vibration feedback tag based on the resource playing interface, vibrating according to the target vibration mode;

[0065] In the process of playing resources released by a follow account based on the resource playing interface, vibrating according to the target vibration mode, the follow account being an account that the currently logged-in account has followed;

[0066] In the process of playing the resources published by the currently logged-in account based on the resource playing interface, vibration is performed according to the target vibration mode.

[0067] In some embodiments, the display unit is configured as at least one of the following:

[0068] When a resource carrying a vibration feedback tag is played based on the resource playback interface and the playback time of the resource reaches a preset time, the vibration setting control is displayed, and the vibration feedback tag indicates that vibration is performed during the playback of the resource;

[0069] In response to a first preset interactive operation in the resource playback interface, displaying the vibration setting control;

[0070] In response to a second preset interactive operation in the resource playback interface, displaying a function setting window, the function setting window including the vibration setting control;

[0071] In response to an operation of shaking the electronic device during the process of playing a resource based on the resource playing interface, displaying the vibration setting control;

[0072] In response to an operation of shaking the electronic device during the process of playing a resource based on the resource playing interface, displaying the function setting window, wherein the function setting window includes the vibration setting control;

[0073] The recommended resource is played on the resource playing interface, the recommended resource is used to recommend a vibration mode, and the vibration setting control is displayed in the recommended resource.

[0074] In some embodiments, the display unit comprises:

[0075] A first display subunit is configured to display a vibration mode control on the resource playback interface in the resource playback application, wherein the vibration mode control is used to turn on or off the vibration mode;

[0076] The second display subunit is configured to display the vibration setting interface in response to a first triggering operation on the vibration mode control.

[0077] In some embodiments, the apparatus further comprises:

[0078] a vibration switch unit, configured to, when the vibration mode is turned on, turn off the vibration mode in response to a second trigger operation on the vibration mode control; or

[0079] The vibration switch unit is further configured to, when the vibration mode is turned off, turn on the vibration mode in response to the second trigger operation on the vibration mode control;

[0080] The second trigger operation is different from the first trigger operation.

[0081] In some embodiments, the first display subunit is configured as at least one of the following:

[0082] When a resource carrying a vibration feedback tag is played based on the resource playback interface and the playback time of the resource reaches a preset time, the vibration mode control is displayed, and the vibration feedback tag indicates that vibration is performed during the playback of the resource;

[0083] In response to a third preset interactive operation in the resource playback interface, displaying the vibration mode control;

[0084] In response to an operation of shaking the electronic device during the process of playing a resource based on the resource playing interface, displaying the vibration mode control;

[0085] The recommended resource is played on the resource playing interface, the recommended resource is used to recommend the vibration mode, and the vibration mode control is displayed in the recommended resource.

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

[0087] processor;

[0088] a memory for storing instructions executable by the processor;

[0089] The processor is configured to execute the instructions to implement the vibration method as described in the above aspects.

[0090] According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the vibration method as described in the above aspects.

[0091] According to another aspect of the embodiments of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the vibration method as described in the above aspects is implemented.

[0092] The solution provided by the embodiment of the present disclosure realizes the function of setting the vibration mode in the resource playback application. The user triggers the vibration setting control provided by the resource playback interface of the resource playback application to call up the vibration setting interface, and then can set the target vibration mode based on the vibration setting interface in the resource playback application, so that in the process of playing resources that meet the target conditions based on the resource playback application, vibration is performed according to the target vibration mode. Since the target vibration mode is more in line with the personalized needs of users, when users use the resource playback application, vibration can be performed according to the vibration mode adapted to the user, which improves the user's satisfaction with the vibration effect, thereby improving the user stickiness of the resource playback application.

[0093] 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

[0094] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0095] Figure 1 It is a schematic diagram showing an implementation environment according to an exemplary embodiment.

[0096] Figure 2 The figure is a flow chart of a vibration method according to an exemplary embodiment.

[0097] Figure 3 is a flow chart of another vibration method according to an exemplary embodiment.

[0098] Figure 4 It is a schematic diagram of a resource playback interface according to an exemplary embodiment.

[0099] Figure 5 It is a schematic diagram of another resource playback interface according to an exemplary embodiment.

[0100] Figure 6 It is a schematic diagram of another resource playback interface according to an exemplary embodiment.

[0101] Figure 7 It is a schematic diagram of another resource playback interface according to an exemplary embodiment.

[0102] Figure 8 is a schematic diagram of a function setting window according to an exemplary embodiment.

[0103] Fig. 9 is a schematic diagram of another function setting window according to an exemplary embodiment.

[0104] Fig.10 The diagram is a schematic diagram of a recommended resource according to an exemplary embodiment.

[0105] Fig.11 The diagram is a schematic diagram of a vibration mode control in a recommended resource according to an exemplary embodiment.

[0106] Fig.12 is a schematic diagram of a vibration setting interface according to an exemplary embodiment.

[0107] Fig.13 It is a schematic diagram showing a resource type selected in a vibration setting interface according to an exemplary embodiment.

[0108] Fig.14 is a block diagram of a vibration device according to an exemplary embodiment.

[0109] Fig.15 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0110] 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.

[0111] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned figure descriptions 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 interchangeable 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.

[0112] It should be noted that the user 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 all authorized by the user or fully authorized by all parties. The collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the special effects and works involved in this disclosure are all obtained with full authorization.

[0113] The vibration method provided in the embodiment of the present disclosure is executed by an electronic device, and the electronic device may be at least one of a smart phone, a smart watch, a desktop computer, a laptop computer, a virtual reality terminal, an augmented reality terminal, a wireless terminal, and a laptop computer.

[0114] The electronic device is installed and runs a resource playback application, which is used to play resources. The resources played may include various types of resources such as video, audio, and picture collections. In addition to the function of playing resources, the resource playback application may also have a live broadcast function, a social function, an online shopping function, etc. The resource playback application may be in the form of a web application, a micro program, or a client, etc., which is not limited in the embodiments of the present disclosure.

[0115] In addition, the electronic device is equipped with a vibration module, which can be called to vibrate, providing users with more diverse tactile experiences. During the operation of the resource playback application, the vibration module can be called to vibrate, thereby enhancing the user's tactile experience during the use of the resource playback application.

[0116] 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 and a server 102.

[0117] The electronic device 101 installs and runs a resource playing application, and the server 102 is used to provide background services for the resource playing application running on the electronic device 101 .

[0118] The electronic device 101 has a communication function and can access a wired network or a wireless network to connect to the server 102. The electronic device 101 may generally refer to one of a plurality of electronic devices, and those skilled in the art may know that the number of the electronic devices may be more or less.

[0119] The server 102 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, CDN (Content Delivery Network), and big data and artificial intelligence platforms. In some embodiments, the server 102 is directly or indirectly connected to the electronic device 101 through wired or wireless communication, which is not limited in the embodiments of the present disclosure. In some embodiments, the number of the above-mentioned servers 102 may be more or less, which is not limited in the embodiments of the present disclosure. Of course, the server 102 may also include other functional servers to provide more comprehensive and diversified services. Among them, the server 102 undertakes the main computing work, and the electronic device 101 undertakes the secondary computing work; or, the server 102 undertakes the secondary computing work, and the electronic device 101 undertakes the main computing work; or, the server 102 or the electronic device 101 can undertake the computing work separately, which is not limited in the embodiments of the present disclosure.

[0120] In some embodiments, the server 102 sends an information stream to the electronic device 101, the information stream including different resources, and the electronic device 101 plays the resources in the information stream in a resource playback application according to the arrangement order of the different resources in the information stream, and switches to the previous resource of the current resource in the information stream in response to the user's upward swipe operation, or switches to the next resource of the current resource in the information stream in response to the user's downward swipe operation.

[0121] Figure 2 is a flow chart of a vibration method according to an exemplary embodiment. Figure 2 The method is performed by an electronic device and comprises the following steps:

[0122] In step 201, the electronic device displays a vibration setting control in the resource playback interface in the resource playback application. The resource playback interface is used to play the resources in the resource playback application. The vibration setting control is used to indicate the target vibration mode corresponding to the set vibration mode. The vibration mode is to vibrate when playing resources that meet the target conditions based on the resource playback interface.

[0123] The resource playback interface is an interface provided in the resource playback application. The resource playback interface is used to play the resources in the resource playback application. The resources played by the resource playback interface can be resources published by the account logged in on the local end or resources published by an account not logged in on the local end, etc.

[0124] Exemplarily, the resource playback interface may be an interface for playing recommended resources, such as the homepage of a resource playback application. Exemplarily, the resource playback interface may be an interface for playing resources posted by a certain account, such as the resource playback interface is the resource display interface of the account. Exemplarily, the resource playback interface may be an interface for playing resources posted by any account that has been followed, such as the resource playback interface is a follow interface.

[0125] In step 202, the electronic device displays a vibration setting interface in response to a triggering operation on a vibration setting control.

[0126] If the user performs a trigger operation on the vibration setting control, the electronic device displays a vibration setting interface, which is used to set the vibration mode of the electronic device. The vibration setting interface can be displayed in full screen or half screen in the resource playback application, and the embodiment of the present disclosure does not limit the display mode of the vibration setting interface.

[0127] In step 203, the electronic device determines a target vibration mode based on the vibration setting interface.

[0128] The user can operate in the vibration setting interface so that the electronic device determines the target vibration mode of the electronic device according to the user's operation. The target vibration mode may include the target vibration intensity and the target resource type that needs to vibrate during playback, etc., which is not limited in the embodiments of the present disclosure.

[0129] In step 204, the electronic device vibrates according to the target vibration mode while playing the resource that meets the target condition based on the resource playing interface.

[0130] In some embodiments, the electronic device can determine the default vibration mode through the resource playback application, and then vibrate according to the default vibration mode. After the electronic device displays the vibration setting interface, it can determine a personalized target vibration mode, and in the process of playing resources that meet the target conditions, the target vibration mode replaces the default vibration mode, and then vibrates according to the target vibration mode.

[0131] The target condition may be any pre-set condition, and the embodiment of the present disclosure does not limit the specific content of the target condition.

[0132] The method provided by the embodiment of the present disclosure realizes the function of setting the vibration mode in the resource playback application. The user triggers the vibration setting control provided by the resource playback interface of the resource playback application to call up the vibration setting interface, and then can set the target vibration mode based on the vibration setting interface in the resource playback application, so that in the process of playing the resources that meet the target conditions based on the resource playback application, the vibration is performed according to the target vibration mode. Since the target vibration mode is more in line with the personalized needs of the user, the user can vibrate according to the vibration mode adapted to the user when using the resource playback application, which improves the user's satisfaction with the vibration effect, thereby improving the user stickiness of the resource playback application.

[0133] Above Figure 2 What is shown is only the basic process of the present disclosure. The solution provided by the present disclosure will be further explained below based on a specific implementation method. Figure 3 is a flow chart of another vibration method according to an exemplary embodiment, the method is executed by an electronic device, see Figure 3 , the method comprises the following steps:

[0134] In step 301, the electronic device displays a vibration setting control in a resource playing interface in a resource playing application.

[0135] The resource playback interface is used to play the resources in the resource playback application, and the vibration setting control is used to indicate the target vibration mode corresponding to the vibration mode. The vibration mode is to vibrate when playing the resources that meet the target conditions based on the resource playback interface.

[0136] In some embodiments, in the resource playback interface of the resource playback application, a vibration setting control is displayed, including at least one of the following:

[0137] 1-1. When a resource with a vibration feedback tag is played based on the resource playback interface and the playback time of the resource reaches a preset time, a vibration setting control is displayed, and the vibration feedback tag indicates that vibration is performed during the playback of the resource.

[0138] The vibration feedback tag can be added by the publisher of the resource when publishing the resource to indicate that vibration is performed during the playing of the resource. Alternatively, the publisher of the resource can upload the resource to the server corresponding to the resource playing application, and the server can add the tag to the resource. This embodiment of the disclosure is not limited to this. For example, a vibration feedback tag is added to a resource belonging to the dance type and a resource belonging to the music type.

[0139] When the electronic device plays the resource based on the resource playback interface, it does not vibrate immediately, but when it determines that the playback time of the resource reaches the preset time, it indicates that the user is interested in the resource and reserves reaction time for the user, and then it vibrates, so as to avoid vibration at the beginning of playing the resource and causing interference to the user. In addition, the vibration mode adopted by the electronic device at this time can be the default vibration mode of the electronic device, or the target vibration mode set by the user last time.

[0140] When it is determined that the playback time of the resource has reached the preset time, the electronic device will also display a vibration setting control so that the user can set the vibration mode by triggering the vibration setting control. Since the playback time of the resource has reached the preset time, it means that the user is interested in the resource with the vibration feedback tag, and there is a high possibility that the user will want to vibrate during the playback of the resource. Therefore, the vibration setting control is displayed to the user to actively remind the user to set the vibration mode. It can actively discover user needs and actively provide the user with the required operation controls, without the user having to search for the vibration setting control through cumbersome operations, thereby simplifying user operations.

[0141] For example, when a resource with a vibration feedback tag is played based on the resource playback interface and the playback time of the resource reaches a preset time, an interactive area is displayed in the resource playback interface, and the interactive area includes a vibration setting control and a vibration start control. In addition, the interactive area can also display a prompt message, which is used to prompt the user to turn on the vibration mode or set the vibration mode.

[0142] See also Figure 4 In the resource playback application, when a resource with a vibration feedback tag is played through the resource playback interface, and the playback time of the resource reaches the preset time, refer to Figure 5 , a vibration setting control 502 is displayed in the resource playback interface for the user to set the vibration mode. In addition, a vibration start control 501 can also be displayed in the resource playback interface for the user to turn on the vibration mode, wherein the vibration mode refers to a mode that allows vibration according to the set vibration mode. A prompt message "Come and experience the vibration mode" can also be displayed in the resource playback interface to prompt the user to turn on the vibration mode.

[0143] See also Figure 6 After the user triggers the vibration on control 501, the vibration mode is turned on in the resource playback interface, and "turned on" is displayed in the vibration on control 501 so that the user knows that the current vibration mode is turned on. And the vibration mode control 503 is displayed in the resource playback interface. The vibration mode control 503 can be turned off by triggering it later. Figure 6 and Figure 7When the vibration mode is turned on, the vibration mode control 503 is displayed in the resource playback interface using a display style corresponding to the vibration mode on state. When the user triggers the vibration mode control 503, the vibration mode is turned off, and the vibration mode control 503 is replaced with a display style corresponding to the vibration mode off state in the resource playback interface, so that the user can see that the vibration mode is currently off by viewing the vibration mode control 503. The vibration mode can be turned on again by triggering the vibration mode control 503 again.

[0144] For example, when the vibration mode is turned off, the device will vibrate only when playing resources with vibration feedback tags based on the resource playback interface, and will not vibrate when playing other resources. When the vibration mode is turned on, the device will vibrate not only when playing resources with vibration feedback tags based on the resource playback interface, but also when playing other resources according to the set target vibration mode.

[0145] 1-2. In response to a first preset interactive operation in the resource playback interface, a vibration setting control is displayed.

[0146] Among them, the first preset interactive operation can be a default operation of the resource playback interface, or an operation set by the user, etc. The first preset interactive operation can be a preset gesture operation when any interface is displayed on the resource playback interface, such as an operation of sliding along a preset trajectory in the interface, or the first preset interactive operation can also be an air gesture operation detected based on the resource playback interface, such as an operation of the user waving or grabbing with the hand, etc., and the embodiments of the present disclosure are not limited to this. The user can quickly call up the vibration setting control through a simple first preset interactive operation, without having to search for the vibration setting control through cumbersome operations, which simplifies user operations and improves operating efficiency.

[0147] 1-3. In response to a second preset interactive operation in the resource playback interface, a function setting window is displayed, wherein the function setting window includes a vibration setting control.

[0148] Among them, the second preset interactive operation can be a default operation of the resource playback interface, or an operation set by the user, etc. The second preset interactive operation can be a preset gesture operation when any interface is displayed on the resource playback interface, such as an operation of sliding along a preset trajectory in the interface, or the first preset interactive operation can also be an air gesture operation detected based on the resource playback interface, such as an operation of the user waving his hand or grabbing with his hand, etc. The embodiments of the present disclosure are not limited to this.

[0149] The function setting window is displayed on the resource playback interface, and the function setting window can display controls related to one or more functions in the resource playback application, including a function on or off control, or a function setting control, etc. Vibration is also one of the functions in the resource playback application, so the displayed function setting controls include a vibration setting control.

[0150] For example, see Figure 8 , the function setting window displays a vibration mode switch control 801 and a vibration setting control 802. Figure 8 In the example, the switch control 801 is in the off state, indicating that the vibration mode is currently off. Fig. 9 After the user triggers the switch control 801, the switch control 801 is switched to the on state, and the vibration mode is turned on.

[0151] In some embodiments, performing a certain operation in the function setting window, such as selecting a certain control, indicates that the user has completed using the function setting window. At this time, the function setting window can be automatically canceled to save display space.

[0152] The user can quickly display the function setting window through a simple second preset interactive operation, and operate one or more controls in the function setting window without having to search for the function setting window through cumbersome operations, which simplifies user operations and improves operating efficiency. In addition, triggering the vibration setting control in the function setting window can quickly display the vibration setting interface, shortening the interface jump path, thereby improving operating efficiency.

[0153] 1-4. In response to the operation of shaking the electronic device during the process of playing the resource based on the resource playing interface, the vibration setting control is displayed. Figure 5 The same is true for the vibration setting control 502 in FIG.

[0154] Users can quickly call up the vibration setting control by simply shaking the electronic device, without having to go through cumbersome operations to find the vibration setting control, which simplifies user operations and improves operating efficiency.

[0155] 1-5. In response to the operation of shaking the electronic device during the process of playing the resource based on the resource playing interface, a function setting window is displayed, and the function setting window includes a vibration setting control. Figure 8 The same is true for the vibration setting control 802 in FIG.

[0156] The user can quickly display the function setting window by simply shaking the electronic device, and operate one or more controls in the function setting window without having to search for the function setting window through cumbersome operations, which simplifies user operations and improves operating efficiency. In addition, triggering the vibration setting control in the function setting window can quickly display the vibration setting interface, shortening the interface jump path, thereby improving operating efficiency.

[0157] 1-6. Play the recommended resource in the resource playback interface. The recommended resource is used to recommend the vibration mode. The vibration setting control is displayed in the recommended resource.

[0158] The recommended resource is different from ordinary resources. It is a resource for recommending vibration mode. Therefore, the resource includes content for recommending vibration mode, such as voice or picture for recommending vibration mode. A vibration setting control can be displayed in the recommended resource for users to set the vibration mode. Fig.10 , the recommended resource displays a vibration setting control 1001 and a vibration mode control 1002. When the vibration mode is turned on, the vibration mode control 1002 is displayed in the resource playback interface using a display style corresponding to the vibration mode on state. After that, the user triggers the vibration mode control 1002, the vibration mode is turned off, and see Fig.11 , in the resource playback interface, the vibration mode control 1002 is replaced with a display style corresponding to the vibration mode off state, so that the user knows that the current vibration mode is off. The vibration mode control 1002 can be triggered again later to turn on the vibration mode again.

[0159] By playing recommended resources for recommending vibration modes in a resource playback application, the user's attention can be attracted, and the user can be actively reminded to trigger the vibration setting control to set the target vibration mode, thereby increasing the probability of the user setting the target vibration mode, thereby increasing the usage rate of the vibration function, and there is no need to go through cumbersome operations to find the vibration setting control, which simplifies user operations and improves operating efficiency.

[0160] In step 302, the electronic device displays a vibration setting interface in response to a triggering operation on a vibration setting control.

[0161] Among them, the triggering operation of the vibration setting control can be a click operation, a long press operation, a drag operation, etc., which is not limited in the embodiment of the present disclosure.

[0162] In the disclosed embodiment, the vibration setting control is displayed first, avoiding interference with the user's normal use of resource playback applications and saving display space. The vibration setting interface is displayed after the vibration setting control is triggered, which can accurately respond to the user's needs for setting the vibration mode and enter the vibration setting interface in a timely and rapid manner, thereby improving operating efficiency.

[0163] In some embodiments, the above steps 301 to 302 may be replaced by the following steps: displaying a vibration mode control in the resource playback interface of the resource playback application, the vibration mode control being used to turn on or off the vibration mode. In response to a first trigger operation on the vibration mode control, displaying a vibration setting interface.

[0164] The vibration mode control and the vibration setting control may be displayed on the resource playback interface at the same time, or only one of the vibration mode control and the vibration setting control may be displayed on the resource playback interface.

[0165] Among them, the first trigger operation can be a long press operation, a click operation, or a drag operation, etc., which is not limited in the embodiment of the present disclosure.

[0166] In the disclosed embodiment, the vibration mode control is associated with the vibration setting interface, and a first trigger operation is performed on the vibration mode control, and the vibration setting interface can also be quickly displayed, thereby simplifying user operations and improving operating efficiency.

[0167] In some embodiments, the method further includes: when the vibration mode is turned on, in response to a second trigger operation on the vibration mode control, turning off the vibration mode; or, when the vibration mode is turned off, in response to a second trigger operation on the vibration mode control, turning on the vibration mode; wherein the second trigger operation is different from the first trigger operation. For example, the first trigger operation is a long press operation, and the second trigger operation is a click operation, or the first trigger operation is a click operation, and the second trigger operation is a long press operation, etc.

[0168] In the disclosed embodiment, the vibration mode control supports a first trigger operation and a second trigger operation. The first trigger operation is used to display a vibration setting interface, and the second trigger operation is used to turn on or off the vibration mode control. Therefore, by displaying the vibration mode control, a variety of functions can be achieved, flexibility is improved, and the user's diverse operational needs can be met. Moreover, the operation is very convenient and fast, and the operating efficiency is very high.

[0169] In some embodiments, in a resource playback interface in a resource playback application, a vibration mode control is displayed, including at least one of the following:

[0170] 2-1. When a resource with a vibration feedback tag is played based on a resource playback application and the playback time of the resource reaches a preset time, a vibration mode control is displayed, and the vibration feedback tag indicates vibration during the playback of the resource.

[0171] Step 2-1 is the same as step 1-1 above and will not be repeated here.

[0172] Since the playback time of the resource has reached the preset time, it means that the user is interested in the resource with the vibration feedback tag, and there is a great possibility that the user wants to vibrate during the playback of the resource. Therefore, the vibration mode control is displayed to the user to actively remind the user to turn on the vibration mode. It can actively discover user needs and actively provide users with the required operation controls. Users do not need to go through tedious operations to find the vibration setting controls themselves, which simplifies user operations.

[0173] 2-2. In response to a third preset interactive operation in the resource playback application, a vibration mode control is displayed.

[0174] Step 2-2 is the same as step 1-2 above and will not be repeated here.

[0175] Among them, the third preset interactive operation can be a default operation of the resource playback application, or an operation set by the user, etc. The third preset interactive operation can be a preset gesture operation when the resource playback application displays any interface, such as an operation of sliding along a preset trajectory in the interface, or the third preset interactive operation can also be an air gesture operation detected when the resource playback application displays any interface, such as an operation of the user waving his hand or grabbing with his hand, etc., which is not limited in the embodiments of the present disclosure. The third preset interactive operation can be the same as or different from the first preset interactive operation.

[0176] The user can quickly call out the vibration mode control through a simple third preset interactive operation, without having to search for the vibration mode control through cumbersome operations, thereby simplifying user operations and improving operating efficiency.

[0177] 2-3. In response to an operation of shaking the electronic device during the process of playing a resource based on the resource playing application, displaying a vibration mode control.

[0178] Steps 2-3 are the same as steps 1-4 above and will not be described again here.

[0179] The user can quickly call out the vibration mode control by simply shaking the electronic device, without having to go through cumbersome operations to find the vibration mode control, which simplifies user operations and improves operating efficiency.

[0180] 2-4. The resource-based playback application plays recommended resources, and the recommended resources are used to recommend vibration modes. A vibration mode control is displayed in the recommended resources.

[0181] Steps 2-4 are the same as steps 1-6 above and will not be described again here.

[0182] By playing recommended resources for recommending vibration mode in the resource playback application, the user's attention can be attracted, and the user can be actively reminded to trigger the vibration mode control to turn on the vibration mode, or the vibration mode can be turned off while the vibration mode is still turned on, thereby improving the efficiency of turning on and off the vibration mode, and there is no need to search for the vibration mode control through cumbersome operations, which simplifies user operations and improves operating efficiency.

[0183] In step 303, the electronic device determines a target vibration mode based on the vibration setting interface, where the target vibration mode includes a target vibration intensity and a target resource type.

[0184] First of all, the target vibration mode includes the target vibration intensity. Therefore, in the embodiment of the present disclosure, the function of customizing the target vibration intensity in the resource playback application is implemented. In the process of playing resources based on the resource playback application, vibration can be performed according to the target vibration intensity, and is no longer limited to a fixed vibration intensity. This is more in line with the user's personalized needs, improves the user's satisfaction with the vibration effect, and thus improves the user stickiness of the resource playback application.

[0185] In some embodiments, the target vibration intensity is set by:

[0186] 1. The vibration setting interface includes a slide bar for setting the vibration intensity. In response to a sliding operation in the slide bar, the vibration intensity corresponding to the end position of the sliding operation is determined as the target vibration intensity.

[0187] For example, see Fig.12 The vibration setting interface includes a slide bar 1201, and different positions in the slide bar 1201 correspond to different vibration intensities. The user can perform a sliding operation in the slide bar 1201, and the electronic device will highlight the area to the left of the sliding position in the slide bar 1201 based on the sliding operation. After the user terminates the sliding operation, the vibration intensity corresponding to the end position of the sliding operation is determined as the target vibration intensity.

[0188] For example, see Fig.12 The vibration setting interface also includes a determination control 1202. In response to a trigger operation on the determination control 1202, the electronic device determines the vibration intensity corresponding to the end position of the sliding operation as the target vibration intensity and closes the vibration setting interface.

[0189] 2. The vibration setting interface includes a slide bar for setting the vibration intensity. In response to a click operation in the slide bar, the vibration intensity corresponding to the click position is determined as the target vibration intensity.

[0190] See also Fig.12The vibration setting interface includes a slider 1201, and different positions in the slider 1201 correspond to different vibration intensities. The user can click in the slider 1201, and the electronic device determines the vibration intensity corresponding to the clicked position as the target vibration intensity, and the electronic device also highlights the area to the left of the clicked position in the slider 1201.

[0191] For example, see Fig.12 The vibration setting interface also includes a determination control 1202. In response to a trigger operation on the determination control 1202, the electronic device determines the vibration intensity corresponding to the end position of the sliding operation as the target vibration intensity and closes the vibration setting interface.

[0192] In the embodiment of the present disclosure, a sliding bar is provided in the vibration setting interface so that the user can slide or click the sliding bar to set the target vibration intensity. The setting operation is convenient and quick, thereby improving the user's operating efficiency.

[0193] 3. The vibration setting interface includes a vibration intensity input area, and the vibration intensity input in the vibration intensity input area is determined as the target vibration intensity.

[0194] The vibration intensity input area is used for the user to input the vibration intensity. The user can input according to the vibration intensity that he or she is comfortable with, and can also modify the input vibration intensity in the vibration intensity input area. The electronic device determines the vibration intensity input in the vibration intensity input area as the target vibration intensity.

[0195] Exemplarily, the vibration setting interface further includes a determination control, and in response to a triggering operation on the determination control, the electronic device determines the vibration intensity input in the vibration intensity input area as the target vibration intensity, and closes the vibration setting interface.

[0196] In the embodiment of the present disclosure, by setting a vibration intensity input area in the vibration setting interface, the user can input or modify the vibration intensity in the vibration intensity input area, which is convenient and quick to operate, thereby improving the user's operating efficiency.

[0197] It should be noted that the above three methods of setting the target vibration intensity may be combined in any form, and the embodiments of the present disclosure are not limited to this.

[0198] Secondly, the target vibration mode includes the target resource type. Therefore, in the embodiment of the present disclosure, the function of customizing the target resource type of the resource that needs to be vibrated in the resource playback application is implemented. Then, in the process of playing resources belonging to the target resource type based on the resource playback application, vibration can be performed, and it is no longer limited to all types of resources. It can effectively distinguish between resources that need to be vibrated and resources that do not need to be vibrated, which is more in line with the user's personalized needs, improves the user's satisfaction with the vibration effect, and thus improves the user stickiness of the resource playback application.

[0199] In some embodiments, the method of setting the target resource type includes:

[0200] 1. The vibration setting interface includes at least two resource types. In response to a resource type selection operation in the vibration setting interface, the selected resource type is determined as a target resource type.

[0201] The at least two resource types are alternative resource types provided by the electronic device for the user, from which the user can select the resource type that he wants to vibrate during playback. The selected resource type may be one or more, which is not limited in the embodiment of the present disclosure.

[0202] See also Fig.12 The vibration setting interface includes at least two resource types: "Music", "Dance", "Game", "Movie and TV Trailer", "Inspirational and Passionate", and "Natural Scenery". If the user selects "Dance", "Game" and "Natural Scenery", then see Fig.13 The electronic device highlights the three selected resource types and determines the three resource types as target resource types.

[0203] For example, see Fig.12 The vibration setting interface also includes a determination control 1202. In response to a triggering operation on the determination control 1202, the electronic device determines the selected resource type as the target resource type.

[0204] In the disclosed embodiment, at least two resource types are actively displayed in the vibration setting interface for the user to select a target resource type from, so the user does not need to passively think about the target resource type to be set, thereby reducing the requirements on the user, and the operation of selecting the target resource type is convenient and quick, thereby improving the user's operating efficiency.

[0205] 2. The vibration setting interface includes a resource type input area, and the resource type entered in the resource type input area is determined as the target resource type.

[0206] The resource type input area is used for the user to input the resource type. The user can input the resource type according to the resource type that he or she wants to vibrate, and can also modify the input resource type in the resource type input area. The electronic device determines the resource type input in the resource type input area as the target vibration intensity.

[0207] Exemplarily, the vibration setting interface further includes a determination control, and in response to a triggering operation on the determination control, the electronic device determines the resource type input in the resource type input area as the target resource type and closes the vibration setting interface.

[0208] In the disclosed embodiment, by setting a resource type input area in the vibration setting interface, the user can input or modify the resource type in the resource type input area, which is convenient and quick to operate, thereby improving the user's operating efficiency.

[0209] It should be noted that the above two methods of setting the target resource type may be combined in any form, and the embodiments of the present disclosure are not limited to this.

[0210] In some embodiments, after the electronic device determines the target vibration mode based on the vibration setting interface, the vibration setting interface can be closed. Fig.12 In response to the triggering operation of the confirmation control 1202, the electronic device closes the vibration setting interface. Afterwards, the electronic device may display a prompt message in the resource playback application, and the prompt message is used to prompt that the target vibration mode setting is completed. The prompt message may be displayed above or below the playback interface in the resource playback application, or displayed on the upper layer of the playback interface. And the prompt message may be displayed continuously until the user closes the prompt message, or the prompt message is automatically canceled after being displayed for a preset time. The embodiment of the present disclosure does not limit the display position and display time of the prompt message.

[0211] In step 304, the electronic device vibrates according to the target vibration intensity during the process of playing any resource that meets the target condition and belongs to the target resource type based on the resource playing interface.

[0212] After setting the target resource type and target vibration intensity, you can vibrate according to the target resource type and target vibration intensity. Therefore, when playing resources based on resource playback applications, if the currently playing resource meets the target conditions and belongs to the target resource type, it will vibrate according to the target vibration intensity. If the currently playing resource does not meet the target conditions, or the currently playing resource does not belong to the target resource type, it will not vibrate.

[0213] In some embodiments, the target condition includes at least one of the following:

[0214] 3-1. The resources played in the resource playback interface include the target plot.

[0215] If the currently played resource contains the target plot, the resource meets the target condition. Then in step 304, the electronic device vibrates according to the target vibration intensity during the process of playing any resource containing the target plot and belonging to the target resource type based on the resource playing interface.

[0216] The target plot may be a dancing plot, a fighting plot, an explosion plot, a plane crash plot, or a suspense plot, etc. The embodiment of the present disclosure does not limit the specific content of the target plot.

[0217] In the disclosed embodiment, vibration is performed when playing resources containing a target plot, which can enhance the emotional resonance between the user and the resources of the specific plot. Vibration strengthens the emotional transmission in high-energy scenarios, enhances the user's sense of immersion when watching resources with a specific plot, and deepens the interactivity between the user and the resources.

[0218] 3-2. The resources played on the resource playback interface are subject to preset interactive operations.

[0219] If the currently playing resource is subjected to a preset interactive operation, the resource meets the target condition. Then in step 304, the electronic device vibrates according to the target vibration intensity during the process of playing any resource that is subjected to a preset interactive operation and belongs to the target resource type based on the resource playing interface.

[0220] Among them, the preset interactive operation may include a like operation, a comment operation, a barrage interactive operation, a collection operation or a sharing operation performed by the currently logged-in account. The embodiment of the present disclosure does not limit the specific type of the preset interactive operation.

[0221] In the disclosed embodiment, when a user performs a preset interactive operation on a resource, indicating that the user is interested in the resource, vibration is performed when the resource is played, so that the user is associated with the resource of interest, thereby achieving a personalized response to the user's preset interactive operation, which not only enhances the sense of interactivity when playing the resource, but also promotes interaction between the user and the resource.

[0222] 3-3. The resources played in the resource playback interface carry vibration feedback tags.

[0223] If the currently played resource carries a vibration feedback tag, the resource meets the target condition. Then in step 304, the electronic device vibrates according to the target vibration intensity during the process of playing any resource carrying a vibration feedback tag and belonging to the target resource type based on the resource playing interface.

[0224] The vibration feedback label is the same as the vibration feedback label in the above step 1-1, and will not be described again here.

[0225] 3-4. The resources played on the resource playback interface are the resources released by the followed accounts. The followed accounts are the accounts followed by the currently logged in account.

[0226] If the currently played resource is a resource published by any account followed by the currently logged-in account, the resource meets the target condition. Then in step 304, the electronic device vibrates according to the target vibration intensity during the process of playing any resource published by the followed account and belonging to the target resource type based on the resource playback interface.

[0227] In the disclosed embodiment, vibration is performed when playing resources released by the followed account, so that vibration can be used as a unique form of response, strengthening the user's sense of exclusivity and relevance to the followed account, and achieving the effect of reminding the user to pay extra attention to the resources released by the followed account.

[0228] 3-5. The resources played on the resource playback interface are the resources published by the currently logged in account.

[0229] If the currently played resource is a resource published by the currently logged-in account, the resource meets the target condition. Then in step 304, the electronic device vibrates according to the target vibration intensity during the process of playing any resource published by the currently logged-in account and belonging to the target resource type based on the resource playback interface.

[0230] In the disclosed embodiment, vibration is performed when playing the resources published by the user to provide additional sensory feedback, which can strengthen the user's self-identity and achieve the effect of reminding the user to pay extra attention to the resources published by the user, which is conducive to motivating the user to create resources.

[0231] In the embodiments of the present disclosure, the target vibration mode includes the target vibration intensity and the target resource type for explanation. In other embodiments, the target vibration mode may include the target vibration intensity but does not include the target resource type. After the target vibration intensity is determined, the electronic device vibrates according to the target vibration intensity during the process of playing the resources that meet the target conditions based on the resource playback interface. Alternatively, the target vibration mode may include the target resource type but does not include the target vibration intensity. After the target resource type is determined, the electronic device vibrates during the process of playing any resource that meets the target conditions and belongs to the target resource type based on the resource playback interface. In addition to the target vibration intensity and the target resource type, the target vibration mode may also include other parameters of the vibration mode, which are not limited in the embodiments of the present disclosure.

[0232] In the related art, electronic devices only support vibration according to a fixed vibration intensity, but do not support customized vibration intensity. Moreover, electronic devices usually decide whether to vibrate based on the running status of the application program that comes with the electronic device, and do not apply the vibration function to other scenarios. In the embodiments of the present disclosure, the vibration function can be applied to the resource playback application running on the electronic device, and vibration can be performed during the playback of resources. It also supports customized vibration modes, including customized vibration intensity and the type of resources that need to be vibrated, etc., thereby expanding the application scenarios of the vibration function and realizing customized settings of the vibration mode, meeting the personalized needs of users for the vibration mode, and no longer being limited to fixed vibration modes, thereby improving flexibility, improving user satisfaction, increasing the user's usage time of the resource playback application, and increasing the number of resources watched by users in the resource playback application.

[0233] Fig.14 is a block diagram of a vibration device according to an exemplary embodiment. Fig.14 , the device comprises:

[0234] The display unit 1401 is configured to display a vibration setting control in a resource playback interface in a resource playback application, the resource playback interface is used to play resources provided in the resource playback application, and the vibration setting control is used to indicate a target vibration mode corresponding to a set vibration mode, wherein the vibration mode is to vibrate when playing resources that meet the target conditions based on the resource playback interface;

[0235] The display unit 1401 is further configured to display a vibration setting interface in response to a triggering operation on the vibration setting control;

[0236] The vibration setting unit 1402 is configured to determine a target vibration mode in response to a trigger operation on the vibration setting control;

[0237] The vibration control unit 1403 is configured to vibrate according to a target vibration mode during the process of playing the resource that meets the target condition based on the resource playing interface.

[0238] In some embodiments, the target vibration mode includes a target vibration intensity, and the vibration control unit 1403 is configured to vibrate according to the target vibration intensity during the process of playing the resource that meets the target condition based on the resource playing interface.

[0239] In some embodiments, the vibration setting interface includes a slide bar for setting the vibration intensity, and the vibration setting unit 1402 is configured to:

[0240] In response to a sliding operation in the sliding bar, determining a vibration intensity corresponding to a termination position of the sliding operation as a target vibration intensity; or,

[0241] In response to a click operation in the slide bar, the vibration intensity corresponding to the click position is determined as a target vibration intensity.

[0242] In some embodiments, the vibration setting interface includes a vibration intensity input area, and the vibration setting unit 1402 is configured to determine the vibration intensity input in the vibration intensity input area as the target vibration intensity.

[0243] In some embodiments, the target vibration mode includes a target resource type, and the vibration control unit 1403 is configured to vibrate during the process of playing any resource that meets the target condition and belongs to the target resource type based on the resource playing interface.

[0244] In some embodiments, the vibration setting interface includes at least two resource types, and the vibration setting unit 1402 is configured to determine the selected resource type as the target resource type in response to a resource type selection operation in the vibration setting interface.

[0245] In some embodiments, the vibration setting interface includes a resource type input area, and the vibration setting unit 1402 is configured to determine the resource type input in the resource type input area as the target resource type.

[0246] In some embodiments, the vibration control unit 1403 is configured to do at least one of the following:

[0247] During the process of playing the resource containing the target plot based on the resource playback interface, vibrate according to the target vibration mode;

[0248] During the process of playing the resource on which the preset interactive operation is performed based on the resource playback interface, vibrate according to the target vibration mode;

[0249] When playing a resource with a vibration feedback tag based on the resource playback interface, vibrate according to the target vibration mode;

[0250] When playing resources released by the follow account based on the resource playback interface, vibrate according to the target vibration mode. The follow account is the account that the currently logged in account has followed;

[0251] When playing the resources published by the currently logged-in account based on the resource playback interface, vibrate according to the target vibration mode.

[0252] In some embodiments, the display unit 1401 is configured as at least one of the following:

[0253] When playing a resource with a vibration feedback tag based on the resource playback interface and the playback time of the resource reaches a preset time, the vibration setting control is displayed, and the vibration feedback tag indicates that vibration is performed during the playback of the resource;

[0254] In response to a first preset interactive operation in the resource playback interface, displaying a vibration setting control;

[0255] In response to a second preset interactive operation in the resource playback interface, displaying a function setting window, the function setting window including a vibration setting control;

[0256] In response to an operation of shaking the electronic device during the process of playing a resource based on the resource playing interface, displaying a vibration setting control;

[0257] In response to an operation of shaking the electronic device during the process of playing a resource based on the resource playing interface, displaying a function setting window, the function setting window including a vibration setting control;

[0258] The recommended resources are played on the resource playback interface. The recommended resources are used to recommend vibration modes, and vibration setting controls are displayed in the recommended resources.

[0259] In some embodiments, the display unit 1401 includes:

[0260] The first display subunit is configured to display a vibration mode control on a resource playback interface in a resource playback application, where the vibration mode control is used to turn on or off the vibration mode;

[0261] The second display subunit is configured to display a vibration setting interface in response to a first triggering operation on the vibration mode control.

[0262] In some embodiments, the apparatus further comprises:

[0263] a vibration switch unit configured to, when the vibration mode is turned on, turn off the vibration mode in response to a second trigger operation on the vibration mode control; or

[0264] The vibration switch unit is further configured to turn on the vibration mode in response to a second trigger operation on the vibration mode control when the vibration mode is turned off;

[0265] The second trigger operation is different from the first trigger operation.

[0266] In some embodiments, the first display subunit is configured as at least one of the following:

[0267] When playing a resource with a vibration feedback tag based on the resource playback interface and the playback time of the resource reaches a preset time, the vibration mode control is displayed, and the vibration feedback tag indicates that vibration is performed during the playback of the resource;

[0268] In response to a third preset interactive operation in the resource playback interface, displaying a vibration mode control;

[0269] In response to an operation of shaking the electronic device during the process of playing a resource based on the resource playing interface, displaying a vibration mode control;

[0270] The recommended resource is played on the resource playback interface. The recommended resource is used to recommend the vibration mode, and a vibration mode control is displayed in the recommended resource.

[0271] The solution provided by the embodiment of the present disclosure realizes the function of setting the vibration mode in the resource playback application. The user triggers the vibration setting control provided by the resource playback interface of the resource playback application to call up the vibration setting interface, and then can set the target vibration mode based on the vibration setting interface in the resource playback application, so that in the process of playing resources that meet the target conditions based on the resource playback application, vibration is performed according to the target vibration mode. Since the target vibration mode is more in line with the personalized needs of users, when users use the resource playback application, vibration can be performed according to the vibration mode adapted to the user, which improves the user's satisfaction with the vibration effect, thereby improving the user stickiness of the resource playback application.

[0272] Regarding the device in the above embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.

[0273] The embodiment of the present disclosure provides an electronic device, which includes: a processor, and a memory for storing instructions executable by the processor, wherein the processor is configured to execute the instructions to implement the vibration method as described above.

[0274] Fig.15 The block diagram of the structure of an electronic device 1500 provided by an exemplary embodiment of the present disclosure is shown. The electronic device 1500 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 electronic device 1500 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0275] Typically, the electronic device 1500 includes a processor 1501 and a memory 1502 .

[0276] The processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1501 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 1501 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 1501 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 1501 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0277] The memory 1502 may include one or more computer-readable storage media, which may be non-transitory. The memory 1502 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 1502 is used to store at least one program code, which is used to be executed by the processor 1501 to implement the special effect update method provided in the method embodiment of the present disclosure.

[0278] In some embodiments, the electronic device 1500 may further optionally include: a peripheral device interface 1503 and at least one peripheral device. The processor 1501, the memory 1502 and the peripheral device interface 1503 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1503 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1504, a display screen 1505, a camera assembly 1506, an audio circuit 1507 and a power supply 1508.

[0279] The peripheral device interface 1503 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1501 and the memory 1502. In some embodiments, the processor 1501, the memory 1502, and the peripheral device interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1501, the memory 1502, and the peripheral device interface 1503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0280] The radio frequency circuit 1504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1504 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1504 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. In some embodiments, the radio frequency circuit 1504 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 1504 can communicate with other electronic devices 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 1504 may also include circuits related to NFC (Near Field Communication), which is not limited in the present disclosure.

[0281] The display screen 1505 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1505 is a touch display screen, the display screen 1505 also has the ability to collect touch signals on the surface or above the surface of the display screen 1505. The touch signal can be input to the processor 1501 as a control signal for processing. At this time, the display screen 1505 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 1505 can be one, and the front panel of the electronic device 1500 is set; in other embodiments, the display screen 1505 can be at least two, which are respectively set on different surfaces of the electronic device 1500 or are folded; in some other embodiments, the display screen 1505 can be a flexible display screen, which is set on the curved surface or folded surface of the electronic device 1500. Even, the display screen 1505 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1505 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0282] The camera assembly 1506 is used to capture images or videos. In some embodiments, the camera assembly 1506 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the electronic device, and the rear camera is disposed on the back of the electronic device. 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 1506 may also include a flash. The flash may 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.

[0283] The audio circuit 1507 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 1501 for processing, or input them into the radio frequency circuit 1504 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 electronic device 1500. 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 1501 or the radio frequency circuit 1504 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 1507 may also include a headphone jack.

[0284] The power supply 1508 is used to power various components in the electronic device 1500. The power supply 1508 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1508 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.

[0285] Those skilled in the art will understand that Fig.15 The structure shown in the figure does not constitute a limitation on the electronic device 1500, and may include more or less components than those shown in the figure, or combine certain components, or adopt a different component arrangement.

[0286] In an exemplary embodiment, a computer-readable storage medium is also provided, and when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can perform the steps in the above-mentioned vibration method. For example, the computer-readable storage medium can be a ROM (Read Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, etc.

[0287] 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 of an electronic device, the steps in the above vibration method are implemented.

[0288] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure 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.

[0289] 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 vibration method, characterized in that: The method comprises: In a resource playback interface in a resource playback application, a vibration setting control is displayed, the resource playback interface is used to play resources in the resource playback application, the vibration setting control is used to indicate a target vibration mode corresponding to a setting vibration mode, the vibration mode is to vibrate when playing resources that meet target conditions based on the resource playback interface; In response to a triggering operation on the vibration setting control, displaying a vibration setting interface; Based on the vibration setting interface, determining the target vibration mode; In the process of playing the resource that meets the target condition based on the resource playing interface, vibration is performed according to the target vibration mode.

2. The vibration method according to claim 1, characterized in that: The target vibration mode includes a target vibration intensity, and in the process of playing the resource that meets the target condition based on the resource playing interface, vibrating according to the target vibration mode includes: In the process of playing the resource that meets the target condition based on the resource playing interface, vibration is performed according to the target vibration intensity.

3. The vibration method according to claim 2, characterized in that: The vibration setting interface includes a slide bar for setting the vibration intensity, and the determining the target vibration mode based on the vibration setting interface includes: In response to a sliding operation in the sliding bar, determining the vibration intensity corresponding to the end position of the sliding operation as the target vibration intensity; or, In response to a click operation in the slide bar, the vibration intensity corresponding to the click position is determined as the target vibration intensity.

4. The vibration method according to claim 2, characterized in that: The vibration setting interface includes a vibration intensity input area, and determining a target vibration mode based on the vibration setting interface includes: The vibration intensity input in the vibration intensity input area is determined as the target vibration intensity.

5. The vibration method according to claim 1, characterized in that: The target vibration mode includes a target resource type, and in the process of playing a resource that meets the target condition based on the resource playing interface, vibrating according to the target vibration mode includes: Vibration is performed during the process of playing any resource that meets the target condition and belongs to the target resource type based on the resource playing interface.

6. The vibration method according to claim 5, characterized in that: The vibration setting interface includes at least two resource types, and determining a target vibration mode based on the vibration setting interface includes: In response to a resource type selection operation in the vibration setting interface, the selected resource type is determined as the target resource type.

7. The vibration method according to claim 5, characterized in that: The vibration setting interface includes a resource type input area, and determining a target vibration mode based on the vibration setting interface includes: The resource type input in the resource type input area is determined as the target resource type.

8. The vibration method according to claim 1, characterized in that: The vibrating according to the target vibration mode in the process of playing the resource that meets the target condition based on the resource playing interface includes at least one of the following: During the process of playing the resource containing the target plot based on the resource playing interface, vibrating according to the target vibration mode; During the process of playing the resource on which the preset interactive operation is performed based on the resource playing interface, vibrating according to the target vibration mode; In the process of playing a resource with a vibration feedback tag based on the resource playing interface, vibrating according to the target vibration mode; In the process of playing resources released by a follow account based on the resource playing interface, vibrating according to the target vibration mode, the follow account being an account that the currently logged-in account has followed; In the process of playing the resources published by the currently logged-in account based on the resource playing interface, vibration is performed according to the target vibration mode.

9. The vibration method according to claim 1, characterized in that: The resource playback interface in the resource playback application displays a vibration setting control, including at least one of the following: When a resource carrying a vibration feedback tag is played based on the resource playback interface and the playback time of the resource reaches a preset time, the vibration setting control is displayed, and the vibration feedback tag indicates that vibration is performed during the playback of the resource; In response to a first preset interactive operation in the resource playback interface, displaying the vibration setting control; In response to a second preset interactive operation in the resource playback interface, displaying a function setting window, the function setting window including the vibration setting control; In response to an operation of shaking the electronic device during the process of playing a resource based on the resource playing interface, displaying the vibration setting control; In response to an operation of shaking the electronic device during the process of playing a resource based on the resource playing interface, displaying the function setting window, wherein the function setting window includes the vibration setting control; The recommended resource is played on the resource playing interface, the recommended resource is used to recommend a vibration mode, and the vibration setting control is displayed in the recommended resource.

10. The vibration method according to claim 1, characterized in that: The method further comprises: In the resource playback interface of the resource playback application, a vibration mode control is displayed, wherein the vibration mode control is used to turn on or off the vibration mode; In response to a first triggering operation on the vibration mode control, the vibration setting interface is displayed.

11. The vibration method according to claim 10, characterized in that: The method further comprises: In the case where the vibration mode is turned on, in response to a second triggering operation on the vibration mode control, turning off the vibration mode; or, In a case where the vibration mode is turned off, in response to the second triggering operation on the vibration mode control, turning on the vibration mode; The second trigger operation is different from the first trigger operation.

12. The vibration method according to claim 10, characterized in that: The resource playback interface in the resource playback application displays a vibration mode control, including at least one of the following: When a resource carrying a vibration feedback tag is played based on the resource playback interface and the playback time of the resource reaches a preset time, the vibration mode control is displayed, and the vibration feedback tag indicates that vibration is performed during the playback of the resource; In response to a third preset interactive operation in the resource playback interface, displaying the vibration mode control; In response to an operation of shaking the electronic device during the process of playing a resource based on the resource playing interface, displaying the vibration mode control; The recommended resource is played on the resource playing interface, the recommended resource is used to recommend the vibration mode, and the vibration mode control is displayed in the recommended resource.

13. A vibration device, characterized in that: The device comprises: A display unit is configured to display a vibration setting control in a resource playback interface in a resource playback application, wherein the resource playback interface is used to play resources provided in the resource playback application, and the vibration setting control is used to indicate a target vibration mode corresponding to a setting of a vibration mode, wherein the vibration mode is to vibrate when playing a resource that meets a target condition based on the resource playback interface; The display unit is further configured to display a vibration setting interface in response to a triggering operation on the vibration setting control; a vibration setting unit, configured to determine a target vibration mode in response to a triggering operation on the vibration setting control; The vibration control unit is configured to vibrate according to the target vibration mode during the process of playing the resource that meets the target condition based on the resource playing interface.

14. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the vibration method according to any one of claims 1 to claim 12.

15. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the vibration method according to any one of claims 1 to 12.

16. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the vibration method according to any one of claims 1 to 12 is implemented.