CN112445545B - Webpage application starting method and display device - Google Patents

Webpage application starting method and display device Download PDF

Info

Publication number
CN112445545B
CN112445545B CN202011458761.3A CN202011458761A CN112445545B CN 112445545 B CN112445545 B CN 112445545B CN 202011458761 A CN202011458761 A CN 202011458761A CN 112445545 B CN112445545 B CN 112445545B
Authority
CN
China
Prior art keywords
application
file
information
url
appointed
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.)
Active
Application number
CN202011458761.3A
Other languages
Chinese (zh)
Other versions
CN112445545A (en
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 CN202011458761.3A priority Critical patent/CN112445545B/en
Publication of CN112445545A publication Critical patent/CN112445545A/en
Application granted granted Critical
Publication of CN112445545B publication Critical patent/CN112445545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a method for starting a webpage application and a display device, when the specified webpage application is started, if a corresponding application URL is a target protocol URL, analyzing to obtain specified starting action, APPID and APP parameters; traversing the index configuration file, searching APPURL corresponding to the APPID, analyzing the application configuration file, and determining specified access page information corresponding to the specified starting action; and packaging the APP parameters, APPURL and the appointed access page information into a File protocol URL, and starting the appointed webpage application based on the File protocol URL. Therefore, the method and the display device provided by the embodiment of the application map the target protocol URL into the File protocol URL, provide a unified interface format, directly start the appointed webpage application, improve the loading performance of the webpage application and improve the loading experience.

Description

Webpage application starting method and display device
Technical Field
The application relates to the technical field of internet, in particular to a method for starting a webpage application and display equipment.
Background
With the rapid development of display devices, the functions of the display devices are more and more abundant and the performances of the display devices are more and more powerful, and currently, the display devices comprise intelligent televisions, intelligent set top boxes, intelligent boxes, products with intelligent display screens and the like. In order to realize the function of internet protocol television, the display device is usually connected with the VIDAA server through the VIDAA account, and a user can watch internet movies, television dramas, experience different application programs and the like on the display device through the VIDAA server for free.
When a user starts an application program in a display device, the application program is usually implemented by using a browser and a server of a hypertext transfer protocol (HTTP, hypertext Transfer Protocol), for example, when the browser starts a web application using the HTTP protocol, the HTTP protocol is required to download an access URL of the web application first, and then access the web application. But the web application is started in a mode of downloading first and then accessing, which results in slow starting and low loading performance of the web application.
Disclosure of Invention
The application provides a method for starting a webpage application and display equipment, and aims to solve the problem that the existing webpage application is slower to load when being started.
In a first aspect, the present application provides a display apparatus comprising:
A display configured to present a launch page of a specified web application;
A controller coupled to the display, the controller configured to:
Responding to a starting request of a specified web application, and acquiring an application URL, an index configuration file and an application configuration file of the specified web application;
when the application URL is a target protocol URL, analyzing the application URL to obtain specified starting action, APPID and APP parameters corresponding to the specified webpage application;
Traversing the index configuration file, searching APPURL corresponding to the APPID, wherein APPURL is a real access path stored in a display device for the appointed webpage application;
analyzing the application configuration file, and determining appointed access page information of the appointed webpage application corresponding to the appointed starting action;
And packaging the APP parameters, APPURL and the appointed access page information into a File protocol URL, and starting the appointed webpage application based on the File protocol URL.
In some embodiments of the present application, the controller, when executing the acquiring the application URL of the specified web application, is further configured to:
acquiring an application installation information file of an application code packet storing a plurality of web applications;
Judging whether an application URL corresponding to the appointed webpage application in installation exists in the application installation information file;
if the application code packet does not exist, analyzing the application code packet of the appointed webpage application to obtain application update information;
And adding the application updating information into the application installation information file, and reading the application URL of the appointed webpage application based on the updated application installation information file.
In some embodiments of the present application, the controller, when executing the obtaining the index profile of the specified web application, is further configured to:
acquiring a configuration index table of the appointed webpage application;
If the configuration index table is not empty, dividing configuration index information in the configuration index table to obtain a plurality of structures;
Taking one of the structures as a key value, taking the other structures as value values, and establishing a key-value mapping relation;
and storing the key-value mapping relation into the configuration index table, and taking the configuration index table stored with the key-value mapping relation as an index configuration file of the appointed webpage application.
In some embodiments of the present application, the controller, when executing the obtaining the index profile of the specified web application, is further configured to:
If the configuration index table is empty, judging whether a target field corresponding to APPURL of the appointed web application exists in the configuration index information in the current index configuration file;
if the target field does not exist, acquiring an application configuration file of the appointed webpage application;
Storing application configuration information in the application configuration file into the configuration index table, and taking the configuration index table stored with the application configuration information as an index configuration file of a specified web application;
if the target field exists, acquiring an application code packet of the appointed webpage application;
analyzing the application code package and determining field updating information of the appointed webpage application;
And storing the field updating information into the configuration index table, and taking the configuration index table stored with the field updating information as an index configuration file for designating the web page application.
In some embodiments of the present application, the controller, when executing the traversing the index profile, searches APPURL corresponding to the APPID, is further configured to:
Acquiring a key-value mapping relation corresponding to the index configuration file;
Traversing the key-value mapping relation, and searching the APPID as a key value to obtain APPURL corresponding to the APPID, wherein APPURL is one value in the key-value mapping relation.
In some embodiments of the present application, the specified start action is launch; and the controller, upon executing the parsing of the application configuration file, determining specified access page information for the specified web application corresponding to the specified launch action, further configured to:
Analyzing the application configuration file to obtain application configuration information corresponding to the appointed webpage application;
and acquiring page information corresponding to the counth in the application configuration information, and taking the page information corresponding to the counth as the appointed access page information of the appointed webpage application.
In some embodiments of the present application, the controller, when executing the encapsulating the APP parameters, APPURL and specified access page information into a File protocol URL, is further configured to:
Obtaining index field information in page information corresponding to the launch;
and packaging the APP parameters, APPURL and index field information into a File protocol URL.
In some embodiments of the present application, the specified start action is deeplink; and the controller, upon executing the parsing of the application configuration file, determining specified access page information for the specified web application corresponding to the specified launch action, further configured to:
Analyzing the application configuration file to obtain application configuration information corresponding to the appointed webpage application;
And acquiring page information corresponding to deeplink in the application configuration information, and taking the page information corresponding to deeplink as the appointed access page information of the appointed webpage application.
In some embodiments of the present application, the controller, when executing the encapsulating the APP parameters, APPURL and specified access page information into a File protocol URL, is further configured to:
Acquiring deeplink field information in the page information corresponding to deeplink;
and encapsulating the APP parameters, APPURL and deeplink field information into a File protocol URL.
In a second aspect, the present application further provides a method for starting a web application, where the method includes:
Responding to a starting request of a specified web application, and acquiring an application URL, an index configuration file and an application configuration file of the specified web application;
when the application URL is a target protocol URL, analyzing the application URL to obtain specified starting action, APPID and APP parameters corresponding to the specified webpage application;
Traversing the index configuration file, searching APPURL corresponding to the APPID, wherein APPURL is a real access path stored in a display device for the appointed webpage application;
analyzing the application configuration file, and determining appointed access page information of the appointed webpage application corresponding to the appointed starting action;
And packaging the APP parameters, APPURL and the appointed access page information into a File protocol URL, and starting the appointed webpage application based on the File protocol URL.
In a third aspect, the present application also provides a storage medium, where a program may be stored, where the program may implement some or all of the steps in each embodiment of the method for starting a web application provided by the present application when executed.
According to the technical scheme, when the specified webpage application is started, if the corresponding application URL is the target protocol URL, the starting method and the display device for the webpage application are used for analyzing to obtain the specified starting action, APPID and APP parameters; traversing the index configuration file, searching APPURL corresponding to the APPID, analyzing the application configuration file, and determining specified access page information corresponding to the specified starting action; and packaging the APP parameters, APPURL and the appointed access page information into a File protocol URL, and starting the appointed webpage application based on the File protocol URL. Therefore, the method and the display device provided by the embodiment of the invention map the target protocol URL into the File protocol URL, provide a unified interface format, directly start the appointed webpage application, improve the loading performance of the webpage application and improve the loading experience.
Drawings
In order to more clearly illustrate the technical solution of the present application, the drawings that are needed in the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 illustrates a usage scenario of a display device according to some embodiments;
fig. 2 shows a hardware configuration block diagram of the control apparatus 100 according to some embodiments;
fig. 3 illustrates a hardware configuration block diagram of a display device 200 according to some embodiments;
FIG. 4 illustrates a software configuration diagram in a display device according to some embodiments;
FIG. 5 illustrates a data flow diagram of a method of launching a web application in accordance with some embodiments;
FIG. 6 illustrates a flow chart of a method of launching a web application, in accordance with some embodiments;
FIG. 7 illustrates a data flow diagram for updating an application installation information file when installing an APP, according to some embodiments;
FIG. 8 illustrates a method flow diagram for obtaining an application URL for a specified web application in accordance with some embodiments;
FIG. 9 illustrates a data flow diagram for updating an application installation information file when an APP is uninstalled, according to some embodiments;
FIG. 10 illustrates a data flow diagram of retrieving an index profile in accordance with some embodiments;
FIG. 11 illustrates a method flow diagram for obtaining an index profile, in accordance with some embodiments;
FIG. 12 illustrates a data flow diagram of updating an index profile when installing an APP, according to some embodiments;
FIG. 13 illustrates a data flow diagram of updating an index profile when unloading an APP, in accordance with some embodiments.
Detailed Description
For the purposes of making the objects and embodiments of the present application more apparent, an exemplary embodiment of the present application will be described in detail below with reference to the accompanying drawings in which exemplary embodiments of the present application are illustrated, it being apparent that the exemplary embodiments described are only some, but not all, of the embodiments of the present application.
It should be noted that the brief description of the terminology in the present application is for the purpose of facilitating understanding of the embodiments described below only and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms first, second, third and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements explicitly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The 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.
Fig. 1 illustrates a usage scenario of a display device according to some embodiments. As shown in fig. 1, the display device 200 is also in data communication with a server 400, and a user can operate the display device 200 through the smart device 300 or the control apparatus 100.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of infrared protocol communication or bluetooth protocol communication, and other short-range communication modes, and the display device 200 is controlled by a wireless or wired mode. The user may control the display 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 one of a mobile terminal, tablet, computer, notebook, AR/VR device, etc.
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 running on a 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 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 apparatus 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.
In some embodiments, software steps performed by one step execution body may migrate on demand to be performed on another step execution body in data communication therewith. For example, software steps executed by the server may migrate to be executed on demand on a display device in data communication therewith, and vice versa.
Fig. 2 shows a hardware configuration block diagram 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 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.
In some embodiments, the communication interface 130 is configured to communicate with the outside, including 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, keys, or an alternative module.
Fig. 3 illustrates a hardware configuration block diagram of a display device 200 according to some embodiments. Referring to fig. 3, in some embodiments, 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 comprises a central processor, a video processor, an audio processor, a graphics processor, RAM, ROM, a first interface for input/output to an nth interface.
In some embodiments, the display 260 includes a display screen component for presenting a picture, and a driving component for driving an image display, for receiving an image signal from the controller output, for displaying video content, image content, and components of a 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 modem 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, or other network communication protocol chip or a near field communication protocol chip, and an infrared receiver. The display apparatus 200 may establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220.
In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for capturing the intensity of ambient light; either the detector 230 comprises an image collector, such as a camera, which may be used to collect external environmental scenes, user attributes or user interaction gestures, or the detector 230 comprises a sound collector, such as a microphone or the like, for receiving 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, etc. The input/output interface may be a composite input/output interface formed by a plurality of interfaces.
In some embodiments, the controller 250 and the modem 210 may be located in separate devices, i.e., the modem 210 may also be located in an external device to the main device in which the controller 250 is located, such as an external set-top box or the like.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored on the memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command to select a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, the object may be any one of selectable objects, such as a hyperlink, an icon, or other operable control. The operations related to the selected object are: displaying an operation of connecting to a hyperlink page, a document, an image, or the like, or executing an operation of a program corresponding to the icon.
In some embodiments the controller includes at least one of a central processing unit (Central Processing Unit, CPU), a video processor, an audio processor, a graphics processor (Graphics Processing Unit, GPU), RAM Random Access Memory, RAM), ROM (Read-Only Memory, ROM), first to nth interfaces for input/output, a communication Bus (Bus), and the like.
And the CPU processor is used for executing the operating system and application program instructions stored in the memory and executing various application programs, data and contents according to various interaction instructions received from the outside so as to finally display and play various audio and video contents. The CPU processor may include a plurality of processors. Such as one main processor and one or more sub-processors.
In some embodiments, a graphics processor is used to generate various graphical objects, such as: at least one of icons, operation menus, and user input instruction display graphics. The graphic processor comprises an arithmetic unit, which is used for receiving various interactive instructions input by a user to operate and displaying various objects according to display attributes; the device 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, perform at least one of decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image composition, and the like according to a standard codec protocol of an input signal, and obtain a signal that is displayed or played on the directly displayable device 200.
In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image compositing 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 demultiplexed video signal, including decoding, scaling and the like. And an image synthesis module, such as an image synthesizer, for performing superposition mixing processing on the graphic generator and the video image after the scaling processing according to the GUI signal input by the user or generated 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 frame rate into a video output signal and changing the video output signal to be in accordance with a display format, such as outputting RGB data signals.
In some embodiments, the audio processor is configured to receive an external audio signal, decompress and decode according to a standard codec protocol of an input signal, and at least one of noise reduction, digital-to-analog conversion, and amplification, to obtain a sound signal that can be played in the speaker.
In some embodiments, a 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). Or the user may input the user command by inputting a specific sound or gesture, the user input interface recognizes the sound or gesture through the sensor, and receives the user input command.
In some embodiments, a "user interface" is a media interface for interaction and exchange of information between an application or operating system and a user that enables conversion between an internal form of information and a form acceptable to the user. A commonly used presentation form of a user interface is a graphical user interface (Graphic User Interface, GUI), which refers to a graphically displayed user interface that is related to computer operations. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include at least one of a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
In some embodiments, the user interface 280 is an interface (e.g., physical keys on a display device body, or the like) that may be used to receive control inputs.
In some embodiments, a system of display devices may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together form the basic operating system architecture that allows users to manage files, run programs, and use the system. After power-up, the kernel is started, the kernel space is activated, hardware is abstracted, hardware parameters are initialized, virtual memory, a scheduler, signal and inter-process communication (IPC) are operated and maintained. After the kernel is started, shell and user application programs are loaded again. The application program is compiled into machine code after being started to form a process.
Fig. 4 illustrates a software configuration diagram in a display device according to some embodiments. As shown in fig. 4, the system of the display device is divided into three layers, an application layer, a middleware layer, and a hardware layer, from top to bottom.
The application layer mainly comprises common applications on the television, and an application framework (Application Framework), wherein the common applications are mainly applications developed based on Browser, such as: HTML5 APPs; a native application (NATIVE APPS);
The application framework (Application Framework) is a complete program model with all the basic functions required by standard application software, such as: file access, data exchange, and the interface for the use of these functions (toolbar, status column, menu, dialog box).
The native application (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 connects to the VIDAA server, i.e., a VIDAA system is installed to implement the network television functions. A plurality of third party application programs are installed in the display equipment adopting the VIDAA system, and the management of the third party application programs of the VIDAA is realized based on the URL.
When a third party application program is started, for example, when a web application is started, the URL of the web application is downloaded by using the HTTP protocol, and then the web application is started. The process is complicated, so that the web application is slow to start, and the loading performance of the web application is low.
Therefore, in order to solve the above problems, the embodiment of the present invention provides a display device, which requests a URL based on an encapsulated File protocol to start a web application, and can safely load a front end code originally running in a cloud end of a third party on a terminal, and call the front end code in a unified schema based on the File protocol, so that the loading performance of starting the web application is ensured, and the loading experience is improved. Meanwhile, based on a unified schema mechanism, the webpage application is started by calling a unified interface form, technical details are not required to be exposed, system coherence is shielded, and safety is improved.
FIG. 5 illustrates a data flow diagram of a method of launching a web application in accordance with some embodiments; FIG. 6 illustrates a flow chart of a method of launching a web application, according to some embodiments. The display device provided by the embodiment of the invention comprises: a display and a controller, the display configured to present a launch page for a specified web application; the controller is coupled to the display, and in performing the method of starting the web application shown in fig. 5 and 6, the controller is configured to perform the steps of:
s1, responding to a starting request of a specified web application, and acquiring an application URL, an index configuration file and an application configuration file of the specified web application.
When a user starts an application program configured in the display device, the display device starts the application program by using a browser to obtain a web application. When the remote controller is started, a user can generate a starting request by triggering a key on the remote controller so as to start the appointed webpage application.
In order to increase the starting speed, the application URL adopting the target protocol is replaced by the URL adopting the File protocol, and the application URL, the index configuration File and the application configuration File of the appointed web application need to be acquired first. The application URL refers to a URL adopting a target protocol, and in a VIDAA system, the application URL is a URL adopting a VIDAA protocol, that is, the target protocol may be a VIDAA protocol. The index configuration file is Pkgapps type application configuration file, is uniformly stored in the database file/APPS/pkgapps/mapndex.txt, is uniformly controlled and read by a browser, and is mainly used for starting the mapping of links and real URLs and realizing DEEPLINKING functions. The application configuration file is a manifest. Json file in the application code packet, and application configuration information related to the specified web application is stored therein, including a version number, a start target URL, an icon, and the like.
Typically, the application URL of each web application is stored in an application installation information file (appinfo. Json), where the application installation information file includes application code packages of a plurality of web applications, and the application code packages are installation packages of the corresponding web applications.
The File protocol is not used by the schema part in the application URL, and in some embodiments, the module selects a custom schema, hides details, and retains path management and dependencies inside the module, thereby realizing UI/cloud platform independence. The content of the custom schema at least comprises the following 1-6 contents:
"1, schema field: for custom schema, defaulting to VIDAA webengine identifies the schema for processing.
2. Host field: for application type, the third party application defaults to webapps, the web application.
3. Port field: for special management, a third party application defaults to null, e.g., launch an application using a particular port in debug mode, the log/enable experimental feature may be opened.
4. Action field: comprising (1) round: starting an application; (2) Deeplink: deep links, etc.
5. ID field: is APPID.
6. The par field: is an APP parameter. "
When the appointed webpage application is started, relevant information corresponding to the application is stored into an application installation information file AppInfo. Json.
For example, when a web application is designated as shahid applications, the shahid application is launched by opening vidaa:// apps/launch/12345. By opening vidaa:// apps/launch/12345/? id=23456, 23456 assets of shahid applications are launched.
Based on the startup link, the information related to the specified web application is stored in appinfo. Json.
Therefore, when the webpage application is started or installed, the information related to the webpage application is stored in an application installation information file AppInfo.json. Therefore, when the application URL needs to be used, the application URL corresponding to the specified webpage application can be acquired in the application installation information file, namely 'vidaa:// apps/launch/12345'.
In some embodiments, when the web application is installed or uninstalled, the relevant information of the web application will change, that is, the corresponding information stored in the application installation information file will be updated, so that the installation information file appinfo. When acquiring the application URL of the appointed webpage application, the accuracy of data acquisition is ensured on the basis of the information stored in the updated application installation information file.
FIG. 7 illustrates a data flow diagram for updating an application installation information file when installing an APP, according to some embodiments; FIG. 8 illustrates a method flow diagram for obtaining an application URL for a specified web application, in accordance with some embodiments. In some embodiments, in updating the application installation information file appinfo.json to obtain the application URL based on installing the APP, referring to fig. 7 and 8, the controller, when executing the obtaining of the application URL of the specified web application, is further configured to perform the steps of:
S111, acquiring an application installation information file of an application code packet storing a plurality of web applications.
S112, judging whether an application URL corresponding to the appointed webpage application in the installation process exists in the application installation information file.
S113, if the application code packet does not exist, analyzing the application code packet of the appointed webpage application to obtain application update information.
S114, adding the application update information into the application installation information file, and reading an application URL of the appointed webpage application based on the updated application installation information file.
The controller obtains an application installation information file stored in a VIDAA system of the display device, wherein the application installation information file comprises application code packages of a plurality of web applications. When the APP is installed, file information of the application installation information file is analyzed, whether the application installation information file needs to be updated or not is judged, namely whether an application URL corresponding to the appointed webpage application in installation exists in the application installation information file or not is judged.
If the URL of the application to be installed does not exist in the application installation information file, the URL is marked as needing to be updated. And when updating, analyzing the application information to be updated, namely analyzing the application code package of the appointed webpage application to obtain the application updating information. During analysis, an index configuration file and an application configuration file can be obtained from an application code package, APPID, URL, starting mode and other information are obtained from the index configuration file, and APPname fields and other information are obtained from the application configuration file. And taking the information obtained from the index configuration file and the application configuration file as application updating information.
The file content of the application installation information file is parsed into objects, and the application update information is parsed into an array. The array is inserted into the whole object, the whole object formed after the insertion is converted into a character string, and the character string is written into an application installation information file to finish updating. And then, when the appointed webpage application is started, acquiring an application URL of the appointed webpage application from the updated application installation information file.
FIG. 9 illustrates a data flow diagram for updating an application installation information file when an APP is uninstalled, according to some embodiments. In some embodiments, the APP info. Json file is updated when the APP is uninstalled, see fig. 9, the content of the appinfo. Json file is read out and stored in a character string, and whether the character string contains a URL of the application to be uninstalled is determined, if yes, the character string is marked as needing to be updated. And analyzing the file content of the application installation information file as an object, traversing the whole object, and deleting the object if the acquired URL value is the application URL of the uninstalled application. And converting the residual information into character strings, and writing the character strings into an application installation information file to obtain an updated application installation information file. If no update is needed, no processing is performed.
If the web page application is reinstalled, the related information of the web page application is required to be written into the application installation information file again, and then the application URL of the appointed web page application required to be started is acquired from the updated application installation information file.
After the application URL of the specified web application is obtained, the index configuration File is also required to be obtained from the application code package of the specified web application, so as to be used as a data source for converting the URL of the target protocol into the URL of the File protocol.
FIG. 10 illustrates a data flow diagram of retrieving an index profile in accordance with some embodiments; FIG. 11 illustrates a flow diagram of a method of retrieving an index profile, in accordance with some embodiments. In some embodiments, referring to fig. 10 and 11, the controller, when executing the index profile that retrieves the specified web application, is further configured to perform the steps of:
s121, acquiring a configuration index table of the appointed webpage application.
S122, if the configuration index table is not empty, dividing the configuration index information in the configuration index table to obtain a plurality of structures.
S123, taking one of the structures as a key value, taking the other structures as value values, and establishing a key-value mapping relation.
S124, storing the key-value mapping relation into a configuration index table, and taking the configuration index table stored with the key-value mapping relation as an index configuration file of the appointed web application.
When an APP is installed, for example, when a web application is installed, configuration index information is stored in an application code packet required for installation, that is, a configuration index table mapindex is obtained from an application code packet of a specific web application, and the configuration index information is stored in the configuration index table, where the content includes but is not limited to the following contents:
"APPID field: the internal id is aligned with the cloud and is not stored in the software package.
APPURL field: is the internal URL, the real File address.
Updatestatus field: '0' represents normal use; '1' indicates that the update process is in progress.
Launchcount field: for the number of starts.
CREATETIME field: for the creation date.
Updatetime field: for the update date.
Versionname field: is a program version. "
Storing the configuration index information into a database file/APPS/pkgapps/mapndex.txt file according to the following format: the content of the APPID APPURL | Updatestatus | Launchcount | CREATETIME | Updatetime | Versionname as a configuration index table is a Pkgapps type configuration file.
When the appointed webpage application is started, judging whether a configuration index table is empty, if not, acquiring configuration index information of the configuration index table, namely an APPS/pkgapps/mapndex.txt file, dividing information of each row according to a '|' symbol, sequentially identifying APPID, APPURL, updatestatus, launchcount, createtime, updatetime, versionname information, and respectively storing the APPID, APPURL, updatestatus, launchcount, createtime, updatetime, versionname information in a structural body to obtain a plurality of structural bodies.
And taking one of the structures as a key value, taking the other structures as value values, and establishing a mapping relation. In some embodiments, the APPID of the specified web application is used as a key, the structure of the remaining information is used as a value to form a mapping relationship, the mapping relationship is stored in a configuration index table, and the configuration index table stored with the key-value mapping relationship is used as an index configuration file of the specified web application, so that the subsequent call is facilitated.
The same web page application corresponds to one mapping relation, so that a plurality of web page applications correspond to a plurality of mapping relations, and the mapping relations are stored in a configuration index table to obtain an index configuration file comprising the mapping relations of the web page applications.
In some embodiments, if the configuration index table is empty, it is indicated that the configuration index table needs to be updated. Updating the configuration index table occurs at the time of installing and the time of uninstalling the APP, and therefore, when the index configuration file of the specified web application is acquired, the updated index configuration file needs to be based.
FIG. 12 illustrates a data flow diagram of updating an index profile when installing an APP, according to some embodiments. In some embodiments, in updating the index profile acquisition index profile based on installing the APP, referring to fig. 12, the controller, upon executing the index profile acquisition specifying the web application, is further configured to perform the steps of:
And 12511, if the configuration index table is empty, judging whether a target field corresponding to APPURL of the appointed web application exists in the configuration index information in the current index configuration file.
Step 12512, if the target field does not exist, the application configuration file of the specified web application is obtained.
Step 12513, storing the application configuration information in the application configuration file into a configuration index table, and taking the configuration index table stored with the application configuration information as an index configuration file of the specified web application.
And 12514, if the target field exists, acquiring an application code packet of the appointed webpage application.
Step 12515, analyze the application code packet, confirm the field updating information of the appointed web page application.
And 12516, storing the field updating information into a configuration index table, and taking the configuration index table stored with the field updating information as an index configuration file for designating the web application.
When the configuration index table is empty or the APP to be installed cannot be found, the index configuration file is marked as needing to be updated. When the APP is installed, analyzing the current index configuration file to obtain configuration index information, and judging whether the first half field APPURL of the APP to be installed exists in the configuration index information, namely judging whether a target field corresponding to APPURL of the appointed webpage application exists in the configuration index information in the current index configuration file. If so, indicating that the appointed webpage application is installed once; if not, it is indicated that the specified web application has not been installed.
In some embodiments, if the target field does not exist, relevant information that specifies the web application needs to be updated into the index profile. Therefore, an application configuration file (a manifest. Json file) of the specified web application is acquired, and the application configuration file may be acquired from an application code package of the specified web application, where application configuration information including a version number, a start target URL, an icon, and the like is stored in the application configuration file. And storing the application configuration information into a configuration index table, and updating the index configuration file, namely taking the configuration index table stored with the application configuration information as the index configuration file of the appointed webpage application.
In some embodiments, if the target field is present, then the APPURL field and version field in the index profile need to be updated. At this time, an application code packet of the designated web application is acquired, information such as an APPID and a version number is stored in the application code packet, and the information is used as field finer information to update APPURL fields and version fields in the index configuration file. The APPID can determine the APP to be installed, and determine the corresponding version number, and the APPURL field updating basis and the version field updating basis can be obtained according to the version number information in the application code packet.
FIG. 13 illustrates a data flow diagram of updating an index profile when unloading an APP, in accordance with some embodiments. Referring to fig. 13, in the case of updating the index configuration file when unloading the APP, it is determined whether a target field corresponding to APPURL of the designated web application (unloading the APP) exists in the configuration information in the index configuration file, which may be APPID and APPURL; if the configuration information exists, deleting the configuration information of the appointed webpage application corresponding to the target field, and taking the configuration table after deleting the configuration information as an updated index configuration file. If not, no processing, i.e., no update procedure, is performed.
Specifically, when the APP is unloaded, the index configuration file/APPs/pkgapps/mapndex.txt is read, each line of information is stored in the vector array as an element, if the information (APPID and APPURL) of the application to be unloaded (the designated web application) is found, the element information is deleted, and then the updated index configuration file is saved.
If the web application is reinstalled, the related information of the web application is required to be written into the index configuration file again to update the index configuration file, and the updated index configuration file is used as a data source for subsequent call.
S2, when the application URL is the target protocol URL, the application URL is analyzed to obtain specified starting action, APPID and APP parameters corresponding to the specified webpage application.
After the application URL of the appointed webpage application is obtained, whether the application URL is a target protocol URL or not is judged, and in a VIDAA system, the target protocol can be VIDAA protocol, namely, when the appointed webpage application is opened, whether the application URL read from AppInfo. Json is custom VIDAA:// protocol or not is judged. If yes, analyzing the application URL to obtain the appointed starting Action (Action), APPID and APP parameters corresponding to the appointed webpage application. If the target protocol URL is not the target protocol URL, the processing is not performed, and the designated webpage application is directly started.
In some embodiments, based on the Action starting Action, action information for realizing different functions can be added according to the use requirement of a user, so that function expansion is realized.
S3, traversing the index configuration file, and searching for an APPURL corresponding to the APPID, wherein the APPURL is a real access path stored in the display device for the appointed webpage application.
Processing the index configuration File of the appointed webpage application, traversing configuration index information of each webpage application in the index configuration File, and searching for a corresponding APPURL based on the APPID of the appointed webpage application to be used as a data source of the URL which is converted into the File protocol in a subsequent mode.
In some embodiments, the controller, upon executing the traversal index profile, looks up APPURL corresponding to the APPID, is further configured to perform the steps of:
and 31, acquiring a key-value mapping relation corresponding to the index configuration file.
And step 32, traversing the key-value mapping relation, and searching the APPID as a key value to obtain an APPURL corresponding to the APPID, wherein the APPURL is one value in the key-value mapping relation.
Referring to the contents of steps S121 to S124 in the foregoing embodiments, the index profile includes key-value mappings of a plurality of web applications. Therefore, the key-value mapping relation corresponding to the appointed webpage application in the index configuration file is obtained, and APPID of the appointed webpage application is used as a key to traverse the key-value mapping relation, so that structural bodies such as APPURL, updatestatus, launchcount, createtime, updatetime, versionname of values can be found. Therefore APPURL corresponding to the APPID is taken as the real File address of the specified web application.
S4, analyzing the application configuration file, and determining appointed access page information of the appointed webpage application corresponding to the appointed starting action.
The method comprises the steps of obtaining an application code package of a specified webpage application to be started, obtaining an application configuration file (a manifest. Json file) from the application code package, analyzing the manifest. Json file to obtain a character string comprising a plurality of fields, and comparing the character string with a target protocol URL to determine the specified starting action of the specified webpage application.
The target protocol URL is the application URL, and the target protocol URL is parsed to extract a specified activation Action (Action) from the application URL, where the specified access Action includes launch or deeplink. And acquiring page information corresponding to the appointed starting action in the application configuration file as appointed access page information to serve as a data source of the real URL of the appointed webpage application.
For example, if the target protocol URL is vidaa:// apps/launch/12345, then the specified launch action corresponding to launch "application 12345" is launch; if the target protocol URL is vidaa:// apps/deeplink/12345, then the specified launch action corresponding to launch "application 12345" is deeplink.
S5, packaging the APP parameters, APPURL and the appointed access page information into a File protocol URL, and starting the appointed webpage application based on the File protocol URL.
When the target protocol URL of the appointed webpage application is repackaged into the File protocol URL, the data sources according to the target protocol URL are the APP parameters, APPURL and the appointed access page information which are obtained after the application URL, the index configuration File and the application configuration File are processed, the information is mapped into the real File protocol URL so as to start the appointed webpage application, and the starting page is displayed in a display.
Since the specified access page information may be page information corresponding to launch or page information corresponding to deeplink, there are two different forms when mapping to File protocol URL.
In some embodiments, when the specified launch action is launch, the controller, upon executing the parsed application configuration file, determines specified access page information for the specified web application corresponding to the specified launch action, and is further configured to perform the steps of:
and 411, analyzing the application configuration file to obtain application configuration information corresponding to the appointed webpage application.
Step 412, acquiring page information corresponding to the counth in the application configuration information, and taking the page information corresponding to the counth as specified access page information of the specified web application.
Acquiring application configuration information in an application configuration file, comparing the application configuration information with a specified starting Action (Action) determined in a target protocol URL (application URL), and if the Action is a launch, reading page information corresponding to the launch in the application configuration information as specified access page information of a specified webpage application.
At this time, when mapping the real File protocol URL, the controller, when executing the encapsulation of the APP parameters, APPURL and the specified access page information into the File protocol URL, is further configured to execute the following steps:
Step 511, obtaining index field information in the page information corresponding to the launch.
Step 512, encapsulating the APP parameters, APPURL and index field information into a File protocol URL.
When the Action is a counth, index field information, namely page- > index field, in page information corresponding to the counth is read in an application configuration file (a manifest. Json file). The File protocol URL is encapsulated based on APP parameters, APPURL and index field information (page- > index field).
In some embodiments, when the specified launch action is deeplink, the controller, upon executing the parsed application configuration file, determines specified access page information for the specified web application corresponding to the specified launch action, and is further configured to receive the following steps:
And 421, analyzing the application configuration file to obtain application configuration information corresponding to the appointed webpage application.
Step 422, acquiring page information corresponding to deeplink in the application configuration information, and taking the page information corresponding to deeplink as specified access page information of the specified web application.
And acquiring application configuration information in the application configuration file, comparing the application configuration information with a specified starting Action (Action) determined in a target protocol URL (application URL), and if the Action is deeplink, reading page information corresponding to deeplink in the application configuration information as specified access page information of a specified webpage application.
At this time, when mapping the real File protocol URL, the controller, when executing the encapsulation of the APP parameters, APPURL and the specified access page information into the File protocol URL, is further configured to execute the following steps:
step 521, obtaining deeplink field information in the page information corresponding to deeplink.
Step 522, encapsulating APP parameters, APPURL and deeplink field information into File protocol URL.
When the Action is deeplink, deeplink field information, namely page- > deeplink field, in the page information corresponding to deeplink is read in an application configuration file (a manifest. Json file). The File protocol URL is encapsulated based on APP parameters, APPURL, and deeplink field information (page- > deeplink field).
Based on the File protocol URL obtained by the two packaging modes, the appointed webpage application is started, and the loading speed of the application can be improved. Meanwhile, through a unified schema mechanism, the URL is customized to obtain the File protocol URL, when the appointed webpage application is started, the URL is started in a unified interface format, technical details can be hidden, system relativity is shielded, and safety is improved.
Based on the display device provided by the embodiment of the invention, when executing the starting method of the webpage application, the target protocol URL of the appointed webpage application is customized to be the File protocol URL, and the specific mapping mode is as follows:
manifestInfo appInfo; the// manifestInfo is a structure for storing the contents of the manifest. Json file
Std: map < std:: string, app > mis; the// mis is a configuration index table (map table) with key being APPID (in-cloud alignment), and value being APP structure, and is used for storing configuration information of all APPs in an index configuration file (mapndex. Txt).
If (IFVIDAASCHEME (URL)) {// URL is the application URL read from the application installation information file (appinfo. Json) when the application is opened, and whether it is the custom vidaa:// protocol is determined.
ParseUrl (url, & AppId, & link); and (3) analyzing the Url, reading APPID stored variable AppId therein, and storing subsequent parameter information into link.
Path= MAPREALPATH (mis, appId); the// traverse the mis table, return the corresponding Apppath (real file address) and save it in Path when AppId is found.
Filecontent = ReadFile (Path); the application configuration file (manifest. Json file) under the path is/are read, and the read file content is stored Filecontent.
JsonRead (Filecontent, & appInfo); and analyzing the Filecontent content to obtain each line of information, and storing the information in the appInfo structure.
To this end, the process of mapping the target protocol URL into the File protocol URL is implemented.
For example, the target protocol URL for a web application will be specified: vidaa:// apps/launch/12345, mapped to File protocol URL: file/(APPS/com. Vidaa. Shahid/index. Html, launch the specified web application, shahid application.
As another example, the target protocol URL to be applied: vidaa:// apps/launch/12345/? id=23456, mapped to File protocol URL: file:///APPS/com.vidaa. Shahid/index. Htmlid=23456, the 23456 media of shahid application is started.
FIG. 6 illustrates a flow chart of a method of launching a web application, according to some embodiments. Referring to fig. 6, an embodiment of the present invention provides a method for starting a web application, which is executed by a controller in a display device provided in the foregoing embodiment, and includes the following steps:
S1, responding to a starting request of a specified web application, and acquiring an application URL, an index configuration file and an application configuration file of the specified web application;
S2, when the application URL is a target protocol URL, analyzing the application URL to obtain a specified starting action, an APPID and an APP parameter corresponding to the specified webpage application;
S3, traversing the index configuration file, searching APPURL corresponding to the APPID, wherein APPURL is a real access path stored in a display device for the appointed webpage application;
S4, analyzing the application configuration file, and determining appointed access page information of the appointed webpage application corresponding to the appointed starting action;
S5, packaging the APP parameters, APPURL and the appointed access page information into a File protocol URL, and starting the appointed webpage application based on the File protocol URL.
According to the technical scheme, when the specified webpage application is started, if the corresponding application URL is the target protocol URL, the starting method and the display device for the webpage application are used for analyzing to obtain the specified starting action, APPID and APP parameters; traversing the index configuration file, searching APPURL corresponding to the APPID, analyzing the application configuration file, and determining specified access page information corresponding to the specified starting action; and packaging the APP parameters, APPURL and the appointed access page information into a File protocol URL, and starting the appointed webpage application based on the File protocol URL. Therefore, the method and the display device provided by the embodiment of the invention map the target protocol URL into the File protocol URL, provide a unified interface format, directly start the appointed webpage application, improve the loading performance of the webpage application and improve the loading experience.
In a specific implementation, the present invention further provides a computer storage medium, where the computer storage medium may store a program, where the program may include some or all of the steps in each embodiment of the method for starting a web application provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (random access memory RAM), or the like.
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 in essence or what contributes 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 for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present invention.
The same or similar parts between the various embodiments in this specification are referred to each other. In particular, for the starting method embodiment of the web application, since it is substantially similar to the display device embodiment, the description is relatively simple, and the relevant points are referred to the description in the display device embodiment.
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 application has been described in detail with reference to the foregoing embodiments, it will 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 application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. 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 present a launch page of a specified web application;
A controller coupled to the display, the controller configured to:
Responding to a starting request of a specified web application, and acquiring an application URL, an index configuration file and an application configuration file of the specified web application;
when the application URL is a target protocol URL, analyzing the application URL to obtain specified starting action, APPID and APP parameters corresponding to the specified webpage application;
Traversing the index configuration file, searching APPURL corresponding to the APPID, wherein APPURL is a real access path stored in a display device for the appointed webpage application;
analyzing the application configuration file to obtain a character string comprising a plurality of fields, comparing the character string with the application URL, and determining appointed access page information of the appointed webpage application corresponding to the appointed starting action;
And packaging the APP parameters, APPURL and the appointed access page information into a File protocol URL, and starting the appointed webpage application based on the File protocol URL.
2. The display device of claim 1, wherein the controller, when executing the acquiring the application URL of the specified web application, is further configured to:
acquiring an application installation information file of an application code packet storing a plurality of web applications;
Judging whether an application URL corresponding to the appointed webpage application in installation exists in the application installation information file;
if the application code packet does not exist, analyzing the application code packet of the appointed webpage application to obtain application update information;
And adding the application updating information into the application installation information file, and reading the application URL of the appointed webpage application based on the updated application installation information file.
3. The display device of claim 1, wherein the controller, when executing the retrieving the index profile for the specified web application, is further configured to:
acquiring a configuration index table of the appointed webpage application;
If the configuration index table is not empty, dividing configuration index information in the configuration index table to obtain a plurality of structures;
Taking one of the structures as a key value, taking the other structures as value values, and establishing a key-value mapping relation;
and storing the key-value mapping relation into the configuration index table, and taking the configuration index table stored with the key-value mapping relation as an index configuration file of the appointed webpage application.
4. The display device of claim 3, wherein the controller, when executing the retrieving the index profile for the specified web application, is further configured to:
If the configuration index table is empty, judging whether a target field corresponding to APPURL of the appointed web application exists in the configuration index information in the current index configuration file;
if the target field does not exist, acquiring an application configuration file of the appointed webpage application;
Storing application configuration information in the application configuration file into the configuration index table, and taking the configuration index table stored with the application configuration information as an index configuration file of a specified web application;
if the target field exists, acquiring an application code packet of the appointed webpage application;
analyzing the application code package and determining field updating information of the appointed webpage application;
And storing the field updating information into the configuration index table, and taking the configuration index table stored with the field updating information as an index configuration file for designating the web page application.
5. The display device of claim 1, wherein the controller, upon executing the traversing the index profile, looking up APPURL corresponding to the APPID is further configured to:
Acquiring a key-value mapping relation corresponding to the index configuration file;
Traversing the key-value mapping relation, and searching the APPID as a key value to obtain APPURL corresponding to the APPID, wherein APPURL is one value in the key-value mapping relation.
6. The display device according to claim 1, wherein the specified start action is launch; and the controller, upon executing the parsing of the application configuration file, determining specified access page information for the specified web application corresponding to the specified launch action, further configured to:
Analyzing the application configuration file to obtain application configuration information corresponding to the appointed webpage application;
and acquiring page information corresponding to the counth in the application configuration information, and taking the page information corresponding to the counth as the appointed access page information of the appointed webpage application.
7. The display device of claim 6, wherein the controller, when executing the encapsulating the APP parameters, APPURL, and specified access page information into a File protocol URL, is further configured to:
Obtaining index field information in page information corresponding to the launch;
and packaging the APP parameters, APPURL and index field information into a File protocol URL.
8. The display device of claim 1, wherein the specified actuation action is deeplink; and the controller, upon executing the parsing of the application configuration file, determining specified access page information for the specified web application corresponding to the specified launch action, further configured to:
Analyzing the application configuration file to obtain application configuration information corresponding to the appointed webpage application;
And acquiring page information corresponding to deeplink in the application configuration information, and taking the page information corresponding to deeplink as the appointed access page information of the appointed webpage application.
9. The display device of claim 8, wherein the controller, when executing the encapsulating the APP parameters, APPURL, and specified access page information into a File protocol URL, is further configured to:
Acquiring deeplink field information in the page information corresponding to deeplink;
and encapsulating the APP parameters, APPURL and deeplink field information into a File protocol URL.
10. A method for starting a web application, the method comprising:
Responding to a starting request of a specified web application, and acquiring an application URL, an index configuration file and an application configuration file of the specified web application;
when the application URL is a target protocol URL, analyzing the application URL to obtain specified starting action, APPID and APP parameters corresponding to the specified webpage application;
Traversing the index configuration file, searching APPURL corresponding to the APPID, wherein APPURL is a real access path stored in a display device for the appointed webpage application;
analyzing the application configuration file to obtain a character string comprising a plurality of fields, comparing the character string with the application URL, and determining appointed access page information of the appointed webpage application corresponding to the appointed starting action;
And packaging the APP parameters, APPURL and the appointed access page information into a File protocol URL, and starting the appointed webpage application based on the File protocol URL.
CN202011458761.3A 2020-12-11 2020-12-11 Webpage application starting method and display device Active CN112445545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011458761.3A CN112445545B (en) 2020-12-11 2020-12-11 Webpage application starting method and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011458761.3A CN112445545B (en) 2020-12-11 2020-12-11 Webpage application starting method and display device

Publications (2)

Publication Number Publication Date
CN112445545A CN112445545A (en) 2021-03-05
CN112445545B true CN112445545B (en) 2024-05-28

Family

ID=74739696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011458761.3A Active CN112445545B (en) 2020-12-11 2020-12-11 Webpage application starting method and display device

Country Status (1)

Country Link
CN (1) CN112445545B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112783577A (en) * 2021-03-15 2021-05-11 Vidaa美国公司 Application starting method and display equipment
CN113378177A (en) * 2021-06-17 2021-09-10 武汉珈港科技有限公司 Safe and open Native multi-application system architecture and Native application program execution method
CN116627544B (en) * 2023-07-24 2023-10-31 中化现代农业有限公司 Page starting method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645905A (en) * 2009-08-31 2010-02-10 深圳市茁壮网络股份有限公司 Data downloading method and data uploading method and browser
WO2015169188A1 (en) * 2014-05-06 2015-11-12 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and system for loading webpage application program
CN107145490A (en) * 2016-03-01 2017-09-08 腾讯科技(深圳)有限公司 Webpage loads methods of exhibiting and webpage loading exhibiting device
CN109977329A (en) * 2019-03-08 2019-07-05 山东浪潮云信息技术有限公司 The web retrieval method that a kind of pair of parametric form is Request Payload
CN111064795A (en) * 2019-12-20 2020-04-24 腾讯科技(深圳)有限公司 Web page access acceleration method, system, computer equipment, server and medium
CN111859223A (en) * 2020-07-30 2020-10-30 中国民航信息网络股份有限公司 Webpage data calling method and device based on mobile middle station and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978176B (en) * 2014-04-10 2019-03-08 腾讯科技(北京)有限公司 Application programming interfaces call method, device and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645905A (en) * 2009-08-31 2010-02-10 深圳市茁壮网络股份有限公司 Data downloading method and data uploading method and browser
WO2015169188A1 (en) * 2014-05-06 2015-11-12 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and system for loading webpage application program
CN107145490A (en) * 2016-03-01 2017-09-08 腾讯科技(深圳)有限公司 Webpage loads methods of exhibiting and webpage loading exhibiting device
CN109977329A (en) * 2019-03-08 2019-07-05 山东浪潮云信息技术有限公司 The web retrieval method that a kind of pair of parametric form is Request Payload
CN111064795A (en) * 2019-12-20 2020-04-24 腾讯科技(深圳)有限公司 Web page access acceleration method, system, computer equipment, server and medium
CN111859223A (en) * 2020-07-30 2020-10-30 中国民航信息网络股份有限公司 Webpage data calling method and device based on mobile middle station and storage medium

Also Published As

Publication number Publication date
CN112445545A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
CN112445545B (en) Webpage application starting method and display device
CN111198730B (en) Method, device, terminal and computer storage medium for starting sub-application program
Huang et al. Programming situational mobile web applications with cloud-mobile convergence: an internetware-oriented approach
US20170054792A1 (en) Systems and methods for deploying applications
CN114339332B (en) Mobile terminal, display device and cross-network screen projection method
CN112217671B (en) Method and equipment for performing interface display on front-end micro-service based on split deployment
CN112612525A (en) Display device and display device starting method
CN108153533B (en) Method and device for making installation program, and method and device for installing program
CN112256449B (en) Interface calling method of webpage application program, display equipment and server
CN112487322B (en) Third party application Loading page loading method and display device
CN112667285B (en) Application upgrading method, display device and server
CN112911359B (en) Resource display method, display equipment and remote controller
CN113316014B (en) Display device, server and third-party data display control method
CN113573149B (en) Channel searching method and display device
CN116261003A (en) Display equipment and streaming media playing control method based on browser
CN112689177B (en) Method for realizing quick interaction and display equipment
US20230111113A1 (en) Page loading method and display apparatus
CN112527330A (en) Management method and display device
CN113641423B (en) Display device and system starting method
CN112199612B (en) Bookmark adding and combining method and display equipment
CN112783577A (en) Application starting method and display equipment
CN112231088B (en) Browser process optimization method and display device
CN112788025B (en) Network access control method and display device
CN112835633B (en) Display device and control method of display language
CN113076042B (en) Local media resource access method 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
GR01 Patent grant
GR01 Patent grant