WO2019024520A1 - Page presentation method, electronic device and non-volatile computer readable storage medium - Google Patents

Page presentation method, electronic device and non-volatile computer readable storage medium Download PDF

Info

Publication number
WO2019024520A1
WO2019024520A1 PCT/CN2018/081151 CN2018081151W WO2019024520A1 WO 2019024520 A1 WO2019024520 A1 WO 2019024520A1 CN 2018081151 W CN2018081151 W CN 2018081151W WO 2019024520 A1 WO2019024520 A1 WO 2019024520A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
display module
local
type
page display
Prior art date
Application number
PCT/CN2018/081151
Other languages
French (fr)
Chinese (zh)
Inventor
程卫
黄剑
Original Assignee
掌阅科技股份有限公司
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 掌阅科技股份有限公司 filed Critical 掌阅科技股份有限公司
Publication of WO2019024520A1 publication Critical patent/WO2019024520A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • 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

Definitions

  • the present disclosure relates to the field of computers, and in particular, to a page display method, an electronic device, and a non-transitory computer readable storage medium.
  • Web pages are inexpensive to develop, flexible to use with a variety of existing web design and development technologies, and can run on any terminal device with a web browser installed.
  • the web page cannot fully utilize the novel functions provided by the terminal hardware during the display process, and the influence of various factors such as the network speed and the switching speed, the display effect of the web page is obviously inferior to the localized page.
  • the localized page can fully utilize the various functions provided by the terminal hardware during the display process, and can also remove the limitation of the webpage border, and the display effect is obviously superior to the webpage.
  • web pages can only be displayed in web form, and web pages cannot be converted to localized pages for display.
  • the present disclosure has been made in order to provide a page display method, an electronic device, and a non-transitory computer readable storage medium that overcome the above problems or at least partially solve the above problems.
  • a method for displaying a page includes: obtaining a uniform resource locator of a web page to be displayed, determining a corresponding local page display module according to the uniform resource locator; and including the unified resource locator
  • the parameter information is provided to the local page display module, so that the local page display module displays the localized page corresponding to the web page according to the parameter information.
  • an electronic device includes: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface complete communication with each other through a communication bus; the memory is configured to store at least one Executable instructions, the executable instructions to enable the processor to: obtain a uniform resource locator of the network page to be displayed, determine a corresponding local page display module according to the uniform resource locator; and provide parameter information included in the uniform resource locator The local page is displayed with a module for the local page display module to display the localized page corresponding to the web page according to the parameter information.
  • a non-transitory computer readable storage medium having stored therein at least one executable instruction that causes a processor to perform the following operations Obtaining a uniform resource locator of the web page to be displayed, determining a corresponding local page display module according to the uniform resource locator; and providing parameter information included in the uniform resource locator to the local page display module, for the local page display module to The parameter information shows a localized page corresponding to the web page.
  • a computer program product comprising a computing program stored on the non-transitory computer readable storage medium described above.
  • a local page display module for displaying a localized page corresponding to a web page is preset.
  • the corresponding local page display module is determined according to the uniform resource locator of the web page to be displayed; then, the parameter information included in the uniform resource locator is obtained, and the parameter information is provided to
  • the local page display module finally obtains the specific content of the web page to be displayed according to the parameter information, and displays the localized page corresponding to the web page according to the preset presentation logic.
  • the local page display module can directly convert the web page into a corresponding localized page and display according to the parameter information included in the uniform resource locator of the web page to be displayed, thereby making the network
  • the page can be presented to the user as a localized page, optimizing the display.
  • FIG. 1 is a flowchart of a page display method according to Embodiment 1 of the present disclosure
  • FIG. 2 is a flowchart of a page display method provided by Embodiment 2 of the present disclosure
  • FIG. 3 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present disclosure.
  • FIG. 1 is a flowchart of a page display method provided by Embodiment 1 of the present disclosure. As shown in Figure 1, the method includes the following steps:
  • Step S110 Acquire a uniform resource locator of the web page to be displayed, and determine a corresponding local page display module according to the uniform resource locator.
  • the Uniform Resource Locator is also called URL (Uniform Resoure Locator), which is the address of standard resources on the Internet.
  • URL Uniform Resoure Locator
  • Each file on the Internet has a unique URL that determines the location of the file and how the browser handles the file based on the URL.
  • the local page display module corresponding to the web page is determined according to the URL of the web page to be displayed. Since the URL can reflect the storage location information and/or the page type information of the web page, the local page display module corresponding to the web page can be quickly determined according to the URL.
  • the specific determination manner can be flexibly set by a person skilled in the art.
  • only one local page display module may be set, and accordingly, if the network page is determined according to the uniform resource locator The page that can be processed by the local page display module continues to perform the subsequent steps; if it is determined according to the uniform resource locator that the web page is a page that cannot be processed by the local page display module, the web page is directly displayed according to the web form.
  • a local page display module for localizing display of an e-book type web page is preset, and accordingly, if the web page is determined to be an e-book type according to the uniform resource locator If the page is determined to be a page of the e-book type according to the uniform resource locator, the web page is directly displayed according to the traditional web manner.
  • a web page display module may be preset, and correspondingly, when the web page is determined not to be an e-book type according to the uniform resource locator, the web page is directly invoked. Display modules for display.
  • each local page display module may be separately set. Specifically, each local page display module may be divided according to the storage location (or network source) of the web page, or each local page display module may be divided according to the type of the web page, and even according to other divisions that can be determined by the URL. Ways to divide each local page display module. For example, in the e-book application, two local page display modules and one web page display module are preset, wherein one local page display module is used for localization display of the e-book type web page, and another local page The presentation module is used for localized presentation of web pages of user information type.
  • the local page display module determined in this step is a local page display for localized display for the e-book type web page.
  • the local page display module determined in this step is a local page display module for localizing display of the web page of the user information type.
  • this step is equivalent to routing each web page according to the URL of the web page, so as to determine a corresponding local page display module for the web page.
  • Step S120 The parameter information included in the uniform resource locator is provided to the local page display module, so that the local page display module displays the localized page corresponding to the web page according to the parameter information.
  • the parameter information included in the uniform resource locator is provided to the local page display module determined in the previous step.
  • the local page display module For the local page display module to display a localized page corresponding to the web page according to the parameter information.
  • the manner in which the parameter information included in the uniform resource locator is provided to the local page display module may be multiple.
  • the uniform resource locator may be directly sent to the local page display module, and the local page display module is displayed. Extract parameter information from the URL.
  • the extracted parameter information is sent to the local page display module.
  • the parameter information included in the uniform resource locator is used to determine page content information of the web page, and any parameter information that can be used to determine page content information can be used in the present disclosure.
  • the parameter information may be information indicating a file name, a file suffix, and/or a file path.
  • the local page display module obtains the page content information of the web page according to the parameter information, the localized page corresponding to the content information of the page is generated and displayed by using the content display rule preset by the module.
  • the local page display module can directly convert the web page into a corresponding localized page and display according to the parameter information included in the uniform resource locator of the web page to be displayed, thereby making the network
  • the page can be presented to the user as a localized page, optimizing the display.
  • FIG. 2 is a flowchart of a page display method provided by Embodiment 2 of the present disclosure.
  • an e-book application is taken as an example for description, and those skilled in the art can understand that the present disclosure can also be applied to other various types of applications.
  • the method includes the following steps:
  • Step S200 Set a plurality of local page display modules according to the type of the web page to be displayed in advance; wherein each local page display module is respectively used to display a corresponding type of web page.
  • the type of the web page to be displayed may be flexibly divided by a person skilled in the art.
  • the network page may be divided according to the network source of the web page, or may be divided according to the storage path of the web page, and may be divided according to the page content of the web page. As long as the information that can be determined by the URL can be used to classify the type of the web page.
  • the types of web pages include the following three types: an e-book type, a user information type, and a preset function type in an application.
  • the local page display module in this embodiment includes the following three types: a first type display module for displaying an e-book, a second type display module for displaying user information, and a preset function for displaying an application.
  • the e-book type mainly includes content pages corresponding to various e-books, for example, a title page, a detail page, a profile page, and a body page in an e-book including various themes.
  • the user information type mainly includes various pages related to the user's personal information, for example, pages including "My Account”, “My Gifts", and “My Reading Preferences”.
  • the preset function types in the application mainly include pages related to one or more preset functions in the application, for example, the pages related to the "check-in" function can be presented to the third type of display module.
  • a person skilled in the art can also flexibly set the type of the web page and the number of the local page display module, which is not limited in the disclosure.
  • pages with similar processing processes may be divided into the same type, and are processed by the same local page display module.
  • Step S210 Store the mapping relationship between the module identifier of each local page display module and the feature field included in the uniform resource locator of the corresponding type of network page into a preset mapping table.
  • the feature field included in the uniform resource locator is used to determine the type of the web page.
  • the specific location of the feature field can be set according to the type division of the web page.
  • the field for indicating the storage path may be used as the feature field; if the type of the web page is divided according to the content of the page, the field for indicating the content of the page may be used as the feature field.
  • a field indicating a primary or secondary directory of the file after the domain name is generally used as a feature field, and according to the field, a network page can be distinguished as an e-book type, a user information type, or the like.
  • a mapping table is pre-established for storing the module identifier of each local page display module and the unified resource of the corresponding type of network page.
  • the mapping of feature fields contained in the locator For example, the following data is stored in the mapping table: module ID1 of the first type of display module - feature field 1; module ID2 of the second type of display module - feature field 2; module ID3 of the third type of display module - Feature field 3.
  • the number of feature fields corresponding to each module ID may be one or more.
  • Step S200 and step S210 are both pre-executed steps.
  • Step S220 Acquire a feature field included in the uniform resource locator of the network page to be displayed, and determine a module identifier of the local page display module corresponding to the feature field according to the mapping table.
  • the step is implemented by using a preset routing control module, and is mainly used to determine routing information when the web page to be displayed is displayed in the e-book application.
  • the URL of the web page to be displayed is parsed, and the feature field contained therein is determined according to the parsing result; then, the preset mapping table is queried, and the module identifier of the local page display module corresponding to the feature field is determined.
  • the web page to be displayed is an e-book type, and correspondingly, the module identifier of the local page display module corresponding to the feature field is ID1, and therefore, the display is performed by the first type of display module.
  • Step S230 The parameter information included in the uniform resource locator is provided to the local page display module.
  • the parameter information included in the uniform resource locator may be provided by the routing control module to the local page display module determined in the previous step, so that the local page display module displays the localization corresponding to the network page according to the parameter information.
  • Page also called native page.
  • the URL may be directly sent by the routing control module to the local page display module determined in the previous step, and the local page display module extracts parameter information from the URL; or may be analyzed by the routing control module according to the URL. After extracting the parameter information contained in the result, the extracted parameter information is sent to the local page display module.
  • the latter method is implemented.
  • the parameter information included in the uniform resource locator is used to determine page content information of the web page, and any parameter information that can be used to determine page content information can be used in the present disclosure.
  • the parameter information may be information indicating a file name, a file suffix, and/or a file path.
  • Step S240 The local page display module displays the localized page corresponding to the web page according to the parameter information.
  • the local page display module acquires the page content information corresponding to the webpage according to the parameter information; and generates and displays the localized page corresponding to the content information of the page by using the content display rule preset in the local page display module.
  • Content presentation rules are typically defined by at least one content presentation function and/or content presentation class.
  • the manner in which the local page display module obtains the page content information of the web page according to the parameter information may be various.
  • the local page display module may request the server for the page content information of the web page corresponding to the parameter information; or, for example, the local page display module may obtain the network corresponding to the parameter information according to the storage path included in the parameter information.
  • the page content information of the page is not limited in this disclosure.
  • the localization code (also called the native code) corresponding to the content information of the page is called by the content display function and/or the content display class included in the local page display module, through the local The code shows a localized page that corresponds to the page content information.
  • the localization code corresponding to the page content information is a preset frame code for converting the web page into a corresponding localized page, and the content display function and/or the content display class by calling the content of the page
  • the localization code of the localized page corresponding to the page content information is generated by the corresponding localization code of the information, and the localized page is displayed through the local page source.
  • the types of page content information corresponding to each type of web page include multiple types. Accordingly, the number of content display functions included in the local page display module is multiple, and each content display function is used to display corresponding types. Page content information.
  • the page content information corresponding to the e-book type web page mainly refers to the substantial content contained in the web page.
  • web pages written in the form of CSS code or JAVA script scripts in addition to containing the substance to be presented, often contain a large amount of code for defining the presentation form of the substantive content.
  • the text and the image belong to the substantial content that the user can view in the page, and are used to define the font, format, presentation position, and size of the image.
  • the formatted code does not belong to the substance of the page.
  • the page content information corresponding to the webpage that is obtained by the first type of display module for displaying the e-book type according to the parameter information generally includes substantive contents such as text and a picture, and does not include an image for defining text and a picture.
  • the code portion of the form and other parts that are not related to the substantive content can greatly reduce the amount of data that the first type of display module needs to receive, thereby shortening the data transmission delay and improving the display speed.
  • the first type of display module displays the page content information of the corresponding category through each content display function included therein.
  • a plurality of functions for displaying text can be set inside the module, and the function for displaying the text is encapsulated into a separate class, also called Text class; at the same time, set up multiple functions for displaying images, and wrap the function used to display the image as a separate class, also called a picture class.
  • the text class you can further set the following functions according to the page properties: the cover page function for displaying the cover page, the page function for displaying the title page, the detail page function for displaying the detail page, and the text for displaying the text.
  • the text page function in addition, a plurality of sub-functions may be further set in the function corresponding to each property page.
  • the following sub-function may be further set according to the text level: for displaying the headline class text
  • the following functions can be further set up: a first type of format processing function for displaying a picture of a JPG type, a second type of format processing function for displaying a picture of a BMP type, for displaying a picture
  • the display rules of the corresponding types of page content information are preset in the internal functions of the local page display module. Therefore, in this embodiment, the local page display module does not need to obtain the code portion of the web page for defining the display rules.
  • the content information of the obtained page can be displayed according to the preset display rules of the module. While improving the display speed, it is also convenient to set different display forms for various contents, thereby improving the diversity of display effects.
  • the display form of each type of content information that the module can process is predefined in the interior of a local page display module, the local page display module has strong versatility, and only needs to obtain the web page to be displayed.
  • the page content information can be used to quickly display the localized page corresponding to the web page by using its internal preset function, thereby realizing the rapid display of all web pages of the corresponding type.
  • the localization code may further cache the page content information, and display the corresponding localized page according to the cached result. After being cached, the content of the display can be smoothed, and the phenomenon of content jitter caused by the fluctuation of the network speed is avoided, which provides a guarantee for the user's high-quality reading.
  • the local page display module implements localized page display in the form of localized code, it is convenient to utilize various novel functions provided by the hardware to achieve better dynamic effects.
  • the update operation it is possible to modify the display rules inside the local page display module, and/or to correct defects in the application running.
  • the second type of display module for processing the web page of the user information type it is assumed that the e-book application has introduced a new version, and the display style of the "My Account” button in the user information is adjusted in the new version. And/or, the "My Browsing History” button has been added, and accordingly, the above update can be implemented by an update package corresponding to the second type of presentation module.
  • the update is performed by using a hot update method.
  • the method before the step of providing the parameter information included in the uniform resource locator of the network page to be displayed to the local page display module, the method further includes the steps of: determining whether the version of the local page display module needs to be updated, If so, the version of the local page display module is updated by hot update.
  • the method each time the parameter information included in the uniform resource locator of the web page to be displayed is provided to the local page display module, it is determined whether the corresponding local page display module needs to be updated; or, the application may be started.
  • the server requests the version information of each local page display module; determines whether the version information returned by the server is consistent with the version information of each local page display module stored locally, and if not, determines that the version of the local page display module needs to be updated, and downloads And install the corresponding update package.
  • the hot update method can not only update the existing local page display modules, but also add a new local page display module through the update. For example, if a new function module is added to the new e-book application, a corresponding local page display module can be newly created for the display page corresponding to the function module, and the newly created local page display module is loaded into the application by the above hot update method. in.
  • the above-described manner provided by the present disclosure can realize the conversion from a web page to a localized page (also called a native page) conveniently and quickly.
  • a plurality of different local page display modules are separately set according to the characteristics of various types of network pages, and a corresponding local page display module is determined for each web page to be displayed by using a routing control module, where each local The page display module implements the localization process of the corresponding type of web page.
  • This method can be applied not only to converting a page derived from the Internet into a localized page in a native application, but also to converting a page derived from the Internet into a localized page in a web application, thereby achieving a high-quality display effect.
  • a third embodiment of the present disclosure provides a non-transitory computer readable storage medium storing at least one executable instruction executable in any of the above method embodiments Page display method.
  • the executable instruction may be specifically configured to enable the processor to: obtain a uniform resource locator of the network page to be displayed, and determine a corresponding local page display module according to the uniform resource locator;
  • the parameter information included in the uniform resource locator is provided to the local page display module, so that the local page display module displays the localized page corresponding to the web page according to the parameter information.
  • executable instructions further cause the processor to:
  • each local page display module is respectively used to display a corresponding type of web page;
  • mapping relationship between the module identifier of each local page display module and the feature field included in the uniform resource locator of the corresponding type of network page is stored in a preset mapping table, where the uniform resource locator of the network page is included
  • the feature field is used to determine the type of the web page
  • the feature field includes: a field included in the uniform resource locator for determining a resource storage path; and the type of the network page to be displayed includes at least one of the following: an e-book type, user information Type, the type of preset function in the application;
  • the local page display module includes at least one of the following: a first type of display module for displaying an e-book, a second type of display module for displaying user information, and a third type of display module for displaying preset functions in the application. .
  • executable instructions specifically cause the processor to:
  • the local page display module acquires page content information corresponding to the web page according to the parameter information
  • the localized page corresponding to the page content information is generated and displayed by the content display rule preset in the local page display module.
  • the content display rule preset in the local page display module is defined by at least one content display function; the executable instruction specifically causes the processor to perform the following operations: corresponding to the page content information by the content display function call The localization code that exposes the localized page corresponding to the page content information through the localization code.
  • the type of the page content information includes multiple types, and the number of the content display functions included in the local page display module is multiple, and each content display function is used to display the page content information of the corresponding category.
  • the executable instructions specifically cause the processor to: cache the page content information by localizing the code, and display the localized page based on the cached result.
  • the executable instruction further causes the processor to: determine the parameter of the local page display module before providing the parameter information included in the uniform resource locator of the web page to be displayed to the local page display module Whether the version needs to be updated, and if so, the version of the local page display module is updated by hot update.
  • the executable instruction specifically causes the processor to perform the following operations: after the application is started, requesting, by the server, version information of the local page display module;
  • FIG. 3 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present disclosure, and the specific embodiment of the present disclosure does not limit the specific implementation of the electronic device.
  • the electronic device can include a processor 302, a communications interface 304, a memory 306, and a communications bus 308.
  • the processor 302, the communication interface 304, and the memory 306 complete communication with each other via the communication bus 308.
  • the communication interface 304 is configured to communicate with network elements of other devices, such as clients or other servers.
  • the processor 302 is configured to execute the program 310, and specifically, the related steps in the foregoing page display method embodiment.
  • program 310 can include program code, the program code including computer operating instructions.
  • the processor 302 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present disclosure.
  • the one or more processors included in the electronic device may be the same type of processor, such as one or more CPUs; or may be different types of processors, such as one or more CPUs and one or more ASICs.
  • the memory 306 is configured to store the program 310.
  • Memory 306 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
  • the program 310 may be specifically configured to enable the processor 302 to: obtain a uniform resource locator of the network page to be displayed, and determine a corresponding local page display module according to the uniform resource locator;
  • the parameter information included in the uniform resource locator is provided to the local page display module, so that the local page display module displays the localized page corresponding to the web page according to the parameter information.
  • executable instructions further cause the processor to:
  • each local page display module is respectively used to display a corresponding type of web page;
  • mapping relationship between the module identifier of each local page display module and the feature field included in the uniform resource locator of the corresponding type of network page is stored in a preset mapping table, where the uniform resource locator of the network page is included
  • the feature field is used to determine the type of the web page
  • the feature field includes: a field included in the uniform resource locator for determining a resource storage path; and the type of the network page to be displayed includes at least one of the following: an e-book type, user information Type, the type of preset function in the application;
  • the local page display module includes at least one of the following: a first type of display module for displaying an e-book, a second type of display module for displaying user information, and a third type of display module for displaying preset functions in the application. .
  • executable instructions specifically cause the processor to:
  • the local page display module acquires page content information corresponding to the web page according to the parameter information
  • the localized page corresponding to the page content information is generated and displayed by the content display rule preset in the local page display module.
  • the content display rule preset in the local page display module is defined by at least one content display function; the executable instruction specifically causes the processor to perform the following operations: corresponding to the page content information by the content display function call The localization code that exposes the localized page corresponding to the page content information through the localization code.
  • the type of the page content information includes multiple types, and the number of the content display functions included in the local page display module is multiple, and each content display function is used to display the page content information of the corresponding category.
  • the executable instructions specifically cause the processor to: cache the page content information by localizing the code, and display the localized page based on the cached result.
  • the executable instruction further causes the processor to: determine the parameter of the local page display module before providing the parameter information included in the uniform resource locator of the web page to be displayed to the local page display module Whether the version needs to be updated, and if so, the version of the local page display module is updated by hot update.
  • the executable instruction specifically causes the processor to perform the following operations: after the application is started, requesting, by the server, version information of the local page display module;
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.

Abstract

Disclosed in the present disclosure are a page presentation method, an electronic device and a non-volatile computer readable storage medium. The method comprises: obtaining a unified resource locator of a network page to be presented and determining a corresponding local page presentation module according to the unified resource locator; and providing parameter information comprised in the unified resource locator to the local page presentation module so that the local page presentation module presents a localized page corresponding to the network page according to the parameter information.

Description

页面展示方法、电子设备及非易失性计算机可读存储介质Page display method, electronic device, and non-transitory computer readable storage medium
相关申请的交叉参考Cross-reference to related applications
本申请要求于2017年8月3日提交中国专利局、申请号为201710655584.X、名称为“页面展示方法、电子设备及计算机存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application entitled "Page Display Method, Electronic Device and Computer Storage Media" submitted by the Chinese Patent Office on August 3, 2017, with the application number of 201710655584.X, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本公开涉及计算机领域,具体涉及一种页面展示方法、电子设备及非易失性计算机可读存储介质。The present disclosure relates to the field of computers, and in particular, to a page display method, an electronic device, and a non-transitory computer readable storage medium.
背景技术Background technique
随着网络资源的日益丰富,越来越多的内容能够以网络页面为载体进行展示。网络页面的开发成本低,能够灵活使用各种现有的Web设计和开发技术,且能够运行于任何安装有web浏览器的终端设备上。但是,由于网络页面在显示过程中无法充分利用终端硬件提供的新颖功能,加之网速、切换速度等各类因素的影响,导致网络页面的显示效果明显逊色于本地化页面。反之,本地化页面在显示过程中能够充分利用终端硬件提供的各种功能,还能够去除网页边框的限制,显示效果明显优于网络页面。With the increasing availability of network resources, more and more content can be displayed on the web page as a carrier. Web pages are inexpensive to develop, flexible to use with a variety of existing web design and development technologies, and can run on any terminal device with a web browser installed. However, because the web page cannot fully utilize the novel functions provided by the terminal hardware during the display process, and the influence of various factors such as the network speed and the switching speed, the display effect of the web page is obviously inferior to the localized page. Conversely, the localized page can fully utilize the various functions provided by the terminal hardware during the display process, and can also remove the limitation of the webpage border, and the display effect is obviously superior to the webpage.
但是,网络页面只能以web形式进行展示,无法将网络页面转化为本地化页面进行展示。However, web pages can only be displayed in web form, and web pages cannot be converted to localized pages for display.
发明内容Summary of the invention
鉴于上述问题,提出了本公开以便提供一种克服上述问题或者至少部分地解决上述问题的页面展示方法、电子设备及非易失性计算机可读存储介质。In view of the above, the present disclosure has been made in order to provide a page display method, an electronic device, and a non-transitory computer readable storage medium that overcome the above problems or at least partially solve the above problems.
根据本公开的一个方面,提供了一种页面展示方法,包括:获取待展示的网络页面的统一资源定位符,根据统一资源定位符确定对应的本地页面展示模块;将统一资源定位符中包含的参数信息提供给本地页面展示模块,以 供本地页面展示模块根据参数信息展示与网络页面相对应的本地化页面。According to an aspect of the present disclosure, a method for displaying a page includes: obtaining a uniform resource locator of a web page to be displayed, determining a corresponding local page display module according to the uniform resource locator; and including the unified resource locator The parameter information is provided to the local page display module, so that the local page display module displays the localized page corresponding to the web page according to the parameter information.
根据本公开的另一方面,提供了一种电子设备,包括:处理器、存储器、通信接口和通信总线,处理器、存储器和通信接口通过通信总线完成相互间的通信;存储器用于存放至少一可执行指令,可执行指令使处理器执行以下操作:获取待展示的网络页面的统一资源定位符,根据统一资源定位符确定对应的本地页面展示模块;将统一资源定位符中包含的参数信息提供给本地页面展示模块,以供本地页面展示模块根据参数信息展示与网络页面相对应的本地化页面。According to another aspect of the present disclosure, an electronic device includes: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface complete communication with each other through a communication bus; the memory is configured to store at least one Executable instructions, the executable instructions to enable the processor to: obtain a uniform resource locator of the network page to be displayed, determine a corresponding local page display module according to the uniform resource locator; and provide parameter information included in the uniform resource locator The local page is displayed with a module for the local page display module to display the localized page corresponding to the web page according to the parameter information.
根据本公开的又一方面,提供了一种非易失性计算机可读存储介质,该非易失性计算机可读存储介质中存储有至少一可执行指令,可执行指令使处理器执行以下操作:获取待展示的网络页面的统一资源定位符,根据统一资源定位符确定对应的本地页面展示模块;将统一资源定位符中包含的参数信息提供给本地页面展示模块,以供本地页面展示模块根据参数信息展示与网络页面相对应的本地化页面。According to still another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored therein at least one executable instruction that causes a processor to perform the following operations Obtaining a uniform resource locator of the web page to be displayed, determining a corresponding local page display module according to the uniform resource locator; and providing parameter information included in the uniform resource locator to the local page display module, for the local page display module to The parameter information shows a localized page corresponding to the web page.
根据本公开的再一方面,还提供了一种计算机程序产品,该计算机程序产品包括存储在上述非易失性计算机可读存储介质上的计算程序。According to still another aspect of the present disclosure, there is also provided a computer program product comprising a computing program stored on the non-transitory computer readable storage medium described above.
在本公开提供的页面展示方法、电子设备、非易失性计算机可读存储介质及计算机程序产品中,预先设置了用于展示与网络页面相对应的本地化页面的本地页面展示模块。相应地,在展示网络页面时,首先,根据待展示的网络页面的统一资源定位符确定对应的本地页面展示模块;然后,获取该统一资源定位符中包含的参数信息,将该参数信息提供给本地页面展示模块;最后,该本地页面展示模块根据该参数信息获取待展示的网络页面的具体内容,并根据预设的展示逻辑展示与该网络页面相对应的本地化页面。由此可见,在本公开提供的方式中,本地页面展示模块能够直接根据待展示的网络页面的统一资源定位符中包含的参数信息将网络页面转换为对应的本地化页面并展示,从而使网络页面能够以本地化页面的形式展示给用户,优化了显示效果。In the page display method, the electronic device, the non-transitory computer readable storage medium, and the computer program product provided by the present disclosure, a local page display module for displaying a localized page corresponding to a web page is preset. Correspondingly, when the web page is displayed, first, the corresponding local page display module is determined according to the uniform resource locator of the web page to be displayed; then, the parameter information included in the uniform resource locator is obtained, and the parameter information is provided to The local page display module finally obtains the specific content of the web page to be displayed according to the parameter information, and displays the localized page corresponding to the web page according to the preset presentation logic. It can be seen that, in the manner provided by the disclosure, the local page display module can directly convert the web page into a corresponding localized page and display according to the parameter information included in the uniform resource locator of the web page to be displayed, thereby making the network The page can be presented to the user as a localized page, optimizing the display.
上述说明仅是本公开技术方案的概述,为了能够更清楚了解本公开的技术手段,而可依照说明书的内容予以实施,并且为了让本公开的上述和其它 目的、特征和优点能够更明显易懂,以下特举本公开的具体实施方式。The above description is only an overview of the technical solutions of the present disclosure, and the above-described and other objects, features and advantages of the present disclosure can be more clearly understood. Specific embodiments of the present disclosure are specifically described below.
附图概述BRIEF abstract
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本公开的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those skilled in the art from a The drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图1示出了本公开实施例一提供的页面展示方法的流程图;FIG. 1 is a flowchart of a page display method according to Embodiment 1 of the present disclosure;
图2示出了本公开实施例二提供的页面展示方法的流程图;FIG. 2 is a flowchart of a page display method provided by Embodiment 2 of the present disclosure;
图3示出了根据本公开实施例四的一种电子设备的结构示意图。FIG. 3 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present disclosure.
本公开的较佳实施方式Preferred embodiment of the present disclosure
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the embodiments of the present invention have been shown in the drawings, the embodiments Rather, these embodiments are provided so that this disclosure will be more fully understood and the scope of the disclosure will be fully disclosed.
实施例一Embodiment 1
图1示出了本公开实施例一提供的页面展示方法的流程图。如图1所示,该方法包括以下步骤:FIG. 1 is a flowchart of a page display method provided by Embodiment 1 of the present disclosure. As shown in Figure 1, the method includes the following steps:
步骤S110:获取待展示的网络页面的统一资源定位符,根据该统一资源定位符确定对应的本地页面展示模块。Step S110: Acquire a uniform resource locator of the web page to be displayed, and determine a corresponding local page display module according to the uniform resource locator.
其中,统一资源定位符也叫URL(Uniform Resoure Locator),是互联网上标准资源的地址。互联网上的每个文件都具有唯一的URL,根据URL能够确定文件的位置以及浏览器针对该文件的处理方式。在本公开提供的方式中,根据待展示的网络页面的URL确定与该网络页面对应的本地页面展示模块。由于URL能够反映网络页面的存储位置信息和/或页面类型信息,因此,根据URL能够快速确定与该网络页面对应的本地页面展示模块。具体确定方式可由本领域技术人员灵活设置。Among them, the Uniform Resource Locator is also called URL (Uniform Resoure Locator), which is the address of standard resources on the Internet. Each file on the Internet has a unique URL that determines the location of the file and how the browser handles the file based on the URL. In the manner provided by the present disclosure, the local page display module corresponding to the web page is determined according to the URL of the web page to be displayed. Since the URL can reflect the storage location information and/or the page type information of the web page, the local page display module corresponding to the web page can be quickly determined according to the URL. The specific determination manner can be flexibly set by a person skilled in the art.
例如,若本实施例仅用于针对单一存储位置和/或单一页面类型的网络 页面进行处理,则可以仅设置一个本地页面展示模块,相应地,如果根据统一资源定位符确定出该网络页面为能够由该本地页面展示模块处理的页面,则继续执行后续步骤;如果根据统一资源定位符确定出该网络页面为不能由该本地页面展示模块处理的页面,则直接按照web形式展示该网络页面。举例而言,在电子书应用中,预先设置一个用于针对电子书类型的网络页面进行本地化展示的本地页面展示模块,相应地,若根据统一资源定位符确定出该网络页面为电子书类型的页面,则继续执行后续步骤;反之,若根据统一资源定位符确定出该网络页面不是电子书类型的页面,则直接按照传统的web方式展示该网络页面。其中,为了便于按照传统的web方式展示网络页面,还可以预先设置一个网络页面展示模块,相应地,当根据统一资源定位符确定出该网络页面不是电子书类型的页面时,直接调用该网络页面展示模块进行展示。For example, if the embodiment is only used for processing a single storage location and/or a single page type web page, only one local page display module may be set, and accordingly, if the network page is determined according to the uniform resource locator The page that can be processed by the local page display module continues to perform the subsequent steps; if it is determined according to the uniform resource locator that the web page is a page that cannot be processed by the local page display module, the web page is directly displayed according to the web form. For example, in an e-book application, a local page display module for localizing display of an e-book type web page is preset, and accordingly, if the web page is determined to be an e-book type according to the uniform resource locator If the page is determined to be a page of the e-book type according to the uniform resource locator, the web page is directly displayed according to the traditional web manner. In order to facilitate displaying the web page according to the traditional web manner, a web page display module may be preset, and correspondingly, when the web page is determined not to be an e-book type according to the uniform resource locator, the web page is directly invoked. Display modules for display.
又如,若本实施例用于针对多个存储位置和/或多种页面类型的网络页面进行处理,则可以分别设置多个本地页面展示模块。具体地,既可以根据网络页面的存储位置(或网络来源)来划分各个本地页面展示模块,也可以根据网络页面的类型来划分各个本地页面展示模块,甚至还可以根据其他能够由URL确定的划分方式来划分各个本地页面展示模块。举例而言,在电子书应用中,预先设置两个本地页面展示模块以及一个网络页面展示模块,其中,一个本地页面展示模块用于针对电子书类型的网络页面进行本地化展示,另一个本地页面展示模块用于针对用户信息类型的网络页面进行本地化展示。对于既不属于电子书类型、也不属于用户信息类型的网络页面,则通过预设的网络页面展示模块以传统的web方式展示。相应地,若根据统一资源定位符确定出该网络页面为电子书类型的页面,则在本步骤中确定的本地页面展示模块为用于针对电子书类型的网络页面进行本地化展示的本地页面展示模块;若根据统一资源定位符确定出该网络页面为用户信息类型的页面,则在本步骤中确定的本地页面展示模块为用于针对用户信息类型的网络页面进行本地化展示的本地页面展示模块。For another example, if the embodiment is used to process network pages of multiple storage locations and/or multiple page types, multiple local page display modules may be separately set. Specifically, each local page display module may be divided according to the storage location (or network source) of the web page, or each local page display module may be divided according to the type of the web page, and even according to other divisions that can be determined by the URL. Ways to divide each local page display module. For example, in the e-book application, two local page display modules and one web page display module are preset, wherein one local page display module is used for localization display of the e-book type web page, and another local page The presentation module is used for localized presentation of web pages of user information type. For a web page that is neither an e-book type nor a user information type, it is displayed in a conventional web manner through a preset web page display module. Correspondingly, if the web page is determined to be an e-book type page according to the uniform resource locator, the local page display module determined in this step is a local page display for localized display for the e-book type web page. If the network page is determined to be a user information type page according to the uniform resource locator, the local page display module determined in this step is a local page display module for localizing display of the web page of the user information type. .
由此可见,本步骤相当于根据网络页面的URL,对各个网络页面进行路由,以便为网络页面确定对应的本地页面展示模块。It can be seen that this step is equivalent to routing each web page according to the URL of the web page, so as to determine a corresponding local page display module for the web page.
步骤S120:将统一资源定位符中包含的参数信息提供给本地页面展示模块,以供该本地页面展示模块根据该参数信息展示与该网络页面相对应的本地化页面。Step S120: The parameter information included in the uniform resource locator is provided to the local page display module, so that the local page display module displays the localized page corresponding to the web page according to the parameter information.
由于在上一步骤中已经确定了与该网络页面相对应的本地页面展示模块,因此,在本步骤中,将统一资源定位符中包含的参数信息提供给上一步骤中确定的本地页面展示模块,以供该本地页面展示模块根据该参数信息展示与该网络页面相对应的本地化页面。Since the local page display module corresponding to the web page has been determined in the previous step, in this step, the parameter information included in the uniform resource locator is provided to the local page display module determined in the previous step. For the local page display module to display a localized page corresponding to the web page according to the parameter information.
具体地,将统一资源定位符中包含的参数信息提供给本地页面展示模块的方式可以有多种,例如,可以直接将该统一资源定位符发送给该本地页面展示模块,由该本地页面展示模块从该URL中提取参数信息。又如,还可以提取统一资源定位符中包含的参数信息后,将提取出的参数信息发送给该本地页面展示模块。Specifically, the manner in which the parameter information included in the uniform resource locator is provided to the local page display module may be multiple. For example, the uniform resource locator may be directly sent to the local page display module, and the local page display module is displayed. Extract parameter information from the URL. For example, after extracting the parameter information included in the uniform resource locator, the extracted parameter information is sent to the local page display module.
其中,统一资源定位符中包含的参数信息用于确定网络页面的页面内容信息,只要是能够用于确定页面内容信息的参数信息均可用于本公开。例如,参数信息可以是用于表示文件名、文件后缀、和/或文件路径的信息。相应地,本地页面展示模块根据参数信息获取到网络页面的页面内容信息后,利用模块内部预设的内容展示规则生成并展示与该页面内容信息相对应的本地化页面。The parameter information included in the uniform resource locator is used to determine page content information of the web page, and any parameter information that can be used to determine page content information can be used in the present disclosure. For example, the parameter information may be information indicating a file name, a file suffix, and/or a file path. Correspondingly, after the local page display module obtains the page content information of the web page according to the parameter information, the localized page corresponding to the content information of the page is generated and displayed by using the content display rule preset by the module.
由此可见,在本公开提供的方式中,本地页面展示模块能够直接根据待展示的网络页面的统一资源定位符中包含的参数信息将网络页面转换为对应的本地化页面并展示,从而使网络页面能够以本地化页面的形式展示给用户,优化了显示效果。It can be seen that, in the manner provided by the disclosure, the local page display module can directly convert the web page into a corresponding localized page and display according to the parameter information included in the uniform resource locator of the web page to be displayed, thereby making the network The page can be presented to the user as a localized page, optimizing the display.
实施例二Embodiment 2
图2示出了本公开实施例二提供的页面展示方法的流程图。在本实施例中,以电子书应用为例进行说明,本领域技术人员能够理解的是,本公开还可以应用于其他各种类型的应用中。如图2所示,该方法包括以下步骤:FIG. 2 is a flowchart of a page display method provided by Embodiment 2 of the present disclosure. In the present embodiment, an e-book application is taken as an example for description, and those skilled in the art can understand that the present disclosure can also be applied to other various types of applications. As shown in FIG. 2, the method includes the following steps:
步骤S200:预先根据待展示的网络页面的类型设置多个本地页面展示 模块;其中,每个本地页面展示模块分别用于展示对应类型的网络页面。Step S200: Set a plurality of local page display modules according to the type of the web page to be displayed in advance; wherein each local page display module is respectively used to display a corresponding type of web page.
其中,待展示的网络页面的类型可由本领域技术人员灵活划分,例如,既可以根据网络页面的网络来源划分,也可以根据网络页面的存储路径划分,还可以根据网络页面的页面内容划分,总之,只要是能够通过URL确定的信息均可用于划分网络页面的类型。The type of the web page to be displayed may be flexibly divided by a person skilled in the art. For example, the network page may be divided according to the network source of the web page, or may be divided according to the storage path of the web page, and may be divided according to the page content of the web page. As long as the information that can be determined by the URL can be used to classify the type of the web page.
在本实施例中,网络页面的类型包括以下三种:电子书类型、用户信息类型、应用中的预设功能类型。相应地,本实施例中的本地页面展示模块包括以下三个:用于展示电子书的第一类展示模块、用于展示用户信息的第二类展示模块、用于展示应用中的预设功能的第三类展示模块。其中,电子书类型主要包括各种电子书所对应的内容页面,例如,包括各种题材的电子书中的扉页、详情页、简介页、以及正文页等。用户信息类型主要包括与用户的个人信息相关的各种页面,例如,包括“我的账户”、“我的礼品”、以及“我的阅读偏好”等页面。应用中的预设功能类型主要包括与应用中的一个或多个预设功能相关的页面,例如,可以将与“签到”功能相关的页面交由第三类展示模块进行展示。本领域技术人员还可以灵活设置网络页面的类型以及本地页面展示模块的数量,本公开对此不做限定。In this embodiment, the types of web pages include the following three types: an e-book type, a user information type, and a preset function type in an application. Correspondingly, the local page display module in this embodiment includes the following three types: a first type display module for displaying an e-book, a second type display module for displaying user information, and a preset function for displaying an application. The third type of display module. The e-book type mainly includes content pages corresponding to various e-books, for example, a title page, a detail page, a profile page, and a body page in an e-book including various themes. The user information type mainly includes various pages related to the user's personal information, for example, pages including "My Account", "My Gifts", and "My Reading Preferences". The preset function types in the application mainly include pages related to one or more preset functions in the application, for example, the pages related to the "check-in" function can be presented to the third type of display module. A person skilled in the art can also flexibly set the type of the web page and the number of the local page display module, which is not limited in the disclosure.
可选地,为了提升各个本地页面展示模块的运行效率,可以将处理流程类似的页面划分为同一类型,并交由同一个本地页面展示模块负责处理。Optionally, in order to improve the running efficiency of each local page display module, pages with similar processing processes may be divided into the same type, and are processed by the same local page display module.
步骤S210:将每个本地页面展示模块的模块标识与对应类型的网络页面的统一资源定位符中包含的特征字段的映射关系存储到预设的映射表中。Step S210: Store the mapping relationship between the module identifier of each local page display module and the feature field included in the uniform resource locator of the corresponding type of network page into a preset mapping table.
其中,统一资源定位符中包含的特征字段用于确定网络页面的类型。相应地,可以根据网络页面的类型划分方式来设定特征字段的具体位置。例如,若网络页面的类型根据存储路径划分,则可以将用于表示存储路径的字段作为特征字段;若网络页面的类型根据页面内容划分,则可以将用于表示页面内容的字段作为特征字段。在本实施例中,通常将位于域名之后的、表示文件的一级或二级目录的字段作为特征字段,根据该字段能够区分一个网络页面属于电子书类型、或用户信息类型等。The feature field included in the uniform resource locator is used to determine the type of the web page. Correspondingly, the specific location of the feature field can be set according to the type division of the web page. For example, if the type of the web page is divided according to the storage path, the field for indicating the storage path may be used as the feature field; if the type of the web page is divided according to the content of the page, the field for indicating the content of the page may be used as the feature field. In this embodiment, a field indicating a primary or secondary directory of the file after the domain name is generally used as a feature field, and according to the field, a network page can be distinguished as an e-book type, a user information type, or the like.
为了便于快速确定各个网络页面的类型及其对应的本地页面展示模块,在本步骤中,预先建立了映射表,用于存储每个本地页面展示模块的模块标 识与对应类型的网络页面的统一资源定位符中包含的特征字段的映射关系。例如,在该映射表中存储有如下数据:第一类展示模块的模块ID1——特征字段1;第二类展示模块的模块ID2——特征字段2;第三类展示模块的模块ID3——特征字段3。其中,每个模块ID对应的特征字段的数量可以为一个或多个。In this step, a mapping table is pre-established for storing the module identifier of each local page display module and the unified resource of the corresponding type of network page. The mapping of feature fields contained in the locator. For example, the following data is stored in the mapping table: module ID1 of the first type of display module - feature field 1; module ID2 of the second type of display module - feature field 2; module ID3 of the third type of display module - Feature field 3. The number of feature fields corresponding to each module ID may be one or more.
其中,步骤S200和步骤S210均为预先执行的步骤。Step S200 and step S210 are both pre-executed steps.
步骤S220:获取待展示的网络页面的统一资源定位符中包含的特征字段,根据上述映射表确定与该特征字段对应的本地页面展示模块的模块标识。Step S220: Acquire a feature field included in the uniform resource locator of the network page to be displayed, and determine a module identifier of the local page display module corresponding to the feature field according to the mapping table.
其中,本步骤可通过预设的路由控制模块实现,主要用于确定待展示的网络页面在电子书应用中进行展示时的路由信息。首先,针对待展示的网络页面的URL进行解析,根据解析结果确定其中包含的特征字段;然后,查询预设的映射表,确定与该特征字段对应的本地页面展示模块的模块标识。例如,在本实施例中,待展示的网络页面为电子书类型,相应地,与特征字段对应的本地页面展示模块的模块标识为ID1,因此,需要通过第一类展示模块进行展示。The step is implemented by using a preset routing control module, and is mainly used to determine routing information when the web page to be displayed is displayed in the e-book application. First, the URL of the web page to be displayed is parsed, and the feature field contained therein is determined according to the parsing result; then, the preset mapping table is queried, and the module identifier of the local page display module corresponding to the feature field is determined. For example, in this embodiment, the web page to be displayed is an e-book type, and correspondingly, the module identifier of the local page display module corresponding to the feature field is ID1, and therefore, the display is performed by the first type of display module.
步骤S230:将统一资源定位符中包含的参数信息提供给本地页面展示模块。Step S230: The parameter information included in the uniform resource locator is provided to the local page display module.
其中,可由路由控制模块将统一资源定位符中包含的参数信息提供给上一步骤中确定的本地页面展示模块,以供该本地页面展示模块根据该参数信息展示与该网络页面相对应的本地化页面(也叫原生页面)。具体地,既可以由路由控制模块直接将该URL发送给上一步骤中确定的本地页面展示模块,由该本地页面展示模块从该URL中提取参数信息;也可以由路由控制模块根据URL的解析结果提取其中包含的参数信息后,将提取出的参数信息发送给该本地页面展示模块。可选地,本实施例为了加快各个本地页面展示模块的展示速度,采用后一种方式实现。The parameter information included in the uniform resource locator may be provided by the routing control module to the local page display module determined in the previous step, so that the local page display module displays the localization corresponding to the network page according to the parameter information. Page (also called native page). Specifically, the URL may be directly sent by the routing control module to the local page display module determined in the previous step, and the local page display module extracts parameter information from the URL; or may be analyzed by the routing control module according to the URL. After extracting the parameter information contained in the result, the extracted parameter information is sent to the local page display module. Optionally, in this embodiment, in order to speed up the display speed of each local page display module, the latter method is implemented.
其中,统一资源定位符中包含的参数信息用于确定网络页面的页面内容信息,只要是能够用于确定页面内容信息的参数信息均可用于本公开。例如,参数信息可以是用于表示文件名、文件后缀、和/或文件路径的信息。The parameter information included in the uniform resource locator is used to determine page content information of the web page, and any parameter information that can be used to determine page content information can be used in the present disclosure. For example, the parameter information may be information indicating a file name, a file suffix, and/or a file path.
步骤S240:本地页面展示模块根据该参数信息展示与网络页面相对应的本地化页面。Step S240: The local page display module displays the localized page corresponding to the web page according to the parameter information.
具体地,本地页面展示模块根据参数信息获取与网络页面相对应的页面内容信息;通过本地页面展示模块中预设的内容展示规则生成并展示与该页面内容信息相对应的本地化页面。内容展示规则通常通过至少一个内容展示函数和/或内容展示类进行定义。其中,本地页面展示模块根据参数信息获取网络页面的页面内容信息的方式可以有多种。例如,可以由本地页面展示模块向服务器请求与该参数信息对应的网络页面的页面内容信息;又如,也可以由本地页面展示模块根据参数信息中包含的存储路径获取与该参数信息对应的网络页面的页面内容信息,本公开对此不做限定。当获取到网络页面的页面内容信息后,通过本地页面展示模块中包含的内容展示函数和/或内容展示类调用与该页面内容信息相对应的本地化代码(也叫原生代码),通过该本地化代码展示与页面内容信息相对应的本地化页面。具体地,与该页面内容信息相对应的本地化代码为预先设置的用于将网络页面转化为对应的本地化页面的框架性代码,内容展示函数和/或内容展示类通过调用与该页面内容信息相对应的本地化代码的方式,生成与页面内容信息相对应的本地化页面的本地页面源码,通过该本地页面源码实现本地化页面的展示。Specifically, the local page display module acquires the page content information corresponding to the webpage according to the parameter information; and generates and displays the localized page corresponding to the content information of the page by using the content display rule preset in the local page display module. Content presentation rules are typically defined by at least one content presentation function and/or content presentation class. The manner in which the local page display module obtains the page content information of the web page according to the parameter information may be various. For example, the local page display module may request the server for the page content information of the web page corresponding to the parameter information; or, for example, the local page display module may obtain the network corresponding to the parameter information according to the storage path included in the parameter information. The page content information of the page is not limited in this disclosure. After obtaining the page content information of the web page, the localization code (also called the native code) corresponding to the content information of the page is called by the content display function and/or the content display class included in the local page display module, through the local The code shows a localized page that corresponds to the page content information. Specifically, the localization code corresponding to the page content information is a preset frame code for converting the web page into a corresponding localized page, and the content display function and/or the content display class by calling the content of the page The localization code of the localized page corresponding to the page content information is generated by the corresponding localization code of the information, and the localized page is displayed through the local page source.
另外,每种类型的网络页面相对应的页面内容信息的种类包括多种,相应地,本地页面展示模块中包含的内容展示函数的数量为多个,各个内容展示函数分别用于展示对应种类的页面内容信息。In addition, the types of page content information corresponding to each type of web page include multiple types. Accordingly, the number of content display functions included in the local page display module is multiple, and each content display function is used to display corresponding types. Page content information.
下面以电子书类型的网络页面为例,详细介绍本步骤的具体实现细节:The following takes the e-book type web page as an example to describe in detail the specific implementation details of this step:
电子书类型的网络页面所对应的页面内容信息主要是指网络页面中包含的实质内容。通常情况下,以CSS代码或JAVA script脚本等形式编写的网络页面中,除了包含待展现的实质内容外,还常常包含大量的用于定义实质内容的展现形式的代码。比如,对于一页包含文字和图片的电子书页面而言,文字和图片属于该页面中包含的可供用户浏览的实质内容,而用于定义文字的字体、格式、展现位置以及图片的大小、格式的代码则不属于该页面中的实质内容。相应地,用于展示电子书类型的第一类展示模块根据参数信息获取的与该网络页面相对应的页面内容信息通常包括文字和图片等实质 内容,而不包括用于定义文字和图片的展示形式的代码部分等其他与实质内容无关的部分,由此能够大幅降低第一类展示模块需要接收的数据量,进而缩短数据传输时延,提升显示速度。第一类展示模块获取到上述包含文字和图片的页面内容信息之后,通过其中包含的各个内容展示函数展示对应种类的页面内容信息。The page content information corresponding to the e-book type web page mainly refers to the substantial content contained in the web page. In general, web pages written in the form of CSS code or JAVA script scripts, in addition to containing the substance to be presented, often contain a large amount of code for defining the presentation form of the substantive content. For example, for a page of an e-book page containing text and images, the text and the image belong to the substantial content that the user can view in the page, and are used to define the font, format, presentation position, and size of the image. The formatted code does not belong to the substance of the page. Correspondingly, the page content information corresponding to the webpage that is obtained by the first type of display module for displaying the e-book type according to the parameter information generally includes substantive contents such as text and a picture, and does not include an image for defining text and a picture. The code portion of the form and other parts that are not related to the substantive content can greatly reduce the amount of data that the first type of display module needs to receive, thereby shortening the data transmission delay and improving the display speed. After the first type of display module obtains the page content information including the text and the image, the first type of display module displays the page content information of the corresponding category through each content display function included therein.
具体地,由于第一类展示模块需要展示文字和图片,因此,可以在该模块的内部设置多个用于展示文字的函数,并将用于展示文字的函数封装为一个单独的类,也叫文字类;同时,设置多个用于展示图片的函数,并将用于展示图片的函数封装为另一个单独的类,也叫图片类。其中,在文字类的内部,可以进一步按照页面属性设置如下函数:用于展示封面页的封面页函数、用于展示扉页的扉页函数、用于展示详情页的详情页函数、以及用于展示正文的正文页函数;另外,还可以在每一属性页所对应的函数中进一步设置多个子函数,例如,在正文页函数中,可以按照文字级别进一步设置如下子函数:用于展示大标题类文字的大标题函数、用于展示副标题类文字的副标题函数、用于展示正文类文字的正文类函数等。同理,在图片类的内部,也可以进一步设置如下函数:用于展示JPG类型的图片的第一类格式处理函数、用于展示BMP类型的图片的第二类格式处理函数、用于展示图片大小大于预设的数据阈值的第一类阈值处理函数、以及用于展示图片大小不大于预设的数据阈值的第二类阈值处理函数等。Specifically, since the first type of display module needs to display text and images, a plurality of functions for displaying text can be set inside the module, and the function for displaying the text is encapsulated into a separate class, also called Text class; at the same time, set up multiple functions for displaying images, and wrap the function used to display the image as a separate class, also called a picture class. In the text class, you can further set the following functions according to the page properties: the cover page function for displaying the cover page, the page function for displaying the title page, the detail page function for displaying the detail page, and the text for displaying the text. The text page function; in addition, a plurality of sub-functions may be further set in the function corresponding to each property page. For example, in the body page function, the following sub-function may be further set according to the text level: for displaying the headline class text The headline function, the subtitle function for displaying subtitle text, and the body function for displaying text in the body. Similarly, in the picture class, the following functions can be further set up: a first type of format processing function for displaying a picture of a JPG type, a second type of format processing function for displaying a picture of a BMP type, for displaying a picture A first type of threshold processing function having a size greater than a preset data threshold, and a second type of threshold processing function for displaying a picture size not greater than a preset data threshold.
另外,其他类型的网络页面及其对应的本地页面展示模块的处理方式类似,此处不再赘述。总之,在本地页面展示模块的各个函数的内部预先设置有相应种类的页面内容信息的展示规则,因此,在本实施例中,本地页面展示模块无需获取网络页面中用于定义展示规则的代码部分,即可将获取到的页面内容信息按照该模块内部预设的展示规则进行展示,在提高展示速度的同时,也便于为多种内容分别设置不同的展示形式,提升了展示效果的多样性。并且,由于在一个本地页面展示模块的内部预先定义了该模块能够处理的各个种类的内容信息的展示形式,因此,本地页面展示模块具有很强的通用性,只需获取到待展示的网络页面的页面内容信息,即可利用其内部预设的函数快速展示与该网络页面相对应的本地化页面,从而实现了对应类型的 全部网络页面的快速展示。In addition, other types of web pages and their corresponding local page display modules are handled in a similar manner, and are not described here. In summary, the display rules of the corresponding types of page content information are preset in the internal functions of the local page display module. Therefore, in this embodiment, the local page display module does not need to obtain the code portion of the web page for defining the display rules. The content information of the obtained page can be displayed according to the preset display rules of the module. While improving the display speed, it is also convenient to set different display forms for various contents, thereby improving the diversity of display effects. Moreover, since the display form of each type of content information that the module can process is predefined in the interior of a local page display module, the local page display module has strong versatility, and only needs to obtain the web page to be displayed. The page content information can be used to quickly display the localized page corresponding to the web page by using its internal preset function, thereby realizing the rapid display of all web pages of the corresponding type.
并且,本地页面展示模块通过本地化代码展示与页面内容信息相对应的本地化页面时,还可以进一步通过该本地化代码对页面内容信息进行缓存,根据缓存结果展示相应的本地化页面。经缓存后,能够使展示的内容更加平滑,避免了因网速波动而造成的内容抖动等现象,为用户的高品质阅读提供了保障。另外,由于本地页面展示模块是以本地化代码的形式实现本地化页面展示,因此,便于利用硬件提供的各种新颖功能,能够实现更好的动态效果。Moreover, when the local page display module displays the localized page corresponding to the page content information by using the localization code, the localization code may further cache the page content information, and display the corresponding localized page according to the cached result. After being cached, the content of the display can be smoothed, and the phenomenon of content jitter caused by the fluctuation of the network speed is avoided, which provides a guarantee for the user's high-quality reading. In addition, since the local page display module implements localized page display in the form of localized code, it is convenient to utilize various novel functions provided by the hardware to achieve better dynamic effects.
另外,在本实施例中,还能够针对各个本地页面展示模块进行更新。通过更新操作,能够修改本地页面展示模块内部的展示规则,和/或,修正应用运行中的缺陷。例如,对于用于处理用户信息类型的网络页面的第二类展示模块而言,假设电子书应用推出了新版本,在新版本中调整了用户信息中的“我的账户”按钮的显示样式,和/或,新增了“我的浏览记录”这一按钮,相应地,可以通过与第二类展示模块相对应的更新包实现上述更新。可选地,为了不妨碍应用的正常运行,采用热更新方式进行更新。In addition, in this embodiment, it is also possible to update for each local page display module. Through the update operation, it is possible to modify the display rules inside the local page display module, and/or to correct defects in the application running. For example, for the second type of display module for processing the web page of the user information type, it is assumed that the e-book application has introduced a new version, and the display style of the "My Account" button in the user information is adjusted in the new version. And/or, the "My Browsing History" button has been added, and accordingly, the above update can be implemented by an update package corresponding to the second type of presentation module. Optionally, in order not to hinder the normal operation of the application, the update is performed by using a hot update method.
具体地,在本实施例中,将待展示的网络页面的统一资源定位符中包含的参数信息提供给本地页面展示模块的步骤之前,进一步包括步骤:判断本地页面展示模块的版本是否需要更新,若是,通过热更新方式对本地页面展示模块的版本进行更新。具体实施时,可以在每次将待展示的网络页面的统一资源定位符中包含的参数信息提供给本地页面展示模块时,判断对应的本地页面展示模块是否需要更新;或者,也可以在应用启动后,向服务器请求各个本地页面展示模块的版本信息;判断服务器返回的版本信息与本地存储的各个本地页面展示模块的版本信息是否一致,若否,则确定本地页面展示模块的版本需要更新,下载并安装对应的更新包。Specifically, in this embodiment, before the step of providing the parameter information included in the uniform resource locator of the network page to be displayed to the local page display module, the method further includes the steps of: determining whether the version of the local page display module needs to be updated, If so, the version of the local page display module is updated by hot update. In a specific implementation, each time the parameter information included in the uniform resource locator of the web page to be displayed is provided to the local page display module, it is determined whether the corresponding local page display module needs to be updated; or, the application may be started. After that, the server requests the version information of each local page display module; determines whether the version information returned by the server is consistent with the version information of each local page display module stored locally, and if not, determines that the version of the local page display module needs to be updated, and downloads And install the corresponding update package.
另外,通过上述热更新的方式不仅能够针对已有的各个本地页面展示模块进行更新,而且,还能够通过更新增加新的本地页面展示模块。例如,若新版电子书应用中新增了一个功能模块,则可以针对该功能模块对应的显示页面新建对应的本地页面展示模块,并通过上述热更新的方式将新建的本地页面展示模块加载到应用中。In addition, the hot update method can not only update the existing local page display modules, but also add a new local page display module through the update. For example, if a new function module is added to the new e-book application, a corresponding local page display module can be newly created for the display page corresponding to the function module, and the newly created local page display module is loaded into the application by the above hot update method. in.
综上可知,本公开提供的上述方式能够方便快捷地实现从网络页面到本地化页面(也叫原生页面)的转换。具体地,预先根据各种类型的网络页面的特点分别设置了多个不同的本地页面展示模块,并且,利用路由控制模块为每个待展示的网络页面确定相应的本地页面展示模块,由各个本地页面展示模块实现对应类型的网络页面的本地化过程。该方式不仅能够应用于在原生应用中将来源于互联网的页面转换为本地化页面;也可以应用于在网页应用中将来源于互联网的页面转换为本地化页面,从而实现高品质的展示效果。In summary, the above-described manner provided by the present disclosure can realize the conversion from a web page to a localized page (also called a native page) conveniently and quickly. Specifically, a plurality of different local page display modules are separately set according to the characteristics of various types of network pages, and a corresponding local page display module is determined for each web page to be displayed by using a routing control module, where each local The page display module implements the localization process of the corresponding type of web page. This method can be applied not only to converting a page derived from the Internet into a localized page in a native application, but also to converting a page derived from the Internet into a localized page in a web application, thereby achieving a high-quality display effect.
实施例三Embodiment 3
本公开实施例三提供了一种非易失性计算机可读存储介质,该非易失性计算机可读存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的页面展示方法。A third embodiment of the present disclosure provides a non-transitory computer readable storage medium storing at least one executable instruction executable in any of the above method embodiments Page display method.
可执行指令具体可以用于使得处理器执行以下操作:获取待展示的网络页面的统一资源定位符,根据统一资源定位符确定对应的本地页面展示模块;The executable instruction may be specifically configured to enable the processor to: obtain a uniform resource locator of the network page to be displayed, and determine a corresponding local page display module according to the uniform resource locator;
将统一资源定位符中包含的参数信息提供给本地页面展示模块,以供本地页面展示模块根据参数信息展示与网络页面相对应的本地化页面。The parameter information included in the uniform resource locator is provided to the local page display module, so that the local page display module displays the localized page corresponding to the web page according to the parameter information.
在一种可选的方式中,可执行指令进一步使处理器执行以下操作:In an alternative manner, the executable instructions further cause the processor to:
预先根据待展示的网络页面的类型设置多个本地页面展示模块;其中,每个本地页面展示模块分别用于展示对应类型的网络页面;以及,Setting a plurality of local page display modules according to the type of the web page to be displayed in advance; wherein each local page display module is respectively used to display a corresponding type of web page; and,
将每个本地页面展示模块的模块标识与对应类型的网络页面的统一资源定位符中包含的特征字段的映射关系存储到预设的映射表中;其中,网络页面的统一资源定位符中包含的特征字段用于确定网络页面的类型;The mapping relationship between the module identifier of each local page display module and the feature field included in the uniform resource locator of the corresponding type of network page is stored in a preset mapping table, where the uniform resource locator of the network page is included The feature field is used to determine the type of the web page;
获取统一资源定位符中包含的特征字段,根据映射表确定与特征字段对应的本地页面展示模块的模块标识。Obtaining a feature field included in the uniform resource locator, and determining, according to the mapping table, a module identifier of the local page display module corresponding to the feature field.
在一种可选的方式中,特征字段包括:统一资源定位符中包含的用于确定资源存储路径的字段;且待展示的网络页面的类型包括以下中的至少一 个:电子书类型、用户信息类型、应用中的预设功能类型;In an optional manner, the feature field includes: a field included in the uniform resource locator for determining a resource storage path; and the type of the network page to be displayed includes at least one of the following: an e-book type, user information Type, the type of preset function in the application;
本地页面展示模块包括以下中的至少一个:用于展示电子书的第一类展示模块、用于展示用户信息的第二类展示模块、用于展示应用中的预设功能的第三类展示模块。The local page display module includes at least one of the following: a first type of display module for displaying an e-book, a second type of display module for displaying user information, and a third type of display module for displaying preset functions in the application. .
在一种可选的方式中,可执行指令具体使处理器执行以下操作:In an alternative manner, the executable instructions specifically cause the processor to:
本地页面展示模块根据参数信息获取与网络页面相对应的页面内容信息;The local page display module acquires page content information corresponding to the web page according to the parameter information;
通过本地页面展示模块中预设的内容展示规则生成并展示与页面内容信息相对应的本地化页面。The localized page corresponding to the page content information is generated and displayed by the content display rule preset in the local page display module.
在一种可选的方式中,本地页面展示模块中预设的内容展示规则通过至少一个内容展示函数定义;可执行指令具体使处理器执行以下操作:通过内容展示函数调用与页面内容信息相对应的本地化代码,通过本地化代码展示与页面内容信息相对应的本地化页面。In an optional manner, the content display rule preset in the local page display module is defined by at least one content display function; the executable instruction specifically causes the processor to perform the following operations: corresponding to the page content information by the content display function call The localization code that exposes the localized page corresponding to the page content information through the localization code.
在一种可选的方式中,页面内容信息的种类包括多种;且本地页面展示模块中包含的内容展示函数的数量为多个,各个内容展示函数分别用于展示对应种类的页面内容信息。In an optional manner, the type of the page content information includes multiple types, and the number of the content display functions included in the local page display module is multiple, and each content display function is used to display the page content information of the corresponding category.
在一种可选的方式中,可执行指令具体使处理器执行以下操作:通过本地化代码对页面内容信息进行缓存,根据缓存结果展示本地化页面。In an alternative manner, the executable instructions specifically cause the processor to: cache the page content information by localizing the code, and display the localized page based on the cached result.
在一种可选的方式中,可执行指令还使处理器执行以下操作:将待展示的网络页面的统一资源定位符中包含的参数信息提供给本地页面展示模块之前,判断本地页面展示模块的版本是否需要更新,若是,通过热更新方式对本地页面展示模块的版本进行更新。In an optional manner, the executable instruction further causes the processor to: determine the parameter of the local page display module before providing the parameter information included in the uniform resource locator of the web page to be displayed to the local page display module Whether the version needs to be updated, and if so, the version of the local page display module is updated by hot update.
在一种可选的方式中,可执行指令具体使处理器执行以下操作:当应用启动后,向服务器请求本地页面展示模块的版本信息;In an optional manner, the executable instruction specifically causes the processor to perform the following operations: after the application is started, requesting, by the server, version information of the local page display module;
判断服务器返回的版本信息与本地存储的本地页面展示模块的版本信息是否一致,若否,则确定本地页面展示模块的版本需要更新。It is determined whether the version information returned by the server is consistent with the version information of the locally stored local page display module. If not, it is determined that the version of the local page display module needs to be updated.
实施例四Embodiment 4
图3示出了根据本公开实施例四的一种电子设备的结构示意图,本公开具体实施例并不对电子设备的具体实现做限定。FIG. 3 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present disclosure, and the specific embodiment of the present disclosure does not limit the specific implementation of the electronic device.
如图3所示,该电子设备可以包括:处理器(processor)302、通信接口(Communications Interface)304、存储器(memory)306、以及通信总线308。As shown in FIG. 3, the electronic device can include a processor 302, a communications interface 304, a memory 306, and a communications bus 308.
其中:处理器302、通信接口304、以及存储器306通过通信总线308完成相互间的通信。通信接口304,用于与其它设备比如客户端或其它服务器等的网元通信。处理器302,用于执行程序310,具体可以执行上述页面展示方法实施例中的相关步骤。Wherein: the processor 302, the communication interface 304, and the memory 306 complete communication with each other via the communication bus 308. The communication interface 304 is configured to communicate with network elements of other devices, such as clients or other servers. The processor 302 is configured to execute the program 310, and specifically, the related steps in the foregoing page display method embodiment.
具体地,程序310可以包括程序代码,该程序代码包括计算机操作指令。In particular, program 310 can include program code, the program code including computer operating instructions.
处理器302可能是中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本公开实施例的一个或多个集成电路。电子设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 302 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present disclosure. The one or more processors included in the electronic device may be the same type of processor, such as one or more CPUs; or may be different types of processors, such as one or more CPUs and one or more ASICs.
存储器306,用于存放程序310。存储器306可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 306 is configured to store the program 310. Memory 306 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
程序310具体可以用于使得处理器302执行以下操作:获取待展示的网络页面的统一资源定位符,根据统一资源定位符确定对应的本地页面展示模块;The program 310 may be specifically configured to enable the processor 302 to: obtain a uniform resource locator of the network page to be displayed, and determine a corresponding local page display module according to the uniform resource locator;
将统一资源定位符中包含的参数信息提供给本地页面展示模块,以供本地页面展示模块根据参数信息展示与网络页面相对应的本地化页面。The parameter information included in the uniform resource locator is provided to the local page display module, so that the local page display module displays the localized page corresponding to the web page according to the parameter information.
在一种可选的方式中,可执行指令进一步使处理器执行以下操作:In an alternative manner, the executable instructions further cause the processor to:
预先根据待展示的网络页面的类型设置多个本地页面展示模块;其中,每个本地页面展示模块分别用于展示对应类型的网络页面;以及,Setting a plurality of local page display modules according to the type of the web page to be displayed in advance; wherein each local page display module is respectively used to display a corresponding type of web page; and,
将每个本地页面展示模块的模块标识与对应类型的网络页面的统一资源定位符中包含的特征字段的映射关系存储到预设的映射表中;其中,网络 页面的统一资源定位符中包含的特征字段用于确定网络页面的类型;The mapping relationship between the module identifier of each local page display module and the feature field included in the uniform resource locator of the corresponding type of network page is stored in a preset mapping table, where the uniform resource locator of the network page is included The feature field is used to determine the type of the web page;
获取统一资源定位符中包含的特征字段,根据映射表确定与特征字段对应的本地页面展示模块的模块标识。Obtaining a feature field included in the uniform resource locator, and determining, according to the mapping table, a module identifier of the local page display module corresponding to the feature field.
在一种可选的方式中,特征字段包括:统一资源定位符中包含的用于确定资源存储路径的字段;且待展示的网络页面的类型包括以下中的至少一个:电子书类型、用户信息类型、应用中的预设功能类型;In an optional manner, the feature field includes: a field included in the uniform resource locator for determining a resource storage path; and the type of the network page to be displayed includes at least one of the following: an e-book type, user information Type, the type of preset function in the application;
本地页面展示模块包括以下中的至少一个:用于展示电子书的第一类展示模块、用于展示用户信息的第二类展示模块、用于展示应用中的预设功能的第三类展示模块。The local page display module includes at least one of the following: a first type of display module for displaying an e-book, a second type of display module for displaying user information, and a third type of display module for displaying preset functions in the application. .
在一种可选的方式中,可执行指令具体使处理器执行以下操作:In an alternative manner, the executable instructions specifically cause the processor to:
本地页面展示模块根据参数信息获取与网络页面相对应的页面内容信息;The local page display module acquires page content information corresponding to the web page according to the parameter information;
通过本地页面展示模块中预设的内容展示规则生成并展示与页面内容信息相对应的本地化页面。The localized page corresponding to the page content information is generated and displayed by the content display rule preset in the local page display module.
在一种可选的方式中,本地页面展示模块中预设的内容展示规则通过至少一个内容展示函数定义;可执行指令具体使处理器执行以下操作:通过内容展示函数调用与页面内容信息相对应的本地化代码,通过本地化代码展示与页面内容信息相对应的本地化页面。In an optional manner, the content display rule preset in the local page display module is defined by at least one content display function; the executable instruction specifically causes the processor to perform the following operations: corresponding to the page content information by the content display function call The localization code that exposes the localized page corresponding to the page content information through the localization code.
在一种可选的方式中,页面内容信息的种类包括多种;且本地页面展示模块中包含的内容展示函数的数量为多个,各个内容展示函数分别用于展示对应种类的页面内容信息。In an optional manner, the type of the page content information includes multiple types, and the number of the content display functions included in the local page display module is multiple, and each content display function is used to display the page content information of the corresponding category.
在一种可选的方式中,可执行指令具体使处理器执行以下操作:通过本地化代码对页面内容信息进行缓存,根据缓存结果展示本地化页面。In an alternative manner, the executable instructions specifically cause the processor to: cache the page content information by localizing the code, and display the localized page based on the cached result.
在一种可选的方式中,可执行指令还使处理器执行以下操作:将待展示的网络页面的统一资源定位符中包含的参数信息提供给本地页面展示模块之前,判断本地页面展示模块的版本是否需要更新,若是,通过热更新方式对本地页面展示模块的版本进行更新。In an optional manner, the executable instruction further causes the processor to: determine the parameter of the local page display module before providing the parameter information included in the uniform resource locator of the web page to be displayed to the local page display module Whether the version needs to be updated, and if so, the version of the local page display module is updated by hot update.
在一种可选的方式中,可执行指令具体使处理器执行以下操作:当应用 启动后,向服务器请求本地页面展示模块的版本信息;In an optional manner, the executable instruction specifically causes the processor to perform the following operations: after the application is started, requesting, by the server, version information of the local page display module;
判断服务器返回的版本信息与本地存储的本地页面展示模块的版本信息是否一致,若否,则确定本地页面展示模块的版本需要更新。It is determined whether the version information returned by the server is consistent with the version information of the locally stored local page display module. If not, it is determined that the version of the local page display module needs to be updated.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本公开也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本公开的内容,并且上面对特定语言所做的描述是为了披露本公开的最佳实施方式。The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general purpose systems can also be used with the teaching based on the teachings herein. The structure required to construct such a system is apparent from the above description. Moreover, the present disclosure is not directed to any particular programming language. It is to be understood that the subject matter of the present disclosure, which is described herein, may be described in a particular language.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本公开的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the present disclosure may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the description.
类似地,应当理解,为了精简本公开并帮助理解各个公开方面中的一个或多个,在上面对本公开的示例性实施例的描述中,本公开的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本公开要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,公开方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本公开的单独实施例。In the description of the exemplary embodiments of the present disclosure, the various features of the present disclosure are sometimes grouped together into a single embodiment, Figure, or a description of it. However, the method disclosed is not to be interpreted as reflecting the intention that the claimed invention requires more features than those recited in the claims. Rather, as disclosed in the following claims, the disclosed aspects are less than all features of the single embodiments disclosed herein. Therefore, the claims following the specific embodiments are hereby explicitly incorporated into the specific embodiments, and each of the claims as a separate embodiment of the present disclosure.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will appreciate that the modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components. In addition to such features and/or at least some of the processes or units being mutually exclusive, any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined. Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其 它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本公开的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features that are included in other embodiments and not in other features, combinations of features of different embodiments are intended to be within the scope of the present disclosure. Different embodiments are formed and formed. For example, in the following claims, any one of the claimed embodiments can be used in any combination.
应该注意的是上述实施例对本公开进行说明而不是对本公开进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本公开可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-described embodiments are illustrative of the present disclosure and are not intended to limit the scope of the disclosure, and those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as a limitation. The word "comprising" does not exclude the presence of the elements or steps that are not recited in the claims. The word "a" or "an" The present disclosure can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item. The use of the words first, second, and third does not indicate any order. These words can be interpreted as names.

Claims (20)

  1. 一种页面展示方法,其包括:A page display method comprising:
    获取待展示的网络页面的统一资源定位符,根据所述统一资源定位符确定对应的本地页面展示模块;Obtaining a uniform resource locator of the web page to be displayed, and determining a corresponding local page display module according to the uniform resource locator;
    将所述统一资源定位符中包含的参数信息提供给所述本地页面展示模块,以供所述本地页面展示模块根据所述参数信息展示与所述网络页面相对应的本地化页面。Providing the parameter information included in the uniform resource locator to the local page display module, so that the local page display module displays a localized page corresponding to the web page according to the parameter information.
  2. 根据权利要求1所述的方法,其中,所述根据所述统一资源定位符确定对应的本地页面展示模块的步骤之前,进一步包括步骤:The method of claim 1, wherein the step of determining the corresponding local page display module according to the uniform resource locator further comprises the steps of:
    预先根据待展示的网络页面的类型设置多个本地页面展示模块;其中,每个本地页面展示模块分别用于展示对应类型的网络页面;以及,Setting a plurality of local page display modules according to the type of the web page to be displayed in advance; wherein each local page display module is respectively used to display a corresponding type of web page; and,
    将每个本地页面展示模块的模块标识与对应类型的网络页面的统一资源定位符中包含的特征字段的映射关系存储到预设的映射表中;其中,网络页面的统一资源定位符中包含的特征字段用于确定网络页面的类型;The mapping relationship between the module identifier of each local page display module and the feature field included in the uniform resource locator of the corresponding type of network page is stored in a preset mapping table, where the uniform resource locator of the network page is included The feature field is used to determine the type of the web page;
    则所述根据所述统一资源定位符确定对应的本地页面展示模块的步骤具体包括:The step of determining the corresponding local page display module according to the uniform resource locator specifically includes:
    获取所述统一资源定位符中包含的特征字段,根据所述映射表确定与所述特征字段对应的本地页面展示模块的模块标识。Obtaining a feature field included in the uniform resource locator, and determining, according to the mapping table, a module identifier of a local page display module corresponding to the feature field.
  3. 根据权利要求1或2所述的方法,其中,所述特征字段包括:统一资源定位符中包含的用于确定资源存储路径的字段;且所述待展示的网络页面的类型包括以下中的至少一个:电子书类型、用户信息类型、应用中的预设功能类型;The method according to claim 1 or 2, wherein the feature field comprises: a field included in the uniform resource locator for determining a resource storage path; and the type of the network page to be displayed includes at least One: e-book type, user information type, preset function type in the application;
    所述本地页面展示模块包括以下中的至少一个:用于展示电子书的第一类展示模块、用于展示用户信息的第二类展示模块、用于展示应用中的预设功能的第三类展示模块。The local page display module includes at least one of: a first type of display module for displaying an e-book, a second type of display module for displaying user information, and a third class for displaying preset functions in the application. Display module.
  4. 根据权利要求1-3任一所述的方法,其中,所述本地页面展示模块根据所述参数信息展示与所述网络页面相对应的本地化页面的步骤具体包括:The method according to any one of claims 1-3, wherein the step of displaying, by the local page display module, the localized page corresponding to the web page according to the parameter information comprises:
    所述本地页面展示模块根据所述参数信息获取与所述网络页面相对应的页面内容信息;The local page display module acquires page content information corresponding to the web page according to the parameter information;
    通过所述本地页面展示模块中预设的内容展示规则生成并展示与所述页面内容信息相对应的本地化页面。A localized page corresponding to the page content information is generated and displayed by a content display rule preset in the local page display module.
  5. 根据权利要求4所述的方法,其中,所述本地页面展示模块中预设的内容展示规则通过至少一个内容展示函数定义;则通过所述本地页面展示模块中预设的内容展示规则生成并展示与所述页面内容信息相对应的本地化页面的步骤具体包括:The method according to claim 4, wherein the content display rule preset in the local page display module is defined by at least one content display function; and generated and displayed by the content display rule preset in the local page display module The step of localizing the page corresponding to the page content information specifically includes:
    通过所述内容展示函数调用与所述页面内容信息相对应的本地化代码,通过所述本地化代码展示与所述页面内容信息相对应的本地化页面。A localization code corresponding to the page content information is invoked by the content presentation function, and a localized page corresponding to the page content information is displayed by the localization code.
  6. 根据权利要求5所述的方法,其中,所述页面内容信息的种类包括多种;且所述本地页面展示模块中包含的内容展示函数的数量为多个,各个内容展示函数分别用于展示对应种类的页面内容信息。The method according to claim 5, wherein the type of the page content information comprises a plurality of types; and the number of content display functions included in the local page display module is plural, and each content display function is respectively used to display the corresponding Type of page content information.
  7. 根据权利要求4-6任一所述的方法,其中,所述通过所述本地化代码展示与所述页面内容信息相对应的本地化页面的步骤具体包括:通过所述本地化代码对所述页面内容信息进行缓存,根据缓存结果展示所述本地化页面。The method according to any one of claims 4-6, wherein the step of displaying the localized page corresponding to the page content information by the localization code comprises: the pairing by the localization code The page content information is cached, and the localized page is displayed according to the cached result.
  8. 根据权利要求1-7任一所述的方法,其中,所述将待展示的网络页面的统一资源定位符中包含的参数信息提供给所述本地页面展示模块的步骤之前,进一步包括步骤:The method according to any one of claims 1 to 7, wherein before the step of providing the parameter information included in the uniform resource locator of the web page to be displayed to the local page display module, the method further comprises the steps of:
    判断所述本地页面展示模块的版本是否需要更新,若是,通过热更新方式对所述本地页面展示模块的版本进行更新。Determining whether the version of the local page display module needs to be updated, and if so, updating the version of the local page display module by a hot update method.
  9. 根据权利要求8所述的方法,其中,所述判断所述本地页面展示模块的版本是否需要更新的步骤具体包括:The method of claim 8, wherein the step of determining whether the version of the local page display module needs to be updated comprises:
    当所述应用启动后,向服务器请求所述本地页面展示模块的版本信息;After the application is started, requesting, by the server, version information of the local page display module;
    判断服务器返回的版本信息与本地存储的本地页面展示模块的版本信息是否一致,若否,则确定所述本地页面展示模块的版本需要更新。It is determined whether the version information returned by the server is consistent with the version information of the locally stored local page display module. If not, it is determined that the version of the local page display module needs to be updated.
  10. 一种电子设备,包括:处理器、存储器、通信接口和通信总线,所 述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;An electronic device comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface complete communication with each other through the communication bus;
    所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行以下操作:The memory is for storing at least one executable instruction that causes the processor to perform the following operations:
    获取待展示的网络页面的统一资源定位符,根据所述统一资源定位符确定对应的本地页面展示模块;Obtaining a uniform resource locator of the web page to be displayed, and determining a corresponding local page display module according to the uniform resource locator;
    将所述统一资源定位符中包含的参数信息提供给所述本地页面展示模块,以供所述本地页面展示模块根据所述参数信息展示与所述网络页面相对应的本地化页面。Providing the parameter information included in the uniform resource locator to the local page display module, so that the local page display module displays a localized page corresponding to the web page according to the parameter information.
  11. 根据权利要求10所述的电子设备,所述可执行指令进一步使所述处理器执行以下操作:The electronic device of claim 10, the executable instructions further causing the processor to:
    预先根据待展示的网络页面的类型设置多个本地页面展示模块;其中,每个本地页面展示模块分别用于展示对应类型的网络页面;以及,Setting a plurality of local page display modules according to the type of the web page to be displayed in advance; wherein each local page display module is respectively used to display a corresponding type of web page; and,
    将每个本地页面展示模块的模块标识与对应类型的网络页面的统一资源定位符中包含的特征字段的映射关系存储到预设的映射表中;其中,网络页面的统一资源定位符中包含的特征字段用于确定网络页面的类型;The mapping relationship between the module identifier of each local page display module and the feature field included in the uniform resource locator of the corresponding type of network page is stored in a preset mapping table, where the uniform resource locator of the network page is included The feature field is used to determine the type of the web page;
    获取所述统一资源定位符中包含的特征字段,根据所述映射表确定与所述特征字段对应的本地页面展示模块的模块标识。Obtaining a feature field included in the uniform resource locator, and determining, according to the mapping table, a module identifier of a local page display module corresponding to the feature field.
  12. 根据权利要求10或11所述的电子设备,其中,所述特征字段包括:统一资源定位符中包含的用于确定资源存储路径的字段;且所述待展示的网络页面的类型包括以下中的至少一个:电子书类型、用户信息类型、应用中的预设功能类型;The electronic device according to claim 10 or 11, wherein the feature field comprises: a field included in the uniform resource locator for determining a resource storage path; and the type of the network page to be displayed includes the following At least one: e-book type, user information type, preset function type in the application;
    所述本地页面展示模块包括以下中的至少一个:用于展示电子书的第一类展示模块、用于展示用户信息的第二类展示模块、用于展示应用中的预设功能的第三类展示模块。The local page display module includes at least one of: a first type of display module for displaying an e-book, a second type of display module for displaying user information, and a third class for displaying preset functions in the application. Display module.
  13. 根据权利要求10-12任一所述的电子设备,其中,所述可执行指令具体使所述处理器执行以下操作:The electronic device of any of claims 10-12, wherein the executable instructions specifically cause the processor to:
    所述本地页面展示模块根据所述参数信息获取与所述网络页面相对应 的页面内容信息;The local page display module acquires page content information corresponding to the web page according to the parameter information;
    通过所述本地页面展示模块中预设的内容展示规则生成并展示与所述页面内容信息相对应的本地化页面。A localized page corresponding to the page content information is generated and displayed by a content display rule preset in the local page display module.
  14. 根据权利要求13所述的电子设备,所述本地页面展示模块中预设的内容展示规则通过至少一个内容展示函数定义;所述可执行指令具体使所述处理器执行以下操作:通过所述内容展示函数调用与所述页面内容信息相对应的本地化代码,通过所述本地化代码展示与所述页面内容信息相对应的本地化页面。The electronic device of claim 13, wherein the content presentation rule preset in the local page display module is defined by at least one content presentation function; the executable instruction specifically causing the processor to perform the operation of: The presentation function calls a localization code corresponding to the page content information, and the localization page corresponding to the page content information is displayed by the localization code.
  15. 根据权利要求14所述的电子设备,其中,所述页面内容信息的种类包括多种;且所述本地页面展示模块中包含的内容展示函数的数量为多个,各个内容展示函数分别用于展示对应种类的页面内容信息。The electronic device according to claim 14, wherein the type of the page content information comprises a plurality of types; and the number of content display functions included in the local page display module is plural, and each content display function is separately used for displaying Corresponding type of page content information.
  16. 根据权利要求13-15任一所述的电子设备,其中,所述可执行指令具体使所述处理器执行以下操作:通过所述本地化代码对所述页面内容信息进行缓存,根据缓存结果展示所述本地化页面。The electronic device of any of claims 13-15, wherein the executable instructions specifically cause the processor to: cache the page content information by the localization code, and display the cached result The localized page.
  17. 根据权利要求10-16任一所述的电子设备,所述可执行指令还使所述处理器执行以下操作:将待展示的网络页面的统一资源定位符中包含的参数信息提供给所述本地页面展示模块之前,判断所述本地页面展示模块的版本是否需要更新,若是,通过热更新方式对所述本地页面展示模块的版本进行更新。The electronic device according to any one of claims 10-16, wherein the executable instructions further cause the processor to: provide parameter information included in a uniform resource locator of a web page to be displayed to the local device Before the page display module, it is determined whether the version of the local page display module needs to be updated, and if so, the version of the local page display module is updated by a hot update method.
  18. 根据权利要求17所述的电子设备,所述可执行指令具体使所述处理器执行以下操作:当所述应用启动后,向服务器请求所述本地页面展示模块的版本信息;The electronic device according to claim 17, wherein the executable instruction specifically causes the processor to: after the application is started, request version information of the local page display module from a server;
    判断服务器返回的版本信息与本地存储的本地页面展示模块的版本信息是否一致,若否,则确定所述本地页面展示模块的版本需要更新。It is determined whether the version information returned by the server is consistent with the version information of the locally stored local page display module. If not, it is determined that the version of the local page display module needs to be updated.
  19. 一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质中存储有至少一可执行指令,所述可执行指令用于使该计算机执行前述任一权利要求1-9所述的页面展示方法。A non-transitory computer readable storage medium having stored therein at least one executable instruction for causing the computer to perform any of the preceding claims The page display method described in 9.
  20. 一种计算机程序产品,该计算机程序产品包括存储在非易失性计算机可读存储介质上的计算程序,该计算机程序包括程序指令,当该程序指令被计算机执行时,使该计算机执行前述任一权利要求1-9所述的页面展示方法。A computer program product comprising a computing program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when executed by a computer, causing the computer to perform any of the foregoing The page display method of claims 1-9.
PCT/CN2018/081151 2017-08-03 2018-03-29 Page presentation method, electronic device and non-volatile computer readable storage medium WO2019024520A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710655584.XA CN107451270B (en) 2017-08-03 2017-08-03 Page display method, electronic equipment and computer storage media
CN201710655584.X 2017-08-03

Publications (1)

Publication Number Publication Date
WO2019024520A1 true WO2019024520A1 (en) 2019-02-07

Family

ID=60489904

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/081151 WO2019024520A1 (en) 2017-08-03 2018-03-29 Page presentation method, electronic device and non-volatile computer readable storage medium

Country Status (2)

Country Link
CN (1) CN107451270B (en)
WO (1) WO2019024520A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451270B (en) * 2017-08-03 2018-07-20 掌阅科技股份有限公司 Page display method, electronic equipment and computer storage media
CN108334379A (en) * 2018-01-05 2018-07-27 北京明略软件系统有限公司 A kind of implementation method and realization device of page expansion function
CN109086442B (en) * 2018-08-16 2021-07-06 口口相传(北京)网络技术有限公司 Business data display method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819591A (en) * 2012-08-07 2012-12-12 北京网康科技有限公司 Content-based web page classification method and system
CN103970760A (en) * 2013-01-28 2014-08-06 腾讯科技(深圳)有限公司 Webpage request handling method and device
CN107451270A (en) * 2017-08-03 2017-12-08 掌阅科技股份有限公司 Page display method, electronic equipment and computer-readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163206B (en) * 2011-01-30 2013-05-01 青岛海信传媒网络技术有限公司 Method and system for loading pages
CN103309996A (en) * 2013-06-21 2013-09-18 宇龙计算机通信科技(深圳)有限公司 Webpage content processing method and device
US9569522B2 (en) * 2014-06-04 2017-02-14 International Business Machines Corporation Classifying uniform resource locators
CN104182229A (en) * 2014-08-21 2014-12-03 乐视网信息技术(北京)股份有限公司 Callback display method and device and callback method and device
CN105574049B (en) * 2014-10-30 2020-07-03 阿里巴巴集团控股有限公司 Page processing method, device and system for mobile application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819591A (en) * 2012-08-07 2012-12-12 北京网康科技有限公司 Content-based web page classification method and system
CN103970760A (en) * 2013-01-28 2014-08-06 腾讯科技(深圳)有限公司 Webpage request handling method and device
CN107451270A (en) * 2017-08-03 2017-12-08 掌阅科技股份有限公司 Page display method, electronic equipment and computer-readable storage medium

Also Published As

Publication number Publication date
CN107451270A (en) 2017-12-08
CN107451270B (en) 2018-07-20

Similar Documents

Publication Publication Date Title
WO2021139127A1 (en) Method and apparatus for running mini program, electronic device, and storage medium
KR101824222B1 (en) Fast rendering of websites containing dynamic content and stale content
WO2017036309A1 (en) Page rendering method, device and apparatus
WO2016192556A1 (en) Interface invoking method, device and terminal
CN109388766B (en) Page loading method and device
US20190334872A1 (en) Advertisement interception method, terminal device and storage medium
JP6114834B2 (en) Information presentation method, apparatus, program, and recording medium
US8656265B1 (en) Low-latency transition into embedded web view
US9178934B1 (en) Modifying web content at a client
US9509764B1 (en) Updating cached web content
WO2018161813A1 (en) Resource loading method and device
CN106294658B (en) Webpage quick display method and device
US10146750B2 (en) Method, apparatus, terminal, and storage medium for image processing
WO2018176960A1 (en) Network picture displaying method, device and user terminal
US9967370B2 (en) OData enabled mobile software applications
US8516041B1 (en) Pre-fetching asynchronously requested content
US10467790B2 (en) On-demand image spriting
WO2019024520A1 (en) Page presentation method, electronic device and non-volatile computer readable storage medium
US20190080017A1 (en) Method, system, and device that invokes a web engine
US10594764B2 (en) Request cache to improve web applications performance
WO2020024399A1 (en) Page rendering method and apparatus, computer device, and storage medium
US9292252B2 (en) Methods and apparatus for voiced-enabling a web application
US7937715B2 (en) Mechanism for generating dynamic content without a web server
CN111079048A (en) Page loading method and device
US11570280B2 (en) Systems and methods for rendering interactive web pages

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18842252

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04.06.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18842252

Country of ref document: EP

Kind code of ref document: A1