Interaction method, apparatus, device, and storage medium

CN116489420BActive Publication Date: 2026-09-29BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210049730.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-17
Publication Date
2026-09-29
Estimated Expiration
2042-01-17

AI Technical Summary

Technical Problem

[0003]本公开提供一种交互方法、装置、设备及存储介质,以至少解决相关技术中交互提示时机的设置非常繁杂的问题

Benefits of technology

[0029]本公开的实施例提供的技术方案至少带来以下有益效果:通过将媒体资源中目标语音指令的播放时机,确定为显示目标提示信息的时机,也即,在播放目标语音指令时,显示目标提示信息,以提示对象账户操作目标语音指令指示的目标交互元素,从而促进对象账户的交互操作行为。相对于相关技术中的方案,本申请通过识别媒体资源的语音内容确定显示目标提示信息的时间,不必再全面考虑对象账户的所有操作行为,大大降低了设置显示交互提示时机的复杂度,解决了相关技术中交互提示时机的设置非常繁杂的问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116489420B_ABST
    Figure CN116489420B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an interaction method, device, equipment and storage medium, and relates to the technical field of Internet. The method comprises: acquiring a media resource, and displaying a playing interface, the playing interface being used for playing the media resource; the media resource comprising a target voice instruction used for indicating a target interaction element; in a case where the target voice instruction is detected, displaying target prompt information corresponding to the target voice instruction, the target prompt information being used for prompting an object account to operate the target interaction element on the playing interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of Internet technology, and in particular to an interaction method, apparatus, device and storage medium. Background Technology

[0002] Currently, interfaces used to display media resources typically include interactive elements such as likes, shares, and downloads. In related technologies, to encourage user interaction with these elements, a common approach is to display a notification when the user's actions meet certain timing criteria. However, this method requires comprehensive consideration of all user actions, and the diversity and unpredictability of these actions make setting the timing of notifications extremely complex. Summary of the Invention

[0003] This disclosure provides an interaction method, apparatus, device, and storage medium to at least solve the problem of the overly complex setting of interaction prompt timing in related technologies. The technical solution of this disclosure is as follows:

[0004] According to a first aspect of the present disclosure, an interaction method is provided for a client, comprising: acquiring media resources and displaying a playback interface, the playback interface being used to play the media resources; the media resources including a target voice command for indicating a target interactive element; and, upon detecting the playback of the target voice command, displaying target prompt information corresponding to the target voice command, the target prompt information being used to prompt the target account to operate the target interactive element on the playback interface.

[0005] In one possible implementation, displaying target prompt information corresponding to the target voice command includes: displaying dynamic effects of target interactive elements, the dynamic effects being used to indicate the target prompt information.

[0006] In another possible implementation, displaying target prompt information corresponding to the target voice command includes: obtaining execution time information corresponding to the target voice command, wherein the execution time information is used to indicate the time for displaying the target prompt information; and displaying the target prompt information based on the time indicated by the execution time information.

[0007] In another possible implementation, displaying the target prompt information corresponding to the target voice command includes: obtaining a pre-set correspondence between voice commands and prompt information, and determining the target prompt information corresponding to the target voice command based on the correspondence; and displaying the target prompt information corresponding to the target voice command.

[0008] In another possible implementation, displaying the target prompt information corresponding to the target voice command includes: displaying the target prompt information corresponding to the target voice command when the number of times the client displays the target prompt information within the most recent preset time period is less than or equal to a first preset number of times.

[0009] In another possible implementation, displaying target prompt information corresponding to the target voice command includes: displaying target prompt information corresponding to the target voice command when the number of times the target prompt information is displayed during the playback of the media resource is less than or equal to a second preset number of times.

[0010] According to a second aspect of the present disclosure, an interaction method is provided for a server, comprising: identifying a target voice command in a media resource, the target voice command being used to instruct a target interactive element; determining execution time information corresponding to the target voice command based on playback time information of the target voice command in the media resource, the execution time information being used to indicate the time for displaying target prompt information corresponding to the target voice command, the target prompt information being used to prompt an object account to operate the target interactive element; and sending the execution time information corresponding to the target voice command so that a client can display the target prompt information based on the time indicated by the execution time information.

[0011] In one possible implementation, sending the execution information corresponding to the target voice command includes: storing the execution time information corresponding to the target voice command in the data stream of the media resource; and sending the data stream of the media resource, wherein the data stream of the media resource includes the execution time information.

[0012] In another possible implementation, the method further includes: determining the correspondence between voice commands and prompts; and sending the correspondence between voice commands and prompts.

[0013] In another possible implementation, sending the correspondence between voice commands and prompt information includes: storing the correspondence between voice commands and interactive prompt information in the data stream of media resources; and sending the data stream of media resources, wherein the data stream of media resources includes the correspondence.

[0014] According to a third aspect of the present disclosure, an interactive device is provided, comprising: an acquisition module configured to acquire media resources and display a playback interface, the playback interface being used to play the media resources; the media resources including a target voice command for indicating a target interactive element; and a display module configured to, upon detecting the playback of the target voice command, display target prompt information corresponding to the target voice command, the target prompt information being used to prompt an account to operate the target interactive element on the playback interface.

[0015] In one possible implementation, the display module is specifically configured to perform: displaying dynamic effects of the target interactive element, the dynamic effects being used to indicate target prompt information.

[0016] In another possible implementation, the display module is specifically configured to: acquire the execution time information corresponding to the target voice command, the execution time information being used to indicate the time for displaying the target prompt information; and display the target prompt information based on the time indicated by the execution time information.

[0017] In another possible implementation, the display module is specifically configured to perform the following: obtain a pre-set correspondence between voice commands and prompt information, and determine the target prompt information corresponding to the target voice command based on the correspondence; and display the target prompt information corresponding to the target voice command.

[0018] In another possible implementation, the display module is specifically configured to perform the following: if the number of times the client displays the target prompt information is less than or equal to a first preset number within the most recent preset time period, display the target prompt information corresponding to the target voice command.

[0019] In another possible implementation, the display module is specifically configured to perform the following: during the playback of media resources, if the number of times the target prompt information is displayed is less than or equal to a second preset number, display the target prompt information corresponding to the target voice command.

[0020] According to a fourth aspect of the present disclosure, an interactive device is provided, comprising: a recognition module configured to recognize a target voice command in a media resource, the target voice command being used to indicate a target interactive element; a determination module configured to determine execution time information corresponding to the target voice command based on playback time information of the target voice command in the media resource, the execution time information being used to indicate the time for displaying target prompt information corresponding to the target voice command, the target prompt information being used to prompt an object account to operate the target interactive element; and a sending module configured to send the execution time information corresponding to the target voice command, so that a client can display the target prompt information based on the time indicated by the execution time information.

[0021] In one possible implementation, the sending module is specifically configured to: store the execution time information corresponding to the target voice instruction into the data stream of the media resource; and send the data stream of the media resource, which includes the execution time information.

[0022] In another possible implementation, the determining module is also configured to perform: determining the correspondence between voice commands and prompts; and sending the correspondence between voice commands and prompts.

[0023] In another possible implementation, the determining module is specifically configured to perform: storing the correspondence between voice commands and interactive prompts in the data stream of the media resource; and sending the data stream of the media resource, which includes the correspondence.

[0024] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the method of the first aspect described above and any possible implementation thereof.

[0025] According to a sixth aspect of the present disclosure, a server is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the method of the first aspect described above and any possible implementation thereof.

[0026] According to a seventh aspect of the present disclosure, an interactive system is provided, comprising: an electronic device for performing the method of the first aspect and any possible implementation thereof; and a server for performing the method of the second aspect and any possible implementation thereof.

[0027] According to an eighth aspect of the present disclosure, a computer-readable storage medium is provided that, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform the methods described in the first aspect and any possible implementation thereof.

[0028] According to a ninth aspect of the present disclosure, a computer program product is provided, the computer program product including computer instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect and any possible implementation thereof.

[0029] The technical solution provided by the embodiments of this disclosure brings at least the following beneficial effects: by determining the timing of the playback of the target voice command in the media resource as the timing of displaying the target prompt information, that is, displaying the target prompt information when the target voice command is played, the target account is prompted to operate the target interactive element indicated by the target voice command, thereby promoting the interactive operation behavior of the target account. Compared with the solutions in related technologies, this application determines the time to display the target prompt information by recognizing the voice content of the media resource, eliminating the need to comprehensively consider all the operation behaviors of the target account, greatly reducing the complexity of setting the timing of displaying interactive prompts, and solving the problem that the setting of interactive prompt timing in related technologies is very complicated.

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

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

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

[0033] Figure 2 This is a flowchart illustrating an interaction method according to an exemplary embodiment;

[0034] Figure 3 This is a schematic diagram illustrating a resource acquisition method according to an exemplary embodiment;

[0035] Figure 4 This is a schematic diagram illustrating a display of target prompt information according to an exemplary embodiment;

[0036] Figure 5 This is an example diagram illustrating an interface for displaying target prompt information.

[0037] Figure 6 This is a flowchart illustrating another interaction method according to an exemplary embodiment;

[0038] Figure 7 This is a flowchart illustrating another interaction method according to an exemplary embodiment;

[0039] Figure 8 This is a schematic diagram illustrating a method for recognizing voice commands according to an exemplary embodiment;

[0040] Figure 9 This is a schematic diagram illustrating another interaction method according to an exemplary embodiment.

[0041] Figure 10 This is a block diagram illustrating an interactive device according to an exemplary embodiment;

[0042] Figure 11 This is a block diagram illustrating another interactive device according to an exemplary embodiment;

[0043] Figure 12 This is a block diagram of an electronic device according to an exemplary embodiment;

[0044] Figure 13 This is a block diagram illustrating a server according to an exemplary embodiment. Detailed Implementation

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

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

[0047] Before providing a detailed introduction to the information processing methods provided in this disclosure, let me first briefly introduce the relevant elements, application scenarios, and implementation environment involved in this disclosure.

[0048] First, to facilitate understanding of this disclosure, the relevant elements involved in this disclosure are described.

[0049] Multimedia Understanding (MMU): It can recognize voice commands and content in media resources.

[0050] Content Delivery Network (CDN): It is an intelligent virtual network built on the existing network infrastructure. Relying on edge servers deployed in various locations, it enables electronic devices to obtain the content they need from the nearest location through the load balancing, content distribution, and scheduling functions of the central platform, thereby reducing network congestion and improving the access response speed and hit rate of electronic devices.

[0051] The media resource feed contains all the relevant information that the client needs to play and process the corresponding media resource content, such as the media resource's duration, dimensions, cover image address, download address, codec, and all other information.

[0052] Secondly, a brief introduction to the application scenarios involved in this disclosure will be given.

[0053] Currently, interfaces used to display media resources typically include interactive elements such as likes, shares, and downloads. In related technologies, to encourage user interaction with these elements, a common approach is to display a notification when the user's actions meet certain timing criteria. However, this method requires comprehensive consideration of all user actions, and the diversity and unpredictability of these actions make setting the timing of notifications extremely complex.

[0054] To address the aforementioned problems, this disclosure provides an interaction method that determines the timing of displaying target prompt information by determining the playback timing of the target voice command in the media resource. That is, the target prompt information is displayed when the target voice command is played, prompting the user account to operate the target interactive element indicated by the target voice command, thereby facilitating the user account's interactive behavior. Compared to solutions in related technologies, this application determines the timing of displaying target prompt information by recognizing the voice content of the media resource, eliminating the need to comprehensively consider all user account operations, greatly reducing the complexity of setting the timing of interactive prompts, and solving the problem of the extremely complicated setting of interactive prompt timing in related technologies.

[0055] Finally, a brief introduction to the implementation environment (implementation architecture) involved in this disclosure is given below.

[0056] like Figure 1 The diagram illustrates an implementation environment to which this disclosure applies. This implementation environment may include a server 110 and an electronic device 120, which can establish a connection with the server 110 via a network (wired or wireless network).

[0057] The electronic device 120 is used by the target account. The electronic device 120 originally has a client installed for playing media resources. The target account uses the electronic device 120 to complete tasks and activities and receive rewards. The electronic device 120 can be a mobile phone, tablet, laptop, PDA, desktop computer, portable computer, in-vehicle terminal, or wearable device, etc., and this disclosure does not limit it to any of these.

[0058] The server 110 is used to manage task activities. In some embodiments, the server 110 may be a single server or a server cluster consisting of multiple servers, and this disclosure does not limit this.

[0059] In addition, it should be noted that the user information involved in this disclosure (including but not limited to the device information of the target account, the personal information of the target account, etc.) is all information authorized by the user or fully authorized by all parties.

[0060] For ease of understanding, the interactive method provided in this disclosure will be described in detail below with reference to the accompanying drawings.

[0061] Figure 2 This is a flowchart illustrating an interaction method according to an exemplary embodiment, for a client installed on an electronic device. Figure 2 As shown, the interaction method includes the following steps:

[0062] S201: Acquire media resources and display the playback interface, which is used to play the media resources.

[0063] The media resources include target voice commands used to instruct target interactive elements.

[0064] Optionally, interactive elements are elements on the playback interface used for interactive operations by the target account. Examples include elements on the playback interface such as like, share, download, favorite, and follow. The target interactive element can be any type of interactive element.

[0065] Optionally, voice commands are used to instruct interactive elements on the playback interface. For example, a "like" command instructs the "like" icon on the playback interface, a "share" command instructs the "share" icon, a "download" command instructs the "download" icon, and a "favorite" command instructs the "favorite" icon. The target voice command can be any type of voice command.

[0066] In one implementation, when creating media resources, the author account may add voice commands to the media resources to invite target accounts to perform interactive operations. For example, the author account may add the voice command "Please help 'like'" to the media resources, where "like" is the voice command in this disclosure.

[0067] Optionally, interactive elements are displayed on the playback interface.

[0068] In one implementation, interactive elements are continuously displayed on the playback interface.

[0069] In another implementation, the interactive elements of the playback interface are not continuously displayed. For example, during the playback of media resources, the interactive elements are only displayed when the playback interface is triggered by the user account. Alternatively, the interactive elements are displayed when a voice command to instruct the interactive elements is recognized.

[0070] In one implementation, after the client starts, the server pushes a data stream of media resources to the client, thereby enabling the client to obtain the media resources.

[0071] In another implementation, such as Figure 3As shown, the client sends a first request to the server to request media resources. Upon receiving the client's first request, the server returns the data stream of the requested media resource to the client, thus enabling the client to obtain the media resource. For example, the server can determine the media resource requested in the first request based on the identifier of the media resource carried in the first request.

[0072] S202: When a target voice command is detected, the target prompt information corresponding to the target voice command is displayed. The target prompt information is used to prompt the target account to operate the target interactive element on the playback interface.

[0073] In one implementation, the client obtains a voice command set from the server and retrieves the protocol enumeration corresponding to the voice commands in the voice command set. For example, the protocol enumeration is represented by Code 1 as shown below:

[0074]

[0075] In one implementation, after the client acquires the media resources, the client checks whether a target voice command from the voice command set has been played while the playback interface is playing the media resources. The target voice command is any voice command from the voice command set.

[0076] Optionally, the client's playback interface includes pre-defined actions for executing voice commands. These actions are used to instruct the display of prompts.

[0077] In one implementation, while the playback interface is playing media resources, if the client detects a target voice command to play, the client sends a display command to the playback interface. Upon receiving the display command, the playback interface begins executing the action of the target voice command, that is, displaying the target prompt information corresponding to the target voice command to prompt the user account to operate the target interactive element on the playback interface, for example, by clicking the target interactive element on the playback interface.

[0078] In the above embodiments, the timing of displaying the target prompt information is determined by the playback timing of the target voice command in the media resource. That is, the target prompt information is displayed when the target voice command is played to prompt the target account to operate the target interactive element indicated by the target voice command, thereby promoting the interactive operation behavior of the target account. Compared with the solutions in related technologies, this application determines the time to display the target prompt information by recognizing the voice content of the media resource, eliminating the need to comprehensively consider all the operation behaviors of the target account, greatly reducing the complexity of setting the timing of displaying interactive prompts, and solving the problem that the setting of interactive prompt timing in related technologies is very complicated.

[0079] Furthermore, compared to existing technologies that determine whether to provide interactive prompts (i.e., display target prompt information) based on the user account's operational behavior, this application determines whether to provide interactive prompts based on the content of the media resource. It links the timing of the interactive prompt display to the content of the media resource, thereby achieving the highest engagement between the media resource content and the user account. For example, if the author account adds a target voice command when the media resource content is at its most engaging, the interactive prompt will be displayed at that moment, maximizing the user account's willingness to interact. Moreover, determining the timing of the interactive prompt display based on the playback timing of the target voice command indicating the interactive element in the media resource allows for a more accurate identification of the time point of highest engagement, further increasing the likelihood that the interactive prompt will encourage the user account to interact.

[0080] Optionally, displaying target prompt information corresponding to the target voice command includes: displaying dynamic effects of the target interactive elements, the dynamic effects being used to indicate the target prompt information.

[0081] In one implementation, the dynamic effects of the target interactive element include any one of scaling, rotation, or displacement effects. The scaling effect indicates that the target interactive element first grows larger and then smaller, or first shrinks and then grows larger. The rotation effect indicates that the target interactive element rotates clockwise or counterclockwise. The displacement effect indicates that the target interactive element moves vertically, horizontally, or diagonally.

[0082] In one implementation, when the client detects a target voice command to play, it displays a dynamic effect of the target interactive element to prompt the user account to interact with the target interactive element. For example, if a "like" command is detected, a dynamic effect of the "like" icon on the playback interface is displayed.

[0083] In one example, such as Figure 4 As shown, the dynamic effect is a scaling effect, and the "like" icon is... Figure 4 The state shown in (A) is switched to Figure 4 The state shown in (B) is then switched to. Figure 4 The state shown in (C) achieves a dynamic scaling effect of first increasing and then decreasing in size.

[0084] It needs to be explained that, Figure 4 The size of the "like" icon shown in (B) is larger than... Figure 4 The size of the "like" icon shown in (A) Figure 4 The "like" icon shown in (C) is large. Figure 4 The "like" icon shown in (A) is the same as... Figure 4The "like" icons shown in (C) are the same size.

[0085] in, Figure 4 In (A), (B), and (C), 69.2w is used to represent 692,000 likes.

[0086] In another implementation, when the client detects a target voice command to play, it displays a bubble graphic containing text information.

[0087] In another implementation, when the client detects a target voice command to play, it displays a pop-up graphic that includes text information.

[0088] In the above embodiments, the dynamic effects of the target interactive elements indicate the target prompt information. That is, the dynamic effects of the target interactive elements are used to prompt the target account to operate the target interactive elements. On the one hand, the target interactive elements can be highlighted to accurately indicate the location of the interactive elements for the target account to perform interactive operations. This helps target accounts that are not familiar with interface interactive operations to learn and understand the relevant interactive operations, promotes the interaction between the target account and the media resources, and thus greatly improves the interactivity between the media resources and the target account. On the other hand, since the dynamic effects of the interactive elements are used to remind the target account to perform interactive operations, it is not necessary to display the new elements on the playback interface, which can avoid obstructing the playback interface and affecting the target account's viewing of the media resources. In addition, it is not necessary to set the display priority between the new elements and other elements to be displayed, further simplifying the setting process of interactive reminders (i.e., displaying target prompt information).

[0089] In one possible implementation, displaying target prompt information corresponding to the target voice command includes:

[0090] Step 1: Obtain the execution time information corresponding to the target voice command. The execution time information is used to indicate the time when the target prompt information is displayed.

[0091] Optionally, the execution time information includes at least one of the following: the start playback time of the target voice command in the media resource, the end playback time of the target voice command in the media resource, the start execution time of the target prompt information in the media resource, and the execution duration of the target prompt information.

[0092] In the above embodiments, by setting execution time information including at least one of the following: the start playback time of the target voice command in the media resource, the end playback time of the target voice command in the media resource, the start execution time of the target prompt information in the media resource, and the execution duration of the target prompt information, the display time of the target prompt information corresponds to the playback time of the target voice command. That is, the target prompt information is displayed when the target voice command is played, thereby enabling the playback content of the media resource to correspond with the target prompt information and improving the prompting effect of the target prompt information.

[0093] In one implementation, upon detecting a target voice command to play, the client sends a second request to the server. This second request requests the execution time information of the target voice command within the media resource. Upon receiving the second request from the client, the server returns the execution time information of the target voice command to the client.

[0094] In another implementation, the execution time information of the target voice command is stored in the data stream of the media resource. When the client detects that the target voice command is being played, it retrieves the execution time information of the target voice command from the data stream of the media resource.

[0095] Step 2: Display target prompt information based on execution time information.

[0096] In one implementation, after obtaining the execution time information of the target voice command, the client sends a display command to the playback interface, which includes the execution time information of the target voice command. Upon receiving the display command, the playback interface executes the pre-embedded target voice command based on the execution time information, that is, displays the target prompt information.

[0097] In one example, the target message is displayed starting from the start execution time and stops displaying after the execution duration is shown.

[0098] In another example, the target message is displayed starting at the start playback time and stops displaying at the end playback time.

[0099] In one implementation, such as Figure 5As shown, after the media resource starts playing, the client monitors the playback content in real time. When it detects the playback of voice command 1 (i.e., the target voice command), it begins to execute and display the corresponding prompt information 1 (i.e., the target prompt information). After displaying an execution duration of 1, the display of prompt information 1 stops, meaning the execution of displaying prompt information 1 is complete. Furthermore, when it detects the playback of voice command 2 (i.e., the target voice command), it begins to display the corresponding prompt information 2 (i.e., the target prompt information). After displaying an execution duration of 2, the display of prompt information 2 stops, meaning the execution of displaying prompt information 2 is complete.

[0100] In the above embodiments, by obtaining the execution time information corresponding to the target voice command and displaying the target prompt information based on the time indicated by the execution time information, the target prompt information corresponds to the playback content of the playback interface, thereby improving the accuracy of the timing of the display of the target prompt information and thus enhancing the prompting effect of the target prompt information.

[0101] Optionally, combined Figure 1 ,like Figure 6 As shown, S202 includes:

[0102] S202A: Obtain the pre-set correspondence between voice commands and prompt information, and determine the target prompt information corresponding to the target voice command based on the correspondence.

[0103] Optionally, the prompt information is represented by dynamic effects. That is, the correspondence between voice commands and prompt information includes the correspondence between voice commands and dynamic effects, with the dynamic effects used to indicate the prompt information. For example, the prompt information corresponding to the "like" command is "Please like this for me," which is represented by the scaling dynamic effect of the "like" image on the playback interface. In other words, the scaling dynamic effect of the "like" image is used to indicate the content of "Please like this for me."

[0104] Optionally, the electronic device on which the client is located stores a pre-set correspondence between voice commands and prompts. For example, the "like" command corresponds to a zoom animation, the "share" command corresponds to a displacement animation, the "forward" command corresponds to a rotation animation, and the "follow" command corresponds to a blinking animation.

[0105] In one implementation, when the client detects that a target voice command is being played, it reads the corresponding relationship stored in the local cache of the electronic device and determines the target prompt information corresponding to the target voice command. For example, if the target voice command is a "like" command, then the target voice command corresponds to a zoom dynamic effect.

[0106] In another implementation, when the client detects that a target voice command is being played, it retrieves a pre-set correspondence between voice commands and prompts from the server, and determines the target prompt corresponding to the target voice command based on this correspondence. For example, if the target voice command is a "share" command, then the target voice command corresponds to a motion animation effect.

[0107] In another implementation, a preset mapping between voice commands and prompts is stored in the media resource's data stream. When the client detects that a target voice command is being played, it reads the mapping stored in the media resource's data stream and determines the target prompt corresponding to the target voice command. For example, if the target voice command is a "forward" command, then the target voice command corresponds to a rotating dynamic effect.

[0108] S202B: Displays the target prompt information corresponding to the target voice command.

[0109] In one implementation, after determining the target prompt information corresponding to the target voice command, the client sends a display command to the client. The display command includes the target prompt information corresponding to the target voice command, for example, a zoom dynamic effect corresponding to the "like" command. After receiving the display command, the playback interface displays the zoom dynamic effect of the "like" icon to prompt the target account to operate the "like" icon.

[0110] In another implementation, after the client determines the target prompt information corresponding to the target voice command, for example, if the target voice command is a "like" command, the client will start displaying the zoom dynamic effect of the "like" icon to prompt the target account to operate the "like" icon.

[0111] In the above embodiments, the target prompt information corresponding to the target voice command is determined by the pre-set correspondence between voice commands and prompt information, and the target prompt information corresponding to the target voice command is displayed, thereby achieving accurate display of the target prompt information corresponding to the pre-set target voice command.

[0112] Optionally, displaying target prompt information corresponding to the target voice command includes: displaying target prompt information corresponding to the target voice command when the number of times the client displays target prompt information within the most recent preset time period is less than or equal to a first preset number of times.

[0113] Optionally, the preset time period can be 12 hours. In this case, the most recent preset time period can be within the most recent 12 hours. It should be noted that the preset time period can also be other lengths, such as 8 hours. This disclosure does not limit this.

[0114] Optionally, the first preset number of times can be 5. It should be noted that the first preset number of times can also be other values, such as 7 times, and this disclosure does not limit this.

[0115] In one implementation, if the client has displayed the target prompt information 5 times in the past 12 hours, then after the client recognizes the target voice command, the playback interface will no longer display the target prompt information corresponding to the target voice command.

[0116] In one example, within the last 12 hours, the client displayed the prompt message for the "Like" command twice and the prompt message for the "Share" command three times. At this point, the client recognizes the "Follow" command and the playback interface no longer displays the prompt message for that command.

[0117] In another example, if the client displays the prompt message corresponding to the "like" command 5 times in the last 12 hours, the client will recognize the "like" command and the playback interface will no longer display the prompt message corresponding to the "like" command.

[0118] In the above embodiments, by limiting the number of times the client displays the target prompt information to be less than or equal to a first preset number, it is possible to avoid the client displaying the prompt information too frequently within the recent preset time period, which could cause interference to the target account.

[0119] Optionally, displaying target prompt information corresponding to the target voice command includes: displaying target prompt information corresponding to the target voice command when the number of times the target prompt information is displayed during the playback of the media resource is less than or equal to a second preset number of times.

[0120] Optionally, the second preset number of times can be 3 times. It should be noted that the second preset number of times can also be other values, such as 5 times, and this disclosure does not limit this.

[0121] In one implementation, if the client has already displayed the target prompt information three times during the playback of the media resource, then after the client recognizes the target voice command, the playback interface will no longer display the target prompt information corresponding to the target voice command.

[0122] In one example, during media playback, the client displays the "like" prompt once and the "share" prompt twice. At this point, the client recognizes the "follow" prompt, and the playback interface no longer displays the "follow" prompt.

[0123] In another example, during the playback of a media resource, the client displays the prompt message corresponding to the "like" command three times. At this point, the client recognizes the playback of the "like" command again, and the playback interface no longer displays the prompt message corresponding to the "like" command.

[0124] In the above embodiments, by limiting the number of times the target prompt information is displayed during media resource playback to less than or equal to a second preset number, it is possible to avoid displaying the target prompt information too frequently during media resource playback, which could interfere with the target account.

[0125] Figure 7 This is a flowchart illustrating an interaction method for a server, according to an exemplary embodiment. Figure 7 As shown, the interaction method includes the following steps:

[0126] S701: Identifies target voice commands in media resources, which are used to instruct target interactive elements.

[0127] In one implementation, a manually defined set of voice commands is input into a server, enabling the server to obtain the voice command set, which includes multiple voice commands. For example, the voice command set includes at least one of the following: "like" command, "share" command, "download" command, and "follow" command.

[0128] In one implementation, after obtaining the voice command set, the server defines a protocol enumeration corresponding to the voice command. For example, the protocol enumeration is represented by the following code 1:

[0129]

[0130]

[0131] In one implementation, the server obtains media resources uploaded by the broadcaster's account and identifies whether the media resources include a target voice command from the protocol enumeration. The target voice command can be any voice command in the protocol enumeration. In another implementation, the server retrieves historically stored media resources from the database and identifies whether the media resources include a target voice command from the protocol enumeration. The target voice command can be any voice command in the protocol enumeration. For example, if the protocol enumeration includes "like" and "download" commands, the server executes step S702 when it identifies a "like" or "download" command in the media resources. Furthermore, if the server identifies a voice command not included in the protocol enumeration, such as a "share" command, it defaults to "useless," meaning that the voice command is considered useless by default.

[0132] S702: Based on the playback time information of the target voice command in the media resource, determine the execution time information corresponding to the target voice command. The execution time information is used to indicate the time when the target prompt information corresponding to the target voice command is displayed.

[0133] Among them, the target prompt information is used to prompt the target interactive element of the target account.

[0134] Optionally, the execution time information includes at least one of the following: the start playback time of the target voice command in the media resource, the end playback time of the target voice command in the media resource, the start execution time of the target prompt information in the media resource, and the execution duration of the target prompt information.

[0135] In the above embodiments, by setting execution time information including at least one of the following: the start playback time of the target voice command in the media resource, the end playback time of the target voice command in the media resource, the start execution time of the target prompt information in the media resource, and the execution duration of the target prompt information, the display time of the target prompt information corresponds to the playback time of the target voice command. That is, the target prompt information is displayed when the target voice command is played, thereby enabling the playback content of the media resource to correspond with the target prompt information and improving the prompting effect of the target prompt information.

[0136] In one implementation, after recognizing a target voice command in the media resource, the server defines and stores the execution time information corresponding to the target voice command. For example, the execution time information is represented by code 2 as shown below:

[0137] S703: Sends the execution time information corresponding to the target voice command so that the client can display the target prompt information based on the time indicated by the execution time information.

[0138] In one implementation, when the client starts, the server actively sends the execution time information corresponding to the target voice command.

[0139] In another implementation, the client sends a second request to the server to request the execution time information corresponding to the target voice command. Based on the client's request, the server returns the execution time information corresponding to the target voice command to the client.

[0140] In the above embodiments, by identifying the target voice command in the media resource, the execution time information corresponding to the target voice command is determined, and the execution time information corresponding to the target voice command is sent to the client. The client then displays the target prompt information based on the time indicated by the execution time information, thereby prompting the target account to operate the target interactive element indicated by the target voice command, and thus promoting the interactive operation behavior of the target account. Compared with the solutions in related technologies, this application determines the time to display the target prompt information by identifying the voice content of the media resource, eliminating the need to comprehensively consider all the operation behaviors of the target account, greatly reducing the complexity of setting the timing of displaying interactive prompts, and solving the problem of the extremely complicated setting of interactive prompt timing in related technologies.

[0141] Furthermore, compared to existing technologies that determine whether to provide interactive prompts (i.e., display target prompt information) based on the user account's operational behavior, this application determines whether to provide interactive prompts based on the content of the media resource. It links the timing of the interactive prompt display to the content of the media resource, thereby achieving the highest engagement between the media resource content and the user account. For example, if the author account adds a target voice command when the media resource content is at its most engaging, the interactive prompt will be displayed at that moment, maximizing the user account's willingness to interact. Moreover, determining the timing of the interactive prompt display based on the playback timing of the target voice command indicating the interactive element in the media resource allows for a more accurate identification of the time point of highest engagement, further increasing the likelihood that the interactive prompt will encourage the user account to interact.

[0142] Optionally, S703 includes:

[0143] Step 1: Store the execution time information corresponding to the target voice command into the data stream of the media resource.

[0144] In one implementation, such as Figure 8 As shown, the author account uploads media resources to the data server via client A. Upon receiving the media resources, the server performs speech recognition processing using the MMU (Memory Management Unit). Once a target speech command is recognized, its execution time is determined. Subsequently, the execution time corresponding to the target speech command is stored in the data stream of the media resource.

[0145] Step 2: Send the data stream of the media resources, which includes execution time information.

[0146] In one implementation, after the client starts, the server actively sends a media resource data stream to the client so that the client can play the media resource based on the acquired media resource data stream.

[0147] In another implementation, after the server receives the first request sent by the client, it returns the media resource data stream to the client so that the client can play the media resource based on the obtained media resource data stream.

[0148] In the above embodiments, by storing the execution time information corresponding to the target voice command in the data stream of the media resource, the execution time information corresponding to the target voice command in the media resource can be sent to the client along with the data stream of the media resource when the server sends the data stream of the media resource to the client. This way, the client does not need to obtain the information from the server when it recognizes the target voice command, thereby improving the execution efficiency and the accuracy of the correspondence between the target voice command and the execution time information.

[0149] Optionally, the interaction methods also include:

[0150] Step 1: Determine the correspondence between voice commands and prompts.

[0151] In one implementation, after the correspondence is determined manually, it is input into the server, thereby enabling the server to determine the correspondence between voice commands and prompt information.

[0152] In another implementation, the server receives multiple voice commands and multiple prompts, and then randomly determines the correspondence between the voice commands and the prompts.

[0153] Furthermore, the server stores the correspondence between voice commands and prompts, for example, it can store them in a database.

[0154] It should be noted that when prompts are represented by dynamic effects of interactive elements, different voice commands can correspond to the same dynamic effect. For example, the "like" command corresponds to a zoom effect, and the "share" command also corresponds to a zoom effect. Of course, different voice commands can also correspond to different dynamic effects; for example, the "like" command corresponds to a zoom effect, and the "share" command corresponds to a rotation effect. This disclosure does not impose any limitations on this.

[0155] Step 2: Establish the correspondence between voice commands and prompts.

[0156] In one implementation, after the client starts, the server proactively sends the correspondence between voice commands and interactive prompts in the media resources to the client, so that the client can display the target prompts corresponding to the target voice command based on the obtained correspondence.

[0157] In another implementation, after the server receives the first request sent by the client, the first request is used to request the acquisition of media resources. When the server returns the data stream of the media resources to the client, it also sends the client the correspondence between the voice commands and prompt information in the media resources, so that the client can display the target prompt information corresponding to the target voice command based on the acquired correspondence.

[0158] In the above embodiments, by pre-determining the correspondence between voice commands and prompt information and sending it to the client, the client can display the target prompt information corresponding to the target voice command based on the correspondence, thereby achieving accurate display of the target prompt information corresponding to the preset target voice command.

[0159] Optionally, sending the correspondence between voice commands and prompts includes: storing the correspondence between voice commands and prompts in the data stream of the media resource; and sending the data stream of the media resource, wherein the data stream of the media resource includes the correspondence.

[0160] In one implementation, after the client starts up, the server actively sends the media resource data stream to the client.

[0161] In another implementation, after the server receives the first request sent by the client, it returns the data stream of the media resource to the client segment.

[0162] In the above embodiments, by storing the correspondence between voice commands and prompt information in the data stream of media resources, the correspondence between voice commands and prompt information can be sent to the client along with the data stream of media resources sent by the server. This eliminates the need for the client to retrieve the correspondence from the server when it recognizes the target voice command, thereby improving execution efficiency.

[0163] Figure 9 This is a flowchart illustrating an interaction method according to an exemplary embodiment, used for a server and a client. Figure 9 As shown, the interaction method includes the following steps:

[0164] S901: The server identifies the target voice commands in the media resources.

[0165] Among them, the target voice command is used to instruct the target interactive element.

[0166] In one implementation, after the server obtains the media resources, it identifies whether the media resources include the target voice commands in the protocol enumeration.

[0167] S902: The server determines the execution time information corresponding to the target voice command based on the playback time information of the target voice command in the media resource.

[0168] Among them, the execution time information is used to indicate the time when the target prompt information corresponding to the target voice command is displayed, and the target prompt information is used to prompt the target account to operate the target interactive element.

[0169] In one implementation, after the server identifies the target voice command in the media resource, it defines the execution time information corresponding to the target voice command.

[0170] S903: The server stores the execution time information corresponding to the target voice command into the data stream of the media resource.

[0171] In one implementation, the server stores the execution time information corresponding to the target voice command in the data stream of the media resource, so that when sending the data stream of the media resource to the client, the execution time information corresponding to the target voice command can be sent to the client.

[0172] S904: The server sends a data stream of media resources.

[0173] The data stream of media resources includes execution time information.

[0174] In one implementation, the server sends a data stream of media resources to the client so that the client can play the media resources based on the acquired data stream.

[0175] S905: The client obtains media resources and displays the playback interface, which is used to play the media resources.

[0176] The media resources include target voice commands used to instruct target interactive elements.

[0177] In one implementation, the client obtains the media resources by receiving the data stream of the media resources sent by the server.

[0178] S906: When the client detects the playback of the target voice command, it obtains the execution time information corresponding to the target voice command.

[0179] In one implementation, when the client detects a target voice command to play, it obtains the execution time information corresponding to the target voice command from the media resources previously received from the server.

[0180] S907: The client displays the target prompt information corresponding to the target voice command based on the execution time information.

[0181] In one implementation, the client displays target prompt information corresponding to the target voice command based on the time indicated by the execution time information.

[0182] In the above embodiments, by identifying the target voice command in the media resource, the execution time information corresponding to the target voice command is determined, and the execution time information corresponding to the target voice command is sent to the client. The client then displays the target prompt information based on the time indicated by the execution time information, thereby prompting the target account to operate the target interactive element indicated by the target voice command, and thus promoting the interactive operation behavior of the target account. Compared with the solutions in related technologies, this application determines the time to display the target prompt information by identifying the voice content of the media resource, eliminating the need to comprehensively consider all the operation behaviors of the target account, greatly reducing the complexity of setting the timing of displaying interactive prompts, and solving the problem of the extremely complicated setting of interactive prompt timing in related technologies.

[0183] Furthermore, compared to existing technologies that determine whether to provide interactive prompts (i.e., display target prompt information) based on the user account's operational behavior, this application determines whether to provide interactive prompts based on the content of the media resource. It links the timing of the interactive prompt display to the content of the media resource, thereby achieving the highest engagement between the media resource content and the user account. For example, if the author account adds a target voice command when the media resource content is at its most engaging, the interactive prompt will be displayed at that moment, maximizing the user account's willingness to interact. Moreover, determining the timing of the interactive prompt display based on the playback timing of the target voice command indicating the interactive element in the media resource allows for a more accurate identification of the time point of highest engagement, further increasing the likelihood that the interactive prompt will encourage the user account to interact.

[0184] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0185] This disclosure also provides an interactive device.

[0186] Figure 10 This is a block diagram illustrating an interactive device according to an exemplary embodiment. (Refer to...) Figure 10 The interactive device 1000 includes an acquisition module 1001 and a display module 1002.

[0187] The acquisition module 1001 is configured to acquire media resources and display a playback interface, which is used to play the media resources; the media resources include target voice commands for indicating target interactive elements. For example, combined with... Figure 2 The acquisition module 1001 can be used to execute S201.

[0188] Display module 1002 is configured to display target prompt information corresponding to the target voice command when a target voice command is detected. The target prompt information is used to guide the user to interact with target interactive elements on the playback interface. For example, in conjunction with... Figure 2 The display module 1002 can be used to execute S102.

[0189] In one possible implementation, the display module 1002 is specifically configured to perform: displaying dynamic effects of the target interactive element, the dynamic effects being used to indicate target prompt information.

[0190] In one possible implementation, the display module 1002 is specifically configured to perform: acquiring execution time information corresponding to the target voice command, the execution time information being used to indicate the time for displaying the target prompt information; and displaying the target prompt information based on the time indicated by the execution time information.

[0191] In one possible implementation, the display module 1002 is specifically configured to perform: obtaining a pre-set correspondence between voice commands and prompt information, and determining the target prompt information corresponding to the target voice command based on the correspondence; and displaying the target prompt information corresponding to the target voice command.

[0192] In one possible implementation, the display module 1002 is specifically configured to perform the following: if the number of times the client displays the target prompt information is less than or equal to a first preset number within a recent preset time period, the target prompt information corresponding to the target voice command is displayed.

[0193] In one possible implementation, the display module 1002 is specifically configured to perform the following: during the playback of media resources, if the number of times the target prompt information is displayed is less than or equal to a second preset number, display the target prompt information corresponding to the target voice command.

[0194] Figure 11 This is a block diagram illustrating an interactive device according to an exemplary embodiment. (Refer to...) Figure 11 The interactive device 1100 includes an identification module 1101, a determination module 1102, and a sending module 1103.

[0195] The recognition module 1101 is configured to execute the recognition of target speech commands in media resources, which are used to instruct target interactive elements. For example, in combination with Figure 7The identification module 1101 can be used to execute S701.

[0196] The determination module 1102 is configured to execute the playback time information of the target voice command in the media resource, determine the execution time information corresponding to the target voice command, and use the execution time information to indicate the time information for displaying the target prompt information corresponding to the target voice command. The target prompt information is used to prompt the target account to operate the target interactive element. For example, combined with Figure 7 The module 1102 is determined to be able to execute S702.

[0197] The sending module 1103 is configured to execute the execution information corresponding to the target voice command, so that the client can display the target prompt information based on the time indicated by the execution information. For example, combined with Figure 7 The sending module 1103 can be used to execute S703.

[0198] In one possible implementation, the sending module is specifically configured to: store the execution time information corresponding to the target voice instruction into the data stream of the media resource; and send the data stream of the media resource, which includes the execution time information.

[0199] In one possible implementation, the determining module is further configured to perform: determining the correspondence between voice commands and prompts; and sending the correspondence between voice commands and prompts.

[0200] In one possible implementation, the determining module is specifically configured to perform: storing the correspondence between voice commands and interactive prompts in the data stream of the media resource; and sending the data stream of the media resource, which includes the correspondence.

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

[0202] Figure 12 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Figure 12 As shown, the electronic device 1200 includes, but is not limited to, a processor 1201 and a memory 1202.

[0203] The memory 1202 described above is used to store the executable instructions of the processor 1201. It is understood that the processor 1201 is configured to execute instructions to implement the interaction method shown in the above embodiments.

[0204] It should be noted that those skilled in the art will understand that Figure 12The electronic device structure shown does not constitute a limitation on the electronic device; the electronic device may include, but is not limited to, other electronic devices. Figure 12 This may indicate more or fewer components, or combinations of certain components, or different component arrangements.

[0205] Processor 1201 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in memory 1202, and by calling data stored in memory 1202, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Processor 1201 may include one or more processing units; optionally, processor 1201 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into processor 1201.

[0206] The memory 1202 can be used to store software programs and various data. The memory 1202 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, application programs required by at least one functional module (such as an acquisition module and a display module), etc. Furthermore, the memory 1202 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0207] In actual implementation, the processing functions of the acquisition module 1001 and the display module 1002 can be handled by... Figure 11 The processor 1201 shown calls the program code in the memory 1202 to implement this. The specific execution process can be found in the description of the interaction method section shown in the above embodiments, and will not be repeated here.

[0208] Figure 13 This is a structural block diagram of a server 1300 according to an exemplary embodiment. The server 1300 can vary significantly due to different configurations or performance, and may include one or more processors 1301 and one or more memories 1302. The memory 1302 stores at least one instruction, which is loaded and executed by the processor 1301 to implement the interactive methods provided in the various method embodiments described above, such as steps 701-703. Of course, the server 1300 may also include other components for implementing device functions, which will not be elaborated here.

[0209] In actual implementation, the processing functions of the identification module 1101, the determination module 1102, and the sending module 1103 can be handled by... Figure 12The processor 1301 shown calls the program code in the memory 1302 to implement this. The specific execution process can be found in the description of the interaction method section shown in the above embodiments, and will not be repeated here.

[0210] In an exemplary embodiment, this disclosure also provides an interactive system, including an electronic device and a server, wherein the electronic device and the server are communicatively connected. The electronic device is used to execute the interactive methods in steps 201-202 described above. The server is used to execute the interactive methods in steps 701-703 described above.

[0211] In an exemplary embodiment, this disclosure also provides a computer-readable storage medium including instructions, such as a memory 1202 including instructions, which can be executed by a processor 1201 of an electronic device 1200 to complete the interaction method in steps 201-202. Alternatively, a memory 1302 including instructions, which can be executed by a processor 1301 of a server 1300 to complete the interaction method in steps 701-703.

[0212] Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium, such as a read-only memory (ROM), random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device.

[0213] In an exemplary embodiment, this disclosure also provides a computer program product including one or more instructions, which can be executed by the processor 1201 of the electronic device 1200 to complete the interaction method in steps 201-202 above, or the one or more instructions can be executed by the processor 1301 of the server 1300 to complete the interaction method in steps 701-703 above.

[0214] It should be noted that when one or more instructions in the computer-readable storage medium or computer program product are executed by the processor 1201 of the electronic device 1200, they implement the various processes of the above-described interaction method embodiments and achieve the same technical effects as steps 201-202 of the above-described task processing method. To avoid repetition, these will not be described again here. Similarly, when one or more instructions in the computer-readable storage medium or computer program product are executed by the processor 1301 of the server 1300, they implement the various processes of the above-described task processing method embodiments and achieve the same technical effects as steps 701-703 of the above-described task processing method. To avoid repetition, these will not be described again here.

[0215] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

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

Claims

1. An interaction method, characterized in that, For use on a client, the method includes: Acquire media resources and display a playback interface, the playback interface being used to play the media resources; the media resources include target voice commands for indicating target interactive elements; acquire a voice command set from a server, the voice command set including at least one voice command, each voice command in the voice command set being used to indicate an interactive element on the playback interface; Upon detecting the playback of the target voice instruction, the execution time information corresponding to the target voice instruction is obtained. The execution time information includes at least one of the following: the start playback time of the target voice instruction in the media resource, the end playback time of the target voice instruction in the media resource, the start execution time of the target prompt information in the media resource, and the execution duration of the target prompt information; wherein, the execution time information is obtained from the data stream of the media resource. The target prompt information is displayed starting from the start execution time and stops displaying after the execution duration is displayed; the target prompt information is used to prompt the target account to operate the target interactive element on the playback interface.

2. The method according to claim 1, characterized in that, Displaying the target prompt information corresponding to the target voice command, including: Display the dynamic effects of the target interactive element, which are used to indicate the target prompt information.

3. The method according to claim 1 or 2, characterized in that, The display of the target prompt information corresponding to the target voice command includes: Obtain the pre-set correspondence between voice commands and prompt information, and determine the target prompt information corresponding to the target voice command based on the correspondence; Display the target prompt information corresponding to the target voice command.

4. The method according to claim 1 or 2, characterized in that, The display of the target prompt information corresponding to the target voice command includes: If, within a recent preset time period, the number of times the client displays the target prompt information is less than or equal to a first preset number, then the target prompt information corresponding to the target voice command is displayed.

5. The method according to claim 1 or 2, characterized in that, The display of the target prompt information corresponding to the target voice command includes: If, during the playback of the media resource, the number of times the target prompt information is displayed is less than or equal to a second preset number, the target prompt information corresponding to the target voice command is displayed.

6. An interaction method, characterized in that, For use with a server, the method includes: Identify target voice commands in media resources, the target voice commands being used to instruct target interactive elements; Based on the playback time information of the target voice command in the media resource, the execution time information corresponding to the target voice command is determined. The execution time information is used to indicate the time when the target prompt information corresponding to the target voice command is displayed. The prompt information is used to prompt the target account to operate the target interactive element. Send a set of voice commands and the execution time information. The set of voice commands includes at least one voice command, and each voice command in the set is used to instruct an interactive element on the playback interface. The execution time information is used to indicate the time for displaying the target prompt information corresponding to the target voice command, so that the client can display the target prompt information based on the time indicated by the execution time information.

7. The method according to claim 6, characterized in that, The execution information corresponding to sending the target voice command includes: The execution time information corresponding to the target voice command is stored in the data stream of the media resource; Send the data stream of the media resource, the data stream of the media resource including the execution time information.

8. The method according to claim 6 or 7, characterized in that, The method further includes: Determine the correspondence between voice commands and prompts; The correspondence between the voice command and the prompt information is sent.

9. The method according to claim 8, characterized in that, The correspondence between sending the voice command and the prompt information includes: The correspondence between the voice commands and the interactive prompts is stored in the data stream of the media resource; Send the data stream of the media resource, the data stream of the media resource including the correspondence.

10. An interactive device, characterized in that, include: The acquisition module is configured to acquire media resources and display a playback interface for playing the media resources; the media resources include target voice instructions for indicating target interactive elements; and acquire a voice instruction set from the server, the voice instruction set including at least one voice instruction, each voice instruction in the voice instruction set being used to indicate an interactive element on the playback interface. The display module is configured to, upon detecting the playback of the target voice instruction, acquire execution time information corresponding to the target voice instruction. The execution time information includes at least one of the following: the start playback time of the target voice instruction in the media resource, the end playback time of the target voice instruction in the media resource, the start execution time of the target prompt information in the media resource, and the execution duration of the target prompt information; wherein the execution time information is acquired from the data stream of the media resource. The target prompt information is displayed starting from the start execution time and stops displaying after the execution duration is displayed; the target prompt information is used to prompt the target account to operate the target interactive element on the playback interface.

11. The apparatus according to claim 10, characterized in that, The display module is specifically configured to perform: Display the dynamic effects of the target interactive element, which are used to indicate the target prompt information.

12. The apparatus according to claim 10 or 11, characterized in that, The display module is specifically configured to perform: Obtain the pre-set correspondence between voice commands and prompt information, and determine the target prompt information corresponding to the target voice command based on the correspondence; Display the target prompt information corresponding to the target voice command.

13. The apparatus according to claim 10 or 11, characterized in that, The display module is specifically configured to perform: If, within a recent preset time period, the number of times the client displays the target prompt information is less than or equal to a first preset number, then the target prompt information corresponding to the target voice command is displayed.

14. The apparatus according to claim 10 or 11, characterized in that, The display module is specifically configured to perform: If, during the playback of the media resource, the number of times the target prompt information is displayed is less than or equal to a second preset number, the target prompt information corresponding to the target voice command is displayed.

15. An interactive device, characterized in that, include: The recognition module is configured to execute the recognition of target voice commands in media resources, the target voice commands being used to instruct target interactive elements; The determination module is configured to determine the execution time information corresponding to the target voice instruction based on the playback time information of the target voice instruction in the media resource. The execution time information is used to indicate the time for displaying the target prompt information corresponding to the target voice instruction. The prompt information is used to prompt the target account to operate the target interactive element. The sending module is configured to execute the sending of a voice command set and the execution time information. The voice command set includes at least one voice command, and each voice command in the voice command set is used to instruct an interactive element on the playback interface. The execution time information is used to indicate the time for displaying the target prompt information corresponding to the target voice command, so that the client can display the target prompt information based on the time indicated by the execution time information.

16. The apparatus according to claim 15, characterized in that, The sending module is specifically configured to execute: The execution time information corresponding to the target voice command is stored in the data stream of the media resource; Send the data stream of the media resource, the data stream of the media resource including the execution time information.

17. The apparatus according to claim 15 or 16, characterized in that, The determining module is also configured to perform: Determine the correspondence between voice commands and prompts; The correspondence between the voice command and the prompt information is sent.

18. The apparatus according to claim 17, characterized in that, The determination module is specifically configured to execute: The correspondence between the voice commands and the interactive prompts is stored in the data stream of the media resource; Send the data stream of the media resource, the data stream of the media resource including the correspondence.

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

20. A server, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the method as described in any one of claims 6 to 9.

21. An interactive system, characterized in that, include: An electronic device for performing the method as described in any one of claims 1 to 5; A server for performing the method as described in any one of claims 6 to 9.

22. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is able to perform the method as described in any one of claims 1 to 5, or when executed by a processor of a server, the server is able to perform the method as described in any one of claims 6 to 9.

23. A computer program product, characterized in that, The computer program product includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1 to 5, or when executed on a server, cause the server to perform the method as described in any one of claims 6 to 9.

Citation Information

Patent Citations

  • Ambient Audio History and Personalization

    US20190311714A1

  • Display control method and apparatus for advertisement

    WO2015010333A1