WO2015169177A1 - Procédé et appareil d'affichage de page web - Google Patents

Procédé et appareil d'affichage de page web Download PDF

Info

Publication number
WO2015169177A1
WO2015169177A1 PCT/CN2015/078025 CN2015078025W WO2015169177A1 WO 2015169177 A1 WO2015169177 A1 WO 2015169177A1 CN 2015078025 W CN2015078025 W CN 2015078025W WO 2015169177 A1 WO2015169177 A1 WO 2015169177A1
Authority
WO
WIPO (PCT)
Prior art keywords
website
preload
web page
candidate
target
Prior art date
Application number
PCT/CN2015/078025
Other languages
English (en)
Inventor
Jun Liu
Guangkai LIU
Wentong Li
Huaquan LI
Original Assignee
Tencent Technology (Shenzhen) Company Limited
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 Tencent Technology (Shenzhen) Company Limited filed Critical Tencent Technology (Shenzhen) Company Limited
Publication of WO2015169177A1 publication Critical patent/WO2015169177A1/fr

Links

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/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Definitions

  • the present disclosure relates to computer technologies, and in particular, to a web page display method and apparatus.
  • a browser which serves as an entrance for browsing a 100-million-scale web page on the Internet, has become a common tool of a user for accessing a network.
  • the user may usually input a keyword in the browser to search for a relevant web page, then selects, according to a search result, a target web page that he or she eventually wants to open, and opens the target web page by using the browser.
  • a user terminal usually does not acquire web page data of the target web page only until the user selects the target web page according to the search result, and then loads and displays the target web page by using a display window of the browser, so that a speed for displaying a web page is relatively low.
  • the present disclosure provides a web page display method and apparatus, and the web page display method and apparatus may increase the speed for displaying a web page.
  • An embodiment of the present invention provides a web page display method, including: activating, by a user terminal, a preload task when detecting that a preset trigger condition is satisfied, acquiring a candidate website and an identity of a candidate web page of a corresponding target web page, and determining a preload website of the target web page according to the candidate website and the identity; activating a preload window in a backend, and preloading, according to the preload website, the target web page by using the preload window; and determining a target website of the target web page according to the candidate website and the identity, matching the target website with the preload website, and changing, when the target website matches the preload website, the preload window to be running and displayed in the user terminal.
  • An embodiment of the present invention provides a web page display apparatus, running on a user terminal and including: a determining module, configured to activate a preload task when detecting that a preset trigger condition is satisfied, acquire a candidate website and an identity of a candidate web page of a corresponding target web page, and determine a preload website of the target web page according to the candidate website and the identity; a preload module, configured to activate a preload window in a backend, and preload, according to the preload website determined by the determining module, the target web page by using the preload window; and a first display module, configured to determine a target website of the target web page according to the candidate website and the identity, match the target website determined by the first display module with the preload website determined by the determining module, and change, when the target website matches the preload website, the preload window to be running and displayed in the user terminal.
  • a determining module configured to activate a preload task when detecting that a preset trigger condition is satisfied, acquire a candidate website and an
  • a user terminal activates a preload task when detecting that a preset trigger condition is satisfied, determines a preload website of a target web page, and preloads, according to the preload website, the target web page by using a preload window in the backend, and meanwhile, determines, according to a determining instruction of a user, a target website of the target web page, then matches the target website with the preload website, and changes, when the target website matches the preload website, the preload window to be displayed in the user terminal.
  • the user terminal preloads the target web page to a certain extent while waiting for the user to determine the target website of the target web page, the user terminal can quickly display the target web page after the target web page is determined, thereby reducing a display time of the target web page and increasing a speed for displaying a web page.
  • FIG. 1 is a diagram illustrating an application environment of a web page display method according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a user terminal
  • FIG. 3 is a flowchart of a web page display method according to a first embodiment of the present invention
  • FIG. 4 is a flowchart of a web page display method according to a second embodiment of the present invention.
  • FIG. 5 is a flowchart of a web page display method according to a third embodiment of the present invention.
  • FIG. 6 is a structural schematic diagram of a web page display apparatus according to a fourth embodiment of the present invention.
  • FIG. 7 is a schematic diagram illustrating a storage environment of the apparatus in FIG. 6;
  • FIG. 8 is a structural schematic diagram of a web page display apparatus according to a fifth embodiment of the present invention.
  • FIG. 9 is a structural schematic diagram of some modules in the web page display apparatus according to the fifth embodiment of the present invention.
  • FIG. 10 is a structural schematic diagram of some modules in the web page display apparatus according to the fifth embodiment of the present invention.
  • a web page display method is applicable to an application environment shown in FIG. 1, thereby implementing display of a target web page.
  • a user terminal 100 and a server 200 are located in a wired or wireless network, and the user terminal 100 and the server 200 perform data interaction through the wired or wireless network.
  • the user terminal 100 may include: a smart mobile phone, a tablet computer, an e-book reader, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer IV (MP4) player, a laptop portable computer, a vehicle-mounted computer, a desktop computer, a Set-Top Box (STB), a smart television, a wearable device, and the like.
  • MP3 Moving Picture Experts Group Audio Layer III
  • MP4 Moving Picture Experts Group Audio Layer IV
  • STB Set-Top Box
  • STB Set-Top Box
  • FIG. 2 is a structural block diagram of a user terminal.
  • the user terminal 100 include a memory 102, a memory controller 104, one or more processors 106 (only one processor is shown in FIG. 2), a peripheral interface 108, a radio frequency module 110, a positioning module 112, a camera module 114, an audio module 116, a screen 118, and a key module 120. These components communicate with each other through one or more communication buses/signal lines 122.
  • FIG. 2 merely shows a schematic structure, and the user terminal 100 may also include more or fewer components than those shown in FIG. 2, or have a configuration different from that shown in FIG. 2.
  • the components shown in FIG. 2 may be implemented by using hardware, software, or a combination thereof.
  • the memory 102 may be configured to store a software program and module, such as a program instruction/module corresponding to a web page display method and apparatus in an embodiment of the present invention.
  • the processor 106 executes different functional applications and performs data processing by running the software program and module stored in the memory 102, thereby implementing the foregoing web page display method.
  • the memory 102 may include a high-speed random memory, and may also include a nonvolatile memory, for example, one or more magnetic storage devices, flash memories or other nonvolatile solid-state memories. In some examples, the memory 102 may further include memories remotely disposed relative to the processor 106, and these remote memories may be connected to the user terminal 100 through a network. Examples of the network include but are not limited to, the Internet, an intranet, a local area network, a mobile communications network, and a combination thereof. The processor 106 and other possible components may access the memory 102 under the control of the memory controller 104.
  • the processor 106 runs different software and instructions inside the memory 102, so as to perform different functions of the user terminal 100 and perform data processing.
  • the peripheral interface 108 is configured to couple various peripherals to a CPU and the memory 102.
  • the memory controller 104, the processor 106, and the peripheral interface 108 may be implemented in a single chip. In some other embodiments, they may be separately implemented by an independent chip.
  • the radio frequency module 110 is configured to receive and send an electromagnetic wave, and implement mutual conversion between the electromagnetic wave and an electrical signal, so as to communicate with a communications network or another device.
  • the radio frequency module 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, a cipher/decipher chip, a subscriber identity module (SIM) card, and a memory.
  • the radio frequency module 110 may communicate with various networks, such as the Internet, an intranet and a wireless network, or communicate with other devices through a wireless network.
  • the wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the wireless network may use various communications standards, protocols and technologies, which include, but are not limited to, Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Bluetooth, Wireless Fidelity (WiFi) (for example, US Institute of Electrical and Electronic Engineers IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, and/or IEEE 802.11n), Voice over Internet Protocol (VoIP), Worldwide Interoperability for Microwave Access (Wi-Max), other protocols for email, instant messaging and short message service, and any other suitable communications protocols, and even may include some protocols that have not been developed.
  • GSM Global System for Mobile Communications
  • EDGE Enhanced Data GSM Environment
  • W-CDMA Wideband Code Division Multiple Access
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • WiFi Wireless Fidelity
  • VoIP Voice over Internet Protocol
  • Wi-Max Worldwide Interoperability for Microwave Access
  • the positioning module 112 is configured to acquire a current location of the user terminal 100.
  • the positioning module 112 includes, for example, but is not limited to, a global positioning system (GPS) and a positioning technology based on a wireless local area network or mobile communications network.
  • GPS global positioning system
  • the camera module 114 is configured to capture a picture or video.
  • the captured picture or video may be stored into the memory 102 and may be sent by using the radio frequency module 110.
  • the audio module 116 provides an audio interface for a user and may include one or more microphones, one or more loudspeakers, and an audio circuit.
  • the audio circuit receives sound data from the peripheral interface 108, converts the sound data into electric information, and transmits the electric information to the loudspeaker.
  • the loudspeaker converts the electric information into an acoustic wave audible to the human ear.
  • the audio circuit further receives electric information from the microphone, converts an electrical signal into audio data, and transmits the audio data to the peripheral interface 108 for further processing.
  • the audio data may be acquired from the memory 102 or by the radio frequency module 110.
  • the audio data may also be stored into the memory 102 and sent by the radio frequency module 110.
  • the audio module 116 may further include an earphone jack, for providing an audio interface for an earphone or another device.
  • the screen 118 provides an output interface between the user terminal 100 and the user and displays a video output to the user, and content of the video output may include texts, images, videos, and any combination thereof. Some output results correspond to some user interface objects. It may be understood that the screen 118 may further provide an output and input interface between the user terminal 100 and the user. Specifically, in addition to displaying the video output to the user, the screen 118 further receives an input of the user, such as tapping, sliding, or other gesture operations of the user, so that the user interface object responds to the input of the user.
  • the technology for detecting the input of the user may be a resistive touch detection technology, a capacitive touch detection technology, or any other possible touch detection technologies. Specific examples of a display unit of the screen 118 include, but are not limited to, a liquid crystal display or a light-emitting polymer display.
  • the key module 120 also provides an interface for the user to input information to the user terminal 100, and the user may press different keys to enable the user terminal 100 to perform different functions.
  • FIG. 3 is a flowchart of a web page display method according to a first embodiment of the present invention. As shown in FIG. 3, the web page display method according to this embodiment of the present invention includes the following steps:
  • Step S101 A user terminal activates a preload task when detecting that a preset trigger condition is satisfied, acquires a candidate website and an identity of a candidate web page of a corresponding target web page, and determines a preload website of the target web page according to the candidate website and the identity.
  • a preset client configured to load and display the target web page may run in a user terminal 100, and the client may include: a web page browser or another client embedded with a web page browser component, such as a news client, or an instant communications client.
  • the client may have a function of preloading the target web page and may enable or disable the preload function according to an instruction of a user.
  • the preset trigger condition may include: receiving a search instruction triggered by a user, and receiving a push request, of the target web page, sent by a server. It may be understood that the preset trigger condition may also be another similar condition that will cause the user terminal to preload the target web page once the condition is satisfied.
  • the user terminal 100 detects whether the client receives a search instruction triggered by a user, the search instruction being used for searching for the target web page. If detecting that the search instruction is received, the user terminal 100 determines that the preset trigger condition is satisfied and activates the preload task.
  • the user terminal 100 acquires, according to the detected search instruction, a search keyword input by the user in a search box of the client, performs a search according to the search keyword, acquires a search result, where the search result includes a candidate website and an identity of a candidate web page of the target web page that matches the search keyword, and then determines a preload website of the target web page according to the candidate website of the candidate web page and the identity of the candidate web page.
  • the search keyword may include: a Chinese character, a letter or any character in other characters, or a combination thereof.
  • the identity of the candidate web page may be a name of the candidate web page or a subject, a keyword, or the like of content included in the candidate web page.
  • the user terminal 100 detects whether a push request, of the target web page, sent by a server is received, and determines, if the user terminal 100 detects that the push request sent by the server is received, that the preset trigger condition is satisfied, activates the preload task, and extracts the candidate website and the identity of the candidate web page of the to-be-pushed target web page included in the push request.
  • Step S102 Activate a preload window in a backend, and preload, according to the preload website, the target web page by using the preload window.
  • the user terminal 100 activates the preload window by using the client in the backend, then downloads preload web page data of the target web page from the corresponding server, and loads the preload web page data by using the preload window, so as to preload the target web page.
  • Step S103 Determine a target website of the target web page according to the candidate website and the identity, match the target website with the preload website, and change, when the target website matches the preload website, the preload window to be running and displayed in the user terminal.
  • the user terminal 100 determines a target website of the target web page according to the candidate website of the candidate web page of the acquired target web page and the identity of the candidate web page. Specifically, the user terminal 100 may display the candidate website of the candidate web page of the acquired target web page, or the identity of the candidate web page, or the candidate website and the identity of the candidate web page to the user, then receive a determining instruction triggered by the user for the displayed content, acquire a website to which the determining instruction points, that is, a website selected by the user from the candidate website, and determine the website to be the target website.
  • the user terminal 100 matches the target website selected by the user with the previously determined preload website. It may be understood that when the target website matches the preload website, it may be determined that the preload web page data preloaded by the user terminal 100 previously by using the preload window in the backend is web page data of the target web page that the user selects and wants to open.
  • the user terminal 100 changes, when the target website matches the preload website, the preload window to be running and displayed in the user terminal.
  • the preload window is changed to be running and displayed in the user terminal, its function is also changed to be consistent with that of a window that runs in the user terminal.
  • the user terminal 100 may change a window that is originally running in the user terminal in the client to be running in the backend and use the window as a new preload window, that is, change functions between the preload window that is originally running in the backend and another window that is originally running in the user terminal.
  • FIG. 4 is a flowchart of a web page display method according to a second embodiment of the present invention. As shown in FIG. 4, the web page display method according to this embodiment of the present invention includes the following steps:
  • Step S201 A user terminal detects whether a search instruction triggered by a user is received, the search instruction being used for searching for a target web page, and determines, if the user terminal detects that the search instruction is received, that a preset trigger condition is satisfied, and activates a preload task.
  • a preset client configured to load and display the target web page may run in a user terminal 100, and the client may include: a web page browser or another client embedded with a web page browser component, such as a news client, or an instant communications client.
  • the search instruction may be triggered by operations of inputting a search keyword and confirming a search performed by the user in a search box of the client by means of a keyboard, a mouse, or a touch gesture.
  • the user terminal 100 detects whether the client receives the search instruction triggered by the user, and activates a preload task if the user terminal 100 detects the client receives the search instruction, where the preload task is used for preloading a target web page selected by the user according to a search result acquired according to the search instruction.
  • Step S202 Acquire, according to the search instruction, a search keyword input by the user, perform, according to the search keyword, a search by using a search engine, and acquire a search result.
  • the user terminal 100 acquires, according to the search instruction received by the client, a search keyword input by the user in the search box of the client, performs, according to the search keyword, a search by using a search engine, and acquires a search result.
  • the search keyword may include: a Chinese character, a letter or any character in other characters, or a combination thereof.
  • the search result may include: a candidate website of a candidate web page of a target web page that is acquired from a web page returned by the search engine and matches the search keyword, and an identity of the candidate web page.
  • the identity of the candidate web page may be a name of the candidate web page or a subject, a keyword, or the like of content included in the candidate web page.
  • Step S203 Rank the candidate website according to a preset rule, and determine the preload website according to a ranking result.
  • the user terminal 100 may rank the candidate website according to a matching degree between the identity of the candidate web page in the search result and the search keyword. For example, the candidate website may be ranked according to the matching degree, a candidate website having a high matching degree ranks high, and a candidate website having a low matching degree ranks low. Subsequently, the user terminal 100 may determine, according to a ranking order, a candidate website that ranks the first to be a preload website of the target web page.
  • the user terminal 100 may also determine, according to network quality, or hardware configuration of the user terminal 100, a website of a candidate web page that ranks within a preset range of top numerals (for example, the top 3) to be a preload website of the target web page.
  • a website of a candidate web page that ranks within a preset range of top numerals (for example, the top 3) to be a preload website of the target web page.
  • Step S204 Activate a preload window from the backend in the client, and preload, according to the preload website, the target web page by using the preload window.
  • the user terminal 100 downloads, according to the preload website, preload web page data of the target web page from a corresponding server, and then, loads the preload web page data by using the preload window in the backend, so as to preload the target web page.
  • the user terminal 100 preloads the target web page by using the preload window, because the preload window runs in the backend, and the preload window is invisible to the user, a normal operation of the user on another window that is running in the user terminal will not be affected.
  • Step S205 Display the search result.
  • the user terminal 100 displays the search result and guides the user to determine, according to the displayed content, a target website of the target web page that needs to be loaded finally. Specifically, the user terminal 100 may only display the identity of the candidate web page of the target web page in the search result, or only display the candidate website of the candidate web page, or display both the identity and the candidate website of the candidate web page.
  • Step S206 Receive a determining instruction triggered by the user for the displayed search result, acquire a website to which the determining instruction points, and determine the website to be the target website.
  • the user terminal 100 receives a determining instruction triggered by the user for the identity of the candidate web page and/or the candidate website of the candidate web page of the target web page in a search result display interface, acquires a website to which the determining instruction points, and determines the website to be the target website.
  • Step S207 Match the target website with the preload website and change, when the target website matches the preload website, the preload window to be running and displayed in the user terminal.
  • the user terminal 100 matches the target website determined according to the determining instruction triggered by the user with the preload website previously determined by the user terminal 100 according to the search result, that is, determining whether the target website is consistent with the preload website, and when the target website is consistent with the preload website, it may be determined that the preload web page data preloaded by the user terminal 100 by using the preload window in the backend is web page data of the target web page selected by the user.
  • the user terminal 100 may directly change the preload window to be running and displayed in the user terminal, so as to omit a step of downloading web page data of the target web page from a server corresponding to the target website and loading and displaying the web page data, thereby improving the speed for displaying the target web page.
  • the user terminal 100 may instruct another preload window that is not changed to be displayed in the user terminal to stop preloading the target web page.
  • Step S208 Use a window that is originally running in the client, as the preload window, to be running in the backend.
  • the user terminal 100 changes the window that is originally running in the client, as a new preload window, to be running in the backend, and preloads a new target web page by using the preload window when a preload task is activated again. In this way, a utilization ratio of a window may be increased, thereby further improving the web page display efficiency.
  • Step S209 Load and display the target web page according to the target website if the target website does not match the preload website.
  • the preload web page data preloaded by the user terminal 100 by using the preload window in the backend is not the web page data of the target web page selected by the user, so that the user terminal 100 acquires, according to the target website, web page data of the target web page from the corresponding server, and then loads and displays the web page data by using a window that is running in the user terminal. Meanwhile, the user terminal 100 may instruct the preload window in the backend to stop preloading the target web page.
  • FIG. 5 is a flowchart of a web page display method according to a third embodiment of the present invention. As shown in FIG. 5, the web page display method according to this embodiment of the present invention includes the following steps:
  • Step S301 A user terminal detects whether a push request, of a target web page, sent by a server is received, and determines, if the user terminal detects that the push request sent by the server is received, that a preset trigger condition is satisfied, and activates a preload task.
  • Web page pushing refers to an implementation manner where a server collects, according to interest of a user, an information resource in which the user may be interested in a network, and sends a web page in which the information resource is located to a user terminal of the user periodically or as customized by the user, so as to enable the user to acquire a personalized information resource.
  • a preset client may run in a user terminal 100, and the client may include: a web page browser or another client embedded with a web page browser component, such as a news client, or an instant communications client.
  • the client may be configured to receive a push request of a target web page sent by a server 200 and may also be configured to load and display the target web page.
  • the user terminal 100 detects whether the push request, of the target web page, sent by the server 200 is received, determines that a preset trigger condition is satisfied when detecting that the user terminal receives the push request, of the target web page, sent by the server 200, and activates a preload task.
  • the push request may include a candidate website and an identity of a candidate web page of the target web page.
  • the identity of the candidate web page may be a name of the candidate web page or a subject, a keyword, or the like of content included in the candidate web page.
  • Step S302 Extract a candidate website and an identity from the push request, rank the candidate website according to a preset rule, and determine the preload website according to a ranking result.
  • the user terminal 100 extracts a candidate website of a candidate web page of the target web page and an identity of the candidate web page from the push request, of the target web page, sent by the server 200, then ranks the candidate website according to a preset rule, and determines the preload website according to a ranking result.
  • the user terminal 100 may rank the candidate website according to a matching degree between a browsing habit of the user and the identity of the candidate web page. For example, the candidate website may be ranked according to the matching degree, a candidate website having a high matching degree ranks high, and a candidate website having a low matching degree ranks low. Subsequently, the user terminal 100 may determine, according to a ranking order, a candidate website that ranks the first to be a preload website of the target web page.
  • the user terminal 100 may also determine, according to network quality, or hardware configuration of the user terminal 100, a website of a candidate web page that ranks within a preset range of top numerals (for example, the top 3) to be a preload website of the target web page.
  • a website of a candidate web page that ranks within a preset range of top numerals (for example, the top 3) to be a preload website of the target web page.
  • the push request may also include additional information of each candidate web page, for example, the number of times the candidate web page is browsed, a publication time, importance, and the like of the candidate web page.
  • the user terminal 100 may acquire, according to the additional information, a weight corresponding to each piece of additional information, score each candidate web page according to a preset algorithm, then rank the candidate web pages in descending order of scores, and determine the candidate website that ranks the first to be the preload website of the target web page.
  • the website of the web page is determined to be the preload website of the target web page.
  • Step S303 Activate the preload window from the backend in the client, and preload, according to the preload website, the target web page by using the preload window.
  • the user terminal 100 downloads, according to the preload website, preload web page data of the target web page from a corresponding server, and then, loads the preload web page data by using the preload window in the backend, so as to preload the target web page.
  • the user terminal 100 preloads the target web page by using the preload window, because the preload window runs in the backend, and the preload window is invisible to the user, a normal operation of the user on another window that is running in the user terminal will not be affected.
  • Step 304 Display the extracted identity and/or the candidate website.
  • the user terminal 100 may display the identity of the candidate web page of the target web page extracted from the push request, or the candidate website of the candidate web page, or the identity and the candidate website of the candidate web page by using a message display window, so as to guide the user to determine, according to the displayed content, the target website of the target web page that needs to be loaded finally.
  • Step S305 Receive a determining instruction triggered by a user for the identity and/or the candidate website, acquire a website to which the determining instruction points, and determine the website to be the target website.
  • the user terminal 100 receives a determining instruction triggered by the user for the identity of the candidate web page and/or the candidate website of the candidate web page of the target web page in a message display interface, acquires a website to which the determining instruction points, and determines the website to be the target website.
  • the user terminal 100 may directly instruct the preload window in the backend to stop preloading the target web page.
  • Step S306 Match the target website with the preload website and change, when the target website matches the preload website, the preload window to be running and displayed in the user terminal.
  • the target website determined according to the determining instruction triggered by the user is matched with the preload website previously determined according to the search result, that is, determining whether the target website is consistent with the preload website, and when the target website is consistent with the preload website, it may be determined that the preload web page data preloaded by the user terminal 100 by using the preload window in the backend is web page data of the target web page selected by the user.
  • the user terminal 100 may directly change the preload window to be running and displayed in the user terminal, so as to omit the time of downloading web page data of the target web page from a server corresponding to the target website and loading and displaying the web page data, thereby improving the speed for displaying the target web page.
  • the user terminal 100 may instruct another preload window that is not changed to be displayed in the user terminal to stop preloading the target web page.
  • Step S307 Use a window that is originally running in the client, as the preload window, to be running in the backend.
  • the user terminal 100 changes the window that is originally running in the client, as a new preload window, to be running in the backend, and preloads a new target web page by using the preload window when a preload task is activated again. In this way, a utilization ratio of a window may be increased, thereby further improving the web page display efficiency.
  • Step S308 Load and display the target web page according to the target website if the target website does not match the preload website.
  • the preload web page data preloaded by the user terminal 100 by using the preload window in the backend is not the web page data of the target web page selected by the user, so that the user terminal 100 acquires, according to the target website, web page data of the target web page from the corresponding server, and then loads and displays the web page data by using a window that is running in the user terminal. Meanwhile, the user terminal 100 may instruct the preload window in the backend to stop preloading the target web page.
  • FIG. 6 is a structural schematic diagram of a web page display apparatus according to a fourth embodiment of the present invention.
  • the web page display apparatus according to this embodiment may run in a user terminal 100 shown in FIG. 1 and be configured to implement the web page display method in the foregoing embodiments.
  • the web page display apparatus 40 includes a determining module 41, a preload module 42, and a first display module 43.
  • the determining module 41 is configured to activate a preload task when detecting that a preset trigger condition is satisfied, acquire a candidate website and an identity of a candidate web page of a corresponding target web page, and determine a preload website of the target web page according to the candidate website and the identity.
  • the preload module 42 is configured to activate a preload window in the backend, and preload, according to the preload website determined by the determining module 41, the target web page by using the preload window.
  • the first display module 43 is configured to determine a target website of the target web page according to the candidate website and the identity, match the target website determined by the first display module 42 with the preload website determined by the determining module 41, and change, when the target website matches the preload website, the preload window to be running and displayed in the user terminal.
  • the foregoing modules may be implemented with software code, and in this case, the foregoing modules may be stored in a memory 102, as shown in FIG. 7.
  • the foregoing modules may also be implemented with hardware, for example, an integrated circuit chip.
  • FIG. 8 is a structural schematic diagram of a web page display apparatus according to a fifth embodiment of the present invention.
  • the web page display apparatus according to this embodiment may run in a user terminal 100 shown in FIG. 1 and be configured to implement the web page display method in the foregoing embodiments.
  • a web page display apparatus 50 includes a determining module 51, a preload module 52, a first display module 53, a second display module 54, and a changing module 55.
  • the determining module 51 is configured to activate a preload task when detecting that a preset trigger condition is satisfied, acquire a candidate website and an identity of a candidate web page of a corresponding target web page, and determine a preload website of the target web page according to the candidate website and the identity.
  • the preload module 52 is configured to activate a preload window in the backend, and preload, according to the preload website determined by the determining module 51, the target web page by using the preload window.
  • the first display module 53 is configured to determine a target website of the target web page according to the candidate website and the identity, match the target website determined by the first display module 53 with the preload website determined by the determining module 51, and change, when the target website matches the preload website, the preload window to be running and displayed in the user terminal.
  • the second display module 54 is configured to load and display the target web page according to the target website if the target website does not match the preload website.
  • the changing module is configured to change a window that is originally running in the client, as the preload window, to be running in the backend.
  • the determining module 51 includes a first detecting unit 511 and a first activating unit 512.
  • the first detecting unit 511 is configured to detect whether a search instruction triggered by a user is received, the search instruction being used for searching for the target web page.
  • the first activating unit 512 is configured to determine, if the first detecting unit 511 detects that the search instruction is received, that the preset trigger condition is satisfied, and activate the preload task.
  • the determining module 51 further includes a search unit 513.
  • the search unit 513 is configured to acquire, according to the search instruction, a search keyword input by the user, perform, according to the search keyword, a search by using a search engine, and acquire a search result, where the search result includes a candidate website and an identity of a candidate web page of the target web page that matches the search keyword.
  • the determining module 51 further includes a second detecting unit 514 and a second activating unit 515.
  • the second detecting unit 514 is configured to detect whether a push request, of the target web page, sent by a server is received, where the push request includes the candidate website and the identity.
  • the second activating unit 515 is configured to determine, if the second detecting unit 515 detects that the push message sent by the server is received, that the preset trigger condition is satisfied, and activate the preload task.
  • the determining module 51 further includes an extraction unit 516.
  • the extraction unit 516 is configured to extract the candidate website and the identity from the push request.
  • the determining module is further configured to rank the candidate website according to a preset rule, and determine the preload website according to a ranking result.
  • the first display module 53 includes a display unit 531 and a determining unit 532.
  • the display unit 531 is configured to display the identity and/or the candidate website.
  • the determining unit 532 is configured to receive a determining instruction triggered by a user for the identity and/or the candidate website displayed by the display unit 531, acquire a website to which the determining instruction points, and determine the website to be the target website.
  • a client runs in the user terminal and the preload module is further configured to activate the preload window from the backend in the client.
  • the program may be stored in a computer readable storage medium.
  • the above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disc, or the like.

Landscapes

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

Abstract

L'invention concerne un procédé d'affichage de page Web qui comprend : l'activation, par un terminal utilisateur, d'une tâche de préchargement lorsqu'il est détecté qu'une condition de déclenchement prédéfinie est satisfaite, l'acquisition d'un site Web candidat et d'une identité d'une page Web candidate d'une page Web cible correspondante, et la détermination d'un site Web de préchargement de la page Web cible en fonction du site Web candidat et de l'identité ; l'activation d'une fenêtre de préchargement dans le système principal, et le préchargement, en fonction du site Web de préchargement, de la page Web cible en utilisant la fenêtre de préchargement ; et la détermination d'un site Web cible de la page Web cible en fonction du site Web candidat et de l'identité, la mise en correspondance du site Web cible avec le site Web de préchargement, et le changement, lorsque le site Web cible correspond au site Web de préchargement, de la fenêtre de préchargement devant être exécutée et affichée dans le terminal utilisateur. En outre, l'invention concerne également un appareil d'affichage de page Web.
PCT/CN2015/078025 2014-05-06 2015-04-30 Procédé et appareil d'affichage de page web WO2015169177A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410189402.0 2014-05-06
CN201410189402.0A CN105095253B (zh) 2014-05-06 2014-05-06 网页显示方法及装置

Publications (1)

Publication Number Publication Date
WO2015169177A1 true WO2015169177A1 (fr) 2015-11-12

Family

ID=54392128

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/078025 WO2015169177A1 (fr) 2014-05-06 2015-04-30 Procédé et appareil d'affichage de page web

Country Status (2)

Country Link
CN (1) CN105095253B (fr)
WO (1) WO2015169177A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569078A (zh) * 2018-05-18 2019-12-13 广州腾讯科技有限公司 一种网页级程序的预加载方法和装置

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446112A (zh) * 2016-09-14 2017-02-22 北京小米移动软件有限公司 页面显示方法及装置
CN107015801B (zh) * 2017-03-15 2021-01-08 腾讯科技(深圳)有限公司 一种网页展示方法及应用终端
CN107515903A (zh) * 2017-07-26 2017-12-26 北京京东尚科信息技术有限公司 一种加载展示情景网页的方法和装置
CN108733814B (zh) * 2018-05-21 2021-07-23 Oppo广东移动通信有限公司 搜索引擎预加载方法、装置、存储介质及终端
CN110007978A (zh) * 2018-11-20 2019-07-12 阿里巴巴集团控股有限公司 一种预加载页面的方法、装置及设备
CN112181569A (zh) * 2020-09-27 2021-01-05 平安信托有限责任公司 页面个性化显示方法、装置、计算机设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369284A (zh) * 2008-09-28 2009-02-18 北京搜狗科技发展有限公司 一种加载网页的方法及装置
CN102446222A (zh) * 2011-12-22 2012-05-09 华为技术有限公司 一种网页内容预加载方法、装置及系统
CN102663012A (zh) * 2012-03-20 2012-09-12 北京搜狗信息服务有限公司 一种网页预加载方法及系统
US20140108512A1 (en) * 2011-11-15 2014-04-17 Tencent Technology (Shenzhen) Company Limited Method and device for accessing web pages

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7467137B1 (en) * 1994-09-02 2008-12-16 Wolfe Mark A System and method for information retrieval employing a preloading procedure
CN101504649B (zh) * 2008-11-14 2011-11-30 北京搜狗科技发展有限公司 一种页面资源的处理方法及装置
CN101782911B (zh) * 2009-06-23 2016-03-16 北京搜狗科技发展有限公司 一种网络资源内容提示方法及系统
US20110173569A1 (en) * 2010-01-13 2011-07-14 Rockmelt, Inc. Preview Functionality for Increased Browsing Speed

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369284A (zh) * 2008-09-28 2009-02-18 北京搜狗科技发展有限公司 一种加载网页的方法及装置
US20140108512A1 (en) * 2011-11-15 2014-04-17 Tencent Technology (Shenzhen) Company Limited Method and device for accessing web pages
CN102446222A (zh) * 2011-12-22 2012-05-09 华为技术有限公司 一种网页内容预加载方法、装置及系统
CN102663012A (zh) * 2012-03-20 2012-09-12 北京搜狗信息服务有限公司 一种网页预加载方法及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569078A (zh) * 2018-05-18 2019-12-13 广州腾讯科技有限公司 一种网页级程序的预加载方法和装置
CN110569078B (zh) * 2018-05-18 2023-08-08 广州腾讯科技有限公司 一种网页级程序的预加载方法和装置

Also Published As

Publication number Publication date
CN105095253B (zh) 2020-11-24
CN105095253A (zh) 2015-11-25

Similar Documents

Publication Publication Date Title
WO2015169177A1 (fr) Procédé et appareil d'affichage de page web
WO2017142293A1 (fr) Dispositif électronique et procédé d'affichage de données d'application associé
WO2015196960A1 (fr) Procédé et système de vérification de la sécurité d'une url pour un terminal mobile
WO2016137167A1 (fr) Terminal
WO2015131803A1 (fr) Procédé et système de recommandation d'application
WO2015016524A1 (fr) Terminal mobile, montre intelligente, et procédé de mise en œuvre d'authentification à l'aide du terminal mobile et de la montre intelligente
WO2015122571A1 (fr) Terminal mobile et son procédé de commande
WO2014175513A1 (fr) Terminal mobile et son procédé de commande
WO2016165556A1 (fr) Procédé, dispositif et système de traitement de données pour un flux vidéo
WO2016099228A1 (fr) Procédé de fourniture d'un contenu et appareil électronique réalisant le procédé
WO2015127870A1 (fr) Procédé et appareil de recommandation d'application
WO2017061702A1 (fr) Dispositif électronique et procédé d'affichage d'une pluralité d'éléments
WO2014035209A1 (fr) Procédé et appareil permettant de fournir un service intelligent au moyen d'un caractère entré dans un dispositif utilisateur
WO2018023926A1 (fr) Procédé et système d'interaction pour téléviseur et terminal mobile
WO2017054592A1 (fr) Terminal et procédé d'affichage d'interface
WO2016076546A1 (fr) Terminal mobile et son procédé de commande
WO2016173259A1 (fr) Procédé d'appariement bluetooth et dispositif d'appariement bluetooth
WO2015057013A1 (fr) Procédé permettant à un dispositif portable d'afficher des informations par l'intermédiaire d'un dispositif pouvant être porté sur soi et son dispositif
WO2015120774A1 (fr) Procédé et appareil d'accès à un réseau appliqués à une application mobile
WO2017071352A1 (fr) Procédé de poussée de mot de passe, système de poussée, et dispositif terminal
WO2016000560A1 (fr) Procédé et appareil de transmission de fichier et appareil de réception de fichier
WO2016021984A1 (fr) Dispositif électronique et procédé pour traiter une entrée de lettre dans le dispositif électronique
WO2015144052A1 (fr) Méthode et appareil de collecte de statistiques sur des informations de réseau
WO2017190451A1 (fr) Procédé et appareil de poussée d'image
WO2015139594A1 (fr) Procédé, appareil et système de vérification de sécurité

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: 15789655

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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 1205N DATED 13/01/2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15789655

Country of ref document: EP

Kind code of ref document: A1