CN112445545A - Starting method of webpage application and display equipment - Google Patents

Starting method of webpage application and display equipment Download PDF

Info

Publication number
CN112445545A
CN112445545A CN202011458761.3A CN202011458761A CN112445545A CN 112445545 A CN112445545 A CN 112445545A CN 202011458761 A CN202011458761 A CN 202011458761A CN 112445545 A CN112445545 A CN 112445545A
Authority
CN
China
Prior art keywords
application
specified
file
information
url
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.)
Granted
Application number
CN202011458761.3A
Other languages
Chinese (zh)
Other versions
CN112445545B (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

Images

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)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

When a specified webpage application is started, if a corresponding application URL is a target protocol URL, analyzing to obtain a specified starting action, an APPID and an APP parameter; traversing the index configuration file, searching APPURL corresponding to APPID, analyzing the application configuration file, and determining the appointed access page information corresponding to the appointed starting action; and encapsulating the APP parameter, the APPURL and the specified access page information into a File protocol URL, and starting the specified webpage application based on the File protocol URL. Therefore, according to the method and the display device provided by the embodiment of the invention, the target protocol URL is mapped into the File protocol URL, a uniform interface format is provided, the specified webpage application can be directly started, the loading performance of the webpage application is improved, and the loading experience is improved.

Description

Starting method of webpage application and display equipment
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method for starting a web application and a display device.
Background
Along with the rapid development of display equipment, the function of display equipment will be more and more abundant, and the performance is also more and more powerful, and at present, display equipment includes intelligent TV, intelligent STB, intelligent box to and have products of intelligent display screen etc.. In order to implement the network television function, the display device usually establishes a connection with the vida server through the vida account, and the user can watch network movies and television series on the display device for free through the vida server, and experience different applications and the like.
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), for example, when the browser starts a web application by using the HTTP Protocol, the HTTP Protocol is required to download an access URL of the web application first and then access the URL. However, starting the web application in a manner of downloading first and then accessing, will result in slow start of the web application and low loading performance.
Disclosure of Invention
The application provides a starting method and display equipment of a webpage application, and aims to solve the problem that the existing webpage application is slow to load when being started.
In a first aspect, the present application provides a display device comprising:
a display configured to present a launch page of a specified web application;
a controller connected with the display, the controller configured to:
responding to a starting request of a specified webpage application, and acquiring an application URL, an index configuration file and an application configuration file of the specified webpage application;
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;
traversing the index configuration file, and searching an APPRL corresponding to the APPID, wherein the APPRL is a real access path stored in display equipment for the specified webpage application;
analyzing the application configuration file, and determining the appointed access page information of the appointed webpage application corresponding to the appointed starting action;
and encapsulating the APP parameters, the 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, in executing the obtaining the application URL of the specified web application, is further configured to:
acquiring an application installation information file of an application code package storing a plurality of webpage applications;
judging whether an application URL corresponding to the specified webpage application during installation exists in the application installation information file;
if the application code packet does not exist, analyzing the application code packet of the specified webpage application to obtain application updating information;
and adding the application updating information into the application installation information file, and reading the application URL of the specified webpage application based on the updated application installation information file.
In some embodiments of the present application, the controller, in executing the obtaining the index configuration file of the specified web application, is further configured to:
acquiring a configuration index table of the specified webpage application;
if the configuration index table is not empty, dividing configuration index information in the configuration index table to obtain a plurality of structural bodies;
taking one of the structural bodies as a key value and the other structural bodies as value values, and establishing a key-value mapping relation;
storing the key-value mapping relation into the configuration index table, and using the configuration index table in which the key-value mapping relation is stored as an index configuration file of a specified webpage application.
In some embodiments of the present application, the controller, in executing the obtaining the index configuration file of the specified web application, is further configured to:
if the configuration index table is empty, judging whether a target field corresponding to the APPURL of the appointed webpage 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 specified webpage application;
storing the application configuration information in the application configuration file into the configuration index table, and taking the configuration index table in which the application configuration information is stored as an index configuration file of the specified webpage application;
if the target field exists, acquiring an application code packet of the specified webpage application;
analyzing the application code packet and determining field updating information of the specified webpage application;
and storing the field updating information into the configuration index table, and taking the configuration index table in which the field updating information is stored as an index configuration file of a specified webpage application.
In some embodiments of the present application, the controller, in executing the traversing the index configuration file, searching for an 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 an APPURL corresponding to the APPID, wherein the APPURL is one value in the key-value mapping relation.
In some embodiments of the present application, the specified launch action is launch; and the controller, in executing the parsing of the application configuration file, determining specified access page information of 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 specified webpage application;
and acquiring page information corresponding to the launch in the application configuration information, and taking the page information corresponding to the launch as specified access page information of the specified webpage application.
In some embodiments of the present application, the controller, in performing the encapsulating the APP parameter, the APPURL, and the specified access page information into a File protocol URL, is further configured to:
obtaining index field information in the page information corresponding to the launch;
and encapsulating the APP parameter, the APPURL and the index field information into a File protocol URL.
In some embodiments of the present application, the specified start action is deepink; and the controller, in executing the parsing of the application configuration file, determining specified access page information of 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 specified webpage application;
and acquiring page information corresponding to the deeplink in the application configuration information, and taking the page information corresponding to the deeplink as the specified access page information of the specified webpage application.
In some embodiments of the present application, the controller, in performing the encapsulating the APP parameter, the APPURL, and the specified access page information into a File protocol URL, is further configured to:
acquiring deplink field information in page information corresponding to the deplink;
and encapsulating the APP parameter, the APPURL and the 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 webpage application, and acquiring an application URL, an index configuration file and an application configuration file of the specified webpage application;
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;
traversing the index configuration file, and searching an APPRL corresponding to the APPID, wherein the APPRL is a real access path stored in display equipment for the specified webpage application;
analyzing the application configuration file, and determining the appointed access page information of the appointed webpage application corresponding to the appointed starting action;
and encapsulating the APP parameters, the 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 further provides a storage medium, where the computer storage medium may store a program, and the program may implement, when executed, some or all of the steps in the embodiments of the method for starting a web application provided by the present application.
According to the technical scheme, when the specified webpage application is started, if the corresponding application URL is the target protocol URL, the webpage application is analyzed to obtain the specified starting action, the APPID and the APP parameter; traversing the index configuration file, searching APPURL corresponding to APPID, analyzing the application configuration file, and determining the appointed access page information corresponding to the appointed starting action; and encapsulating the APP parameter, the APPURL and the specified access page information into a File protocol URL, and starting the specified webpage application based on the File protocol URL. Therefore, according to the method and the display device provided by the embodiment of the invention, the target protocol URL is mapped into the File protocol URL, a uniform interface format is provided, the specified webpage application can be directly started, the loading performance of the webpage application is improved, and the loading experience is improved.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 illustrates a usage scenario of a display device according to some embodiments;
fig. 2 illustrates a hardware configuration block diagram of the control apparatus 100 according to some embodiments;
fig. 3 illustrates a hardware configuration block diagram of the display apparatus 200 according to some embodiments;
FIG. 4 illustrates a software configuration diagram in 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 diagram of a method for 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 in accordance with some embodiments;
FIG. 8 illustrates a flowchart of a method of 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, in accordance with some embodiments;
FIG. 10 illustrates a data flow diagram for obtaining an index profile according to some embodiments;
FIG. 11 illustrates a flow diagram of a method of obtaining an index profile, according to some embodiments;
FIG. 12 illustrates a data flow diagram for updating an index profile when an APP is installed, in accordance with some embodiments;
FIG. 13 illustrates a data flow diagram for updating an index profile when an APP is uninstalled, in accordance with some embodiments.
Detailed Description
To make the purpose and embodiments of the present application clearer, the following will clearly and completely describe the exemplary embodiments of the present application with reference to the attached drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.
FIG. 1 illustrates a usage scenario of a display device according to some embodiments. As shown in fig. 1, the display apparatus 200 is also in data communication with a server 400, and a user can operate the display apparatus 200 through the smart device 300 or the control device 100.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of an infrared protocol communication or a bluetooth protocol communication, and other short-distance communication methods, and controls the display device 200 in a wireless or wired manner. The user may control the display apparatus 200 by inputting a user instruction through at least one of a key on a remote controller, a voice input, a control panel input, and the like.
In some embodiments, the smart device 300 may include any of a mobile terminal, a tablet, a computer, a laptop, an AR/VR device, and the like.
In some embodiments, the smart device 300 may also be used to control the display device 200. For example, the display device 200 is controlled using an application program running on the smart device.
In some embodiments, the smart device 300 and the display device may also be used for communication of data.
In some embodiments, the display device 200 may also be controlled in a manner other than the control apparatus 100 and the smart device 300, for example, the voice instruction control of the user may be directly received by a module configured inside the display device 200 to obtain a voice instruction, or may be received by a voice control apparatus provided outside the display device 200.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display apparatus 200. The server 400 may be a cluster or a plurality of clusters, and may include one or more types of servers.
In some embodiments, software steps executed by one step execution agent may be migrated on demand to another step execution agent in data communication therewith for execution. Illustratively, software steps performed by the server may be migrated to be performed on a display device in data communication therewith, and vice versa, as desired.
Fig. 2 illustrates a block diagram of a hardware configuration of the control apparatus 100 according to some embodiments. As shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an input operation instruction from a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an interaction intermediary between the user and the display device 200.
In some embodiments, the communication interface 130 is used for external communication, and includes at least one of a WIFI chip, a bluetooth module, NFC, or an alternative module.
In some embodiments, the user input/output interface 140 includes at least one of a microphone, a touchpad, a sensor, a key, or an alternative module.
Fig. 3 illustrates a hardware configuration block diagram of a display device 200 according to some embodiments. Referring to fig. 3, in some embodiments, the display apparatus 200 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.
In some embodiments the controller comprises a central processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an nth interface for input/output.
In some embodiments, the display 260 includes a display screen component for displaying pictures, and a driving component for driving image display, a component for receiving image signals from the controller output, displaying video content, image content, and menu manipulation interface, and a user manipulation UI interface, etc.
In some embodiments, the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
In some embodiments, the tuner demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio/video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a bluetooth module, a wired ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display apparatus 200 may establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220.
In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for collecting ambient light intensity; alternatively, the detector 230 includes an image collector, such as a camera, which may be used to collect external environment scenes, attributes of the user, or user interaction gestures, or the detector 230 includes a sound collector, such as a microphone, which is used to receive external sounds.
In some embodiments, the external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, and the like. The interface may be a composite input/output interface formed by the plurality of interfaces.
In some embodiments, the controller 250 and the modem 210 may be located in different separate devices, that is, the modem 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, the object may be any one of selectable objects, such as a hyperlink, an icon, or other actionable control. The operations related to the selected object are: displaying an operation connected to a hyperlink page, document, image, or the like, or performing an operation of a program corresponding to the icon.
In some embodiments the controller comprises at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a RAM Random Access Memory (RAM), a ROM (Read-Only Memory), a first to nth interface for input/output, a communication Bus (Bus), and the like.
And the CPU is used for executing the operating system and the application program instructions stored in the memory and executing various application programs, data and contents according to various interaction instructions for receiving external input so as to finally display and play various audio and video contents. The CPU processor may include a plurality of processors. E.g. comprising a main processor and one or more sub-processors.
In some embodiments, a graphics processor for generating various graphics objects, such as: at least one of an icon, an operation menu, and a user input instruction display figure. The graphic processor comprises an arithmetic unit, which performs operation by receiving various interactive instructions input by a user and displays various objects according to display attributes; the system also comprises a renderer for rendering various objects obtained based on the arithmetic unit, wherein the rendered objects are used for being displayed on a display.
In some embodiments, the video processor is configured to receive an external video signal, and perform at least one of video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a signal displayed or played on the direct display device 200.
In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image composition module, a frame rate conversion module, a display formatting module, and the like. The demultiplexing module is used for demultiplexing the input audio and video data stream. And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like. And the image synthesis module is used for carrying out superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphic generator so as to generate an image signal for display. And the frame rate conversion module is used for converting the frame rate of the input video. And the display formatting module is used for converting the received video output signal after the frame rate conversion, and changing the signal to be in accordance with the signal of the display format, such as an output RGB data signal.
In some embodiments, the audio processor is configured to receive an external audio signal, decompress and decode the received audio signal according to a standard codec protocol of the input signal, and perform at least one of noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in the speaker.
In some embodiments, a user may enter user commands on a Graphical User Interface (GUI) displayed on display 260, and the user input interface receives the user input commands through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A commonly used presentation form of the User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the electronic device, where the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc. visual interface elements.
In some embodiments, user interface 280 is an interface that may be used to receive control inputs (e.g., physical buttons on the body of the display device, or the like).
In some embodiments, a system of a display device may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together make up the basic operating system structure that allows users to manage files, run programs, and use the system. After power-on, the kernel is started, kernel space is activated, hardware is abstracted, hardware parameters are initialized, and virtual memory, a scheduler, signals and interprocess communication (IPC) are operated and maintained. And after the kernel is started, loading the Shell and the user application program. The application program is compiled into machine code after being started, and a process is formed.
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, i.e., an application layer, a middleware layer and a hardware layer from top to bottom.
The Application layer mainly includes common applications on the television and an Application Framework (Application Framework), wherein the common applications are mainly applications developed based on the Browser, such as: HTML5 APPs; and Native APPs (Native APPs);
an Application Framework (Application Framework) is a complete program model, and has all basic functions required by standard Application software, such as: file access, data exchange, and interfaces to use these functions (toolbars, status lists, menus, dialog boxes).
Native APPs (Native APPs) may support online or offline, message push, or local resource access.
The middleware layer comprises various television protocols, multimedia protocols, system components and other middleware. The middleware can use basic service (function) provided by system software to connect each part of an application system or different applications on a network, and can achieve the purposes of resource sharing and function sharing.
The hardware layer mainly comprises an HAL interface, hardware and a driver, wherein the HAL interface is a unified interface for butting all the television chips, and specific logic is realized by each chip. The driving mainly comprises: audio drive, display driver, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (like fingerprint sensor, temperature sensor, pressure sensor etc.) and power drive etc..
In some embodiments, the display device is connected to a VIDAA server, i.e., a VIDAA system is installed to implement network television functions. A variety of third-party applications are installed in the display device using the VIDAA system, and management of the third-party applications of the VIDAA is implemented based on URLs.
When the display device starts a certain third-party application program at present, for example, when a webpage application is started, the URL for starting the webpage application needs to be downloaded by using the HTTP protocol and then started. The process is complicated, so that the webpage application is slow to start, and the loading performance of the webpage application is low.
Therefore, in order to solve the above problem, an embodiment of the present invention provides a display device, which requests a URL based on a packaged File protocol to start a web application, and can safely load a front-end code, which originally runs on a third-party cloud, on a terminal, and call the front-end code based on the File protocol in a uniform Scheme form, so that a loading performance when the web application is started is ensured, and a loading experience is improved. Meanwhile, based on a uniform Scheme mechanism, the webpage application is started by calling a uniform interface form, technical details do not need 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 diagram of a method for launching a web application, according to some embodiments. An embodiment of the present invention provides a display device, including: a display and a controller, the display configured to present a launch page of a specified web application; the controller is connected with the display, and in executing the starting method of the web application shown in fig. 5 and 6, the controller is configured to execute the following steps:
and S1, responding to the starting request of the specified webpage application, and acquiring the application URL, the index configuration file and the application configuration file of the specified webpage 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 webpage application. When the system is started, a user can generate a starting request by triggering a key on the remote controller so as to start the specified webpage application.
In order to improve 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 specified webpage application need to be acquired firstly. The application URL refers to a URL using a target protocol, and in the VIDAA system, the application URL is a URL using the VIDAA protocol, that is, the target protocol may be the VIDAA protocol. The index configuration file is an application configuration file of a Pkgapps type, is uniformly stored in a database file/APPS/Pkgapps/mappinex.txt, is uniformly controlled and read by a browser, and is mainly used for starting mapping of a link and a real URL and realizing a deeping function. Json file in the application code package, in which application configuration information related to a specified web application is stored, including a version number, a start target URL, an icon, and the like.
Generally, an application URL of each web application is stored in an application installation information file (appinfo.
The Scheme part in the application URL does not use a File protocol, in some embodiments, the module selects a custom Scheme, details are hidden, path management and dependence are reserved in the module, and the UI/cloud platform is not related. The content of the custom Scheme at least comprises the following contents 1-6:
"1, Scheme field: to customize the schema, default is VIDAA, and webengine will recognize this schema for processing.
2. A Host field: as an application type, the third party application defaults to webapps, i.e., web applications.
3. Port field: for special administration, the third party application defaults to null, and if the application is launched using a specific port in debug mode, the log/enable experiment feature may be opened.
4. An Action field: comprises (1) Launch: starting an application; (2) deeplink: deep links, etc.
5. ID field: is APPID.
6. parm field: is an APP parameter. "
When a specified webpage application is started, the related information corresponding to the application is stored in an application installation information file appinfo.
For example, when the web application is designated as a sharad application, the sharad application is launched by opening vidaa:// apps/launch/12345. By opening vidaa:// apps/launch/12345/? 23456, and 23456 media of the sharhid application is started.
Json stores the following information related to the specified web application in appinfo.
Figure BDA0002830427580000091
Figure BDA0002830427580000101
It can be seen that when the web application is started or installed, the information related to the web application is stored in the application installation information file appinfo. Therefore, when the application URL needs to be used, the application URL corresponding to the specified web application, i.e., "vidaa:// apps/launch/12345", can be obtained in the application installation information file.
In some embodiments, when the web application is installed or uninstalled, the related information of the web application changes, that is, corresponding information stored in the application installation information file is updated, so that the information file appinfo. When the application URL of the specified web application is acquired, the accuracy of data acquisition needs to be ensured based on 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 in accordance with some embodiments; FIG. 8 illustrates a flow diagram of a method of obtaining an application URL for a specified web application, according to some embodiments. In some embodiments, in the process of obtaining the application URL based on updating the application installation information file appinfo. json upon installing the APP, referring to fig. 7 and 8, the controller in performing obtaining the application URL of the specified web application is further configured to perform the steps of:
and S111, acquiring an application installation information file of the application code package storing a plurality of webpage applications.
And S112, judging whether an application URL corresponding to the installation of the specified webpage application exists in the application installation information file.
And S113, if the application code packet does not exist, analyzing the application code packet of the specified webpage application to obtain application updating information.
S114, adding the application updating information into the application installation information file, and reading the application URL of the specified webpage application based on the updated application installation information file.
The controller acquires 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 webpage applications. When the APP is installed, the 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 installation of the specified webpage application 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 update is marked as needed. When updating, the application information needing to be updated is analyzed, namely the application code packet of the specified webpage application is analyzed, and the application updating information is obtained. During analysis, the index configuration file and the application configuration file can be obtained from the application code packet, the information such as APPID, URL, starting mode and the like can be obtained from the index configuration file, and the information such as APPname field and the like can be obtained from the application configuration file. And taking the information acquired from the index configuration file and the application configuration file as application updating information.
And resolving the file content of the application installation information file into object, and resolving the application updating information into array. And inserting the array into the whole object, converting the whole object formed after insertion into a character string, and writing the character string into an application installation information file to complete updating. And then, when the specified webpage application is started, acquiring the application URL of the specified webpage application in 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, in accordance with some embodiments. In some embodiments, the APP installation information file appinfo.json is updated when the APP is uninstalled, and referring to fig. 9, the contents of the appinfo.json file are read and stored in a character string, and whether the character string contains a URL of an application to be uninstalled is determined, and if so, 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 obtained URL value is the application URL of the uninstalled application. And converting the residual information into character strings, and writing the character strings into the application installation information file to obtain an updated application installation information file. If the update is not needed, the processing is not performed.
If the webpage application is reinstalled, the related information of the webpage application needs to be written into the application installation information file again, and then the application URL of the specified webpage application needing to be started is obtained from the updated application installation information file.
After the application URL of the specified web application is obtained, the index configuration File needs to be obtained from the application code packet of the specified web application to serve 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 for obtaining an index profile according to some embodiments; FIG. 11 illustrates a flow diagram of a method of obtaining an index profile, according to some embodiments. In some embodiments, referring to fig. 10 and 11, the controller, in executing the obtaining of the index profile of the specified web application, is further configured to execute the steps of:
s121, acquiring a configuration index table of the specified webpage application.
And 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.
And S123, establishing a key-value mapping relation by taking one structural body as a key value and taking the other structural bodies as value values.
S124, storing the key-value mapping relation into a configuration index table, and taking the configuration index table in which the key-value mapping relation is stored as an index configuration file of the specified webpage application.
When a certain APP is installed, for example, when a web application is installed, configuration index information is stored in an application code packet required for installation of the APP, that is, a configuration index table mapendex is obtained from an application code packet of a specified web application, and the configuration index table stores the configuration index information, and the contents include, but are not limited to, the following contents:
"APPID field: and the internal id is aligned with the cloud and is not stored in the software package.
APPURL field: internal URL, real File address.
Update status field: '0' indicates normal use; '1' indicates in the update process.
Launchcount field: is the number of starts.
Createtime field: to the creation date.
Updatetime field: to update the date.
Versionname field: is a program version. "
Storing the configuration index information into a database file/APPS/pkgapps/mappinex.txt file according to the following format: the APPID | APPURL | update status | Launchcount | Createtime | update time | versioname, which is the content of the configuration index table, is a Pkgapps type configuration file.
When the appointed webpage application is started, judging whether the configuration index table is empty or not, if not, obtaining configuration index information of the configuration index table, namely/APPS/pkgapps/mappinex.txt files, dividing information of each line according to '|' symbols, sequentially identifying APPID, APPURL, Updatestatus, Launchecount, Createtime, Updatetime and Versionname information, and respectively storing the information in the structural bodies to obtain a plurality of structural bodies.
And establishing a mapping relation by taking one structural body as a key value and taking the other structural bodies as value values. 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 the configuration index table, and the configuration index table in which the key-value mapping relationship is stored is used as an index configuration file of the specified web application, so that subsequent calling is facilitated.
The same webpage application corresponds to one mapping relation, so that a plurality of webpage applications correspond to a plurality of mapping relations, and the plurality of mapping relations are stored in a configuration index table to obtain an index configuration file comprising the mapping relations of the plurality of webpage applications.
In some embodiments, if the configuration index table is empty, it is indicated that the configuration index table needs to be updated. The updating of the configuration index table occurs when the APP is installed and when the APP is uninstalled, and therefore, when the index configuration file of the specified web application is obtained, the index configuration file needs to be based on the updated index configuration file.
FIG. 12 illustrates a data flow diagram for updating an index profile when an APP is installed, in accordance with some embodiments. In some embodiments, in the process of obtaining the index profile based on updating the index profile when the APP is installed, referring to fig. 12, the controller, in executing obtaining the index profile of the specified web application, is further configured to perform the steps of:
step 12511, if the configuration index table is empty, determine whether there is a target field corresponding to the APPURL of the specified web application in the configuration index information in the current index configuration file.
Step 12512, if the target field does not exist, obtain the application configuration file of the specified web application.
Step 12513, store the application configuration information in the application configuration file into the configuration index table, and use the configuration index table in which the application configuration information is stored as the index configuration file of the specified web application.
If the target field exists, an application code package for the specified web application is obtained, step 12514.
Step 12515, parse the application code package to determine the field update information for the specified web application.
Step 12516, storing the field update information into the configuration index table, and using the configuration index table with the field update information as the index configuration file of the specified web application.
And marking the index configuration file as needing to be updated when the configuration index table is empty or the APP to be installed cannot be found. When the APP is installed, analyzing a current index configuration file to obtain configuration index information, and judging whether the first half field of the APPRL of the APP to be installed exists in the configuration index information, namely judging whether a target field corresponding to the APPRL of a specified webpage application exists in the configuration index information in the current index configuration file. If yes, indicating that the specified webpage application is installed once; if not, the specified webpage application is not installed.
In some embodiments, if the target field does not exist, the relevant information of the specified web application needs to be updated into the index configuration file. Therefore, an application configuration file (manifest. json file) of the specified web application is obtained, the application configuration file can be obtained from an application code package of the specified web application, and 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 using the configuration index table in which the application configuration information is stored as the index configuration file of the specified webpage application.
In some embodiments, the APPURL field and the version field in the index profile need to be updated if the target field is present. At this time, an application code packet of the specified webpage application is acquired, the application code packet stores information such as APPID, version number and the like, the information is used as field refinement information, and an APPURL field and a version field in the index configuration file are updated. 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 for updating an index profile when an APP is uninstalled, in accordance with some embodiments. Referring to fig. 13, in the case of updating the index configuration file when the APP is unloaded, it is determined whether a target field corresponding to the APPURL of the specified web application (unloaded APP) exists in the configuration information in the index configuration file, which may be APPID and APPURL; and if so, deleting the configuration information of the specified webpage application corresponding to the target field, and taking the configuration table with the configuration information deleted as an updated index configuration file. If not, no processing, i.e. no updating procedure is performed.
Specifically, when updating is performed during the unloading of the APP, the index configuration file/APPS/pkgapps/mappinex.txt is read, each line of information is stored as an element in the vector array, if the information (APPID and APPURL) of the application (the designated webpage application) to be unloaded is found, the element information is deleted, and the updated index configuration file is stored.
If the webpage application is reinstalled, the related information of the webpage application needs to be written into the index configuration file again to update the index configuration file to serve as a data source for subsequent calling.
And S2, when the application URL is the target protocol URL, analyzing the application URL to obtain the appointed starting action, the APPID and the APP parameter corresponding to the appointed webpage application.
After the application URL of the specified webpage application is obtained, whether the application URL is a target protocol URL is judged, and in the VIDAA system, the target protocol can be a VIDAA protocol, namely when the specified webpage application is opened, whether the application URL read from AppInfo. If so, analyzing the application URL to obtain a specified starting Action (Action), an APPID and an APP parameter corresponding to the specified webpage application. If the URL is not the target protocol URL, processing is not carried out, and the specified webpage application is directly started.
In some embodiments, based on the start Action, Action information for realizing different functions can be added according to the use requirements of the user, so as to realize function expansion.
And S3, traversing the index configuration file, and searching an APPRL corresponding to the APPID, wherein the APPRL is a real access path stored in the display equipment for the specified webpage application.
And processing the index configuration File of the specified webpage application, traversing the configuration index information of each webpage application in the index configuration File, and searching the corresponding APPURL based on the APPID of the specified webpage application to be used as a data source of the URL converted into the File protocol in the subsequent process.
In some embodiments, the controller, in performing the traversal of the index profile, looking up the 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 embodiment, the key-value mapping relationship of the multiple web applications is included in the index configuration file. Therefore, the key-value mapping relation corresponding to the specified webpage application in the index configuration file is obtained, the APPID of the specified webpage application is used as a key to traverse the key-value mapping relation, and the values can be found to be the structures such as the APPURL, the Updatestatus, the Launchecunt, the Createtime, the Updatetime, the Versionname and the like. Therefore, the APPURL corresponding to the APPID is used as the real File address of the specified webpage application.
And S4, analyzing the application configuration file and determining the 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 (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 a specified starting action of the specified webpage application.
And the target protocol URL is the application URL, and is analyzed to extract a specified starting Action (Action) from the application URL, wherein the specified access Action comprises launch or deeplink. And acquiring page information corresponding to the specified starting action in the application configuration file as specified access page information to serve as a data source of a real URL of the specified webpage application.
For example, if the target protocol URL is vidaa:// apps/launch/12345, then the specified launch action corresponding to launching "application 12345" is launch; if the target protocol URL is vidaa:// apps/deeplink/12345, the designated startup action corresponding to launching "application 12345" is deeplink.
S5, encapsulating the APP parameters, the APPURL and the specified access page information into a File protocol URL, and starting the specified webpage application based on the File protocol URL.
When the target protocol URL of the specified webpage application is re-packaged into a File protocol URL, the data source is APP parameters, APPURL and specified 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 a real File protocol URL to start the specified webpage application, and the start 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 launch action is designated as launch, the controller, in executing the parsing application configuration file, determining the designated access page information of the designated web application corresponding to the designated launch action, is further configured to perform the following steps:
step 411, analyzing the application configuration file to obtain application configuration information corresponding to the specified web application.
Step 412, obtaining page information corresponding to launch in the application configuration information, and using the page information corresponding to launch as specified access page information of the specified web application.
The method comprises the steps of obtaining application configuration information in an application configuration file, comparing the application configuration information with specified starting actions (actions) determined in a target protocol URL (application URL), and if the actions are launch, reading page information corresponding to the launch in the application configuration information as specified access page information of specified webpage applications.
At this time, when mapping the real File protocol URL, the controller is performing the encapsulation of the APP parameter, the APPURL and the specified access page information into the File protocol URL, and is further configured to perform the following steps:
and 511, obtaining index field information in the page information corresponding to the launch.
And step 512, encapsulating the APP parameter, the APPURL and the index field information into a File protocol URL.
When the Action is launch, index field information, namely a page- > index field, in page information corresponding to the launch is read in an application configuration file (manifest. And encapsulating the data into a File protocol URL based on the APP parameter, the APPURL and the index field information (page- > index field).
In some embodiments, when the launch action is designated as deeplink, the controller, in executing the parsing application configuration file, determining the designated access page information of the designated web application corresponding to the designated launch action, is further configured to:
and step 421, analyzing the application configuration file to obtain application configuration information corresponding to the specified web application.
Step 422, acquiring page information corresponding to the deeplink in the application configuration information, and taking the page information corresponding to the deeplink as specified access page information of the specified webpage application.
The method comprises the steps of obtaining 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 reading page information corresponding to the deeplink in the application configuration information as specified access page information of specified webpage application if the Action is deeplink.
At this time, when mapping the real File protocol URL, the controller is performing the encapsulation of the APP parameter, the APPURL and the specified access page information into the File protocol URL, and is further configured to perform the following steps:
and step 521, acquiring deplink field information in the page information corresponding to the deplink.
And 522, encapsulating the APP parameter, the APPURL and the deeplink field information into a File protocol URL.
When the Action is deeplink, reading deeplink field information in page information corresponding to the deeplink in an application configuration file (manifest. json file), namely, a page- > deeplink field. And encapsulating the data into a File protocol URL based on the APP parameter, the APPURL and the deeplink field information (page- > deeplink field).
Based on the File protocol URL obtained by the two packaging modes, the specified webpage application is started, and the loading speed of the application can be improved. Meanwhile, the URL is customized through a uniform Scheme mechanism to obtain a File protocol URL, when a specified webpage application is started, the File protocol URL is started in a uniform interface format, technical details can be hidden, system correlation is shielded, and safety is improved.
Based on the display device provided by the embodiment of the invention, when the starting method of the webpage application is executed, the target protocol URL of the specified webpage application is customized as the File protocol URL, and the specific mapping mode is as follows:
Figure BDA0002830427580000151
Figure BDA0002830427580000161
manidestinfo appInfo; "ManifestInfo" is a structure for storing Manifest
Map < std: string, app > mis; the key is APPID (internal id, aligned with cloud), and the value is a configuration index table (map table) of the APP structure, and is used for storing configuration information of all APPs in the index configuration file (mapidex.txt).
if (ifVidaaScheme (URL)) is open application, the URL of the application read from the application installation information file (AppInfo. json) is used to determine whether the URL is the custom vidaa:// protocol.
Parserurl (url, & AppId, & link); and/analyzing the Url, reading the APPID in the Url, storing the APPID into a variable AppId, and storing subsequent parameter information into a link.
Path ═ maplearpath (mis, AppId); and/traversing the mis table, and when finding the AppId, returning the corresponding Appppath (the real file address) and storing the Appppath into the Path.
Filecontent ═ readfile (path); v/read the application configuration file (manifest. json file) under the path, and store the read file content into the Filecontent.
JsonRead (Fileontent, & appInfo); analyzing the content of the Fileontent to obtain information of each line, and storing the information into an appInfo structure.
Figure BDA0002830427580000162
Figure BDA0002830427580000171
This is the implementation process for mapping a target protocol URL to a File protocol URL.
For example, the target protocol URL of the web application will be specified: vidaa:// apps/launch/12345, mapped to File protocol URL: html, starting a specified webpage application, namely the shared application.
As another example, the target protocol URL of the application: vidaa:// apps/launch/12345/? 23456, mapping to File protocol URL: file:///APPS/com. video. shahid/index. htmlid ═ 23456, 23456 funding of shahid applications.
FIG. 6 illustrates a flow diagram of a method for 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, where the method is executed by a controller in a display device provided in the foregoing embodiment, and the method includes the following steps:
s1, responding to the starting request of the specified webpage application, and acquiring the application URL, the index configuration file and the application configuration file of the specified webpage application;
s2, when the application URL is the target protocol URL, analyzing the application URL to obtain the appointed starting action, the APPID and the APP parameter corresponding to the appointed webpage application;
s3, traversing the index configuration file, and searching an APPURL corresponding to the APPID, wherein the APPURL is a real access path stored in a display device by the specified webpage application;
s4, analyzing the application configuration file, and determining the appointed access page information of the appointed webpage application corresponding to the appointed starting action;
s5, encapsulating the APP parameters, the 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 webpage application is analyzed to obtain the specified starting action, the APPID and the APP parameter; traversing the index configuration file, searching APPURL corresponding to APPID, analyzing the application configuration file, and determining the appointed access page information corresponding to the appointed starting action; and encapsulating the APP parameter, the APPURL and the specified access page information into a File protocol URL, and starting the specified webpage application based on the File protocol URL. Therefore, according to the method and the display device provided by the embodiment of the invention, the target protocol URL is mapped into the File protocol URL, a uniform interface format is provided, the specified webpage application can be directly started, the loading performance of the webpage application is improved, and the loading experience is improved.
In specific implementation, the present invention further provides a computer storage medium, where the computer storage medium may store a program, and 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) or a Random Access Memory (RAM).
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the embodiment of the starting method of the web application, since it is basically similar to the embodiment of the display device, the description is simple, and the relevant points can be referred to the description in the embodiment of the display device.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A display device, comprising:
a display configured to present a launch page of a specified web application;
a controller connected with the display, the controller configured to:
responding to a starting request of a specified webpage application, and acquiring an application URL, an index configuration file and an application configuration file of the specified webpage application;
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;
traversing the index configuration file, and searching an APPRL corresponding to the APPID, wherein the APPRL is a real access path stored in display equipment for the specified webpage application;
analyzing the application configuration file, and determining the appointed access page information of the appointed webpage application corresponding to the appointed starting action;
and encapsulating the APP parameters, the 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 according to claim 1, wherein the controller, in executing the obtaining the application URL of the specified web application, is further configured to:
acquiring an application installation information file of an application code package storing a plurality of webpage applications;
judging whether an application URL corresponding to the specified webpage application during installation exists in the application installation information file;
if the application code packet does not exist, analyzing the application code packet of the specified webpage application to obtain application updating information;
and adding the application updating information into the application installation information file, and reading the application URL of the specified webpage application based on the updated application installation information file.
3. The display device according to claim 1, wherein the controller, in executing the obtaining the index profile of the specified web application, is further configured to:
acquiring a configuration index table of the specified webpage application;
if the configuration index table is not empty, dividing configuration index information in the configuration index table to obtain a plurality of structural bodies;
taking one of the structural bodies as a key value and the other structural bodies as value values, and establishing a key-value mapping relation;
storing the key-value mapping relation into the configuration index table, and using the configuration index table in which the key-value mapping relation is stored as an index configuration file of a specified webpage application.
4. The display device of claim 3, wherein the controller, in executing the obtaining 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 the APPURL of the appointed webpage 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 specified webpage application;
storing the application configuration information in the application configuration file into the configuration index table, and taking the configuration index table in which the application configuration information is stored as an index configuration file of the specified webpage application;
if the target field exists, acquiring an application code packet of the specified webpage application;
analyzing the application code packet and determining field updating information of the specified webpage application;
and storing the field updating information into the configuration index table, and taking the configuration index table in which the field updating information is stored as an index configuration file of a specified webpage application.
5. The display device of claim 1, wherein the controller, in performing the traversing the index profile for the 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 an APPURL corresponding to the APPID, wherein the APPURL is one value in the key-value mapping relation.
6. The display device according to claim 1, wherein the specified launch action is launch; and the controller, in executing the parsing of the application configuration file, determining specified access page information of 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 specified webpage application;
and acquiring page information corresponding to the launch in the application configuration information, and taking the page information corresponding to the launch as specified access page information of the specified webpage application.
7. The display device of claim 6, wherein the controller, in performing 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 the page information corresponding to the launch;
and encapsulating the APP parameter, the APPURL and the index field information into a File protocol URL.
8. The display device according to claim 1, wherein the specified launch action is deepink; and the controller, in executing the parsing of the application configuration file, determining specified access page information of 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 specified webpage application;
and acquiring page information corresponding to the deeplink in the application configuration information, and taking the page information corresponding to the deeplink as the specified access page information of the specified webpage application.
9. The display device of claim 8, wherein the controller, in performing the encapsulating the APP parameters, APPURL, and specified access page information into a File protocol URL, is further configured to:
acquiring deplink field information in page information corresponding to the deplink;
and encapsulating the APP parameter, the APPURL and the 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 webpage application, and acquiring an application URL, an index configuration file and an application configuration file of the specified webpage application;
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;
traversing the index configuration file, and searching an APPRL corresponding to the APPID, wherein the APPRL is a real access path stored in display equipment for the specified webpage application;
analyzing the application configuration file, and determining the appointed access page information of the appointed webpage application corresponding to the appointed starting action;
and encapsulating the APP parameters, the 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 true CN112445545A (en) 2021-03-05
CN112445545B 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)

Cited By (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
CN116627544A (en) * 2023-07-24 2023-08-22 中化现代农业有限公司 Page starting method and device, electronic equipment and storage medium

Citations (7)

* 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
US20160314219A1 (en) * 2014-04-10 2016-10-27 Tencent Technology (Shenzhen) Company Limited Method and apparatus for invoking application programming interface
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

Patent Citations (7)

* 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
US20160314219A1 (en) * 2014-04-10 2016-10-27 Tencent Technology (Shenzhen) Company Limited Method and apparatus for invoking application programming interface
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

Cited By (4)

* 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
CN116627544A (en) * 2023-07-24 2023-08-22 中化现代农业有限公司 Page starting method and device, electronic equipment and storage medium
CN116627544B (en) * 2023-07-24 2023-10-31 中化现代农业有限公司 Page starting method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112445545B (en) 2024-05-28

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
CN114339332B (en) Mobile terminal, display device and cross-network screen projection method
CN111897478A (en) Page display method and display equipment
CN113784200A (en) Communication terminal, display device and screen projection connection method
CN112256449B (en) Interface calling method of webpage application program, display equipment and server
CN112836158A (en) Resource loading method on display equipment and display equipment
CN112487322B (en) Third party application Loading page loading method and display device
CN114077584A (en) File transmission method and display device
CN111479144A (en) Display device and application interaction method
CN113316014B (en) Display device, server and third-party data display control method
CN112667285B (en) Application upgrading method, display device and server
CN113573149B (en) Channel searching method and display device
CN112689177B (en) Method for realizing quick interaction and display equipment
CN112911359B (en) Resource display method, display equipment and remote controller
CN116261003A (en) Display equipment and streaming media playing control method based on browser
CN114116622A (en) Display device and file display method
CN112882780A (en) Setting page display method and display device
CN112584210A (en) Display device, video recording method and recorded file display method
CN112527330A (en) Management method and display device
US20230111113A1 (en) Page loading method and display apparatus
CN112199612B (en) Bookmark adding and combining method and display equipment
CN112231088B (en) Browser process optimization method and display device
CN112835633B (en) Display device and control method of display language
CN113378096B (en) Display equipment and browser residual frame clearing method

Legal Events

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