WO2019157894A1 - 应用页面的显示方法、装置、存储介质及电子设备 - Google Patents

应用页面的显示方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2019157894A1
WO2019157894A1 PCT/CN2019/071439 CN2019071439W WO2019157894A1 WO 2019157894 A1 WO2019157894 A1 WO 2019157894A1 CN 2019071439 W CN2019071439 W CN 2019071439W WO 2019157894 A1 WO2019157894 A1 WO 2019157894A1
Authority
WO
WIPO (PCT)
Prior art keywords
link information
configuration file
page
link
target application
Prior art date
Application number
PCT/CN2019/071439
Other languages
English (en)
French (fr)
Inventor
周伟达
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019157894A1 publication Critical patent/WO2019157894A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72445User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting Internet browser applications
    • 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/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Definitions

  • the present application relates to the field of electronic device technologies, and in particular, to a method, an apparatus, a storage medium, and an electronic device for displaying an application page.
  • the storage space occupied by each application is also larger and larger.
  • the specified entry of the application can be set on the browser.
  • the smart phone can retrieve the configuration file of the application through the network, load and run the configuration file, and display the application page.
  • the user needs to download the configuration file of the application through the network, and wait for the download to complete, then load and run the configuration file, which causes the application page to be jammed during the loading process.
  • Application pages are less efficient to display.
  • the embodiment of the present application provides a display method, an apparatus, a storage medium, and an electronic device of an application page, which can improve display efficiency of an application page.
  • a display method of an application page is provided in an electronic device, which includes:
  • Extracting the link of the browsing page extracting the link information in the browsing page
  • the configuration file is cached in the cache space.
  • the embodiment of the present application provides a display device for an application page, including:
  • An extracting unit configured to perform link extraction on the browsing page, and extract link information in the browsing page
  • a determining unit configured to analyze the link information, and determine a target application identifier associated with the link information
  • transceiver unit configured to send the target application identifier to the configuration server, and receive a configuration file returned by the configuration server according to the target application identifier
  • a cache unit configured to cache the configuration file in a cache space.
  • the storage medium provided by the embodiment of the present application has a computer program stored thereon, and when the computer program is run on a computer, the computer is configured to execute the display method of the application page provided by any embodiment of the present application. .
  • an electronic device provided by an embodiment of the present application includes a processor and a memory, where the memory has a computer program, and the processor is configured to perform the steps by calling the computer program:
  • Extracting the link of the browsing page extracting the link information in the browsing page
  • the configuration file is cached in the cache space.
  • FIG. 1 is a schematic diagram of an implementation environment of a display method of an application page according to an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a method for displaying an application page according to an embodiment of the present application.
  • FIG. 3 is another schematic flowchart of a method for displaying an application page according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a display device of an application page according to an embodiment of the present application.
  • FIG. 5 is another schematic structural diagram of a display device of an application page according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 7 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the embodiment of the present application provides a display method of an application page
  • the execution body of the display method of the application page may be a display device of an application page provided by the embodiment of the present application, or an electronic device integrated with the display device of the application page, where The display device of the application page can be implemented by hardware or software.
  • the electronic device may be a device such as a smart phone, a tablet computer, a palmtop computer, a notebook computer, or a desktop computer.
  • FIG. 1 is a schematic diagram of an implementation environment of a method for displaying an application page according to an embodiment of the present application.
  • the implementation environment includes a smart phone 10 , a communication network 20 , and a server 30 .
  • the operating system of the smartphone 10 can be an Android system, a Symbian system, an Apple system, or the like.
  • the smartphone 10 and the server 30 are connected by a communication network 20.
  • the communication network 20 includes a wireless network and a wired network.
  • the wireless network includes a combination of one or more of a wireless wide area network, a wireless local area network, a wireless metropolitan area network, and a wireless personal network.
  • the server 30 stores a configuration file of an application, the configuration file includes data and running logic required to run the application, and global configuration information indicating which page elements the application is composed of, including a window background for configuring the application page. Color, configure navigation bar styles, configure default titles, and more.
  • the smart phone 10 can obtain the configuration file of the application from the server 30, and generate and display the original page of the application according to the configuration file. It should be understood that the native page can also be commonly referred to as “fast application”, so that the application is not installed. Under the premise, the running of the application, the data required for the application running can be obtained from the server 30 immediately.
  • the server 30 can also perform an update operation on the application's configuration file to provide the smartphone 10 with the updated configuration file.
  • the server 30 may also store an installation file of the application, and the smart phone 10 may also obtain an installation file of the application from the server 30, and completely run the application by installing the installation file. It is easily conceivable that the server 30 can also update the installation files of the application to provide the updated installation files for the smartphone 10.
  • the embodiment of the invention provides a display method of an application page, including:
  • Extracting the link of the browsing page extracting the link information in the browsing page
  • the configuration file is cached in the cache space.
  • the step of extracting the link page and extracting the link information in the browse page may include: extracting the link in the text in the browse page, extracting the link information in the text; and/ Or extract the link in the image on the browsing page, and extract the link information in the image.
  • the step of analyzing the link information and determining the target application identifier associated with the link information may include: acquiring a link relationship table, where the link relationship table includes each link information and a corresponding associated target application identifier. Correlation relationship; matching the link information to the link relationship table, and determining, according to the association relationship, the target application identifier corresponding to the link information.
  • the step of caching the configuration file in the cache space may include: binding the configuration file with the link information to generate a binding relationship; and caching the configuration file and the binding relationship in the In the cache space of the terminal.
  • the method may further include: loading and running a script file in the operating system when detecting a trigger operation on the application icon; When the triggering operation is performed on the link information, the binding relationship is obtained, and the link information is compared with the binding relationship, and the configuration file corresponding to the binding information is determined, and the original page of the application is generated according to the configuration file. And show the native page.
  • the method may further include: starting timing; detecting whether a trigger operation on the link information is received within a preset time; When the trigger operation of the link information is not received within the set time, the configuration file in the cache space is cleared.
  • the step of caching the configuration file in the cache space may include: presetting a cache space of the configuration file in the storage space; and when receiving the configuration file returned by the configuration server, configuring the configuration file The file is cached in this cache space.
  • FIG. 2 is a schematic flowchart diagram of a method for displaying an application page according to an embodiment of the present application.
  • the specific process of the display method of the application page provided by the embodiment of the present application may be as follows:
  • the browsing page mentioned in the embodiment of the present application may be a browsing page of the browser, or may be a browsing page of the application, such as a chat browsing page of an instant messaging application, a news browsing page of a news application, and a terminal browsing page of the news application. Browser browsing page and more.
  • the electronic device When the user browses the page using the electronic device, the electronic device automatically analyzes the content information on the browsing page to extract the link, and extracts the link information in the browsing page.
  • the text in the browsing page may be extracted by linking, the link information in the text may be extracted, or the link in the image may be extracted and extracted, and the link information in the image may be extracted.
  • the link information can be hyperlink text, and the hyperlink text can be triggered to quickly open the application page of the application.
  • each link information may open an application page of the corresponding application, that is, each link information corresponds to a target application identifier, and by triggering the link information, the configuration file corresponding to the target application identifier may be downloaded through the network. And load run.
  • the association relationship between each link information and the corresponding associated target application identifier may be stored in the link relationship table, and the target application identifier corresponding to the link information may be quickly determined according to the link relationship table.
  • the target application identifier may be an application name of the application or a sequence version number of the application, and the like. It is easy to think that the link application information can be updated in real time with the associated target application identifier.
  • the configuration server stores a configuration file corresponding to each application, where the configuration file includes data and running logic required for running the application, and global configuration information indicating which page elements the application is composed of. Composition, such as configuring the background color of the application page, configuring the navigation bar style, configuring the default title, and so on.
  • the electronic device sends the target application identifier associated with the link information to the configuration server.
  • the configuration server After receiving the target application identifier, the configuration server matches the configuration file corresponding to the target application identifier, and returns the obtained configuration file to the electronic device.
  • the configuration server may also store an installation file of the application, where the installation file is used to install the corresponding complete application.
  • configuration file and the installation file are uploaded to the configuration server by a third-party vendor or developer, and the third-party vendor and the developer can also update and delete the configuration file and the installation file in the configuration server.
  • the electronic device may preset a cache space of the configuration file in the storage space.
  • the configuration file is cached in the cache space.
  • the subsequent electronic device can implement the fast running of the configuration file by triggering the link information.
  • the link information and the designated entry for the received configuration file may quickly launch the configuration file when the user triggers the link information.
  • acquiring a profile associated with the link information quickly generates a native page of the application and displays the native page.
  • the triggering operation may be a click operation or a double-click operation, which is not specifically limited herein.
  • the script file may be a JavaScript scripting language file
  • JavaScript is a web-based scripting language that has been widely used for web application development, and is commonly used to add various dynamic functions to web pages for users. Provide a smoother and more beautiful browsing experience.
  • JavaScript scripts implement their own functionality by embedding them in HTML.
  • the global configuration information in the configuration file is parsed by the loaded and running JavaScript scripting language file to generate the native page of the application and display the home page of the native page.
  • the embodiment of the present application pre-caches the configuration file corresponding to the target application identifier associated with the link information by detecting the link information of the browse page.
  • the cache may be directly cached.
  • the configuration file improves the display efficiency of the application page.
  • the native page of the application can be quickly opened without the application being installed, the user can perform an initial experience on the application, and whether the application is installed or not based on the initial experience can improve the diversity of the user selection.
  • the display method of the application page of the present application will be further described below based on the method described in the above embodiments.
  • the display method of the application page may include:
  • the content on the browsing page is automatically extracted for intelligent analysis and extraction, and the link information on the browsing page is extracted.
  • the text on the current browsing page can be analyzed to obtain the link information in the text.
  • the user 1 sends a message: "Where to wait”
  • the user 2 replies to the message: "Go to the restaurant to eat.”
  • the electronic device can obtain the text information in the current browsing page, "Where to go,” and “Go to the restaurant to eat.” Extract the link information "restaurant” in the text message.
  • the content on the browsing page is automatically extracted for intelligent analysis and extraction, and the link information on the browsing page is extracted.
  • the texture feature analysis can be performed on the image on the currently browsed page by the convolutional neural network to further extract the link information contained in the image.
  • the technique of image analysis as text here is currently mature, so it will not be described in detail.
  • the link relationship table includes an association relationship between each link information and a corresponding associated target application identifier. As shown in Table 1:
  • each link information is associated with a target application identifier.
  • the link application "restaurant” corresponds to the associated target application identifier as "XX food”, and the user or a third-party developer can modify the association relationship. .
  • the link information in the browse page is matched with the link relationship table, and the associated target application identifier corresponding to each link information is determined according to the association relationship.
  • the link information "place” is matched with the link relationship table, and it is found that the link information "place” matches the target application identifier "XX map", and therefore, the link information "place” is determined to correspond to the target application.
  • the logo is "XX Map”.
  • the configuration server stores a configuration file corresponding to each application, where the configuration file includes data and running logic required for running the application, and global configuration information indicating which page elements the application is composed of. Composition, such as configuring the background color of the application page, configuring the navigation bar style, configuring the default title, and so on.
  • the electronic device sends the target application identifier to the configuration server. After receiving the target application identifier, the configuration server matches the configuration file corresponding to the target application identifier, and returns the obtained configuration file to the electronic device.
  • the configuration server may also store an installation file of the application, where the installation file is used to install the corresponding complete application.
  • configuration file and the installation file are uploaded to the configuration server by a third-party vendor or developer, and the third-party vendor and the developer can also update and delete the configuration file and the installation file in the configuration server. .
  • the configuration file is bound to the corresponding link information to generate a binding relationship, so that the corresponding configuration file can be quickly retrieved through the binding relationship, so that the application page can be quickly displayed.
  • the electronic device can preset the cache space of the configuration file and the binding relationship in the storage space.
  • the configuration file and the binding relationship are cached in the cache space.
  • the subsequent electronic device can quickly and accurately call the configuration file to run according to the binding relationship. This cache space will clear the contents of the cache space when the electronic device is powered off.
  • the method further includes:
  • the configuration file and the binding relationship are stored in the cache space. Therefore, the cache space needs to be cleaned periodically.
  • timing is started.
  • the link information is compared with the binding relationship, the binding information is determined to be bound to the configuration file, and the application's native page is generated according to the configuration file. And displaying the operation of the native page, when it is detected that the triggering operation on the link information is not received within the preset time, proceeding to step (3).
  • the configuration file in the cache space can be clear to save the electronic device. storage.
  • the specified entry of the running configuration file is closed. At this time, if the cached configuration file is continuously stored in the cache space, the electronic device will be caused. Waste of storage space.
  • the configuration file in the cache space may also be deleted, thereby saving the storage space of the electronic device.
  • the triggering operation may be a click operation, a double-click operation, or a long-press operation, and the click operation is taken as an example.
  • the click operation is taken as an example.
  • the link information is compared with the binding relationship, and the configuration file corresponding to the link information in the binding relationship is determined, and the configuration file is quickly called in the cache space, and the configuration file is parsed through the script file.
  • the script file can be a JavaScript scripting language file, parsing the global configuration information in the configuration file by loading and running a JavaScript scripting language file, converting the parsed display element into a native-based view, and dynamically performing the native view.
  • the page is rendered to get the native page and the native page is displayed.
  • the embodiment of the present application pre-caches the configuration file corresponding to the target application identifier associated with the link information by detecting the link information of the browse page.
  • the cache may be directly cached.
  • the configuration file and within a certain period of time, will automatically clean the cached configuration file, improve the display efficiency of the application page, and ensure the storage space utilization rate.
  • An embodiment of the present invention provides a display device for an application page, including:
  • An extracting unit configured to perform link extraction on the browsing page, and extract link information in the browsing page
  • a determining unit configured to analyze the link information, and determine a target application identifier associated with the link information
  • transceiver unit configured to send the target application identifier to the configuration server, and receive a configuration file returned by the configuration server according to the target application identifier
  • a cache unit for caching the configuration file in the cache space.
  • the extracting unit may include: a text extracting subunit, configured to perform link extraction on the text in the browsing page, extract link information in the text; and/or an image extracting subunit, Link extraction of the image in the browsing page, and extract the link information in the image.
  • the determining unit may include: an obtaining subunit, configured to acquire a link relationship table, where the link relationship table includes an association relationship between each link information and a corresponding associated target application identifier; and a matching subunit, configured to: The link information is matched to the link relationship table, and the target application identifier corresponding to the link information is determined according to the association relationship.
  • the cache unit is specifically configured to bind the configuration file to the link information to generate a binding relationship, and cache the configuration file and the binding relationship in a buffer space of the terminal.
  • the cache unit is further configured to: preset a cache space of the configuration file in the storage space; and when receiving the configuration file returned by the configuration server, cache the configuration file in the cache space.
  • FIG. 4 is a schematic structural diagram of a display device of an application page according to an embodiment of the present application.
  • the display device of the application page is applied to the electronic device, and the display device of the application page includes an extracting unit 401, a determining unit 402, a transceiving unit 403, and a buffer unit 404, as follows:
  • the extracting unit 401 is configured to perform link extraction on the browsing page, and extract link information in the browsing page.
  • the extracting unit 401 automatically analyzes the content information on the browsing page to perform link extraction, and extracts the link information in the browsing page.
  • the text in the browsing page may be extracted by linking, the link information in the text may be extracted, or the link in the image may be extracted and extracted, and the link information in the image may be extracted.
  • the link information can be hyperlink text, and the hyperlink text can be triggered to quickly open the application page of the application.
  • the determining unit 402 is configured to analyze the link information, and determine a target application identifier associated with the link information.
  • the determining unit 402 may store the association relationship between each link information and the corresponding associated target application identifier in the link relationship table, and according to the link relationship table, the target application identifier corresponding to the link information may be quickly determined. It is easy to think that the link application information can be updated in real time with the associated target application identifier.
  • the transceiver unit 403 is configured to send the target application identifier to the configuration server, and receive a configuration file returned by the configuration server according to the target application identifier.
  • the transceiver unit 403 sends the target application identifier associated with the link information to the configuration server. After receiving the target application identifier, the configuration server matches the configuration file corresponding to the target application identifier, and returns the obtained configuration file to the transceiver unit. 403.
  • the cache unit 404 is configured to cache the configuration file in the cache space.
  • the cache unit 404 can preset the cache space of the configuration file in the storage space.
  • the cache unit 404 caches the configuration file in the cache space.
  • the subsequent electronic device can implement the fast running of the configuration file by triggering the link information.
  • the extracting unit 401 may include:
  • a text extraction sub-unit 4011 configured to perform link extraction on the text in the browsing page, extract link information in the text;
  • the image extraction sub-unit 4012 is configured to perform link extraction on the image in the browsing page, and extract link information in the image.
  • the determining unit 402 may include:
  • the obtaining sub-unit 4021 is configured to obtain a link relationship table, where the link relationship table includes an association relationship between each link information and a corresponding associated target application identifier;
  • the matching sub-unit 4022 is configured to match the link information to the link relationship table, and determine, according to the association relationship, the target application identifier corresponding to the link information.
  • the steps performed by the units in the display device of the application page may refer to the method steps described in the foregoing method embodiments.
  • the display device of the application page can be integrated in an electronic device, such as a mobile phone, a tablet computer, or the like.
  • the foregoing various units may be implemented as an independent entity, and may be implemented in any combination, and may be implemented as the same entity or a plurality of entities.
  • the foregoing units refer to the foregoing embodiments, and details are not described herein again.
  • the electronic device 500 includes a processor 501 and a memory 502.
  • the processor 501 is electrically connected to the memory 502.
  • the processor 500 is a control center of the electronic device 500, which connects various parts of the entire electronic device using various interfaces and lines, and executes by running or loading a computer program stored in the memory 502 and calling data stored in the memory 502.
  • the various functions of the electronic device 500 and processing of the data enable overall monitoring of the electronic device 500.
  • the memory 502 can be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by running computer programs and modules stored in the memory 502.
  • the memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a computer program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of electronic devices, etc.
  • memory 502 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 502 can also include a memory controller to provide processor 501 access to memory 502.
  • the processor 501 in the electronic device 500 loads the instructions corresponding to the process of one or more computer programs into the memory 502 according to the following steps, and is stored in the memory 502 by the processor 501.
  • the computer program in which to implement various functions, as follows:
  • Extracting the link of the browsing page extracting the link information in the browsing page
  • the processor 501 may specifically perform the following steps:
  • the processor 501 when analyzing the link information and determining the target application identifier associated with the link information, the processor 501 may specifically perform the following steps:
  • link relationship table includes an association relationship between each link information and a corresponding associated target application identifier
  • the link information is matched with the link relationship table, and the target application identifier corresponding to the link information is determined according to the association relationship.
  • the processor 501 when the configuration file is cached in the cache space, the processor 501 can specifically perform the following steps:
  • the processor 501 may further perform the following steps:
  • the link information is compared with the binding relationship, the link information is determined to be bound to the configuration file, the application's native page is generated according to the configuration file, and the native page is displayed.
  • the processor 501 may further perform the following steps:
  • the configuration file in the cache space is cleared.
  • the processor 501 may further perform the following steps:
  • the electronic device 500 may further include: a display 503, a radio frequency circuit 504, an audio circuit 505, and a power source 506.
  • the display 503, the radio frequency circuit 504, the audio circuit 505, and the power source 506 are electrically connected to the processor 501, respectively.
  • the display 503 can be used to display information entered by a user or information provided to a user, as well as various graphical user interfaces, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display 503 can include a display panel.
  • the display panel can be configured in the form of a liquid crystal display (LCD) or an organic light-emitting diode (OLED).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the radio frequency circuit 504 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and to transmit and receive signals with network devices or other electronic devices.
  • the audio circuit 505 can be used to provide an audio interface between the user and the electronic device through a speaker, a microphone.
  • the power source 506 can be used to power various components of the electronic device 500.
  • the power source 506 can be logically coupled to the processor 501 through a power management system to enable functions such as managing charging, discharging, and power management through the power management system.
  • the electronic device 500 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the embodiment of the present application further provides a storage medium storing a computer program, when the computer program is run on a computer, causing the computer to execute the display method of the application page in any of the above embodiments, for example, browsing
  • the page extracts the link, extracts the link information in the browse page, analyzes the link information, determines the target application identifier associated with the link information, sends the target application identifier to the configuration server, and receives the configuration file returned by the configuration server according to the target application identifier;
  • the configuration file is cached in the cache space.
  • the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).
  • ROM read only memory
  • RAM random access memory
  • a general tester in the field can understand all or part of the process of implementing the display method of the application page in the embodiment of the present application, and the related process can be controlled by a computer program.
  • the computer program can be stored in a computer readable storage medium, such as in a memory of the electronic device, and executed by at least one processor in the electronic device, and can include, for example, The flow of an embodiment of a display method of an application page.
  • the storage medium may be a magnetic disk, an optical disk, a read only memory, a random access memory, or the like.
  • each functional module may be integrated into one processing chip, or each module may exist physically separately, or two or more modules may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated module if implemented in the form of a software functional module and sold or used as a standalone product, may also be stored in a computer readable storage medium, such as a read only memory, a magnetic disk or an optical disk, etc. .

Abstract

本实施例公开了一种应用页面的显示方法,包括:对浏览页面进行链接提取,提取出浏览页面中的链接信息;分析所述链接信息,确定所述链接信息关联的目标应用标识;将所述目标应用标识发送至配置服务器,并接收所述配置服务器根据所述目标应用标识返回的配置文件;将所述配置文件缓存在缓存空间中,提升了应用页面的显示效率。

Description

应用页面的显示方法、装置、存储介质及电子设备
本申请要求于2018年02月13日提交中国专利局、申请号为201810150631.X、发明名称为“一种应用页面的显示方法、装置、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子设备技术领域,具体涉及一种应用页面的显示方法、装置、存储介质及电子设备。
背景技术
目前,随着终端技术的高速发展,如智能手机越来越深入人们的生活之中,在智能手机上可以安装各种各样的应用,如即时通讯应用、游戏应用、影视应用等等,以供用户使用。
但是,随着应用的功能越来越强大,每个应用对应占用的存储空间也越来越大,当终端安装的应用数量达到一定阈值时,会影响智能手机系统的正常运行,为了解决这个问题,目前可通过在浏览器上设置应用的指定入口,当检测到用户对指定入口的触发操作时,智能手机可以通过网络调取应用的配置文件,加载并运行该配置文件,实现应用页面的显示,然而,用户每次打开应用页面时,都需要即时的通过网络下载应用的配置文件,等待下载完成后,再加载并运行该配置文件,导致应用页面的加载过程中容易发生卡顿的现象,应用页面的显示效率较低。
发明内容
本申请实施例提供了一种应用页面的显示方法、装置、存储介质及电子设备,能够提升应用页面的显示效率。
第一方面,本申请实施例了提供了的一种应用页面的显示方法,应用于电子设备中,包括:
对浏览页面进行链接提取,提取出浏览页面中的链接信息;
分析所述链接信息,确定所述链接信息关联的目标应用标识;
将所述目标应用标识发送至配置服务器,并接收所述配置服务器根据所述目标应用标识返回的配置文件;
将所述配置文件缓存在缓存空间中。
第二方面,本申请实施例了提供了的一种应用页面的显示装置,包括:
提取单元,用于对浏览页面进行链接提取,提取出浏览页面中的链接信息;
确定单元,用于分析所述链接信息,确定所述链接信息关联的目标应用标识;
收发单元,用于将所述目标应用标识发送至配置服务器,并接收所述配置服务器根据所述目标应用标识返回的配置文件;
缓存单元,用于将所述配置文件缓存在缓存空间中。
第三方面,本申请实施例提供的存储介质,其上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如本申请任一实施例提供的应用页面的显示方法。
第四方面,本申请实施例提供的电子设备,包括处理器和存储器,所述存储器有计算机程序,所述处理器通过调用所述计算机程序,用于执行步骤:
对浏览页面进行链接提取,提取出浏览页面中的链接信息;
分析所述链接信息,确定所述链接信息关联的目标应用标识;
将所述目标应用标识发送至配置服务器,并接收所述配置服务器根据所述目标应用标识返回的配置文件;
将所述配置文件缓存在缓存空间中。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的应用页面的显示方法的实施环境的示意图。
图2是本申请实施例提供的应用页面的显示方法的一个流程示意图。
图3是本申请实施例提供的应用页面的显示方法的另一个流程示意图。
图4是本申请实施例提供的应用页面的显示装置的一个结构示意图。
图5是本申请实施例提供的应用页面的显示装置的另一结构示意图。
图6是本申请实施例提供的电子设备的一个结构示意图。
图7是本申请实施例提供的电子设备的另一结构示意图。
具体实施方式
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。
本申请实施例提供一种应用页面的显示方法,该应用页面的显示方法的执行主体可以是本申请实施例提供的应用页面的显示装置,或者集成了该应用页面的显示装置的电子设备,其中该应用页面的显示装置可以采用硬件或者软件的方式实现。其中,电子设备可以是智能手机、平板电脑、掌上电脑、笔记本电脑、或者台式电脑等设备。
请参阅图1,图1是本申请实施例提供的应用页面的显示方法的实施环境的示意图,如图1所示,该实施环境包括智能手机10、通信网络20以及服务器30。
该智能手机10的操作系统可以为安卓系统、塞班系统、苹果系统等。该智能手机10和服务器30之间通过通信网络20连接。
该通信网络20,包括无线网络及有线网络。其中无线网络包括无线广域网、无线局域网、无线城域网、以及无线个人网中的一种或多种的组合。
该服务器30中存储有应用的配置文件,该配置文件包含运行应用所需的数据和运行逻辑以及全局配置信息,该全局配置信息指示该应用是由哪些页面元素组成,包括配置应用页面的窗口背景色,配置导航条样式,配置默认标题等等。该智能手机10可以从服务器30获取应用的配置文件,根据配置文件生成应用的原生页面并展示,需要理解的是,该原生页面也可以通俗的称为“快应用”,从而在未安装应用的前提下,实现应用的运行,应用运行所需的数据可即时从服务器30获取。
服务器30还可以对应用的配置文件进行更新操作,以便为智能手机10提供更新后的配置文件。
在一实施方式中,该服务器30还可以存储应用的安装文件,智能手机10还可以从该服务器30上获取应用的安装文件,并通过安装该安装文件来完整的运行该应用。容易想到的是,该服务器30也可以对应用的安装文件进行更新,以便为智能手机10提供更新后的安装文件。
本发明实施例提供一种应用页面的显示方法,包括:
对浏览页面进行链接提取,提取出浏览页面中的链接信息;
分析该链接信息,确定该链接信息关联的目标应用标识;
将该目标应用标识发送至配置服务器,并接收该配置服务器根据该目标应用标识返回的配置文件;
将该配置文件缓存在缓存空间中。
在一种实施方式中,该对浏览页面进行链接提取,提取出浏览页面中的链接信息的步骤,可以包括:对浏览页面中的文本进行链接提取,提取出该文本中的链接信息;和/或对浏览页面中的图像进行链接提取,提取出该图像中的链接信息。
在一种实施方式中,该分析该链接信息,确定该链接信息关联的目标应用标识的步骤,可以包括:获取链接关系表,该链接关系表包括每一链接信息与对应关联的目标应用标识的关联关系;将该链接信息匹配该链接关系表,根据该关联关系确定该链接信息对应关联的目标应用标识。
在一种实施方式中,该将该配置文件缓存在缓存空间的步骤,可以包括:将该配置文件与该链接信息进行绑定,生成绑定关系;将该配置文件以及该绑定关系缓存在终端的缓存空间中。
在一种实施方式中,该将该配置文件缓存在缓存空间中的步骤之后,还可以包括:当检测到对该应用图标的触发操作时,加载并运行操作系统中的脚本文件;当检测到对该链接信息的触发操作时,获取该绑定关系;将该链接信息与该绑定关系进行比对,确定该链接信息对应绑定的该配置文件,根据该配置文件生成应用的原生页面,并展示该原生页面。
在一种实施方式中,该将该配置文件缓存在缓存空间中的步骤之后,还可以包括:开始计时;检测在预设时间内是否接收到对该链接信息的触发操作;当检测到在预设时间内未接收到对该链接信息的触发操作时,将缓存空间中的该配置文件清除。
在一种实施方式中,该将该配置文件缓存在缓存空间中的步骤,可以包括:在存储空间中预设该配置文件的缓存空间;当接收到配置服务器返回的配置文件时,将该配置文件缓存在该缓存空间中。
请参阅图2,图2为本申请实施例提供的应用页面的显示方法的流程示意图。本申请实施例提供的应用页面的显示方法的具体流程可以如下:
201、对浏览页面进行链接提取,提取出浏览页面中的链接信息。
可以理解的是,本申请实施例所提到的浏览页面可以为浏览器的浏览页面,也可以为应用的浏览页面,比如即时通讯应用的聊天浏览页面,新闻应用的新闻浏览页面,终端上的浏览器的浏览页面等等。
其中,当用户使用电子设备浏览页面时,电子设备会自动分析浏览页面上的内容信息进行链接提取,提取出浏览页面中的链接信息。比如,可以对浏览页面中的文本进行链接提取,提取出该文本中的链接信息,也可也对浏览页面中的图像进行链接提取,提取出该图像中的链接信息。该链接信息可以为超链接文字,触发该超链接文字可以快速的打开应用的应用页面。
202、分析链接信息,确定链接信息关联的目标应用标识。
需要说明的是,每一链接信息的触发可以打开对应的一应用的应用页面,即每一链接信息对应一目标应用标识,通过触发该链接信息,可以通过网络下载目标应用标识对应的配置文件,并进行加载运行。
其中,可以将每一链接信息与对应关联的目标应用标识的关联关系存储在链接关系表中,根据该链接关系表可以快速确定链接信息对应关联的目标应用标识。该目标应用标识可以为应用的应用名称或者应用的序列版本号等。容易想到的是,可以实时的对链接信息对应关联的目标应用标识进行更新。
203、将目标应用标识发送至配置服务器,并接收配置服务器根据目标应用标识返回的配置文件。
需要说明的是,该配置服务器中存储了每一应用对应的配置文件,该配置文件中包含运行应用所需的数据和运行逻辑以及全局配置信息,该全局配置信息指示该应用是由哪些页面元素组成,如配置应用页面的窗口背景色,配置导航条样式,配置默认标题等等。
其中,电子设备将链接信息关联的目标应用标识发送至配置服务器,该配置服务器接收到该目标应用标识后,匹配该目标应用标识对应的配置文件,将得到的配置文件返回至电子设备中。
在一实施方式中,该配置服务器中还可以保存有应用的安装文件,该安装文件用于安装对应的完整应用。
进一步的,该配置文件和安装文件为通过第三方供应商或者开发人员上传至配置服务器中,该第三方供应商以及开发人员还可以对配置服务器中的配置 文件和安装文件进行更新以及删除操作。
204、将配置文件缓存在缓存空间中。
其中,电子设备可以在存储空间中预设该配置文件的缓存空间,当电子设备接收到配置服务器返回的配置文件时,将该配置文件缓存在缓存空间中。后续电子设备可以通过触发该链接信息实现该配置文件的快速运行。
在一实施方式中,该链接信息及为该接收到的配置文件的指定入口,当用户触发该链接信息时,可以快速的启动配置文件。
在一实施方式中,当检测到对链接信息的触发操作时,获取链接信息关联的配置文件快速的生成应用的原生页面,并展示原生页面。
其中,该触发操作可以为单击操作,也可以为双击操作,此处不作具体限定,当检测到用户对链接信息的单击操作时,加载并运行操作系统中的脚本文件。
在一实施方式中,该脚本文件可以为JavaScript脚本语言文件,JavaScript是一种属于网络的脚本语言,已经被广泛用于Web应用开发,常用来为网页添加各式各样的动态功能,为用户提供更流畅美观的浏览效果。通常JavaScript脚本是通过嵌入在HTML中来实现自身的功能的。
基于此,通过加载并运行的JavaScript脚本语言文件解析配置文件中的全局配置信息,以生成应用的原生页面,并展示该原生页面的首页。
由上可知,本申请实施例通过检测浏览页面的链接信息,预先缓存链接信息关联的目标应用标识对应的配置文件,在未安装应用的情况下,当用户触发链接信息时,可以直接运行已经缓存的配置文件,提升了应用页面的显示效率。
进一步地,由于可以在未安装应用的情况下,快速开启应用的原生页面,使得用户可以对应用进行初步体验,在基于初步体验的情况下选择是否安装该应用,可以提升用户选择的多样性。
下面将在上述实施例描述的方法基础上,对本申请的应用页面的显示方法做进一步介绍。参考图3,该应用页面的显示方法可以包括:
301、对浏览页面中的文本进行链接提取,提取出文本中的链接信息。
其中,当用户使用电子设备浏览页面时,会自动的提取浏览页面上的内容进行智能分析提取,提取出浏览页面上链接信息。比如,可以对当前浏览页面上的文本进行分析,获取该文本中的链接信息。
例如,在即时通讯应用的聊天浏览页面,用户1发送消息:“等下去哪里”,用户2回复消息:“去餐厅吃饭去啊”。此时电子设备通过分析,可以获取当前浏览页面中的文本信息“等下去哪里”以及“去餐厅吃饭去啊”。提取出文本信息中的链接信息“餐厅”。
302、对浏览页面中的图像进行链接提取,提取出图像中的链接信息。
其中,当用户使用电子设备浏览页面时,会自动的提取浏览页面上的内容进行智能分析提取,提取出浏览页面上链接信息。比如,可以通过卷积神经网络对当前浏览页面上的图像进行纹理特征分析,以进一步的提取出图像中包含的链接信息。此处图像分析为文字的技术目前已经比较成熟,故不作具体赘述。
303、获取链接关系表。
其中,该链接关系表包括每一链接信息与对应关联的目标应用标识的关联关系。如表1所示:
表1
链接信息 目标应用标识
餐厅 XX美食
唱歌 XX歌厅
地点 XX地图
由表1可知,每一链接信息都对应关联了一目标应用标识,如链接信息“餐厅”对应关联的目标应用标识为“XX美食”等,用户或者第三方开发人员可以对该关联关系进行修改。
304、将链接信息匹配链接关系表,根据关联关系确定链接信息对应关联的目标应用标识。
其中,将浏览页面中的每一链接信息与该链接关系表进行匹配,根据关联关系确定出每一链接信息对应的关联的目标应用标识。
比如,如表1所示,将链接信息“地点”与链接关系表进行匹配,发现链接信息“地点”和目标应用标识“XX地图”匹配,因此,确定链接信息“地点”对应关联的目标应用标识为“XX地图”。
305、将目标应用标识发送至配置服务器,并接收配置服务器根据目标应用标识返回的配置文件。
需要说明的是,该配置服务器中存储了每一应用对应的配置文件,该配置 文件中包含运行应用所需的数据和运行逻辑以及全局配置信息,该全局配置信息指示该应用是由哪些页面元素组成,如配置应用页面的窗口背景色,配置导航条样式,配置默认标题等等。
其中,电子设备将目标应用标识发送至配置服务器,该配置服务器接收到该目标应用标识后,匹配该目标应用标识对应的配置文件,将得到的配置文件返回至电子设备中。
在一实施方式中,该配置服务器中还可以保存有应用的安装文件,该安装文件用于安装对应的完整应用。
进一步的,该配置文件和安装文件为通过第三方供应商或者开发人员上传至配置服务器中,该第三方供应商以及开发人员还可以对配置服务器中的配置文件以和安装文件进行更新以及删除操作。
306、将配置文件与链接信息进行绑定,生成绑定关系。
其中,将返回的配置文件与对应的链接信息进行绑定,生成绑定关系,以使得后期可以通过该绑定关系快速的调取对应的配置文件,实现应用页面的快速显示。
307、将配置文件以及绑定关系缓存在缓存空间中。
其中,电子设备可以在存储空间中预设该配置文件与绑定关系的缓存空间,当电子设备接收到配置服务器返回的配置文件时,将该配置文件以及绑定关系缓存在缓存空间中。后续电子设备可以根据绑定关系快速准确的调用该配置文件运行。该缓存空间在电子设备断电时会将缓存空间中的内容清空。
在一实施方式中,该将配置文件以及绑定关系缓存在缓存空间中之后,还包括:
(1)开始计时。
其中,由于该配置文件以及绑定关系都存储在缓存空间中,因此,需要定期的对缓存空间进行清理,当将配置文件以及绑定关系缓存在缓存空间中之后,开始计时。
(2)检测在预设时间内是否接收到对链接信息的触发操作。
其中,当检测到在预设时间内接收到对链接信息的触发操作时,执行将链接信息与绑定关系进行比对,确定链接信息对应绑定的配置文件,根据配置文件生成应用的原生页面,并展示原生页面的操作,当检测到在预设时间内未接 收到对链接信息的触发操作时,继续执行步骤(3)。
(3)将缓存空间中的配置文件清除。
其中,当在预设时间内未接收到对链接信息的触发操作时,说明用户不会触发链接信息进行应用页面的显示,此时,可以将缓存空间中的配置文件清楚,以节省电子设备的存储空间。
在一实施方式中,当检测到接收到关闭浏览页面的操作指令时,说明运行配置文件的指定入口已经关闭,此时,若继续将缓存的配置文件存储在缓存空间中,将造成电子设备的存储空间的浪费。
基于此,当检测到接收到用户关闭浏览页面的操作指令时,也可以将缓存空间中的配置文件删除,以此,节省电子设备的存储空间。
308、当检测到对链接信息的触发操作时,获取绑定关系。
其中,该触发操作可以为单击操作、双击操作或者长按操作,以单击操作为例进行说明,当检测到用户对链接信息进行单击操作时,获取绑定关系。
309、将链接信息与绑定关系进行比对,确定链接信息对应绑定的配置文件,根据配置文件生成应用的原生页面,并展示原生页面。
其中,将链接信息与绑定关系进行比对,确定出链接信息在绑定关系中对应的配置文件,快速的在缓存空间中调用该配置文件,并通过脚本文件解析该配置文件。
比如,该脚本文件可以为JavaScript脚本语言文件,通过加载并运行的JavaScript脚本语言文件解析配置文件中的全局配置信息,将解析得到的显示元素转换为基于原生的视图,并动态地对原生视图进行页面渲染,从而得到原生页面,并展示该原生页面。
由上可知,本申请实施例通过检测浏览页面的链接信息,预先缓存链接信息关联的目标应用标识对应的配置文件,在未安装应用的情况下,当用户触发链接信息时,可以直接运行已经缓存的配置文件,并在一定时间内,会自动的对缓存的配置文件进行清理,提升了应用页面的显示效率,并且保证存储空间使用率。
本发明实施例提供一种应用页面的显示装置,包括:
提取单元,用于对浏览页面进行链接提取,提取出浏览页面中的链接信息;
确定单元,用于分析该链接信息,确定该链接信息关联的目标应用标识;
收发单元,用于将该目标应用标识发送至配置服务器,并接收该配置服务器根据该目标应用标识返回的配置文件;
缓存单元,用于将该配置文件缓存在缓存空间中。
在一种实施方式中,该提取单元,可以包括:文本提取子单元,用于对浏览页面中的文本进行链接提取,提取出该文本中的链接信息;和/或图像提取子单元,用于对浏览页面中的图像进行链接提取,提取出该图像中的链接信息。
在一种实施方式中,确定单元,可以包括:获取子单元,用于获取链接关系表,该链接关系表包括每一链接信息与对应关联的目标应用标识的关联关系;匹配子单元,用于将该链接信息匹配该链接关系表,根据该关联关系确定该链接信息对应关联的目标应用标识。
在一种实施方式中,缓存单元,具体用于:将该配置文件与该链接信息进行绑定,生成绑定关系;将该配置文件以及该绑定关系缓存在终端的缓存空间中。
在一种实施方式中,缓存单元,还具体用于:在存储空间中预设该配置文件的缓存空间;当接收到配置服务器返回的配置文件时,将该配置文件缓存在该缓存空间中。
在一实施例中还提供了一种应用页面的显示装置。请参阅图4,图4为本申请实施例提供的应用页面的显示装置的结构示意图。其中该应用页面的显示装置应用于电子设备,该应用页面的显示装置包括提取单元401、确定单元402、收发单元403、以及缓存单元404,如下:
该提取单元401,用于对浏览页面进行链接提取,提取出浏览页面中的链接信息。
其中,当用户使用电子设备浏览页面时,该提取单元401会自动分析浏览页面上的内容信息进行链接提取,提取出浏览页面中的链接信息。比如,可以对浏览页面中的文本进行链接提取,提取出该文本中的链接信息,也可也对浏览页面中的图像进行链接提取,提取出该图像中的链接信息。该链接信息可以为超链接文字,触发该超链接文字可以快速的打开应用的应用页面。
该确定单元402,用于分析链接信息,确定链接信息关联的目标应用标识。
其中,该确定单元402可以将每一链接信息与对应关联的目标应用标识的关联关系存储在链接关系表中,根据该链接关系表可以快速确定链接信息对应 关联的目标应用标识。容易想到的是,可以实时的对链接信息对应关联的目标应用标识进行更新。
该收发单元403,用于将目标应用标识发送至配置服务器,并接收配置服务器根据目标应用标识返回的配置文件。
其中,该收发单元403将链接信息关联的目标应用标识发送至配置服务器,该配置服务器接收到该目标应用标识后,匹配该目标应用标识对应的配置文件,将得到的配置文件返回至该收发单元403中。
该缓存单元404,用于将配置文件缓存在缓存空间中。
其中,该缓存单元404可以在存储空间中预设该配置文件的缓存空间,当该收发单元403接收到配置服务器返回的配置文件时,该缓存单元404将该配置文件缓存在缓存空间中。后续电子设备可以通过触发该链接信息实现该配置文件的快速运行。
在一实施例中,参考图5,该提取单元401,可以包括:
文本提取子单元4011,用于对浏览页面中的文本进行链接提取,提取出文本中的链接信息;和/或
图像提取子单元4012,用于对浏览页面中的图像进行链接提取,提取出图像中的链接信息。
在一实施例中,参考图5,该确定单元402,可以包括:
获取子单元4021,用于获取链接关系表,链接关系表包括每一链接信息与对应关联的目标应用标识的关联关系;
匹配子单元4022,用于将链接信息匹配链接关系表,根据关联关系确定链接信息对应关联的目标应用标识。
其中,应用页面的显示装置中各单元执行的步骤可以参考上述方法实施例描述的方法步骤。该应用页面的显示装置可以集成在电子设备中,如手机、平板电脑等。
具体实施时,以上各个单元可以作为独立的实体实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单位的具体实施可参见前面的实施例,在此不再赘述。
本申请实施例还提供一种电子设备。请参阅图6,电子设备500包括处理器501以及存储器502。其中,处理器501与存储器502电性连接。
该处理器500是电子设备500的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器502内的计算机程序,以及调用存储在存储器502内的数据,执行电子设备500的各种功能并处理数据,从而对电子设备500进行整体监控。
该存储器502可用于存储软件程序以及模块,处理器501通过运行存储在存储器502的计算机程序以及模块,从而执行各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的计算机程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器502还可以包括存储器控制器,以提供处理器501对存储器502的访问。
在本申请实施例中,电子设备500中的处理器501会按照如下的步骤,将一个或一个以上的计算机程序的进程对应的指令加载到存储器502中,并由处理器501运行存储在存储器502中的计算机程序,从而实现各种功能,如下:
对浏览页面进行链接提取,提取出浏览页面中的链接信息;
分析链接信息,确定链接信息关联的目标应用标识;
将目标应用标识发送至配置服务器,并接收配置服务器根据目标应用标识返回的配置文件;
将配置文件缓存在缓存空间中。
在某些实施方式中,在对浏览页面进行链接提取,提取出浏览页面中的链接信息时,处理器501可以具体执行以下步骤:
对浏览页面中的文本进行链接提取,提取出文本中的链接信息;和/或
对浏览页面中的图像进行链接提取,提取出图像中的链接信息。
在某些实施方式中,在分析链接信息,确定链接信息关联的目标应用标识时,处理器501可以具体执行以下步骤:
获取链接关系表,链接关系表包括每一链接信息与对应关联的目标应用标识的关联关系;
将链接信息匹配链接关系表,根据关联关系确定链接信息对应关联的目标应用标识。
在某些实施方式中,在将配置文件缓存在缓存空间中时,处理器501可以具体执行以下步骤:
将配置文件与链接信息进行绑定,生成绑定关系;
将配置文件以及绑定关系缓存在缓存空间中。
在某些实施方式中,在将配置文件缓存在缓存空间中之后,处理器501还可以具体执行以下步骤:
当检测到对链接信息的触发操作时,获取绑定关系;
将链接信息与绑定关系进行比对,确定链接信息对应绑定的配置文件,根据配置文件生成应用的原生页面,并展示原生页面。
在某些实施方式中,在将配置文件缓存在缓存空间中之后,处理器501还可以具体执行以下步骤:
开始计时;
检测在预设时间内是否接收到对链接信息的触发操作;
当检测到在预设时间内未接收到对链接信息的触发操作时,将缓存空间中的配置文件清除。
在某些实施方式中,在将该配置文件缓存在缓存空间中时,处理器501还可以具体执行以下步骤:
在存储空间中预设该配置文件的缓存空间;
当接收到配置服务器返回的配置文件时,将该配置文件缓存在该缓存空间中。请一并参阅图7,在某些实施方式中,电子设备500还可以包括:显示器503、射频电路504、音频电路505以及电源506。其中,其中,显示器503、射频电路504、音频电路505以及电源506分别与处理器501电性连接。
该显示器503可以用于显示由用户输入的信息或提供给用户的信息以及各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示器503可以包括显示面板,在某些实施方式中,可以采用液晶显示器(Liquid Crystal Display,LCD)、或者有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板。
该射频电路504可以用于收发射频信号,以通过无线通信与网络设备或其他电子设备建立无线通讯,与网络设备或其他电子设备之间收发信号。
该音频电路505可以用于通过扬声器、传声器提供用户与电子设备之间的 音频接口。
该电源506可以用于给电子设备500的各个部件供电。在一些实施例中,电源506可以通过电源管理系统与处理器501逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管图7中未示出,电子设备500还可以包括摄像头、蓝牙模块等,在此不再赘述。
本申请实施例还提供一种存储介质,该存储介质存储有计算机程序,当该计算机程序在计算机上运行时,使得该计算机执行上述任一实施例中的应用页面的显示方法,比如:对浏览页面进行链接提取,提取出浏览页面中的链接信息;分析链接信息,确定链接信息关联的目标应用标识;将目标应用标识发送至配置服务器,并接收配置服务器根据目标应用标识返回的配置文件;将配置文件缓存在缓存空间中。
在本申请实施例中,存储介质可以是磁碟、光盘、只读存储器(Read Only Memory,ROM,)、或者随机存取记忆体(Random Access Memory,RAM)等。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
需要说明的是,对本申请实施例的应用页面的显示方法而言,本领域普通测试人员可以理解实现本申请实施例的应用页面的显示方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在电子设备的存储器中,并被该电子设备内的至少一个处理器执行,在执行过程中可包括如应用页面的显示方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器、随机存取记忆体等。
对本申请实施例的应用页面的显示装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。
以上对本申请实施例所提供的一种应用页面的显示方法、装置、存储介质 及电子设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种应用页面的显示方法,应用于电子设备中,其中,包括:
    对浏览页面进行链接提取,提取出浏览页面中的链接信息;
    分析所述链接信息,确定所述链接信息关联的目标应用标识;
    将所述目标应用标识发送至配置服务器,并接收所述配置服务器根据所述目标应用标识返回的配置文件;
    将所述配置文件缓存在缓存空间中。
  2. 如权利要求1所述的应用页面的显示方法,其中,所述对浏览页面进行链接提取,提取出浏览页面中的链接信息,包括:
    对浏览页面中的文本进行链接提取,提取出所述文本中的链接信息;和/或
    对浏览页面中的图像进行链接提取,提取出所述图像中的链接信息。
  3. 如权利要求2所述的应用页面的显示方法,其中,所述分析所述链接信息,确定所述链接信息关联的目标应用标识,包括:
    获取链接关系表,所述链接关系表包括每一链接信息与对应关联的目标应用标识的关联关系;
    将所述链接信息匹配所述链接关系表,根据所述关联关系确定所述链接信息对应关联的目标应用标识。
  4. 如权利要求3所述的应用页面的显示方法,其中,所述将所述配置文件缓存在缓存空间中,包括:
    将所述配置文件与所述链接信息进行绑定,生成绑定关系;
    将所述配置文件以及所述绑定关系缓存在终端的缓存空间中。
  5. 如权利要求4所述的应用页面的显示方法,其中,所述将所述配置文件缓存在缓存空间中之后,还包括:
    当检测到对所述链接信息的触发操作时,获取所述绑定关系;
    将所述链接信息与所述绑定关系进行比对,确定所述链接信息对应绑定的所述配置文件,根据所述配置文件生成应用的原生页面,并展示所述原生页面。
  6. 如权利要求1所述的应用页面的显示方法,其中,所述将所述配置文件缓存在缓存空间中之后,还包括:
    开始计时;
    检测在预设时间内是否接收到对所述链接信息的触发操作;
    当检测到在预设时间内未接收到对所述链接信息的触发操作时,将缓存空间中的所述配置文件清除。
  7. 如权利要求1所述的应用页面的显示方法,其中,所述将所述配置文件缓存在缓存空间中,包括:
    在存储空间中预设所述配置文件的缓存空间;
    当接收到配置服务器返回的配置文件时,将所述配置文件缓存在所述缓存空间中。
  8. 一种应用页面的显示装置,其中,包括:
    提取单元,用于对浏览页面进行链接提取,提取出浏览页面中的链接信息;
    确定单元,用于分析所述链接信息,确定所述链接信息关联的目标应用标识;
    收发单元,用于将所述目标应用标识发送至配置服务器,并接收所述配置服务器根据所述目标应用标识返回的配置文件;
    缓存单元,用于将所述配置文件缓存在缓存空间中。
  9. 如权利要求8所述的应用页面的显示装置,其中,所述提取单元,包括:
    文本提取子单元,用于对浏览页面中的文本进行链接提取,提取出所述文本中的链接信息;和/或
    图像提取子单元,用于对浏览页面中的图像进行链接提取,提取出所述图像中的链接信息。
  10. 如权利要求9所述的应用页面的显示装置,其中,所述确定单元,包括:
    获取子单元,用于获取链接关系表,所述链接关系表包括每一链接信息与对应关联的目标应用标识的关联关系;
    匹配子单元,用于将所述链接信息匹配所述链接关系表,根据所述关联关系确定所述链接信息对应关联的目标应用标识。
  11. 如权利要求10所述的应用页面的显示装置,其中,所述缓存单元,具体用于:
    将所述配置文件与所述链接信息进行绑定,生成绑定关系;
    将所述配置文件以及所述绑定关系缓存在终端的缓存空间中。
  12. 如权利要求8所述的应用页面的显示装置,其中,所述缓存单元,还具体用于:
    在存储空间中预设所述配置文件的缓存空间;
    当接收到配置服务器返回的配置文件时,将所述配置文件缓存在所述缓存空间中。
  13. 一种存储介质,其上存储有计算机程序,其中,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1所述的应用页面的显示方法。
  14. 一种电子设备,包括处理器和存储器,所述存储器有计算机程序,其中,所述处理器通过调用所述计算机程序,用于执行步骤:
    对浏览页面进行链接提取,提取出浏览页面中的链接信息;
    分析所述链接信息,确定所述链接信息关联的目标应用标识;
    将所述目标应用标识发送至配置服务器,并接收所述配置服务器根据所述目标应用标识返回的配置文件;
    将所述配置文件缓存在缓存空间中。
  15. 如权利要求14所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:
    对浏览页面中的文本进行链接提取,提取出所述文本中的链接信息;和/或
    对浏览页面中的图像进行链接提取,提取出所述图像中的链接信息。
  16. 如权利要求15所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:
    获取链接关系表,所述链接关系表包括每一链接信息与对应关联的目标应用标识的关联关系;
    将所述链接信息匹配所述链接关系表,根据所述关联关系确定所述链接信息对应关联的目标应用标识。
  17. 如权利要求16所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:
    将所述配置文件与所述链接信息进行绑定,生成绑定关系;
    将所述配置文件以及所述绑定关系缓存在终端的缓存空间中。
  18. 如权利要求17所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:
    当检测到对所述链接信息的触发操作时,获取所述绑定关系;
    将所述链接信息与所述绑定关系进行比对,确定所述链接信息对应绑定的所述配置文件,根据所述配置文件生成应用的原生页面,并展示所述原生页面。
  19. 如权利要求14所述的电子设备,其中,所述处理器通过调用所述计算机程序,还用于执行步骤:
    开始计时;
    检测在预设时间内是否接收到对所述链接信息的触发操作;
    当检测到在预设时间内未接收到对所述链接信息的触发操作时,将缓存空间中的所述配置文件清除。
  20. 如权利要求14所述的电子设备,其中,所述处理器通过调用所述计算机程序,还用于执行步骤:
    在存储空间中预设所述配置文件的缓存空间;
    当接收到配置服务器返回的配置文件时,将所述配置文件缓存在所述缓存空间中。
PCT/CN2019/071439 2018-02-13 2019-01-11 应用页面的显示方法、装置、存储介质及电子设备 WO2019157894A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810150631.XA CN108391009A (zh) 2018-02-13 2018-02-13 应用页面的显示方法、装置、存储介质及电子设备
CN201810150631.X 2018-02-13

Publications (1)

Publication Number Publication Date
WO2019157894A1 true WO2019157894A1 (zh) 2019-08-22

Family

ID=63069719

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/071439 WO2019157894A1 (zh) 2018-02-13 2019-01-11 应用页面的显示方法、装置、存储介质及电子设备

Country Status (2)

Country Link
CN (1) CN108391009A (zh)
WO (1) WO2019157894A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112395297A (zh) * 2020-10-13 2021-02-23 北京达佳互联信息技术有限公司 作品信息同步的方法、装置及服务器
CN112433778A (zh) * 2020-11-09 2021-03-02 北京奇艺世纪科技有限公司 一种移动设备页面显示方法、装置、电子设备及存储介质
CN113312042A (zh) * 2021-04-22 2021-08-27 北京搜狗智能科技有限公司 一种数据处理方法、装置和电子设备
CN113343133A (zh) * 2021-05-31 2021-09-03 北京百度网讯科技有限公司 显示页面生成方法、相关装置及计算机程序产品
CN114327372A (zh) * 2020-09-29 2022-04-12 腾讯科技(深圳)有限公司 一种质量需求配置方法、装置、设备和介质

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108391009A (zh) * 2018-02-13 2018-08-10 广东欧珀移动通信有限公司 应用页面的显示方法、装置、存储介质及电子设备
CN111506846B (zh) * 2019-01-30 2023-05-02 杭州海康威视数字技术股份有限公司 Web页面生成方法、装置、电子设备及存储介质
CN109862096A (zh) * 2019-01-31 2019-06-07 网宿科技股份有限公司 一种应用配置方法、配置管理系统及终端
CN109918153B (zh) * 2019-03-18 2022-05-27 北京信息科技大学 页面打开方法和装置、页面内容检索方法和装置
CN109948101B (zh) * 2019-03-21 2022-03-01 Oppo广东移动通信有限公司 页面切换方法、装置、存储介质及电子设备
CN110222288B (zh) * 2019-06-10 2023-08-04 腾讯科技(深圳)有限公司 页面展示方法、装置及存储介质
CN110633434B (zh) * 2019-07-19 2024-02-27 北京有竹居网络技术有限公司 一种页面缓存方法、装置、电子设备及存储介质
CN110717125B (zh) * 2019-10-09 2022-07-12 北京无限光场科技有限公司 一种页面显示方法、装置、终端设备及介质
CN112633908B (zh) * 2019-10-09 2024-02-20 上海哔哩哔哩科技有限公司 广告测试对象生成方法、装置以及计算机设备
CN112799745B (zh) * 2019-11-14 2024-03-15 深圳市雅阅科技有限公司 一种页面显示控制方法及装置
CN112399010B (zh) * 2020-10-30 2021-08-24 维沃移动通信(杭州)有限公司 页面显示方法、装置和电子设备
CN113434233B (zh) * 2021-06-28 2023-10-24 青岛海尔科技有限公司 界面跳转方法、装置、存储介质及电子装置
CN114398098A (zh) * 2021-12-27 2022-04-26 北京五八信息技术有限公司 应用脚本执行方法、装置、电子设备和计算机可读介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020111995A1 (en) * 2001-02-14 2002-08-15 Mansour Peter M. Platform-independent distributed user interface system architecture
CN106202104A (zh) * 2015-05-07 2016-12-07 阿里巴巴集团控股有限公司 优化目标页面的打开速度的相关方法和装置
CN107122179A (zh) * 2017-03-31 2017-09-01 阿里巴巴集团控股有限公司 语音的功能控制方法和装置
CN107329743A (zh) * 2017-06-14 2017-11-07 北京小米移动软件有限公司 应用页面的展示方法、装置及存储介质
CN107577509A (zh) * 2017-08-28 2018-01-12 深圳市金立通信设备有限公司 一种加载应用界面的方法、终端及计算机可读存储介质
CN108334608A (zh) * 2018-02-02 2018-07-27 广东欧珀移动通信有限公司 应用页面的链接生成方法、装置、存储介质及电子设备
CN108363792A (zh) * 2018-02-13 2018-08-03 广东欧珀移动通信有限公司 应用页面的链接生成方法、装置、存储介质及电子设备
CN108391009A (zh) * 2018-02-13 2018-08-10 广东欧珀移动通信有限公司 应用页面的显示方法、装置、存储介质及电子设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075236A (zh) * 2006-06-12 2007-11-21 腾讯科技(深圳)有限公司 一种加快浏览器网页显示的装置和方法
CN102681996B (zh) * 2011-03-07 2015-12-16 腾讯科技(深圳)有限公司 预读方法和装置
CN103530365B (zh) * 2013-10-12 2017-07-04 北京搜狗信息服务有限公司 获取资源的下载链接的方法及系统
CN105488065A (zh) * 2014-09-19 2016-04-13 小米科技有限责任公司 网页访问方法、装置及终端
CN105426224A (zh) * 2015-12-28 2016-03-23 上海银天下科技有限公司 打开应用程序中的web页面的方法及装置
CN107291352A (zh) * 2017-06-20 2017-10-24 广州阿里巴巴文学信息技术有限公司 一种文字阅读中应用程序跳转的方法及其装置

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020111995A1 (en) * 2001-02-14 2002-08-15 Mansour Peter M. Platform-independent distributed user interface system architecture
CN106202104A (zh) * 2015-05-07 2016-12-07 阿里巴巴集团控股有限公司 优化目标页面的打开速度的相关方法和装置
CN107122179A (zh) * 2017-03-31 2017-09-01 阿里巴巴集团控股有限公司 语音的功能控制方法和装置
CN107329743A (zh) * 2017-06-14 2017-11-07 北京小米移动软件有限公司 应用页面的展示方法、装置及存储介质
CN107577509A (zh) * 2017-08-28 2018-01-12 深圳市金立通信设备有限公司 一种加载应用界面的方法、终端及计算机可读存储介质
CN108334608A (zh) * 2018-02-02 2018-07-27 广东欧珀移动通信有限公司 应用页面的链接生成方法、装置、存储介质及电子设备
CN108363792A (zh) * 2018-02-13 2018-08-03 广东欧珀移动通信有限公司 应用页面的链接生成方法、装置、存储介质及电子设备
CN108391009A (zh) * 2018-02-13 2018-08-10 广东欧珀移动通信有限公司 应用页面的显示方法、装置、存储介质及电子设备

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327372A (zh) * 2020-09-29 2022-04-12 腾讯科技(深圳)有限公司 一种质量需求配置方法、装置、设备和介质
CN112395297A (zh) * 2020-10-13 2021-02-23 北京达佳互联信息技术有限公司 作品信息同步的方法、装置及服务器
CN112395297B (zh) * 2020-10-13 2024-02-09 北京达佳互联信息技术有限公司 作品信息同步的方法、装置及服务器
CN112433778A (zh) * 2020-11-09 2021-03-02 北京奇艺世纪科技有限公司 一种移动设备页面显示方法、装置、电子设备及存储介质
CN112433778B (zh) * 2020-11-09 2023-09-01 北京奇艺世纪科技有限公司 一种移动设备页面显示方法、装置、电子设备及存储介质
CN113312042A (zh) * 2021-04-22 2021-08-27 北京搜狗智能科技有限公司 一种数据处理方法、装置和电子设备
CN113343133A (zh) * 2021-05-31 2021-09-03 北京百度网讯科技有限公司 显示页面生成方法、相关装置及计算机程序产品
CN113343133B (zh) * 2021-05-31 2024-01-09 北京百度网讯科技有限公司 显示页面生成方法、相关装置及计算机程序产品

Also Published As

Publication number Publication date
CN108391009A (zh) 2018-08-10

Similar Documents

Publication Publication Date Title
WO2019157894A1 (zh) 应用页面的显示方法、装置、存储介质及电子设备
WO2019149026A1 (zh) 应用页面的链接生成方法、装置、存储介质及电子设备
WO2019157880A1 (zh) 应用页面的链接生成方法、装置、存储介质及电子设备
WO2019149207A1 (zh) 应用页面的显示方法、装置、存储介质及电子设备
US20210191996A1 (en) Method for displaying application page, non-transitory storage medium and electronic device
WO2019157860A1 (zh) 应用界面的启动方法、装置、存储介质及电子设备
CN108287917B (zh) 文件打开方法、装置、存储介质及电子设备
TWI690812B (zh) 頁面元件動態佈局方法、裝置及客戶端
WO2019157852A1 (en) Method and apparatus for launching application page, and electronic device
US20180285471A1 (en) Page caching method and apparatus
CN108287918B (zh) 基于应用页面的音乐播放方法、装置、存储介质和电子设备
CN107329985B (zh) 一种页面的收藏方法、装置和移动终端
WO2017215270A1 (zh) 一种信息展示方法、装置及电子设备
WO2017032089A1 (zh) 一种搜索方法及终端
WO2020206691A1 (zh) 应用程序的处理方法、装置、存储介质及电子设备
WO2019154014A1 (zh) 视频播放方法、装置、存储介质及电子设备
WO2020078174A1 (zh) 应用查找方法、存储介质及电子设备
WO2021135578A1 (zh) 页面处理方法、装置、存储介质及终端设备
US20140359413A1 (en) Apparatuses and methods for webpage content processing
WO2014071779A1 (zh) 预打开网页的方法、装置及移动终端
CN108345478B (zh) 应用处理方法、装置、存储介质及电子设备
EP2778988B1 (en) Selectively activating a/v web page contents in electronic device
CN108563476B (zh) 应用程序运行方法、装置、存储介质及电子设备
CN104778172A (zh) 网页信息的预取处理方法、装置及对应的网页浏览装置
CN111125595A (zh) 多页面控制方法、装置、电子设备及存储介质

Legal Events

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

Ref document number: 19754471

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19754471

Country of ref document: EP

Kind code of ref document: A1