Method, device, computer equipment and medium for guiding voice operation of application functions
By displaying floating controls on the voice product interface and receiving user operations, voice operation guidance is realized, which solves the problem of users having difficulty in quickly understanding the voice function, and improves user familiarity and convenience of use.
Patent Information
- Application Number
- CN202210771672.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When users use a voice product for the first time, it is difficult to quickly understand how to use the voice function. The existing voice function instruction manual is cumbersome and unintuitive, making it difficult for users to become familiar with the operation of the voice product.
Provide a voice operation guidance method that displays floating controls on the target interface, receives the user's specific operations, such as dragging and staying, determines whether the floating controls are located within the target controllable area, and determines the user's operation intention based on the length of stay. Guide users to perform target voice operation demonstrations.
Users can quickly learn the voice operation method through the floating control, skip the cumbersome instruction manual steps, and directly learn the voice operation method of the function in unfamiliar applications or operation interfaces, which improves the convenience of use and learning efficiency.
Smart Images

Figure CN115202548B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information processing technology, and in particular to a method, device, computer equipment and storage medium for voice operation guidance of an application function. Background Art
[0002] The following statements merely provide background information related to the present application and do not necessarily constitute prior art.
[0003] With the development of voice technology, the voice functions supported by current voice products are diverse and relatively complex. For users, when they first use voice products, they cannot quickly and easily understand all relevant usage methods.
[0004] At present, voice products usually provide users with a manual for using the voice function. However, the inventors realize that the manual for using the voice function is too cumbersome, not intuitive and convenient enough, and users do not have enough time and patience to learn how to use it, which results in users being unable to quickly become familiar with how to use the voice function of the voice product. Summary of the invention
[0005] In response to the above-mentioned deficiencies or shortcomings, the present application provides a method, apparatus, computer device and storage medium for guiding voice operation of an application function. The embodiments of the present application can help users quickly become familiar with the voice operation of the target application function.
[0006] The present application provides a method for guiding voice operation of an application function according to a first aspect. In one embodiment, the method includes:
[0007] Display floating controls on the target interface;
[0008] Receiving a specific operation of the user on the floating control, the specific operation including an operation for indicating a demonstration of a voice operation of a target application function;
[0009] In response to a specific operation, a target voice operation demonstration content is demonstrated to guide the user to use the voice operation target application function.
[0010] In one embodiment, the specific operation includes the user dragging the floating control to a target controllable area of the target interface, and allowing the floating control to stay in the target controllable area for a preset period of time.
[0011] In one embodiment, receiving a specific operation of a user on a floating control includes:
[0012] Receive the user's movement operation on the floating control;
[0013] In response to the move operation, obtaining a current floating position of the floating control;
[0014] Determine whether the floating control is within the target controllable area based on the current floating position;
[0015] If the floating control is within the target controllable area, obtain the dwell time of the floating control, and compare the dwell time with the preset time;
[0016] If the stay duration is not less than the preset duration, it is determined that a specific operation has been received.
[0017] In one embodiment, before obtaining the dwell time of the floating control, the method further includes:
[0018] When it is detected that the floating control is in the target controllable area, the duration of the floating control's stay is started to be counted, and when it is detected that the floating control is dragged out of the target controllable area, the timing is stopped;
[0019] or,
[0020] When it is detected that the floating control is in the target controllable area and the floating control stops moving, the duration of the floating control's stay starts to be counted, and when it is detected that the floating control starts to move again or the distance of the re-movement exceeds the preset distance, the timing is stopped.
[0021] In one embodiment, determining whether the floating control is located in the target controllable area according to the current floating position includes:
[0022] Obtain the controllable area location information corresponding to each application function that supports voice operation of the target application;
[0023] According to the current floating position and the position information of the controllable area corresponding to each application function supporting voice operation, it is determined whether the floating control is located in the controllable area corresponding to any application function supporting voice operation of the target application;
[0024] If the judgment result is yes, it is determined that the floating control is located in the target controllable area.
[0025] In one embodiment, before guiding the user to perform the target voice operation, the method further includes:
[0026] Obtaining specific information, including the current scenario type and / or the number of demonstrations of the target application function;
[0027] Target voice operation demonstration content is obtained according to specific information to guide the user to perform the target voice operation, and the target voice operation demonstration content is the voice operation demonstration content corresponding to the target application function.
[0028] In one embodiment, when the specific information includes the current scene type, obtaining the specific information also includes:
[0029] Get current scene information;
[0030] The current scene type is determined according to the current scene information.
[0031] According to a second aspect, the present application provides a voice operation guidance device for an application function. In one embodiment, the device includes:
[0032] A display module, used to display the floating control on the target interface;
[0033] An operation receiving module, used to receive a specific operation of a user on a floating control, wherein the specific operation includes an operation for indicating a demonstration of a voice operation on a target application function;
[0034] The guidance module is used to guide the user to perform a target voice operation in response to a specific operation.
[0035] According to a third aspect, the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above method embodiments when executing the computer program.
[0036] According to a fourth aspect, the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of an embodiment of any of the above methods are implemented.
[0037] In the above embodiment of the present application, the user can open the voice operation guidance mode for the target application function by performing specific operations on the floating control on the interface. After the voice operation demonstration mode is triggered, the user will be guided to perform the target voice operation. Compared with the previous voice function instruction manual, the user can skip the tedious steps of flipping through the instruction manual by using the technical solution provided by the above embodiment. When seeing an unfamiliar application or operation interface, the user can directly use the floating control to quickly learn the voice operation method of the function in the application or target operation interface. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 An application environment diagram of a method for voice operation guidance of an application function provided by an embodiment of the present application;
[0039] Figure 2 A flowchart of a method for voice operation guidance of an application function provided by an embodiment of the present application;
[0040] Figure 3 A flowchart of a voice operation guidance method for an application function provided by another embodiment of the present application;
[0041] Figure 4 A structural block diagram of a voice operation guidance device for an application function provided by one or more embodiments of the present application;
[0042] Figure 5 An internal structural diagram of a computer device provided for one or more embodiments of the present application. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0044] The present application provides a method for guiding the voice operation of an application function. In this embodiment, the method for guiding the voice operation of an application function can be applied to Figure 1 In the application environment shown. Among them, the user 10 can turn on the voice operation guidance mode for the target application function by performing a specific operation on the floating control on the interface displayed in the electronic device 20. After the voice operation demonstration mode is triggered, the user will be guided to perform the target voice operation. Specifically, the voice operation demonstration content corresponding to the target application function will be demonstrated to the user 10, that is, the target voice operation demonstration content, to guide the user to use the target voice operation. The target voice operation refers to using voice to operate the target application function. For example, using voice to start the target application function. Taking the music function as an example, the user can use voice to issue relevant instructions, such as "play Qilixiang", "pause play", etc.
[0045] The electronic device 20 may include, but is not limited to, various vehicle computers, vehicle-mounted terminals, personal computers, notebook computers, smart phones, tablet computers, and desktop computers.
[0046] The present embodiment provides a method for guiding the voice operation of an application function, including: Figure 2 The steps shown below are applied to Figure 1 The electronic device in is used as an example to illustrate.
[0047] S110: Displaying a floating control on the target interface.
[0048] S120: Receive a specific operation of the user on the floating control, where the specific operation includes an operation for instructing to demonstrate a voice operation on a target application function.
[0049] S130: In response to the specific operation, guiding the user to perform a target voice operation.
[0050] The above-mentioned floating control can be a floating window, a floating ball, a floating card or a floating icon. The floating control can specifically be a voice assistant control, which can be suspended and stay at any position of the interface, and can also be dragged to any position of the interface.
[0051] The user can perform a specific operation on the floating control to instruct the electronic device to enter the voice operation guidance mode for the target application function. The electronic device can determine which application function of which application needs to be demonstrated by voice operation based on the specific operation performed by the user. The specific operation method of the specific operation can be set according to the actual scene needs, and this embodiment does not specifically limit it.
[0052] After detecting a specific operation, the electronic device enters the voice operation guidance mode for the target application function and starts to demonstrate the voice operation demonstration content corresponding to the target application function, that is, the target voice operation demonstration content, to guide the user to use the voice operation target application function. Among them, the voice operation demonstration content corresponding to each application function can be content in different forms such as text, voice, picture and / or video. In addition, this embodiment does not specifically limit the target application function. The target application function can be any application function in the target application that supports users to issue instructions by voice. Taking the music application as an example, the application function can be "song recommendation", "settings", "song switching mode", "pause / start", "comment" and other application functions. Furthermore, the target application refers to any application in the electronic device that contains an application function that supports voice operation.
[0053] Compared with previous voice function instruction manuals, users can use the technical solution provided by the above embodiment without having to tediously read the instruction manual. When seeing an unfamiliar application or operation interface, they can directly use the floating control to quickly learn the voice operation method of the function in the application or target operation interface.
[0054] In one embodiment, the specific operation may include the user dragging the floating control to a target controllable area of the target interface, and causing the floating control to stay in the target controllable area for a preset period of time.
[0055] The target controllable area refers to the controllable area corresponding to the target application function.
[0056] In this embodiment, assuming that a user wants to use the voice function of a certain application or a certain application function of a certain application, but is not familiar with the specific operation of the voice function, the user can actively drag the floating control to stay in the controllable area corresponding to the application or the application function, and keep the floating control in the controllable area for a preset time. For example, after staying for 2 seconds, the electronic device can automatically enter the voice operation guidance mode of the application function, and actively demonstrate to the user how to perform voice dialogue interaction for the application function.
[0057] Since the user can easily and quickly find the controllable area of each application function on the display screen, through the specific operation provided in this embodiment, the user can clearly instruct the electronic device on which application function to demonstrate the voice operation, thereby improving the convenience of issuing instructions and being less prone to misoperation.
[0058] In one embodiment, the specific operation may be a continuous touch operation. For example, the user drags the floating control from the default position to the controllable area of the target application function with a finger, and keeps the finger in contact with the screen until the floating control stays on the controllable area for a preset time. The specific operation is then completed.
[0059] Further, based on the above embodiment, in one embodiment, a specific operation of the user on the floating control is received, such as Figure 3 As shown, including:
[0060] S121: receiving a user's movement operation on the floating control;
[0061] S122: In response to the moving operation, obtaining a current floating position of the floating control;
[0062] S123: Determine whether the floating control is located in the target controllable area according to the current floating position;
[0063] S124: If the floating control is located in the target controllable area, obtain the residence time of the floating control, and compare the residence time with the preset time;
[0064] S125: If the stay time is not less than the preset time, it is determined that a specific operation is received.
[0065] The above-mentioned moving operation can be a touch operation or a sliding operation of the floating control by the user. After receiving the touch operation or the sliding operation of the floating control by the user, the electronic device not only displays the movement of the floating control on the display screen, but also obtains the current floating position of the floating control in real time (the coordinates of the floating control in the display screen can be obtained), and determines whether the floating control is located in the target controllable area based on the current floating position.
[0066] If it is determined that the floating control is within the target controllable area, the residence time of the floating control is obtained, and the residence time is compared with the preset time. If the residence time is not less than the preset time, it is determined that a specific operation has been received; if the residence time is less than the preset time, it is determined that no specific operation has been received.
[0067] If it is determined that the floating control is not within the target controllable area, no operation is performed.
[0068] Accordingly, the above-mentioned step of obtaining the dwell time of the floating control also includes the following steps (1) or (2):
[0069] (1) When it is detected that the floating control is in the target controllable area, the duration of the floating control's stay is started to be counted, and when it is detected that the floating control is dragged out of the target controllable area, the timing is stopped;
[0070] (2) When it is detected that the floating control is in the target controllable area and the floating control stops moving, the duration of the floating control's stay starts to be counted. When it is detected that the floating control starts to move again or the distance of the restarted movement exceeds the preset distance, the timing is stopped.
[0071] There are two ways to calculate the duration that the floating control stays on the controllable area.
[0072] One way is that when the user drags the floating control to the controllable area of the target application function and keeps the finger still, the electronic device starts to calculate the dwell time. The user's finger cannot move during the dwell time or cannot move more than a preset distance. In this way, it is easier for the user to control the timing of starting the voice operation demonstration mode, but if the user accidentally moves or moves too far when the electronic device calculates the dwell time, it may be necessary to redo the specific operation.
[0073] Another way is that when the user drags the floating control to the controllable area of the target application function, the electronic device starts to calculate the dwell time. The user's finger can move during the timing of the dwell time. As long as the finger's contact point is kept in the controllable area of the target application function, it will not affect the calculation of the dwell time. When using this method, the user does not have to worry about interrupting the calculation of the dwell time due to accidentally moving the finger.
[0074] In one embodiment, the target interface is the first interface or the second interface; the first interface includes an interactive interface (an interface presented when the target application is not opened, such as a system desktop), and the interactive interface includes an application icon of the target application; the second interface refers to an application interface of the target application (an interface presented after the target application is opened); the target application refers to any application in the electronic device that includes an application function that supports voice operation; the target application function refers to any application function of the target application that supports voice operation.
[0075] Accordingly, judging whether the floating control is located within the target controllable area according to the current floating position includes the following steps (1)-(3):
[0076] (1) Obtaining the controllable area location information corresponding to each application function that supports voice operation of the target application;
[0077] (2) determining whether the floating control is located within a controllable area corresponding to any voice-operated application function of the target application based on the current floating position and the position information of the controllable area corresponding to each voice-operated application function;
[0078] (3) If the judgment result is yes, it is determined that the floating control is located within the target controllable area.
[0079] Further, if the judgment result is no, it is determined that the floating control is not located in the target controllable area.
[0080] Since the positions of application icons or application functions in the application interface are usually relatively fixed, the position information of the controllable areas of each application function of the target application that supports voice operation can be recorded in advance. The controllable area can be a rectangle, so its position information can be the position information of two points of the rectangle, such as the coordinates of the upper left corner and the lower right corner, or the coordinates of the lower left corner and the upper right corner.
[0081] The floating position of the floating control can be realized by one coordinate or multiple coordinates. When judging, if at least one position coordinate of the floating control is within the controllable area corresponding to an application function supporting voice operation, then it is determined that the floating control is within the controllable area corresponding to the application function; otherwise, it is determined that the floating control is not within the controllable area corresponding to the application function.
[0082] It is understandable that if the user drags the floating control to the controllable area corresponding to the non-target application function (referring to the application function that does not support voice operation), or drags the floating control to the target controllable area, but the floating control does not stay for a preset time, the electronic device will not respond to the user's operation. Among them, to determine whether the floating control is located in the controllable area corresponding to the non-target application function, please refer to the above description on determining whether the floating control is located in the controllable area corresponding to the target application function.
[0083] Furthermore, after the user completes a specific operation, the floating control can automatically return to its default position in the interface (which can be any position on the side of the screen) to avoid interrupting the voice operation demonstration mode due to receiving a user's erroneous operation. In addition, if the floating control is in a non-default position and does not receive a new touch signal within a predetermined period of time, it will automatically return to the default position to avoid the floating control from staying in a non-default position for a long time.
[0084] In one embodiment, before guiding the user to perform the target voice operation, it also includes: obtaining specific information, the specific information includes the current scene type and / or the number of demonstrations of the target application function; obtaining target voice operation demonstration content for guiding the user to perform the target voice operation based on the specific information, the target voice operation demonstration content includes the voice operation demonstration content corresponding to the target application function.
[0085] This embodiment can adaptively select voice operation demonstration content corresponding to the target application function based on the user's current scenario and / or usage timing. When the scenario and / or usage timing is different, the content demonstrated to the user also changes, so that the user can quickly learn the relevant usage methods, quickly improve the user's familiarity and usage frequency, and bring the user a better learning voice operation experience.
[0086] For example, taking the electronic device as a car computer and the target application as a video application, when the car computer is in a high-speed driving state and the user is using the demonstration mode for the video application for the first time, the voice operation demonstration mode content of the video application needs to be displayed to the user in a concise and summarized form. At the same time, the user needs to be reminded that in order to ensure driving safety, the user should reduce or prohibit the playback of video content when driving at high speed.
[0087] The scene type can be set according to the actual scene, such as high-speed driving, urban driving and other scene types. The number of demonstrations can be the total number of historical demonstrations of the target application function, or the total number of demonstrations within a predetermined time. In addition, corresponding demonstration content presentation rules can be preset for different scene types or different demonstration times, and then the corresponding voice operation demonstration content can be obtained as the target voice operation demonstration content based on the demonstration content presentation rules.
[0088] Furthermore, in one embodiment, when the specific information includes the current scene type, obtaining the specific information also includes: obtaining the current scene information; and determining the current scene type according to the current scene information.
[0089] The scene information to be obtained can also be selected according to the specific scene type. Taking the high-speed driving scene type as an example, one or more of the current driving speed, geographical location, weather conditions, road conditions, and traffic conditions of the electronic device can be obtained for analysis.
[0090] It should be noted that, with respect to the various steps included in the voice operation guidance method for the application function provided in any of the above embodiments, unless otherwise clearly stated herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of these steps may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0091] Based on the same inventive concept, the present application also provides a voice operation guidance device for an application function. Figure 4 As shown, the voice operation guidance device of the application function includes the following modules:
[0092] Display module 110, used to display the floating control on the target interface;
[0093] An operation receiving module 120 is used to receive a specific operation of a user on a floating control, wherein the specific operation includes an operation for indicating a demonstration of a voice operation on a target application function;
[0094] The guidance module 130 is used to guide the user to perform a target voice operation in response to a specific operation.
[0095] In one embodiment, the specific operation includes the user dragging the floating control to a target controllable area of the target interface, and allowing the floating control to stay in the target controllable area for a preset period of time.
[0096] In one embodiment, the operation receiving module 120 includes:
[0097] A receiving submodule, used to receive a user's movement operation on a floating control;
[0098] An acquisition submodule, used to acquire the current floating position of the floating control in response to the moving operation;
[0099] A judgment submodule is used to judge whether the floating control is within the target controllable area according to the current floating position;
[0100] A comparison submodule, used for obtaining the residence time of the floating control when the floating control is in the target controllable area, and comparing the residence time with a preset time;
[0101] The determination submodule is used to determine that a specific operation has been received when the stay duration is not less than a preset duration.
[0102] In one embodiment, the operation receiving module 120 further includes a timing submodule. The timing submodule is used to perform the following steps before obtaining the dwell time of the floating control:
[0103] When it is detected that the floating control is in the target controllable area, the duration of the floating control's stay is started to be counted, and when it is detected that the floating control is dragged out of the target controllable area, the timing is stopped;
[0104] or,
[0105] When it is detected that the floating control is in the target controllable area and the floating control stops moving, the duration of the floating control's stay starts to be counted, and when it is detected that the floating control starts to move again or the distance of the re-movement exceeds the preset distance, the timing is stopped.
[0106] In one embodiment, the target interface is the first interface or the second interface; the first interface includes an interactive interface, the interactive interface includes an application icon of the target application; the second interface includes an application interface of the target application; the target application refers to any application in the electronic device that includes an application function that supports voice operation; the target application function refers to any application function of the target application that supports voice operation.
[0107] In one embodiment, the judgment submodule includes:
[0108] An acquisition unit, used to acquire the controllable area position information corresponding to each application function supporting voice operation of the target application;
[0109] A determination unit, configured to determine whether the floating control is located in a controllable area corresponding to any application function supporting voice operation of the target application according to the current floating position and the position information of the controllable area corresponding to each application function supporting voice operation;
[0110] The determination unit is configured to determine that the floating control is located in the target controllable area in response to a yes determination result; and determine that the floating control is not located in the target controllable area in response to a no determination result.
[0111] In one embodiment, the above device further comprises:
[0112] A first acquisition module is used to acquire specific information, where the specific information includes the current scene type and / or the number of demonstrations of the target application function;
[0113] The second acquisition module is used to acquire target voice operation demonstration content for guiding the user to perform the target voice operation according to specific information, and the target voice operation demonstration content is the voice operation demonstration content corresponding to the target application function.
[0114] In one embodiment, the above device further comprises:
[0115] The third acquisition module is used to obtain current scene information;
[0116] The second determining module is used to determine the current scene type according to the current scene information.
[0117] For the specific definition of the voice operation guidance device for the application function, please refer to the definition of the voice operation guidance method for the application function above, which will not be repeated here. The various modules in the above-mentioned voice operation guidance device for the application function can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0118] In one embodiment, a computer device is provided, whose internal structure diagram can be as follows: Figure 5 shown.
[0119] The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as voice operation demonstration content corresponding to each application function of each target application. The specific stored data can also refer to the definition in the above method embodiment. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a voice operation guidance method for an application function is implemented.
[0120] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0121] This embodiment further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:
[0122] Displaying a floating control on a target interface; receiving a specific operation of the user on the floating control, the specific operation including an operation for indicating a demonstration of a voice operation of a target application function; and guiding the user to perform a target voice operation in response to the specific operation.
[0123] In one embodiment, the specific operation includes the user dragging the floating control to a target controllable area of the target interface, and allowing the floating control to stay in the target controllable area for a preset period of time.
[0124] In one embodiment, when the processor executes the computer program to receive a specific operation of the user on the floating control, the processor further implements the following steps:
[0125] Receive a user's move operation on a floating control; in response to the move operation, obtain a current floating position of the floating control; determine whether the floating control is located in a target controllable area based on the current floating position; if the floating control is located in the target controllable area, obtain a stay time of the floating control, and compare the stay time with a preset time; if the stay time is not less than the preset time, determine that a specific operation has been received.
[0126] In one embodiment, before the processor executes the computer program to obtain the dwell time of the floating control, the processor further implements the following steps:
[0127] When it is detected that the floating control is within the target controllable area, the duration of the floating control's stay starts to be counted, and when it is detected that the floating control is dragged out of the target controllable area, the timing is stopped; or, when it is detected that the floating control is within the target controllable area and the floating control stops moving, the duration of the floating control's stay starts to be counted, and when it is detected that the floating control starts to move again or the distance of the restart movement exceeds a preset distance, the timing is stopped.
[0128] In one embodiment, when the processor executes the computer program to determine whether the floating control is located in the target controllable area according to the current floating position, the processor also implements the following steps:
[0129] Obtain the controllable area position information corresponding to each application function supporting voice operation of the target application; determine whether the floating control is located in the controllable area corresponding to any application function supporting voice operation of the target application based on the current floating position and the controllable area position information corresponding to each application function supporting voice operation; in response to a yes judgment result, determine that the floating control is located in the target controllable area; in response to a no judgment result, determine that the floating control is not located in the target controllable area.
[0130] In one embodiment, before the processor executes the computer program to guide the user to perform the target voice operation, the processor further implements the following steps:
[0131] Obtain specific information, the specific information includes the current scene type and / or the number of demonstrations of the target application function; obtain target voice operation demonstration content for guiding the user to perform the target voice operation based on the specific information, the target voice operation demonstration content is the voice operation demonstration content corresponding to the target application function.
[0132] In one embodiment, when the specific information includes the current scene type, the processor executes the computer program to implement the following steps before obtaining the specific information:
[0133] Get the current scene information; determine the current scene type based on the current scene information.
[0134] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0135] Displaying a floating control on a target interface; receiving a specific operation of the user on the floating control, the specific operation including an operation for indicating a demonstration of a voice operation of a target application function; and guiding the user to perform a target voice operation in response to the specific operation.
[0136] In one embodiment, the specific operation includes the user dragging the floating control to a target controllable area of the target interface, and allowing the floating control to stay in the target controllable area for a preset period of time.
[0137] In one embodiment, the computer program is executed by a processor to implement receiving a specific operation of a user on a floating control, and further implement the following steps:
[0138] Receive a user's move operation on a floating control; in response to the move operation, obtain a current floating position of the floating control; determine whether the floating control is located in a target controllable area based on the current floating position; if the floating control is located in the target controllable area, obtain a stay time of the floating control, and compare the stay time with a preset time; if the stay time is not less than the preset time, determine that a specific operation has been received.
[0139] In one embodiment, the computer program is executed by a processor to implement the following steps before obtaining the dwell time of the floating control:
[0140] When it is detected that the floating control is within the target controllable area, the duration of the floating control's stay starts to be counted, and when it is detected that the floating control is dragged out of the target controllable area, the timing is stopped; or, when it is detected that the floating control is within the target controllable area and the floating control stops moving, the duration of the floating control's stay starts to be counted, and when it is detected that the floating control starts to move again or the distance of the restart movement exceeds a preset distance, the timing is stopped.
[0141] In one embodiment, the computer program is executed by a processor to implement the following steps when determining whether the floating control is located in the target controllable area according to the current floating position:
[0142] Obtain the controllable area position information corresponding to each application function supporting voice operation of the target application; determine whether the floating control is located in the controllable area corresponding to any application function supporting voice operation of the target application based on the current floating position and the controllable area position information corresponding to each application function supporting voice operation; in response to a yes judgment result, determine that the floating control is located in the target controllable area; in response to a no judgment result, determine that the floating control is not located in the target controllable area.
[0143] In one embodiment, the computer program is executed by a processor to implement the following steps before guiding the user to perform the target voice operation:
[0144] Obtain specific information, the specific information includes the current scene type and / or the number of demonstrations of the target application function; obtain target voice operation demonstration content for guiding the user to perform the target voice operation based on the specific information, the target voice operation demonstration content is the voice operation demonstration content corresponding to the target application function.
[0145] In one embodiment, when the specific information includes the current scene type, the computer program is executed by the processor to further implement the following steps before obtaining the specific information:
[0146] Get the current scene information; determine the current scene type based on the current scene information.
[0147] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0148] Those skilled in the art can understand that all or part of the processes in the above method embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus), direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0149] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0150] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for guiding the voice operation of an application function, characterized in that: The method comprises: Display floating controls on the target interface; Receive a specific operation of the user on the floating control, the specific operation including an operation for indicating a demonstration of a voice operation of a target application function; the specific operation includes the user dragging the floating control to a target controllable area of the target interface, and causing the floating control to stay in the target controllable area for a preset time; the target application function is any application function in the target application that supports the user to issue commands by voice; In response to the specific operation, the user is guided to perform a target voice operation; the guiding the user to perform the target voice operation includes demonstrating voice operation demonstration content corresponding to the target application function.
2. The method according to claim 1, characterized in that The receiving a specific operation of the user on the floating control includes: Receiving a user's movement operation on the floating control; In response to the moving operation, obtaining a current floating position of the floating control; Determining whether the floating control is located in a target controllable area according to the current floating position; If the floating control is located in the target controllable area, obtaining the residence time of the floating control, and comparing the residence time with a preset time; If the stay duration is not less than the preset duration, it is determined that the specific operation is received.
3. The method according to claim 2, characterized in that Before obtaining the dwell time of the floating control, the following steps are also included: When it is detected that the floating control is in the target controllable area, start timing the duration of the floating control's stay, and when it is detected that the floating control is dragged out of the target controllable area, stop the timing; or, When it is detected that the floating control is located in the target controllable area and the floating control stops moving, the duration of the floating control's stay is started to be timed, and when it is detected that the floating control starts to move again or the distance of the restart movement exceeds a preset distance, the timing is stopped.
4. The method according to claim 2 or 3, characterized in that Determining whether the floating control is located in a target controllable area according to the current floating position includes: Obtaining the controllable area location information corresponding to each application function supporting voice operation of the target application; According to the current floating position and the position information of the controllable areas corresponding to the application functions supporting voice operation, determining whether the floating control is located in the controllable area corresponding to any application function supporting voice operation of the target application; If the judgment result is yes, it is determined that the floating control is located in the target controllable area.
5. The method according to any one of claims 2 to 4, characterized in that: Before guiding the user to perform the target voice operation, the method further includes: Acquiring specific information, the specific information including the current scene type and / or the number of demonstrations of the target application function; Target voice operation demonstration content for guiding the user to perform a target voice operation is acquired according to the specific information, wherein the target voice operation demonstration content includes voice operation demonstration content corresponding to the target application function.
6. The method according to claim 5, characterized in that When the specific information includes the current scene type, the method further includes: Get current scene information; The current scene type is determined according to the current scene information.
7. A voice operation guidance device for application functions, characterized in that: The device comprises: A display module, used to display the floating control on the target interface; an operation receiving module, for receiving a specific operation of the user on the floating control, wherein the specific operation includes an operation for indicating a demonstration of a voice operation of a target application function; the specific operation includes the user dragging the floating control to a target controllable area of the target interface, and causing the floating control to stay in the target controllable area for a preset time; the target application function is any application function in the target application that supports the user to issue instructions by voice; A guiding module is used to guide the user to perform a target voice operation in response to the specific operation; the guiding the user to perform the target voice operation includes demonstrating the voice operation demonstration content corresponding to the target application function.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Suspended ball control method and device, and computer readable storage medium
CN107562336A
Application operating method, electronic device and computer readable medium
CN108920238A
Interface display method of a voice assistant application program and a terminal device
CN109491562A
Control method and device of virtual voice assistant, user equipment and storage medium
CN109801625A
Voice guiding method, device, equipment and medium
CN110472095A
