User interaction method, device, storage medium and electronic device
By combining user behavior and sound information to simulate the work results of blowing tools and tools in the real world, the problem of single interaction mode in the existing technology is solved, the user experience and fun are improved, and the authenticity of blowing scenes is enhanced.
Patent Information
- Application Number
- CN202111165611.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2041-09-30
AI Technical Summary
The existing human-computer interaction technology has a single interaction method in entertainment scenes, resulting in poor user experience, and the animation effects are not realistic enough, which cannot fully reflect the fun and diversity of the blowing scene.
By combining the user's preset behavior information and sound information, the corresponding animation elements are displayed, and the results of blowing tools and tools in the real world are simulated to enhance the diversity and authenticity of the interaction.
It improves the user experience, increases the fun and authenticity of the interaction, making the simulation effect of the blowing scene more vivid, and users can feel the blowing process more realistically.
Smart Images

Figure CN113920226B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of human-computer interaction technology, and in particular, to a user interaction method, device, storage medium and electronic device. Background Art
[0002] With the development of science and technology, the technology of human-computer interaction has become more and more mature. More and more applications on mobile terminals involve human-computer interaction, and human-computer interaction in entertainment scenes can bring more joy to users.
[0003] However, the human-computer interaction mode in entertainment scenes is single, usually simply obtaining user operations and responding to human-computer interactions based on user operations. Therefore, the special effects that can be displayed in the video recorded according to the interaction process are relatively single and not realistic enough, which makes the user feel uninteresting during the interaction, resulting in a poor user experience. Summary of the invention
[0004] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0005] In a first aspect, the present disclosure provides a user interaction method, comprising: in response to obtaining preset behavior information of a user, displaying a first animation element corresponding to the preset behavior information, wherein the first animation element is a tool in the simulated real world that works by blowing; obtaining voice information of the user; and when the voice information meets a preset blowing judgment condition, displaying a second animation element for simulating the working result of the tool.
[0006] In a second aspect, the present disclosure provides a user interaction device, which includes: a first animation element display module, a sound information acquisition module, and a second animation element display module.
[0007] A first animation element display module, configured to display a first animation element corresponding to the preset behavior information in response to obtaining the preset behavior information of the user, wherein the first animation element is a tool that works in a blowing manner in the simulated real world;
[0008] A sound information acquisition module is used to acquire the user's sound information;
[0009] The second animation element display module is used to display a second animation element for simulating the working result of the tool when the sound information meets a preset blowing judgment condition.
[0010] In a third aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, characterized in that when the program is executed by a processing device, the steps of the method of the first aspect are implemented.
[0011] In a fourth aspect, the present disclosure provides an electronic device, including:
[0012] a storage device having a computer program stored thereon;
[0013] A processing device is used to execute the computer program in the storage device to implement the steps of the method of the first aspect.
[0014] Through the above technical solution, when a user interacts with an electronic device, such as during video recording, the electronic device can display a first animation element corresponding to the preset behavior information in response to obtaining the preset behavior information of the user, wherein the first animation element is a tool that simulates the real world and works by blowing; and then obtain the user's voice information, and display a second animation element for simulating the working result of the tool when the voice information meets the preset blowing judgment condition. Thus, the preset behavior information and voice information of the user can be combined for interaction, and different animation elements can be displayed according to different information, so as to vividly simulate the effect produced when the user blows on the above tool on the electronic device, making the interaction method more diversified, increasing the fun of the interaction, and making the simulation effect of the blowing scene more realistic, which can effectively improve the user experience.
[0015] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale. In the drawings:
[0017] Figure 1 It is a schematic diagram of an application environment of a user interaction method provided by an embodiment of the present disclosure.
[0018] Figure 2 It is a flowchart of a user interaction method provided by an embodiment of the present disclosure.
[0019] Figure 3 It is a schematic diagram of a video recording interface provided by an embodiment of the present disclosure.
[0020] Figure 4 It is a schematic diagram of a video recording interface provided by another embodiment of the present disclosure.
[0021] Figure 5 It is a flowchart of a user interaction method provided by another embodiment of the present disclosure.
[0022] Figure 6 This is a schematic diagram of a video recording interface provided by yet another embodiment of the present disclosure.
[0023] Figure 7 This is a schematic diagram of a video recording interface provided by yet another embodiment of the present disclosure.
[0024] Figure 8 This is a schematic diagram of a video recording interface provided by yet another embodiment of the present disclosure.
[0025] Fig. 9 This is a schematic diagram of a video recording interface provided by yet another embodiment of the present disclosure.
[0026] Fig.10 It is a flowchart of a user interaction method provided by yet another embodiment of the present disclosure.
[0027] Fig.11 It is a structural diagram of a user interaction device provided by an embodiment of the present disclosure.
[0028] Fig.12 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0030] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0031] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0032] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0033] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0034] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0035] With the continuous development of human-computer interaction technology, more and more interactive scenarios are being developed to increase the fun of users using electronic devices. Especially after the rise of short videos, users can interact with electronic devices during video recording, generate interesting animation effects in the user interaction interface, such as the video recording interface, and then obtain short videos with rich special effects.
[0036] In the related art, when a user interacts with an electronic device, the electronic device usually collects the user's image information and generates corresponding animation effects of the scene to be simulated based on the user's image information.
[0037] For example, the scene to be simulated is a game scene in which a user blows bubbles. In this scene, the user can make a bubble-blowing action on the electronic device, and the electronic device collects the user's facial image and triggers the generation of bubble animation effects based on the user's mouth movement features in the facial image.
[0038] However, simulating the bubble blowing scene only through lip movements will cause the animation effects to remain on the surface of the action, resulting in the user being unable to truly experience the feeling of blowing bubbles. This is because in the real world, when blowing bubbles, the user will blow an airflow towards the bubble blower, and bubbles are generated along with the airflow, and the generation of bubbles is related to the size of the airflow. These processes cannot be reflected in the above-mentioned interaction method, resulting in a poor user experience.
[0039] In addition, there is also the problem of inaccurate triggering of bubble-generating animation effects triggered only by lip movements. For example, when a user makes an action similar to blowing bubbles (such as pouting), the electronic device may mistakenly trigger the display of the bubble-blowing animation effects.
[0040] It can be seen that the interaction method in the relevant technology is too simple, resulting in the inability to realistically and effectively restore the simulated scene in the electronic device.
[0041] In response to the above problems, the present disclosure provides a user interaction method, device, storage medium and electronic device, which can interact in combination with the user's preset behavior information and sound information, increase the diversity of interaction methods, and display different animation elements according to different information, so as to vividly simulate the effect produced when the user blows on the above-mentioned tool on the electronic device, making the interaction method more diversified, increasing the fun of the interaction, and making the simulation effect of the blowing scene more realistic, which can effectively improve the user experience.
[0042] The following is an explanation of the application environment involved in a user interaction method provided by the present disclosure. Please refer to Figure 1 The user interaction method provided by the present disclosure can be applied to Figure 1 The electronic device 100 may include an image acquisition module 110 , a data processing module (not shown in the figure), an image display module 120 , and an audio acquisition module 130 .
[0043] Among them, the image acquisition module 110 can be used to collect images of the user facing the electronic device 100 (hereinafter referred to as user images), and the user images may include facial images, action images, etc. Optionally, the image acquisition module 110 can be a high-definition camera.
[0044] The image display module 120 can be used to display the image captured by the image acquisition module 110, or to display the image or animation elements pre-stored in the electronic device 100. Optionally, the image display module 120 includes but is not limited to: a liquid crystal display, a projection module, a touch screen, etc.
[0045] The audio collection module 130 may collect voice information of the user. Optionally, the audio collection module 130 may be a microphone array disposed on the electronic device 100 .
[0046] The data processing module may process the image information collected by the image collection module 110 and the sound information collected by the audio collection module 130 .
[0047] Optionally, the electronic device 100 may include but is not limited to: a smart phone, a personal computer, a tablet computer, a smart TV, a smart wearable device, a smart projection device, etc.
[0048] Please refer to Figure 2 , which shows a user interaction method provided by an embodiment of the present disclosure, and the user interaction method can be applied to Figure 1 The electronic device shown, the user interaction method may include the following steps:
[0049] 101. In response to obtaining preset behavior information of the user, display a first animation element corresponding to the preset behavior information, where the first animation element is a tool that simulates the real world and works in a blowing manner.
[0050] The preset behavior information may represent the user performing the preset behavior.
[0051] In some embodiments, the preset behavior may be the behavior of a user using a tool in the real world that works by blowing air (hereinafter referred to as the tool). For example, when the tool is a bubble blower in the real world, the preset behavior may be the behavior of the user holding the bubble blower, and the preset behavior information of the user may be image information of the user simulating holding the bubble blower (such as making a fist), and the image information may be acquired by the image acquisition module.
[0052] Following the above example, when the electronic device collects image information of the user simulating holding the bubble blower through the image acquisition module, the first animation element can be displayed on the video recording interface in response to the image information. The video recording interface is the interface where the electronic device displays the recorded image when the user is recording a video, and the user image collected by the image acquisition module can be displayed in the video recording interface. Figure 3 As shown, when the target tool is a bubble blower, the first animation element is the animation element corresponding to the bubble blower, such as the image of the virtual bubble blower 21. At this time, the video recording interface displays a picture of the user holding the virtual bubble blower 21.
[0053] 102. Obtain the user's voice information.
[0054] In some implementations, when the first animation element corresponding to the preset behavior information is displayed on the electronic device, the electronic device may collect the user's voice information through the audio collection module, thereby obtaining the user's voice information.
[0055] Optionally, when the first animation element corresponding to the preset behavior information is not displayed on the electronic device, the electronic device may turn off the audio collection module to stop collecting the user's voice information.
[0056] 103. When the sound information meets a preset blowing determination condition, display a second animation element for simulating a working result of the tool.
[0057] The blowing determination condition is used to determine whether the sound information emitted by the user is the sound of blowing.
[0058] In some embodiments, the electronic device may match the currently obtained sound information with the standard blowing sound information. If the currently obtained sound information successfully matches the standard blowing sound information, it may be determined that the sound information meets the preset blowing determination condition. Optionally, the standard blowing sound information may be pre-stored in a local database of the electronic device, or may be stored in a server that establishes a communication link with the electronic device, and may be called from the server by the electronic device.
[0059] In other embodiments, the electronic device may be configured with a pre-trained sound recognition model, which may be trained based on a sound information sample emitted by a user when blowing. After obtaining the sound information, the electronic device may input the sound information into the sound recognition model. If the sound recognition model outputs a label that the sound information is a sound of blowing, it may be determined that the sound information meets the preset blowing judgment condition. Optionally, the sound recognition model may be a machine learning model, and each time the user inputs sound information when using the model, the result output by the model may be made more accurate.
[0060] When the sound information meets the preset blowing judgment condition, the electronic device can display a second animation element for simulating the working result of the tool. Continuing with the above example, when the tool is a bubble blower, the second animation element is an animation element corresponding to the bubbles generated when the bubble blower is working, such as an image of a virtual bubble 22. For example, Figure 4 As shown, at this time, the video recording interface of the electronic device displays a picture in which the user blows air to the image of the virtual bubble blower 21 , and the bubble blowing port of the virtual bubble blower 21 generates virtual bubbles 22 .
[0061] It can be seen that in this embodiment, in response to obtaining the preset behavior information of the user, the first animation element corresponding to the preset behavior information is displayed, wherein the first animation element is a tool that simulates the real world and works by blowing; then the user's voice information is obtained, and when the voice information meets the preset blowing judgment condition, the second animation element for simulating the working result of the tool is displayed. Thus, it is possible to interact with the preset behavior information and voice information of the user, and display different animation elements according to different information, so as to vividly simulate the effect produced when the user blows on the above tool on the electronic device, making the interaction method more diversified, increasing the fun of the interaction, and making the simulation effect of the blowing scene more realistic, which can effectively improve the user experience.
[0062] Please refer to Figure 5 , which shows a user interaction method provided by an embodiment of the present disclosure, and the user interaction method can be applied to Figure 1 The electronic device shown, the user interaction method may include the following steps:
[0063] 201. In response to obtaining preset behavior information of a user, display a first animation element corresponding to the preset behavior information, where the first animation element is a tool that simulates a real-world tool that works in a blowing manner.
[0064] In some embodiments, the preset behavior information may also be information generated based on a selection operation performed by a user on the electronic device for the first animation element. For example, if a user clicks an icon corresponding to the first animation element on a video recording interface of the electronic device, the electronic device may display the first animation element at a preset position displayed on the video recording interface. Optionally, the selection operation may also include a voice operation, a gesture operation, etc.
[0065] 202. Obtain the user's voice information.
[0066] The specific implementation of step 202 may refer to step 102, so it will not be described here in detail.
[0067] 203. Extract attribute parameters of the sound information.
[0068] In some embodiments, a sound feature analysis module may be pre-configured in the electronic device, and the sound feature analysis module may analyze the sound information and extract the attribute parameters of the sound information. Optionally, the sound feature analysis module may perform time domain analysis on the sound information, such as analyzing the time domain parameters such as the periodicity, probability density, and probability distribution of the signal according to the time sequence of the sound information generation, as attribute parameters. Optionally, the sound feature analysis module may also perform amplitude domain analysis on the sound information, such as analyzing the amplitude domain parameters such as the mean, mean square value, and mean square error of the sound information in the amplitude domain as attribute parameters. Optionally, the sound feature analysis module may also perform frequency domain analysis on the sound information, such as decomposing the sound information into several single harmonic components through Fourier transform, obtaining the frequency structure of the signal and the frequency domain parameters such as the amplitude and phase information of each harmonic, as attribute parameters. Optionally, the sound feature analysis module may use at least one of the above three analysis methods to analyze the sound information to obtain attribute parameters.
[0069] Optionally, the attribute parameters may include voiceprint feature parameters. Specifically, the voiceprint feature parameters may include one or more combinations of fundamental frequency, resonance peak, instantaneous power spectrum, sound intensity, sound length, frequency cepstrum coefficients, frequency, and amplitude.
[0070] It can be understood that, in this embodiment, the sound information refers to a sound signal.
[0071] In some embodiments, before extracting the attribute parameters of the sound information, the sound information may be subjected to noise filtering, wherein the noise filtering may effectively filter out the environmental noise and speech noise in the sound information. For example, the electronic device may use speech recognition technology to identify noises such as environmental noise and speech noise, and filter the noise to retain only sounds with blowing characteristics.
[0072] Optionally, after the electronic device performs noise filtering on the sound information, it can also pre-process the sound information to further filter out the noise. Optionally, the pre-processing can include one of outlier elimination, zero mean transformation, arithmetic mean, median method, and weighted average.
[0073] 204. Determine, according to the attribute parameters, whether the sound information includes the sound information generated by the user blowing.
[0074] In some embodiments, the electronic device may compare the attribute parameter with a preset attribute parameter, wherein the preset attribute parameter is an attribute parameter corresponding to the blowing sound, and if the attribute parameter matches the preset attribute parameter, it is determined that the sound information includes the sound information generated by the user's blowing.
[0075] In one example, for example, the preset attribute parameter is a preset voiceprint feature parameter. If the attribute parameter includes a voiceprint feature parameter, and the voiceprint feature parameter is consistent with the preset voiceprint feature parameter, then it can be determined that the attribute parameter matches the preset attribute parameter. Optionally, in addition to comparing by voiceprint feature parameters, the time domain parameters, amplitude domain parameters, and frequency domain parameters in the attribute parameters can also be combined for comparison to improve the accuracy of the judgment.
[0076] In another example, if the similarity between the attribute parameter and the preset attribute parameter is greater than a similarity threshold, it can be determined that the attribute parameter and the preset attribute parameter match.
[0077] 205. When it is determined that the sound information includes a sound produced by the user's blowing, determine that the sound information satisfies a blowing determination condition.
[0078] Continuing with the above example, when the electronic device detects that the attribute parameter extracted from the sound information matches the preset attribute parameter, it can be determined that the sound information satisfies the blowing determination condition.
[0079] 206. When the sound information satisfies a preset blowing determination condition, determine display parameters of the second animation element according to the attribute parameters.
[0080] In some embodiments, the display parameter includes a display rate of the second animation element and / or a display quantity of the second animation element. The attribute parameter may include sound intensity and / or frequency. Optionally, sound intensity may be positively correlated with the display rate, sound intensity may also be positively correlated with the display quantity, frequency may be positively correlated with the display rate, and frequency may also be positively correlated with the display quantity.
[0081] It is understandable that the greater the display rate, the faster the movement speed and generation speed of the second animation element in the video recording interface of the electronic device. Sound intensity refers to the sound intensity.
[0082] Exemplarily, for example, the electronic device determines the first display parameter according to the first attribute parameter, and determines the second display parameter according to the second attribute parameter. If the frequency in the first attribute is greater than the frequency in the second attribute parameter, the first display parameter is greater than the second display parameter. If the sound intensity in the first attribute parameter is greater than the sound intensity in the second attribute parameter, the first display parameter is greater than the second display parameter.
[0083] 207. Display a second animation element for simulating the working result of the tool according to the display parameters.
[0084] Following the above example, taking the first animation element as a virtual bubble blower 21 and the second animation element as a virtual bubble 22 as an example, Figure 6 and Figure 7 As shown, Figure 6 is the screen displayed according to the first display parameter, Figure 7 is a picture displayed according to the second display parameter. It can be seen that when the first display parameter is greater than the second display parameter, for example, when the display quantity in the first display parameter is greater than the display quantity in the second display parameter, Figure 6 The number of virtual bubbles 22 displayed in Figure 7 The number of virtual bubbles 22 displayed is large.
[0085] For another example, when the duration in the first attribute parameter corresponding to the first display parameter is the same as the duration in the second attribute parameter corresponding to the second display parameter, and the display rate in the first display parameter is greater than the display rate in the second display parameter, Figure 6 The first distance between the bubble farthest from the virtual bubble blower 21 and the virtual bubble blower 21 is greater than Figure 7 The second distance between the bubble farthest from the virtual bubble blower 21 and the virtual bubble blower 21 is displayed in FIG. Thus, the scene of the user blowing bubbles can be more vividly simulated on the electronic device according to the intensity and frequency of the user's blowing sound, thereby improving the user's interactive experience in the bubble blowing scene.
[0086] Optionally, the display parameter may further include a display size, wherein the display size represents the size of the second animation element when the second animation element is displayed on the electronic device. Optionally, the display size may be positively correlated with the sound intensity in the attribute parameter, and the display size may also be negatively correlated with the frequency in the attribute parameter.
[0087] In this embodiment, the display size of the second animation element is adjusted according to the attribute parameter, wherein the display size may be positively correlated with the sound intensity in the attribute parameter and negatively correlated with the frequency in the attribute parameter. In the real world, the greater the sound intensity of blowing, the harder the user blows, and the larger the bubbles blown out; the greater the frequency of blowing, the shorter the blowing cycle, and the smaller the bubbles blown out. Therefore, through the above display method, the scene of the user blowing bubbles can be more realistically simulated on the electronic device.
[0088] In some implementations, the second animation element carries advertising information.
[0089] Optionally, the advertising information includes at least one of a brand logo, brand color, and brand name pre-configured by the advertiser.
[0090] For example, the second animation element is a virtual bubble 22, and the brand logo is "AXX". Figure 8 As shown, the virtual bubble 22 displayed in the video recording interface of the electronic device may be printed with the logo of "AXX". For another example, if the brand color is blue, the displayed virtual bubble 22 may be a blue virtual bubble 22.
[0091] In this embodiment, by making the second animation element carry advertising information, advertising promotion can be carried out while users are engaging in interesting interactions, making it easier for users to accept advertising information and improving the efficiency of advertising promotion.
[0092] In some implementations, the electronic device may further provide an advertisement configuration interface, and the advertiser may enter the advertisement configuration interface through a designated entrance, and configure the advertisement information to be displayed on the second animation element in the advertisement configuration interface.
[0093] In some implementations, during user interaction, such as during video recording, the total number of displayed second animation elements is displayed in real time.
[0094] For example, Fig. 9 As shown, in the video recording interface, the total number of virtual bubbles 22 generated from the virtual bubble blower 21 can be displayed in real time.
[0095] In some embodiments, the electronic device may not display the total number of second animation elements that have appeared during user interaction, for example, during video recording, but display the total number of second animation elements that appeared during the entire video recording process when the video recording ends.
[0096] Optionally, the second animation element may also include a virtual balloon, and correspondingly, the first animation element may also be a virtual balloon blowing device. Optionally, the second animation element may also be a virtual petal, and correspondingly, the first animation element may also be a virtual flower. Obviously, the first animation element and the second animation element may also be virtual objects of other forms, which are not limited here.
[0097] In this embodiment, by extracting the attribute parameters of the sound information, judging whether the sound information includes the sound information generated by the user's blowing according to the attribute parameters, and in the case where it is determined that the sound information includes the sound generated by the user's blowing, it is determined that the sound information meets the blowing judgment condition, so that it is possible to judge whether the sound information meets the blowing judgment condition according to one or more more specific attribute parameters in the sound information, thereby improving the judgment accuracy. In addition, by determining the display parameters of the second animation element according to the attribute parameters, and displaying the second animation element for simulating the working result of the tool according to the display parameters, the display effect of the second animation element can be changed according to the changes in the user's voice during the user interaction process, thereby improving the real-time nature of the interaction and making the user experience more realistic.
[0098] Please refer to Fig.10 , which shows a user interaction method provided by an embodiment of the present disclosure, and the user interaction method can be applied to Figure 1 The electronic device shown, the user interaction method may include the following steps:
[0099] 301. Obtain user behavior information.
[0100] In some embodiments, the user's behavior information may be feature information for reflecting the user's actions, postures, etc. For example, the behavior information may include skeleton key points, finger key points, hand contours, etc. Exemplarily, the electronic device may collect user images through an image acquisition module, and then recognize the user images through image recognition technology to obtain skeleton key points, finger key points, hand contours, etc.
[0101] 302. If it is determined according to the behavior information that the user makes a designated gesture, the behavior information is determined to be preset behavior information.
[0102] In some implementations, the behavior information includes finger key points, and a specific implementation of step 302 may include: if the finger key points match preset key points, determining that the user makes a specified gesture, and determining that the behavior information is preset behavior information.
[0103] The designated gesture may be a gesture of the user holding a tool corresponding to the first animation element. The preset key points may be key points recorded when the user makes the designated gesture.
[0104] For example, the electronic device may compare the finger key point with the preset key point, and if the finger key point is consistent with the preset key point, it can be determined that the user has made a specified gesture. Alternatively, if the similarity between the finger key point and the preset key point is greater than the preset similarity, it can be determined that the user has made a specified gesture.
[0105] The key points in the above embodiments may refer to coordinates corresponding to the key points.
[0106] In other embodiments, the electronic device can determine whether the user makes a specified gesture based on one or more combinations of information in the behavior information. For example, the behavior information includes finger key points, bone key points, and hand contours. The electronic device can match the finger key points in the behavior information with preset key points, match the bone key points with preset bone key points, and match the hand contour in the behavior information with the preset hand contour. If the matching results of the above three matching methods are all successful, it can be determined that the user makes a specified gesture to ensure the accuracy of recognition.
[0107] In some implementations, before step 303, the user interaction method may further include: displaying prompt information, wherein the prompt information is used to prompt the user to make a specified gesture.
[0108] For example, when the electronic device is simulating an interactive scene of blowing bubbles, the video recording interface of the electronic device may display the text "Please make a hand-held bubble blower motion". Optionally, the electronic device may also play a voice message "Please make a hand-held bubble blower motion".
[0109] Optionally, continuing with the above example, after the electronic device determines that the user makes a specified gesture, the electronic device can display a countdown for the start of the bubble blowing game on the video recording interface to remind the user to prepare to start the bubble blowing game.
[0110] Optionally, continuing with the above example, the bubble blowing game can set a game duration. If the bubble blowing game is about to end, if the electronic device detects that the time from the start time of the game to the current time is a preset time, the electronic device can display the time left until the end of the game.
[0111] In some embodiments, before step 303, the method further includes: displaying a video recording entrance in at least a partial area of the designated interface, switching from the designated interface to the video recording interface in response to an entry operation made by the user on the video recording entrance, and displaying the captured image of the user in the video recording interface.
[0112] Exemplarily, the designated interface may include, but is not limited to: the homepage interface of the video playback platform, the interface corresponding to a certain advertiser's homepage in the video playback platform, and the video playback interface. Taking the Douyin platform as an example, the video recording entrance may include: Douyin feed entrance, enterprise account entrance, challenge entrance, etc. Optionally, the entry operation may be a user clicking on the icon corresponding to the video recording entrance in the designated interface. For example, the user clicks on the "Challenge" icon corresponding to the challenge entrance in the designated interface, and the electronic device can respond to the user's entry operation on the video recording entrance, switch from the designated interface to the video recording interface, and display the captured image of the user in the video recording interface.
[0113] 303. In response to obtaining the preset behavior information of the user, display a first animation element corresponding to the preset behavior information, where the first animation element is a tool that simulates the real world and works in a blowing manner.
[0114] In some implementations, a specific implementation of step 301 may further include: displaying a first animation element at a position corresponding to the designated gesture in the video recording interface.
[0115] Exemplarily, since the video recording interface can display the user image, when the electronic device determines that the user makes a specified gesture, the position coordinates of the specified gesture in the user image of the video recording interface can be obtained, and the first animation element can be displayed at the position coordinates.
[0116] 304. Obtain the user's voice information.
[0117] 305. When the sound information meets a preset blowing determination condition, display a second animation element for simulating a working result of the tool.
[0118] 306. If a change in the user's behavior information is detected, and the changed behavior information is not the preset behavior information, or the user's voice information is not detected within a specified time period, a third animation element is displayed, and the third animation element is used to remind the user that the video recording is finished.
[0119] Continuing with the above example, for example, when the electronic device detects that the user's gesture is not a gesture of holding the virtual bubble blower 21, it indicates that the bubble blowing game is over, that is, the video recording is over, and a third animation element for reminding the user that the video recording is over can be displayed. For another example, if the electronic device does not detect the user's voice information within a specified time period, indicating that the user did not make a blowing action, a third animation element for reminding the user that the video recording is over can be displayed. Exemplarily, at the end of the video recording, the third animation element displayed by the electronic device may include a virtual blessing sticker, such as a virtual sticker with the words "Happychildren`s Day". Optionally, the third animation element can also be a dynamic picture, such as a dynamic picture of fireworks exploding.
[0120] In some embodiments, the user interaction method further includes:
[0121] After the video recording is completed, if a publishing operation made by the user is received, the recorded video is published in response to the publishing operation.
[0122] Exemplarily, at the end of video recording, the electronic device can display a publishing icon on the video recording interface indicating whether to publish the video. If the electronic device detects that the user clicks on the publishing icon on the electronic device, the recorded video can be published to the video playback platform in response to the publishing operation. Then obtain the user's voice information. When the voice information meets the preset blowing judgment condition, the second animation element used to simulate the working result of the tool is displayed. If the user's behavior information is detected to have changed, and the changed behavior information is not the preset behavior information, or the user's voice information is not detected within the specified time, the third animation element is displayed, and the third animation element is used to remind the user that the video recording is over. Thus, the human-computer interaction of the blowing scene can be combined with the user's action and sound. Specifically, the gesture is first recognized and then the props are generated, and then the specific gameplay is expressed through the props after the sound is recognized. There is a strong correlation between the two, which increases the authenticity of the user experience of the blowing scene. And when the user stops blowing or stops making the specified gesture, the game ends, which is closer to the scene of using the blowing props in the real world, further improving the authenticity of the user experience. In addition, by identifying the blowing sound to display the blowing animation special effects, the user's operating difficulty is reduced compared to identifying the user's mouth movement to display the blowing animation special effects.
[0123] In this embodiment, by acquiring the user's behavior information, if it is determined according to the behavior information that the user makes a designated gesture, the behavior information is determined to be preset behavior information. In response to acquiring the preset behavior information of the user, a first animation element corresponding to the preset behavior information is displayed, and the first animation element is a tool that simulates the real world and works by blowing air.
[0124] Please refer to Fig.11 , which shows a user interaction device provided by an embodiment of the present disclosure, the user interaction device 400 may include: a first animation element display module 410, a sound information acquisition module 420 and a second animation element display module 430. Among them:
[0125] The first animation element display module 410 is used to display a first animation element corresponding to the preset behavior information in response to obtaining the preset behavior information of the user, where the first animation element is a tool that works by blowing in the simulated real world.
[0126] The sound information acquisition module 420 is used to acquire the sound information of the user.
[0127] The second animation element display module 430 is used to display a second animation element for simulating the working result of the tool when the sound information meets the preset blowing judgment condition.
[0128] In some implementations, the user interaction device 400 further includes:
[0129] The attribute parameter extraction module is used to extract the attribute parameters of the sound information.
[0130] The recognition module is used to determine whether the sound information includes the sound information generated by the user's blowing according to the attribute parameters.
[0131] The determination module is used to determine that the sound information meets the blowing determination condition when it is determined that the sound information includes the sound generated by the user's blowing.
[0132] In some implementations, the second animation element display module 430 includes:
[0133] The display parameter determination submodule is used to determine the display parameters of the second animation element according to the attribute parameters.
[0134] The second animation element display submodule is used to display the second animation element for simulating the working result of the tool according to the display parameters.
[0135] In some implementations, the attribute parameter includes volume, and / or the frequency of the sound generated by the user's blowing in the sound information.
[0136] The display parameters include a display rate of the second animation element and / or a display quantity of the second animation element.
[0137] In some implementations, the user interaction device 400 further includes:
[0138] The behavior information acquisition module is used to obtain the user's behavior information.
[0139] The gesture judgment module is used to determine that the behavior information is preset behavior information if it is determined based on the behavior information that the user makes a specified gesture.
[0140] In some implementations, the behavior information includes finger key points, and the gesture judgment module is specifically used to: if the finger key points match the preset key points, determine that the user makes a specified gesture, and determine that the behavior information is preset behavior information.
[0141] In some implementations, the first animation element display module 410 is specifically configured to display the first animation element at a position corresponding to the designated gesture in the video recording interface.
[0142] In some implementations, the user interaction device 400 further includes:
[0143] The third animation element display module is used to display the third animation element if a change in the user's behavior information is detected and the changed behavior information is not the preset behavior information, or the user's voice information is not detected within a specified time period. The third animation element is used to remind the user that the video recording is finished.
[0144] In some implementations, the user interaction device 400 further includes:
[0145] The quantity display module is used to display the total quantity of the second animation elements that have been displayed in real time during the video recording process.
[0146] In some implementations, the user interaction device 400 further includes:
[0147] The prompt information display module is used to display prompt information, wherein the prompt information is used to prompt the user to make a specified gesture.
[0148] In some implementations, the user interaction device 400 includes:
[0149] The entry display module is used to display the video recording entry in at least a partial area of the specified interface.
[0150] The switching module is used to switch from the designated interface to the video recording interface in response to the user's entry operation on the video recording entrance, and display the captured image of the user in the video recording interface.
[0151] In some implementations, the user interaction device 400 further includes:
[0152] The publishing module is used to publish the recorded video in response to a publishing operation made by the user after the video recording is completed.
[0153] In some implementations, the second animation element carries advertising information.
[0154] In some implementations, the advertisement information includes at least one of a brand logo, a brand color, and a brand name preconfigured by the advertiser.
[0155] Reference below Fig.12 , which shows an electronic device (eg, Figure 1 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.12 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0156] like Fig.12 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0157] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0158] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0159] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0160] In some embodiments, the electronic device can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0161] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0162] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to obtaining the preset behavior information of the user, displays a first animation element corresponding to the preset behavior information, the first animation element is a tool that simulates the real world and works by blowing; obtains the user's voice information; and displays a second animation element for simulating the working result of the tool when the voice information meets the preset blowing judgment condition. .
[0163] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: in response to obtaining the preset behavior information of the user, displays a first animation element corresponding to the preset behavior information, the first animation element is a tool that simulates the real world to work by blowing; obtains the user's voice information; and when the voice information meets the preset blowing judgment condition, displays a second animation element for simulating the working result of the tool. .
[0164] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0165] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0166] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of the module does not limit the module itself in some cases. For example, the second animation element display module may also be described as "a module for displaying the second animation element for simulating the working result of the tool when the sound information meets the preset blowing judgment condition".
[0167] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0168] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0169] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0170] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0171] Although the subject matter has been described in language specific to structural features and / or method logic actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims. Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Claims
1. A user interaction method, characterized in that: include: In response to obtaining preset behavior information of the user, displaying a first animation element corresponding to the preset behavior information, wherein the first animation element is a tool in the simulated real world that works in a blowing manner; Get the user's voice information; In the case where the sound information satisfies a preset blowing determination condition, displaying a second animation element for simulating a working result of the tool; The second animation element for displaying the working result of the tool for simulating the tool comprises: Determining display parameters of the second animation element according to the attribute parameters of the sound information; displaying a second animation element for simulating a working result of the tool according to the display parameters; The attribute parameters include volume, and / or the frequency of the sound generated by the user's blowing in the sound information; The display parameter includes at least one of a display rate of the second animation element, a display quantity of the second animation element, and a display size of the second animation element; The volume is positively correlated with the display rate and / or the display quantity, the frequency is positively correlated with the display rate and / or the display quantity, the volume is positively correlated with the display size, and the frequency is negatively correlated with the display size.
2. The method according to claim 1, characterized in that The method further comprises: Extracting attribute parameters of the sound information; Determining, according to the attribute parameter, whether the sound information includes sound information generated by the user blowing; In a case where it is determined that the sound information includes a sound produced by the user's blowing, it is determined that the sound information satisfies the blowing determination condition.
3. The method according to claim 1, characterized in that: Before displaying a first animation element corresponding to the preset behavior information in response to obtaining the preset behavior information of the user, the method further includes: Obtain user behavior information; If it is determined according to the behavior information that the user makes a designated gesture, then the behavior information is determined to be preset behavior information.
4. The method according to claim 3, characterized in that The behavior information includes finger key points, and if it is determined according to the behavior information that the user makes a specified gesture, then the behavior information is determined to be preset behavior information, including: If the finger key point matches the preset key point, it is determined that the user makes a designated gesture, and the behavior information is determined to be preset behavior information.
5. The method according to claim 3, characterized in that: The displaying of the first animation element corresponding to the preset behavior information includes: The first animation element is displayed at a position corresponding to the designated gesture in the video recording interface.
6. The method according to any one of claims 1 to 5, characterized in that After the second animation element for simulating the working result of the tool is displayed, the method further comprises: If a change in the user's behavior information is detected, and the changed behavior information is not the preset behavior information, or the user's voice information is not detected within a specified time period, a third animation element is displayed, and the third animation element is used to remind the user that the video recording is finished.
7. The method according to any one of claims 1 to 5, characterized in that The method further comprises: During the video recording process, the total number of the second animation elements that have been displayed is displayed in real time.
8. The method according to any one of claims 1 to 5, characterized in that Before displaying a first animation element corresponding to the preset behavior information in response to obtaining the preset behavior information of the user, the method further includes: Display prompt information, wherein the prompt information is used to prompt the user to make a specified gesture.
9. The method according to any one of claims 1 to 5, characterized in that: Before displaying a first animation element corresponding to the preset behavior information in response to obtaining the preset behavior information of the user, the method further includes: Displaying a video recording entrance in at least a partial area of the designated interface; In response to an entry operation made by the user on the video recording entrance, the designated interface is switched to the video recording interface, and the captured image of the user is displayed in the video recording interface.
10. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: After the video recording is completed, if a publishing operation made by the user is received, the recorded video is published in response to the publishing operation.
11. The method according to any one of claims 1 to 5, characterized in that The second animation element carries advertising information.
12. The method according to claim 11, characterized in that The advertisement information includes at least one of a brand logo, a brand color, and a brand name pre-configured by the advertiser.
13. A user interaction device, characterized in that: include: A first animation element display module, configured to display a first animation element corresponding to the preset behavior information in response to obtaining the preset behavior information of the user, wherein the first animation element is a tool in the simulated real world that works by blowing; A sound information acquisition module is used to acquire the user's sound information; A second animation element display module, used for displaying a second animation element for simulating a working result of the tool when the sound information meets a preset blowing judgment condition; The second animation element display module includes: The display parameter determination submodule is used to determine the display parameters of the second animation element according to the attribute parameters of the sound information. A second animation element display submodule, used for displaying a second animation element for simulating a working result of the tool according to the display parameters; The attribute parameters include volume, and / or the frequency of the sound generated by the user's blowing in the sound information; The display parameter includes at least one of a display rate of the second animation element, a display quantity of the second animation element, and a display size of the second animation element; The volume is positively correlated with the display rate and / or the display quantity, the frequency is positively correlated with the display rate and / or the display quantity, the volume is positively correlated with the display size, and the frequency is negatively correlated with the display size.
14. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processing device, the steps of the method described in any one of claims 1 to 12 are implemented.
15. An electronic device, characterized in that: include: a storage device having a computer program stored thereon; A processing device, configured to execute the computer program in the storage device to implement the steps of the method according to any one of claims 1 to 12.
