Display device and speech control method
By constructing a voice scrolling control word list for the scrolling control in the display device, the problem of difficult voice control of the interface-less descriptor control is solved, voice operation of the scrolling control is realized, and the user experience and control flexibility are improved.
Patent Information
- Application Number
- PCT/CN2023/143115
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-22
- Filing Date
- 2023-12-29
- Publication Date
- 2024-08-29
AI Technical Summary
There are controls without interface descriptors in some interfaces of existing display devices, making it difficult to perform voice control through interface descriptor matching. In particular, scroll controls lack unique interface descriptors, making it difficult to achieve voice control.
By determining the scroll control contained in the current display interface in the display device, and constructing a voice scroll control word list of the scroll control, indicating the correspondence between the scroll direction of the scroll control and the semantic control words, in response to the user's voice control instructions, control The target scroll control performs operations in the scroll direction indicated by the voice control text.
It realizes voice control of the scroll control in the display device, overcomes the disadvantage of difficult voice control of the interface-less descriptor control, and improves the flexibility of the control method and the user experience.
Smart Images

Figure CN2023143115_29082024_PF_FP_ABST
Abstract
Description
Display device and voice control method
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent application No. 202310155184.8, filed on February 22, 2023, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of voice control technology, and in particular to a display device and a voice control method. Background Art
[0004] With the development of voice control technology, voice functions are also integrated into various display devices (such as smart TVs), and users can jump to / open specified applications through voice commands.
[0005] Typically, the display interface of a display device maintains multiple controls that can respond to voice control commands, and the controls can display corresponding interface description words to the outside world. After receiving the user's voice control command, the display device matches the voice control text corresponding to the voice control command with the interface description words of each control in the current display interface one by one. If the corresponding interface description word is matched, the control corresponding to the interface description word is controlled to perform the relevant operation. For example, if a resource library control is displayed in the current display interface, then in response to the voice control command of "open resource library", the display device can automatically execute the selection of the resource library control, and then open the resource library to display a variety of multimedia resources for the user to choose.
[0006] However, some display interfaces may contain some controls without interface description words, and therefore, it is not possible to use the above interface description word matching method to perform voice control on them.
[0007] Summary of the Invention
[0008] The present application provides a display device and a voice control method, which can effectively control controls in a display interface that do not have interface description words.
[0009] In a first aspect, the present application provides a display device, comprising a display, a sound collector, and a controller connected to the display and the sound collector, respectively, wherein:
[0010] a display configured to display an image screen and a user interface;
[0011] A sound collector configured to collect user voice control commands;
[0012] The controller is configured as:
[0013] Determining at least one scroll control included in the current display interface;
[0014] Constructing a voice scroll control word list for a scroll control in the current display interface; the voice scroll control word list is used to indicate a correspondence between a scroll direction of the scroll control and a semantic control word;
[0015] In response to the user's voice control instruction, based on the voice scroll control word list and the voice control text corresponding to the voice control instruction, the target scroll control is controlled to perform a scroll operation in the scroll direction indicated by the voice control text; the target scroll control is a scroll control corresponding to the voice control text among the scroll controls contained in the current display interface.
[0016] In a second aspect, the present application provides a voice control method, comprising:
[0017] Determining at least one scroll control included in the current display interface;
[0018] Constructing a voice scroll control word list for a scroll control in the current display interface; the voice scroll control word list is used to indicate a correspondence between a scroll direction of the scroll control and a semantic control word;
[0019] In response to the user's voice control instruction, based on the voice scroll control word list and the voice control text corresponding to the voice control instruction, the target scroll control is controlled to perform a scroll operation in the scroll direction indicated by the voice control text; the target scroll control is a scroll control corresponding to the voice control text among the scroll controls contained in the current display interface.
[0020] In a third aspect, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a controller in a display device, it can implement some or all steps of the voice control method provided in the present application.
[0021] In a fourth aspect, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a controller in a display device, it can implement some or all steps of the voice control method provided in the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the implementation methods of some embodiments of the present application or related technologies, the following is a brief introduction to the drawings required for use in the description of the embodiments or related technologies. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0023] FIG1 is an operation scenario between a display device and a control apparatus shown in some embodiments of the present application;
[0024] FIG2 is a hardware configuration block diagram of a display device shown in some embodiments of the present application;
[0025] FIG3 is a software configuration block diagram of a display device shown in some embodiments of the present application;
[0026] FIG4 is a schematic diagram of control distribution of a display interface shown in some embodiments of the present application;
[0027] FIG5 is a flow chart of a method for executing voice control on a display device according to some embodiments of the present application;
[0028] FIG6 is a schematic diagram of horizontal scrolling of a scroll control shown in some embodiments of the present application;
[0029] FIG7 is a schematic diagram of vertical scrolling of a scroll control shown in some embodiments of the present application;
[0030] FIG8 is a schematic diagram of waterfall scrolling of a scroll control shown in some embodiments of the present application;
[0031] FIG9 is a schematic diagram of a flow chart of a voice-controlled scrolling control performing a scrolling operation according to some embodiments of the present application;
[0032] FIG10 is a schematic diagram showing the distribution of multiple scrolling controls on a display interface according to some embodiments of the present application;
[0033] FIG11 is a schematic diagram of the voice control logic of a scrolling control in a display interface shown in some embodiments of the present application. DETAILED DESCRIPTION
[0034] In order to make the purpose and implementation method of this application clearer, the exemplary implementation method of this application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of this application. Obviously, the described exemplary embodiments are only part of the embodiments of the technical solution of this application, rather than all the embodiments.
[0035] It should be noted that the brief descriptions of terms in this application are only for the purpose of facilitating the understanding of the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and usual meanings.
[0036] The terms "including" and "having" and related variations mentioned in the specification of this application and the above claims are intended to cover but not exclude inclusion. For example, a product / device containing a series of components is not necessarily limited to all the components expressly listed, but may include other components not expressly listed or inherent to these products / devices.
[0037] In the embodiments of the present application, the display device may have various implementation forms, for example, it may be a television, a smart TV, a laser projection device, a monitor, an electronic bulletin board, an electronic table, or it may be a personal computer, a laptop computer, a smart phone, a tablet computer, a portable wearable device, etc.
[0038] Among them, the above-mentioned display device can be controlled by a control device, an intelligent control device, voice, action, gesture, trigger action, etc.
[0039] 1 , in an exemplary control operation scenario between a display device and a control apparatus, a user may operate a display device 200 through a smart device 300 or a control apparatus 100 .
[0040] In some embodiments, the control device 100 may be a remote controller. Communication between the remote controller and the display device may include infrared protocol communication, Bluetooth protocol communication, or other short-range communication methods, and the display device 200 may be controlled wirelessly or wired. The user may control the display device 200 by inputting user commands through buttons on the remote controller, voice input, control panel input, and the like.
[0041] In some embodiments, a smart device 300 (such as a mobile terminal, tablet computer, computer, laptop computer, etc.) can also be used to control the display device 200. For example, the display device 200 can be controlled using an application running on the smart device.
[0042] In some embodiments, the display device 200 may not receive instructions through the smart device 300 or the control apparatus 100, but may receive user control through touch or gestures.
[0043] In some embodiments, the display device 200 can also be controlled in a manner other than the control apparatus 100 and the smart device 300. For example, the display device 200 can directly receive the user's voice command control through a module for acquiring voice commands configured within the display device 200; or the display device 200 can receive the user's voice command control through a voice control device provided externally.
[0044] In some embodiments, the display device 200 also communicates data with the server 400, allowing the display device 200 to communicate via a local area network (LAN), a wireless local area network (WLAN), or other networks.
[0045] Among them, the server 400 can provide various contents and interactions to the display device 200.
[0046] As an example, server 400 can be an independent server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), as well as big data and artificial intelligence platforms.
[0047] 2 , the display device 200 may include at least one of a tuner and demodulator 210 , a communicator 220 , a detector 230 , an external device interface 240 , a controller 250 , a display 260 , an audio output interface 270 , a memory 280 , a power supply, and a user interface.
[0048] In some embodiments, the tuner / demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio and video signals from multiple wireless or wired broadcast television signals, such as Electronic Program Guide (EPG) data signals.
[0049] In some embodiments, the tuner 210 and the controller 250 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
[0050] In some embodiments, the communicator 220 is a component for communicating with an external device or the server 400 according to various communication protocols. For example, the communicator may include at least one of a Wi-Fi module, a Bluetooth module, a wired Ethernet module, or other network communication protocol chips or a near-field communication protocol chip, and an infrared receiver.
[0051] In some embodiments, the display device 200 may establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220 .
[0052] For example, the display device can communicate with the cloud server through the communicator, send data information that needs to be processed to the cloud server, and obtain the data information processed by the cloud server.
[0053] In some embodiments, the detector 230 is used to collect signals from the external environment or the interaction between the display device 200 and the outside world. For example, the detector 230 includes an image collector, such as a camera, which can be used to collect external environmental scenes, user attributes, or user interaction gestures; or the detector 230 includes a sound collector, such as a microphone, which is used to collect external sounds.
[0054] In the interactive scenario of the voice-controlled display device shown in this application, the sound collector can be used to collect the user's voice control instructions.
[0055] In some embodiments, the external device interface 240 may include, but is not limited to, any one or more of the following: a High Definition Multimedia Interface (HDMI), an analog or digital high-definition component input interface (component), a composite video broadcast signal (CVBS), a Universal Serial Bus (USB) input interface, an RGB port, or the like. Alternatively, the external device interface 240 may be a composite input / output interface formed by multiple of the aforementioned interfaces.
[0056] In some embodiments, the controller 250 includes: a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), RAM (Random Access Memory, RAM), ROM (Read-Only Memory, ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.
[0057] The controller 250 can control the operation of the display device 200 and respond to user operations through various software control programs stored in the memory 280. The controller 250 controls the overall operation of the display device 200. For example, in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 can perform operations related to the object selected by the user command.
[0058] In the interactive scenario of the voice-controlled display device shown in the present application, the controller is configured to determine at least one scrolling control contained in the current display interface and construct a voice scrolling control word list for the scrolling control in the current display interface; then, after the sound collector receives the user's voice control instruction, based on the voice scrolling control word list and the voice control text corresponding to the voice control instruction, in the scrolling controls contained in the current display interface, the target scrolling control corresponding to the voice control text is controlled to perform a scrolling operation in the scrolling direction indicated by the voice control text.
[0059] In some embodiments, the display 260 includes a display screen component for presenting images and a driver component for driving image display. The display 260 is used to receive image signals output by the controller 250 and display video content, image content, and menu control interface components and user control UI interface.
[0060] As an example, the display 260 may be a liquid crystal display, an OLED display, or a projection display, and may also be a projection device and a projection screen.
[0061] The user may input a user command through a graphical user interface (GUI) displayed on the display 260, and the user interface receives the user input command through the GUI. Alternatively, the user may input a user command through a specific sound or gesture, and the user interface receives the user input command by recognizing the sound or gesture through a detector.
[0062] In the interactive scenario of the voice-controlled display device shown in this application, the display 260 is configured to display image images and a user interface.
[0063] Among them, "user interface" is the media interface for interaction and information exchange between applications or operating systems and users. It realizes the conversion between the internal form of information and the form that users can accept.
[0064] As an example, the user interface may be an interface element such as an icon, a window, a control, etc. displayed on the display of the display device 200 .
[0065] Among them, controls may include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets and other visual interface elements.
[0066] Referring to Figure 3, taking the deployment of the Android software platform in the display device 200 as an example, the display device 200 divides the Android operating system into four layers, namely, from top to bottom, applications (Applications, referred to as "application layer"), application framework (Application Framework) layer (referred to as "framework layer"), Android runtime (Android runtime) and system library layer (referred to as "system runtime library layer"), and kernel layer.
[0067] In some embodiments, at least one application program is running in the application layer. These applications can be window programs, system settings programs, clock programs, etc. that come with the Android operating system; or they can be applications developed by third-party developers.
[0068] It should be understood that the application programs included in the application layer are not limited to the above examples, and may also include other application programs.
[0069] The framework layer provides an application programming interface (API) and a programming framework for applications. The application framework layer includes some predefined functions.
[0070] In other words, the framework layer is like a processing center that determines the actions taken by applications in the application layer. Applications can access resources and services in the Android system through APIs during execution.
[0071] In some embodiments, the framework layer includes managers, content providers, view component systems, etc.
[0072] Among them, the manager includes at least one of the following modules: Activity Manager (Activity Manager) is used to interact with all activities running in the system; Location Manager (Location Manager) is used to provide system services or applications with access to system location services; File Package Manager (Package Manager) is used to retrieve various information related to the application package currently installed on the device; Notification Manager (Notification Manager) is used to control the display and clearing of notification messages; Window Manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers and desktop components on the user interface.
[0073] In some embodiments, the activity manager is used to manage the life cycle of each application and the usual navigation back function, such as controlling the exit, opening, and back of the application; the window manager is used to manage all window programs, such as obtaining the display size, determining whether there is a status bar, locking the screen, capturing the screen, controlling the display window changes (for example, reducing the display window, shaking the display, distorting the display, etc.), etc.
[0074] In some embodiments, the system runtime layer provides support for the upper layer (ie, the framework layer). When the framework layer is used, the Android operating system will run the C / C++ library contained in the system runtime layer to implement the functions to be implemented by the framework layer.
[0075] In some embodiments, the kernel layer is a layer between hardware and software. The kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, Wi-Fi driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver.
[0076] After introducing the control interaction scenario, hardware structure and deployed software platform of the display device, next, based on the above-mentioned display device 200, the specific implementation process of the voice control method of the display device is described in detail.
[0077] With the development of intelligent information technology, the wider the voice control scenarios and coverage, the greater the market share. Voice functions are also integrated into various display devices, allowing users to view various multimedia resources and jump to / open specific applications through voice control commands.
[0078] Voice control can be implemented between applications on a display device using direct access words, enabling direct jumps / switches between applications installed on the display device. That is, when the voice control text corresponding to a user-input voice control instruction is a direct access word for a particular application, the display device responds to the voice control instruction by jumping from the current application to the target application indicated by the voice control text corresponding to the voice control instruction.
[0079] As an example, when a user needs to exit the video application currently being browsed to the home page, he or she can input the voice control command "return to the home page" to instruct the display device to switch from the currently running video application to the home page, making it easier for the user to select other applications / multimedia resources of interest on the home page.
[0080] It should be understood that the homepage is a user interface that displays and directly accesses various application interfaces. Users can browse recommended multimedia resources and applications on the homepage to select multimedia resources of interest for playback, or open the application of interest to play / browse related content within the application.
[0081] In some embodiments, for a single application, due to the various scenarios within the application, voice control cannot be achieved between scenarios using the aforementioned direct access words. Instead, control can only be achieved through interface description words in different display interfaces. That is, when the voice control text corresponding to the voice control instruction input by the user is the interface description word of a control in the current display interface, the display device responds to the voice control instruction by opening / selecting the target control indicated by the voice control text corresponding to the voice control instruction in the current display interface.
[0082] Among them, since the scenes within the application are relatively fixed, a voice interface control word list corresponding to each display interface within the application can be constructed during the first loading process after each application update. Therefore, after receiving the user's voice control instructions, the target control that requires the user's request to operate can be quickly determined in the current display interface based on the voice interface control word list.
[0083] As an example, after the display device receives the user's voice control command, it matches the voice control text corresponding to the voice control command with the interface description words of each control in the voice interface control word list one by one. If the corresponding interface description word is matched, the target control corresponding to the interface description word is opened / selected in the current display interface.
[0084] In addition, in some display interfaces, in addition to the above-mentioned controls carrying interface description words, the display interface also includes some controls without interface description words, such as scroll controls.
[0085] It should be noted that the display interface containing scroll controls in the display device may include at least one of a homepage, a web page, and a user interface within an application, and some embodiments of the present application do not impose any restrictions on this.
[0086] Among them, the scroll control is used to implement sliding and page turning operations. Since the scroll control has no interface description words and the scrolling direction is not unique, it is difficult to control it by voice by building a voice interface control word list and matching interface description words.
[0087] For ease of understanding, refer to Figure 4. Taking the display interface of the device homepage as an example, the display interface includes multiple controls such as search, time, VIP, footprints, news, history, selections, multimedia resources (referred to as media resources), etc. The user can select a target control from the controls displayed in the display interface through the above-mentioned control device 100, the above-mentioned smart device 300 or voice control instructions to open the content display interface of the target control.
[0088] As an example, if the user needs to operate control A in the display interface shown in Figure 4, the user inputs the voice control command of "activate VIP" to the display device. After the display device receives the voice control command, it traverses the interface description words of each control in the voice interface control word list of the display interface according to the voice control text corresponding to the voice control command. After matching the control corresponding to the interface description word of "activate VIP" as control A, it operates control A to open the content display interface for activating VIP, so that the user can further perform related operations for activating VIP rights in the content display interface.
[0089] However, there is no corresponding interface description word for the scroll control, the number of scroll controls contained in a display interface may be different, and the scrolling direction of each scroll control is not unique. Therefore, it is impossible to determine the target scroll control that the user needs to operate from the display interface based on the user's voice control instructions through the above-mentioned interface description word matching method.
[0090] Continuing to refer to Figure 4, for the scrolling controls in the display interface that do not carry interface description words: control B and control C, control B can slide up or down, and control C can slide left or right, and controls B and C are only displayed as a sliding bar in the display interface, and there are no corresponding interface description words. Therefore, it is difficult to determine in the display interface whether the target scrolling control to be operated is control B or control C based on the user's voice control instructions.
[0091] Based on this, the present application provides a voice control method to identify scroll controls in the current display interface and construct a voice scroll control word list for the scroll controls in the current display interface. This allows the display device 200 to, after receiving a user's voice control instruction, determine the target scroll control to be operated in the current display interface based on the voice scroll control word list and the voice control text corresponding to the voice control instruction, and control the target scroll control to perform a scroll operation in the direction indicated by the voice control text. In this way, voice control of scroll controls in a display device is implemented.
[0092] 5 , when the display device 200 executes the voice control method provided in this application, the controller 250 in the display device 200 is configured to perform the following steps:
[0093] Step 510: Determine at least one scroll control included in the current display interface.
[0094] It should be understood that the current display interface may not have a scroll control, may contain one scroll control, or may contain multiple scroll controls. If the current display interface does not have a scroll control, the user can directly use voice control to open / select the corresponding control according to the interface description of each control in the current display interface.
[0095] If there is a scroll control in the current display interface, the technical solution provided in this application is executed to determine at least one scroll control contained in the current display interface, and construct a voice scroll control word list for the scroll control in the current display interface to realize voice control of the scroll control in the current display interface to perform scrolling operations.
[0096] As described above, the current display interface in some embodiments of the present application includes at least one of a home page, a web page, and a user interface within an application.
[0097] In some embodiments, if the current display interface is the home page, when executing the above step 510, the controller is further configured to: after the display device is powered on, obtain the scroll control contained in the home page, and implement voice control of the scroll control in the home page to perform scrolling operations through the following steps 520-530.
[0098] In some embodiments, if the current display interface is a web page, when executing the above step 510, the controller is further configured to: when a jump operation based on a web page link is detected, use web crawler technology to obtain web page related information of the jump web page, and obtain the web page content of the web page by parsing the web page related information, so as to determine whether there is a scroll control in the web page based on the web page content.
[0099] As an example, the total height of all content items on the webpage is determined based on the webpage content. If the total height of the content items is greater than the window height of the display interface, then a scroll control exists on the webpage, and the scrolling direction of the scroll control is vertical scrolling. If the total height of the content items is not greater than the window height of the display interface, then no scroll control exists on the webpage.
[0100] If it is determined that a scroll control exists in the webpage, the scroll control in the webpage can be voice-controlled to perform a scrolling operation through the following steps 520 to 530 .
[0101] In some embodiments, if the current display interface is a user interface within an application, when executing the above step 510, the controller is further configured to: monitor changes in the display interface of the target application after the target application is started; if the display interface changes, obtain control information of multiple controls contained in the changed current display interface; and determine at least one scrolling control contained in the current display interface based on the control information.
[0102] It should be noted that the target application can be a system application that comes with the display device 200, an application installed by the user in the display device 200, or a third-party application launched through a network link. Some embodiments of the present application do not limit the source and type of the target application.
[0103] That is, the target application in this application is any application triggered to start by the user in the display device 200.
[0104] In one possible implementation, after the target application in the display device is started, it will register an accessibility service in the framework layer of the Android system. The accessibility service can receive some events triggered by the Android system, such as notification status, view-related events, fingerprints, button clicks (touch), etc.
[0105] Therefore, when the target application begins running and the target application is launched, the accessibility service monitors changes to the target application's display interface in real time. When the display interface changes, the accessibility service's callback interface receives the interface change notification. This allows the accessibility service to retrieve the root view node (Node Root) control of the current display interface after the change, as well as the child view node controls corresponding to each root view node control, ultimately obtaining all controls contained in the current display interface.
[0106] Each control on the display device stores control information such as its type and function description. This information is stored in a structure tree. Therefore, based on the aforementioned characteristics, the control information for all controls on the current display can be obtained using the structure tree.
[0107] Furthermore, a control node list (Node List) corresponding to the current display interface may be generated according to the control information of all controls included in the current display interface.
[0108] It should be noted that the control node list includes controls with interface description words in the current display interface and scroll controls without interface description words.
[0109] Therefore, the control node list can be traversed, and the type of each control in the control node list can be judged to determine the scroll control node list (Scroll Node List) corresponding to the current display interface.
[0110] In one possible implementation, the corresponding interface (such as the isScroll interface) is called through the accessibility service to determine whether the control corresponding to each node in the structure tree of the current display interface supports scrolling. If scrolling is supported, the control is determined to be a scroll control and is added to the scroll control node list.
[0111] In some embodiments, if the scroll control included in the display interface is relatively fixed (for example, the display position, type, function information, etc. of the scroll control do not change within a preset time period), the correspondence between the display interface and the scroll control node list can be stored after the scroll control corresponding to the display interface is initially determined. When the display interface is subsequently opened, the scroll control included in the display interface can be quickly determined based on the scroll control node list corresponding to the display interface.
[0112] Step 520: Construct a voice scroll control word list for the scroll control in the current display interface.
[0113] The voice scroll control word list is used to indicate the correspondence between the scroll direction of the scroll control and the semantic control words.
[0114] In some embodiments, when executing the above step 520, the controller is further configured to: obtain the display positions of multiple sub-controls controlled by the scrolling control in the current display interface; determine the scrolling direction of the scrolling control based on the display position of each sub-control; and construct a voice scrolling control word list for the scrolling control in the current display interface based on the scrolling direction.
[0115] The display position of the subcontrol may be the display area coordinates of the subcontrol in the current display interface.
[0116] In one possible implementation, a two-dimensional rectangular coordinate system is established with the upper left corner / center point of the current display interface as the coordinate center. Based on this two-dimensional rectangular coordinate system, the display position of each control (scroll control, sub-controls of the scroll control, and other controls with interface descriptors) in the current display interface is determined.
[0117] As an example, the corresponding interface (e.g., getBounds interface) is called through the accessibility service to obtain the display position of each control in the current display interface. The display position may include the boundary coordinates of the control, such as the upper boundary coordinates, lower boundary coordinates, left boundary coordinates, and right boundary coordinates.
[0118] Furthermore, the display height and width of each subcontrol are determined according to the display area coordinates of each subcontrol in the current display interface; and then the scrolling direction of the scrolling control to which each subcontrol belongs is determined according to the display height and display width.
[0119] In some embodiments, when determining the scrolling direction of the scroll control, the controller is further configured to:
[0120] (1) If the display heights of the sub-controls in the current display interface are the same, the scrolling direction of the scrolling control is determined to be horizontal scrolling;
[0121] The display height is the difference between the upper and lower boundary coordinates of the control.
[0122] That is, when the display heights of all sub-controls are the same, it means that multiple sub-controls are distributed horizontally in the current display interface, and the scrolling direction of the scrolling control to which the multiple sub-controls belong is controlled to be horizontal scrolling, so that the corresponding sub-controls can be browsed / selected / opened by sliding left and right / turning pages.
[0123] In one example, referring to FIG6 , taking the display interface as a user interface within a fitness application as an example, the fitness recommendation item in the display interface is a scroll control, and the scroll control can control the sliding of sub-controls corresponding to multiple fitness items.
[0124] Referring to Figure 6, the fitness recommendation items display icons for sub-controls such as finding courses, finding plans, fat loss, body shaping training, yoga, AI games, and screen casting fitness, as well as icons for other sub-controls provided by the fitness application but not displayed in the current display interface, such as icons corresponding to sub-controls such as dance and aerobics.
[0125] For ease of explanation, FIG6 only uses a triangular icon to represent the scroll control corresponding to the fitness recommendation item; of course, the scroll control can also be displayed in other forms, and some embodiments of the present application do not limit this.
[0126] In the display interface of the fitness application, since the display height of the icons of multiple fitness items included in the fitness recommendation item is h, that is, the display height of the multiple sub-controls included in the scroll control corresponding to the fitness recommendation item is the same, the scrolling direction of the scroll control corresponding to the fitness recommendation item is horizontal scrolling.
[0127] In this way, by controlling the scroll control corresponding to the fitness recommendation item to perform a scroll operation in the horizontal direction, multiple fitness items recommended in the fitness application can be browsed in sequence, and then a fitness item of interest can be selected for practice.
[0128] (2) If the display widths of the sub-controls in the current display interface are the same, the scrolling direction of the scrolling control is determined to be vertical scrolling;
[0129] The display width is the difference between the left and right boundary coordinates of the control.
[0130] That is, when the display width of each sub-control is the same, it means that multiple sub-controls are distributed vertically in the current display interface, and the scrolling direction of the scroll control to which the multiple sub-controls belong is controlled to be vertical scrolling, so that the corresponding sub-controls can be browsed / selected / opened by sliding up and down / turning pages.
[0131] In one example, referring to FIG7 , taking the display interface as a user interface within a music application as an example, the playlist in the display interface (i.e., the XXX list in FIG7 ) is a scroll control, which can control the sliding of sub-controls corresponding to multiple songs.
[0132] Referring to FIG. 7 , the playlist displays tabs for songs 01-09, as well as tabs for other sub-controls included in the playlist but not displayed in the current display interface, such as tabs corresponding to songs 10-121.
[0133] For ease of explanation, FIG7 only uses the arrow shown on the right to represent the scroll control corresponding to the playlist; of course, the scroll control can also be displayed in other forms, and some embodiments of the present application do not limit this.
[0134] In the display interface of the music application, since the display width of the tabs of the multiple songs contained in the playlist is d, that is, the display width of the multiple sub-controls contained in the scroll control corresponding to the playlist is the same, the scrolling direction of the scroll control corresponding to the playlist is vertical scrolling.
[0135] In this way, by controlling the scroll control corresponding to the playlist to perform a scroll operation in the vertical direction, all songs included in the playlist can be browsed in sequence, thereby selecting songs of interest to play.
[0136] (3) If the display heights and / or display widths of the sub-controls in the current display interface are different, the scrolling direction of the scrolling control is determined to be waterfall scrolling.
[0137] That is, if the display heights of the sub-controls are different, or the display widths of the sub-controls are different, or the display heights and display widths of the sub-controls are different, it means that the multiple sub-controls are distributed in a waterfall flow manner in the current display interface, then the scrolling direction of the scroll control to which the multiple sub-controls belong is controlled to be waterfall flow scrolling, so that multiple sub-controls can be loaded by sliding up and down / turning pages, so that the user can browse / select / open the sub-controls of interest.
[0138] In one example, referring to FIG8 , a user interface of a picture viewing application is taken as an example. The display interface includes a scroll control, which can control pictures corresponding to multiple sub-controls. These sub-controls display corresponding pictures in a waterfall flow manner in the display interface.
[0139] 8 , the display interface includes pictures 1 to 8, pictures corresponding to video 9, and pictures corresponding to other sub-controls not displayed in the display interface.
[0140] For ease of explanation, FIG8 only uses the scroll bar on the right to represent the scroll control in the display page; of course, the scroll control can also be displayed in other forms, and some embodiments of the present application do not limit this.
[0141] In the display interface of the picture viewing application, since pictures 1-8 and video 9 are located in different display areas in the current display interface, the boundary coordinates of the sub-controls corresponding to pictures 1-8 and video 9 are different. Therefore, the display heights and / or display widths of the sub-controls corresponding to pictures 1-8 and video 9 are different, and the scrolling direction of the scroll control is waterfall scrolling.
[0142] In this way, by controlling the scroll control in the display page to perform a scroll operation in the vertical direction, multiple pictures can be loaded at a time after each scroll operation, so that pictures of interest can be selected to perform operations such as preview / download / processing.
[0143] In some embodiments, when constructing a voice scrolling control word list for a scrolling control in the current display interface, the controller is further configured to: set the semantic control words corresponding to the scrolling control according to the scrolling direction of the scrolling control; and then generate a voice scrolling control word list for the scrolling control in the current display interface according to the scrolling direction and semantic control words of the scrolling control in the current display interface.
[0144] Among them, semantic control words include sliding semantic words and page turning semantic words.
[0145] As an example, for a scroll control with horizontal scrolling direction, the set sliding semantic words include "slide left" and "slide right"; for a scroll control with vertical scrolling direction, the set sliding semantic words include "slide up" and "slide down"; for a scroll control with waterfall scrolling direction, the set sliding semantic words include "slide up", "slide down", "slide left" and "slide right".
[0146] As an example, page-turning semantic words include "previous page" and "next page".
[0147] In some embodiments, assuming that the scroll controls in the current display interface include an M control, an N control, and a P control, and that the scroll direction of the M control is horizontal scrolling, the scroll direction of the N control is vertical scrolling, and the scroll direction of the P control is waterfall scrolling, then for this current display interface, the following Table 1 provides an exemplary list of voice scroll control words.
[0148] Table 1
[0149] Step 530: In response to the user's voice control instruction, based on the voice scroll control word list and the voice control text corresponding to the voice control instruction, control the target scroll control to perform a scroll operation in the scroll direction indicated by the voice control text.
[0150] The target scroll control is a scroll control corresponding to the voice-controlled text among the scroll controls included in the current display interface.
[0151] In some embodiments, referring to FIG. 9 , when implementing the above step 530 , the controller is further configured to perform the following sub-steps:
[0152] Step 531: Obtain the voice control text corresponding to the voice control instruction.
[0153] Among them, the display device can establish a communication connection between the controller and the cloud server through the communicator, so that the voice control instructions can be parsed by the cloud server, thereby reducing the data processing volume and algorithm storage resource consumption of the display device.
[0154] In some embodiments, when implementing the above step 531, the controller is further configured to: send the voice control instruction to the cloud server to request the cloud server to parse and process the voice control instruction; and receive the voice control text corresponding to the voice control instruction sent by the cloud server.
[0155] That is, some embodiments of the present application store the voice analysis algorithm in a cloud server. After the cloud server receives the voice control instruction sent by the display device, it analyzes the voice control instruction and obtains the voice control text corresponding to the voice control instruction.
[0156] In some embodiments, if the cloud server parses the voice control instruction and determines that the voice control instruction is an invalid instruction (for example, the relevant control word character information is not parsed), it sends abnormal result feedback information to the display device to instruct the display device not to perform control operations on any controls for the time being and continue to detect the voice control instructions input by the user.
[0157] Step 532: Match the voice control text with the semantic control words in the voice scroll control word list to determine the target scroll control that the voice control text requests to control in the current display interface, and the target scroll direction of the target scroll control.
[0158] Among them, if there is only one matching scrolling control for the voice control text in the current display interface, the scrolling control is directly determined as the target scrolling control, and the target hybrid control is controlled to perform a scrolling operation in the target scrolling direction according to the voice control text, that is, step 533.
[0159] In some embodiments, if the current display interface contains multiple candidate scrolling controls corresponding to the voice-controlled text, when executing the above step 532, the controller is further configured to: obtain the control priority of each candidate scrolling control; and determine the target scrolling control from the multiple candidate scrolling controls according to the control priority.
[0160] In a possible implementation, the control priority of each candidate scrolling control is determined according to the management and control relationship between each candidate scrolling control and the display position of each candidate scrolling control in the current display interface.
[0161] Among them, in the structure tree corresponding to the current display interface, the priority of the scroll control at the parent node is higher than the priority of the scroll control at the child node.
[0162] Among them, the priority of the scroll control whose display position is on the upper left side of the current display interface is higher than the priority of the scroll control whose display position is on the lower right side of the current display interface.
[0163] As an example, referring to the display interface shown in FIG10 , the display interface includes multiple scroll controls: W control, X control, Y control, and Z control. Among them, the W control can control the X control, Y control, and Z control, and the W control has a higher priority than the X control, Y control, and Z control.
[0164] The control priorities of the X control, the Y control, and the Z control can be further determined according to their display positions in the display interface. The X control is at the top of the display interface and has the highest priority; the Z control is at the bottom of the display interface and has the lowest priority. Therefore, the control priorities of the X control, the Y control, and the Z control are: control X > control Y > control Z.
[0165] Therefore, the control priority of the four scroll controls in FIG10 is: control W>control X>control Y>control Z.
[0166] In this way, after the control priority of the scroll control in the current interface is determined, a target scroll control can be determined to perform a scroll operation according to the voice control instruction and the voice scroll control word list.
[0167] It should be understood that after receiving the user's voice control command, the controller can determine the control that the user requests to control in the current display interface in the order of "voice interface control word list first, then voice scrolling control word list"; the controller can also determine the control that the user requests to control in the current display interface in the order of "voice scrolling control word list first, then voice interface control word list". Some embodiments of the present application do not limit this.
[0168] In some embodiments, if it is determined that the current display interface includes a scroll control, after the display device receives the user's voice control instruction, it can first determine based on the voice scroll control word list whether the voice control text corresponding to the voice control instruction has a target scroll control requested to be controlled in the current display interface.
[0169] Furthermore, if a target scrolling control that matches the voice control text cannot be determined based on the voice scrolling control word list, the voice interface control word list of the currently displayed interface is further determined based on the voice control text to determine whether there is a target control for which control is requested. The interface description word of the target control in the voice interface control word list is the same as the voice control text.
[0170] Step 533: According to the voice control text, control the target scroll control to perform a scroll operation in the target scroll direction.
[0171] In some embodiments, when implementing the above step 533, the controller is further configured to: obtain the target scrolling distance of the target scrolling control according to the voice control text; and control the target scrolling control to perform a scrolling operation in the target scrolling direction according to the target scrolling distance.
[0172] Among them, the voice control text can include sliding voice text and page turning voice text.
[0173] In one possible implementation, if the voice-controlled text is a sliding voice text, the scrolling distance may be a preset distance value. For example, the distance value may be set based on the display height, display width, display position interval, etc. of the multiple sub-controls controlled by the scroll control, and some embodiments of the present application do not limit this.
[0174] As an example, if the voice control text is a sliding voice text, see Figure 6, the scrolling distance of the scroll control can be the display position interval between the "Find Course" icon and the "Find Plan" icon; see Figure 7, the scrolling distance of the scroll control can be the display width of the tab of Song 01, that is, d; see Figure 8, the scrolling distance of the scroll control can be the display width or display height of any picture in the display interface.
[0175] In some embodiments, if the voice-controlled text is a page-turning voice text, when calculating the scrolling distance, the controller is further configured to: if the scrolling direction is horizontal scrolling, the scrolling distance is calculated based on the display position of the rightmost sub-control and the display position of the leftmost sub-control controlled by the target scrolling control; if the scrolling direction is vertical scrolling or waterfall scrolling, the scrolling distance is calculated based on the display position of the topmost sub-control and the display position of the bottommost sub-control controlled by the target scrolling control.
[0176] As an example, if the voice control text is a page-turning voice text, see Figure 6, the scrolling distance of the scroll control can be the total display width value between the "Find Courses" icon and the "Cast Screen Training" icon; see Figure 7, the scrolling distance of the scroll control can be the total display height value between the tabs of songs 01 to 09, that is, 9*d; see Figure 8, the scrolling distance of the scroll control can be the total display height value or total display width value of multiple pictures in the current display interface, for example, the scrolling distance can be the total display height value of Picture 2 and Picture 6 in the display interface.
[0177] Based on the above, the controller in the display device provided by the present application is connected to the display and the sound collector, respectively. During the display displaying an image and a user interface, the controller identifies at least one scroll control included in the current display interface and constructs a voice scroll control word list for the scroll control in the current display interface. The voice scroll control word list is used to represent the correspondence between the scroll direction of the scroll control and the semantic control word. Furthermore, after detecting and collecting a user's voice control instruction, the sound collector sends the voice control instruction to the controller, so that the controller, in response to the voice control instruction, controls the target scroll control corresponding to the voice control instruction in the current display interface to perform a scrolling operation based on the pre-constructed voice scroll control word list and the voice control text corresponding to the voice control instruction. In this way, by identifying the scroll control and constructing the voice scroll control word list for the scroll control, when the display device receives the user's voice control instruction, it can control the target scroll control in the current display interface to perform a scrolling operation according to the voice control instruction. This overcomes the disadvantage that scroll controls cannot be directly controlled by voice, realizes full voice control of all controls in the display device, improves the flexibility and convenience of display device control, and enhances the user experience.
[0178] It should be understood that, although the various steps in the flowcharts involved in the above-described embodiments are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified 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 the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0179] In addition, the present application also provides a voice control method, which can be applied to the above-mentioned display device 200 or other electronic devices, and the method includes:
[0180] Determining at least one scroll control included in the current display interface;
[0181] Constructing a voice scroll control word list for a scroll control in the current display interface; the voice scroll control word list is used to indicate a correspondence between a scroll direction of the scroll control and a semantic control word;
[0182] In response to the user's voice control instruction, based on the voice scroll control word list and the voice control text corresponding to the voice control instruction, the target scroll control is controlled to perform a scroll operation in the scroll direction indicated by the voice control text; the target scroll control is a scroll control corresponding to the voice control instruction among the scroll controls contained in the current display interface.
[0183] In some embodiments, referring to FIG11 , the voice control logic for a scrolling control is as follows: after the target application is launched, an accessibility service is registered that can monitor page changes, and changes to the displayed page are monitored through the accessibility service. When a control on the displayed page changes, i.e., when the displayed page changes, the root view node control and the sub-view node controls controlled by the root view node control in the current display interface are obtained based on the control structure tree in the current display interface. Based on the root view node control and the sub-view node controls, a control node list corresponding to the current display interface is generated.
[0184] Furthermore, the control node list of the current display interface is traversed to determine at least one scroll control included in the current display interface, and a scroll control node list corresponding to the current display interface is generated.
[0185] Furthermore, for any scrolling control, the display positions of multiple sub-controls controlled by the scrolling control are obtained, such as the upper boundary coordinates, lower boundary coordinates, left boundary coordinates and right boundary coordinates of the control; according to the display positions of each sub-control controlled by the scrolling control, the scrolling direction of the scrolling control is determined, and the semantic control words corresponding to the scrolling control are set; according to the scrolling direction and semantic control words of each scrolling control, a voice scrolling control word list of the scrolling control in the current display interface is generated.
[0186] If a voice control command is received from the user, when the display device implements voice control, it traverses the voice scroll control word list according to the voice control text corresponding to the voice control command, determines the target scroll control corresponding to the voice control text, and then controls the target scroll control to perform a scroll operation.
[0187] It should be noted that, when the current display interface includes multiple scroll controls, the target scroll control in the current display interface is controlled to perform a scrolling operation according to the control priority.
[0188] Regarding the implementation principle and beneficial effects of the voice control method, please refer to the specific limitations of the various embodiments of the controller configuration content in the display device above, which will not be repeated here.
[0189] In some embodiments, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium may store a computer program that, when called and executed by a controller in a display device or other electronic device, implements some or all of the steps of the voice control method provided in the present application.
[0190] As an example, the computer-readable storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
[0191] It should be understood that the technical solutions in some embodiments of the present application can be implemented using software plus a necessary general-purpose hardware platform. Therefore, the technical solutions in some embodiments of the present application, or the portions that contribute to the prior art, can be embodied in the form of a software product, which can be stored in a computer-readable storage medium.
[0192] In some embodiments, the present application further provides a computer program product, wherein the computer program product includes a computer program that, when called and executed by a controller in a display device or other electronic device, can implement some or all of the steps of the voice control method provided in the present application.
[0193] For ease of explanation, the above description has been made in conjunction with specific embodiments. However, the above discussion of some embodiments is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The above embodiments are selected and described to better explain the content of this application, thereby enabling those skilled in the art to better utilize the embodiments.
[0194] That is, for ordinary technicians in this field, any modifications, equivalent replacements, improvements, etc. made without departing from the technical concept of this application should be included in the scope of protection of this application.
Claims
1. A display device, comprising: A display configured to display an image screen and a user interface; A sound collector is configured to collect a user's voice control instructions; A controller connected to the display and the sound collector respectively, wherein the controller is configured as follows: Determine at least one scroll control included in the current display interface; Constructing a voice scroll control word list of the scroll control in the current display interface; the voice scroll control word list is used to indicate the correspondence between the scroll direction of the scroll control and the semantic control word; In response to the user's voice control instruction, based on the voice scroll control word list and the voice control text corresponding to the voice control instruction, the target scroll control is controlled to perform a scroll operation in the scroll direction indicated by the voice control text; the target scroll control is a scroll control corresponding to the voice control text among the scroll controls contained in the current display interface.
2. The display device according to claim 1, wherein the controller is further configured to: After the target application is started, monitoring the display interface changes of the target application; If the display interface changes, then the control information of multiple controls included in the current display interface after the change is obtained; At least one scroll control included in the current display interface is determined according to the control information.
3. The display device according to claim 1, wherein the controller is further configured to: Obtaining display positions of multiple sub-controls controlled by the scroll control in the current display interface; Determining the scrolling direction of the scrolling control according to the display position of each of the sub-controls; According to the scrolling direction, a voice scrolling control word list of the scrolling control in the current display interface is constructed.
4. The display device according to claim 3, wherein the controller is further configured to: If the display heights of the sub-controls in the current display interface are the same, determining that the scrolling direction of the scrolling control is horizontal scrolling; If the display widths of the sub-controls in the current display interface are the same, determining that the scrolling direction of the scrolling control is vertical scrolling; If the display heights and / or display widths of the sub-controls in the current display interface are different, the scrolling direction of the scrolling control is determined to be waterfall scrolling.
5. The display device according to any one of claims 1 to 4, wherein the controller is further configured to: Obtaining a voice control text corresponding to the voice control instruction; Matching the voice control text with the semantic control words in the voice scroll control word list, determining the target scroll control that the voice control text requests to control in the current display interface, and the target scroll direction of the target scroll control; According to the voice control text, the target scroll control is controlled to perform a scroll operation in the target scroll direction.
6. The display device according to claim 5, wherein the controller is further configured to: According to the voice control text, obtaining a target scroll distance of the target scroll control; The target scroll control is controlled to perform a scroll operation in the target scroll direction according to the target scroll distance.
7. The display device according to claim 6, wherein the voice control text comprises page turning voice text, and the controller is further configured to: If the target scrolling direction is horizontal scrolling, the target scrolling distance is calculated according to the display position of the rightmost subcontrol and the display position of the leftmost subcontrol controlled by the target scrolling control; If the target scrolling direction is vertical scrolling or waterfall scrolling, the target scrolling distance is calculated according to the display position of the uppermost subcontrol and the display position of the lowermost subcontrol controlled by the target scrolling control.
8. The display device according to claim 5, if the current display interface includes a plurality of candidate scroll controls corresponding to the voice-controlled text, the controller is further configured to: Obtaining the control priority of each of the candidate scroll controls; According to the control priority, the target scroll control is determined from the multiple candidate scroll controls.
9. The display device according to claim 5, wherein the controller is further configured to: Sending the voice control instruction to the cloud server to request the cloud server to parse and process the voice control instruction; Receive the voice control text corresponding to the voice control instruction sent by the cloud server.
10. A voice control method, comprising: Determine at least one scroll control included in the current display interface; Constructing a voice scrolling control word list for the scrolling control in the current display interface; The voice scrolling control word list is used to indicate the correspondence between the scrolling direction of the scrolling control and the semantic control words; In response to the user's voice control instruction, based on the voice scroll control word list and the voice control text corresponding to the voice control instruction, the target scroll control is controlled to perform a scroll operation in the scroll direction indicated by the voice control text; the target scroll control is a scroll control corresponding to the voice control text among the scroll controls contained in the current display interface.
Citation Information
Patent Citations
Display equipment, server and voice-based display control method
CN112885354A
Voice control method, display device and server
CN113035194A
Voice interaction method of display device and display device
CN113658598A
Display apparatus and voice control method
CN116312514A
Display Processing Apparatus, Display Processing Method, and Computer Program Product
US20100058241A1
