[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN116744073A - Display equipment and bookmark adding method in television browser - Google Patents

Display equipment and bookmark adding method in television browser Download PDF

Info

Publication number
CN116744073A
CN116744073A CN202210210577.XA CN202210210577A CN116744073A CN 116744073 A CN116744073 A CN 116744073A CN 202210210577 A CN202210210577 A CN 202210210577A CN 116744073 A CN116744073 A CN 116744073A
Authority
CN
China
Prior art keywords
bookmark
target
webpage
updated
display device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210210577.XA
Other languages
Chinese (zh)
Inventor
康健民
张明山
商潮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vidaa Netherlands International Holdings BV
Original Assignee
Vidaa Netherlands International Holdings BV
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vidaa Netherlands International Holdings BV filed Critical Vidaa Netherlands International Holdings BV
Priority to CN202210210577.XA priority Critical patent/CN116744073A/en
Publication of CN116744073A publication Critical patent/CN116744073A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8146Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a display device and a method for adding bookmarks in a television browser, when a user adds bookmarks in the television browser, the user can directly input a target website to be bookmarked, the display device directly takes the target website as a webpage title, and takes a pre-stored default thumbnail as a webpage thumbnail to generate a bookmark corresponding to the target website, and the process of adding the bookmarks is completely independent of a network, so that the bookmarks can be added even if the network environment is poor or no network exists. When the display equipment detects that the network is in a connection state, the to-be-updated bookmark formed by the target website input by the user and the default thumbnail is automatically replaced by the corresponding target bookmark in the background, and the target bookmark is formed by the webpage title and the webpage thumbnail of the target webpage corresponding to the target website, so that the webpage content of the target webpage can be displayed more vividly, and the user can browse conveniently.

Description

Display equipment and bookmark adding method in television browser
Technical Field
The application relates to the technical field of intelligent display equipment, in particular to a display equipment and a method for adding bookmarks in a television browser.
Background
The display device refers to a terminal device capable of outputting a specific display screen, and may be a terminal device such as a smart television, a mobile terminal, a smart advertisement screen, and a projector. Taking intelligent electricity as an example, the intelligent television is based on the Internet application technology, has an open operating system and a chip, has an open application platform, can realize a bidirectional man-machine interaction function, and is a television product integrating multiple functions of video, entertainment, data and the like, and the intelligent television is used for meeting the diversified and personalized requirements of users.
The television browser refers to a browser application pre-configured in a display device, and a bookmark (bookmark) is a common function on the television browser and is used for marking a page currently browsed by a user, so that the user can quickly open the page directly through the bookmark. Typically, a bookmark includes a web page title corresponding to a marked page and a thumbnail of the marked page. The process of adding a bookmark in a television browser is generally that a user inputs a target address to be accessed in an address bar, and after loading a target page corresponding to the target address, the user selects a bookmark adding button to generate a bookmark corresponding to the target page. It can be seen that bookmarking can only be successfully done if the network environment is good, i.e. the target page is loaded successfully. If the network environment is not good, i.e. the loading of the target page fails, no bookmarks can be added, or the added bookmarks are invalid bookmarks.
Disclosure of Invention
The application provides a display device and a method for adding bookmarks in a browser, which are used for adding bookmarks in a television browser under the condition of no network and ensuring the effectiveness of the added bookmarks.
In a first aspect, the present application provides a display apparatus comprising: a display configured to display a user interface of a television browser, the user interface of the television browser including an add option;
a controller configured to:
receiving a control instruction sent by a user based on the adding option;
responding to the control instruction, and displaying a bookmark adding window;
receiving an adding instruction input by the user based on the bookmark adding window, wherein the adding instruction indicates a target website of a bookmark to be generated;
responding to the adding instruction, and acquiring a pre-stored default thumbnail;
generating a bookmark based on the target web address and the default thumbnail;
and adding the bookmark to a bookmark page of the television browser.
In some embodiments of the application, the controller is further configured to:
detecting the running state of the television browser and the connection state of a network;
when the television browser is in an idle state and the network is connected, replacing a bookmark to be updated with a target bookmark, wherein the bookmark to be updated is composed of a website input by the user and/or the default thumbnail, and the target bookmark is composed of a webpage title and a webpage thumbnail corresponding to the website input by the user.
In some embodiments of the present application, the idle state means that the tv browser only opens one window, and the window displays the home page.
In some embodiments of the present application, when the television browser is in an idle state and the network is connected, the controller replaces the bookmark to be updated with the target bookmark, and is configured to:
creating a webpage loading window, wherein the webpage loading window is an invisible window;
acquiring the target bookmark corresponding to the bookmark to be updated from the webpage loading window;
after the target bookmarks corresponding to all the bookmarks to be updated are obtained, or when the television browser is in a working state, destroying the webpage loading window to terminate updating the bookmarks to be updated.
In some embodiments of the present application, the controller obtains the target bookmark corresponding to the bookmark to be updated in the web page loading window, and is configured to:
arranging the bookmarks to be updated according to the sequence of adding the bookmarks to be updated to the bookmark page to obtain a loading queue;
and acquiring the target bookmark corresponding to each bookmark to be updated in the webpage loading window according to the loading queue, wherein the bookmark to be updated, which is failed to acquire by the target bookmark, and the data to be updated, which is successfully acquired by the target bookmark, are deleted from the loading queue.
In some embodiments of the present application, the controller obtains, according to the load queue, the target bookmark corresponding to each bookmark to be updated in the web page load window, and is configured to:
accumulating failure times of acquiring the target bookmark by the bookmark to be updated;
if the failure times are smaller than the appointed times, acquiring the target bookmark again;
and if the failure times are equal to the appointed times, the target bookmark is not acquired any more, and the bookmark to be updated is deleted from the loading queue.
In some embodiments of the present application, the controller obtains the target bookmark corresponding to the bookmark to be updated in the web page loading window, and is configured to:
loading a target webpage corresponding to the website input by the user in the webpage loading window;
acquiring a webpage title and a webpage thumbnail of the target webpage;
and generating the target bookmark based on the webpage title and the webpage thumbnail.
In some embodiments of the present application, the controller obtains a web page title and a web page thumbnail of the target web page, and is configured to:
acquiring a webpage screenshot of the target webpage;
Converting the webpage screenshot into the webpage thumbnail with a specified size.
In some embodiments of the application, the controller is configured to:
and prohibiting the automatic playing function of the webpage loading window.
In a second aspect, the present application provides a method for adding bookmarks in a television browser, applied to a display device, where the display device displays a user interface of the television browser, and the user interface of the television browser includes an addition option, the method includes:
receiving a control instruction sent by a user based on the adding option;
responding to the control instruction, and displaying a bookmark adding window;
receiving an adding instruction input by the user based on the bookmark adding window, wherein the adding instruction indicates a target website of a bookmark to be generated;
responding to the adding instruction, and acquiring a pre-stored default thumbnail;
generating a bookmark based on the target web address and the default thumbnail;
and adding the bookmark to a bookmark page of the television browser.
According to the technical scheme, when a user adds a bookmark in the television browser, the user can directly input a target website to be bookmarked, the display device directly takes the target website as a webpage title, and takes a pre-stored default thumbnail as a webpage thumbnail to generate a bookmark corresponding to the target website, and the bookmark adding process is completely independent of a network, so that the bookmark can be added even if the network environment is poor or no network exists. When the display equipment detects that the network is in a connection state, the to-be-updated bookmark formed by the target website input by the user and the default thumbnail is automatically replaced by the corresponding target bookmark in the background, and the target bookmark is formed by the webpage title and the webpage thumbnail of the target webpage corresponding to the target website, so that the webpage content of the target webpage can be displayed more vividly, and the user can browse conveniently. Meanwhile, the background loading mode can ensure that the user normally uses other functions except the television browser so as to ensure the use experience of the user.
Drawings
In order to more clearly illustrate the technical solution of the present application, the drawings that are needed in the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a usage scenario of a display device according to an embodiment of the present application;
FIG. 2 is a block diagram illustrating a configuration of a control device according to an embodiment of the present application;
fig. 3 is a configuration diagram of a display device in an embodiment of the present application;
FIG. 4 is a diagram illustrating an operating system configuration of a display device according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating a method for adding bookmarks based on a successfully loaded web page according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a scenario of adding bookmarks based on a web page with failed loading in an embodiment of the present application;
FIG. 7 is a flowchart of directly adding bookmarks based on a target website input by a user according to an embodiment of the present application;
FIG. 8 is a diagram of a user interface of a television browser according to an embodiment of the present application;
FIG. 9 is a schematic diagram of an add bookmark window according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a bookmarking window according to an embodiment of the present application;
FIG. 11 is a schematic diagram of inputting a target website in a bookmarking window according to an embodiment of the present application;
FIG. 12 is a schematic illustration of a bookmark made up of a target web site and a default thumbnail in an embodiment of the present application;
FIG. 13 is a schematic diagram of a bookmark made up of a web page title and a default thumbnail in an embodiment of the present application;
FIG. 14 is a diagram of a bookmark page including a bookmark to be updated according to an embodiment of the present application;
FIG. 15 is a flowchart of silent loading of bookmarks to be updated according to an embodiment of the present application;
FIG. 16 is a flowchart illustrating a method for updating a bookmark to be updated in a web page loading window according to an embodiment of the present application;
FIG. 17 is a diagram of a web page loading window according to an embodiment of the present application;
FIG. 18 is a flowchart of a method for updating a bookmark to be updated according to a load queue according to an embodiment of the present application;
FIG. 19 is a flowchart of a method for obtaining a target bookmark according to an embodiment of the present application;
FIG. 20 is a flowchart illustrating a method for processing a screenshot of a page according to an embodiment of the present application;
FIG. 21 is a diagram of a target bookmark according to an embodiment of the present application;
FIG. 22 is a flowchart illustrating a repeated update of bookmarks to be updated with failed loading in accordance with an embodiment of the present application;
FIG. 23 is a diagram illustrating a bookmark page after updating all bookmarks to be updated according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The embodiments described in the examples below do not represent all embodiments consistent with the application. Merely exemplary of systems and methods consistent with aspects of the application as set forth in the claims.
It should be noted that the brief description of the terminology in the present application is for the purpose of facilitating understanding of the embodiments described below only and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms first, second, third and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements explicitly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The display device provided by the embodiment of the application can have various implementation forms, for example, a smart television, a laser projection device, a display (monitor), an electronic whiteboard (electronic bulletin board), an electronic desktop (electronic table) and the like. Fig. 1 and 2 are specific embodiments of a display device of the present application.
Fig. 1 is a schematic diagram of an operation scenario between a display device and a control apparatus according to an embodiment. As shown in fig. 1, a user may operate the display device 200 through the smart device 300 or the control apparatus 100.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of infrared protocol communication or bluetooth protocol communication, and other short-range communication modes, and the display device 200 is controlled by a wireless or wired mode. The user may control the display device 200 by inputting user instructions through keys on a remote control, voice input, control panel input, etc.
In some embodiments, a smart device 300 (e.g., mobile terminal, tablet, computer, notebook, 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 300.
In some embodiments, the display device 200 may not receive instructions using the smart device 300 or the control device 100 described above, but rather receive control of the user through touch or gesture, or the like.
In some embodiments, the display device 200 may also perform control in a manner other than the control apparatus 100 and the smart device 300, for example, the voice command control of the user may be directly received through a module configured inside the display device 200 device for acquiring voice commands, or the voice command control of the user may be received through a voice control device configured outside the display device 200 device.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be permitted to make communication connections via a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display device 200. The server 400 may be a cluster, or may be multiple clusters, and may include one or more types of servers.
The server 400 may be a server providing various services, such as a background server providing support for audio data collected by the display device 200. The background server can analyze and the like the received audio data and the like and feed back the processing result to the terminal equipment.
Fig. 3 shows a block diagram of a configuration of the display device 200 in accordance with an exemplary embodiment.
The display apparatus 200 includes at least one of a modem 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 280.
In some embodiments, the modem 210 receives broadcast television signals via wired or wireless reception and demodulates audio video signals, and EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. 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 chip or a near field communication protocol chip, and an infrared receiver. The display apparatus 200 may establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220.
In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for capturing the intensity of ambient light; alternatively, the detector 230 includes an image collector, such as a camera, that can be used to collect external environmental scenes, user attributes, or user interaction gestures; still alternatively, the detector 230 includes a sound collector, such as a microphone or the like, for receiving external sound.
The sound collector may be a microphone, also called "microphone", which may be used to receive the sound of a user and to convert the sound signal into an electrical signal. The display device 200 may be provided with at least one microphone. In other embodiments, the display device 200 may be provided with two microphones, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the display device 200 may also be provided with three, four, or more microphones to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
Further, the microphone may be built in the display device 200, or connected to the display device 200 by a wired or wireless manner. Of course, the position of the microphone on the display device 200 is not limited in the embodiment of the present application. Alternatively, the display device 200 may not include a microphone, i.e., the microphone is not provided in the display device 200. The display device 200 may be coupled to a microphone (also referred to as a microphone) via an interface such as the USB interface 130. The external microphone may be secured to the display device 200 by external fasteners such as a camera mount with clips.
In some embodiments, the external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, or the like. The input/output interface may be a composite input/output interface formed by a plurality of interfaces.
In some embodiments, the controller 250 and the modem 210 may be located in separate devices, i.e., the modem 210 may also be located in an external device to the main device in which the controller 250 is located, such as an external set-top box or the like.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored on the memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command to select a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, the controller 250 includes at least one of a central processing unit (Central Processing Unit, CPU), a video processor, an audio processor, a graphics processor (Graphics Processing Unit, GPU), RAM (Random Access Memory), a ROM (Read-Only Memory), a first to nth interface for input/output, a communication Bus (Bus), and the like.
In some embodiments, the display 260 includes a display screen component for presenting a picture, and a driving component for driving an image display, a component for receiving an image signal output from the controller 250, displaying video content, image content, and a menu manipulation interface, and a user manipulation UI interface.
The display 260 may be a liquid crystal display, an OLED display, a projection device, or a projection screen.
In some embodiments, a user may input a user command through a graphical user interface (Graphic 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 the user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through the sensor to receive the user input command.
In some embodiments, a "user interface" is a media interface for interaction and exchange of information between an application or operating system and a user that enables conversion between an internal form of information and a form acceptable to the user. A commonly used presentation form of a user interface is a Graphical User Interface (GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include at least one of a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
In some embodiments, the display device 200 is based on a VIDAA software platform, as shown in fig. 4, and the system of the display device may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together form the basic operating system architecture that allows users to manage files, run programs, and use the system. After power-up, the kernel is started, the kernel space is activated, hardware is abstracted, hardware parameters are initialized, virtual memory, a scheduler, signal and inter-process communication (IPC) are operated and maintained. After the kernel is started, shell and user application programs are loaded again. The application program is compiled into machine code after being started to form a process.
As shown in fig. 4, the system of the display device is divided into three layers, an application layer, a middleware layer, and a hardware layer, from top to bottom.
The application layer mainly comprises common applications on the television, and an application framework (Application Framework), wherein the common applications are mainly applications developed based on Browser, such as: HTML5 APPs; native applications (Native APPs);
the application framework (Application Framework) is a complete program model with all the basic functions required by standard application software, such as: file access, data exchange, and the interface for the use of these functions (toolbar, status column, menu, dialog box).
Native applications (Native APPs) may support online or offline, message pushing, or local resource access.
The middleware layer includes middleware such as various television protocols, multimedia protocols, and system components. The middleware can use basic services (functions) provided by the system software to connect various parts of the application system or different applications on the network, so that the purposes of resource sharing and function sharing can be achieved.
The hardware layer mainly comprises a HAL interface, hardware and a driver, wherein the HAL interface is a unified interface for all the television chips to be docked, and specific logic is realized by each chip. The driving mainly comprises: audio drive, display drive, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (e.g., fingerprint sensor, temperature sensor, pressure sensor, etc.), and power supply drive, etc.
The tv browser is a browser configured in the display device 200 in advance, and when the user uses the display device 200, network data, such as opening a web page, can be acquired through the tv browser. In general, when a user opens a web page to be accessed (hereinafter simply referred to as a target web page for convenience of description) through a television browser, a website corresponding to the target web page (hereinafter simply referred to as a target website for convenience of description) needs to be input at an address bar in the television browser, so that the display device 200 obtains web page data corresponding to the target web page according to the target website, and renders and generates the target web page by using the web page data, so as to display the target web page to the user. Illustratively, as shown in (1) of fig. 5, the home page of the display device 200 includes an icon 5001 of a television browser, and the user can send a control instruction to the display device 200 by manipulating the control apparatus 100 or the smart device 300 to instruct the display device 200 to open the television browser. For example, the user manipulates the remote control to move the focus to the icon 5001 (shown as a thick solid line box) of the television browser by manipulating the "up", "down", "left" and "right" keys on the remote control, and sends a control instruction to the display apparatus 200 by pressing the "confirm" on the remote control. After receiving the control instruction, the display device 200 recognizes that the focus is located on the icon 5001 of the television browser and recognizes that the key value is "confirm", and then, in response to the control instruction, displays a home page corresponding to the television browser, which is referred to as a home page for convenience of subsequent description, in this application, the home page of the television browser is specified. As shown in fig. 5 (2), the home page includes various services provided by the television browser, such as icons of general websites (website a, website B), tool bars (including icons of various functions provided by the television browser, such as an icon 5002 for adding a bookmark), address bars (for inputting websites to be accessed), and the like 5003. The user moves the focus to the address bar 5003 (shown as a bold solid line box in fig. 5 (2)) by manipulating the remote controller, and sends a selection instruction to the display apparatus 200 by pressing the "confirm" key on the remote controller. Upon receiving the selection instruction, the display device 200 recognizes that the focus is in the address field 5003 and recognizes that the key value "confirm", and in response to the selection instruction, adjusts the address field 5003 to the text input mode. The user inputs a desired target web address in the address bar 503 by manipulating the remote controller, as shown by "xxxxx. Xxxx. Xxx" in fig. 5 (2), and transmits an access instruction to the display device 200 by pressing a "confirm" button on the remote controller. Upon receiving the access instruction, the display device 200 recognizes the text data "xxxxx. Xxxx. Xxx" in the address field 5003 and recognizes the key value "confirm", and in response to the access instruction, obtains corresponding web page data according to "xxxxx. Xxx", and further renders and generates a corresponding target web page by using the obtained web page data, where the target web page includes a geometric combination picture, as shown in (3) of fig. 5. If the user needs to mark the target webpage, the target webpage can be quickly opened when the user needs to browse the target webpage next time, the process of inputting the target website is not needed, and bookmarks corresponding to the target webpage can be added. The user can move the focus onto the bookmarked icon 5002 in the toolbar by manipulating the remote control (shown in a bold solid line box in fig. 5 (3)), and send an add instruction to the display device 200 by pressing the "ok" key on the remote control. The display device 200 receives the adding instruction, recognizes that the focus is on the icon 5002 for adding bookmarks, and recognizes that the key value "confirm", and then, in response to the adding instruction, generates a bookmark corresponding to the target web page, that is, obtains a web page title of the target web page, such as "geometry combined picture", and a page screenshot of the target web page, and uses the "geometry combined picture" and the page screenshot as the bookmark of the target web page. The display apparatus 200 adds the bookmark to a bookmark page of the television browser as shown in (4) of fig. 5, whereby the user can quickly open a corresponding web page by selecting the bookmark in the bookmark page.
As can be seen from the above-described bookmarking process, the page title and the page screenshot for generating the bookmark are both based on the target page that has been loaded successfully, and the loading of the target page is based on the network. Thus, if the network environment is poor or there is no network, the target web page cannot be loaded successfully, and a prompt of "page loading failure" is displayed on the page as shown in (1) in fig. 6. Further, the display device 200 will not be able to obtain valid web page titles and page shots, and thus will not be able to generate valid bookmarks. In some cases, the display device 200 displays a prompt for the addition failure, as shown in (2) in fig. 6, the display device 200 displays a prompt for "bookmark addition failure" on the current page, and exits the flow of adding bookmarks. If the user still wants to add the bookmark of the target web page, the above-mentioned process of adding the bookmark can only be repeated until the bookmark addition is successful. Therefore, the operation of adding the bookmark is very complicated, and especially the process that the user needs to repeatedly input the target website can seriously reduce the use experience of the user. In other cases, the display device 200 does not display a prompt to add a failure, but rather continues to generate bookmarks based on the web page that failed to load. Since the web page loading fails, the display device 200 will not be able to acquire the web page title or acquire an erroneous web page title, and the acquired screenshot is a screenshot of the web page corresponding to the loading failure as shown in (1) of fig. 6, and cannot represent the real content of the target web page at all. The display device 200 generates a bookmark based on the invalid web page title and the invalid screenshot, as shown in fig. 6 (3), which is obviously an invalid bookmark, and based on the invalid bookmark, the user can not judge whether the target web page pointed by the invalid bookmark is the web page to be opened based on the invalid bookmark, and the meaning of the bookmark is lost.
In order to solve the above-mentioned problems, the embodiment of the present application provides a method for adding bookmarks in a display device 200 and a television browser, which can refer to the flow shown in fig. 7, and specific steps are as follows:
s701, receiving a control instruction sent by a user based on the addition option.
As shown in fig. 8, the user interface of the television browser includes a toolbar that is always displayed (except in the case where a window within the television browser is displayed full screen), which includes an add option 800. When a user generates a need to bookmark a target web page, a bookmark corresponding to the target web page may be generated based on the add option 800. The user moves the focus to the add option 800 (shown in bold solid line boxes as shown in fig. 8) by manipulating the remote control and sends a control instruction for instructing the display of the add bookmark window to the display device 200 by pressing the "ok" key on the remote control.
In this embodiment, as shown in fig. 9, the bookmarking window 900 includes an address input box 9001 and a confirmation button 9002, where the address input box 9001 is used to input a target web address corresponding to a target web page to be bookmarked by a user, and the confirmation button 9002 is used to instruct to bookmark a web address in the input box 9001 as an object.
In some embodiments, the add option 800 may be a different option than the bookmarked icon 5002 above. At this time, the bookmark adding window 900 shown in fig. 9 corresponds to the adding option 800.
In some embodiments, the add option 800 may be the same option as the bookmarked icon 5002 above. At this time, the add option 800 has a function of directly adding a bookmark corresponding to the current web page with the target web address input by the user as a bookmark. Accordingly, the adding option 800 corresponds to the adding bookmark window 1000 shown in fig. 10, the adding bookmark window 1000 has regions corresponding to the above two functions, and as shown in fig. 10, the adding bookmark window 1000 includes a first region 1001 and a second region 1002, wherein the first region 1001 includes an option 10011 for adding a bookmark of a current web page, and the option 10011 is used for indicating to add a bookmark corresponding to the current web page. The second region 1002 includes content consistent with the bookmarking window 900 shown in fig. 9 for indicating that a target web address entered by a user is to be bookmarked. In these embodiments, the user needs to send a control instruction to the display device 200 based on the option 10011 or the address input box 9001 to instruct the display device 200 to display an bookmarked window corresponding to the manner in which the bookmark was added.
S702, responding to the control instruction, and displaying a bookmark adding window.
After receiving the control instruction, the display device 200 identifies the position of the focus, and the carried key value, to display a corresponding bookmarked window in response to the control instruction.
In some embodiments, the add option 800 is a different option than the bookmarked icon 5002, and upon recognizing that the focus is on the add option 800 and that the key value "ok" is recognized, the display device 200, in response to the control instruction, displays the bookmarked window 900 shown in fig. 9 on the current user interface.
In some embodiments, the add option 800 is the same option as the bookmarked icon 5002, and upon recognizing that the focus is on the add option 800 and recognizing that the key value "ok", the display device 200, in response to the control instruction, displays the bookmarked window 1000 shown in fig. 10 on the current user interface.
S703, receiving an adding instruction input by the user based on the bookmarking window, wherein the adding instruction indicates a target website for generating a bookmark.
In some embodiments, the user inputs the add instruction based on the add bookmark window 900 shown in FIG. 9 or based on the second region 1002 in the add bookmark window 1000 shown in FIG. 10. In these embodiments, the user selects to add bookmarks to the entered target web site. The user moves the focus to the address input box 9001 by manipulating the remote controller, and inputs a target web address in the address input box 9001 by manipulating the remote controller when the address input box 9001 is in the text input mode, as shown in fig. 11, the address input box 9001 has input the target web address "xxxx. The user manipulates the remote controller to move the focus to a confirm button 9002 (shown in fig. 11 as a thick solid line frame), and by pressing a "confirm" button on the remote controller, an add instruction is sent to the display device 200 to instruct the display device 200 to add a bookmark corresponding to the target website "xxxx.
In some embodiments, the user inputs the add instruction based on the first region 1001 in the add bookmark window 1000 as shown in FIG. 10. In these embodiments, the user selects to add a bookmark for the current web page. At this time, the process of the user transmitting the add instruction to the display apparatus 200 based on the option 10011 may refer to the process of the user transmitting the add instruction to the display apparatus 200 based on the bookmarked icon 5002 hereinabove, and is not described here.
S704, responding to the adding instruction, and acquiring a pre-stored default thumbnail.
In some embodiments, the add instruction is sent by the user based on the confirm button 9002. In response to the addition instruction, the display device 200 recognizes the text data in the address input box 9001, and in the above example, the display device 200 recognizes the text data "xxxxx. The display device 200 obtains pre-stored default thumbnails, in this embodiment, the pre-stored default thumbnails refer to pictures pre-stored in the memory of the display device 200, the size of the pictures meets the size requirement of the bookmark on the webpage thumbnail, and the picture content of the pictures is specified content, such as some simple identifiers.
It can be seen that the process of the display device 200 obtaining the target web address and the default thumbnail are not necessarily network dependent. Thus, even if the connection state of the network is poor, for example, the network environment is poor, such as network card, etc., or no network exists, the display apparatus 200 can acquire an accurate and effective target web address and default thumbnail. Further, the acquired default thumbnail is a picture which meets the bookmark display requirement, so that additional picture processing on the default thumbnail is not needed.
In some embodiments, the add instruction is sent by the user based on option 10011. In these embodiments, the display device 200 may first detect the loading state of the current web page, and if the display device 200 detects that the current web page has completed loading, i.e., the current web page has been completely rendered, and valid page content is displayed, the display device 200 may directly obtain a screenshot of the current web page without obtaining a pre-stored default thumbnail. If the display device 200 detects that the current web page is being loaded, i.e., the display device 200 has acquired valid page data, but currently incomplete page rendering (e.g., if the page data is too large, the rendering speed of the display device 200 is slow, etc.), a pre-stored default thumbnail is acquired.
Thus, in the case where the display apparatus 200 can complete successful loading of the current web page based on the acquired page data, a different picture can be selected to be acquired as a thumbnail basis for the subsequent generation of bookmarks based on the page rendering state of the current web page. The method and the device can avoid low bookmark generation efficiency caused by too slow page rendering, and avoid the problem that the thumbnail in the bookmark refers to ambiguity caused by directly taking the screenshot as a webpage thumbnail in the bookmark when the current webpage which is not loaded is subjected to screenshot.
In some embodiments, the add instruction is sent by the user based on option 10011. In these embodiments, if the display device 200 detects that the current web page is loaded, the display device 200 does not display prompt information of failed addition, and the display device 200 will acquire the web page address for indicating the current web page input by the user by searching for a log file or the like related to the television browser, and refer to the above process that the display device 200 adds a bookmark in response to the user's addition instruction sent by the confirm button 9002, and uses the web page address and the default thumbnail as the bookmark of the current web page, which will not be described herein.
Thus, even if the loading of the web page where the display device 200 is currently located fails, the user is not affected to add a bookmark of the current web page. Moreover, the display device 200 may skip to the mode of adding bookmarks based on the website input by the user by automatically changing the mode of adding bookmarks based on the current page to avoid the user from manually switching modes to perform the above-described process of opening the bookmarking window 1000 shown in fig. 10 and inputting the website of the current page again, thereby effectively simplifying the operation of the user and improving the user experience.
S705, generating a bookmark based on the target web address and the default thumbnail.
In some embodiments, the add instruction is sent by the user based on the confirm button 9002. The display device 200 directly combines the text and the picture with the identified text data, i.e. the target web address itself, and the obtained default thumbnail, to obtain a bookmark corresponding to the target web page, as shown in fig. 12, directly uses the target web address as the web title of the target web page, i.e. "xxxx.xxx, and directly uses the default thumbnail as the web thumbnail of the target web page, i.e. the picture with a triangle.
It can be seen that the bookmark generating data is based on the target website and the default thumbnail which are not dependent on the network, and the bookmark generating process is a graphic combination process between the target website and the default thumbnail, and the process is not dependent on the network. Therefore, the process of generating the bookmark does not need to depend on a network, the efficiency of the process of generating the bookmark is extremely high, a user can quickly perceive an interaction result of successful bookmark addition, and the use experience of the user can be effectively improved.
In some embodiments, the add instruction is sent by the user based on option 10011 and display device 200 detects that the current web page has completed loading. The display device 200 combines the text and the picture directly with the acquired web page title of the current web page (the web page title is the real web page title of the current web page and is not the web address of the current web page), and the web page screenshot of the current web page to obtain the bookmark corresponding to the current web page, as shown in (4) in fig. 5, and the bookmark can effectively and vividly refer to the page content of the current web page.
In some embodiments, the add instruction is sent by the user based on option 10011 and display device 200 detects that the current web page is being loaded. The display device 200 combines text and pictures with a web page title of the current web page (which may be obtained from the acquired web page data, is a real web page title of the current web page, and is not a web address of the current web page), and a default thumbnail to obtain a bookmark corresponding to the current web page, which may effectively and accurately refer to the web page title of the current web page, as shown in fig. 13, but cannot refer to the web page content of the current web page visually based on the default thumbnail.
S706, adding the bookmark to a bookmark page of the television browser.
The bookmark page of the television browser can be a single page in the television browser and only used for displaying the added bookmark, or can be a separate area in the home page of the television browser and used for displaying the added bookmark.
The display device 200 adds the generated bookmark shown in fig. 12, 5 (4), 13 to a bookmark page, as shown in fig. 14. These bookmarks are all valid bookmarks, i.e. the bookmarks include accurate information indicating the content of the web page, such as the target web address in fig. 12, the title and screenshot of the web page in fig. 5 (4), and the title of the web page in fig. 13. Thus, the user can accurately and quickly select the webpage to be opened by browsing the accurate information in the bookmarks. In addition, aiming at the web pages of which part of users do not want to display page contents, for example, the web pages which relate to trade secrets, personal privacy and the like are inconvenient to display in public places, but the web pages which need to be bookmarked are not needed to be opened, the bookmarks of the part of web pages can be effectively added, and the confidentiality requirements of the users are met.
Based on the bookmarks added in the above process, the user can be ensured to acquire accurate information of the part of the webpage pointed by the bookmark, namely the target website or the webpage title, based on the bookmarks, so as to ensure that the user can correctly select the webpage to be opened. However, these bookmarks are less intuitive due to the lack of web page thumbnails that can accurately refer to the page content, and the time taken for the user to select based on these bookmarks is long. In order to solve the above problem, the above bookmark with low image quality may be updated by referring to the flow shown in fig. 15, which includes the following steps:
s1501, detecting the running state of the television browser and the connection state of the network.
In this embodiment, bookmarks composed of web addresses and default thumbnails, and bookmarks composed of web page titles and default thumbnails are referred to as bookmarks to be updated.
Based on the above analysis, the web page title and the web page screenshot are both dependent on the successfully loaded web page, i.e. the web page title and the web page screenshot of the web page can be obtained only when the network is in a connected state. Thus, the display device 200 is configured to perform an update process of the bookmark to be updated again when it is detected that the network is in a connected state, so as to ensure the validity of the update.
The running state of the television browser also affects the update process of the bookmark to be updated. In this embodiment, the running states of the television browser include an idle state and a working state, where the idle state of the television browser means that the television browser is opened and includes only one window, and the window is used to display a home page of the television browser, and in the idle state, the display device 200 may be considered to display the home page only through the television browser, and does not execute other functions through the television browser. The operating state of the tv browser means that the tv browser is opened and includes at least two windows, one of which is used to display a home page of the tv browser and the other of which is used to display other functions of the tv browser, and in the operating state, the display device 200 may be considered to be executing a function indicated by a user through the tv browser, for example, opening a third party page. Therefore, if the bookmark to be updated is updated in the working state of the television browser, the updating process can preempt the network resources of the television browser for executing other functions, thereby influencing the experience of the user using the television browser. To avoid the above problem, in some embodiments, the display device 200 is configured to perform the process of updating the bookmark to be updated only when the television browser is in an idle state.
S1502, when the television browser is in an idle state and the network is connected, the bookmark to be updated is replaced with the target bookmark.
In this embodiment, the target bookmark is composed of a web page title and a web page thumbnail corresponding to the web address, so that the target bookmark can accurately and vividly refer to the web page content of the web page.
In some embodiments, if the bookmark to be updated is composed of a web address and a default thumbnail, the web address needs to be replaced with the web page title of the web page corresponding to the web address, and the default thumbnail is replaced with the web page thumbnail of the web page corresponding to the web address, so as to update the bookmark to be updated to the target bookmark.
In some embodiments, if the bookmark to be updated is composed of a web page title and a default thumbnail, the default thumbnail needs to be replaced with a web page thumbnail of the web page corresponding to the web page title to update the bookmark to be updated to the target bookmark.
In some embodiments, the bookmark to be updated may be updated with reference to the flow shown in fig. 16, which includes the following steps:
s1601, a webpage loading window is created.
When the television browser is in an idle state and the network is connected, if the display device 200 recognizes that a bookmark to be updated exists on the bookmark page, a web page loading window is created. The webpage loading window is an invisible window, and the updating process of the bookmark to be updated is executed in the webpage loading window. As shown in fig. 17, where the left window (shown in solid line boxes, indicating that the user is visible) is the current window of the tv browser, the top page of the tv browser is displayed, and the right window (shown in dashed line boxes, indicating that the user is not visible) is the web page loading window. In one implementation, a web page load window may be hidden by setting a display (visibility) attribute of the web page load window to invisible (false). In one implementation, the effect that the web page loading window is invisible can be achieved by setting the web page loading window to be placed on the bottom display, i.e., overlaying the current window of the television browser on the web page loading window.
Since the web page loading window is not visible, the update process of the bookmark to be updated, which is performed based on the web page loading window, is also not visible, and thus the user cannot perceive the update process, which is a silent loading process, without dispersing the user's additional attention.
S1602, acquiring the target bookmark corresponding to the bookmark to be updated from the webpage loading window.
The web pages pointed by the bookmarks to be updated are loaded in a web page loading window as shown in fig. 17, so as to obtain corresponding target bookmarks. The process of obtaining the target bookmark may refer to the flow shown in fig. 18, and specific steps are as follows:
s1801, arranging the bookmarks to be updated according to the sequence of adding the bookmarks to be updated to the bookmark page, and obtaining a loading queue.
The display device 200 acquires all bookmarks to be updated from the bookmark page, taking the bookmark page as shown in fig. 14 as an example, wherein a first bookmark (for convenience of description, hereinafter referred to as bookmark 1) and a third bookmark (for convenience of description, hereinafter referred to as bookmark 2) are bookmarks to be updated. Bookmark 1 and bookmark 2 are arranged in the order of adding to the bookmark page, e.g., bookmark 1 is added to the bookmark page before bookmark 2, then the order of loading the queues is "bookmark 1, bookmark 2". The load queue indicates an update order of bookmarks to be updated, wherein bookmark 1 is updated prior to bookmark 2.
S1802, according to the loading queue, obtaining the target bookmark corresponding to each bookmark to be updated in the webpage loading window, wherein the bookmarks to be updated, which are failed to be obtained by the target bookmark, and the data to be updated, which are successfully obtained by the target bookmark, are deleted from the loading queue.
As in the webpage loading window of FIG. 17, the loading queues "bookmark 1, bookmark 2" are displayed within the webpage loading window, and bookmark 1 and bookmark 2 are updated sequentially according to the loading queues. The update process of each bookmark to be updated may refer to the flow shown in fig. 19, and the specific steps are as follows:
s1901, loading a target webpage corresponding to the website input by the user in the webpage loading window.
S1902, acquiring a webpage title and a webpage thumbnail of the target webpage.
S1903, generating the target bookmark based on the webpage title and the webpage thumbnail.
The above-mentioned updating process of the bookmark to be updated is an updating process with high pertinence, namely only aiming at updating the part which does not meet the bookmark requirement. For example, the part of bookmark 1 which does not meet the bookmark requirement includes a web page title part and a web page thumbnail part, and thus, the above two parts are updated. The portion of bookmark 2 that does not meet the bookmark requirement is only the thumbnail portion of the web page, while the title portion of the web page meets the bookmark requirement, thus, only the thumbnail portion of the web page is updated.
The update of the web page title portion and the web page thumbnail portion will be described taking bookmark 1 as an example:
identifying text data corresponding to the web page title portion in bookmark 1, i.e., web address, as shown in fig. 17, the text data is "xxxxx. Xxx", and the display device 200 may obtain, according to the text data, web page data (including a circular picture, for example) indicated by the web address, where the web page data includes a web page title and rendering data for rendering a web page. The display device 200 may further extract a web page title, such as a "circle", which is a title that may accurately refer to a web page, from the acquired web page data, and is more visual than a web site, and easy for a user to recognize. The display device 200 may further extract rendering data from the acquired web page data, and render a web page using the rendering data, i.e., the rendered page is a picture including a circle. The display device 200 captures the rendered page to obtain a webpage screenshot, which is a picture that can accurately and vividly refer to the page content of the webpage.
Because the size of the screenshot is too large and does not meet the size requirement of the bookmark, the screenshot can be processed according to the flow shown in fig. 20, and the specific steps are as follows:
S2001, acquiring a webpage screenshot of the target webpage.
S2002, converting the webpage screenshot into the webpage thumbnail with the specified size.
And reducing the webpage screenshot according to the size specified by the bookmark to obtain the webpage thumbnail with the size compliance. In one implementation, the webpage screenshot can be integrally reduced according to a reduction ratio, and the obtained webpage thumbnail can retain all webpage contents, so that the webpage thumbnail can more accurately refer to the webpage contents of the webpage. In one implementation, a portion of the content in the web page screenshot may be intercepted and adjusted to a size-compliant picture as a web page thumbnail. For example, for web page screenshots such as excessively complex page content, excessively simple page content, smaller key content size and the like, the thumbnail obtained by overall shrinkage is unfavorable for displaying the key in the page content, and is easy to mislead the user or unfavorable for the user to recognize. At this time, part of the content which can represent the page content in the webpage screenshot can be intercepted and used as a webpage thumbnail, so that the page content can be displayed more clearly, and the user can recognize the webpage conveniently. For the webpage screenshot comprising a circle, the webpage content is relatively simple, and the important content is relatively uniform in distribution and moderate in size, so that the webpage thumbnail obtained by integrally shrinking the webpage screenshot can clearly and accurately indicate the webpage content. Based on the above, the web page screenshot is processed in an overall shrinking mode, and a web page thumbnail is obtained.
Based on the above process, the "circle" of the web page corresponding to the web page indicated by the web address in the bookmark 1 and the web page thumbnail (the reduced circle picture) can be obtained, at this time, the obtained web page title and the web page thumbnail are subjected to the combination processing of the text and the picture, and the target bookmark can be obtained, as shown in fig. 21.
The update process of bookmark 2 may refer to the process of updating the thumbnail of the web page in bookmark 1. The update process differs from bookmark 1 in that the display device 200 has acquired the web page data corresponding to the web page indicated by the web page title in bookmark 2, except that the page rendering is not completed. Thus, the display device 200 may directly continue rendering the page using the rendering data in the webpage data without acquiring the webpage data again. The display device 200 performs screenshot after the webpage is rendered, and obtains a webpage screenshot. For example, the screenshot is a picture containing a circle. The obtained webpage screenshot can be processed in a manner of obtaining the webpage thumbnail as in the bookmark 1 to obtain the corresponding webpage thumbnail, which is not described herein. The target bookmark corresponding to the bookmark 2 comprises a webpage title "geometric combination picture" in the bookmark 2, and an acquired webpage thumbnail "geometric combination picture". The obtained web page title and web page thumbnail are subjected to text and picture combination processing, so that a target bookmark can be obtained, and reference can be made to (4) in fig. 5.
In some embodiments, an overall update may be taken as each bookmark to be updated is updated. The integral updating mode is to acquire data (simply referred to as updating data) corresponding to all the parts needing to be updated of the bookmark to be updated in the webpage loading window, and update all the parts needing to be updated simultaneously by using the updating data so as to finish the updating of the bookmark to be updated at one time. For example, in the method of global updating for bookmark 1, after the web page title "circle" and the web page thumbnail (reduced circular picture) are acquired, the "xxxxx.xxxx.xxx" in bookmark 1 is replaced by the "circle", and the default thumbnail in bookmark 1 is replaced by the web page thumbnail, so that the updating for bookmark 1 is completed at one time.
In some embodiments, a partial update may be employed as each bookmark to be updated is updated. The method of partial updating refers to that after all update data corresponding to all the portions of the bookmark to be updated that need to be updated are obtained in the web page loading window, or after partial update data corresponding to a part of all the portions that need to be updated (for example, update data corresponding to the title portion of the web page) are obtained, the bookmark to be updated is locally updated by using the update data, and one portion of the bookmark to be updated that needs to be updated is updated each time. For example, a method of updating the bookmark 1 in sections is adopted, after the web page title "circle" is acquired, the "xxxx.xxxx.xxxx" in the bookmark 1 is replaced by the "circle" to obtain the bookmark after the first update, then the web page thumbnail (reduced circular picture) is acquired, and the default thumbnail in the bookmark after the first update is replaced by the web page thumbnail, so that the update of the bookmark 1 is completed in sections. Therefore, once the conditions of poor network environment, network interruption, termination of the updating process caused by the execution of other functions by the television browser and the like occur, partial content in the bookmark to be updated can be effectively updated, but the condition that the part to be updated in the bookmark to be updated is not changed completely can be ensured. The bookmark updating method can ensure that when a user browses the bookmark again, at least part of the bookmarks to be updated can improve the accuracy and the vividness of display.
In some embodiments, when each bookmark to be updated is updated, once the bookmark to be updated is updated, the bookmark to be updated is deleted from the load queue, so that the display device 200 continues to load the next bookmark to be updated according to the load queue, and repeated updating of the bookmark to be updated which has been updated successfully is avoided.
In some embodiments, when updating the bookmark to be updated, a loading failure may occur, which results in an update failure, and for this case, a repeated loading manner may be adopted, and referring to the flow shown in fig. 22, the specific steps are as follows:
s2201, accumulating the failure times of obtaining the target bookmark by the bookmark to be updated.
S2202, if the failure times are smaller than the designated times, acquiring the target bookmark again.
S2203, if the failure times are equal to the appointed times, the target bookmark is not acquired any more, and the bookmark to be updated is deleted from the loading queue.
And providing a re-updating opportunity for the bookmark to be updated, which is failed to be updated, so as to improve the updating success rate of the bookmark to be updated. A statistics mechanism of failure times is established for the currently updated bookmark to be updated, the failure times of loading the currently updated bookmark to be updated are accumulated through the statistics mechanism, and a designated number of times is set to limit repeated update times after the failure of updating the bookmark to be updated, so that the condition that the repeated update times are too many after the failure of updating the bookmark to be updated, the integral update efficiency of a loading queue is affected, and excessive occupation of network resources of a television browser is avoided. Wherein, only when the number of failures is less than the designated number, the display apparatus 200 may execute the update process of the bookmark to be updated again to acquire the target bookmark. If the failure times are equal to the designated times, the display device 200 will give up updating the bookmark to be updated, and delete the bookmark to be updated from the loading queue, so that the display device 200 can continuously update the next bookmark to be updated according to the loading queue, and the orderly and effective updating process of each bookmark to be updated is ensured.
In some embodiments, when a bookmark to be updated is updated using a page load window, the auto play function of the page load window is disabled. The automatic playing function refers to automatically playing page content, such as video, audio, etc., in a window after the window is created. In order to avoid that when page content corresponding to a bookmark to be updated is loaded in a page loading window, audio carried in the page content is automatically played, so that a user perceives the process of updating the bookmark, the meaning of updating the bookmark to be updated in the background is lost, after the page loading window is created, the automatic playing function of the page loading window is forbidden, so that the audio is forbidden to be played when the page content is loaded in the page loading window, and the sound is prevented from being emitted when the page content is loaded in the background, and the silence effect of the bookmark to be updated in the background is ensured.
S1603, destroying the webpage loading window after acquiring all the target bookmarks corresponding to the bookmarks to be updated.
Through the updating process of S1601 to S1602, the target bookmarks of all the bookmarks to be updated are obtained, and accordingly, the corresponding bookmarks to be updated are replaced with the target bookmarks to be displayed on the bookmark page, and the bookmark page after the bookmark updating is shown in fig. 23, which is different from the bookmark shown in fig. 15 in that the first bookmark (bookmark 1) is updated to the target bookmark shown in fig. 21, the third bookmark (bookmark 2) is updated to the target bookmark shown in fig. 5 (4), and the second bookmark remains unchanged.
The web page loading window is destroyed to avoid the web page loading window occupying the network resources of the television browser and the computing resources of the display device 200. And simultaneously, after destroying the webpage loading window, recovering the automatic page playing function of the television browser so as to recover dynamic demonstration of videos, dynamic pictures and the like originally configured to be automatically played on the front page of the television browser, so that a user can browse the television browser in a normal state.
In some embodiments, the priority of the process of updating the bookmark to be updated by the display device 200 is configured to be lower than the level of the television browser performing other functions, that is, if the television browser performs other functions, it can be said that the television browser is in an operating state, the display device 200 immediately terminates the process of updating the bookmark to be updated and destroys the web page loading window to avoid the web page loading window occupying the network resources of the television browser and the computing resources of the display device 200, so as to ensure the quality and efficiency of the display device 200 performing other functions through the television browser. Further, if the display device 200 detects that the task of the television browser for executing other functions is completed, that is, the television browser resumes the idle state again, the bookmark to be updated is continuously updated in S1501-S1502, which is not described herein.
For example, if the user inputs a target website in the address bar 5003 of the tv browser by manipulating the remote controller and sends an access instruction instructing the display apparatus 200 to access the target website (website a), the display apparatus 200 immediately terminates the update process of the bookmark to be updated, which is currently being executed, in response to the access instruction, and destroys the current web page loading window. The display device 200 obtains corresponding web page data according to the web address a to render a corresponding web page using the web page data, and creates a window in the television browser for displaying the web page. The user instructs the display device 200 to close the window corresponding to the web site a by manipulating the remote controller, and does not instruct to open other windows of the television browser any more, at this time, the television browser will display only one window, and the window is used to display the top page of the television browser, i.e. the television browser resumes the idle state again. When the display device 200 detects that the tv browser is in the idle state, that bookmarks to be updated exist in the bookmark page of the tv browser, and that the network is in the connected state, these bookmarks to be updated are updated according to the flow similar to S1501 to S1502.
For example, the user moves the focus to one of the function options in the home page of the television browser by manipulating the remote controller, for example, to the icon of the common website a, and sends a selection instruction to the display device 200 by pressing the "confirm" button on the remote controller, so as to instruct the display device 200 to display the website page corresponding to the website a. The display device 200 receives the selection instruction, recognizes that the focus is located on the icon of the website a, and recognizes that the key value is "confirmed", and in response to the selection instruction, immediately terminates the update process of the bookmark to be updated, which is currently being executed, destroys the current web page loading window, acquires the web page data corresponding to the website a, displays the corresponding web page using the web page data, and creates a window in the television browser for displaying the web page of the website. The user instructs the display device 200 to close the window corresponding to the website a by manipulating the remote controller, and does not instruct to open other windows of the tv browser any more, at this time, the tv browser will display only one window, and the window is used to display the top page of the tv browser, i.e. the tv browser resumes the idle state again. When the display device 200 detects that the tv browser is in the idle state, that bookmarks to be updated exist in the bookmark page of the tv browser, and that the network is in the connected state, these bookmarks to be updated are updated according to the flow similar to S1501 to S1502.
In example three, the user may instruct the display apparatus 200 to perform the function of accessing the web site as in example one through the television browser or instruct the display apparatus 200 to perform the function of accessing the commonly used web site as in example two through the television browser by manipulating the remote controller, and the user may instruct the display apparatus 200 to close the television browser by selecting the total close button on the television browser or instruct the display apparatus 200 to directly exit the television browser (close the television browser) through the "home" button on the remote controller or instruct the display apparatus 200 to shut down, and the display apparatus 200 stores the bookmarks on the bookmark page in response to the above instruction. If the user instructs the display apparatus 200 to enter the television browser by manipulating the remote controller again, or instructs the display apparatus 200 to turn on and enter the television browser, the display apparatus 200 updates the bookmarks to be updated according to a flow similar to S1501 to S1502 when detecting that the television browser is in an idle state, that there are bookmarks to be updated in a bookmark page of the television browser, and that the network is in a connected state. It should be noted that, for the case of restarting to enter the television browser and updating the bookmark to be updated, if the bookmark to be updated is due to incomplete page rendering and the default thumbnail is adopted as the webpage thumbnail, the webpage data corresponding to the bookmark to be updated needs to be re-acquired, and the rendering data is extracted from the acquired webpage data so as to render the page.
According to the technical scheme, when a user adds a bookmark in the television browser, the user can directly input a target website to be bookmarked, the display device directly takes the target website as a webpage title, and takes a pre-stored default thumbnail as a webpage thumbnail to generate a bookmark corresponding to the target website, and the bookmark adding process is completely independent of a network, so that the bookmark can be added even if the network environment is poor or no network exists. When the display equipment detects that the network is in a connection state, the to-be-updated bookmark formed by the target website input by the user and the default thumbnail is automatically replaced by the corresponding target bookmark in the background, and the target bookmark is formed by the webpage title and the webpage thumbnail of the target webpage corresponding to the target website, so that the webpage content of the target webpage can be displayed more vividly, and the user can browse conveniently. Meanwhile, the background loading mode can ensure that the user normally uses other functions except the television browser so as to ensure the use experience of the user.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the above discussion in some examples is not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the disclosure and to enable others skilled in the art to best utilize the embodiments.

Claims (10)

1. A display device, characterized by comprising:
a display configured to display a user interface of a television browser, the user interface of the television browser including an add option;
a controller configured to:
receiving a control instruction sent by a user based on the adding option;
responding to the control instruction, and displaying a bookmark adding window;
receiving an adding instruction input by the user based on the bookmark adding window, wherein the adding instruction indicates a target website of a bookmark to be generated;
responding to the adding instruction, and acquiring a pre-stored default thumbnail;
generating a bookmark based on the target web address and the default thumbnail;
and adding the bookmark to a bookmark page of the television browser.
2. The display device of claim 1, wherein the controller is further configured to:
detecting the running state of the television browser and the connection state of a network;
when the television browser is in an idle state and the network is connected, replacing a bookmark to be updated with a target bookmark, wherein the bookmark to be updated is composed of a website input by the user and/or the default thumbnail, and the target bookmark is composed of a webpage title and a webpage thumbnail corresponding to the website input by the user.
3. The display device of claim 2, wherein the idle state means that the television browser opens only one window, and the window displays the home page.
4. The display device of claim 2, wherein when the television browser is in an idle state and the network is connected, the controller replaces the bookmark to be updated with the target bookmark, configured to:
creating a webpage loading window, wherein the webpage loading window is an invisible window;
acquiring the target bookmark corresponding to the bookmark to be updated from the webpage loading window;
after the target bookmarks corresponding to all the bookmarks to be updated are obtained, or when the television browser is in a working state, destroying the webpage loading window to terminate updating the bookmarks to be updated.
5. The display device of claim 4, wherein the controller obtains the target bookmark corresponding to the bookmark to be updated in the web page loading window, and is configured to:
arranging the bookmarks to be updated according to the sequence of adding the bookmarks to be updated to the bookmark page to obtain a loading queue;
And acquiring the target bookmark corresponding to each bookmark to be updated in the webpage loading window according to the loading queue, wherein the bookmark to be updated, which is failed to acquire by the target bookmark, and the data to be updated, which is successfully acquired by the target bookmark, are deleted from the loading queue.
6. The display device of claim 5, wherein the controller obtains the target bookmark corresponding to each bookmark to be updated in the web page loading window according to the loading queue, and is configured to:
accumulating failure times of acquiring the target bookmark by the bookmark to be updated;
if the failure times are smaller than the appointed times, acquiring the target bookmark again;
and if the failure times are equal to the appointed times, the target bookmark is not acquired any more, and the bookmark to be updated is deleted from the loading queue.
7. The display device of any of claims 4-6, wherein the controller obtains the target bookmark corresponding to the bookmark to be updated in the web page loading window, and is configured to:
loading a target webpage corresponding to the website input by the user in the webpage loading window;
Acquiring a webpage title and a webpage thumbnail of the target webpage;
and generating the target bookmark based on the webpage title and the webpage thumbnail.
8. The display device of claim 7, wherein the controller obtains a web page title and a web page thumbnail of the target web page configured to:
acquiring a webpage screenshot of the target webpage;
converting the webpage screenshot into the webpage thumbnail with a specified size.
9. The display device of claim 4, wherein the controller is configured to:
and prohibiting the automatic playing function of the webpage loading window.
10. A method for adding bookmarks in a television browser, the method being applied to a display device, the display device displaying a user interface of the television browser, the user interface of the television browser including an addition option, the method comprising:
receiving a control instruction sent by a user based on the adding option;
responding to the control instruction, and displaying a bookmark adding window;
receiving an adding instruction input by the user based on the bookmark adding window, wherein the adding instruction indicates a target website of a bookmark to be generated;
Responding to the adding instruction, and acquiring a pre-stored default thumbnail;
generating a bookmark based on the target web address and the default thumbnail;
and adding the bookmark to a bookmark page of the television browser.
CN202210210577.XA 2022-03-04 2022-03-04 Display equipment and bookmark adding method in television browser Pending CN116744073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210210577.XA CN116744073A (en) 2022-03-04 2022-03-04 Display equipment and bookmark adding method in television browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210210577.XA CN116744073A (en) 2022-03-04 2022-03-04 Display equipment and bookmark adding method in television browser

Publications (1)

Publication Number Publication Date
CN116744073A true CN116744073A (en) 2023-09-12

Family

ID=87899949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210210577.XA Pending CN116744073A (en) 2022-03-04 2022-03-04 Display equipment and bookmark adding method in television browser

Country Status (1)

Country Link
CN (1) CN116744073A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117454336A (en) * 2023-12-22 2024-01-26 厦门天锐科技股份有限公司 Anti-disclosure method and device for adding watermark to target webpage

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117454336A (en) * 2023-12-22 2024-01-26 厦门天锐科技股份有限公司 Anti-disclosure method and device for adding watermark to target webpage
CN117454336B (en) * 2023-12-22 2024-03-15 厦门天锐科技股份有限公司 Anti-disclosure method and device for adding watermark to target webpage

Similar Documents

Publication Publication Date Title
WO2021114529A1 (en) User interface display method and display device
CN113535019B (en) Display device and application icon display method
CN112463750B (en) File synchronization method and display device
CN111291238A (en) Display device and search display method
CN116744073A (en) Display equipment and bookmark adding method in television browser
CN114116622A (en) Display device and file display method
CN113490032A (en) Display device and medium resource display method
CN112733050A (en) Display method of search results on display device and display device
CN111324215A (en) Display device and search display method
CN113573149B (en) Channel searching method and display device
CN112911371B (en) Dual-channel video resource playing method and display equipment
CN113573115B (en) Method for determining search characters and display device
CN114007128A (en) Display device and network distribution method
CN114007129A (en) Display device and network distribution method
CN113490013B (en) Server and data request method
CN115348475B (en) Display equipment and channel display method
WO2022037213A1 (en) Display method and display device
CN115514998B (en) Display equipment and network media resource switching method
CN113490041B (en) Voice function switching method and display device
CN114007127B (en) Display device and multi-device distribution network retry method
CN112199612B (en) Bookmark adding and combining method and display equipment
WO2021139186A1 (en) Display device
CN118331525A (en) Display equipment, display control method and device of target webpage and storage medium
CN116185238A (en) Display device and interactive application display method
CN118132881A (en) Display device and web page content collection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination