A method and display device for browser page text prompt message
By displaying text prompt messages on the browser page, the problem of difficulty for users to use voice control display devices is solved, and the user's operation proficiency and user experience are improved.
Patent Information
- Application Number
- CN202110959828.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-20
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2041-08-20
AI Technical Summary
Due to the diversity of user pronunciations, it is difficult for users to accurately and proficiently control the display device through voice, which brings users a bad experience of using it.
Display text prompt messages on the browser page to guide the user to master voice operations, thereby accurately controlling the display device through voice operations. The method includes receiving an instruction to display a text prompt message, determining the text prompt message based on the browser page, and displaying it on the browser page.
Through text prompt messages, users can more easily understand and perform voice operations, improving users' proficiency and user experience in voice control.
Smart Images

Figure CN113672192B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of browsers, and more particularly to a method and a display device for a text prompt message on a browser page. Background Art
[0002] Intelligent voice is an important part of artificial intelligence technology. With the development of technology, users are more and more accustomed to using voice to control display devices. However, due to the diversity of user pronunciation, it is difficult for users to accurately and skillfully control display devices through voice, which brings a bad user experience. Summary of the invention
[0003] Some embodiments of the present application provide a method and a display device for displaying text prompt messages on a browser page, which can guide users to master voice operations and then accurately control the display device through voice operations.
[0004] In a first aspect, a display device is provided, comprising:
[0005] A display, for displaying a user interface;
[0006] A user interface for receiving an input signal;
[0007] A controller connected to the display and the user interface, respectively, for executing:
[0008] An instruction to display a text prompt message is received, the text prompt message is determined according to a browser page, and the text prompt message is displayed on the browser page.
[0009] In some embodiments, the controller is configured to determine the text prompt message according to the browser page according to the following steps: obtaining a web page element in the browser page; and determining the text prompt message according to the web page element.
[0010] In some embodiments, the controller is further used to execute: obtaining web page elements within a visible range, where the visible range refers to a range that can be displayed on a display.
[0011] In some embodiments, the controller is further configured to: determine a display position of the text prompt message according to a position of the web page element, and display the text prompt message at the display position.
[0012] In some embodiments, the controller is further used to execute: determining an attribute of the text prompt message according to the website to which the browser page belongs, the attribute representing a display style of the text prompt message; and displaying the text prompt message on the browser page according to the attribute.
[0013] In some embodiments, the controller is further used to execute: identifying the color of the browser page, and determining the attributes of the text prompt message based on the color; and displaying the text prompt message on the browser page based on the attributes.
[0014] In some embodiments, the controller is further used to execute: receiving an instruction to hide a text prompt message, and controlling the browser page not to display the text prompt message.
[0015] In some embodiments, the controller is further configured to execute:
[0016] Receiving a preset key value input of the control device, and determining whether a text prompt message has been displayed on the browser page;
[0017] If the text prompt message is already displayed, an instruction to hide the text prompt message is generated;
[0018] If the text prompt message is not displayed, an instruction to display the text prompt message is generated.
[0019] In a second aspect, a method for displaying a text prompt message on a browser page is provided, comprising:
[0020] An instruction to display a text prompt message is received, the text prompt message is determined according to a browser page, and the text prompt message is displayed on the browser page.
[0021] In some embodiments, the step of determining a text prompt message based on a browser page includes: acquiring a web page element in the browser page; and determining a text prompt message based on the web page element.
[0022] In some embodiments, the method further includes: acquiring web page elements within a visible range, where the visible range refers to a range that can be displayed on a display.
[0023] In some embodiments, the method further includes: determining a display position of the text prompt message according to the position of the web page element, and displaying the text prompt message at the display position.
[0024] In some embodiments, the method further includes: determining an attribute of the text prompt message according to the website to which the browser page belongs, the attribute representing a display style of the text prompt message; and displaying the text prompt message on the browser page according to the attribute.
[0025] In some embodiments, the method further includes: identifying the color of the browser page, determining the attributes of the text prompt message based on the color; and displaying the text prompt message on the browser page based on the attributes.
[0026] In some embodiments, the method further includes: receiving an instruction to hide the text prompt message, and controlling the browser page not to display the text prompt message.
[0027] In some embodiments, the method further comprises:
[0028] Receiving a preset key value input of the control device, and determining whether a text prompt message has been displayed on the browser page;
[0029] If the text prompt message is already displayed, an instruction to hide the text prompt message is generated;
[0030] If the text prompt message is not displayed, an instruction to display the text prompt message is generated.
[0031] In the above embodiment, a method and display device for displaying text prompt messages on a browser page, some embodiments of the present application display text prompt messages on the browser page, so that the user can master voice operation and then accurately control the display device through voice operation. The method includes: receiving an instruction to display a text prompt message, determining a text prompt message according to the browser page, and displaying the text prompt message on the browser page. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 shows a usage scenario of a display device according to some embodiments;
[0033] Figure 2 shows a hardware configuration block diagram of a control device 100 according to some embodiments;
[0034] Figure 3 A flowchart of a method for playing data according to some embodiments is exemplarily shown in FIG.
[0035] Figure 4 A schematic diagram of a user interface according to some embodiments is exemplarily shown in FIG.
[0036] Figure 5 A flowchart of a method for providing a text prompt message on a browser page according to some embodiments is exemplarily shown in FIG.
[0037] Figure 6 A schematic diagram of a user interface of a display device according to some embodiments is exemplarily shown in FIG.
[0038] Figure 7 A schematic diagram of a user interface of another display device according to some embodiments is exemplarily shown in FIG. DETAILED DESCRIPTION
[0039] In order to make the purpose and implementation method of the present application clearer, the exemplary implementation method of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0040] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0041] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0042] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0043] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or combination of hardware and / or software code that is capable of performing the functions associated with that element.
[0044] Figure 1 FIG. 1 is a schematic diagram of an operation scenario between a display device and a control device according to an embodiment. Figure 1 As shown, the user can operate the display device 200 through the smart device 300 or the control apparatus 100 .
[0045] In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-range communication methods, and the display device 200 is 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, etc.
[0046] In some embodiments, a smart device 300 (such as a mobile terminal, a tablet computer, a computer, a laptop computer, etc.) may also be used to control the display device 200. For example, the display device 200 is controlled using an application running on the smart device.
[0047] In some embodiments, the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300. For example, the user's voice command control can be directly received through a module for obtaining voice commands configured inside the display device 200, or the user's voice command control can be received through a voice control device set outside the display device 200.
[0048] In some embodiments, the display device 200 also communicates data with the server 400. The display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 may provide various content and interactions to the display device 200. The server 400 may be one cluster or multiple clusters, and may include one or more types of servers.
[0049] Figure 2 Schematically shows a block diagram of a configuration of the control device 100 according to an exemplary embodiment. Figure 2 As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive input operation instructions from the user, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, playing the role of an interactive intermediary between the user and the display device 200.
[0050] Figure 3 A hardware configuration block diagram of a display device 200 according to an exemplary embodiment is shown.
[0051] In some embodiments, the display apparatus 200 includes at least one of a tuner 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, a power supply, and a user interface.
[0052] In some embodiments, the controller includes a processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and a first interface to an nth interface for input / output.
[0053] In some embodiments, the display 260 includes a display screen component for presenting images, and a driving component for driving image display, which is used to receive image signals output from a controller, display video content, image content, and a menu control interface component and a user control UI interface.
[0054] In some embodiments, the display 260 may be a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
[0055] In some embodiments, the communicator 220 is a component for communicating with an external device or server according to various communication protocol types. For example, the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display device 200 can establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.
[0056] In some embodiments, the user interface may be used to receive a control signal from the control device 100 (eg, an infrared remote controller, etc.).
[0057] In some embodiments, the detector 230 is used to collect signals of the external environment or external interaction. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
[0058] 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 input interface (CVBS), a USB input interface (USB), an RGB port, etc. It may also be a composite input / output interface formed by the above multiple interfaces.
[0059] In some embodiments, the tuner-demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
[0060] In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 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.
[0061] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. 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.
[0062] In some embodiments, the object may be any one of the selectable objects, such as a hyperlink, an icon or other operable controls. Operations related to the selected object include: displaying a page, document, image, etc. connected to the hyperlink, or executing a program corresponding to the icon.
[0063] In some embodiments, the controller includes at least one of 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.
[0064] CPU processor. Used to execute operating system and application instructions stored in the memory, and to execute various applications, data and content according to various interactive instructions received from external input, so as to finally display and play various audio and video content. CPU processor may include multiple processors. For example, it includes a main processor and one or more sub-processors.
[0065] In some embodiments, the graphics processor is used to generate various graphic objects, such as icons, operation menus, and user input command display graphics. The graphics processor includes an operator, which performs operations by receiving various interactive instructions input by the user and displays various objects according to display attributes; and a renderer, which renders various objects obtained based on the operator, and the rendered objects are used to be displayed on the display.
[0066] In some embodiments, the video processor is used to receive an external video signal and perform video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to the standard codec protocol of the input signal to obtain a signal that can be directly displayed or played on the display device 200.
[0067] In some embodiments, the video processor includes a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, etc. Among them, the demultiplexing module is used to demultiplex the input audio and video data stream. The video decoding module is used to process the demultiplexed video signal, including decoding and scaling processing. The image synthesis module, such as an image synthesizer, is used to superimpose and mix the GUI signal generated by the graphics generator according to the user input or itself with the video image after scaling processing to generate an image signal for display. The frame rate conversion module is used to convert the input video frame rate. The display formatting module is used to receive the video output signal after frame rate conversion and change the signal to conform to the display format signal, such as outputting RGB data signal.
[0068] In some embodiments, the audio processor is used to receive an external audio signal, and perform decompression and decoding, as well as noise reduction, digital-to-analog conversion, and amplification processing according to a standard codec protocol of the input signal to obtain a sound signal that can be played in a speaker.
[0069] In some embodiments, the user may input a user command in a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through a sensor.
[0070] In some embodiments, "user interface" refers to the medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. A common form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be an interface element such as an icon, window, or control displayed on a display screen of an electronic device, wherein a control may include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.
[0071] In some embodiments, the system of the display device may include a kernel, a command parser (shell), a file system, and an application. The kernel, shell, and file system together constitute the basic operating system structure, which allows users to manage files, run programs, and use the system. After power-on, the kernel starts, activates the kernel space, abstracts hardware, initializes hardware parameters, etc., runs and maintains virtual memory, schedulers, signals, and inter-process communication (IPC). After the kernel starts, the shell and user applications are loaded. After startup, the application is compiled into machine code to form a process.
[0072] See also Figure 4 In some embodiments, the system is divided into four layers, from top to bottom, namely, the application layer (Applications) layer (referred to as "application layer"), the application framework layer (Application Framework) layer (referred to as "framework layer"), the Android runtime (Android runtime) and system library layer (referred to as "system runtime library layer"), and the kernel layer.
[0073] In some embodiments, at least one application is running in the application layer, and these applications can be window programs, system settings programs, clock programs, etc. provided by the operating system, or applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the above examples.
[0074] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center that determines the actions that applications in the application layer take. Through the API interface, applications can access system resources and obtain system services during execution.
[0075] like Figure 4As shown, in the embodiment of the present application, the application framework layer includes managers, content providers, etc., wherein the manager includes at least one of the following modules: an activity manager (ActivityManager) is used to interact with all activities running in the system; a location manager (Location Manager) is used to provide system services or applications with access to system location services; a package manager (Package Manager) is used to retrieve various information related to the application package currently installed on the device; a notification manager (NotificationManager) is used to control the display and clearing of notification messages; a window manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers, and desktop components on the user interface.
[0076] In some embodiments, the activity manager is used to manage the life cycle of each application and the common 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 screen size, determining whether there is a status bar, locking the screen, capturing the screen, and controlling the display window changes (for example, reducing the display window, shaking the display, distorting the display, etc.).
[0077] In some embodiments, the system runtime layer provides support for the upper layer, namely 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.
[0078] In some embodiments, the kernel layer is a layer between hardware and software. Figure 4 As shown, the kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
[0079] Intelligent voice is an important part of artificial intelligence technology. With the development of technology, users are more and more accustomed to using voice to control display devices. However, due to the diversity of user pronunciation, it is difficult for users to accurately and skillfully control display devices through voice, which brings a bad user experience.
[0080] In order to solve the above technical problems, an embodiment of the present application provides a method for browser page text prompt messages, which displays text prompt messages for the current browser page, thereby guiding the user to master voice operations and then accurately control the display device through voice operations.
[0081] The method, such as Figure 5 As shown, it includes: S100, receiving an instruction to display a text prompt message. S200, determining a text prompt message according to a browser page. S300, displaying the text prompt message on the browser page.
[0082] In some embodiments, the instruction to display the text prompt message can be sent directly by voice. For example, the user can say "display text prompt message", and the instruction to display the text prompt message is generated accordingly. In some embodiments, the instruction to display the text prompt message can be generated by pressing a preset button. For example, the user can press the language key on the control device. The instruction to display the text prompt message can also be generated by continuously pressing the preset button. For example, press the voice key twice. Of course, the instruction to display the text prompt message can also be generated by other key combinations. For example, press the up key first and then the down key.
[0083] In some embodiments, the buttons on the control device can also be reused. When the button is pressed, the command generated by the button can be determined according to other conditions. In some embodiments, a preset key value input of the control device is received to determine whether a text prompt message has been displayed on the browser page; if the text prompt message has been displayed, an instruction to hide the text prompt message is generated; if the text prompt message has not been displayed, an instruction to display the text prompt message is generated. In this way, the use of too many buttons can be avoided and the complexity of use can be reduced.
[0084] In the embodiment of the present application, a text prompt message can be determined according to the content of the current browser page, and text prompt messages can be provided to users in different scenarios. For example, when the browser page is a home page, the text prompt messages are all about the content of the home page. For example, Figure 6 As shown, the browser page displays tool, bookmark and history related command prompts, such as add tag, close tag, show history, show bookmark, select first, return, forward, save to bookmark, home page, refresh page, zoom in and zoom out. When the browser page is a media playback page, prompts for playback related instructions will be displayed, for example, Figure 7 As shown, for example, play now, pause, full screen, exit full screen, restart, fast back half an hour, fast forward 5 minutes and stop playing. When the browser page is a regular search page, the text prompt messages are all about the content of the search page. For example, when multiple results are searched, a text prompt message can be displayed at the corresponding position of each result. The text prompt message can be determined according to the position order of the results on the browser page, for example, click the first one, click the second one, click the third one, etc.
[0085] In an embodiment of the present application, a corresponding text prompt message is determined based on the currently browsed browser page, and the text prompt message is displayed on the browser page. Through the content in the text prompt message, the user is guided to use voice commands to control the current browser page. This can prevent the user from using incorrect or improper voice commands, which affects the user's efficiency in controlling the browser page.
[0086] In some embodiments, the step of determining a text prompt message based on the browser page includes: obtaining a web page element in the browser page; determining a text prompt message based on the web page element. In an embodiment of the present application, the web page element refers to a control that can obtain focus and can implement certain functions by operating the focus. Exemplarily, when the browser page is a media playback page, the web page element may be a pause control, a play control, a progress adjustment control, etc. The embodiment of the present application determines the operations that can be performed on the current browser page based on the web page element, and then determines the content of the text prompt message, so as to achieve the purpose of accurately prompting the user. In some embodiments, text prompt messages corresponding to different web page elements can be pre-stored. Exemplarily, when the web page element is a pause control, the content of the text prompt message can be to pause video playback.
[0087] In order to reduce occupied resources, in some embodiments, the web page element is a web page element within a visible range, and the visible range refers to a range that can be displayed on a display, in other words, refers to an area that a user can see on the display.
[0088] In some embodiments, the method further includes: determining the display position of the text prompt message according to the position of the web page element, and displaying the text prompt message at the display position. In order to minimize the obstruction of the content of the browser page, the embodiment of the present application limits the display position of the text prompt message. In some embodiments, the display position of the text prompt message on the browser page can be determined according to the type of web page element. For example, if the web page element is a text element, the upper left corner coordinate of the web page element can be used as the lower left corner coordinate of the text prompt message. If the web page element is a picture element, the upper left corner coordinate of the web page element can be used as the upper left corner coordinate of the text prompt message.
[0089] In some embodiments, the method further comprises: determining an attribute of the text prompt message according to the website to which the browser page belongs, the attribute representing a display style of the text prompt message; and displaying the text prompt message on the browser page according to the attribute. In the embodiment of the present application, in order to make the screen after the text prompt message and the browser page are superimposed more coordinated, the attribute is used to determine the display style of the text prompt message in the browser page.
[0090] In some embodiments, the attributes include background color, background transparency, border, and / or text attributes, etc. In some embodiments, the attributes of the website and its corresponding text prompt message may be pre-stored. For example, when the name of the website is identified, the attributes of the text prompt message displayed in the browser page corresponding to the website may be determined.
[0091] In some embodiments, the method further includes: identifying the color of the browser page, determining the attributes of the text prompt message according to the color; and displaying the text prompt message on the browser page according to the attributes. In some embodiments, the method for determining the color of the browser page may include: acquiring an image including the current browser page, parsing the image, determining the main body color of the browser page according to the parsing result, and determining the attributes of the text prompt message using the main body color. The main body color refers to the color of the largest number of pixels in the image of the browser page. In some embodiments, multiple colors and corresponding attributes may be pre-stored, and a matching attribute may be selected according to the color.
[0092] In some embodiments, the method further comprises: receiving an instruction to hide the text prompt message, and controlling the browser page not to display the text prompt message. In the embodiment of the present application, after the text prompt message is displayed on the browser page, the text prompt message can also be cancelled, so that multiple options can be provided to the user.
[0093] In some embodiments, the method for displaying the text prompt message on the browser page includes:
[0094] 1. Create a new style element using the following JavaScript code ( element) and set the name (className). The elStyle attribute is used to specify The attributes of the element include the acquired coordinate element, as well as the background color, background transparency, border, text attributes and other attributes. The coordinate element refers to the position of the text prompt message. vardivElement = document.createElement("div");
[0095] divElement.className="helpUITag";
[0096] divElement.setAttribute("style",elStyle);
[0097] 2. A text node is created through the following JavaScript code, where message represents the content of the text prompt message.
[0098] var textNode=document.createTextNode("message")
[0099] 3. Use the following JavaScript code to add the content of the text prompt message created earlier to the Elements.
[0100] divElement.appendChild(textNode);
[0101] 4. Use the following JavaScript code to create the The element is added to the element in the document, so that the newly created text node can be seen in the browser (that is, the text prompt message is displayed). The element in the document refers to the browser page that does not display the text prompt message.
[0102] In some embodiments, the method for controlling the browser page not to display the text prompt message includes: traversing the elements whose className is "helpUITag" (corresponding to the name specified when creating) through the following JavaScript code, and then performing a deletion operation.
[0103] document.querySelectorAIl(″.helpUITag″).forEach(function(e){e.remove()}).
[0104] In the above embodiment, a method and display device for displaying text prompt messages on a browser page, some embodiments of the present application display text prompt messages on the browser page, so that the user can master voice operation and then accurately control the display device through voice operation. The method includes: receiving an instruction to display a text prompt message, determining a text prompt message according to the browser page, and displaying the text prompt message on the browser page.
[0105] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0106] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A display device, characterized in that: include: A display, for displaying a user interface; A user interface for receiving an input signal; A controller connected to the display and the user interface, respectively, for executing: Receiving an instruction to display a text prompt message, obtaining a web page element in a browser page; and determining a text prompt message according to the web page element; Acquire an image including a browser page, and parse the image; Determine the main color of the browser page according to the analysis result, wherein the main color is the color of the largest number of pixels in the image of the browser page; Determine the attribute of the text prompt message according to the main body color, the correspondence between the main body color and the attribute, and the website to which the browser page belongs, wherein the attribute represents the display style of the text prompt message, and the attribute includes background color, background transparency, border and / or text attribute, and the controller pre-stores the attributes of the website and the corresponding text prompt message; The display position of the text prompt message is determined according to the position of the web page element, and the text prompt message is displayed at the display position of the browser page according to the attribute, so as to guide the user to control the browser page by voice command through the text prompt message.
2. The display device according to claim 1, characterized in that The controller is further used to execute: acquiring web page elements within a visible range, where the visible range refers to a range that can be displayed on a display.
3. The display device according to claim 1, characterized in that The controller is also used to execute: receiving an instruction to hide a text prompt message, and controlling the browser page not to display the text prompt message.
4. The display device according to claim 1, characterized in that The controller is also used to execute: Receiving a preset key value input of the control device, and determining whether a text prompt message has been displayed on the browser page; If the text prompt message is already displayed, an instruction to hide the text prompt message is generated; If the text prompt message is not displayed, an instruction to display the text prompt message is generated.
5. A method for displaying text prompt messages on a browser page, characterized in that: include: Receive an instruction to display a text prompt message and obtain a web page element in a browser page; Determining a text prompt message according to the web page element; Acquire an image including a browser page, and parse the image; Determine the main color of the browser page according to the analysis result, wherein the main color is the color of the largest number of pixels in the image of the browser page; Determine the attribute of the text prompt message according to the main body color, the correspondence between the main body color and the attribute, and the website to which the browser page belongs, wherein the attribute represents the display style of the text prompt message, and the attribute includes background color, background transparency, border and / or text attribute, and the controller pre-stores the attributes of the website and the corresponding text prompt message; The display position of the text prompt message is determined according to the position of the web page element, and the text prompt message is displayed at the display position of the browser page according to the attribute, so as to guide the user to control the browser page by voice command through the text prompt message.
Citation Information
Patent Citations
Voice control method and electronic equipment
CN109584879A
Method for improving voice instruction matching degree and display equipment
CN112839261A