Interaction method and device, electronic equipment and storage medium
By introducing gesture interaction function in resource playback applications, users can draw patterns through gesture operations to interact, solving the problems of low operation efficiency and insufficient fun in the prior art, and achieving a more efficient and attractive user experience.
Patent Information
- Application Number
- CN202510704481.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-29
- Publication Date
- 2025-07-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing resource playback application functions are limited, the operation efficiency is low and the fun is lacking, and the user viscosity is insufficient.
By introducing gesture interaction function in the interface of the resource playback application, users can draw patterns through gesture operations for interactive operations, including drawing patterns in the operation control area and the interaction panel to perform corresponding interactive operations, simplifying the operation process and increasing interest.
Improve operation efficiency, reduce operation costs, enhance user viscosity, expand the scope of application, and save display area.
Smart Images

Figure CN120276630A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of the Internet, and in particular, to an interaction method, apparatus, electronic device, and storage medium. Background Art
[0002] With the increasing expansion of the scale of the Internet, resource playback applications have attracted the love of many users with advantages such as fast dissemination speed, rich content, and strong interactivity. In a resource playback application, resources can be played, and operation controls of the resources, such as a like control, a share control, etc., can also be clicked to perform interaction operations on the resources. Even so, the functions of resource playback applications still have limitations. Summary of the Invention
[0003] The present disclosure provides an interaction method, apparatus, electronic device, and storage medium, which improve the operation efficiency, improve the operation interest, and enhance the user viscosity of the resource playback application.
[0004] According to an aspect of an embodiment of the present disclosure, an interaction method is provided, and the method includes: Based on a resource playback interface in a resource playback application, a first operation control area is displayed. The resource playback interface is used to play resources in the resource playback application. The first operation control area includes at least one first operation control, and the first operation control is a control for operating the resource playback application; In response to a first gesture operation in the first operation control area, a first pattern corresponding to the first gesture operation is drawn in the first operation control area according to the trajectory of the first gesture operation; A first interaction operation corresponding to the first pattern is performed in the resource playback application.
[0005] In some embodiments, the method further includes: In response to a first preset interaction operation on the first operation control area, a first interaction panel is displayed, and a first interaction area is displayed in the first interaction panel; In response to a second gesture operation in the first interaction area, a second pattern corresponding to the second gesture operation is drawn in the first interaction area according to the trajectory of the second gesture operation; A second interaction operation corresponding to the second pattern is performed in the resource playback application.
[0006] In some embodiments, the method further includes: In response to a second preset interaction operation on the first operation control area, a first function interface is displayed. The first function interface is used to display function controls of the resource playback application, and the first function interface includes a first interaction control; In response to a triggering operation on the first interactive control, a second interactive panel is displayed, and a second interactive area is displayed in the second interactive panel; In response to a third gesture operation in the second interactive area, a third pattern corresponding to the third gesture operation is drawn in the second interactive area according to the trajectory of the third gesture operation; A third interactive operation corresponding to the third pattern is performed in the resource playback application.
[0007] In some embodiments, the method further includes: Based on the resource playback interface, a second operation control area is displayed, the second operation control area includes at least one second operation control, and the second operation control is a control for operating the currently displayed resource; In response to a fourth gesture operation in the second operation control area, a fourth pattern corresponding to the fourth gesture operation is drawn in the second operation control area according to the trajectory of the fourth gesture operation; A fourth interactive operation corresponding to the fourth pattern is performed in the resource playback application.
[0008] In some embodiments, the method further includes: In response to a third preset interaction operation on the second operation control area, a third interactive panel is displayed, and a third interactive area is displayed in the third interactive panel; In response to a fifth gesture operation in the third interactive area, a fifth pattern corresponding to the fifth gesture operation is drawn in the third interactive area according to the trajectory of the fifth gesture operation; A fifth interactive operation corresponding to the fifth pattern is performed in the resource playback application.
[0009] In some embodiments, the method further includes: In response to a fourth preset interaction operation on the second operation control area, a second function interface is displayed, the second function interface is used to display function controls of the currently displayed resource, and the second function interface includes a second interactive control; In response to a triggering operation on the second interactive control, a fourth interactive panel is displayed, and a fourth interactive area is displayed in the fourth interactive panel; In response to a sixth gesture operation in the fourth interactive area, a sixth pattern corresponding to the sixth gesture operation is drawn in the fourth interactive area according to the trajectory of the sixth gesture operation; A sixth interactive operation corresponding to the sixth pattern is performed in the resource playback application.
[0010] In some embodiments, the drawn pattern and the interactive operation corresponding to the pattern satisfy at least one of the following: The interactive operation corresponding to the pattern with a heart-shaped trajectory is: an operation of giving a like to the currently displayed resource; The interactive operation corresponding to the pattern including a preset number is: an operation of posting a preset comment on the currently displayed resource, where the preset comment includes at least one of the preset numbers; The interactive operation corresponding to the pattern including a cross symbol is: an operation of marking the currently displayed resource as an uninteresting resource; The interactive operation corresponding to the pattern including a check mark symbol is: an operation of favoriting the currently displayed resource; The interactive operation corresponding to the pattern including a five-pointed star symbol is: an operation of favoriting the currently displayed resource; The interactive operation corresponding to the pattern including a lightning symbol is: an operation of starting a data-saving mode in the resource playback application; The interactive operation corresponding to the pattern including a wavy line symbol is: an operation of recommending other resources related to the resource currently displayed in the resource playback interface; The interactive operation corresponding to the pattern including text is: an operation of recommending resources related to the text;
[0011] In some embodiments, the method further includes: For the currently drawn pattern, matching the pattern with at least one preset pattern in the configuration information to determine the preset pattern that matches the pattern, where the configuration information includes at least one preset pattern and the interactive operation corresponding to each preset pattern; Determining the interactive operation corresponding to the preset pattern that matches the pattern as the interactive operation corresponding to the pattern.
[0012] In some embodiments, the configuration information includes at least one first preset pattern, the text included in each first preset pattern, and the interactive operation corresponding to each first preset pattern. The first preset pattern refers to a pattern including text, and the interactive operation corresponding to the first preset pattern is an operation of recommending resources related to the text corresponding to the first preset pattern, and the text corresponding to different first preset patterns is different; The matching the pattern with at least one preset pattern in the configuration information to determine the preset pattern that matches the pattern includes: Matching the pattern with at least one of the first preset patterns to determine the first preset pattern that matches the pattern; The determining the interactive operation corresponding to the preset pattern that matches the pattern as the interactive operation corresponding to the pattern includes: Determine the text corresponding to the first preset pattern that matches the pattern; Determine the operation of recommending resources related to the text as the interactive operation corresponding to the pattern.
[0013] In some embodiments, the method further includes: Display at least one piece of guiding information, each piece of guiding information including a pattern and a corresponding interactive operation.
[0014] According to another aspect of the embodiments of the present disclosure, there is provided an interactive device, the device including: A display unit, configured to display a first operation control area based on a resource playback interface in a resource playback application, the resource playback interface being used to play resources in the resource playback application, the first operation control area including at least one first operation control, and the first operation control being a control for operating the resource playback application; A pattern drawing unit, further configured to, in response to a first gesture operation in the first operation control area, draw a first pattern corresponding to the first gesture operation in the first operation control area according to the trajectory of the first gesture operation; An operation unit, configured to perform a first interactive operation corresponding to the first pattern in the resource playback application.
[0015] In some embodiments, the display unit is further configured to, in response to a first preset interaction operation on the first operation control area, display a first interactive panel, and a first interactive area is displayed in the first interactive panel; The pattern drawing unit is further configured to, in response to a second gesture operation in the first interactive area, draw a second pattern corresponding to the second gesture operation in the first interactive area according to the trajectory of the second gesture operation; The operation unit is further configured to perform a second interactive operation corresponding to the second pattern in the resource playback application.
[0016] In some embodiments, the display unit is further configured to, in response to a second preset interaction operation on the first operation control area, display a first function interface, the first function interface being used to display function controls of the resource playback application, and the first function interface including a first interactive control; The display unit is further configured to, in response to a triggering operation on the first interactive control, display a second interactive panel, and a second interactive area is displayed in the second interactive panel; The pattern drawing unit is further configured to, in response to a third gesture operation in the second interaction area, draw a third pattern corresponding to the third gesture operation in the second interaction area according to the trajectory of the third gesture operation; The operation unit is further configured to perform a third interaction operation corresponding to the third pattern in the resource playback application.
[0017] In some embodiments, the display unit is further configured to display a second operation control area based on the resource playback interface, where the second operation control area includes at least one second operation control, and the second operation control is a control for operating on the currently displayed resource; The pattern drawing unit is further configured to, in response to a fourth gesture operation in the second operation control area, draw a fourth pattern corresponding to the fourth gesture operation in the second operation control area according to the trajectory of the fourth gesture operation; The operation unit is further configured to perform a fourth interaction operation corresponding to the fourth pattern in the resource playback application.
[0018] In some embodiments, the display unit is further configured to display a third interaction panel in response to a third preset interaction operation on the second operation control area, where a third interaction area is displayed in the third interaction panel; The pattern drawing unit is further configured to, in response to a fifth gesture operation in the third interaction area, draw a fifth pattern corresponding to the fifth gesture operation in the third interaction area according to the trajectory of the fifth gesture operation; The operation unit is further configured to perform a fifth interaction operation corresponding to the fifth pattern in the resource playback application.
[0019] In some embodiments, the display unit is further configured to display a second function interface in response to a fourth preset interaction operation on the second operation control area, where the second function interface is used to display function controls of the currently displayed resource, and the second function interface includes second interaction controls; The display unit is further configured to display a fourth interaction panel in response to a trigger operation on the second interaction control, where a fourth interaction area is displayed in the fourth interaction panel; The pattern drawing unit is further configured to, in response to a sixth gesture operation in the fourth interaction area, draw a sixth pattern corresponding to the sixth gesture operation in the fourth interaction area according to the trajectory of the sixth gesture operation; The operation unit is further configured to perform a sixth interaction operation corresponding to the sixth pattern in the resource playback application.
[0020] In some embodiments, the drawn pattern and the interactive operation corresponding to the pattern satisfy at least one of the following: The interactive operation corresponding to the pattern with a heart-shaped trajectory is: an operation of giving a like to the currently displayed resource; The interactive operation corresponding to the pattern including a preset number is: an operation of posting a preset comment on the currently displayed resource, where the preset comment includes at least one of the preset numbers; The interactive operation corresponding to the pattern including a cross symbol is: an operation of marking the currently displayed resource as an uninteresting resource; The interactive operation corresponding to the pattern including a check mark symbol is: an operation of favoriting the currently displayed resource; The interactive operation corresponding to the pattern including a pentagram symbol is: an operation of favoriting the currently displayed resource; The interactive operation corresponding to the pattern including a lightning symbol is: an operation of starting a data-saving mode in the resource playback application; The interactive operation corresponding to the pattern including a wavy line symbol is: an operation of recommending other resources related to the currently displayed resource in the resource playback interface; The interactive operation corresponding to the pattern including text is: an operation of recommending resources related to the text.
[0021] In some embodiments, the operation unit is further configured to, for the currently drawn pattern, match the pattern with at least one preset pattern in the configuration information, determine the preset pattern that matches the pattern, where the configuration information includes at least one preset pattern and the interactive operation corresponding to each preset pattern; and determine the interactive operation corresponding to the preset pattern that matches the pattern as the interactive operation corresponding to the pattern.
[0022] In some embodiments, the configuration information includes at least one first preset pattern, the text included in each first preset pattern, and the interactive operation corresponding to each first preset pattern. The first preset pattern refers to a pattern including text, and the interactive operation corresponding to the first preset pattern is an operation of recommending resources related to the text corresponding to the first preset pattern, and the text corresponding to different first preset patterns is different; The operation unit is further configured to match the pattern with at least one of the first preset patterns, determine the first preset pattern that matches the pattern; determine the text corresponding to the first preset pattern that matches the pattern; and determine the operation of recommending resources related to the text as the interactive operation corresponding to the pattern.
[0023] In some embodiments, the display unit is further configured to display at least one piece of guiding information, and each piece of guiding information includes a pattern and a corresponding interaction operation.
[0024] According to another aspect of the embodiments of the present disclosure, an electronic device is provided, and the electronic device includes: A processor; A memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the interaction method as described in the above aspect.
[0025] 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 interaction method as described in the above aspect.
[0026] 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 interaction method as described in the above aspect is implemented.
[0027] The solution provided by the embodiments of the present disclosure realizes the gesture interaction function in the resource playback application. By drawing a pattern through gesture operations on the resource playback interface, corresponding interaction operations can be performed in the resource playback application. Compared with the way of clicking on the interaction control, the operation efficiency is improved, the operation cost is reduced, and the operation interest is increased, thereby enhancing the user viscosity of the resource playback application.
[0028] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.
[0030] Figure 1 is a schematic diagram of an implementation environment shown according to an exemplary embodiment.
[0031] Figure 2 is a flowchart of an interaction method shown according to an exemplary embodiment.
[0032] Figure 3 is a schematic diagram of two interaction areas shown according to an exemplary embodiment.
[0033] Figure 4 is a schematic diagram of drawing a pattern in two interaction areas shown according to an exemplary embodiment.
[0034] Figure 5 is a flowchart of another interaction method shown according to an exemplary embodiment.
[0035] Figure 6 is a flowchart of yet another interaction method shown according to an exemplary embodiment.
[0036] Figure 7 is a schematic diagram of a functional interface shown according to an exemplary embodiment.
[0037] Figure 8 is a flowchart of yet another interaction method shown according to an exemplary embodiment.
[0038] Figure 9 is a flowchart of yet another interaction method shown according to an exemplary embodiment.
[0039] Figure 10 is a flowchart of yet another interaction method shown according to an exemplary embodiment.
[0040] Figure 11 is a schematic diagram of a process for liking a resource shown according to an exemplary embodiment.
[0041] Figure 12 is a schematic diagram of another process for liking a resource shown according to an exemplary embodiment.
[0042] Figure 13 is a schematic diagram of a process for posting a comment shown according to an exemplary embodiment.
[0043] Figure 14 is a schematic diagram of another process for posting a comment shown according to an exemplary embodiment.
[0044] Figure 15 is a schematic diagram of a process for setting a resource as an uninteresting resource shown according to an exemplary embodiment.
[0045] Figure 16 is a schematic diagram of another process for setting a resource as an uninteresting resource shown according to an exemplary embodiment.
[0046] Figure 17 is a schematic diagram of a process for collecting a resource shown according to an exemplary embodiment.
[0047] Figure 18 is a schematic diagram of another process for collecting a resource shown according to an exemplary embodiment.
[0048] Figure 19 is a schematic diagram of another process for collecting a resource shown according to an exemplary embodiment.
[0049] Figure 20 It is a schematic flow chart of another collection resource shown according to an exemplary embodiment.
[0050] Figure 21 It is a schematic flow chart of enabling the data-saving mode shown according to an exemplary embodiment.
[0051] Figure 22 It is a schematic flow chart of another way to enable the data-saving mode shown according to an exemplary embodiment.
[0052] Figure 23 It is a schematic flow chart of recommending resources related to the currently displayed resource shown according to an exemplary embodiment.
[0053] Figure 24 It is a schematic flow chart of another way to recommend resources related to the currently displayed resource shown according to an exemplary embodiment.
[0054] Figure 25 It is a schematic flow chart of recommending resources related to text shown according to an exemplary embodiment.
[0055] Figure 26 It is a schematic flow chart of another way to recommend resources related to text shown according to an exemplary embodiment.
[0056] Figure 27 It is a block diagram of an interactive device shown according to an exemplary embodiment.
[0057] Figure 28 It is a block diagram of an electronic device shown according to an exemplary embodiment. Detailed implementation manners
[0058] In order to enable those of ordinary skill 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 with reference to the accompanying drawings.
[0059] It should be noted that the terms "first", "second", etc. in the description and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances 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. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0060] 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 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 need to comply with the relevant laws, regulations, and standards of relevant countries and regions. For example, the special effects and works involved in this disclosure are obtained under full authorization.
[0061] The interactive method provided by the embodiments of this disclosure is executed by an electronic device, which can be at least one of devices such as 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 portable computer.
[0062] The electronic device installs and runs a resource playback application, which is used to play resources. The resources to be played can include various types of resources such as videos, audios, and picture sets. In addition to the function of playing resources, the resource playback application can also have functions such as live broadcast, social interaction, and online shopping. The resource playback application can be in the form of a web application, a mini-program, or a client, etc., and the embodiments of this disclosure do not limit this.
[0063] Figure 1 is a schematic diagram of an implementation environment provided by the embodiments of this disclosure. Refer to Figure 1 , and this implementation environment includes: an electronic device 101 and a server 102.
[0064] The electronic device 101 installs and runs a resource playback application, and the server 102 is used to provide background services for the resource playback application running on the electronic device 101.
[0065] 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 can generally refer to one of multiple electronic devices. Those skilled in the art can know that the number of the above-mentioned electronic devices can be more or less.
[0066] The server 102 can be an independent physical server, a server cluster or a 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 means, and the embodiments of the present disclosure do not limit this. In some embodiments, the number of the above-mentioned servers 102 can be more or less, and the embodiments of the present disclosure do not limit this. Of course, the server 102 can also include other functional servers to provide more comprehensive and diverse 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 separately undertake the computing work, and the embodiments of the present disclosure do not limit this.
[0067] In some embodiments, the server 102 sends an information stream to the electronic device 101, and the information stream includes different resources. The electronic device 101 plays the resources in the information stream in the resource playback application according to the arrangement order of the different resources in the information stream. And, in response to the user's upward sliding operation, switch to playing the previous resource of the current resource in the information stream, or in response to the user's downward sliding operation, switch to playing the next resource of the current resource in the information stream. In addition, the electronic device 101 can also perform interactive operations in the resource playback application according to the user's instructions, such as an operation of liking the resource or an operation of sharing the resource, etc. And during the process of performing the interactive operation, the electronic device 101 can interact with the server 102 to jointly complete the interactive operation.
[0068] Figure 2 is a flowchart of an interactive method shown according to an exemplary embodiment. Refer to Figure 2 , and this method is executed by the electronic device and includes the following steps.
[0069] In step 201, the electronic device displays a first operation control area based on the resource playback interface in the resource playback application.
[0070] Among them, the resource playback application has the function of playing resources. The resource playback interface is used to play the resources in the resource playback application. The resources can include audio resources, video resources, picture set resources, etc. The resource playback interface can be displayed full screen or half screen in the resource playback application. The embodiments of the present disclosure do not limit this. In addition to the function of playing resources, the resource playback application can also have other functions, and other interfaces except the resource playback interface can also be displayed in the resource playback application.
[0071] The first operation control area includes at least one first operation control. The first operation control is a control for operating the resource playback application. The object of action of the first operation control is the resource playback application and is not restricted by the currently displayed resources. And the first operation control area is also used to draw a first pattern. The user can draw the first pattern in the first operation control area so as to subsequently control the resource playback application to perform a first interaction operation corresponding to the first pattern.
[0072] In step 202, the electronic device responds to a first gesture operation in the first operation control area and draws a first pattern corresponding to the first gesture operation in the first operation control area according to the trajectory of the first gesture operation.
[0073] That is, the trajectory of the first pattern is the same as the trajectory of the first gesture operation. The user only needs to express the first pattern to be drawn in the form of a gesture trajectory, and the electronic device can draw the corresponding first pattern in the first operation control area. The operation is simple and intuitive, and the operation efficiency is high.
[0074] The user can perform a first gesture operation in the first operation control area, thereby drawing a first pattern in the first operation control area. Different first patterns can represent different first interaction operations that the user wants to execute. The electronic device can determine the first interaction operation to be performed according to the drawn first pattern.
[0075] Among them, the first gesture operation can be a sliding operation of the user on the display screen of the electronic device, or can also be an air gesture operation, such as an operation of waving the hand or grasping an object in front of the electronic device, etc. The embodiments of the present disclosure do not limit the type of the first gesture operation.
[0076] See Figure 3 , the resource playback interface includes a first operation control area 301, and the first operation control area 301 is for the user to draw a pattern. See Figure 4 , the user can draw a heart-shaped pattern 3011 in the first operation control area 301.
[0077] In step 203, the electronic device performs a first interaction operation corresponding to the first pattern in the resource playback application.
[0078] In some embodiments, in response to a drawing completion operation, the electronic device obtains a first pattern drawn in a first operation control area, so as to perform a first interaction operation corresponding to the first pattern in a resource playback application. The drawing completion operation is a triggering operation on a drawing completion control in the first operation control area or a preset gesture operation, etc., and the embodiments of the present disclosure do not limit this.
[0079] In some embodiments, the electronic device establishes a correspondence between the first pattern and the first interaction operation. If the electronic device obtains the first pattern included in the correspondence, it can perform the first interaction operation corresponding to the first pattern in the resource playback application. If the electronic device obtains a first pattern not included in the correspondence, it will not perform the first interaction operation corresponding to the first pattern. Therefore, the electronic device can recognize the first pattern drawn in the first operation control area, query the first pattern in the correspondence, thereby querying the first interaction operation corresponding to the first pattern, and then perform the first interaction operation.
[0080] In some embodiments, the first interaction operation refers to an operation whose target is the resource playback application. This first interaction operation does not affect the currently displayed resource, but operates on the content other than the currently displayed resource in the resource playback application. For example, the first interaction operation includes an operation of enabling a data-saving mode in the resource playback application, an operation of posting the latest news in the resource playback application, an operation of updating account information, etc. Therefore, step 203 includes: the electronic device performs a first interaction operation on the resource playback application.
[0081] In other embodiments, the target of the first interaction operation can be the resource playback application or the currently displayed resource.
[0082] In the related art, the electronic device displays interaction controls in the resource playback application, such as a like control, a share control, etc. The user clicks on the interaction control, and the electronic device responds to the click operation on the interaction control and performs an interaction operation corresponding to the interaction control. However, this method requires the user to find the interaction control through one or more steps of operations, and the operation efficiency is very low. Moreover, this interaction method is relatively rigid and lacks interest.
[0083] The method provided by the embodiments of the present disclosure realizes the gesture interaction function in the resource playback application. By drawing a first pattern through a first gesture operation in the first operation control area on the resource playback interface, a first interaction operation corresponding to the first pattern can be performed in the resource playback application. Compared with the method of clicking on an interaction control to perform an interaction operation, the operation efficiency is improved, the operation cost is reduced, and the operation interest is increased, thus enhancing the user viscosity of the resource playback application. Moreover, the gesture interaction function is very intuitive and easy to operate, and even the elderly or children can use it easily, so the applicable scope of the resource playback application is expanded. Moreover, there is no need to set a separate interaction area in the resource playback interface. Only by expanding the gesture interaction function in the existing first operation control area can the display area be saved, the waste of the display area be avoided, and the function of the first operation control area be enriched.
[0084] Figure 5 It is a flowchart of another interaction method shown according to an exemplary embodiment. This method is executed by an electronic device. Refer to Figure 5 and this method includes the following steps.
[0085] In step 501, the electronic device displays a first interaction panel in response to a first preset interaction operation on the first operation control area. A first interaction area is displayed in the first interaction panel.
[0086] The electronic device displays a resource playback interface, in which resources can be played or the playback can be paused. And the user can perform a first preset interaction operation on the first operation control area in the resource playback interface. The electronic device displays a first interaction panel in response to the first preset interaction operation on the first operation control area. A first interaction area is displayed in the first interaction panel, and the user can draw a pattern in the first interaction area.
[0087] Among them, the first interaction panel can be displayed full screen or half screen. The first interaction panel can be displayed on the upper layer of the resource playback interface. The first interaction panel can be in an opaque state and can block part of the resource playback interface. Or, the first interaction panel can also be in a transparent state and can expose the content in the area of the resource playback interface that overlaps with it.
[0088] In the embodiments of the present disclosure, the first preset interaction operation acts on the first operation control area, that is, only when the user triggers the first preset interaction operation in the first operation control area in the resource playback interface will the electronic device display the first interaction panel. If the first preset interaction operation is triggered in other areas, the electronic device will not display the first interaction panel.
[0089] In the embodiments of the present disclosure, a first operation control area is set in the resource playback interface. The first operation control area is used to respond to a first preset interaction operation, and other areas in the resource playback interface no longer respond to the first preset interaction operation, realizing the division of different areas. Thus, the division between the gesture interaction function and the functions of other areas is achieved, which helps to set different interaction operations in different areas of the resource playback interface to achieve different functions, and has strong expandability.
[0090] Among them, the first preset interaction operation can be the default operation of the resource playback application, or an operation set by the user, etc. The first preset interaction operation can be a preset gesture operation, such as an operation of sliding along a preset trajectory in this interface, or the first preset interaction operation can also be an air gesture operation, such as an operation of the user waving or grabbing with the hand, etc. The embodiments of the present disclosure do not limit this.
[0091] In some embodiments, the first preset interaction operation includes at least one of the following operations.
[0092] 11. An operation of sliding in the first operation control area and the sliding trajectory is a first preset trajectory.
[0093] Among them, the first preset trajectory can be a trajectory of a preset length, that is, only the length of the trajectory needs to be the preset length, and the shape of the trajectory is not limited. Or, the first preset trajectory can be a trajectory of a preset shape, etc., that is, only the shape of the trajectory needs to be the preset shape, and the length of the trajectory is not limited.
[0094] 12. An operation of starting to slide from the first operation control area and the sliding direction is a first preset direction.
[0095] Among them, the first preset direction can be upward, downward, left, or right, etc.
[0096] In a possible implementation manner, the first preset interaction operation may include an operation of sliding from the first operation control area in the resource playback interface in a first preset direction, such as an operation of sliding upward from the first operation control area, or an operation of sliding downward from the first operation control area, etc.
[0097] 13. An operation of single-finger tapping the display screen while pressing the first operation control area.
[0098] 14. An operation of double-finger tapping the display screen while pressing the first operation control area.
[0099] 15. An operation of shaking the electronic device while pressing the first operation control area.
[0100] The user can quickly call out the first interactive panel by simply sliding, tapping the display screen, or shaking the electronic device without going through cumbersome operations, thereby simplifying user operations and improving operating efficiency.
[0101] In some embodiments, the method further includes: the electronic device displays at least one guide message in the first interactive area, each guide message includes a pattern and an interactive operation corresponding to the pattern, and the user views at least one guide message to learn what kind of interactive operation corresponds to each pattern, thereby deciding what kind of pattern to draw based on the guide message. The at least one guide message may include text information or image information, etc., which is not limited in the embodiments of the present disclosure. By displaying the guide message, the user can quickly understand various images and corresponding interactive operations, thereby learning gesture interactive functions and improving learning efficiency.
[0102] In step 502, in response to a second gesture operation in the first interactive area, the electronic device draws a second pattern corresponding to the second gesture operation in the first interactive area according to a trajectory of the second gesture operation.
[0103] That is, the trajectory of the second pattern is consistent with the trajectory of the second gesture operation. The user only needs to express the second pattern he wants to draw in the form of a gesture trajectory, and the electronic device can draw the corresponding second pattern in the first interactive area. The operation is simple and intuitive, and the operation efficiency is high.
[0104] In step 503, the electronic device performs a second interactive operation corresponding to the second pattern in the resource playback application.
[0105] In some embodiments, the electronic device obtains the second pattern drawn in the first interactive area in response to the drawing completion operation, so as to perform a second interactive operation corresponding to the second pattern in the resource playback application. The drawing completion operation is a triggering operation of the drawing completion control in the first interactive area or a preset gesture operation, etc., which is not limited in the embodiments of the present disclosure. After obtaining the second pattern, the electronic device can automatically retract the first interactive panel without the user having to perform an interactive operation to retract the first interactive panel, thereby simplifying the user operation and avoiding affecting the playback resources.
[0106] In some embodiments, the electronic device establishes a correspondence between a second pattern and a second interaction operation. If the electronic device obtains the second pattern included in the correspondence, it can perform the second interaction operation corresponding to the second pattern in the resource playback application. If the electronic device obtains a second pattern not included in the correspondence, it will not perform the second interaction operation corresponding to the second pattern. Therefore, the electronic device can recognize the second pattern drawn in the first interaction area, query the second pattern in the correspondence, thereby querying the second interaction operation corresponding to the second pattern, and then perform the second interaction operation.
[0107] In some embodiments, the second interaction operation refers to an operation whose target is the resource playback application, and this second interaction operation will not affect the currently displayed resource. Therefore, step 503 includes: the electronic device performs a second interaction operation on the resource playback application.
[0108] In some other embodiments, the target of the second interaction operation can be the resource playback application or the currently displayed resource.
[0109] The method provided by the embodiments of the present disclosure realizes the gesture interaction function in the resource playback application. In the first operation control area on the resource playback interface, the first interaction panel can be quickly called out through a simple first preset interaction operation, without the need for cumbersome operations. Then, by drawing a second pattern through a second gesture operation in the first interaction panel, the second interaction operation corresponding to the second pattern can be performed in the resource playback application. Compared with the way of clicking on an interaction control to perform an interaction operation, it improves the operation efficiency, reduces the operation cost, and increases the operation interest, enhancing the user viscosity of the resource playback application. Moreover, there is no need to set a separate interaction area in the resource playback interface. Only by expanding the gesture interaction function from the existing first operation control area can the display area be saved, avoiding waste of the display area, and enriching the functions of the first operation control area.
[0110] It should be noted that Figure 5 the embodiments shown can be combined with Figure 2 the embodiments shown, that is, in the resource playback application, the first operation control area provides two gesture interaction functions. The first is to draw a pattern in the first operation control area to perform a first interaction operation in the resource playback application. The second is to perform a first preset interaction operation in the first operation control area to call out the first interaction panel, and then draw a pattern in the first interaction panel to perform a second interaction operation in the resource playback application. The user can decide which of the above two gesture interaction functions to use according to the needs.
[0111] In a possible implementation manner, the first interaction operation and the second interaction operation may be the same interaction operation, and the first pattern corresponding to the same interaction operation is the same as the second pattern. Then, if a user wants to perform a certain interaction operation in the resource playback application, the user can either adopt the steps in the above Figure 2 illustrated embodiment to implement it, or adopt the steps in the above Figure 5 illustrated embodiment to implement it. In another possible implementation manner, the first interaction operation and the second interaction operation are different interaction operations. That is, the electronic device pre-divides multiple interaction operations that can be performed in the resource playback application into the first interaction operation and the second interaction operation. The first interaction operation can only be triggered by drawing the first pattern in the first operation control area, and the second interaction operation can only be triggered by drawing the second pattern in the first interaction panel. The first pattern corresponding to the first interaction operation and the second pattern corresponding to the second interaction operation may include the same pattern or different patterns. Then, if a user wants to perform a certain interaction operation in the resource playback application, it is necessary to distinguish whether the interaction operation is the first interaction operation or the second interaction operation. In another possible implementation manner, the first interaction operation and the second interaction operation may include both the same interaction operation and different interaction operations. Among them, the first pattern and the second pattern corresponding to the same interaction operation may be the same or different. The first pattern and the second pattern corresponding to different interaction operations may be the same or different.
[0112] Figure 6 FIG. is a flowchart of another interaction method shown according to an exemplary embodiment. This method is executed by an electronic device. Refer to Figure 6 , and this method includes the following steps.
[0113] In step 601, the electronic device displays a first function interface in response to a second preset interaction operation on the first operation control area. The first function interface is used to display function controls of the resource playback application, and the first function interface includes a first interaction control.
[0114] Among them, the first function interface may display controls related to one or more functions in the resource playback application, including function on / off controls or function setting controls, etc. The first function interface includes a first interaction control, and this first interaction control is used to display a second interaction panel. For example, if a second preset interaction operation is performed in the first operation control area in the resource playback interface, then the Figure 7 shown first function interface 701 is displayed. The first function interface includes a first interaction control 702, that is, a "trajectory gesture interaction panel". Triggering this first interaction control 702 can display the second interaction panel.
[0115] In some embodiments, when a certain operation is performed in the first function interface, such as selecting a certain control, it indicates that the user has completed the use of the first function interface. At this time, the first function interface can be automatically cancelled from display to save display space.
[0116] In the embodiments of the present disclosure, the second preset interaction operation acts on the first operation control area in the resource playback interface. That is, only when the user triggers the second preset interaction operation in the first operation control area of the resource playback interface, the electronic device will display the first function interface. If the second preset interaction operation is triggered in other areas, the electronic device will not display the first function interface.
[0117] In the embodiments of the present disclosure, a first operation control area is set in the resource playback interface. The second preset interaction operation is responded to through the first operation control area to display the first function interface. Other areas in the resource playback interface no longer respond to the second preset interaction operation, realizing the division of different areas. Thus, the division of the gesture interaction function and the functions of other areas is realized, which helps to set different interaction operations in different areas of the resource playback interface to achieve different functions, and has strong scalability.
[0118] Among them, the second preset interaction operation can be an operation default of the resource playback application, or an operation set by the user, etc. The second preset interaction operation can be a preset gesture operation, such as an operation of sliding along a preset trajectory in the interface, or the second preset interaction operation can also be an air gesture operation, such as an operation of the user waving or grasping with the hand, etc. The embodiments of the present disclosure do not limit this.
[0119] In some embodiments, the second preset interaction operation includes at least one of the following operations.
[0120] 21. An operation of sliding in the first operation control area and the sliding trajectory is the second preset trajectory.
[0121] Among them, the second preset trajectory can be a trajectory of a preset length, that is, only the length of the trajectory needs to be the preset length, and the shape of the trajectory is not limited. Or, the second preset trajectory can be a trajectory of a preset shape, etc., that is, only the shape of the trajectory needs to be the preset shape, and the length of the trajectory is not limited.
[0122] 22. An operation of starting to slide from the first operation control area and the sliding direction is the second preset direction.
[0123] Among them, the second preset direction can be upward, downward, left or right, etc.
[0124] In a possible implementation, the second preset interaction operation may include an operation of sliding starting from the first operation control area in a second preset direction in the resource playback interface, such as an operation of sliding upward from the first operation control area, or an operation of sliding downward from the first operation control area, etc.
[0125] 23. An operation of single-finger tapping the display screen while pressing the first operation control area.
[0126] 24. An operation of double-finger tapping the display screen while pressing the first operation control area.
[0127] 25. An operation of shaking the electronic device while pressing the first operation control area.
[0128] The user can quickly call up the first function interface through simple sliding operations, tapping the display screen operations, or shaking the electronic device operations, without the need for cumbersome operations, simplifying the user operations and improving the operation efficiency.
[0129] In step 602, the electronic device responds to the triggering operation on the first interactive control and displays a second interactive panel, and a second interactive area is displayed in the second interactive panel.
[0130] Among them, information such as the display position and display style of the second interactive panel may be the same as or different from the display position and display style of the first interactive panel, and the embodiments of the present disclosure do not limit this.
[0131] In step 603, the electronic device responds to a third gesture operation in the second interactive area and draws a third pattern corresponding to the third gesture operation in the second interactive area according to the trajectory of the third gesture operation.
[0132] In step 604, the electronic device performs a third interactive operation corresponding to the third pattern in the resource playback application.
[0133] Steps 602-604 are the same as the above steps 201-203 and the above steps 501-503, and will not be elaborated here.
[0134] The method provided by the embodiments of the present disclosure realizes the gesture interaction function in the resource playback application. In the first operation control area on the resource playback interface, the first function interface can be quickly called up through a simple second preset interaction operation, without cumbersome operations. Then, by triggering the first interaction control in the first function interface, the second interaction panel can be quickly displayed, thereby quickly drawing the third pattern, and then the third interaction operation corresponding to the third pattern can be performed in the resource playback application. Compared with the way of clicking the interaction control to perform the interaction operation, the interface jump path is shortened, the operation efficiency is improved, the operation cost is reduced, and the operation interest is increased, enhancing the user viscosity of the resource playback application. Moreover, there is no need to set a separate interaction area on the resource playback interface. Only by expanding the existing first operation control area with the gesture interaction function can the display area be saved, avoiding waste of the display area, and enriching the functions of the first operation control area.
[0135] It should be noted that Figure 6 the embodiments shown can be combined with Figure 2 the embodiments shown, and can also be combined with Figure 5 the embodiments shown.
[0136] Taking the combination of the above Figure 2 , Figure 5 and Figure 6 shown embodiments as an example, in the resource playback application, the first operation control area provides three gesture interaction functions. The first is to draw a pattern in the first operation control area to perform the first interaction operation in the resource playback application. The second is to perform the first preset interaction operation in the first operation control area, call up the first interaction panel, and then draw a pattern in the first interaction panel to perform the second interaction operation in the resource playback application. The third is to perform the second preset interaction operation in the first operation control area, call up the first function interface, and then trigger the first interaction control, so as to draw a pattern in the second interaction panel to perform the third interaction operation in the resource playback application. Users can decide which of the above three gesture interaction functions to adopt according to their needs.
[0137] In a possible implementation manner, the first interaction operation, the second interaction operation, and the third interaction operation can be the same interaction operation, and the patterns corresponding to the same interaction operation are the same. Then, if a user wants to perform a certain interaction operation in the resource playback application, it can be achieved either by adopting the steps in the above Figure 2 shown embodiments, or by adopting the steps in the above Figure 5 shown embodiments, or by adopting the steps in the above Figure 6The steps in the illustrated embodiments are implemented. In another possible implementation, the first interaction operation, the second interaction operation, and the third interaction operation are different interaction operations. That is, the electronic device pre-divides various interaction operations that can be performed in the resource playback application into the first interaction operation, the second interaction operation, and the third interaction operation. The first interaction operation can only be triggered by drawing a first pattern in the first operation control area. The second interaction operation can only be triggered by drawing a second pattern in the first interaction panel. The third interaction operation can only be triggered by drawing a third pattern in the second interaction panel. Moreover, the first pattern corresponding to the first interaction operation, the second pattern corresponding to the second interaction operation, and the third pattern corresponding to the third interaction operation may include the same pattern or different patterns. Then, if the user wants to perform a certain interaction operation in the resource playback application, it is necessary to distinguish whether the interaction operation is the first interaction operation, the second interaction operation, or the third interaction operation. In another possible implementation, the first interaction operation, the second interaction operation, and the third interaction operation may include the same interaction operation or different interaction operations. Among them, any two of the first pattern, the second pattern, and the third pattern corresponding to the same interaction operation may be the same or different. Any two of the first pattern, the second pattern, and the third pattern corresponding to different interaction operations may be the same or different.
[0138] Figure 8 is a flowchart of an interaction method shown according to an exemplary embodiment. Refer to Figure 8 , this method is executed by an electronic device and includes the following steps.
[0139] In step 801, the electronic device displays a second operation control area based on the resource playback interface in the resource playback application.
[0140] The second operation control area includes at least one second operation control. The second operation control is a control for operating the currently displayed resource. And the second operation control area is also used for drawing a fourth pattern. The user can draw a fourth pattern in the second operation control area so as to subsequently control the resource playback application to perform a fourth interaction operation corresponding to the fourth pattern.
[0141] Among them, the difference between the first operation control and the second operation control lies in the different objects of action. The object of action of the first operation control is the resource playback application and is not restricted by the currently displayed resource, while the object of action of the second operation control is the currently displayed resource. In the resource playback interface, only the first operation control area can be displayed, only the second operation control area can be displayed, or both the first operation control area and the second operation control area can be displayed. Moreover, at least one of the first operation control area and the second operation control area can be used for the user to interact by drawing patterns.
[0142] In step 802, in response to a fourth gesture operation in the second operation control area, the electronic device draws a fourth pattern corresponding to the fourth gesture operation in the second operation control area according to the trajectory of the fourth gesture operation.
[0143] That is, the trajectory of the fourth pattern is consistent with the trajectory of the fourth gesture operation. The user only needs to express the fourth pattern to be drawn in the form of a gesture trajectory, and the electronic device can draw the corresponding fourth pattern in the second operation control area. The operation is simple and intuitive, and the operation efficiency is high.
[0144] The user can perform a fourth gesture operation in the second operation control area to draw a fourth pattern in the second operation control area. Different fourth patterns can represent different interaction operations that the user wants to perform. The electronic device can determine the fourth interaction operation to be performed according to the drawn fourth pattern.
[0145] Among them, the fourth gesture operation can be a sliding operation of the user on the display screen of the electronic device, or can also be an air gesture operation, such as an operation of waving or grabbing an object in front of the electronic device. The embodiments of the present disclosure do not limit the type of the fourth gesture operation.
[0146] See Figure 3 , the resource playback interface includes a second operation control area 302 for the user to draw a pattern. See Figure 4 , the user can draw a heart-shaped pattern 3021 in the second operation control area 302.
[0147] In step 803, the electronic device performs a fourth interaction operation corresponding to the fourth pattern in the resource playback application.
[0148] In some embodiments, in response to a drawing completion operation, the electronic device obtains the fourth pattern drawn in the second operation control area so as to perform a fourth interaction operation corresponding to the fourth pattern in the resource playback application. Among them, the drawing completion operation is a triggering operation on the drawing completion control in the second operation control area or a preset gesture operation, etc. The embodiments of the present disclosure do not limit this.
[0149] In some embodiments, the electronic device establishes a correspondence between a fourth pattern and a fourth interaction operation. If the electronic device obtains the fourth pattern included in the correspondence, it can perform the fourth interaction operation corresponding to the fourth pattern in the resource playback application. If the electronic device obtains a fourth pattern not included in the correspondence, it will not perform the fourth interaction operation corresponding to the fourth pattern. Therefore, the electronic device can recognize the fourth pattern drawn in the second operation control area, query the fourth pattern in the correspondence, thereby querying the fourth interaction operation corresponding to the fourth pattern, and then perform the fourth interaction operation.
[0150] In some embodiments, the fourth interaction operation refers to an operation whose target is the currently displayed resource, that is, an operation that needs to process the resource, such as a sharing operation, a like operation, a comment operation, etc. Therefore, step 803 includes: the electronic device performs a fourth interaction operation on the currently displayed resource. In other embodiments, the target of the fourth interaction operation can be the currently displayed resource or the resource playback application.
[0151] In the related art, the electronic device displays interaction controls in the resource playback application, such as a like control, a sharing control, etc. The user clicks on the interaction control, and the electronic device responds to the click operation on the interaction control and performs the interaction operation corresponding to the interaction control. However, this method requires the user to find the interaction control through one or more steps of operations, and the operation efficiency is very low. Moreover, this interaction method is relatively rigid and lacks interest.
[0152] The method provided by the embodiments of the present disclosure realizes the gesture interaction function in the resource playback application. By drawing a fourth pattern through a fourth gesture operation in the second operation control area of the resource playback interface, the fourth interaction operation corresponding to the fourth pattern can be performed in the resource playback application. Compared with the method of clicking on the interaction control to perform the interaction operation, the operation efficiency is improved, the operation cost is reduced, the operation interest is increased, and the user viscosity of the resource playback application is enhanced. Moreover, the gesture interaction function is very intuitive and easy to operate, and even the elderly or children can use it very easily. Therefore, the applicable range of the resource playback application is expanded. Moreover, there is no need to set up a separate interaction area in the resource playback interface. Only the existing second operation control area needs to be extended with the gesture interaction function, which saves the display area, avoids the waste of the display area, and enriches the function of the second operation control area.
[0153] It should be noted that Figure 8 The illustrated embodiments may be combined with Figure 2 、 Figure 5 and Figure 6The illustrated embodiments are combined, that is, a first operation control area and a second operation control area are displayed in the resource playback application, and both can implement a gesture interaction function. The difference is that the first operation control area is used to perform interaction operations on the resource playback application, while the second operation control area is used to perform interaction operations on the currently displayed resource. The user can decide in which area to trigger the gesture interaction according to the object to be interacted with.
[0154] Figure 9 It is a flowchart of another interaction method shown according to an exemplary embodiment. This method is executed by an electronic device. Refer to Figure 9 This method includes the following steps.
[0155] In step 901, the electronic device displays a third interaction panel in response to a third preset interaction operation on the second operation control area. A third interaction area is displayed in the third interaction panel.
[0156] The electronic device displays a resource playback interface, in which a resource can be played or the playback can be paused. And the user can perform a third preset interaction operation on the second operation control area in the resource playback interface. The electronic device displays a third interaction panel in response to the third preset interaction operation on the second operation control area. A third interaction area is displayed in the third interaction panel, and the user can draw a pattern in the third interaction area.
[0157] Among them, the third interaction panel can be displayed full screen or half screen. The third interaction panel can be displayed on the upper layer of the resource playback interface. The third interaction panel can be in an opaque state and can block part of the resource playback interface. Or, the third interaction panel can also be in a transparent state and can expose the content in the area of the resource playback interface that overlaps with it.
[0158] Among them, information such as the display position and display style of the third interaction panel is the same as or different from the display position and display style of the first interaction panel and the second interaction panel. The embodiments of the present disclosure do not limit this.
[0159] In the embodiments of the present disclosure, the third preset interaction operation acts on the second operation control area, that is, the user triggers the third preset interaction operation in the second operation control area in the resource playback interface, and then the electronic device will display the third interaction panel. If the third preset interaction operation is triggered in other areas, the electronic device will not display the third interaction panel.
[0160] In the embodiments of the present disclosure, a second operation control area is set in the resource playback interface. The third preset interaction operation is responded to through the second operation control area, and the third preset interaction operation is no longer responded to through other areas in the resource playback interface, realizing the division of different areas, thereby realizing the division of the gesture interaction function and the functions of other areas, which helps to set different interaction operations in different areas of the resource playback interface to achieve different functions, and has strong scalability.
[0161] Among them, the third preset interaction operation can be the operation default of the resource playback application, or the operation set by the user, etc. The third preset interaction operation can be a preset gesture operation, such as an operation of sliding along a preset trajectory in this interface, or the third preset interaction operation can also be an air gesture operation, such as an operation of the user waving or grabbing with the hand, etc. The embodiments of the present disclosure do not limit this.
[0162] In some embodiments, the third preset interaction operation includes at least one of the following operations.
[0163] 31. An operation of sliding in the second operation control area and the sliding trajectory is the first preset trajectory.
[0164] Among them, the first preset trajectory can be a trajectory of a preset length, that is, only the length of the trajectory needs to be the preset length, and the shape of the trajectory is not limited. Or, the first preset trajectory can be a trajectory of a preset shape, etc., that is, only the shape of the trajectory needs to be the preset shape, and the length of the trajectory is not limited.
[0165] 32. An operation of starting to slide from the second operation control area and the sliding direction is the first preset direction.
[0166] Among them, the first preset direction can be upward, downward, left, or right, etc.
[0167] In a possible implementation manner, the third preset interaction operation may include an operation of starting to slide from the second operation control area in the resource playback interface in the first preset direction, such as an operation of sliding upward from the second operation control area, or an operation of sliding downward from the second operation control area, etc.
[0168] 33. An operation of single-finger tapping the display screen while pressing the second operation control area.
[0169] 34. An operation of double-finger tapping the display screen while pressing the second operation control area.
[0170] 35. An operation of shaking the electronic device while pressing the second operation control area.
[0171] The user can quickly bring up the third interaction panel through simple sliding operations, tapping on the display screen, or shaking the electronic device, without the need for cumbersome operations, simplifying the user's operations and improving operation efficiency.
[0172] In some embodiments, the method further includes: the electronic device displays at least one piece of guiding information in the third interaction area, each piece of guiding information including a pattern and the interaction operation corresponding to the pattern. By viewing the at least one piece of guiding information, the user can learn what the interaction operation corresponding to each pattern is, and thus decide what pattern to draw according to the guiding information. Among them, the at least one piece of guiding information may include text information or image information, etc., and the embodiments of the present disclosure do not limit this. By displaying the guiding information, it can help the user quickly understand various images and the corresponding interaction operations, thereby learning the gesture interaction function and improving the learning efficiency.
[0173] In step 902, the electronic device responds to a fifth gesture operation in the third interaction area and draws a fifth pattern corresponding to the fifth gesture operation in the third interaction area according to the trajectory of the fifth gesture operation.
[0174] That is, the trajectory of the fifth pattern is consistent with the trajectory of the fifth gesture operation. The user only needs to express the fifth pattern to be drawn in the form of a gesture trajectory, and the electronic device can draw the corresponding fifth pattern in the third interaction area. The operation is simple and intuitive, and the operation efficiency is high.
[0175] In step 903, the electronic device performs a fifth interaction operation corresponding to the fifth pattern in the resource playback application.
[0176] In some embodiments, the electronic device responds to the drawing completion operation, obtains the fifth pattern drawn in the third interaction area, so as to perform a fifth interaction operation corresponding to the fifth pattern in the resource playback application. Among them, the drawing completion operation is a triggering operation on the drawing completion control in the third interaction area or a preset gesture operation, etc., and the embodiments of the present disclosure do not limit this. And after obtaining the fifth pattern, the electronic device can automatically close the third interaction panel without the user having to perform an interaction operation to close the third interaction panel, simplifying the user's operation and avoiding affecting the played resource.
[0177] In some embodiments, the electronic device establishes a correspondence between a fifth pattern and a fifth interaction operation. If the electronic device obtains the fifth pattern included in the correspondence, it can perform the fifth interaction operation corresponding to the fifth pattern in the resource playback application. If the electronic device obtains a fifth pattern not included in the correspondence, it will not perform the fifth interaction operation corresponding to the fifth pattern. Therefore, the electronic device can recognize the fifth pattern drawn in the third interaction area, query the fifth pattern in the correspondence, thereby querying the fifth interaction operation corresponding to the fifth pattern, and then perform the fifth interaction operation.
[0178] In some embodiments, the fifth interaction operation refers to an operation whose target is the currently displayed resource. Therefore, step 903 includes: the electronic device performs a fifth interaction operation on the currently displayed resource. In other embodiments, the target of the fifth interaction operation can be the currently displayed resource or the resource playback application.
[0179] The method provided by the embodiments of the present disclosure realizes the gesture interaction function in the resource playback application. In the second operation control area in the resource playback interface, the third interactive panel can be quickly called out through a simple third preset interaction operation, without cumbersome operations. Then, by drawing a fifth pattern through a fifth gesture operation in the third interactive panel, the fifth interaction operation corresponding to the fifth pattern can be performed in the resource playback application. Compared with the way of clicking an interactive control to perform an interaction operation, the operation efficiency is improved, the operation cost is reduced, and the operation interest is increased, enhancing the user viscosity of the resource playback application. Moreover, there is no need to set a separate interaction area in the resource playback interface. Only by expanding the gesture interaction function of the existing second operation control area can the display area be saved, avoiding waste of the display area, and enriching the functions of the second operation control area.
[0180] It should be noted that Figure 9 the embodiments shown can be combined with Figure 8 the embodiments shown, that is, in the resource playback application, the second operation control area provides two gesture interaction functions. The first is to draw a pattern in the second operation control area to perform a fourth interaction operation in the resource playback application. The second is to perform a third preset interaction operation in the second operation control area to call out the third interactive panel, and then draw a pattern in the third interactive panel to perform a fifth interaction operation in the resource playback application. Users can decide which of the above two gesture interaction functions to use according to their needs.
[0181] In a possible implementation manner, the fourth interaction operation and the fifth interaction operation can be the same interaction operation, and the patterns corresponding to the same interaction operation are the same. Then, if a user wants to perform a certain interaction operation in the resource playback application, he can either adopt the above Figure 8The steps in the illustrated embodiments can also be implemented using the above Figure 9 The steps in the illustrated embodiments. In another possible implementation, the fourth interaction operation and the fifth interaction operation are different interaction operations. That is, the electronic device pre-divides a variety of interaction operations that can be performed in the resource playback application into a fourth interaction operation and a fifth interaction operation. The fourth interaction operation can only be triggered by drawing a fourth pattern in the second operation control area, and the fifth interaction operation can only be triggered by drawing a fifth pattern in the third interaction panel. Moreover, the fourth pattern corresponding to the fourth interaction operation and the fifth pattern corresponding to the fifth interaction operation can include the same pattern or different patterns. Then, if the user wants to perform a certain interaction operation in the resource playback application, it is necessary to distinguish whether the interaction operation is a fourth interaction operation or a fifth interaction operation. In another possible implementation, the fourth interaction operation and the fifth interaction operation can include both the same interaction operation and different interaction operations. Among them, the fourth pattern and the fifth pattern corresponding to the same interaction operation can be the same or different. The fourth pattern and the fifth pattern corresponding to different interaction operations can be the same or different.
[0182] Figure 10 is a flowchart of another interaction method shown according to an exemplary embodiment. This method is executed by an electronic device. Refer to Figure 10 , and this method includes the following steps.
[0183] In step 1001, the electronic device displays a second function interface in response to a fourth preset interaction operation on the second operation control area. The second function interface is used to display function controls of the currently displayed resource, and the second function interface includes a second interaction control.
[0184] Among them, the second function interface can display one or more function-related controls in the resource playback application, including function on / off controls or function setting controls, etc. The second function interface includes a second interaction control, and this second interaction control is used to display a fourth interaction panel.
[0185] In some embodiments, performing a certain operation in the second function interface, such as selecting a certain control, indicates that the user has completed using the second function interface. At this time, the second function interface can be automatically cancelled from display to save display space.
[0186] In some embodiments, the first function interface and the second function interface are the same function interface. This function interface includes both a first interaction control and a second interaction control. The user can decide whether to trigger the first interaction control or the second interaction control according to the need.
[0187] In the embodiments of the present disclosure, the fourth preset interaction operation acts on the second operation control area in the resource playback interface. That is, only when the user triggers the fourth preset interaction operation in the second operation control area of the resource playback interface, the electronic device will display the second function interface. If the fourth preset interaction operation is triggered in other areas, the electronic device will not display the second function interface.
[0188] In the embodiments of the present disclosure, a second operation control area is set in the resource playback interface, and the fourth preset interaction operation is responded to through the second operation control area to display the second function interface. The other areas in the resource playback interface no longer respond to the fourth preset interaction operation, realizing the division of different areas, thereby realizing the division of the gesture interaction function and the functions of other areas, which helps to set different interaction operations in different areas of the resource playback interface to achieve different functions, and has strong scalability.
[0189] Among them, the fourth preset interaction operation can be an operation default in the resource playback application, or an operation set by the user, etc. The fourth preset interaction operation can be a preset gesture operation, such as an operation of sliding along a preset trajectory in this interface, or the fourth preset interaction operation can also be an air gesture operation, such as an operation of the user waving or grasping with the hand, etc. The embodiments of the present disclosure do not limit this.
[0190] In some embodiments, the fourth preset interaction operation includes at least one of the following operations.
[0191] 41. An operation of sliding in the second operation control area and the sliding trajectory is the second preset trajectory.
[0192] Among them, the second preset trajectory can be a trajectory of a preset length, that is, only the length of the trajectory needs to be the preset length, and the shape of the trajectory is not limited. Or, the second preset trajectory can be a trajectory of a preset shape, etc., that is, only the shape of the trajectory needs to be the preset shape, and the length of the trajectory is not limited.
[0193] 42. An operation of starting to slide from the second operation control area and the sliding direction is the second preset direction.
[0194] Among them, the second preset direction can be upward, downward, left or right, etc.
[0195] In a possible implementation manner, the fourth preset interaction operation may include an operation of sliding in the resource playback interface starting from the second operation control area in the second preset direction, such as an operation of sliding upward from the second operation control area, or an operation of sliding downward from the second operation control area, etc.
[0196] 43. An operation of single-finger tapping the display screen while pressing the second operation control area.
[0197] 44. An operation of double - finger tapping on the display screen while pressing the second operation control area.
[0198] 45. An operation of shaking the electronic device while pressing the second operation control area.
[0199] The user can quickly call up the second - function interface through simple sliding operations, tapping operations on the display screen, or shaking operations of the electronic device, without the need for cumbersome operations, simplifying the user's operations and improving the operation efficiency.
[0200] In step 1002, the electronic device responds to the triggering operation of the second interaction control and displays a fourth interaction panel, in which a fourth interaction area is displayed.
[0201] Among them, information such as the display position and display style of the fourth interaction panel may be the same as or different from those of the first interaction panel, the second interaction panel, and the third interaction panel. The embodiments of the present disclosure do not limit this.
[0202] In step 1003, the electronic device responds to the sixth gesture operation in the fourth interaction area and draws a sixth pattern corresponding to the sixth gesture operation in the fourth interaction area according to the trajectory of the sixth gesture operation.
[0203] In step 1004, the electronic device performs a sixth interaction operation corresponding to the sixth pattern in the resource - playing application.
[0204] Steps 1002 - 1004 are the same as the above - mentioned steps 801 - 803 and the above - mentioned steps 901 - 903, and will not be elaborated here.
[0205] The method provided by the embodiments of the present disclosure realizes the gesture interaction function in the resource - playing application. In the second operation control area in the resource - playing interface, the second - function interface can be quickly called up through simple fourth - preset interaction operations, without the need for cumbersome operations. Then, by triggering the second interaction control in the second - function interface, the fourth interaction panel can be quickly displayed, thereby quickly drawing the sixth pattern, and then the sixth interaction operation corresponding to the sixth pattern can be performed in the resource - playing application. Compared with the way of clicking the interaction control to perform the interaction operation, it shortens the interface jump path, improves the operation efficiency, reduces the operation cost, increases the operation interest, and enhances the user viscosity of the resource - playing application. Moreover, there is no need to set a separate interaction area in the resource - playing interface. Only by expanding the gesture interaction function in the existing second operation control area can the display area be saved, the waste of the display area be avoided, and the function of the second operation control area be enriched.
[0206] It should be noted that Figure 10 The shown embodiments can be combined withFigure 8 In combination with the embodiments shown, it can also be combined with Figure 9 the embodiments shown.
[0207] Taking the combination of the above Figure 8 , Figure 9 and Figure 10 shown embodiments as an example, in a resource playback application, the second operation control area provides three gesture interaction functions. The first is to draw a pattern in the second operation control area to perform a fourth interaction operation in the resource playback application. The second is to perform a second preset interaction operation in the second operation control area. After the second interaction panel is called up, draw a pattern in the second interaction panel to perform a fifth interaction operation in the resource playback application. The third is to perform a fourth preset interaction operation in the second operation control area. After the second function interface is called up, trigger the second interaction control, so as to draw a pattern in the fourth interaction panel to perform a sixth interaction operation in the resource playback application. The user can decide which of the above three gesture interaction functions to adopt according to the needs.
[0208] In a possible implementation manner, the fourth interaction operation, the fifth interaction operation, and the sixth interaction operation can be the same interaction operation, and the patterns corresponding to the same interaction operation are the same. Then, if the user wants to perform a certain interaction operation in the resource playback application, it can be implemented by using the steps in the above Figure 8 shown embodiments, or by using the steps in the above Figure 9 shown embodiments, or by using the steps in the above Figure 10 shown embodiments. In another possible implementation manner, the fourth interaction operation, the fifth interaction operation, and the sixth interaction operation are different interaction operations, that is, the electronic device pre-divides multiple interaction operations that can be performed in the resource playback application into the fourth interaction operation, the fifth interaction operation, and the sixth interaction operation. The fourth interaction operation can only be triggered by drawing a first pattern in the second operation control area. The fifth interaction operation can only be triggered by drawing a second pattern in the first interaction panel. The sixth interaction operation can only be triggered by drawing a sixth pattern in the fourth interaction panel. And the fourth pattern corresponding to the fourth interaction operation, the fifth pattern corresponding to the fifth interaction operation, and the sixth pattern corresponding to the sixth interaction operation can include the same pattern or different patterns. Then, if the user wants to perform a certain interaction operation in the resource playback application, it is necessary to distinguish whether the interaction operation is the fourth interaction operation, the fifth interaction operation, or the sixth interaction operation. In another possible implementation manner, the fourth interaction operation, the fifth interaction operation, and the sixth interaction operation can include both the same interaction operation and different interaction operations. Among them, any two of the fourth pattern, the fifth pattern, and the sixth pattern corresponding to the same interaction operation can be the same or different. Any two patterns among the fourth pattern, the fifth pattern, and the sixth pattern corresponding to different interaction operations can be the same or different.
[0209] Based on the above embodiments, in some embodiments, the patterns are divided into multiple categories, and the interactive operations corresponding to different categories of patterns are different. Moreover, the categories of patterns that can be drawn in the interactive area include at least one of the following from 51 to 55.
[0210] 51. Patterns having a third preset trajectory.
[0211] Among them, the third preset trajectory can be a trajectory of a preset length, that is, only the length of the trajectory needs to be the preset length, and the shape of the trajectory is not limited. Or, the third preset trajectory can be a trajectory of a preset shape, etc., that is, only the shape of the trajectory needs to be the preset shape, and the length of the trajectory is not limited. For example, the third preset trajectory includes a heart-shaped trajectory, and the length of the heart-shaped trajectory is not limited. The user only needs to draw a pattern having a heart-shaped trajectory to perform an interactive operation.
[0212] 52. Patterns including numbers.
[0213] In some embodiments, as long as the pattern includes numbers, an interactive operation can be performed. Or, in other embodiments, the pattern needs to include a preset number to perform an interactive operation, and the preset number can be "6" or other numbers.
[0214] 53. Patterns including letters.
[0215] In some embodiments, as long as the pattern includes letters, an interactive operation can be performed. Or, in other embodiments, the pattern needs to include a preset letter to perform an interactive operation, and the preset letter can be "x" or other letters.
[0216] 54. Patterns including symbols.
[0217] In some embodiments, as long as the pattern includes symbols, an interactive operation can be performed. Or, in other embodiments, the pattern needs to include a preset symbol to perform an interactive operation, and the preset symbol can be a cross symbol "×", a tick symbol "√", a five-pointed star symbol "☆" or other symbols.
[0218] 55. Patterns including text.
[0219] In some embodiments, as long as the pattern includes text, an interactive operation can be performed. Or, in other embodiments, the pattern needs to include a preset text to perform an interactive operation, and the preset text can be text such as "hot spot" or "news".
[0220] It should be noted that in addition to the above 5 categories, the patterns that can be drawn in the interactive area may also include other categories, and the embodiments of the present disclosure do not limit this.
[0221] The embodiments of the present disclosure provide multiple types of patterns, and the corresponding interaction operations for different types of patterns are different, which improves the richness of the patterns, thereby facilitating the user to draw any type of pattern for interaction operations and improving the flexibility.
[0222] Based on the above embodiments, in some embodiments, the interaction operation includes at least one of the following from 61 to 68.
[0223] 61. An operation of giving a like to the currently displayed resource in the resource playback interface.
[0224] In the related art, the user needs to click the like control of the resource to give a like to the resource. However, in the embodiments of the present disclosure, the user can draw a pattern in any one of the first operation control area, the second operation control area, the first interaction area, the second interaction area, the third interaction area, and the fourth interaction area to directly give a like to the resource, without the need to search for and click the like control of the resource.
[0225] 62. An operation of favoriting the currently displayed resource in the resource playback interface.
[0226] In the related art, the user needs to click the favorite control of the resource to favorite the resource. However, in the embodiments of the present disclosure, the user can draw a pattern in any one of the first operation control area, the second operation control area, the first interaction area, the second interaction area, the third interaction area, and the fourth interaction area to directly favorite the resource, without the need to search for and click the favorite control of the resource.
[0227] 63. An operation of sharing the currently displayed resource in the resource playback interface.
[0228] In the related art, the user needs to click the share control of the resource to share the resource. However, in the embodiments of the present disclosure, the user can draw a pattern in any one of the first operation control area, the second operation control area, the first interaction area, the second interaction area, the third interaction area, and the fourth interaction area to directly share the resource, without the need to search for and click the share control of the resource.
[0229] In some embodiments, when sharing the resource, the electronic device directly shares the resource to the preset contact account of the current account, or the contact account that the current account last contacted, or the electronic device can display a contact account selection interface, and after the user selects the contact account to be shared, the resource is shared to the selected contact account.
[0230] 64. An operation of posting a preset comment on the currently displayed resource in the resource playback interface.
[0231] In the related art, it is necessary for the user to click on the comment control of the resource and enter a comment in the comment area before the comment can be published. In the embodiments of the present disclosure, the user can draw a pattern in any one of the first operation control area, the second operation control area, the first interaction area, the second interaction area, the third interaction area, and the fourth interaction area, and directly publish a preset comment on the resource, without the need to search for and click on the comment control of the resource, nor to enter a comment. Among them, the preset comment can be a default comment or a comment set by the user, etc., and the embodiments of the present disclosure do not limit this.
[0232] 65. The operation of marking the currently displayed resource in the resource playback interface as an uninterested resource.
[0233] In the related art, it is necessary for the user to long-press the resource playback interface and then click on the uninterested control to mark the resource as an uninterested resource. In the embodiments of the present disclosure, the user can draw a pattern in any one of the first operation control area, the second operation control area, the first interaction area, the second interaction area, the third interaction area, and the fourth interaction area, and mark the resource as an uninterested resource, without the need to long-press the resource playback interface, nor to search for and click on the uninterested control.
[0234] 66. The operation of starting a preset mode in the resource playback application.
[0235] Among them, the preset mode can be a youth mode, a data-saving mode, a silent mode, etc., and the embodiments of the present disclosure do not limit this.
[0236] In the related art, it is necessary for the user to perform one or more operations to display the setting interface, and then click on the control for starting the preset mode in the setting interface to start the preset mode. In the embodiments of the present disclosure, the user can draw a pattern in the interaction area to start the preset mode, without the need to perform one or more operations to display the setting interface, nor to search for and click on the control for starting the preset mode.
[0237] 67. The operation of recommending other resources related to the currently displayed resource in the resource playback interface.
[0238] In the related art, an electronic device plays one or more recommended resources through a resource playback interface. A user can perform an upward sliding operation or a downward sliding operation to switch between different resources. However, when the user is interested in the currently displayed resource and wishes to view other resources related to this resource, the user can only perform a manual search, that is, click on a search control, enter a keyword related to this resource in a search box, and then click on a confirmation control to search for other resources related to this resource. In the embodiments of the present disclosure, the user can draw a pattern in any one of a first operation control area, a second operation control area, a first interaction area, a second interaction area, a third interaction area, and a fourth interaction area, and other resources related to this resource can be recommended. The electronic device can display a recommended result interface, and the recommended result interface can include one or more recommended resources. The user can select any one of the resources for playback. Alternatively, the electronic device directly plays one of the resources related to this resource, and the user can switch to play other resources related to this resource through an upward sliding operation or a downward sliding operation. In addition, the electronic device also displays an exit control. In response to a triggering operation on this exit control, the recommendation can be exited, and the resource displayed before the pattern was drawn is redisplayed.
[0239] 68. Operation of recommending resources related to a pattern.
[0240] In the related art, if a user wants to play a certain type of resource, the user can only perform a manual search, that is, click on a search control, enter a keyword in a search box, and then click on a confirmation control to search for a resource that matches this keyword. In the embodiments of the present disclosure, the user can draw a pattern in any one of a first operation control area, a second operation control area, a first interaction area, a second interaction area, a third interaction area, and a fourth interaction area, and resources related to this pattern can be recommended. The electronic device can display a recommended result interface, and the recommended result interface can include one or more recommended resources. The user can select any one of the resources for playback. Alternatively, the electronic device directly plays one of the resources related to this resource, and the user can switch to play other resources related to this resource through an upward sliding operation or a downward sliding operation. In addition, the electronic device also displays an exit control. In response to a triggering operation on this exit control, the recommendation can be exited, and the resource displayed before the pattern was drawn is redisplayed.
[0241] The embodiments of the present disclosure provide various interactive operations, improving the richness of interactive operations, being conducive to attracting users to use the gesture interaction function, and thus improving user stickiness.
[0242] In the embodiments of the present disclosure, multiple types of patterns and multiple types of interactive operations can be set in the resource playback application, and a correspondence relationship is established between the patterns and the interactive operations to ensure that accurate interactive operations can be performed after a pattern is drawn in the interactive area. Among them, the correspondence relationship can be set by default in the resource playback application, or can be set by the user, or the user can modify the correspondence relationship set by default in the resource playback application.
[0243] In some embodiments, the patterns and the corresponding interactive operations of the patterns satisfy at least one of the following items 71 to 78.
[0244] 71. The interactive operation corresponding to the pattern with a heart-shaped trajectory is: an operation of giving a like to the resource currently displayed in the resource playback interface.
[0245] See Figure 11 , when the electronic device displays the resource playback interface, if the user swipes up from the first operation control area at the bottom, the interactive panel is displayed. If the user draws a pattern with a heart-shaped trajectory in the interactive panel, the electronic device gives a like to the currently displayed resource.
[0246] See Figure 12 , when the electronic device displays the resource playback interface, if the user draws a pattern with a heart-shaped trajectory in the first operation control area at the bottom, the electronic device gives a like to the currently displayed resource.
[0247] 72. The interactive operation corresponding to the pattern including a preset number is: an operation of posting a preset comment on the resource currently displayed in the resource playback interface, and the preset comment includes at least one preset number.
[0248] For example, the preset number is "6" and the preset comment is "666".
[0249] See Figure 13 , when the electronic device displays the resource playback interface, if the user swipes up from the first operation control area at the bottom, the interactive panel is displayed. If the user draws a pattern including the number "6" in the interactive panel, the electronic device posts a comment "666" on the currently displayed resource.
[0250] See Figure 14 , when the electronic device displays the resource playback interface, if the user draws a pattern including the number "6" in the first operation control area at the bottom, the electronic device posts a comment "666" on the currently displayed resource.
[0251] 73. The interactive operation corresponding to the pattern including a cross symbol is: an operation of marking the resource currently displayed in the resource playback interface as an uninteresting resource.
[0252] See Figure 15, when the electronic device displays a resource playback interface and the user swipes up from the first operation control area at the bottom, an interactive panel is displayed. When the user draws a pattern including the symbol "×" in the interactive panel, the electronic device marks the currently displayed resource as an uninteresting resource.
[0253] See Figure 16 , when the electronic device displays a resource playback interface and the user draws a pattern including the symbol "×" in the first operation control area at the bottom, the electronic device marks the currently displayed resource as an uninteresting resource.
[0254] 74. The interactive operation corresponding to the pattern including the checkmark symbol is: an operation to favorite the currently displayed resource in the resource playback interface.
[0255] See Figure 17 , when the electronic device displays a resource playback interface and the user swipes up from the first operation control area at the bottom, an interactive panel is displayed. When the user draws a pattern including the symbol "√" in the interactive panel, the electronic device favorites the currently displayed resource in the resource playback interface.
[0256] See Figure 18 , when the electronic device displays a resource playback interface and the user draws a pattern including the symbol "√" in the first operation control area at the bottom, the electronic device favorites the currently displayed resource in the resource playback interface.
[0257] 75. The interactive operation corresponding to the pattern including the pentagram symbol is: an operation to favorite the currently displayed resource in the resource playback interface.
[0258] See Figure 19 , when the electronic device displays a resource playback interface and the user swipes up from the first operation control area at the bottom, an interactive panel is displayed. When the user draws a pattern including the pentagram symbol in the interactive panel, the electronic device favorites the currently displayed resource in the resource playback interface.
[0259] See Figure 20 , when the electronic device displays a resource playback interface and the user draws a pattern including the pentagram symbol in the first operation control area at the bottom, the electronic device favorites the currently displayed resource in the resource playback interface.
[0260] 76. The interactive operation corresponding to the pattern including the lightning symbol is: an operation to start the data-saving mode in the resource playback application.
[0261] Among them, the data-saving mode refers to a mode that saves data traffic. In the data-saving mode, the resource playback application can turn off some functions, or reduce the data transmission speed, or reduce the video image clarity, etc.
[0262] See Figure 21, when the electronic device displays the resource playback interface and the user swipes up from the first operation control area at the bottom, the interactive panel is displayed. When the user draws a pattern including a lightning symbol in the interactive panel, the electronic device enables the data-saving mode in the resource playback application.
[0263] See Figure 22 , when the electronic device displays the resource playback interface and the user draws a pattern including a lightning symbol in the first operation control area at the bottom, the electronic device enables the data-saving mode in the resource playback application.
[0264] 77. The interactive operation corresponding to the pattern including a wavy line symbol is: an operation to recommend other resources related to the resource currently displayed in the resource playback interface.
[0265] See Figure 23 , when the electronic device displays the resource playback interface and the user swipes up from the first operation control area at the bottom, the interactive panel is displayed. When the user draws a pattern including the symbol "~" in the interactive panel, the electronic device recommends other resources related to the resource currently displayed in the resource playback interface.
[0266] See Figure 24 , when the electronic device displays the resource playback interface and the user draws a pattern including the symbol "~" in the first operation control area at the bottom, the electronic device recommends other resources related to the resource currently displayed in the resource playback interface.
[0267] 78. The interactive operation corresponding to the pattern including text is: an operation to recommend resources related to the text.
[0268] See Figure 25 , when the electronic device displays the resource playback interface and the user swipes up from the first operation control area at the bottom, the interactive panel is displayed. When the user draws a pattern including the text "hotspot" in the interactive panel, the electronic device recommends hotspot resources.
[0269] See Figure 26 , when the electronic device displays the resource playback interface and the user draws a pattern including the text "hotspot" in the first operation control area at the bottom, the electronic device recommends hotspot resources.
[0270] In the embodiments of the present disclosure, according to the characteristics of different patterns and the general users' understanding of the meaning of the patterns, corresponding interactive operations matching the meaning of the patterns are set, which helps users quickly understand and remember the interactive operations corresponding to each pattern, thereby increasing the probability of users using the gesture interaction function.
[0271] Based on the above embodiments, the method further includes: for the currently drawn pattern, matching the pattern with at least one preset pattern in the configuration information to determine the preset pattern that matches the pattern, where the configuration information includes at least one preset pattern and the interactive operation corresponding to each preset pattern; determining the interactive operation corresponding to the preset pattern that matches the pattern as the interactive operation corresponding to the pattern.
[0272] Among them, the currently drawn pattern may include a first pattern drawn in the first operation control area, a second pattern drawn in the first interactive area, a third pattern drawn in the second interactive area, a fourth pattern drawn in the second operation control area, a fifth pattern drawn in the third interactive area, a sixth pattern drawn in the fourth interactive area, and so on. The configuration information may be set by default by the electronic device, or set by the user, or changed by the user after being set by default by the electronic device. When the electronic device obtains the currently drawn pattern, the pattern can be matched with at least one preset pattern in the configuration information to determine the preset pattern that matches the pattern, so as to determine the interactive operation corresponding to the pattern.
[0273] Exemplarily, the electronic device obtains the similarity between the currently drawn pattern and the preset pattern. When the similarity is greater than the preset threshold, it is determined that the currently drawn pattern matches the preset pattern; when the similarity is not greater than the preset threshold, it is determined that the currently drawn pattern does not match the preset pattern.
[0274] In the embodiments of the present disclosure, by setting the configuration information to record at least one preset pattern and its corresponding interactive operation, the currently drawn pattern can be matched with the preset pattern in the configuration information. The operation is simple, and the pattern drawn by the user can be accurately recognized. Even when the trajectory of the pattern drawn by the user is curved or incorrect, the matching preset pattern can be recognized, and then the matching interactive operation can be recognized, reducing the requirements for the pattern drawn by the user and ensuring the accuracy of pattern recognition.
[0275] In some embodiments, the configuration information includes at least one first preset pattern, the text included in each first preset pattern, and the interactive operation corresponding to each first preset pattern. The first preset pattern refers to a pattern including text, and the interactive operation corresponding to the first preset pattern is an operation to recommend resources related to the text corresponding to the first preset pattern, and the texts corresponding to different first preset patterns are different. That is, in the configuration information, not only the pattern including text is set, but also the text included in the pattern is stored, so that resources related to the text can be recommended later.
[0276] Therefore, matching the pattern with at least one preset pattern in the configuration information to determine the preset pattern that matches the pattern includes: matching the pattern with at least one first preset pattern to determine the first preset pattern that matches the pattern; then, determining the interaction operation corresponding to the preset pattern that matches the pattern as the interaction operation corresponding to the pattern includes: determining the text corresponding to the first preset pattern that matches the pattern, and determining the operation of recommending resources related to the text as the interaction operation corresponding to the pattern.
[0277] In the embodiment of the present disclosure, only graphic matching needs to be performed to determine the first preset pattern that matches the pattern. Since the text corresponding to the first preset pattern has been configured in the configuration information, there is no need to recognize the text included in the pattern. Only by simply querying the configuration information, the text included in the pattern can be determined, and then resources related to the text can be recommended, which simplifies the process of recognizing the pattern and improves the operation efficiency.
[0278] It should be noted that the electronic device can set only one set of configuration information. Whether it is the first pattern, the second pattern, the third pattern, the fourth pattern, the fifth pattern, or the sixth pattern, the electronic device will query the corresponding interaction operation from the same set of configuration information. In some other embodiments, the electronic device can also set different configuration information for querying the interaction operations corresponding to the patterns drawn in different regions. For example, the electronic device sets six sets of configuration information, which are respectively used to query the interaction operations corresponding to the first pattern, the second pattern, the third pattern, the fourth pattern, the fifth pattern, and the sixth pattern. Or, the electronic device sets two sets of configuration information. The first set of configuration information is set for the first operation control area and is used to query the interaction operations corresponding to the first pattern, the second pattern, and the third pattern, while the second set of configuration information is set for the second operation control area and is used to query the interaction operations corresponding to the fourth pattern, the fifth pattern, and the sixth pattern.
[0279] Figure 27 is a block diagram of an interaction device shown according to an exemplary embodiment. Refer to Figure 27 , the device includes: A display unit 2701, configured to display a first operation control area based on a resource playback interface in a resource playback application. The resource playback interface is used to play resources in the resource playback application. The first operation control area includes at least one first operation control, and the first operation control is a control for operating the resource playback application; A pattern drawing unit 2702, further configured to respond to a first gesture operation in the first operation control area and draw a first pattern corresponding to the first gesture operation in the first operation control area according to the trajectory of the first gesture operation; An operation unit 2703, configured to perform a first interaction operation corresponding to the first pattern in the resource playback application.
[0280] In some embodiments, the display unit 2701 is further configured to display a first interactive panel in response to a first preset interactive operation on a first operation control area, and a first interactive area is displayed in the first interactive panel; The pattern drawing unit 2702 is further configured to draw a second pattern corresponding to the second gesture operation in the first interactive area according to the trajectory of the second gesture operation in response to the second gesture operation in the first interactive area; The operation unit 2703 is further configured to perform a second interactive operation corresponding to the second pattern in the resource playback application.
[0281] In some embodiments, the display unit 2701 is further configured to display a first function interface in response to a second preset interactive operation on the first operation control area, the first function interface is used to display function controls of the resource playback application, and the first function interface includes a first interactive control; The display unit 2701 is further configured to display a second interactive panel in response to a trigger operation on the first interactive control, and a second interactive area is displayed in the second interactive panel; The pattern drawing unit 2702 is further configured to draw a third pattern corresponding to the third gesture operation in the second interactive area according to the trajectory of the third gesture operation in response to the third gesture operation in the second interactive area; The operation unit 2703 is further configured to perform a third interactive operation corresponding to the third pattern in the resource playback application.
[0282] In some embodiments, the display unit 2701 is further configured to display a second operation control area based on the resource playback interface, the second operation control area includes at least one second operation control, and the second operation control is a control for operating the currently displayed resource; The pattern drawing unit 2702 is further configured to draw a fourth pattern corresponding to the fourth gesture operation in the second operation control area according to the trajectory of the fourth gesture operation in response to the fourth gesture operation in the second operation control area; The operation unit 2703 is further configured to perform a fourth interactive operation corresponding to the fourth pattern in the resource playback application.
[0283] In some embodiments, the display unit 2701 is further configured to display a third interactive panel in response to a third preset interactive operation on the second operation control area, and a third interactive area is displayed in the third interactive panel; The pattern drawing unit 2702 is further configured to draw a fifth pattern corresponding to the fifth gesture operation in the third interactive area according to the trajectory of the fifth gesture operation in response to the fifth gesture operation in the third interactive area; The operation unit 2703 is further configured to perform a fifth interaction operation corresponding to the fifth pattern in the resource playback application.
[0284] In some embodiments, the display unit 2701 is further configured to display a second function interface in response to a fourth preset interaction operation on the second operation control area. The second function interface is used to display function controls of the currently displayed resource, and the second function interface includes a second interaction control. The display unit 2701 is further configured to display a fourth interaction panel in response to a triggering operation on the second interaction control. The fourth interaction area is displayed in the fourth interaction panel. The pattern drawing unit 2702 is further configured to draw a sixth pattern corresponding to the sixth gesture operation in the fourth interaction area according to the trajectory of the sixth gesture operation in response to the sixth gesture operation in the fourth interaction area. The operation unit 2703 is further configured to perform a sixth interaction operation corresponding to the sixth pattern in the resource playback application.
[0285] In some embodiments, the drawn pattern and the interaction operation corresponding to the pattern satisfy at least one of the following: The interaction operation corresponding to the pattern with a heart-shaped trajectory is: an operation of liking the currently displayed resource. The interaction operation corresponding to the pattern including a preset number is: an operation of posting a preset comment on the currently displayed resource, and the preset comment includes at least one preset number. The interaction operation corresponding to the pattern including a cross symbol is: an operation of marking the currently displayed resource as an uninteresting resource. The interaction operation corresponding to the pattern including a check mark symbol is: an operation of collecting the currently displayed resource. The interaction operation corresponding to the pattern including a five-pointed star symbol is: an operation of collecting the currently displayed resource. The interaction operation corresponding to the pattern including a lightning symbol is: an operation of starting a data-saving mode in the resource playback application. The interaction operation corresponding to the pattern including a wavy line symbol is: an operation of recommending other resources related to the currently displayed resource in the resource playback interface. The interaction operation corresponding to the pattern including text is: an operation of recommending resources related to the text.
[0286] In some embodiments, the operation unit 2703 is further configured to match the currently drawn pattern with at least one preset pattern in the configuration information to determine the preset pattern that matches the pattern. The configuration information includes at least one preset pattern and the interaction operation corresponding to each preset pattern; and determine the interaction operation corresponding to the preset pattern that matches the pattern as the interaction operation corresponding to the pattern.
[0287] In some embodiments, the configuration information includes at least one first preset pattern, the text included in each first preset pattern, and the interactive operation corresponding to each first preset pattern. The first preset pattern refers to a pattern including text, and the interactive operation corresponding to the first preset pattern is an operation of recommending resources related to the text corresponding to the first preset pattern, and the texts corresponding to different first preset patterns are different; The operation unit 2703 is further configured to match the pattern with at least one first preset pattern to determine the first preset pattern that matches the pattern; determine the text corresponding to the first preset pattern that matches the pattern; and determine the operation of recommending resources related to the text as the interactive operation corresponding to the pattern.
[0288] In some embodiments, the display unit 2701 is further configured to display at least one piece of guiding information, and each piece of guiding information includes a pattern and the corresponding interactive operation.
[0289] The solution provided by the embodiments of the present disclosure realizes the gesture interaction function in the resource playback application. By drawing a pattern through gesture operation on the resource playback interface, the interactive operation corresponding to the pattern can be performed in the resource playback application. Compared with the way of clicking on the interactive control, the operation efficiency is improved, the operation cost is reduced, and the operation interest is increased, thereby enhancing the user viscosity of the resource playback application.
[0290] Regarding the device in the above embodiments, the specific manner in which each unit performs operations has been described in detail in the embodiments related to the method, and will not be elaborated herein.
[0291] The embodiments of the present disclosure provide an electronic device, which includes: a processor, and a memory for storing instructions executable by the processor. The processor is configured to execute the instructions to implement the interactive method as described above.
[0292] Figure 28 The block diagram of an electronic device 2800 provided by an exemplary embodiment of the present disclosure is shown. The electronic device 2800 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV) player, a laptop computer or a desktop computer. The electronic device 2800 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
[0293] Generally, the electronic device 2800 includes a processor 2801 and a memory 2802.
[0294] The processor 2801 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. The processor 2801 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 2801 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 2801 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2801 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.
[0295] The memory 2802 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 2802 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2802 is used to store at least one program code, and the at least one program code is used to be executed by the processor 2801 to implement the interaction method provided in the method embodiments of the present disclosure.
[0296] In some embodiments, the electronic device 2800 may further optionally include a peripheral device interface 2803 and at least one peripheral device. The processor 2801, the memory 2802, and the peripheral device interface 2803 may be connected through a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 2803 through a bus, signal lines, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 2804, a display screen 2805, a camera assembly 2806, an audio circuit 2807, and a power supply 2808.
[0297] The peripheral device interface 2803 can be used to connect at least one I / O (Input / Output) related peripheral device to the processor 2801 and the memory 2802. In some embodiments, the processor 2801, the memory 2802, and the peripheral device interface 2803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 2801, the memory 2802, and the peripheral device interface 2803 can be implemented on a separate chip or circuit board, and this embodiment does not limit this.
[0298] The radio frequency circuit 2804 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 2804 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 2804 converts an 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 2804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so on. The radio frequency circuit 2804 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, 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 2804 may further include a circuit related to NFC (Near Field Communication), and the present disclosure does not limit this.
[0299] The display screen 2805 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 2805 is a touch display screen, the display screen 2805 also has the ability to collect touch signals on or above the surface of the display screen 2805. The touch signals can be input as control signals to the processor 2801 for processing. At this time, the display screen 2805 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 2805, which is disposed on the front panel of the electronic device 2800; in other embodiments, there may be at least two display screens 2805, which are respectively disposed on different surfaces of the electronic device 2800 or in a foldable design; in still other embodiments, the display screen 2805 may be a flexible display screen, which is disposed on a curved surface or a folding surface of the electronic device 2800. Even further, the display screen 2805 can also be set to an irregular non-rectangular shape, that is, a special-shaped screen. The display screen 2805 can be prepared using materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0300] The camera module 2806 is used to capture images or videos. In some embodiments, the camera module 2806 includes a front camera and a rear camera. Generally, 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 camera, a wide-angle camera, and a telephoto camera, to achieve functions such as background blurring by fusing the main camera and the depth camera, panoramic shooting by fusing the main camera and the wide-angle camera, and VR (Virtual Reality) shooting functions or other fused shooting functions. In some embodiments, the camera module 2806 may further include a flash. The flash can be a single-color-temperature flash or a dual-color-temperature flash. A dual-color-temperature flash refers to a combination of a warm-light flash and a cold-light flash, which can be used for light compensation under different color temperatures.
[0301] The audio circuit 2807 may include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals for input to the processor 2801 for processing, or input to the radio frequency circuit 2804 to enable voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the electronic device 2800. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signals from the processor 2801 or the radio frequency circuit 2804 into sound waves. The speaker may be a traditional thin-film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into audible sound waves for humans, but also convert electrical signals into inaudible sound waves for humans for uses such as ranging. In some embodiments, the audio circuit 2807 may also include a headphone jack.
[0302] The power supply 2808 is used to supply power to each component in the electronic device 2800. The power supply 2808 may be alternating current, direct current, a primary battery, or a rechargeable battery. When the power supply 2808 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charging technology.
[0303] Those skilled in the art can understand that Figure 28 the structure shown in
[0304] does not constitute a limitation on the electronic device 2800, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component layout.
[0305] In an exemplary embodiment, there is also provided a computer-readable storage medium, when the instructions in the computer-readable storage medium are executed by the processor of the electronic device, enabling the electronic device to execute the steps in the above interactive method. For example, the computer-readable storage medium may 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, and an optical data storage device, etc.
[0306] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of 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 known common general knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0307] It should be understood that the present disclosure is not limited to the exact structures already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. An interactive method, characterized in that The method includes: Based on the resource playback interface in the resource playback application, display a first operation control area. The resource playback interface is used to play the resources in the resource playback application. The first operation control area includes at least one first operation control, and the first operation control is a control for operating the resource playback application; In response to a first gesture operation in the first operation control area, draw a first pattern corresponding to the first gesture operation in the first operation control area according to the trajectory of the first gesture operation; Perform a first interaction operation corresponding to the first pattern in the resource playback application.
2. The interactive method according to claim 1, wherein The method further includes: In response to a first preset interaction operation on the first operation control area, display a first interaction panel, and a first interaction area is displayed in the first interaction panel; In response to a second gesture operation in the first interaction area, draw a second pattern corresponding to the second gesture operation in the first interaction area according to the trajectory of the second gesture operation; Perform a second interaction operation corresponding to the second pattern in the resource playback application.
3. The interactive method according to claim 1, characterized in that The method further includes: In response to a second preset interaction operation on the first operation control area, display a first function interface. The first function interface is used to display the function controls of the resource playback application, and the first function interface includes a first interaction control; In response to a trigger operation on the first interaction control, display a second interaction panel, and a second interaction area is displayed in the second interaction panel; In response to a third gesture operation in the second interaction area, draw a third pattern corresponding to the third gesture operation in the second interaction area according to the trajectory of the third gesture operation; Perform a third interaction operation corresponding to the third pattern in the resource playback application.
4. The interactive method according to claim 1, characterized in that, The method further includes: Based on the resource playback interface, display a second operation control area. The second operation control area includes at least one second operation control, and the second operation control is a control for operating the currently displayed resource; In response to a fourth gesture operation in the second operation control area, draw a fourth pattern corresponding to the fourth gesture operation in the second operation control area according to the trajectory of the fourth gesture operation; Perform a fourth interaction operation corresponding to the fourth pattern in the resource playback application.
5. The interactive method according to claim 4, characterized in that The method further includes: In response to a third preset interaction operation on the second operation control area, display a third interaction panel, and a third interaction area is displayed in the third interaction panel; In response to a fifth gesture operation in the third interaction area, draw a fifth pattern corresponding to the fifth gesture operation in the third interaction area according to the trajectory of the fifth gesture operation; Perform a fifth interaction operation corresponding to the fifth pattern in the resource playback application.
6. The interactive method according to claim 4, wherein The method further includes: In response to a fourth preset interaction operation on the second operation control area, display a second function interface. The second function interface is used to display the function controls of the currently displayed resource, and the second function interface includes a second interaction control; In response to a triggering operation on the second interactive control, a fourth interactive panel is displayed, and a fourth interactive area is displayed in the fourth interactive panel; In response to a sixth gesture operation in the fourth interactive area, a sixth pattern corresponding to the sixth gesture operation is drawn in the fourth interactive area according to the trajectory of the sixth gesture operation; A sixth interactive operation corresponding to the sixth pattern is performed in the resource playback application.
7. The interactive method according to any one of claims 1 to 6, characterized in that, The drawn pattern and the interactive operation corresponding to the pattern satisfy at least one of the following: The interactive operation corresponding to the pattern with a heart-shaped trajectory is: an operation of giving a like to the currently displayed resource; The interactive operation corresponding to the pattern including a preset number is: an operation of posting a preset comment on the currently displayed resource, and the preset comment includes at least one of the preset numbers; The interactive operation corresponding to the pattern including a cross symbol is: an operation of marking the currently displayed resource as an uninteresting resource; The interactive operation corresponding to the pattern including a check mark symbol is: an operation of collecting the currently displayed resource; The interactive operation corresponding to the pattern including a five-pointed star symbol is: an operation of collecting the currently displayed resource; The interactive operation corresponding to the pattern including a lightning symbol is: an operation of starting a data-saving mode in the resource playback application; The interactive operation corresponding to the pattern including a wavy line symbol is: an operation of recommending other resources related to the resource currently displayed in the resource playback interface; The interactive operation corresponding to the pattern including text is: an operation of recommending resources related to the text.
8. The interactive method according to any one of claims 1 to 6, characterized in that, The method further includes: For the currently drawn pattern, the pattern is matched with at least one preset pattern in the configuration information to determine the preset pattern that matches the pattern, and the configuration information includes at least one preset pattern and the interactive operation corresponding to each preset pattern; The interactive operation corresponding to the preset pattern that matches the pattern is determined as the interactive operation corresponding to the pattern.
9. The interactive method according to claim 8, characterized in that The configuration information includes at least one first preset pattern, the text included in each first preset pattern, and the interactive operation corresponding to each first preset pattern. The first preset pattern refers to a pattern including text, and the interactive operation corresponding to the first preset pattern is an operation of recommending resources related to the text corresponding to the first preset pattern, and the texts corresponding to different first preset patterns are different; The matching of the pattern with at least one preset pattern in the configuration information to determine the preset pattern that matches the pattern includes: Matching the pattern with at least one of the first preset patterns to determine the first preset pattern that matches the pattern; The determining of the interactive operation corresponding to the preset pattern that matches the pattern as the interactive operation corresponding to the pattern includes: Determining the text corresponding to the first preset pattern that matches the pattern; Determining the operation of recommending resources related to the text as the interactive operation corresponding to the pattern.
10. The interactive method according to any one of claims 1 to 6, characterized in that, The method further includes: Displaying at least one piece of guiding information, and each piece of guiding information includes a pattern and the corresponding interactive operation.
11. An interactive device, characterized in that, The device includes: A display unit, configured to play a resource playing interface in a resource playing application based on a resource, display a first operation control area, where the resource playing interface is used to play the resource in the resource playing application, and the first operation control area includes at least one first operation control, and the first operation control is a control for operating the resource playing application; A pattern drawing unit, further configured to respond to a first gesture operation in the first operation control area and draw a first pattern corresponding to the first gesture operation in the first operation control area according to the trajectory of the first gesture operation; An operation unit, configured to perform a first interaction operation corresponding to the first pattern in the resource playing application.
12. An electronic device, characterized in that, The electronic device includes: A processor; A memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the interaction method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is enabled to execute the interaction method according to any one of claims 1 to 10.
14. A computer program product, comprising a computer program, characterized in that, The computer program, when executed by the processor, implements the interaction method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Video playing method, playing terminal, and media server
CN105847998A
Interaction method based on live video broadcast, device and system
CN106303732A
Live broadcast interaction methods and devices, electronic equipment and memory medium
CN109547836A
Video publishing method, video playing method, electronic equipment and storage medium
CN112929725A
Live broadcast interaction method and related equipment
CN113329234A