CN110321177B - Mobile application localized loading method and device and electronic equipment - Google Patents

Mobile application localized loading method and device and electronic equipment Download PDF

Info

Publication number
CN110321177B
CN110321177B CN201910527089.XA CN201910527089A CN110321177B CN 110321177 B CN110321177 B CN 110321177B CN 201910527089 A CN201910527089 A CN 201910527089A CN 110321177 B CN110321177 B CN 110321177B
Authority
CN
China
Prior art keywords
page
data
displayed
template
resource file
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
CN201910527089.XA
Other languages
Chinese (zh)
Other versions
CN110321177A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201910527089.XA priority Critical patent/CN110321177B/en
Publication of CN110321177A publication Critical patent/CN110321177A/en
Application granted granted Critical
Publication of CN110321177B publication Critical patent/CN110321177B/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/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a method and a device for locally loading a mobile application and electronic equipment, wherein the method comprises the following steps: acquiring a latest template resource file corresponding to a page to be displayed; acquiring each page data of the page to be displayed through each web interface of the page to be displayed; respectively determining the data type of each page data; determining a data module corresponding to each page data according to the data type of each page data; inquiring a data module corresponding to each page data according to the format identifier of each page data to respectively obtain the template format of the page data; assembling and generating template data of a page to be displayed based on the page data and the template format of the page data; and loading the template data of the page to be displayed so as to display the page to be displayed. The mobile application localized loading method of the embodiment of the invention realizes the dynamic real-time display of the new online style, shortens the time for modifying the page content and reduces the development cost.

Description

Mobile application localized loading method and device and electronic equipment
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for localized loading of a mobile application, and an electronic device.
Background
In recent years, with the development of mobile communication technology and smart phones, the functions of APPs installed and used in mobile terminal devices become more and more complex, and the sizes of APPs become more and more huge, so that the APPs become an integral part of people's daily life, and especially under the premise of being proposed by HTML5(Hyper Text Markup Language 5), the mobile terminal uses WebView (web view) more and more frequently.
In the process of developing the mobile application, due to the continuous updating of operation activities, the page effect needs to be improved, for example, the text and text part of a webpage needs to be highlighted and green or pictures are inserted, but for the published online application, the native code development application cannot achieve the effect, and the page effect is preset before the development and online and cannot change in real time; the web page loading method has the advantages that the web page data can be dynamically displayed by loading the web page through the webview, but the loading speed is low and the click interaction experience effect is poor like the web page browsing in a browser, and the data cannot be modified after being released to be on line.
However, the inventor of the present application finds that it is difficult to modify the page effect or dynamically respond to the page setting in real time in the prior art, the development cycle is long, and the maintenance cost is high.
Disclosure of Invention
The embodiment of the application aims to provide a method, a device and electronic equipment for locally loading a mobile application, which realize dynamic real-time display of an online new style, shorten the time for modifying page content and reduce the development cost. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for localized loading of a mobile application, where the method is applied to a client, and the method includes:
acquiring a latest template resource file corresponding to a page to be displayed; the latest template resource file comprises a plurality of data modules, and different data modules correspond to different data types; aiming at any data module, the data module comprises a template format of each format identifier corresponding to the data type of the data module;
acquiring each page data of a page to be displayed through each web page interface of the page to be displayed; wherein the page data comprises a format identifier;
respectively determining the data type of each page data;
determining a data module corresponding to each page data according to the data type of each page data;
inquiring a data module corresponding to each page data according to the format identifier of each page data to respectively obtain the template format of the page data;
assembling and generating template data of a page to be displayed based on the page data and the template format of the page data;
and loading the template data of the page to be displayed so as to display the page to be displayed.
Optionally, obtaining the latest template resource file corresponding to the page to be displayed includes:
checking whether the version number of a template resource file of a locally pre-stored page to be displayed is the same as the version number of the template resource file of the page to be displayed stored at a server side or not;
if the version numbers of the template resource files are different, downloading the template resource file with the latest version number from the server side, and updating the version number of the template resource file of the page to be displayed to be the version number of the template resource file after successful downloading to obtain the latest template resource file;
or if the version numbers are the same, taking the version number of the template resource file of the locally pre-stored page to be displayed as the version number of the latest template resource file corresponding to the page to be displayed.
Optionally, loading template data of the page to be displayed to display the page to be displayed, including:
and instantiating a WebView component, and loading template data of the page to be displayed through the instantiated WebView component to display the page to be displayed.
In a second aspect, an embodiment of the present application provides a method for localized loading of a mobile application, where the method is applied to a server, and the method includes:
receiving a template resource file downloading request of a target client;
acquiring a latest template resource file corresponding to the template resource file downloading request, wherein the latest template resource file comprises a plurality of data modules, and different data modules correspond to different data types; aiming at any data module, the data module comprises a template format of each format identifier corresponding to the data type of the data module;
and sending the latest template resource file to the target client so that the target client adjusts the format of each page data in the page to be displayed according to the latest template resource file.
In a third aspect, an embodiment of the present application provides a mobile application localized loading apparatus, which is applied to a client, and the apparatus includes:
the first acquisition module is used for acquiring the latest template resource file corresponding to the page to be displayed; the latest template resource file comprises a plurality of data modules, and different data modules correspond to different data types; aiming at any data module, the data module comprises a template format of each format identifier corresponding to the data type of the data module;
the second acquisition module is used for acquiring each page data of the page to be displayed through each web page interface of the page to be displayed; wherein the page data comprises a format identifier;
the first determining module is used for respectively determining the data types of the page data;
the second determining module is used for determining a data module corresponding to each page data according to the data type of each page data;
the query module is used for querying the data module corresponding to each page data according to the format identifier of each page data to respectively obtain the template format of the page data;
the splicing module is used for splicing and generating template data of the page to be displayed based on the page data and the template format of the page data;
and the display module is used for loading the template data of the page to be displayed so as to display the page to be displayed.
Optionally, the first obtaining module includes:
the verification submodule is used for verifying whether the version number of the template resource file of the locally pre-stored page to be displayed is the same as the version number of the template resource file of the page to be displayed stored at the server side or not;
the first judgment submodule is used for downloading the template resource file with the latest version number from the server side when the version number of the template resource file of the page to be displayed, which is pre-stored locally, is different from the version number of the template resource file of the page to be displayed, which is stored at the server side, and updating the version number of the template resource file of the page to be displayed to the version number of the template resource file after successful downloading to obtain the latest template resource file;
and the second judgment submodule is used for taking the version number of the template resource file of the locally pre-stored page to be displayed as the version number of the latest template resource file corresponding to the page to be displayed when the version number of the template resource file of the locally pre-stored page to be displayed is the same as the version number of the template resource file of the page to be displayed stored at the server side.
Optionally, the display module is specifically configured to:
and instantiating a WebView component, and loading template data of the page to be displayed through the instantiated WebView component to display the page to be displayed.
In a fourth aspect, an embodiment of the present application provides a mobile application localized loading apparatus, which is applied to a server, and the apparatus includes:
the receiving module is used for receiving a template resource file downloading request of the target application;
the third acquisition module is used for acquiring the latest template resource file corresponding to the template resource file downloading request, wherein the latest template resource file comprises a plurality of data modules, and different data modules correspond to different data types; aiming at any data module, the data module comprises a template format of each format identifier corresponding to the data type of the data module;
and the sending module is used for sending the latest template resource file to the target application so that the target application adjusts the format of each page data in the page to be displayed according to the latest template resource file.
In a fifth aspect, an embodiment of the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
a processor, configured to implement the localized loading method for mobile applications according to any one of the first aspect above when executing a program stored in a memory.
In a sixth aspect, an embodiment of the present application provides another electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the mobile application localization loading method of the second aspect when executing the program stored in the memory.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute any one of the above-mentioned mobile application localized loading methods of the first aspect.
In an eighth aspect, an embodiment of the present invention further provides a computer program product containing instructions, which when run on a computer, causes the computer to execute a method for localized loading of a mobile application according to any one of the first aspect.
In a ninth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to execute a mobile application localized loading method of the second aspect.
In a tenth aspect, embodiments of the present invention also provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the method for localized loading of mobile applications of the second aspect.
The embodiment of the application provides a method and a device for locally loading a mobile application and electronic equipment. Acquiring a latest template resource file corresponding to a page to be displayed; acquiring each page data of the page to be displayed through each web interface of the page to be displayed; wherein the page data comprises a format identifier; respectively determining the data type of each page data; determining a data module corresponding to each page data according to the data type of each page data; inquiring a data module corresponding to each page data according to the format identifier of each page data to respectively obtain the template format of the page data; assembling and generating template data of a page to be displayed based on the page data and the template format of the page data; and loading the template data of the page to be displayed so as to display the page to be displayed.
According to the scheme, the webpage data corresponding to each webpage interface of the page to be displayed and the template resource file corresponding to the page to be displayed are obtained, the template data of the page to be displayed are generated by splicing, and the template data are loaded by the components to generate the page to be displayed. By the method, the real-time modification of the text, the picture or the video content in the page to be displayed is completed, the display effect of the page is enhanced, the modification time of the page content is shortened, and the development cost is reduced.
Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a first schematic diagram of a localized loading method for a mobile application according to an embodiment of the present application;
fig. 2 is a second schematic diagram of a localized loading method for a mobile application according to an embodiment of the present application;
fig. 3 is a third schematic diagram of a localized loading method for a mobile application according to an embodiment of the present application;
fig. 4 is a first schematic diagram of a localized loading device for mobile applications according to an embodiment of the present application;
fig. 5 is a second schematic diagram of a mobile application localized loading device according to an embodiment of the present application;
FIG. 6 is a first schematic diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a second schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In recent years, with the continuous development of mobile communication technology and smart phones, various APPs of mobile terminals have become part of people's lives, and with the development of HTML5, the mobile clients use WebView (web view) more and more frequently. With the continuous popularization of intelligent terminals, Applications (APPs) installed on the intelligent terminals play an increasingly greater role in the work of people. In consideration of the performance and flexibility of the APP, a combination mode of a native view and a web view is adopted at present, wherein the web view is WebView and is responsible for loading and executing.
The webpage views of the page to be displayed can jump from the original views and can also jump among the webpage views, wherein the page to be displayed can be the original views or the new version webpage views related to the old version webpage views. In the development of the fast iterative mobile application, the following requirements often appear, and an operation department needs to release a new activity on-line and needs to thicken a text title in the original page effect; or the fonts and the font sizes of a plurality of characters or the fonts and the font sizes of a row of characters in the webpage need to be updated; or, part of characters in the webpage body need to be highlighted in green; or, the pictures need to be inserted after the second segment and the fourth segment of the webpage text.
However, for mobile applications that have been developed online, Native codes cannot modify the web pages of the mobile applications in a short time, and cannot fulfill the requirement of dynamically displaying new online styles in real time. The effect of the page is preset at the moment when the developer completes the code writing of the mobile application product locally and uploads the code to the server. If the modification is needed, all codes of the product need to be modified again. In this case, the maintenance cycle of the product becomes long, and the development cost increases. Based on mobile development APP, a general display scheme for providing localized loading is provided for pages with more personalized requirements or frequently switched online effects, which is a problem to be solved urgently.
In view of this, the embodiment of the present application provides a method and an apparatus for localized loading of a mobile application, and an electronic device. In a first aspect, an embodiment of the present application provides a first schematic diagram of a method for localized loading of a mobile application, which is applied to a client, and with reference to fig. 1, the method includes:
s11, acquiring the latest template resource file corresponding to the page to be displayed; the latest template resource file comprises a plurality of data modules, and different data modules correspond to different data types; and aiming at any data module, the data module comprises the template format of each format identifier corresponding to the data type of the data module.
The WebView localization loading method of the mobile application in the embodiment of the application can be applied to the client, so that the WebView localization loading method can be executed through the client. In particular, the client may be a mobile terminal device such as a smartphone, a tablet computer, a smart television, an e-book reader, a laptop portable computer, a desktop computer, and the like.
The target application can be a third-party application program installed on the electronic equipment of the mobile terminal, and the target application can adopt a WebView component to realize the display of the page. In an implementation manner of the embodiment of the application, the page universal frame resource stores a template resource file of a page to be displayed, and when the target client is successfully opened after the target application is successfully installed in the electronic device of the mobile terminal, the template resource file corresponding to the page to be displayed is acquired from the page universal frame resource of the server, and the successfully downloaded template resource file is stored in the electronic device of the mobile terminal. The latest template resource file of the page to be displayed of the target application can be obtained from the data stored in the electronic equipment of the mobile terminal.
In another implementation manner of this embodiment, each time the target application installed in the electronic device of the mobile terminal is successfully started, the template resource file of the page to be displayed is automatically obtained from the page general frame resource of the server, and the template resource file is stored in the cache of the electronic device of the mobile terminal, so that the latest template resource file can be obtained from the cache of the electronic device.
In another implementation manner of this embodiment, a template resource file common to each page in the target application may be obtained in advance, and the common template resource file may be stored in a specified directory. When the page to be displayed needs to be loaded in the target application, the latest template resource file corresponding to the page to be displayed can be directly obtained from the specified directory.
It can be understood that the embodiment of the present application does not limit the specific manner of obtaining the latest template resource file corresponding to the page to be displayed.
In the embodiment of the application, the latest template resource file corresponding to the page to be displayed in the target application is a general data resource file which is required to be used by the page when the page is displayed. The template resource file covers the template style of the page to be displayed, and the template resource file comprises the following steps: processing logic of click events, a main template source file in html (Hyper Text Markup Language), a file in JS (JavaScript Language) and a picture resource file in image (picture) form.
Each template resource file can include data modules corresponding to contents such as texts, pictures, videos and the like, each data module includes an HTML file, a CSS file and a JS file corresponding to one or more template formats, and each data module can be defined according to the meaning of the data type. For example, the data type representing the text corresponds to a text information template, the data type representing the music corresponds to a music information module, and the data type representing the video corresponds to a video information module.
Aiming at any data module, the data module comprises a template format corresponding to each format identifier under the data type. For example, the text information template may include a conventional format text template format 1, a special format text template format 2, and page data having a format identifier of "title", and corresponds to a highlighted text display template format in the text information module. The special format text template format 2 may include a highlighted text display template format 2, a bolded text display template format 2, a special font size text display template format 2, and the like. The image information module may include a conventional format image template format 1 and a special format image template format 2, wherein the special image template format 2 may include an enlarged format image template format 2, a reduced format image template format 2, a static format image template format 2, a dynamic format image template format 2, a gray format image template format 2, a color format image template format 2, and the like. The video information module may include a conventional format video template format 1 and a special format video template format 2, where the special format video template format 2 may include a video cover map supporting skip template format 2 and a video playing content map supporting skip template format 2.
It can be understood that the embodiment of the present application does not specifically limit the types of the template formats of the format identifiers in the latest template resource file corresponding to the acquired page to be displayed.
S12, acquiring each page data of the page to be displayed through each web interface of the page to be displayed; wherein the page data includes a format identifier.
And when the page is entered, acquiring each page data of the page to be displayed through the interface corresponding to each page data. For example, the page data may be obtained according to a URL (Uniform Resource Locator) address displayed on the page, and the page data may be resolved into corresponding types, that is, meanings corresponding to different page data. Because the types of the web page interfaces are different, the types of the acquired data are also different. In the implementation manner of the embodiment of the present application, if there are characters that need to be specially processed, for example, highlight, bold and fixed font size processing, in page data of a text type, a format identifier corresponding to each requirement is set for the text type data according to different requirements.
S13, the data types to which the page data belong are determined respectively.
It can be understood that the page data of the page to be displayed may be text type data, picture type data, music type data, video type data, and the like after being parsed.
In the embodiment of the application, the acquired webpage data needs to be checked, and if the acquired webpage data has an unsupported data type, a filtering or corresponding degradation strategy can be adopted. The page data includes a format identification. The format identifier is used for indicating each webpage data to select a template format corresponding to the webpage data from the latest template resource file corresponding to the acquired page to be displayed.
And S14, determining the data module corresponding to each page data according to the data type of each page data.
The data types may include text type data, picture type data, music type data, and video type data, and the latest template resource file corresponding to the page data to be displayed may include a text information module, a picture information module, a music information module, and a video information module. The text information module can comprise a conventional format text template format 1 and a special format text template format 2, wherein the special format text template format 2 can also comprise a highlighted text display template format 3, a bolded text display template format 3, a special font size text display template format 3 and the like. And selecting a corresponding data module according to the data type, for example, the text data type corresponds to a text information module, the picture type data corresponds to a picture information module, the music type data corresponds to a music information module, and the video type data corresponds to a video information module.
And S15, inquiring the data module corresponding to each page data according to the format identifier of each page data, and respectively obtaining the template format of the page data.
And if the situation that unsupported styles or format identifications are not matched exists in the acquired webpage data, implementing a degradation strategy by using a method for loading URL (uniform resource locator) addresses by using the WebView of the system. In the embodiment of the application, according to the format identifier set in each page data, the template format corresponding to the format identifier is selected from the obtained template formats of the latest template resource file corresponding to the page to be displayed. For example, there is a format identifier of "title" in the page data, which represents a text title appearing in the page to be displayed and needs to be highlighted. And inquiring that the format identification corresponds to the highlighted text display template format 3 according to the format identification of the title. A special format text template format 2 is selected from the text information module and further a highlighted text display template format 3 is selected from the special format text template format 2. The page data has a format identifier of 'text', which represents the plain text content appearing in the page to be displayed and does not need special format processing. Then, according to the format identifier of "text", it is queried that the format identifier corresponds to the conventional format text template format 1, that is, the conventional format text template format 1 is directly selected from the text information module. And if the format identifier of the order exists in the page data and represents that the numerical sequence 1, 2 and 3 … … can appear in the page to be displayed, inquiring that the format identifier corresponds to the bold text display template format 3 according to the format identifier of the order. A special format text template format 2 is selected from the text information module and further a bold text display template format 3 is selected from the special format text template format 2.
In addition to the format identifications provided by the above embodiments, there may be format identifications enumerated below. The html tag represents style display in a page to be displayed, the image represents picture display in the page to be displayed, the type represents data type in the page to be displayed, the row represents line identification of characters in the page to be displayed, the size represents picture or video width and height in the page to be displayed, the duration represents duration of videos in the page to be displayed, and the sourceUrl represents source links appearing in the page to be displayed.
If the text page data needs to be supported for click jump processing in the page to be displayed, a keyword Eventword can be set as a format identifier in the situation, and the keyword Eventword represents character information related to the event word in the page to be displayed. A keyword "eventName" may be set as a format identifier, which represents an event word name appearing in a page to be displayed; a keyword "eventId" may be set as a format identifier, which represents an event word ID appearing in the page to be displayed; a keyword "eventTodayHot" may be set as a format identifier, which is used as a representation of whether the text content of the page to be displayed is a hot event; the keyword "eventcon" can be used as a format identifier, which represents a picture related to an event word appearing in a page to be displayed; a keyword "eventType" may be set as a format identifier, which represents a type of an event word occurring in the page to be displayed; a keyword "eventValid" may be set as a format identifier, which represents whether an event word appearing in the page to be displayed is valid. The specific format identification is a format identification which can appear in the process of dynamic setting of click jump and needs to support the event words in the page to be displayed, and for each format identification, a data module corresponding to each page data is inquired, and the template format of the page data is respectively obtained.
It can be understood that, in the embodiment of the present application, the display mode, the type, and the name setting of the page data including the format identifier and the display mode, the type, and the name setting of the template format corresponding to the page data are not specifically limited.
And S16, assembling and generating template data of the page to be displayed based on the page data and the template format of the page data.
And setting the format of the page data according to the template format of the page data aiming at each page data to obtain each page data with the added format. And assembling the page data with each added format according to the specified position of the page to be displayed to obtain the template data of the page to be displayed. The template data of the page to be displayed comprises data information such as texts, pictures, videos and music. The picture data information may include URL addresses of pictures, data information of widths and heights of the pictures, and the video data information may include URL addresses of cover art of videos, data information of widths and heights of the videos. And all the assembled template data are stored in the target application in a character string mode. And replacing the position occupying data in the original html template file of the page to be displayed in the target application by the assembled template data to generate the latest html template file to be displayed.
And S17, loading the template data of the page to be displayed so as to show the page to be displayed.
And instantiating a WebView component, and loading html template file data which need to be displayed newly on a page to be displayed by utilizing the WebView. The process of loading and displaying the webpage by the WebView is similar to the process of accessing a website by a browser, and the WebView uses a WebKit rendering engine to load and display the webpage. At present, a WebView component supports Web APP (Application) loading of a PC (personal computer) end and a mobile phone end to be displayed or target Application loading pages installed on an iOS (internet operating system) platform and an Android system platform to use, but does not support a Mac system platform and a Windows system platform.
The method comprises the steps that the latest template resource file corresponding to a page to be displayed is obtained from a server side or a target application side, and page data of the page to be displayed are obtained from each webpage interface of the page to be displayed; inquiring a data module corresponding to each page data according to the format identifier of each page data to respectively obtain the template format of the page data; and assembling and generating template data of the page to be displayed based on the page data and the template format of the page data. And locally template data of established rules built by WebView loading are utilized to realize dynamic page display effect. The method provided by the embodiment of the application realizes the requirements of page display effect change or highly customized effect display after the mobile application is online, reduces the time for modifying the page content by the mobile application, and reduces the development cost.
Referring to fig. 2, the second aspect is a second schematic diagram of a method for localized loading of a mobile application according to an embodiment of the present application. The method for acquiring the latest template resource file corresponding to the page to be displayed comprises the following steps:
and S111, checking whether the version number of the template resource file of the locally pre-stored page to be displayed is the same as the version number of the template resource file of the page to be displayed stored at the server side.
And the local client judges whether the version information of the template resource file in the page to be displayed of the mobile product is consistent with the version information of the template resource file of the page to be displayed in the server. And if the version is consistent with the version upgrading instruction, the version upgrading is not prompted.
And if the version number of the template resource file of the locally pre-stored page to be displayed is different from the version number of the template resource file of the page to be displayed stored at the server side, executing the step S112, otherwise, executing the step S113.
And S112, downloading the template resource file with the latest version number from the server side, and updating the version number of the template resource file of the page to be displayed to be the version number of the template resource file after successful downloading to obtain the latest template resource file.
And if the version number of the template resource file of the locally pre-stored page to be displayed is inconsistent with the version number of the template resource file of the page to be displayed stored at the server side. The client receives prompt information of page universal frame resource upgrading or prompt information of updating options, and then downloads the template resource file of the latest version corresponding to the page to be displayed from the server side to the local fixed folder according to the prompt information. And after the upgrade is completed, the page is successfully refreshed, and the client completes the version update to obtain the latest template resource file.
If the template resource file of the page to be displayed has a new version in the downloading process of the client, the client fails to successfully receive the template resource file of the page to be displayed of the new version in the server. And after the webpage is started every time, continuing downloading until the client successfully receives the template resource file of the page to be displayed in the new version of the page universal frame resource in the server. When unsuccessful downloading is displayed in the upgrade prompt information of the universal frame resource of the new page, the upgrade prompt information of the universal frame resource of the page or the upgrade prompt information of the option is automatically sent to the server when the client is started later, and the user is prompted to upgrade, so that the user of the client can select.
And S113, taking the version number of the template resource file of the locally pre-stored page to be displayed as the version number of the latest template resource file corresponding to the page to be displayed.
Each template resource file corresponding to the page to be displayed corresponds to one version number, and the version number needs to be updated every time the version file needs to be modified. For example, if a support style is added to the page to be displayed or a click event is added, the template resource file corresponding to the page to be displayed needs to be updated. And the version number is increased on the basis of the original modified version number and is issued to the server or is prestored in the local. And if the version number of the template resource file of the locally pre-stored page to be displayed is the same as the version number of the template resource file of the page to be displayed stored at the server side, selecting the template resource file of the page to be displayed pre-stored by the target application as the latest version resource file corresponding to the page to be displayed.
Optionally, the loading the template data of the page to be displayed to display the page to be displayed includes the following steps:
and instantiating a WebView component, and loading template data of the page to be displayed through the instantiated WebView component to display the page to be displayed.
In the embodiment of the application, after the template data of the page to be displayed is assembled, the WebView component corresponding to the page to be displayed in the target application is instantiated. The page general frame resource is a frame resource containing various template data. If a plurality of pages to be displayed exist in the target application or a plurality of page general frames are adopted, one or more WebView components can be instantiated. The WebView component corresponding to the template data of the page to be displayed, which is not required to be loaded temporarily, can be hidden in the background and is not displayed.
Specifically, the number of instantiated WebView components can be determined according to the variety number of the page universal frames adopted by the target application, but each page universal frame correspondingly instantiates one WebView component. And loading template data of the page to be displayed through the instantiated WebView component so as to display the page to be displayed. Before accessing a target page, the universal frame resources of the page are acquired firstly, and the WebView component is pre-rendered by the universal frame resources of the page, so that a page to be displayed is generated. Therefore, when the page to be displayed is accessed, the page general frame resource does not need to be loaded and analyzed, and the page does not need to be reinitialized, so that the page display speed of the target application is improved.
In a second aspect, an embodiment of the present application provides a third schematic diagram of a localized loading method for a mobile application, which is applied to a server, and referring to fig. 3, the method includes:
and S21, receiving a template resource file downloading request of the target client.
The template resource file in the embodiment of the application may be a template resource file corresponding to a webpage to be opened by a target client but not yet displayed, may be a template resource file corresponding to a webpage to be browsed, which is pointed by a user click operation, or may be a template resource file corresponding to a page to be displayed, which is to be generated after a page jump is made between pages according to a page function connection being displayed by the target client.
S22, acquiring the latest template resource file corresponding to the template resource file downloading request, wherein the latest template resource file comprises a plurality of data modules, and different data modules correspond to different data types; and aiming at any data module, the data module comprises the template format of each format identifier corresponding to the data type of the data module.
The template resource file may include an HTML file, a CSS file, and a JS file corresponding to each template format, and the files are named according to the type of the compiling language. In addition, the Image file represents a template format file corresponding to the picture to be loaded on the page to be displayed. The CSS is used to compose a style-modified script file, and in particular to define a layout style in a web page to be displayed. HTML is used to compose the entire content of a page to be displayed, such as text, numbers, hyperlinks, etc. The JS is used for compiling processing logic of click events of buttons existing on the page to be displayed and is used for realizing the dynamic effect function of the webpage.
After receiving a downloading request sent by a target client, a server acquires a template resource file of the latest version corresponding to a page to be displayed from a universal frame resource of the page, compresses and stores the template resource file to a specified directory, and records the version number of the template resource file. The latest template resource file comprises a plurality of data modules, and different data modules correspond to different data types. And aiming at any data module, the data module comprises the template format of each format identifier corresponding to the data type of the data module. For example, the picture information module may include a normal format picture template format 1 and a special format picture template format 2.
And S23, sending the latest template resource file to the target client, so that the target client can adjust the format of each page data in the page to be displayed according to the latest template resource file.
And after receiving the template resource file downloading request of the target client, the server sends the latest template resource file to the target client. In another implementation manner of the embodiment of the application, after the latest template resource file corresponding to the page to be displayed is uploaded to the server and directly downloaded, the latest template resource file corresponding to the page to be displayed is sent to the target client. The template resource file is used for adjusting the format of each page data in the page to be displayed, for example, the format of characters which need to be highlighted in the character data included in the page to be displayed can be adjusted.
In a third aspect, an embodiment of the present application provides a first schematic diagram of a device for localized loading of a mobile application, applied to a client, and referring to fig. 4, the device includes:
a first obtaining module 401, configured to obtain a latest template resource file corresponding to a page to be displayed; the latest template resource file comprises a plurality of data modules, and different data modules correspond to different data types; aiming at any data module, the data module comprises a template format of each format identifier corresponding to the data type of the data module;
a second obtaining module 402, configured to obtain, through each web page interface of the page to be displayed, each page data of the page to be displayed; wherein the page data comprises a format identifier;
a first determining module 403, configured to determine data types to which the page data belong;
a second determining module 404, configured to determine, according to the data type to which each piece of page data belongs, a data module corresponding to each piece of page data;
the query module 405 is configured to query the data module corresponding to each page data according to the format identifier of each page data, so as to obtain the template formats of the page data respectively;
the splicing module 406 is used for splicing and generating template data of a page to be displayed based on the page data and the template format of the page data;
the display module 407 is configured to load template data of a page to be displayed, so as to display the page to be displayed.
The method comprises the steps that the latest template resource file corresponding to a page to be displayed is obtained from a server side or a target client side, and page data of the page to be displayed are obtained from each webpage interface of the page to be displayed; inquiring a data module corresponding to each page data according to the format identifier of each page data to respectively obtain the template format of the page data; and assembling and generating template data of the page to be displayed based on the page data and the template format corresponding to the page data. Based on the method, the localized template data for constructing the established rule is used as a core point, format identifications of corresponding categories are set for different categories of data, and the effect of page display can be flexibly controlled after the mobile application is published. Compared with a webpage realized by compiling an original code, the method keeps the interactive experience effect of the original webpage, can dynamically update the template effect of the mobile application, realizes dynamic injection of data and flexibly controls the display effect of the webpage. The time for modifying the page content is shortened, and the development cost is reduced.
Optionally, the first obtaining module 401 includes:
the checking submodule is used for checking whether the version number of the template resource file of the locally pre-stored page to be displayed is the same as the version number of the template resource file of the page to be displayed stored at the server side;
the first judgment submodule is used for downloading the template resource file with the latest version number from the server side when the version number of the template resource file of the page to be displayed, which is pre-stored locally, is different from the version number of the template resource file of the page to be displayed, which is stored at the server side, and updating the version number of the template resource file of the page to be displayed to the version number of the template resource file after successful downloading to obtain the latest template resource file;
and the second judgment submodule is used for taking the version number of the template resource file of the locally pre-stored page to be displayed as the version number of the latest template resource file corresponding to the page to be displayed when the version number of the template resource file of the locally pre-stored page to be displayed is the same as the version number of the template resource file of the page to be displayed stored at the server side.
Optionally, the display module 407 is specifically configured to:
and instantiating a WebView component, and loading template data of the page to be displayed through the instantiated WebView component to display the page to be displayed.
In the embodiment of the application, the WebView component is a control which can load a webpage and perform rendering and display, and can directly use HTML as a webpage design to be matched with JS language to realize display. However, different client models, system versions and application versions of the pages to be displayed have certain influence on loading the pages of the WebView components, so that the WebView components corresponding to the pages to be displayed need to be set, and a better webpage interaction effect is realized.
In a fourth aspect, an embodiment of the present application provides a second schematic diagram of a mobile application localized loading apparatus, applied to a server, and referring to fig. 5, the apparatus includes:
a receiving module 501, configured to receive a template resource file downloading request of a target client.
A third obtaining module 502, configured to obtain a latest template resource file corresponding to the template resource file downloading request, where the latest template resource file includes multiple data modules, and different data modules correspond to different data types; and aiming at any data module, the data module comprises the template format of each format identifier corresponding to the data type of the data module.
A sending module 503, configured to send the latest template resource file to the target client, so that the target client adjusts the format of each page data in the page to be displayed according to the latest template resource file.
An embodiment of the present invention further provides an electronic device, as shown in fig. 6, including a processor 601, a communication interface 602, a memory 603, and a communication bus 604, where the processor 601, the communication interface 602, and the memory 603 complete mutual communication through the communication bus 604,
a memory 603 for storing a computer program;
the processor 601 is configured to implement the following steps when executing the program stored in the memory 603:
acquiring a latest template resource file corresponding to a page to be displayed; the latest template resource file comprises a plurality of data modules, and different data modules correspond to different data types; aiming at any data module, the data module comprises a template format of each format identifier corresponding to the data type of the data module;
acquiring each page data of the page to be displayed through each web interface of the page to be displayed; the page data comprises a format identifier;
respectively determining the data type of each page data;
determining a data module corresponding to each page data according to the data type of each page data;
inquiring a data module corresponding to each page data according to the format identifier of each page data to respectively obtain the template format of the page data;
assembling and generating template data of a page to be displayed based on the page data and the template format of the page data;
and loading the template data of the page to be displayed so as to display the page to be displayed.
Optionally, when the processor 601 is configured to execute the program stored in the memory 603, any of the above-described mobile application localized loading methods applied to the client may also be implemented.
In addition, another electronic device is provided in this embodiment of the present application, as shown in fig. 7, including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702, and the memory 703 complete mutual communication through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to implement the following steps when executing the program stored in the memory 703:
receiving a template resource file downloading request of a target client;
acquiring a latest template resource file corresponding to the template resource file downloading request, wherein the latest template resource file comprises a plurality of data modules, and different data modules correspond to different data types; aiming at any data module, the data module comprises a template format of each format identifier corresponding to the data type of the data module;
and sending the latest template resource file to the target client so that the target client adjusts the format of each page data in the page to be displayed according to the latest template resource file.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
An embodiment of the present invention further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is enabled to execute any one of the above methods for localized loading of a mobile application applied to a client.
Embodiments of the present invention further provide a computer program product containing instructions, which when run on a computer, cause the computer to execute any one of the above methods for localized loading of mobile applications to a client.
An embodiment of the present invention further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is enabled to execute any one of the above methods for localized loading of a mobile application applied to a server.
Embodiments of the present invention further provide a computer program product containing instructions, which when executed on a computer, cause the computer to perform any one of the above methods for localized loading of mobile applications to a server.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It should be noted that, in this document, the technical features in the various alternatives can be combined to form the scheme as long as the technical features are not contradictory, and the scheme is within the scope of the disclosure of the present application. Relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the embodiments of the apparatus, the electronic device, and the storage medium, since they are substantially similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (10)

1. A method for localized loading of mobile applications, applied to a client, the method comprising:
acquiring a latest template resource file corresponding to a page to be displayed; the latest template resource file comprises a plurality of data modules, and different data modules correspond to different data types; aiming at any data module, the data module comprises a template format of each format identifier corresponding to the data type of the data module;
acquiring each page data of the page to be displayed through each web interface of the page to be displayed; wherein the page data comprises a format identifier;
respectively determining the data type of each page data;
determining a data module corresponding to each page data according to the data type of each page data;
inquiring a data module corresponding to each page data according to the format identifier of each page data to respectively obtain the template format of the page data;
assembling and generating template data of the page to be displayed based on the page data and the template format of the page data;
and loading the template data of the page to be displayed so as to display the page to be displayed.
2. The method according to claim 1, wherein the obtaining of the latest template resource file corresponding to the page to be displayed comprises:
checking whether the version number of a template resource file of a locally pre-stored page to be displayed is the same as the version number of the template resource file of the page to be displayed stored at a server side;
if the version numbers of the template resource files are different, downloading the template resource file with the latest version number from the server side, and updating the version number of the template resource file of the page to be displayed to be the version number of the template resource file after successful downloading to obtain the latest template resource file;
or if the version numbers are the same, taking the version number of the template resource file of the locally pre-stored page to be displayed as the version number of the latest template resource file corresponding to the page to be displayed.
3. The method according to claim 1, wherein the loading the template data of the page to be displayed to show the page to be displayed comprises:
and instantiating a WebView component, and loading the template data of the page to be displayed through the instantiated WebView component to display the page to be displayed.
4. A method for localized loading of mobile applications, applied to a server, the method comprising:
receiving a template resource file downloading request of a target client;
acquiring a latest template resource file corresponding to the template resource file downloading request, wherein the latest template resource file comprises a plurality of data modules, and different data modules correspond to different data types; aiming at any data module, the data module comprises a template format of each format identifier corresponding to the data type of the data module;
sending the latest template resource file to the target client to enable the target client to execute the following steps:
acquiring a latest template resource file corresponding to a page to be displayed; the target client acquires each page data of the page to be displayed through each web interface of the page to be displayed; wherein the page data comprises a format identifier; the target client respectively determines the data type of each page data; the target client determines a data module corresponding to each page data according to the data type of each page data; the target client inquires a data module corresponding to each page data according to the format identifier of each page data to respectively obtain the template format of the page data; the target client side assembles and generates template data of the page to be displayed based on the page data and the template format of the page data; and the target client loads the template data of the page to be displayed so as to display the page to be displayed.
5. A device for localized loading of mobile applications, applied to a client, the device comprising:
the first acquisition module is used for acquiring the latest template resource file corresponding to the page to be displayed; the latest template resource file comprises a plurality of data modules, and different data modules correspond to different data types; aiming at any data module, the data module comprises a template format of each format identifier corresponding to the data type of the data module;
the second acquisition module is used for acquiring each page data of the page to be displayed through each web interface of the page to be displayed; wherein the page data comprises a format identifier;
the first determining module is used for respectively determining the data type of each page data;
the second determining module is used for determining a data module corresponding to each page data according to the data type of each page data;
the query module is used for querying a data module corresponding to each page data according to the format identifier of each page data to respectively obtain the template format of the page data;
the splicing module is used for splicing and generating the template data of the page to be displayed based on the page data and the template format of the page data;
and the display module is used for loading the template data of the page to be displayed so as to display the page to be displayed.
6. The apparatus of claim 5, wherein the first obtaining module comprises:
the checking submodule is used for checking whether the version number of the template resource file of the locally pre-stored page to be displayed is the same as the version number of the template resource file of the page to be displayed stored at the server side;
the first judgment submodule is used for downloading the template resource file with the latest version number from the server side when the version number of the template resource file of the page to be displayed, which is pre-stored locally, is different from the version number of the template resource file of the page to be displayed, which is stored at the server side, and updating the version number of the template resource file of the page to be displayed to be the version number of the template resource file after successful downloading to obtain the latest template resource file;
and the second judgment submodule is used for taking the version number of the template resource file of the locally pre-stored page to be displayed as the version number of the latest template resource file corresponding to the page to be displayed when the version number of the template resource file of the locally pre-stored page to be displayed is the same as the version number of the template resource file of the page to be displayed stored at the server side.
7. The apparatus of claim 5, wherein the display module is specifically configured to:
and instantiating a WebView component, and loading the template data of the page to be displayed through the instantiated WebView component to display the page to be displayed.
8. A mobile application localization loading apparatus, applied to a server, the apparatus comprising:
the receiving module is used for receiving a template resource file downloading request of a target client;
a third obtaining module, configured to obtain a latest template resource file corresponding to the template resource file downloading request, where the latest template resource file includes multiple data modules, and different data modules correspond to different data types; aiming at any data module, the data module comprises a template format of each format identifier corresponding to the data type of the data module;
a sending module, configured to send the latest template resource file to the target client, so that the target client performs the following steps:
acquiring a latest template resource file corresponding to a page to be displayed; the target client acquires each page data of the page to be displayed through each web page interface of the page to be displayed; wherein the page data comprises a format identifier; the target client respectively determines the data type of each page data; the target client determines a data module corresponding to each page data according to the data type of each page data; the target client inquires a data module corresponding to each page data according to the format identifier of each page data to respectively obtain the template format of the page data; the target client side assembles and generates template data of the page to be displayed based on the page data and the template format of the page data; and the target client loads the template data of the page to be displayed so as to display the page to be displayed.
9. An electronic device comprising a processor and a memory;
the memory is used for storing a computer program;
the processor is configured to implement the localized loading method for mobile applications according to any one of claims 1 to 3 when executing the program stored in the memory.
10. An electronic device comprising a processor and a memory;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, is configured to implement the localized loading method for mobile applications according to claim 4.
CN201910527089.XA 2019-06-18 2019-06-18 Mobile application localized loading method and device and electronic equipment Active CN110321177B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910527089.XA CN110321177B (en) 2019-06-18 2019-06-18 Mobile application localized loading method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910527089.XA CN110321177B (en) 2019-06-18 2019-06-18 Mobile application localized loading method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110321177A CN110321177A (en) 2019-10-11
CN110321177B true CN110321177B (en) 2022-06-03

Family

ID=68119745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910527089.XA Active CN110321177B (en) 2019-06-18 2019-06-18 Mobile application localized loading method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110321177B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750958A (en) * 2019-10-17 2020-02-04 北京奇艺世纪科技有限公司 Text display method and device, electronic equipment and medium
CN110929199B (en) * 2019-12-05 2024-03-01 广州酷狗计算机科技有限公司 Content display method, content display device, computer apparatus, storage medium, and program product
CN111277889B (en) * 2020-02-19 2022-05-06 北京奇艺世纪科技有限公司 Television side page preview method and system
CN111427645A (en) * 2020-03-20 2020-07-17 青岛聚好联科技有限公司 H5-based cross-terminal adaptive display method and device
CN112764732B (en) * 2021-01-25 2024-03-08 百果园技术(新加坡)有限公司 Code generation method and device applied to loading target resource
CN112882619B (en) * 2021-02-08 2022-08-26 维沃移动通信有限公司 Application interface management method and device, electronic equipment and medium
CN113760438A (en) * 2021-09-22 2021-12-07 京东科技信息技术有限公司 Page display method and device for webpage application

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004777A (en) * 2010-11-19 2011-04-06 中国科学院软件研究所 Customizable Web information integration method and system
CN102609628A (en) * 2012-03-20 2012-07-25 上海交通大学 Webpage-based remote comprehensive diagnosis and treatment system
CN103678511A (en) * 2013-11-25 2014-03-26 北京奇虎科技有限公司 Method and device for extracting webpage content according to visualized template
CN104021155A (en) * 2014-05-21 2014-09-03 小米科技有限责任公司 Webpage display method and device
CN105608119A (en) * 2015-12-16 2016-05-25 北京吉威数源信息技术有限公司 Rapid thematic map drawing technology
CN106066849A (en) * 2016-05-30 2016-11-02 车智互联(北京)科技有限公司 A kind of template page editing system and method
CN107479861A (en) * 2016-06-07 2017-12-15 阿里巴巴集团控股有限公司 Page processing method and its system
CN107609156A (en) * 2017-09-26 2018-01-19 微梦创科网络科技(中国)有限公司 The method and device that a kind of page is built
CN107784086A (en) * 2017-10-09 2018-03-09 中国平安人寿保险股份有限公司 A kind of loading method of webpage, terminal device and computer-readable recording medium
CN108090159A (en) * 2017-12-12 2018-05-29 福建中金在线信息科技有限公司 A kind of generation method of Website page, device, electronic equipment and storage medium
CN108282518A (en) * 2017-12-26 2018-07-13 阿里巴巴集团控股有限公司 A kind of customer terminal webpage generation method and device
CN108376172A (en) * 2018-02-27 2018-08-07 北京金和网络股份有限公司 The webpage Localization methodologies of mobile client
CN109710870A (en) * 2018-12-27 2019-05-03 北京微播视界科技有限公司 Loading method, device, electronic equipment and the readable storage medium storing program for executing of the H5 page

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055740A1 (en) * 2009-08-28 2011-03-03 International Business Machines Corporation Defining and sharing display space templates
US20130212487A1 (en) * 2012-01-09 2013-08-15 Visa International Service Association Dynamic Page Content and Layouts Apparatuses, Methods and Systems
US20160132476A1 (en) * 2014-11-06 2016-05-12 Vinc Corporation Guidance content development and presentation

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004777A (en) * 2010-11-19 2011-04-06 中国科学院软件研究所 Customizable Web information integration method and system
CN102609628A (en) * 2012-03-20 2012-07-25 上海交通大学 Webpage-based remote comprehensive diagnosis and treatment system
CN103678511A (en) * 2013-11-25 2014-03-26 北京奇虎科技有限公司 Method and device for extracting webpage content according to visualized template
CN104021155A (en) * 2014-05-21 2014-09-03 小米科技有限责任公司 Webpage display method and device
CN105608119A (en) * 2015-12-16 2016-05-25 北京吉威数源信息技术有限公司 Rapid thematic map drawing technology
CN106066849A (en) * 2016-05-30 2016-11-02 车智互联(北京)科技有限公司 A kind of template page editing system and method
CN107479861A (en) * 2016-06-07 2017-12-15 阿里巴巴集团控股有限公司 Page processing method and its system
CN107609156A (en) * 2017-09-26 2018-01-19 微梦创科网络科技(中国)有限公司 The method and device that a kind of page is built
CN107784086A (en) * 2017-10-09 2018-03-09 中国平安人寿保险股份有限公司 A kind of loading method of webpage, terminal device and computer-readable recording medium
CN108090159A (en) * 2017-12-12 2018-05-29 福建中金在线信息科技有限公司 A kind of generation method of Website page, device, electronic equipment and storage medium
CN108282518A (en) * 2017-12-26 2018-07-13 阿里巴巴集团控股有限公司 A kind of customer terminal webpage generation method and device
CN108376172A (en) * 2018-02-27 2018-08-07 北京金和网络股份有限公司 The webpage Localization methodologies of mobile client
CN109710870A (en) * 2018-12-27 2019-05-03 北京微播视界科技有限公司 Loading method, device, electronic equipment and the readable storage medium storing program for executing of the H5 page

Also Published As

Publication number Publication date
CN110321177A (en) 2019-10-11

Similar Documents

Publication Publication Date Title
CN110321177B (en) Mobile application localized loading method and device and electronic equipment
US8983935B2 (en) Methods for utilizing a javascript emulator in a web content proxy server and devices thereof
US9736143B2 (en) Customized log-in experience
US10084878B2 (en) Systems and methods for hosted application marketplaces
EP3273362A1 (en) Webpage access method, apparatus, device and non-volatile computer storage medium
US11553035B2 (en) Cross-platform module for loading across a plurality of device types
US20170192941A1 (en) Computer-Automated Generation of Application Deep Links
KR20120101841A (en) Method and apparatus for linking application and browser
CN110764680B (en) Method and device for generating simulated keyboard, electronic equipment and computer readable medium
CN107426588B (en) Method, system and storage device for acquiring television set configuration information
CN108319474B (en) Page information generation method, device and equipment
US20240069932A1 (en) Content Display Method and Terminal Device
CN113360106B (en) Webpage printing method and device
CN111880990A (en) Exception handling method and device
CN112416496A (en) Page display method and device and storage medium
US20080297521A1 (en) System and method for providing skins for a web page
Penberthy Beginning ASP. NET for Visual Studio 2015
US20190042549A1 (en) Method and apparatus for building pages, apparatus and non-volatile computer storage medium
US11550990B2 (en) Machine first approach for identifying accessibility, non-compliances, remediation techniques and fixing at run-time
CN110381118B (en) Page data transmission control method and related equipment
CN113076165A (en) Page checking method and device
CN112287261A (en) Resource loading method and electronic equipment
EP3001311A1 (en) Method for automatically converting web applications into application that can be installed automatically on a plurality of platforms
CN110362322B (en) Electronic device and method for updating program offline
US11816307B1 (en) Method for providing service of configuring UI on a display of an in-vehicle infotainment device and UI configuration server using the same

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