CN117827136A - Display equipment, server and browser configuration method - Google Patents

Display equipment, server and browser configuration method Download PDF

Info

Publication number
CN117827136A
CN117827136A CN202211195667.2A CN202211195667A CN117827136A CN 117827136 A CN117827136 A CN 117827136A CN 202211195667 A CN202211195667 A CN 202211195667A CN 117827136 A CN117827136 A CN 117827136A
Authority
CN
China
Prior art keywords
configuration file
file
application
application list
display
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
CN202211195667.2A
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 CN202211195667.2A priority Critical patent/CN117827136A/en
Publication of CN117827136A publication Critical patent/CN117827136A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

Some embodiments of the present application provide a method for configuring a display device, a server, and a browser, where the method includes: generating a target application list in response to an update instruction input when the configuration file and/or the cloud application list change; downloading the configuration file of the application according to the file downloading address in the target application list; analyzing the configuration file, generating an analysis file, and configuring a browser according to the analysis file; and then, responding to the starting application, and controlling the browser to display the display page generated according to the configuration file. The method can realize the dynamic management of the browser application configuration, and by arranging each application configuration at the server, when the change of the configuration file and/or the cloud application list at the server is detected, the application configuration of the browser at the display equipment end is dynamically updated, the updating and upgrading of the whole code at the display equipment end are reduced, and the problems of low online speed and low processing efficiency of the application in the browser are solved.

Description

Display equipment, server and browser configuration method
Technical Field
Embodiments of the present application relate to the technical field of display devices, and in particular, to a configuration method for a display device, a server, and a browser.
Background
When playing media data such as video and audio, the display device can load various applications based on the browser, so that a user can browse page information and play the media data through the application loaded by the browser.
In integrating the browser application, the application party provides the uniform resource location address (Uniform Resource Locator, URL) of the application, and then integrates the application into the browser according to the URL address of the application. In the integration process, some applications may have special parameter configuration requirements, such as font types, border displays, buffer space values, and the like, and some display devices perform parameter configuration in a code according to URL addresses in a hard judgment mode, that is, write parameter configuration information into the code, so that the parameter configuration information in the code is read when the applications are loaded.
However, in the above method, when a new application is online or an existing application needs to update parameters, the display device is required to perform a system upgrade update, such as a code integral upgrade update, which affects the online speed of the application in the browser and reduces the processing efficiency of the application.
Disclosure of Invention
Some embodiments of the present application provide a display device, a server, and a method for configuring a browser, so as to solve the problems of low linear speed and low processing efficiency of an application in the browser.
In a first aspect, some embodiments of the present application provide a display device, including:
a display configured to display a user interface;
a communicator configured to establish a communication connection with a server;
the detector is configured to detect the update state of the configuration file and/or the cloud application list of the application;
a controller configured to:
generating a target application list in response to the update instruction; the update instruction is an instruction input when the configuration file and/or the cloud application list are changed; the target application list comprises a file downloading address, wherein the file downloading address is a downloading address corresponding to a configuration file of an application;
downloading the configuration file of the application according to the file downloading address;
analyzing the configuration file, generating an analysis file, and configuring a browser according to the analysis file;
and in response to starting the application, controlling the browser to display a display page generated according to the configuration file.
In some embodiments, prior to generating the target application list, the controller is further configured to:
responding to a first starting instruction, and sending out a list request instruction;
acquiring a receipt signal fed back to the list request instruction, and downloading the cloud application list according to the receipt signal;
And storing the cloud application list to the local to generate a local application list.
In some embodiments, the controller executing the generating the target application list is further configured to:
reading the configuration file and/or the update state of the cloud application list;
if the configuration file and/or the cloud application list change, downloading the cloud application list again;
comparing the cloud application list with the local application list to generate the target application list.
In some embodiments, the controller performs comparing the cloud application list and the local application list to generate the target application list, and is further configured to:
traversing the cloud application list and the local application list;
screening a change list which exists in the cloud application list and does not exist in the local application list;
and generating a target application list according to the change list.
In some embodiments, the controller is further configured to:
responding to starting an application in the target application list, and reading a configuration file corresponding to the application;
and controlling the browser to display a display page generated according to the configuration file.
In some embodiments, the controller is further configured to:
monitoring the download state of the configuration file of the application in the target application list, wherein the download state comprises a download completion state and a download incompletion state;
if the download state is the download completion state, controlling the browser to display a display page generated according to the configuration file;
if the download state is the download incomplete state and the current configuration file is not empty, controlling the display to display a first prompt window and controlling the browser to display a display page generated according to the current configuration file;
if the download state is the download incomplete state and the current configuration file is empty, controlling the display to display a second prompt window and controlling the browser not to display the display page;
if the download status is updated from the download incomplete status to the download complete status, reading the target application list, and inserting the application in the target application list into the local application list to update the local application list.
In some embodiments, the controller executing a configuration file for downloading an application according to the file download address is further configured to:
Traversing the target application list to obtain a file downloading address of an application;
setting a storage catalog of the configuration file;
and downloading the configuration file to the storage directory according to the file downloading address.
In some embodiments, the configuration file contains at least one configuration item, and the controller is further configured to parse the configuration file to generate a parsed file:
traversing the configuration file;
reading the configuration items in the configuration file;
and analyzing the configuration item to generate the analysis file according to the result of the configuration item.
In a second aspect, some embodiments of the present application provide a server, comprising:
a communication module configured to establish a communication connection with a display device;
a control module configured to:
deploying a configuration file of an application;
generating a cloud application list according to the configuration file, wherein the cloud application list comprises a file downloading address of the configuration file;
responding to the change of the configuration file and/or the cloud application list, or requesting the cloud application list by the display device, and sending the cloud application list to the display device so that the display device responds to the update instruction to generate a target application list; the target application list comprises a file downloading address, and the configuration file of the application is downloaded according to the file downloading address; analyzing the configuration file, generating an analysis file, and configuring a browser according to the analysis file; the updating instruction is an instruction input when the configuration file and/or the cloud application list changes; the file download address is the download address corresponding to the configuration file of the application.
In a third aspect, some embodiments of the present application provide a method for configuring a browser, which is applied to the display device of the first aspect, where the display device includes a display, a communicator, a detector, and a controller, and the method for configuring a browser includes:
generating a target application list in response to the update instruction; the update instruction is an instruction input when the configuration file and/or the cloud application list are changed; the target application list comprises a file downloading address, wherein the file downloading address is a downloading address corresponding to a configuration file of an application; downloading the configuration file of the application according to the file downloading address; analyzing the configuration file, generating an analysis file, and configuring a browser according to the analysis file; and in response to starting the application, controlling the browser to display a display page generated according to the configuration file.
As can be seen from the above technical solutions, some embodiments of the present application provide a configuration method for a display device, a server, and a browser, where the method includes: generating a target application list in response to an update instruction input when the configuration file and/or the cloud application list change; the target application list comprises a file downloading address, wherein the file downloading address is a downloading address corresponding to a configuration file of an application; downloading the configuration file of the application according to the file downloading address; analyzing the configuration file, generating an analysis file, and configuring a browser according to the analysis file; and in response to starting the application, controlling the browser to display a display page generated according to the configuration file. The method can realize the dynamic management of the browser application configuration, and by arranging each application configuration at the server, when the change of the configuration file and/or the cloud application list at the server is detected, the application configuration of the browser at the display equipment end is dynamically updated, so that the updating and upgrading of the whole code at the display equipment end can be reduced, and the problems of low online speed and low processing efficiency of the application in the browser are solved.
Drawings
In order to more clearly illustrate some embodiments of the present application or technical solutions in the prior art, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an operation scenario between a display device and a control apparatus provided in some embodiments of the present application;
fig. 2 is a block diagram of a hardware configuration of a control device 100 provided in some embodiments of the present application;
fig. 3 is a block diagram of a hardware configuration of a display device 200 provided in some embodiments of the present application;
fig. 4 is a software configuration diagram of a display device 200 according to some embodiments of the present application;
fig. 5 is a flowchart of a browser configuration method according to some embodiments of the present application;
FIG. 6 is a flow chart of generating a local application list provided by some embodiments of the present application;
FIG. 7 is a flowchart of generating a target application list according to some embodiments of the present application;
fig. 8 is a schematic flow chart of comparing a cloud application list and a local application list according to some embodiments of the present application;
FIG. 9 is a schematic diagram of a configuration file downloading process according to some embodiments of the present disclosure;
fig. 10 is a schematic structural diagram of a functional module of a display device deployment provided in some embodiments of the present application;
fig. 11 is a flowchart illustrating displaying a corresponding display page according to a download status according to some embodiments of the present application;
FIG. 12 is a schematic view of a first prompt window provided in some embodiments of the present application for controlling display pop-up by a display device;
FIG. 13 is a schematic diagram of a second prompt window for controlling display pop-up by a display device according to some embodiments of the present application;
fig. 14 is a flowchart of a configuration method of a browser according to some embodiments of the present application.
Detailed Description
For purposes of clarity and implementation of the present application, the following description will make clear and complete descriptions of exemplary implementations of the present application with reference to the accompanying drawings in which exemplary implementations of the present application are illustrated, it being apparent that the exemplary implementations described are only some, but not all, of the examples of the present application.
It should be noted that the brief description of the terms in the present application is only for convenience in understanding the embodiments described below, 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 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 term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware or/and software code that is capable of performing the function associated with that element.
The display device provided in the embodiment of the application may have various implementation forms, for example, may be a television, an intelligent 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 an operation scenario between a display device and a control apparatus according to some embodiments of the present application. 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 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 a smart device.
In some embodiments, the display device may receive instructions not using the smart device or control device described above, but rather receive control of the user by 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.
Fig. 2 is a block diagram of a hardware configuration of the control device 100 provided in some embodiments of the present application. 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 of a user and convert the operation instruction into an instruction recognizable and responsive to the display device 200, and function as an interaction between the user and the display device 200.
Fig. 3 is a block diagram of a hardware configuration of a display device 200 provided in some embodiments of the present application. As shown in fig. 3, 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.
In some embodiments the controller includes a processor, a video processor, an audio processor, a graphics processor, RAM, ROM, a first interface for input/output to an nth interface.
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 from the controller output, 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.
The display 260 further includes a touch screen, and the touch screen is used for receiving an action input control instruction such as sliding or clicking of a finger of a user on the touch screen.
The 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, or other network communication protocol chip or a near field communication protocol chip, and an infrared receiver. The display device 200 may establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.
A user interface, which may be used to receive control signals from the control device 100 (e.g., an infrared remote control, etc.).
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, which may be used to collect external environmental scenes, user attributes, or user interaction gestures, or alternatively, the detector 230 includes a sound collector such as a microphone, or the like, which is used to receive external sounds.
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.
The modem 210 receives broadcast television signals through a wired or wireless reception manner, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
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.
The controller 250 controls the operation of the display device and responds to the user's 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 includes at least one of a central processing unit (Central Processing Unit, CPU), video processor, audio processor, graphics processor (Graphics Processing Unit, GPU), RAM Random Access Memory, RAM), ROM (Read-Only Memory, ROM), first to nth interfaces for input/output, a communication Bus (Bus), and the like.
The user may input a user command through a Graphical User Interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input 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.
A "user interface" is a media interface for interaction and exchange of information between an application or operating system and a user, which enables conversion between an internal form of information and a user-acceptable form. A commonly used presentation form of the user interface is a graphical user interface (Graphic 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 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.
Fig. 4 is a software configuration diagram of a display device 200 according to some embodiments of the present application, and in some embodiments, a system of the display device 200 may be divided into three layers, namely, 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, etc., 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.
In some embodiments, the display device 200 may load various applications based on a browser, so that a user browses page information and plays media asset data through the browser-loaded applications.
In integrating the browser application, the application party provides the URL address of the application, and then integrates the application into the browser according to the URL address of the application. In the integration process, some applications may have special parameter configuration requirements, such as font types, frame display, buffer space values, etc., and some display devices 200 may perform parameter configuration in the code according to URL addresses in a hard judgment manner, that is, write parameter configuration information into the code, so that the parameter configuration information in the code is read when the application is loaded.
However, in the above method, when a new application is on line or an existing application needs to update parameters, the display device 200 is required to perform a system upgrade update, such as a code overall upgrade update, which affects the on-line speed of the application in the browser and reduces the processing efficiency of the application.
In order to solve the problems of low online speed and low processing efficiency of an application in a browser, some embodiments of the present application provide a display device 200, where the display device 200 includes at least a display 260, a communicator 220, a detector 230, and a controller 250, where the display 260 is configured to display a user interface, the communicator 220 is configured to establish a communication connection with the server 400, and the detector 230 is configured to detect an update status of a configuration file and/or a cloud application list of the application.
The application aims at configuring each application through the server, generating a configuration file at the server, then sending a file downloading address of the configuration file to the display equipment, downloading the configuration file to the local through the file downloading address by the display equipment, and configuring the browser according to the configuration file, so that the dependence of the display equipment is reduced, and the processing efficiency of the display equipment is improved. In addition, when the application of the server side changes, the changed content can be updated to the display equipment side without updating the whole machine, so that the processing efficiency of the display equipment can be improved.
In order to facilitate understanding of the technical solutions in some embodiments of the present application, the following details of each step are described with reference to some specific embodiments and the accompanying drawings. Fig. 5 is a flowchart of a browser configuration method provided in some embodiments of the present application, as shown in fig. 5, a controller 250 in a display device 200 is configured to execute the following steps S1 to S4, which specifically includes:
step S1: in response to the update instruction, the display apparatus 200 generates a target application list.
Fig. 6 is a schematic flow chart of generating a local application list according to some embodiments of the present application, and as shown in fig. 6, before the display device 200 generates the target application list, the following flow needs to be executed. In response to the first power-on instruction of the display apparatus 200, the display apparatus 200 issues a list request instruction to request an application list. In some embodiments, a request instruction of a cloud application list may be sent to the server 400, that is, the cloud, and after the server 400 receives the request instruction, a receipt signal is fed back to the display device 200, and after the display device 200 obtains the receipt signal fed back to the list request instruction, the cloud application list may be downloaded according to the receipt signal, and the downloaded cloud application list is stored locally, so as to generate a local application list.
The cloud application list is generated at the server 400, and in some embodiments, after the server obtains the applications to be deployed, the server may deploy configuration files of each application. A cloud application list may be generated according to the configuration file, where the cloud application list may include a file download address of the configuration file, so that after the server 400 sends the cloud application list to the display device 200, the display device 200 may download each application according to the file download address. When the configuration file and/or the cloud application list change, for example, when a certain application updates, the configuration file changes, when a certain application changes the URL address, the file download address in the cloud application list may change, and when the configuration file and/or the cloud application list changes, an update instruction may be generated, so that the server 400 may send the update instruction to the display device 200, or a reminder pops up at the server 400 end to remind the display device 200 that the application has change information.
It should be noted that, in the process of deploying the respective applications by the server 400, different configurations may be performed for each application. A particular configuration is performed if there is a particular need for an application. For example, some applications may have requirements for font styles, cache space, application rights, such as advertising rights, payment rights, account rights, etc., for which targeted configuration may be performed.
When the configuration file and/or the cloud application list at the server 400 end change, or the display device 200 requests the cloud application list, the server 400 may send the cloud application list to the display device 200, so that the display device 200 generates the target application list in response to the update instruction. It may be understood that the target application list is a set of applications that change in the cloud application list, and the target application list also includes a file download address of an application in the list, where the file download address is a download address corresponding to a configuration file of the application, so that the display device 200 may download a corresponding application according to the download address.
Fig. 7 is a schematic flow chart of generating a target application list according to some embodiments of the present application, as shown in fig. 7, in some embodiments, the target application list may be generated as follows. First, the display device 200 reads the update status of the configuration file and/or the cloud application list to determine the change condition of the configuration file and/or the cloud application list at the server 400. If the configuration file and/or the cloud application list change, the display device 200 downloads the cloud application list again. That is, as soon as the configuration file and/or the cloud application list at the server 400 is detected to change, the display device 200 downloads the cloud application list again, so as to ensure that the cloud application list downloaded by the display device 200 is up-to-date when the configuration file and/or the cloud application list change. After the local application list has been generated and downloaded to the latest cloud application list, the latest cloud application list and the local application list may be compared to generate the target application list.
Fig. 8 is a schematic flow chart of comparing a cloud application list and a local application list according to some embodiments of the present application, as shown in fig. 8, in some embodiments, the cloud application list and the local application list may be compared as follows. It should be noted that, the display device 200 traverses the cloud application list and the local application list, where the cloud application list is the latest local cloud application list downloaded by the display device 200 after detecting that the configuration file of the server 400 and/or the cloud application list changes, and the content contained in the latest local cloud application list is completely consistent with the cloud application list. The local application list is a list of applications stored locally before updating. For example, in fig. 8, the cloud application list contains application 1 and application 2 … … application n, where n is a positive integer, and the local application list contains application 1 and application 2 … … application m, where m is a positive integer, and it is understood that m and n may be the same or different. When m and n are the same, the cloud application list in the server 400 is the same as the local application list stored locally, and it may be determined that the application deployed in the server 400 is not updated or has no newly added application. When m and n are different, it indicates that the cloud application list in the server 400 is different from the local application list stored locally, it may be determined that the application deployed in the server 400 has an update or has a new application, and then the updated or new specific application may be found by comparing.
After traversing the cloud application list and the local application list downloaded to the local, the display device 200 may screen out a change list that exists in the cloud application list and does not exist in the local application list, which may be understood that the change list is the changed content, and then may generate a target application list according to the change list, which may be understood that the target application list is a set of changed and newly-added applications.
Step S2: the display device 200 downloads the configuration file of the application according to the file download address.
In the above embodiment, the target application list includes the file download address, which is the download address corresponding to the configuration file of the application, so that the display device 200 can download the configuration file of the corresponding application according to the download address.
In some embodiments, the display device 200 may download the configuration file of the application according to the following. Fig. 9 is a schematic diagram of a profile downloading process provided in some embodiments of the present application, and as shown in fig. 9, the display device 200 may download a profile by: the display apparatus 200 traverses the target application list so that the file download address of the application can be acquired, and the display apparatus 200 can download the configuration file of the application according to the file download address. Meanwhile, in order to store the downloaded configuration file locally, the display device 200 may also set a storage directory of the configuration file, such as the folder 111 under the D-disc in fig. 9, so that the display device 200 may download the configuration file into the storage directory, that is, the folder 111, according to the file download address, for the browser to read and call the configuration file under the folder when configuring.
Step S3: the display device 200 parses the configuration file, generates a parsed file, and configures a browser according to the parsed file.
In some embodiments, after the display device 200 downloads the configuration file, the configuration file may be parsed, and a parsed file may be generated according to the result of the parsing, and finally, the browser may be configured according to the parsed file. The configuration file includes at least one configuration item, and the step of generating the parsing file by the display device 200 in executing the parsing configuration file may be implemented as follows. The display device 200 traverses the configuration file and then reads the configuration items in the configuration file, which may include a set of various configurations for the application, such as a configuration including various fields, etc., parses the configuration items to generate a parsed file based on the results of the configuration items.
Step S4: in response to launching the application, the display device 200 controls the browser to display a display page generated from the configuration file.
After the display device 200 configures the browser according to the parsed file, the browser may display a display page generated according to the configuration file after receiving a start instruction to start the application. It should be noted that, when the configuration file and/or the cloud application list of the server 400 are not changed, that is, when the deployed application of the display device 200 is not changed, the browser may directly start the display page corresponding to the application after receiving the start instruction for starting the application. When the configuration file and/or the cloud application list of the server 400 change, a target application list is generated, and it can be understood that the applications in the target application list are the set of each application that changes. In response to starting an application in the target application list, the display device 200 may read a configuration file corresponding to the changed application, reconfigure the browser according to the changed configuration file, that is, dynamically manage the configuration of the browser in the display device 200, and then control the browser to display a display page generated according to the latest configuration file.
As can be seen from the above technical solutions, the display device 200 provided in the foregoing embodiments may implement dynamic management of application configuration of a browser, and dynamically update application configuration of a browser at a display device side when detecting that a configuration file and/or a cloud application list at a server side changes by deploying each application configuration at the server side, so that updating and upgrading of an overall code at the display device side may be reduced, and problems of slow online speed and low processing efficiency of applications in the browser are solved.
In order to facilitate further understanding of the technical solutions in the foregoing embodiments of the present application, a method for configuring a browser is further described below with reference to some specific examples.
In some embodiments, the server 400 may configure different configuration items for different applications at the cloud end, so as to reduce the number of code upgrades of new applications at the display device end by configuring the different configuration items at the cloud end, i.e. the server end. In some embodiments, the configuration item may be a collection of launch items at the time of application launch in the browser, which may be a json format file. For example, it may be an attachment to appin_config. Referring to table 1, table 1 is a field and a field description corresponding to some example startup items included in a cloud configuration item, when the cloud configures the startup items of each application, each field in the configuration item may be extended, and after the extension and the configuration are completed, a configuration file may be formed in the cloud. In this way, the display device may download the configuration file from the cloud.
The fields in table 1 are only exemplary, and are not limited to the contents of the fields in table 1, and may be set according to practical situations, which is not limited to this application.
Table 1: some example startup items included in cloud configuration items correspond to fields and field descriptions
In this way, by configuring each application at the cloud, different applications can be correspondingly expanded, and compared with the code form, the mode does not need to modify or completely update the code at the display equipment end, and only needs to be set in advance at the cloud. When the cloud end changes, the display equipment end can download the updated part, and the browser is configured according to the latest configuration file, so that code upgrading is not required to be executed due to the change of the newly added application or part of the application.
To configure various applications in the browser, a variety of functional modules may be deployed in the display device 200. Fig. 10 is a schematic structural diagram of functional modules deployed by a display device according to some embodiments of the present application, as shown in fig. 10, in some embodiments, a download module, a UI interface module, an application management module, a browser engine module, and a browser application module may be deployed in the display device 200. The download module is used for downloading an application list and/or a configuration file, the UI interface module is used for starting each application and sending starting information to the application management module, the application management module is used for scheduling the starting and exiting of the application and the like, the starting information is sent to the browser engine module from the UI interface module, the browser engine module is used for analyzing and configuring the starting information, the results after starting and configuring are sent to the browser application module, and the browser application module displays an application interface according to the configuration results.
With continued reference to fig. 10, in some embodiments, after completing configuration of each application and generating a configuration file and a cloud application list, the server 400 may notify the download module of the display device 200, and when the configuration file and/or the cloud application list change, the server 400 may generate an update instruction, and send the update instruction to the download module of the display device 200, or wait for the download module to detect the update instruction. After detecting the update instruction, or after receiving the update instruction sent by the server 400, the downloading module downloads the latest cloud application list, generates a target application list, downloads the latest application configuration file according to the target application list, and stores the configuration file in a designated directory, for example, stores the configuration file in the folder 111. Meanwhile, the display device 200 may set a naming rule for the configuration file, and the downloaded configuration file may be named according to the designated naming rule and then stored in the display device 200. After the download module of the display device 200 downloads the latest configuration file, the UI interface module reads the configuration file and transmits the configuration information to the browser engine module through the application management module. After receiving the configuration file, the browser engine module can analyze the relevant configuration information in the configuration file, set relevant parameters and the configuration information to the browser kernel, enable the browser configuration to be effective, and realize dynamic management of the browser application configuration. Thus, when the display device 200 starts an application, the browser application module displays an application interface configured according to the latest configuration file.
In the above embodiment, the cloud application list includes the file download address of the configuration file, for example, the file download address may be configured in a field, and the field includes the URL address of the application configuration, and when the download module downloads the application list, the file download address is obtained. The download module downloads the configuration file to the local according to the file download address, the UI interface module reads the latest configuration file content when starting the application and sends the relevant configuration information to the browser, so that the latest configuration file can be used as a data basis when starting the application, and the whole machine is not required to realize code upgrading.
In some embodiments, the application configuration comprises a rights configuration. For example, permission fields in table 1 may perform permission configuration, may perform permission configuration for payment of the whole machine, advertisement, account, and the like, and preset when the cloud executes application configuration. Therefore, when the browser calls the application, the application can be checked with preset authorities, so that the application without authorities can be prevented from calling authorities such as complete machine payment, and the safety of equipment application is ensured.
In some embodiments, when each application is deployed, the cloud end may configure configuration information of the application on a content delivery network (Content Delivery Network, CDN), and when the cloud end sends the application information to the display device, the cloud end may carry a file download address of the CDN file. For example, the cloud end may configure the browser application parameters in a CDN file manner, and when an application update or a display device side issues a list request instruction, send the CDN file and a file download address to the display device 200. After receiving the CDN file and the file download address, the display device 200 may download the configuration file according to the file download address, and store the configuration file locally. For example, the downloaded configuration file is file a, and after the downloading is completed, file a is stored in a local designated directory. The browser engine module analyzes the application configuration information of the file A and sets related parameters. Meanwhile, whether the file A has authority setting or not can be judged, and if the file A does not have authority setting, the browser application module can directly start the application. If the authority is set, the configuration information of the file A is transmitted to the UI interface module through the application management module, the UI interface module executes the operation of the authority setting such as payment login and the like according to the configuration information, and the operation result of the UI interface module is returned to the browser engine module through the application management module. And after receiving the operation result of the UI interface module, the browser engine module sends the operation result to the browser application module, and finally, the browser application module executes a corresponding flow according to the operation result.
When configuring the browser according to the configuration file, the configuration file needs to be stored in a designated readable directory, and a certain naming rule can be set. It should be noted that, when the display device 200 locally stores a configuration file of an application, the browser may display a corresponding display page according to the configuration file. However, when the application is updated, the latest configuration file needs to be downloaded, and after the configuration file is downloaded, the browser can be configured according to the latest configuration file, and the latest display page can be displayed. Therefore, in some embodiments, the display device 200 may also monitor the download status of the configuration file of the application in the target application list, and determine the display page of the browser according to the download status.
Fig. 11 is a flowchart of displaying a corresponding display page according to a download status according to some embodiments of the present application, as shown in fig. 11, where in some embodiments, the download status of the configuration file may include a download complete status and a download incomplete status. The display device 200 may present different display modes according to different download states of the configuration file, first, it may determine whether the configuration file is downloaded, and then determine whether the configuration file is empty under a preset storage directory, so as to perform different display according to different situations, which will be described below.
In some embodiments, if the download status of the configuration file is the download completion status, the display device 200 controls the browser to display a display page generated according to the downloaded configuration file, and the display page at this time is a display page generated according to the latest configuration file.
In some embodiments, if the download status of the configuration file is in an incomplete download status and the current configuration file is not empty, which indicates that the configuration file before update exists in the directory corresponding to the configuration file and the latest configuration file has not been downloaded, the display device 200 controls the display 260 to display the first prompt window. Fig. 12 is a schematic diagram of a first prompt window provided by some embodiments of the present application for controlling display pop-up of a display device, as shown in fig. 12, for example, the content of the prompt of the first prompt window may be "the latest configuration file has not been downloaded yet" to prompt the user that some functions of the current application are not available, but since the application has a previous configuration file, the application may be opened, that is, the display device 200 controls the browser to display a display page generated according to the current configuration file, that is, the configuration file before updating.
In some embodiments, if the download status of the configuration file is in a download incomplete status and the current configuration file is empty, which indicates that the application may be a newly added application, and no configuration information of the application is yet available in the display device 200, when the download of the configuration file is incomplete, a display page cannot be generated, and the display device 200 controls the display 260 to display the second prompt window. Fig. 13 is a schematic diagram of a second prompt window provided by some embodiments of the present application and controlling a display to pop up, as shown in fig. 13, when downloading of a configuration file of a new application is not completed, the display device 200 may control the browser not to display a display page, for example, the content prompted by the second prompt window may be "the configuration file of the new application is not yet downloaded and cannot display page information", so as to prompt the user that some functions of the current application are temporarily unavailable. It is easy to understand that when the download state of the configuration file is changed from the incomplete state to the download completed state, the display device 200 may control the browser to directly display the display page of the application.
In some embodiments, if the download status of the configuration file is updated from the download incomplete status to the download complete status, indicating that the configuration file has been downloaded, the display apparatus 200 may read the target application list and insert the application in the target application list into the local application list to update the local application list. In this way, the target application list is a set of changed or newly added applications, and after the set of changed or newly added applications is inserted into the local application list, the local application list includes the original application which is not updated, the updated application and the newly added application, and after the set of changed or newly added applications is inserted, the local application list is consistent with the cloud application list of the server 400, so that each application in the display device 200 is guaranteed to be in the latest state, that is, the dynamic configuration of each application in the browser is completed.
It should be noted that, the above is only exemplified by browser configuration, and the configuration flow of the application in the embodiment of the present application is not limited to browser application, but may be other local applications, which is not specifically limited to this application.
Some embodiments of the present application also provide a server 400, where the server 400 includes a communication module 410 and a control module 420. Wherein the communication module 410 is configured to establish a communication connection with the display device 200, and the control module 420 is configured to perform the following procedure: deploying a configuration file of an application; generating a cloud application list according to the configuration file, wherein the cloud application list comprises a file downloading address of the configuration file; in response to the configuration file and/or the cloud application list being changed, or the display device 200 requests the cloud application list, the cloud application list is sent to the display device 200, so that the display device 200 generates a target application list in response to the update instruction; the target application list comprises a file downloading address, and the configuration file of the application is downloaded according to the file downloading address; analyzing the configuration file, generating an analysis file, and configuring a browser according to the analysis file; the updating instruction is an instruction input when the configuration file and/or the cloud application list changes; the file download address is the download address corresponding to the configuration file of the application.
As can be seen from the above technical solution, through the server 400 provided in the foregoing embodiment, each application may be configured at the server end and a configuration file may be generated, then a file download address of the configuration file is sent to the display device end, the display device end downloads the configuration file to the local through the file download address, and then a browser is configured according to the configuration file, so that dependence of the display device end is reduced, and processing efficiency of the display device is improved. In addition, when the application of the server side changes, the changed content can be updated to the display equipment side without updating the whole machine, so that the processing efficiency of the display equipment is improved.
Based on the display device 200 and the server 400 provided in the above embodiments, some embodiments of the present application also provide a method for configuring a browser, where the method is applied to the display device 200, and the display device 200 includes a display 260, a communicator 220, a detector 230, and a controller 250. Fig. 14 is a flowchart of a configuration method of a browser according to some embodiments of the present application, as shown in fig. 14, where the configuration method of a browser includes the following steps S1 to S4:
step S1: generating a target application list in response to the update instruction;
The updating instruction is an instruction input when the configuration file and/or the cloud application list changes; the target application list comprises a file downloading address, wherein the file downloading address is a downloading address corresponding to a configuration file of an application;
step S2: downloading the configuration file of the application according to the file downloading address;
step S3: analyzing the configuration file, generating an analysis file, and configuring a browser according to the analysis file;
step S4: and in response to starting the application, controlling the browser to display a display page generated according to the configuration file.
According to the technical scheme, the configuration method of the browser provided by the embodiment can realize dynamic management of application configuration of the browser, and the problems of low online speed and low processing efficiency of the application in the browser are solved by dynamically updating the application configuration of the browser at the display device side when the change of the configuration file and/or the cloud application list at the server side is detected by the configuration of each application configuration at the server side.
The same and similar parts of the embodiments in this specification are referred to each other, and are not described herein.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied essentially or in parts contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method of the embodiments or some parts of the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution 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 scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions 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, characterized by comprising:
a display configured to display a user interface;
a communicator configured to establish a communication connection with a server;
the detector is configured to detect the update state of the configuration file and/or the cloud application list of the application;
a controller configured to:
generating a target application list in response to the update instruction; the updating instruction is an instruction input when the configuration file and/or the cloud application list changes; the target application list comprises a file downloading address, wherein the file downloading address is a downloading address corresponding to a configuration file of an application;
Downloading the configuration file of the application according to the file downloading address;
analyzing the configuration file, generating an analysis file, and configuring a browser according to the analysis file;
and responding to the starting of the application, and controlling the browser to display a display page generated according to the configuration file.
2. The display device of claim 1, wherein prior to generating the list of target applications, the controller is further configured to:
responding to a first starting instruction, and sending out a list request instruction;
acquiring a receipt signal fed back to the list request instruction, and downloading the cloud application list according to the receipt signal;
and storing the cloud application list to the local to generate a local application list.
3. The display device of claim 2, wherein the controller executing the generating the target application list is further configured to:
reading the configuration file and/or the update state of the cloud application list;
if the configuration file and/or the cloud application list change, downloading the cloud application list again;
comparing the cloud application list with the local application list to generate the target application list.
4. The display device of claim 3, wherein the controller performs comparing the cloud application list and the local application list to generate the target application list, further configured to:
traversing the cloud application list and the local application list;
screening a change list which exists in the cloud application list and does not exist in the local application list;
and generating a target application list according to the change list.
5. The display device of claim 4, wherein the controller is further configured to:
responding to starting an application in the target application list, and reading a configuration file corresponding to the application;
and controlling the browser to display a display page generated according to the configuration file.
6. The display device of claim 4, wherein the controller is further configured to:
monitoring the download state of the configuration file of the application in the target application list, wherein the download state comprises a download completion state and a download incompletion state;
if the download state is the download completion state, controlling the browser to display a display page generated according to the configuration file;
If the download state is the download incomplete state and the current configuration file is not empty, controlling the display to display a first prompt window and controlling the browser to display a display page generated according to the current configuration file;
if the download state is the download incomplete state and the current configuration file is empty, controlling the display to display a second prompt window and controlling the browser not to display the display page;
if the download status is updated from the download incomplete status to the download complete status, reading the target application list, and inserting the application in the target application list into the local application list to update the local application list.
7. The display device of claim 1, wherein the controller executing the configuration file of the download application according to the file download address is further configured to:
traversing the target application list to obtain a file downloading address of an application;
setting a storage catalog of the configuration file;
and downloading the configuration file to the storage directory according to the file downloading address.
8. The display device of claim 1, wherein the configuration file contains at least one configuration item, the controller executing parsing the configuration file to generate a parsed file, further configured to:
Traversing the configuration file;
reading the configuration items in the configuration file;
and analyzing the configuration item to generate the analysis file according to the result of the configuration item.
9. A server, comprising:
a communication module configured to establish a communication connection with a display device;
a control module configured to:
deploying a configuration file of an application;
generating a cloud application list according to the configuration file, wherein the cloud application list comprises a file downloading address of the configuration file;
responding to the change of the configuration file and/or the cloud application list, or requesting the cloud application list by display equipment, and sending the cloud application list to the display equipment so that the display equipment responds to an update instruction to generate a target application list; the target application list comprises a file downloading address, and a configuration file of an application is downloaded according to the file downloading address; analyzing the configuration file, generating an analysis file, and configuring a browser according to the analysis file; the updating instruction is an instruction input when the configuration file and/or the cloud application list changes; and the file downloading address is a downloading address corresponding to the configuration file of the application.
10. A method for configuring a browser, the method being applied to a display device, the display device including a display, a communicator, a detector, and a controller, the method comprising:
generating a target application list in response to the update instruction; the updating instruction is an instruction input when the configuration file and/or the cloud application list changes; the target application list comprises a file downloading address, wherein the file downloading address is a downloading address corresponding to a configuration file of an application;
downloading the configuration file of the application according to the file downloading address;
analyzing the configuration file, generating an analysis file, and configuring a browser according to the analysis file;
and responding to the starting of the application, and controlling the browser to display a display page generated according to the configuration file.
CN202211195667.2A 2022-09-28 2022-09-28 Display equipment, server and browser configuration method Pending CN117827136A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211195667.2A CN117827136A (en) 2022-09-28 2022-09-28 Display equipment, server and browser configuration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211195667.2A CN117827136A (en) 2022-09-28 2022-09-28 Display equipment, server and browser configuration method

Publications (1)

Publication Number Publication Date
CN117827136A true CN117827136A (en) 2024-04-05

Family

ID=90510170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211195667.2A Pending CN117827136A (en) 2022-09-28 2022-09-28 Display equipment, server and browser configuration method

Country Status (1)

Country Link
CN (1) CN117827136A (en)

Similar Documents

Publication Publication Date Title
CN114286165B (en) Display equipment, mobile terminal, and screen-throwing data transmission method and system
CN112905210B (en) Server and gray level publishing method
CN112165642B (en) Display device
CN112445545B (en) Webpage application starting method and display device
CN112217671B (en) Method and equipment for performing interface display on front-end micro-service based on split deployment
CN113784200B (en) Communication terminal, display device and screen projection connection method
CN111897478A (en) Page display method and display equipment
CN113542851B (en) Menu refreshing method and display device
CN111246299A (en) Communication terminal and application management method
CN112463750B (en) File synchronization method and display device
CN112911359B (en) Resource display method, display equipment and remote controller
CN112487322B (en) Third party application Loading page loading method and display device
CN113316014B (en) Display device, server and third-party data display control method
CN117827136A (en) Display equipment, server and browser configuration method
CN114116622A (en) Display device and file display method
CN114286320A (en) Display device, mobile terminal and Bluetooth connection method
CN112667285A (en) Application upgrading method, display device and server
CN113971049A (en) Background service management method and display device
US20230111113A1 (en) Page loading method and display apparatus
CN116775173A (en) Display device and management method of third party application
CN112199612B (en) Bookmark adding and combining method and display equipment
CN113641423B (en) Display device and system starting method
CN112231088B (en) Browser process optimization method and display device
CN113378096B (en) Display equipment and browser residual frame clearing method
CN112861049B (en) Method for dynamically managing picture buffer space and display device

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