Voice control methods, devices, electronic equipment and vehicles
By setting bubble numbers and displaying bubble view components in voice control, the problem of users needing to speak out large numbers is solved, resulting in a more user-friendly experience.
Patent Information
- Application Number
- CN202210974911.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-15
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2042-08-15
AI Technical Summary
In existing voice control methods, users need to speak out larger numbers to select list items, which affects the user experience.
By retrieving the currently displayed item in the list page, setting the bubble number, and retrieving the bubble view component corresponding to the bubble number for display, the operation is executed in response to voice control commands.
This reduces the need for users to verbally recite large numbers, improving the user experience. By dynamically displaying bubbles, bubble numbers are assigned only to items currently displayed on the screen.
Smart Images

Figure CN115482817B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, specifically to a voice control method, device, electronic device, and vehicle. Background Technology
[0002] With the advancement of technology, voice control has become a frequently used feature in in-vehicle infotainment systems. While the vehicle is in motion, users can operate a function simply by speaking, greatly enhancing the user experience.
[0003] Currently, the vehicle system can perform searches using keywords input by the user's voice, and the search results can be presented to the user in the form of a list. The user can then respond by saying which number to select from the list.
[0004] However, if there are many items in the list, users may choose a very large number. People usually prefer to say simple numbers, so asking users to say large numbers is unfriendly and inhumane, which will affect the user experience. Summary of the Invention
[0005] In view of this, this application provides a voice control method, device, electronic device and vehicle, the main purpose of which is to improve the technical problem that the existing voice control method may require the user to say a long number, which will affect the user experience.
[0006] Firstly, this application provides a voice control method, including:
[0007] Retrieve the currently displayed item in the list page;
[0008] Set the bubble number based on the currently displayed item;
[0009] Obtain and display the bubble view components corresponding to each of the bubble numbers;
[0010] In response to a voice control command, perform the operation corresponding to the entry with the bubble number in the command.
[0011] Optionally, setting the bubble number based on the currently displayed item includes:
[0012] Filter the obtained entries to select the target entries that meet the bubble display criteria;
[0013] Set the bubble number according to the number of target items.
[0014] Optionally, the step of filtering target entries that meet the bubble display criteria from the acquired entries includes:
[0015] Based on the visible area information of the view components corresponding to each item, target items that meet the bubble display conditions are filtered out from the obtained items.
[0016] Optionally, the step of filtering target items that meet the bubble display conditions from the obtained items based on the visible area information of the view components corresponding to each item includes:
[0017] Obtain the scrolling direction of the list page;
[0018] If the sliding direction is up or down, then the height of the visible area of each of the obtained items in the list page is determined, and target items whose visible area height is greater than their own target percentage height are filtered out from the obtained items.
[0019] If the sliding direction is left or right, then the width of the visible area of each of the obtained items in the list page is determined, and target items whose visible area width is greater than their own target percentage width are filtered out from the obtained items.
[0020] Optionally, obtaining the currently displayed items on the list page includes:
[0021] Determine whether the list page is being scrolled;
[0022] If the list page is in a static state, then retrieve the currently displayed item in the list page.
[0023] Optionally, obtaining and displaying the bubble view component corresponding to each bubble number includes:
[0024] Obtain the bubble style of the type corresponding to each of the target entries;
[0025] Determine whether a bubble view component corresponding to the bubble style exists in the cache;
[0026] If it exists, retrieve the bubble view component corresponding to the bubble style from the cache and add it to the corresponding target item for display;
[0027] If it does not exist, then create the bubble view components according to the bubble style and add them to the corresponding target entries for display.
[0028] Optionally, after creating the bubble view components according to the bubble style, the method further includes:
[0029] Store the corresponding bubble view component created according to the bubble style in the cache.
[0030] Optionally, after obtaining and displaying the bubble view components corresponding to each of the bubble numbers, the method further includes:
[0031] When the list page is scrolling, the displayed bubble view component is hidden; when the list page is stationary, the corresponding bubble view component is retrieved and displayed based on the latest displayed item in the list page.
[0032] Secondly, this application provides a voice control device, comprising:
[0033] The retrieval module is configured to retrieve the currently displayed items on the list page;
[0034] The settings module is configured to set bubble numbers based on the currently displayed item;
[0035] The display module is configured to acquire and display the bubble view components corresponding to each of the bubble numbers.
[0036] The control module is configured to respond to voice control commands by performing operations on the entries corresponding to the bubble numbers in the commands.
[0037] Thirdly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the voice control method described in the first aspect.
[0038] Fourthly, this application provides an electronic device, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor executes the computer program to implement the voice control method described in the first aspect.
[0039] Fifthly, this application provides a vehicle including: the device as described in the second aspect, or the electronic device as described in the fourth aspect.
[0040] By employing the above technical solutions, the voice control method, device, electronic device, and vehicle provided in this application, compared with the prior art, can set bubble numbers for the currently displayed items on the list page, and obtain and display the corresponding bubble view components. These bubble view components include bubble numbers that can be set only according to the number of currently displayed items, rather than according to the total number of items on the list page. This significantly reduces the number of bubble numbers provided to the user for voice control selection, ensuring that the numbers displayed on the bubbles are relatively small. This effectively reduces the occurrence of users speaking very large numbers, and subsequently, it can respond to voice control commands and accurately execute operations on the items corresponding to the bubble numbers in the commands. By applying the technical solution of this application, bubbles can be dynamically displayed, and bubble numbers can be assigned only to the items currently displayed on the screen, effectively improving the user experience.
[0041] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description
[0042] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0043] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0044] Figure 1 A flowchart illustrating a voice control method provided in an embodiment of this application is shown;
[0045] Figure 2 A flowchart illustrating another voice control method provided in an embodiment of this application is shown;
[0046] Figure 3 The illustration shows a schematic diagram of the display effect of an example provided in an embodiment of this application;
[0047] Figure 4 This illustration shows a display effect diagram of another example provided in the embodiments of this application;
[0048] Figure 5 A flowchart illustrating an example provided in an embodiment of this application is shown;
[0049] Figure 6 A schematic diagram of the structure of a voice control device provided in an embodiment of this application is shown. Detailed Implementation
[0050] To better understand the above-mentioned objectives, features, and advantages of this application, the solution of this application will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.
[0051] To address the technical issue that current voice control methods may require users to speak large numbers, thus affecting the user experience, this embodiment provides a voice control method, such as... Figure 1 As shown, the method includes:
[0052] Step 101: Get the currently displayed items on the list page.
[0053] List pages can be displayed within applications (such as those in in-vehicle systems). For example, a music application might have a list of songs by a particular artist, displaying the singles performed by that artist; a video application might have a list of videos related to a specific keyword, displaying the video titles containing that keyword; and a navigation application might have a list of location search results related to a specific keyword, displaying the location names related to that keyword, and so on.
[0054] The list page can be generated by the system preset, or it can be generated based on user manual operation, voice control, etc.
[0055] Step 102: Set bubble numbers based on the currently displayed items on the list page.
[0056] The bubble number corresponds to the bubble view component created in subsequent step 103. In this embodiment, only the items displayed on the current screen are numbered with bubbles. This greatly reduces the number of bubble numbers provided to the user for voice control selection, ensuring that the numbers displayed on the bubbles are all small numbers, thereby effectively reducing the situation where the user speaks out a large number.
[0057] For example, for the items currently displayed on the list page, the bubble numbers for each item can be set sequentially, starting from 0 or 1.
[0058] Step 103: Obtain and display the bubble view components corresponding to each bubble number.
[0059] The bubble view component may include bubble numbers set according to the number of currently displayed items. Bubble view components can be displayed at their respective item positions, such as the beginning or end of an item. Users can select items for voice control based on the bubble numbers displayed in the bubble view component and the content of those items, combined with their actual needs, such as speaking the selected bubble number and then inputting a voice control command.
[0060] Step 104: In response to the voice control command, execute the operation corresponding to the item with the bubble number in the command.
[0061] For example, playing the song corresponding to the user's selected bubble number; or playing the video corresponding to the user's selected bubble number; or providing navigation to the location corresponding to the user's selected bubble number, etc.
[0062] Compared to existing technologies, this embodiment sets bubble numbers for the currently displayed items on the list page and retrieves and displays the corresponding bubble view components. These bubble view components include bubble numbers that can be set based solely on the number of currently displayed items, rather than the total number of items on the list page. This significantly reduces the number of bubble numbers available for user voice control selection, ensuring that the numbers displayed on the bubbles are relatively small. This effectively reduces the likelihood of users speaking very large numbers, and allows for accurate execution of operations corresponding to the bubble numbers in the voice control commands. By applying the technical solution of this embodiment, bubbles can be dynamically displayed, and bubble numbers can be assigned only to the items currently displayed on the screen, effectively improving the user experience.
[0063] Furthermore, as a refinement and extension of the above embodiments, in order to fully illustrate the specific implementation process of the method in this embodiment, this embodiment provides the following: Figure 2 The specific method shown includes:
[0064] Step 201: Obtain the operation status of the list page.
[0065] Specifically, it can detect user interaction events on the list page, such as user manual scrolling of the list page and user voice control of page turning.
[0066] Step 202: Determine if the list page is scrolling.
[0067] If the list page is scrolling, it means the user is scrolling through the items on the list page. At this time, the corresponding view components can be updated or recombine.
[0068] Step 203: If the list page is in a static state, retrieve the currently displayed item in the list page.
[0069] Optionally, the process of retrieving the currently displayed item on the list page may specifically include: retrieving the currently displayed item on the list page and nested items within that item. Nested items refer to nested lists; for example, if an element in one list is itself a list, then this is a nested list.
[0070] For example, when a user activates voice control, the system checks if the current list page is scrolling. If the list is stationary, it iterates through all visible items on the screen. If there are nested lists, it recursively iterates through all items. Furthermore, this embodiment can dynamically display speech bubbles for nested list structures to meet more needs and simplify the user's workflow.
[0071] Step 204: Filter out the target items that meet the bubble display conditions from the obtained items, and set the bubble number according to the number of target items.
[0072] In practical applications, not all items currently displayed on the list page may meet the preset conditions for displaying bubbles (which can be preset according to actual needs). Therefore, in this embodiment, to further simplify the bubble numbering, target items that meet the bubble display conditions can be selected from the obtained items, and bubble numbers can be set according to the number of these target items.
[0073] For example, from the acquired items, items that can be further manipulated (such as items with access permissions or available resources), and / or items with a relevance greater than a certain threshold, and / or business-recommended items are selected as target items that meet the bubble display criteria, and bubble numbers are set according to the number of these target items. In this way, the bubble numbers provided to the user for voice control selection are further reduced, ensuring that the numbers displayed on the bubbles are all small numbers, thereby effectively reducing the situation where users say large numbers.
[0074] In practical applications, the items currently displayed on the screen may only be a portion of the content, such as text where only 20% is shown, not all or most of it. In such cases, it is difficult for users to discern the specific content of the item. Displaying it with the corresponding bubble view component would be unreasonable. Therefore, optionally, the above-mentioned filtering of target items that meet the bubble display criteria from the obtained items can specifically include: filtering target items that meet the bubble display criteria based on the visible area information of the view components corresponding to each item. This optional method allows for bubble display of relatively complete items, while items whose content is unclear to the user can be left undisplayed, thus saving resources consumed by displaying bubbles.
[0075] For example, based on the visible area information of the view components corresponding to each item, target items that meet the bubble display conditions are filtered from the obtained items. Specifically, this may include: first, obtaining the scrolling direction of the list page; if the scrolling direction of the list page is vertical, determining the current visible area height of each obtained item in the list page, and filtering from the obtained items that the visible area height is greater than its own target percentage height (such as 50% or 55% of the item's own height); and if the scrolling direction of the list page is horizontal, determining the current visible area width of each obtained item in the list page, and filtering from the obtained items that the visible area width is greater than its own target percentage width (such as 60% or 70% of the item's own width). Through this optional method, while ensuring that all items displaying bubbles are valid items, the bubble number can be further reduced. Target items that meet the preset conditions for displaying bubbles can be filtered from the obtained items, and bubble numbers can be set according to the number of these target items, which can effectively improve the user experience.
[0076] For example, if the list page scrolls vertically, the visible area height of each item on the list page can be determined. Then, target items whose visible area height is greater than 50% of their own height can be selected. Subsequently, bubble displays can be applied to these target items, such as... Figure 3 As shown, for the items displayed at the top and bottom edges of the list page, since their visible area height is no more than 50% of their own height, users cannot see the specific item content clearly in this case. Therefore, related bubble displays can be omitted to save the resources consumed by displaying bubbles.
[0077] For example, if the list page scrolls horizontally, the width of the visible area of each item on the list page can be determined. Then, target items whose visible area width is greater than 50% of their own width can be selected from the obtained items. Subsequently, bubble displays can be applied to these target items, such as... Figure 4 As shown, for the items displayed on the left edge of the list page, since the height of the visible area is no more than 50% of its width, the user cannot see the specific item content clearly. Therefore, the relevant bubble display can be omitted to save the resources consumed by displaying the bubble.
[0078] Step 205: Obtain and display the bubble view components corresponding to each bubble number.
[0079] In practical applications, it's necessary to dynamically re-display the corresponding bubble view components for the items currently on the screen. If the already displayed bubble view components are removed when the list scrolling begins, and then recreated based on the bubble style when needed again, this approach impacts display efficiency. Furthermore, since all operations must run on the main thread, it affects the smoothness of list scrolling. To improve this, this embodiment employs a caching method (the cache size can be specified according to actual needs). Different bubble styles and their corresponding bubble view components are stored in the cache as key-value pairs. This way, when a bubble view component needs to be displayed, it can be directly retrieved from the cache based on the desired bubble style. Optionally, step 205 may specifically include: first, obtaining the bubble style corresponding to each type of the target item (the target item selected from the obtained items that meets the preset conditions for displaying bubbles); then, determining whether there is a bubble view component corresponding to the bubble style in the cache; if there is, obtaining the bubble view component corresponding to the bubble style in the cache and adding it to the corresponding target item for display; if there is no, creating bubble view components according to the bubble style and adding them to the corresponding target item for display.
[0080] Optionally, after creating bubble view components according to bubble styles, this embodiment further includes storing the corresponding bubble view components created according to the bubble styles in a cache. This allows for direct retrieval of the corresponding bubble view components from the cache for display during subsequent use. In this embodiment, when a bubble view component needs to be created, the cache is first checked to see if it has been previously cached. If it has, re-creation is unnecessary; the cached bubble view component is used directly, reducing creation time. If it hasn't been previously cached, the created bubble view component can be placed in the cache for convenient subsequent use. This embodiment reduces the time and computational resources required for bubble display, effectively improving the user experience.
[0081] This embodiment allows for setting various bubble styles, with different items displaying different bubble styles, thereby improving the bubble display effect. Bubbles can be displayed at corresponding positions on items, combining different bubble styles for different types of items. Furthermore, items on the current screen can be numbered and displayed with bubbles, ensuring that the numbers displayed on the bubbles are small numbers, thus meeting functional requirements while also considering the visual effect of the UI.
[0082] After step 205, the method of this embodiment further includes: when the list page is scrolling, hiding the displayed bubble view component; when the list page is stationary, obtaining and displaying the corresponding bubble view component based on the latest displayed item in the list page.
[0083] For example, after displaying the bubbles corresponding to each item on the current screen, the bubbles can be hidden when the user scrolls the list. When the list stops again, the process described in steps 201 to 205 is repeated, and the corresponding bubbles are displayed again. In this way, the list page does not need to display corresponding view components while scrolling, saving the resources consumed in creating view components. When the list page is stationary, bubbles can be displayed dynamically, and only the items currently displayed on the screen can be numbered, effectively improving the user experience.
[0084] Step 206: In response to the voice control command, execute the operation corresponding to the entry number in the command.
[0085] Furthermore, in order to illustrate the implementation details of the above embodiments, in conjunction with... Figures 1 to 2 The method shown is illustrated with specific examples, but is not limited to these:
[0086] For example, voice control has frequent applications in in-vehicle infotainment systems, allowing users to operate functions simply by speaking, greatly enhancing the user experience. However, currently within applications, especially on list pages, it's difficult for users to accurately select the desired content. One solution is to pre-sort the items in the list page during rendering and assign them specific numbers. When a user activates voice control to select something, all items display numbered bubbles, and the user simply speaks the corresponding number to respond. However, if the list contains a lot of content, the numbers may be very large. People generally prefer to say simple numbers, and asking users to say large numbers is unfriendly and inhumane.
[0087] To address the aforementioned issues, the method described in this embodiment allows for dynamic customization of whether to assign a number to an item based on its visible area when the user activates voice input. It also allows for customization of whether to display a bubble on the item, its position on the item, and different bubble styles for different types of items. Only items currently on the screen can be numbered and displayed with bubbles, ensuring that the numbers displayed on the bubbles are small, thus satisfying functional requirements while also considering the visual appeal of the UI.
[0088] like Figure 5 As shown, the following process can be executed:
[0089] S1, User wake-up voice.
[0090] Users can use voice input to search, and then a list of relevant search results will be displayed.
[0091] S2. Determine if the current list page is being scrolled.
[0092] S3. If the list is in a static state, iterate through all visible items on the current screen.
[0093] S4. Calculate the visible area of all items on the list page.
[0094] S5. Filter out the valid entries based on the visible area of the calculated entries on the list page.
[0095] This optional method allows for bubble display of relatively complete items, while items whose content is not clearly visible to the user can be left undisplayed, thus saving the resources consumed by displaying bubbles.
[0096] S6. Determine the corresponding bubble style based on the selected items.
[0097] Taking Android applications as an example, the ViewHolder corresponding to the valid item is obtained, and then the corresponding ItemType is found. The corresponding bubble style can be found through the ItemType.
[0098] S7. Determine whether the bubble view component corresponding to the required bubble style can be found in the cache.
[0099] S71a If a bubble view component with the corresponding bubble style cannot be found in the cache, then a bubble view component with the corresponding bubble style will be created.
[0100] S72a. Store the created bubble view component with bubble style into the cache.
[0101] To facilitate subsequent use, the corresponding bubble view component can be directly retrieved from the cache, reducing the time and computing power required for bubble display and effectively improving the user experience.
[0102] S71b, which is parallel to S71a, retrieves the bubble view component corresponding to the required bubble style from the cache if it can be found there.
[0103] S8. Display the obtained bubble view component on the corresponding item.
[0104] This can include bubble view components retrieved directly from the cache and / or newly created ones. Subsequently, the user can specify the corresponding bubble number for that bubble view component and then perform the corresponding function.
[0105] like Figure 3 As shown, bubbles can be created starting from 1 for each item displayed on the current screen, with 1 to 4 being bubble numbers. In a traditional solution, the numbering of these four bubbles would be set according to the total number of items on the list page, resulting in 38 to 41 items. However, in this solution, they are set to simple numbers 1 to 4, which effectively reduces the occurrence of users saying very large numbers. Subsequently, it can respond to voice control commands and accurately execute operations on the items corresponding to the bubble numbers in the commands.
[0106] S9. Continue to determine in real time whether the user triggers the list scrolling again.
[0107] S10. When the list is in a sliding state, all displayed bubble view components can be hidden.
[0108] By applying the technical solution of this embodiment, bubbles can be displayed dynamically, and only the items currently displayed on the screen can be numbered, which can effectively improve the user experience.
[0109] Furthermore, as Figure 1 and Figure 2 The specific implementation of the method shown in this embodiment provides a voice control device, such as... Figure 6 As shown, the device includes: an acquisition module 31, a setting module 32, a display module 33, and a control module 34.
[0110] Module 31 is configured to retrieve the currently displayed item in the list page;
[0111] Setting module 32 is configured to set bubble numbers based on the currently displayed item;
[0112] Display module 33 is configured to acquire and display bubble view components corresponding to each of the bubble numbers;
[0113] The control module 34 is configured to respond to a voice control command and perform an operation on the item corresponding to the bubble number in the command.
[0114] In specific application scenarios, the setting module 32 is specifically configured to filter out target items that meet the bubble display conditions from the acquired items; and set bubble numbers according to the number of target items.
[0115] In specific application scenarios, module 32 is further configured to filter out target items that meet the bubble display conditions from the obtained items based on the visible area information of the view components corresponding to each item.
[0116] In specific application scenarios, the setting module 32 is further configured to obtain the sliding direction of the list page; if the sliding direction is vertical, then the height of the visible area of each obtained item in the list page is determined, and target items whose visible area height is greater than their own target percentage height are filtered from the obtained items; if the sliding direction is horizontal, then the width of the visible area of each obtained item in the list page is determined, and target items whose visible area width is greater than their own target percentage width are filtered from the obtained items.
[0117] In a specific application scenario, the acquisition module 31 is specifically configured to determine whether the list page is scrolling; if the list page is in a static state, then the currently displayed item in the list page is acquired.
[0118] In a specific application scenario, the display module 33 is specifically configured to obtain a bubble style corresponding to each of the target items; determine whether there is a bubble view component in the cache corresponding to the bubble style; if there is, obtain the bubble view component in the cache corresponding to the bubble style and add it to the corresponding target item for display; if there is no, create the bubble view component according to the bubble style and add it to the corresponding target item for display.
[0119] In specific application scenarios, this device also includes: a storage module;
[0120] The storage module is configured to store the corresponding bubble view components created according to the bubble style in a cache after the bubble view components are created according to the bubble style.
[0121] In specific application scenarios, the display module 33 is further configured to, after obtaining and displaying the bubble view components corresponding to each bubble number, hide the displayed bubble view components when the list page is scrolling; and when the list page is stationary, obtain and display the corresponding bubble view components based on the latest displayed item in the list page.
[0122] It should be noted that other corresponding descriptions of the functional units involved in the voice control device provided in this embodiment can be found in [reference needed]. Figure 1 and Figure 2 The corresponding descriptions in [the document] will not be repeated here.
[0123] Based on the above, Figure 1 and Figure 2 Accordingly, this embodiment also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-described method. Figure 1 and Figure 2 The method shown.
[0124] Based on this understanding, the technical solution of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as CD-ROM, USB flash drive, mobile hard drive, etc.) and includes several instructions to cause a computer device (such as personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of this application.
[0125] Based on the above, Figure 1 and Figure 2 The method shown, and Figure 6 To achieve the above objectives, this application also provides an electronic device, which can be configured on the end side of a vehicle (such as a new energy vehicle or a traditional vehicle), as shown in the virtual device embodiment. The device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-described objectives. Figure 1 and Figure 2 The method shown.
[0126] Optionally, the aforementioned physical devices may also include a user interface, a network interface, a camera, radio frequency (RF) circuitry, sensors, audio circuitry, a Wi-Fi module, etc. The user interface may include a display screen, input units such as a keyboard, etc., and optional user interfaces may also include USB interfaces, card reader interfaces, etc. The network interface may optionally include standard wired interfaces, wireless interfaces (such as Wi-Fi interfaces), etc.
[0127] Those skilled in the art will understand that the physical device structure provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or combine certain components, or have different component arrangements.
[0128] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the aforementioned physical device, supporting the operation of information processing programs and other software and / or programs. The network communication module is used to enable communication between the various components within the storage medium, as well as communication with other hardware and software in the information processing physical device.
[0129] Based on the aforementioned electronic device, this application embodiment also provides a vehicle, which may specifically include: such as Figure 6 The vehicle shown is equipped with a device or electronic device as described above for implementing this method. Specifically, the vehicle can be a new energy vehicle or a traditional vehicle, etc.
[0130] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented using software plus necessary general-purpose hardware platforms, or it can be implemented using hardware. By applying the solution of this embodiment, bubble numbers can be set for the currently displayed items on the list page, and the corresponding bubble view component can be obtained and displayed. This bubble view component includes bubble numbers that can be set only according to the number of currently displayed items, rather than according to the total number of items on the list page. This greatly reduces the number of bubble numbers provided to the user for voice control selection, ensuring that the numbers displayed on the bubbles are small, thus effectively reducing the occurrence of users speaking large numbers. Subsequently, it can respond to voice control commands and accurately execute operations on the items corresponding to the bubble numbers in the commands. By applying the technical solution of this embodiment, bubbles can be displayed dynamically, and bubble numbers can be assigned only to the items currently displayed on the screen, effectively improving the user experience.
[0131] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the term "comprising" or any other variations thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0132] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A voice control method, characterized in that, include: Retrieve the currently displayed item in the list page; Set the bubble number based on the currently displayed item; Obtain and display the bubble view component corresponding to each of the bubble numbers; wherein, the bubble view component is displayed at the corresponding position on the item; In response to a voice control command, perform the operation corresponding to the entry with the bubble number in the command; The step of setting bubble numbers based on the currently displayed items includes: determining the current visible area range of each obtained item in the list page based on the scrolling direction of the list page, and filtering out target items whose visible area range is greater than their own target percentage range from the obtained items; setting bubble numbers according to the number of target items; wherein the target items are valid items among the obtained items that meet the bubble display conditions.
2. The method according to claim 1, characterized in that, The step of setting bubble numbers based on the currently displayed item includes: Filter the obtained entries to select the target entries that meet the bubble display criteria.
3. The method according to claim 2, characterized in that, The step of filtering target entries that meet the bubble display criteria from the acquired entries includes: Based on the visible area information of the view components corresponding to each item, target items that meet the bubble display conditions are filtered out from the obtained items.
4. The method according to claim 3, characterized in that, The step of filtering target items that meet the bubble display conditions from the obtained items based on the visible area information of the view components corresponding to each item includes: Obtain the scrolling direction of the list page; If the sliding direction is up or down, then the height of the visible area of each of the obtained items in the list page is determined, and target items whose visible area height is greater than their own target percentage height are filtered out from the obtained items. If the sliding direction is left or right, then the width of the visible area of each of the obtained items in the list page is determined, and target items whose visible area width is greater than their own target percentage width are filtered out from the obtained items.
5. The method according to claim 4, characterized in that, The step of retrieving the currently displayed items on the list page includes: Determine whether the list page is being scrolled; If the list page is in a static state, then retrieve the currently displayed item in the list page.
6. The method according to claim 2, characterized in that, The step of obtaining and displaying the bubble view components corresponding to each bubble number includes: Obtain the bubble style of the type corresponding to each of the target entries; Determine whether a bubble view component corresponding to the bubble style exists in the cache; If it exists, retrieve the bubble view component corresponding to the bubble style from the cache and add it to the corresponding target item for display; If it does not exist, then create the bubble view components according to the bubble style and add them to the corresponding target entries for display.
7. The method according to claim 6, characterized in that, After creating the bubble view components according to the bubble style, the method further includes: Store the corresponding bubble view component created according to the bubble style in the cache.
8. The method according to any one of claims 1 to 7, characterized in that, After obtaining and displaying the bubble view components corresponding to each of the bubble numbers, the method further includes: When the list page is scrolling, the displayed bubble view component is hidden; when the list page is stationary, the corresponding bubble view component is retrieved and displayed based on the latest displayed item in the list page.
9. A voice control device, characterized in that, include: The retrieval module is configured to retrieve the currently displayed items on the list page; The settings module is configured to set bubble numbers based on the currently displayed item; The display module is configured to acquire and display the bubble view component corresponding to each of the bubble numbers; wherein the bubble view component is displayed at the corresponding position on the item; The control module is configured to respond to a voice control command and execute an operation corresponding to the entry with the bubble number in the command; The step of setting bubble numbers based on the currently displayed items includes: determining the current visible area range of each obtained item in the list page based on the scrolling direction of the list page, and filtering out target items whose visible area range is greater than their own target percentage range from the obtained items; setting bubble numbers according to the number of target items; wherein the target items are valid items among the obtained items that meet the bubble display conditions.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 8.
11. An electronic device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 8.
12. A vehicle, characterized in that, include: The apparatus of claim 9, or the electronic device of claim 11.
Citation Information
Patent Citations
Control method and system for slide list
CN103729124A
Human-computer interaction method, electronic equipment and system
CN114255745A
Method and apparatus for processing inputs into a computing device
US20030061053A1