CN112836158A - Resource loading method on display equipment and display equipment - Google Patents

Resource loading method on display equipment and display equipment Download PDF

Info

Publication number
CN112836158A
CN112836158A CN202110255546.1A CN202110255546A CN112836158A CN 112836158 A CN112836158 A CN 112836158A CN 202110255546 A CN202110255546 A CN 202110255546A CN 112836158 A CN112836158 A CN 112836158A
Authority
CN
China
Prior art keywords
resource request
resource
user
controller
current
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
CN202110255546.1A
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
Vidaa USA Inc
Original Assignee
Vidaa Netherlands International Holdings BV
Vidaa USA Inc
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, Vidaa USA Inc filed Critical Vidaa Netherlands International Holdings BV
Priority to CN202110255546.1A priority Critical patent/CN112836158A/en
Publication of CN112836158A publication Critical patent/CN112836158A/en
Priority to EP22746777.6A priority patent/EP4285595A1/en
Priority to PCT/US2022/014491 priority patent/WO2022165299A1/en
Priority to US18/263,164 priority patent/US20240107108A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Abstract

The application provides a resource loading method on display equipment and the display equipment. The controller of the display equipment can analyze the webpage file to which the user browses the content, so as to obtain a resource request queue; then, the controller puts the current resource request corresponding to the current browsing content of the user into the head of the resource request queue; or, the controller only needs to put the network resource request into the head of the resource request queue under the condition that the current resource request is the network resource request; and finally, loading the corresponding resources by the controller from the head of the resource request queue according to the resource requests. According to the technical scheme, the current resource request is placed at the head of the resource request queue, the controller can process the resource request in priority, and therefore even if a lot of resources are waiting for loading, the controller can be guaranteed to load the content currently browsed by a user at first, the resource loading speed of the display device is further improved, and the user experience is guaranteed.

Description

Resource loading method on display equipment and display equipment
Technical Field
The present application relates to the field of display technologies, and in particular, to a resource loading method on a display device and a display device.
Background
The Cobalt is a single-webpage and single-process lightweight browser, and when the browser is used on a display device to load resources, the resources need to be loaded in sequence according to the arrangement sequence of the resources. The display of the UI page of the current display device system is usually a local web page of the system loaded by a cobalt browser, and since the cobalt browser is a single web application and a plurality of UI applications at the front end of the display device run on the same cobalt browser in different modules, the resource loading of the application modules are coupled and mutually influenced.
Taking loading pictures as an example, the cobalt browser cannot distinguish which UI application the current picture request comes from, so that no matter any UI application, as long as the user browses pictures, even if the user only browses pictures quickly and quits without waiting for successful loading, the user can start queuing and loading inside the cobalt browser. Especially, when the network state is poor and the user browses many pictures quickly, the pictures cannot be rendered and displayed for a long time when the user waits for stopping on a certain picture resource, which results in a particularly poor user experience.
At present, in order to solve the above problems occurring when a coblt browser loads resources, a browser picture cache is generally increased, browsed pictures are stored in a memory, and the pictures can be directly read from the memory without being downloaded again when being loaded next time; or, a local disk storage mechanism is added, pictures browsed in some important applications are downloaded to a platform disk, and the pictures are read from the disk into the memory when being loaded next time, so that the time for downloading from the network again is saved.
However, the indexes of the two schemes are not radical, the space between a disk and a memory is not infinite, too much cached picture content causes great pressure on a system, and the stability of the system and the service life of hardware are influenced. Moreover, the above schemes can only save the loading speed of non-first browsing pictures, and the problem of slow first loading picture can not be solved.
Disclosure of Invention
The application provides a resource loading method on display equipment and the display equipment, which are used for solving the problem that a browser on the existing display equipment is slow in resource loading speed.
In a first aspect, the present application provides a display device comprising:
a display;
a controller configured to:
analyzing a webpage file to which the user browsing content belongs to obtain a resource request queue; each resource request in the resource request queue respectively acquires each resource for supporting webpage content display;
putting a current resource request corresponding to the current browsing content of the user into the head of the resource request queue;
and loading corresponding resources according to the resource requests in sequence from the head of the resource request queue.
In some embodiments, the controller is further configured to:
detecting the type of a current resource request corresponding to the current browsing content of a user;
under the condition that the current resource request is a network resource request, sending the network resource request to a server;
receiving network resources which are sent back by a server and acquired according to the network resource request;
and loading the network resource.
In some embodiments, the controller is further configured to:
under the condition that the current resource request is a network resource request, detecting whether a display device is connected with a server or not;
and under the condition that the display equipment is connected with the server, sending the network resource request to the server.
In some embodiments, the controller is further configured to:
and under the condition that the current resource request is a local resource request, loading the corresponding local resource from the local memory of the display equipment.
In a second aspect, the present application also provides another display device, including:
a display;
a controller configured to:
analyzing a webpage file to which the user browsing content belongs to obtain a resource request queue; each resource request in the resource request queue respectively acquires each resource for supporting webpage content display;
under the condition that a current resource request corresponding to current browsing content of a user is a network resource request, putting the network resource request into a head of the resource request queue;
and loading corresponding resources according to the resource requests in sequence from the head of the resource request queue.
In a third aspect, the present application further provides a resource loading method on a display device, including:
analyzing a webpage file to which the user browsing content belongs to obtain a resource request queue; each resource request in the resource request queue respectively acquires each resource for supporting webpage content display;
putting a current resource request corresponding to the current browsing content of the user into the head of the resource request queue;
and loading corresponding resources according to the resource requests in sequence from the head of the resource request queue.
In some embodiments, the method further comprises:
detecting the type of a current resource request corresponding to the current browsing content of a user;
under the condition that the current resource request is a network resource request, sending the network resource request to a server;
receiving network resources which are sent back by a server and acquired according to the network resource request;
and loading the network resource.
In a fourth aspect, the present application further provides another resource loading method for a display device, including:
analyzing a webpage file to which the user browsing content belongs to obtain a resource request queue; each resource request in the resource request queue respectively acquires each resource for supporting webpage content display;
under the condition that a current resource request corresponding to current browsing content of a user is a network resource request, putting the network resource request into a head of the resource request queue;
and loading corresponding resources according to the resource requests in sequence from the head of the resource request queue.
As can be seen from the foregoing, the present application provides a resource loading method on a display device and a display device. The controller of the display device can analyze the webpage file to which the user browses the content, so as to obtain a resource request queue of all resources supporting the content displayed on the webpage; then, the controller puts the current resource request corresponding to the current browsing content of the user into the head of the resource request queue; or, the controller only needs to put the network resource request into the head of the resource request queue under the condition that the current resource request is the network resource request; and finally, loading the corresponding resources by the controller from the head of the resource request queue according to the resource requests. According to the technical scheme, the current resource request is placed at the head of the resource request queue, the controller can process the resource request in priority, and therefore even if a lot of resources are waiting for loading, the controller can be guaranteed to load the content currently browsed by a user at first, the resource loading speed of the display device is further improved, and the user experience is guaranteed.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 illustrates a schematic diagram of a usage scenario of a display device according to some embodiments;
fig. 2 illustrates a hardware configuration block diagram of the control apparatus 100 according to some embodiments;
fig. 3 illustrates a hardware configuration block diagram of the display apparatus 200 according to some embodiments;
FIG. 4 illustrates a software configuration diagram in the display device 200 according to some embodiments;
FIG. 5 illustrates a control flow diagram for controller 250 according to some embodiments;
FIG. 6 illustrates a second control flow diagram of controller 250 according to some embodiments;
FIG. 7 illustrates a picture resource display diagram in application A, according to some embodiments;
FIG. 8 illustrates a picture resource display diagram of application B in accordance with some embodiments;
FIG. 9 illustrates a third control flow diagram of controller 250 according to some embodiments;
FIG. 10 illustrates a fourth control-flow diagram of controller 250 according to some embodiments;
FIG. 11 illustrates a flow diagram of a method for resource loading on a display device, in accordance with some embodiments;
FIG. 12 illustrates a flow diagram of another method for resource loading on a display device, in accordance with some embodiments.
Detailed Description
To make the purpose and embodiments of the present application clearer, the following will clearly and completely describe the exemplary embodiments of the present application with reference to the attached drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous 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" and "comprising," 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 expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
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 functionality associated with that element.
FIG. 1 illustrates a schematic diagram of a usage scenario of a display device according to some embodiments. As shown in fig. 1, the display apparatus 200 is also in data communication with a server 400, and a user can operate the display apparatus 200 through the smart device 300 or the control device 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 an infrared protocol communication or a bluetooth protocol communication, and other short-distance communication methods, and controls the display device 200 in a wireless or wired manner. The user may control the display apparatus 200 by inputting a user instruction through at least one of a key on a remote controller, a voice input, a control panel input, and the like.
In some embodiments, the smart device 300 may include any of a mobile terminal, a tablet, a computer, a laptop, an AR/VR device, and the like.
In some embodiments, the smart device 300 may also be used to control the display device 200. For example, the display device 200 is controlled using an application program running on the smart device.
In some embodiments, the smart device 300 and the display device may also be used for communication of data.
In some embodiments, the display device 200 may also be controlled in a manner other than the control apparatus 100 and the smart device 300, for example, the voice instruction control of the user may be directly received by a module configured inside the display device 200 to obtain a voice instruction, or may be received by a voice control apparatus provided outside the display device 200.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be allowed to be communicatively connected through 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 apparatus 200. The server 400 may be a cluster or a plurality of clusters, and may include one or more types of servers.
In some embodiments, software steps executed by one step execution agent may be migrated on demand to another step execution agent in data communication therewith for execution. Illustratively, software steps performed by the server may be migrated to be performed on a display device in data communication therewith, and vice versa, as desired.
Fig. 2 illustrates a block diagram of a hardware configuration of the control apparatus 100 according to some embodiments. As shown in fig. 2, 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 apparatus 100 may receive an input operation instruction from a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an interaction intermediary between the user and the display device 200.
In some embodiments, the communication interface 130 is used for external communication, and includes at least one of a WIFI chip, a bluetooth module, NFC, or an alternative module.
In some embodiments, the user input/output interface 140 includes at least one of a microphone, a touchpad, a sensor, a key, or an alternative module.
Fig. 3 illustrates a hardware configuration block diagram of a display device 200 according to some embodiments.
In some embodiments, the display apparatus 200 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, a user interface.
In some embodiments the controller comprises a central processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an nth interface for input/output.
In some embodiments, the display 260 includes a display screen component for displaying pictures, and a driving component for driving image display, a component for receiving image signals from the controller output, displaying video content, image content, and menu manipulation interface, and a user manipulation UI interface, etc.
In some embodiments, the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
In some embodiments, the tuner demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio/video signals, such as 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 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 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 collecting ambient light intensity; alternatively, the detector 230 includes an image collector, such as a camera, which may be used to collect external environment scenes, attributes of the user, or user interaction gestures, or the detector 230 includes a sound collector, such as a microphone, which is used to receive external sounds.
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, and the like. The interface may be a composite input/output interface formed by the plurality of interfaces.
In some embodiments, the controller 250 and the modem 210 may be located in different separate devices, that is, the modem 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.
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 memory. The controller 250 controls the overall operation of the display apparatus 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 may perform an operation related to the object selected by the user command.
In some embodiments, the object may be any one of selectable objects, such as a hyperlink, an icon, or other actionable control. The operations related to the selected object are: displaying an operation connected to a hyperlink page, document, image, or the like, or performing an operation of a program corresponding to the icon.
In some embodiments the controller comprises at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a RAM Random Access Memory (RAM), a ROM (Read-Only Memory), a first to nth interface for input/output, a communication Bus (Bus), and the like.
A CPU processor. For executing operating system and application program instructions stored in the memory, and executing various application programs, data and contents according to various interactive instructions receiving external input, so as to finally display and play various audio-video contents. The CPU processor may include a plurality of processors. E.g. comprising a main processor and one or more sub-processors.
In some embodiments, a graphics processor for generating various graphics objects, such as: at least one of an icon, an operation menu, and a user input instruction display figure. The graphic processor comprises an arithmetic unit, which performs operation by receiving various interactive instructions input by a user and displays various objects according to display attributes; the system also comprises a renderer for rendering various objects obtained based on the arithmetic unit, wherein the rendered objects are used for being displayed on a display.
In some embodiments, the video processor is configured to receive an external video signal, and perform at least one of video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a signal displayed or played on the direct display device 200.
In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image composition module, a frame rate conversion module, a display formatting module, and the like. The demultiplexing module is used for demultiplexing the input audio and video data stream. And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like. And the image synthesis module is used for carrying out superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphic generator so as to generate an image signal for display. And the frame rate conversion module is used for converting the frame rate of the input video. And the display formatting module is used for converting the received video output signal after the frame rate conversion, and changing the signal to be in accordance with the signal of the display format, such as an output RGB data signal.
In some embodiments, the audio processor is configured to receive an external audio signal, decompress and decode the received audio signal according to a standard codec protocol of the input signal, and perform at least one of noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in the speaker.
In some embodiments, a user may enter user commands on a Graphical User Interface (GUI) displayed on display 260, and the user input interface receives the user input commands 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 receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A commonly used presentation form of the User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the electronic device, where the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc. visual interface elements.
In some embodiments, user interface 280 is an interface that may be used to receive control inputs (e.g., physical buttons on the body of the display device, or the like).
In some embodiments, a system of a 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 make up the basic operating system structure that allows users to manage files, run programs, and use the system. After power-on, the kernel is started, kernel space is activated, hardware is abstracted, hardware parameters are initialized, and virtual memory, a scheduler, signals and interprocess communication (IPC) are operated and maintained. And after the kernel is started, loading the Shell and the user application program. The application program is compiled into machine code after being started, and a process is formed.
As shown in fig. 4, 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 make up the basic operating system structure that allows users to manage files, run programs, and use the system. After power-on, the kernel is started, kernel space is activated, hardware is abstracted, hardware parameters are initialized, and virtual memory, a scheduler, signals and interprocess communication (IPC) are operated and maintained. And after the kernel is started, loading the Shell and the user application program. The application program is compiled into machine code after being started, and a process is formed.
As shown in fig. 4, the system of the display device is divided into three layers, i.e., an application layer, a middleware layer and a hardware layer from top to bottom.
The Application layer mainly includes common applications on the television and an Application Framework (Application Framework), wherein the common applications are mainly applications developed based on the Browser, such as: HTML5 APPs; and Native APPs (Native APPs);
an Application Framework (Application Framework) is a complete program model, and has all basic functions required by standard Application software, such as: file access, data exchange …, and interfaces (toolbars, status bars, menus, dialog boxes) for use of these functions.
Native APPs (Native APPs) may support online or offline, message push, or local resource access.
The middleware layer comprises various television protocols, multimedia protocols, system components and other middleware. The middleware can use basic service (function) provided by system software to connect each part of an application system or different applications on a network, and can achieve the purposes of resource sharing and function sharing.
The hardware layer mainly comprises an HAL interface, hardware and a driver, wherein the HAL interface is a unified interface for butting all the television chips, and specific logic is realized by each chip. The driving mainly comprises: audio drive, display driver, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (like fingerprint sensor, temperature sensor, pressure sensor etc.) and power drive etc..
The Cobalt is a single-webpage and single-process lightweight browser, and when the display device 200 loads resources by using the browser, the resources need to be loaded in sequence according to the arrangement sequence of the resources. The UI page of the current display device 200 is usually a local web page of the system loaded by a cobalt browser, and since the cobalt browser is a single web application and multiple UI applications at the front end of the display device 200 run on the same cobalt browser in different modules, the resource loading of the application modules are coupled and affect each other.
Taking loading pictures as an example, the cobalt browser cannot distinguish which UI application the current picture request comes from, so that no matter any UI application, as long as the user browses pictures, even if the user only browses pictures quickly and quits without waiting for successful loading, the user can start queuing and loading inside the cobalt browser. Especially, when the network state is poor and the user browses many pictures quickly, the pictures cannot be rendered and displayed for a long time when the user waits for stopping on a certain picture resource, which results in a particularly poor user experience.
At present, in order to solve the above problems occurring when a coblt browser loads resources, a browser picture cache is generally increased, browsed pictures are stored in a memory, and the pictures can be directly read from the memory without being downloaded again when being loaded next time; or, a local disk storage mechanism is added, pictures browsed in some important applications are downloaded to a platform disk, and the pictures are read from the disk into the memory when being loaded next time, so that the time for downloading from the network again is saved.
However, the indexes of the two schemes are not radical, the space between a disk and a memory is not infinite, too much cached picture content causes great pressure on a system, and the stability of the system and the service life of hardware are influenced. Moreover, the above schemes can only save the loading speed of non-first browsing pictures, and the problem of slow first loading picture can not be solved.
Based on the above content, the embodiment of the present application provides a resource loading method on a display device and a display device 200, which can place a current resource request corresponding to a content currently browsed by a user at a head of a resource request queue, so that a controller loads a resource of the head of the queue first, and thus even if there are many resources waiting to be loaded, the controller can be ensured to load the content currently browsed by the user first, thereby improving a resource loading speed of the display device and ensuring a user experience.
As described in the foregoing embodiments, the display device 200 in the embodiment of the present application has the controller 250. The controller 250 may control a browser (e.g., the aforementioned cobelt browser) on the display device 200 to perform a series of resource loading operations, for example, may control the browser to acquire a network resource from the server 400, or may control the browser to load a local resource from a local memory.
The UI interface on display device 200 may be viewed as a local web page on the display device that may provide some browsable content to the user, such as recommended movie and television resource pictures. The display content on the UI interface is usually generated by acquiring the corresponding resource, such as the JS file, the HTML file, the picture resource, and the like, by the browser on the display device 200, and then using the resource.
FIG. 5 illustrates a control flow diagram for controller 250 according to some embodiments.
As shown in fig. 5, when a user browses content on a local web page of the display device 200, the controller 250 acquires a web page file of a browsing page, where the browsing page may be a page in a certain application or a page used for displaying different resources on the display device 200, that is, the local web page may be a page provided in a certain application in the display device 200 or a page provided by the display device 200 itself.
The web page file may contain a loading order of each resource, and the loading order may be a presentation order of each content on the local web page from top to bottom, or a presentation order from left to right, and so on. Since the controller 250 needs to request resources from the memory or the server 400, in this embodiment, the loading sequence of the resources may be understood as the resource request sequence.
After acquiring the web page file, the controller 250 analyzes the web page file to obtain a resource request queue corresponding to the web page file, and the resource request queue sequentially arranges corresponding resource requests according to a resource loading sequence.
In this embodiment, the resource request queue may be a first-in first-out queue, i.e. the first-in resource request is processed preferentially. Generally, when the user browses the content normally, the controller 250 may process each resource request sequentially from the head of the resource request queue according to the sequence of the resource request queue, and the resource request that enters later is placed at the tail of the resource request queue and waits to be processed. In this embodiment of the present application, in order to ensure that the content currently browsed by the user is quickly displayed, as shown in fig. 5, the controller 250 needs to put the current resource request corresponding to the content currently browsed by the user into the head of the resource request queue, so that the controller 250 can preferentially display the content currently needed to be browsed by the user according to the resource requests from the head of the queue and preferentially process the current resource request of the head of the queue according to the resource requests.
In this embodiment, the position of the focus frame on the local web page may be detected by the controller 250, and the content selected by the focus frame is used as the content currently selected and browsed by the user.
Alternatively, in some embodiments, the controller 250 may detect a time that the focus selection box stays in a certain area when the user moves the focus selection box, and then determine the content currently viewed by the user according to the time that the focus selection box stays, for example, when the stay time of the focus selection box is greater than or equal to a certain threshold, the selected content of the focus selection box at the current position may be determined as the content currently viewed by the user.
As can be seen from the above solutions, in the display device 200 provided in the embodiment of the present application, the controller 250 may obtain the resource request queue by analyzing the web page file to which the user browses the content; then, the controller 250 puts the current resource request corresponding to the current browsing content of the user into the head of the resource request queue; the controller 250 loads the corresponding resources according to the resource requests in sequence from the head of the resource request queue. Therefore, even if a lot of resources are waiting to be loaded, the controller 250 can be ensured to load the content currently browsed by the user at first, so that the resource loading speed of the display device 200 is increased, and the use experience of the user is ensured.
In general, some memory spaces are set in the display device 200 to cache some resources corresponding to the content browsed by the user, and these resources cached in the local memory are referred to as local resources. When a resource is cached in the local memory of the display device 200 and a user needs to load the resource when browsing the local web page, the controller 250 may directly load the resource from the local memory.
In some cases, some resources are not cached in the local memory, for example, resources that need to be obtained when the user browses a certain content for the first time, or some real-time resources that can only be obtained from the server 400. For resources that are not cached in the local memory, the controller 250 needs to retrieve from the server 400 and load them, and these resources retrieved from the server 400 are referred to as network resources.
As can be seen, in some embodiments, the controller 250 further needs to detect the type of the current resource request, and obtain and load the corresponding resource from different locations according to different types.
FIG. 6 illustrates a second control flow diagram for controller 250 according to some embodiments.
As shown in fig. 6, in some embodiments, after acquiring the resource request queue, the controller 250 may continue to detect the type of the current resource request corresponding to the content currently browsed by the user.
In the case that the current resource request is a local resource request, the controller 250 loads a corresponding local resource from the local memory of the display apparatus 200. When the current resource request is a network resource request, the controller 250 acquires and loads the corresponding network resource from the server 400 according to the network resource request. Finally, whether the loaded resource is a network resource or not, the controller 250 displays the current browsing content of the user using the resource.
It should be noted that some loading modules, network modules, and the like also usually exist in the browser, and the controller 250 may further perform operations such as resource loading and network connection by controlling these modules, for example, the controller 250 controls the network module to establish connection with the server 400, controls the network module to send a network resource request to the server 400, and controls the network module to receive the network resource sent back by the server 400; or the controller 250 controls the loading module to sequentially process the resource requests in the resource request queue and load the corresponding local resources or network resources.
In the embodiment of the present application, the execution process of the controller 250 may be specifically described by taking a picture resource that is easily perceived by a user as an example.
Fig. 7 illustrates a picture resource display diagram in application a, according to some embodiments. FIG. 8 illustrates a picture resource display diagram of application B, according to some embodiments.
The display information of each video program, such as posters or scenario screenshots, is displayed in the application a in the form of pictures, when the user opens the application a, the pictures on the page of the application a may not be completely displayed, and a certain time is required for loading, so that the display page of the application a, which is initially seen by the user, is as shown in fig. 7, and at this time, all picture resources are gray and are in a waiting-to-load state. However, when the user opens the application a, the application a will send a picture resource request to the controller 250, and the controller 250 may parse the resource request sequence of each picture resource on the application a interface from the web file corresponding to the application a, thereby forming a resource request queue. The controller 250 may sequentially process each resource request from the head of the resource request queue and add the resource request to the corresponding picture resource to be displayed on the interface of the application a. If the user quickly browses the application A and does not wait until all pictures in the application A are loaded, the user opens the application B, all picture resource requests corresponding to the application A still wait to be processed in a resource request queue at the moment, and the picture resource requests in the application B are sequentially added into the resource requests. The controller 250 continuously detects the picture area currently browsed by the user during the process of browsing the application a or browsing the application B. As shown in fig. 8, if the user selects to browse the content of the fifth picture area in application B, the controller 250 may put a resource request for requesting the fifth picture in the head of the resource request queue, then preferentially process the resource request at the head of the queue, obtain the corresponding picture resource from the server 400, and load the picture resource onto the fifth picture area on the page of application B, where the displayed content is as shown in fig. 8.
When the controller 250 processes the resource request at the head of the queue, other resource requests in the resource request queue are delayed to be processed and are currently in a waiting state.
FIG. 9 illustrates a third control flow diagram for controller 250 according to some embodiments.
As shown in fig. 9, in some embodiments, in the case that it is detected that the current resource request corresponding to the current browsing content of the user is a network resource request, the controller 250 further needs to detect whether the display apparatus 200 is connected to the server, because the network resource needs to be acquired from the server 400, and the premise of communicating with the server 400 is that the connection is established between the display apparatus 200 and the server 400.
And, the controller 250 transmits a network resource request to the server 400 in a case where the display apparatus 200 is connected to the server 400; and then receives the corresponding network resource obtained according to the network resource request sent back by the server 400. Finally, the controller 250 displays the current browsing content of the user by using the network resource.
As can be seen from the above, in the display device 200 in the embodiment of the present application, the controller 250 may control the operation of loading the resource by the browser, when the user browses the content on the display device 200, the page providing the content may send a resource request to the browser, and the browser loads the resource in sequence according to the resource request and displays the resource on the page. Since the controller 250 can control the loading operation of the browser, the controller 250 can receive the resource request, load the resource according to the resource request, and place the current resource request corresponding to the current browsing content of the user at the head of the resource request queue, so that the controller 250 can process the resource request preferentially. Therefore, even if a lot of resources are waiting to be loaded, the controller 250 can be ensured to load the content currently browsed by the user at first, so that the resource loading speed of the display device 200 is increased, and the use experience of the user is ensured.
In addition, in some cases, if the user browses too fast, even if the browsed content is not what the user needs to view, the resource request corresponding to the browsed content may wait in the resource request queue, so that the resource corresponding to the content that the user needs to browse currently cannot be loaded immediately, and only the resource can wait. In the above embodiment of the present application, regardless of whether the resource request corresponding to the content currently browsed by the user is a network resource request, the controller 250 may place the resource request at the head of the resource request queue, so that the resource request is preferentially processed, and further, the content currently browsed by the user is preferentially loaded, so that the user does not need to waste too much time to wait for the resource to be loaded.
FIG. 10 illustrates a fourth control-flow diagram for controller 250 according to some embodiments.
As described in the previous embodiments, the network resource requires the controller 250 to obtain from the server 400 through the network connection, while the local resource requires the controller 250 to obtain directly from the local memory, which is faster than the network resource. Because, when the content being browsed by the user needs to request the network resource to be displayed, if the network resource request is at the rear position in the resource request queue, the network resource needs to wait for the previous resource request to be processed before being loaded, and before being loaded, the controller 250 needs to establish a communication connection with the server 400 to send a signal and a response to each other, and therefore, the time for the controller 250 to process the network resource request is relatively long, and similarly, the time for the controller 250 to acquire the network resource is also relatively long.
Based on this, another display device 200 is further provided in this embodiment of the application, as shown in fig. 10, a controller 250 therein may first parse a web page file to which the user browsing content belongs, and obtain a resource request queue; and under the condition that the current resource request corresponding to the current browsing content of the user is detected to be the network resource request, the network resource request is put at the head of the resource request queue and is preferentially processed by the controller 250, so that the network resource corresponding to the current browsing content of the user cannot be delayed for processing, the current browsing content can be displayed immediately, and the user does not need to waste too much time to wait for loading. And because the local resource acquisition speed is high, the loading can still be carried out according to the sequence in the resource request queue.
Still taking the picture resource as an example, if the user quickly browses the application a and does not wait until all pictures in the application a are loaded, the user opens the application B again, at this time, all picture resource requests corresponding to the application a are still in the resource request queue to be processed, and the picture resource requests in the application B are also sequentially added into the resource requests. If the user selects to browse the content of the third picture area in application B, and the controller 250 detects that the resource request corresponding to the picture area is a network resource request, the controller 250 will place the network resource request at the head of the resource request queue, and then preferentially process the network resource request at the head of the queue. After the network resource request is processed, the controller 250 continues to process each resource request in sequence according to the original sequence in the resource request queue.
It should be noted that, if the controller 250 processes the network resource request at the head of the current queue, if the user selects to browse a new picture area again, and the resource request corresponding to the new picture area is also a network resource request, the controller 250 can still store the new network resource request in the head of the current resource request queue, at this time, the current network resource request being processed by the controller 250 can be regarded as having been transferred from the resource request queue to another processing queue, and therefore, the current network resource being processed and the newly stored network resource request do not affect each other, and they are at the head of the queue when being stored in the resource request queue.
In some embodiments, in the case that it is detected that the current resource request corresponding to the current browsing content of the user is a network resource request, the controller 250 further needs to detect whether the display apparatus 200 is connected to the server, because the network resource needs to be acquired from the server 400, and the premise of communicating with the server 400 is that the connection is established between the display apparatus 200 and the server 400.
And, the controller 250 transmits a network resource request to the server 400 in a case where the display apparatus 200 is connected to the server 400; and then receives the corresponding network resource obtained according to the network resource request sent back by the server 400. Finally, the controller 250 displays the current browsing content of the user by using the network resource.
The difference between the display device 200 of the embodiment of the present application and the previous display device 200 is that the controller 250 of the display device 200 only needs to put the network resource request into the head of the resource request queue if the current resource request is a network resource request, so as to accelerate the loading speed of the network resource. Other contents of the display device 200 are the same as those of the previous embodiment of the display device 200, and are not described again here.
As can be seen from the above, in the another display device 200 in the embodiment of the present application, when the resource request corresponding to the current browsing content of the user is a network resource request, the controller 250 may put the network resource request into the head of the resource request queue, so that the controller 250 can process the network resource request preferentially. Therefore, the controller can be ensured to load the content currently browsed by the user at first, the network resource loading speed of the display device 200 is further improved, and the use experience of the user is ensured.
FIG. 11 illustrates a flow diagram of a method for resource loading on a display device, according to some embodiments.
The resource loading method on the display device provided in the embodiment of the present application may be applied to the controller 250 of the display device 200 in the foregoing embodiment, as shown in fig. 11, the method may include the following steps:
step S101, analyzing the webpage file to which the user browses the content, and obtaining a resource request queue.
And respectively acquiring each resource for supporting the display of the webpage content by each resource request in the resource request queue.
And S102, putting the current resource request corresponding to the current browsing content of the user into the head of the resource request queue.
And step S103, loading corresponding resources according to the resource requests in sequence from the head of the resource request queue.
In some embodiments, the method further comprises: detecting the type of a current resource request corresponding to the current browsing content of a user; sending the network resource request to the server 400 in case that the current resource request is a network resource request; receiving the network resource obtained according to the network resource request sent back by the server 400; and loading the network resource.
In some embodiments, the method further comprises: detecting whether the display device 200 is connected with the server 400 under the condition that the current resource request is a network resource request; in the case where the display apparatus 200 is connected to the server 400, the network resource request is transmitted to the server 400.
In some embodiments, the method further comprises: and loading the corresponding local resource from the local memory of the display device 200 under the condition that the current resource request is a local resource request.
FIG. 12 illustrates a flow diagram of another method for resource loading on a display device, in accordance with some embodiments.
The resource loading method on the display device provided in the embodiment of the present application may also be applied to the controller 250 of the display device 200 in the foregoing embodiment, as shown in fig. 12, the method may include the following steps:
step S201, parsing the web page file to which the user browsing content belongs, and obtaining a resource request queue.
And respectively acquiring each resource for supporting the display of the webpage content by each resource request in the resource request queue.
Step S202, under the condition that the current resource request corresponding to the current browsing content of the user is a network resource request, the network resource request is put into the head of a resource request queue;
and step S203, loading corresponding resources according to the resource requests in sequence from the head of the resource request queue.
In some embodiments, the method further comprises: sending the network resource request to the server 400 in case that the current resource request is a network resource request; receiving the network resource obtained according to the network resource request sent back by the server 400; and loading the network resource.
In some embodiments, the method further comprises: detecting whether the display device 200 is connected with the server 400 under the condition that the current resource request is a network resource request; in the case where the display apparatus 200 is connected to the server 400, the network resource request is transmitted to the server 400.
As all the resource loading methods on the display device described in this embodiment of the present application can be applied to the controller 250 described in the foregoing embodiment, other contents related to the resource loading methods on the display device in this embodiment of the present application may refer to the contents of the foregoing embodiment, and are not described herein again.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are 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 principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A display device, comprising:
a display;
a controller configured to:
analyzing a webpage file to which the user browsing content belongs to obtain a resource request queue; each resource request in the resource request queue respectively acquires each resource for supporting webpage content display;
putting a current resource request corresponding to the current browsing content of the user into the head of the resource request queue;
and loading corresponding resources according to the resource requests in sequence from the head of the resource request queue.
2. The display device of claim 1, wherein the controller is further configured to:
detecting the type of a current resource request corresponding to the current browsing content of a user;
under the condition that the current resource request is a network resource request, sending the network resource request to a server;
receiving network resources which are sent back by a server and acquired according to the network resource request;
and loading the network resource.
3. The display device of claim 2, wherein the controller is further configured to:
under the condition that the current resource request is a network resource request, detecting whether a display device is connected with a server or not;
and under the condition that the display equipment is connected with the server, sending the network resource request to the server.
4. The display device of claim 2, wherein the controller is further configured to:
and under the condition that the current resource request is a local resource request, loading the corresponding local resource from the local memory of the display equipment.
5. A display device, comprising:
a display;
a controller configured to:
analyzing a webpage file to which the user browsing content belongs to obtain a resource request queue; each resource request in the resource request queue respectively acquires each resource for supporting webpage content display;
under the condition that a current resource request corresponding to current browsing content of a user is a network resource request, putting the network resource request into a head of the resource request queue;
and loading corresponding resources according to the resource requests in sequence from the head of the resource request queue.
6. The display device of claim 5, wherein the controller is further configured to:
under the condition that the current resource request is a network resource request, sending the network resource request to a server;
receiving network resources which are sent back by a server and acquired according to the network resource request;
and loading the network resource.
7. The display device of claim 6, wherein the controller is further configured to:
under the condition that the current resource request is a network resource request, detecting whether a display device is connected with a server or not;
and under the condition that the display equipment is connected with the server, sending the network resource request to the server.
8. A method for loading resources on a display device, comprising:
analyzing a webpage file to which the user browsing content belongs to obtain a resource request queue; each resource request in the resource request queue respectively acquires each resource for supporting webpage content display;
putting a current resource request corresponding to the current browsing content of the user into the head of the resource request queue;
and loading corresponding resources according to the resource requests in sequence from the head of the resource request queue.
9. The method of claim 8, further comprising:
detecting the type of a current resource request corresponding to the current browsing content of a user;
under the condition that the current resource request is a network resource request, sending the network resource request to a server;
receiving network resources which are sent back by a server and acquired according to the network resource request;
and loading the network resource.
10. A method for loading resources on a display device, comprising:
analyzing a webpage file to which the user browsing content belongs to obtain a resource request queue; each resource request in the resource request queue respectively acquires each resource for supporting webpage content display;
under the condition that a current resource request corresponding to current browsing content of a user is a network resource request, putting the network resource request into a head of the resource request queue;
and loading corresponding resources according to the resource requests in sequence from the head of the resource request queue.
CN202110255546.1A 2021-01-29 2021-03-09 Resource loading method on display equipment and display equipment Pending CN112836158A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN202110255546.1A CN112836158A (en) 2021-03-09 2021-03-09 Resource loading method on display equipment and display equipment
EP22746777.6A EP4285595A1 (en) 2021-01-29 2022-01-31 Display apparatus
PCT/US2022/014491 WO2022165299A1 (en) 2021-01-29 2022-01-31 Display apparatus
US18/263,164 US20240107108A1 (en) 2021-01-29 2022-01-31 Display apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110255546.1A CN112836158A (en) 2021-03-09 2021-03-09 Resource loading method on display equipment and display equipment

Publications (1)

Publication Number Publication Date
CN112836158A true CN112836158A (en) 2021-05-25

Family

ID=75929788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110255546.1A Pending CN112836158A (en) 2021-01-29 2021-03-09 Resource loading method on display equipment and display equipment

Country Status (1)

Country Link
CN (1) CN112836158A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115776598A (en) * 2022-11-15 2023-03-10 聚好看科技股份有限公司 Server, display equipment and loading method of video playing component
CN115776598B (en) * 2022-11-15 2024-05-03 聚好看科技股份有限公司 Server, display device and loading method of video playing component

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984275A (en) * 2012-12-14 2013-03-20 北京奇虎科技有限公司 Method and browser for web downloading
CN108460042A (en) * 2017-02-20 2018-08-28 华为技术有限公司 A kind of method that the page is shown, relevant device and system
CN111831433A (en) * 2020-07-01 2020-10-27 Oppo广东移动通信有限公司 Resource allocation method, device, storage medium and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984275A (en) * 2012-12-14 2013-03-20 北京奇虎科技有限公司 Method and browser for web downloading
CN108460042A (en) * 2017-02-20 2018-08-28 华为技术有限公司 A kind of method that the page is shown, relevant device and system
CN111831433A (en) * 2020-07-01 2020-10-27 Oppo广东移动通信有限公司 Resource allocation method, device, storage medium and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115776598A (en) * 2022-11-15 2023-03-10 聚好看科技股份有限公司 Server, display equipment and loading method of video playing component
CN115776598B (en) * 2022-11-15 2024-05-03 聚好看科技股份有限公司 Server, display device and loading method of video playing component

Similar Documents

Publication Publication Date Title
CN111200746B (en) Method for awakening display equipment in standby state and display equipment
CN114302219B (en) Display equipment and variable frame rate display method
CN112653906A (en) Video hotspot playing method on display device and display device
CN113360066B (en) Display device and file display method
CN112486921B (en) File synchronization method, display device and mobile terminal
CN113111214A (en) Display method and display equipment for playing records
CN112733050A (en) Display method of search results on display device and display device
CN113453052B (en) Sound and picture synchronization method and display device
CN112911371B (en) Dual-channel video resource playing method and display equipment
CN115291829A (en) Display device and subscription message reminding method
CN113542901A (en) Display device and fast switching display method of network channels
CN112836158A (en) Resource loading method on display equipment and display equipment
CN113573112A (en) Display device and remote controller
CN112732396A (en) Media asset data display method and display device
CN112667285A (en) Application upgrading method, display device and server
CN112487322A (en) Third-party application Loading page Loading method and display equipment
CN112861049B (en) Method for dynamically managing picture buffer space and display device
CN112883302B (en) Method for displaying page corresponding to hyperlink address and display equipment
CN113490013B (en) Server and data request method
CN113038221B (en) Double-channel video playing method and display equipment
CN113784222B (en) Interaction method of application and digital television program and display equipment
CN113051001B (en) Acceleration method for display of startup user interface and display equipment
CN116347091A (en) Content display method and display equipment
CN113660532A (en) Multi-webpage video playing method and display equipment
CN114302378A (en) Bluetooth mode switching method of display device, display device and terminal

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