CN109284451B - Webpage pre-operation method, webpage browsing terminal and storage medium - Google Patents

Webpage pre-operation method, webpage browsing terminal and storage medium Download PDF

Info

Publication number
CN109284451B
CN109284451B CN201811036871.3A CN201811036871A CN109284451B CN 109284451 B CN109284451 B CN 109284451B CN 201811036871 A CN201811036871 A CN 201811036871A CN 109284451 B CN109284451 B CN 109284451B
Authority
CN
China
Prior art keywords
information
interface
web
webpage
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811036871.3A
Other languages
Chinese (zh)
Other versions
CN109284451A (en
Inventor
应玉龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201811036871.3A priority Critical patent/CN109284451B/en
Publication of CN109284451A publication Critical patent/CN109284451A/en
Application granted granted Critical
Publication of CN109284451B publication Critical patent/CN109284451B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a webpage pre-operation method, a webpage browsing terminal and a storage medium, which are applied to the technical field of communication. The webpage browsing terminal can determine user pre-operation information corresponding to the current user interface according to the information of the current user interface, if the operation of the webpage browsing terminal corresponding to certain user pre-operation information is a first type operation, namely based on the operation of a network between the webpage browsing terminal and a webpage server, corresponding pre-operation can be carried out, and a corresponding pre-operation result is stored. Therefore, before the actual operation of the user, the webpage browsing terminal executes some operations, namely the pre-operation, in the possible feedback process of the webpage browsing terminal to the user in advance, so that the feedback time of the webpage browsing terminal when the subsequent user initiates the actual operations can be reduced, and the influence of the network where the webpage browsing terminal is located on the feedback of the webpage browsing terminal to the user is greatly reduced.

Description

Webpage pre-operation method, webpage browsing terminal and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for pre-operating a web page, a web page browsing terminal, and a storage medium.
Background
With the acceleration of the pace of life of users and the development of mobile internet, more and more users use web browsing terminals in daily life, and the users can view web pages through the web browsing terminals. Specifically, the method comprises the following steps:
the user can operate the web browsing terminal, so that the web browsing terminal can open, slide or jump to a certain web area according to the user operation, and in the process, the web browsing terminal firstly calculates the web content of the web area and then initiates a network request to acquire and display the web content of the web area.
In the existing web browsing process, if the network where the web browsing terminal is located is not stable enough, the problem of slow response of network request inevitably exists, and finally the phenomenon that the web browsing terminal displays the web is unsmooth is caused.
Disclosure of Invention
The embodiment of the invention provides a webpage pre-operation method, a webpage browsing terminal and a storage medium, which realize the execution of pre-operation based on a network between the webpage browsing terminal and a webpage server according to a current user interface.
A first aspect of an embodiment of the present invention provides a method for pre-operating a web page, including:
acquiring information of a current user interface of a webpage browsing terminal;
determining user pre-operation information corresponding to the current user interface according to the information of the current user interface;
if the operation of the webpage browsing terminal corresponding to a certain user pre-operation information in the user pre-operation information is a first type of operation, pre-operation is performed according to the certain user pre-operation information, and a corresponding pre-operation result is stored; wherein the first type of operation is an operation based on a network between the web browsing terminal and a web server.
A second aspect of an embodiment of the present invention provides a web browsing terminal, including:
the interface information acquisition unit is used for acquiring the information of the current user interface of the webpage browsing terminal;
the user operation information determining unit is used for determining user pre-operation information corresponding to the current user interface according to the information of the current user interface;
the pre-operation unit is used for performing pre-operation according to certain user pre-operation information and storing a corresponding pre-operation result if the operation of the webpage browsing terminal corresponding to the certain user pre-operation information in the user pre-operation information is a first type of operation; wherein the first type of operation is an operation based on a network between the web browsing terminal and a web server.
A third aspect of the embodiments of the present invention provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method for pre-operating a web page according to the first aspect of the embodiments of the present invention.
A fourth aspect of the embodiments of the present invention provides a terminal device, including a processor and a storage medium, where the processor is configured to implement each instruction;
the storage medium is configured to store a plurality of instructions, where the instructions are configured to be loaded by a processor and to perform a method for pre-operating a web page according to the first aspect of the embodiment of the present invention.
It can be seen that, in the method of this embodiment, the web browsing terminal may determine the user pre-operation information corresponding to the current user interface according to the information of the current user interface, and if the operation of the web browsing terminal corresponding to a certain user pre-operation information is the first type operation, may perform a corresponding pre-operation, and store a corresponding pre-operation result. Therefore, before the actual operation of the user, the webpage browsing terminal executes some operations, namely the pre-operation, executed in the possible feedback process of the webpage browsing terminal to the user in advance, so that the feedback time of the webpage browsing terminal when the subsequent user initiates the actual operations can be reduced; and because the operations are based on the operations (namely the first type operations) of the network between the web browsing terminal and the web server, when the user initiates the actual operations, the influence of the network where the web browsing terminal is located on the feedback of the web browsing terminal to the user is greatly reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of a system to which a method for pre-operating a web page according to an embodiment of the present invention is applied;
FIG. 2 is a flow chart of a method for pre-operating a web page according to an embodiment of the present invention;
FIG. 3a is a schematic diagram of a user interface displayed by the web browsing terminal in accordance with one embodiment of the present invention;
FIG. 3b is a schematic diagram of another user interface displayed by the web browsing terminal in one embodiment of the present invention;
FIG. 4 is a flowchart of a method for pre-user operation of a web page according to an embodiment of the present invention;
FIG. 5 is a flowchart of a method for pre-user operation of a web page according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a web browsing terminal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the present invention provides a method for pre-operating a web page, which is mainly applicable to a system shown in fig. 1, where the system includes a web page browsing terminal 100 and at least one web page server 200 (1 in fig. 1 is an example description), where the web page browsing terminal 100 is configured to obtain web page information from the corresponding web page server 200 according to a user operation, and display the web page information; the web server 200 is configured to send corresponding web information to the web browsing terminal 100 after performing network connection with the web browsing terminal 100. Specifically, in this embodiment, the web browsing terminal 100 implements the pre-operation method of the web page according to the following steps:
acquiring information of a current user interface of the web browsing terminal 100; determining user pre-operation information corresponding to the current user interface according to the information of the current user interface; if the operation of the web browsing terminal 100 corresponding to a certain user pre-operation information in the user pre-operation information is a first type of operation, performing pre-operation according to the certain user pre-operation information, and storing a corresponding pre-operation result; wherein the first type of operation is an operation based on a network between the web browsing terminal 100 and the web server 200. In this way, when the actual user operation performed on the current user interface by the user corresponds to the certain user pre-operation information, the web browsing terminal 100 will continue to perform other operations corresponding to the user pre-operation information according to the pre-operation result stored in the web browsing terminal 100.
As can be seen, before the actual operation of the user, the web browsing terminal 100 executes some operations, namely, pre-operations, executed in the possible feedback process of the web browsing terminal 100 to the user in advance, so that the feedback time of the web browsing terminal 100 when the subsequent user initiates the actual operations can be reduced; since the pre-operations are based on operations (i.e., first type operations) of the network between the web browsing terminal 100 and the web server 200, when the user initiates the actual operations, the influence of the network where the web browsing terminal 100 is located on the feedback of the web browsing terminal 100 to the user is greatly reduced.
An embodiment of the present invention provides a method for pre-operating a web page, which is mainly a method executed by the web page browsing terminal, and a flowchart is shown in fig. 2, where the method includes:
step 101, obtaining information of a current user interface of a web browsing terminal, wherein the information of the current user interface includes: webpage information and/or interface body information of the webpage browsing terminal.
It can be understood that the user may operate the web browsing terminal, so that the web browsing terminal displays the current user interface, and thus the web browsing terminal may initiate the process of this embodiment, and first obtain information of the current user interface, which mainly includes the following two aspects of information: web page information and interface ontology information.
The webpage information refers to information based on a certain website acquired by a webpage browsing terminal from a webpage server, the information is mainly information in a webpage format, generally, a user interface displayed by the webpage browsing terminal only comprises information of a partial area in a webpage due to the limitation of the size of a display screen included by the webpage browsing terminal, and the webpage information in the user interface presented to a user by the webpage browsing terminal can correspondingly change along with the up-and-down sliding of the user on the current user interface; the interface body information is information which is fixedly stored in the web browsing terminal and is displayed (including hidden display) on the current user interface, the information does not need to be acquired from the web server, specifically, the interface body information can include information such as task operation buttons of the current user interface, and the interface body information cannot be changed along with up-and-down sliding of a user on the current user interface.
A user interface displayed by a web browsing terminal, such as that shown in fig. 3a, includes: a "forward (indicated by a right arrow in the figure)" button, a "backward (indicated by a left arrow in the figure)" button, an address of the web page a, a "zoom-out (indicated by a horizontal line in the figure)" button, a "zoom-in (indicated by a square in the figure)" button, a "close (indicated by a cross)" button, a web page slider (indicated by a square filled with oblique lines in the figure), and information of a certain partial area in one web page (i.e., the web page a), the information of the partial area including n news headlines (i.e., web page connection interface information), and the like. The web page browsing terminal can acquire the web page information of the user interface, including the information of the partial area in the web page a; the interface body information includes: information of various buttons and information of a web page slider in the user interface.
It should be noted that some information in the interface body information is directly displayed on the current user interface; in order to enable the current user interface to display information of more areas in the web page, other information may be hidden and displayed on the current user interface, for example, buttons such as "collect" and "forward", that is, in general, other information is invisible to the user on the current user interface, and when the web browsing terminal detects some specific user operations, other information may be displayed on the current user interface so as to be visible to the user.
And 102, determining user pre-operation information corresponding to the current user interface according to the information of the current user interface, namely webpage information and/or interface body information.
Here, the user pre-operation information refers to operation information that a user may operate on a current user interface, for example, for the user interface shown in fig. 3a, the user pre-operation information may include a click operation on each button on the user interface, such as a click operation on a button such as "forward", and may also include a click operation on hyperlink information in the web page information, and the like.
In one case, when the web browsing terminal specifically determines the user pre-operation information, the user pre-operation information may be determined according to the web information, and specifically, the web information includes at least one piece of web connection interface information (such as a title of a hyperlink), and the determined user pre-operation information may include first operation information for the at least one piece of web connection interface information.
For example, if the web page information of the user interface shown in fig. 3a includes n news headlines (i.e., n pieces of web page connection interface information), the user pre-operation information may include click operation information on the n news headlines.
In another case, the web browsing terminal may determine the user pre-operation information by combining the web page information and the interface ontology information, specifically, if the web page information included in the current user interface is information of a first partial area in a certain web page (for example, a first web page), and the interface ontology information includes information of a web sliding interface, if the first partial area is not a last partial area of the first web page, the user pre-operation information determined by the web browsing terminal includes: and second operation information of the webpage sliding interface.
In other cases, if the interface body information includes information of the web content update interface, the web browsing terminal may determine, according to the information of the web content update interface, that the user pre-operation information includes: and updating the third operation information of the interface for the webpage content.
Step 103, if the operation of the web browsing terminal corresponding to a certain user pre-operation information in the user pre-operation information is a first type operation, performing the pre-operation according to the certain user pre-operation information, and storing a corresponding pre-operation result, where the first type operation is an operation based on a network between the web browsing terminal and the web server, that is, an operation requiring a network connection between the web browsing terminal and the web server.
Specifically, when the web browsing terminal performs the pre-operation, the following methods may be included, but are not limited to:
(1) if the determined user pre-operation information comprises the first operation information and the operation of the web browsing terminal corresponding to the first operation information is a first type of operation, pre-connection can be respectively established between the web browsing terminal and web servers corresponding to all web connection interface information in at least one piece of web connection interface information when the web browsing terminal performs the pre-operation; or pre-connection is established between the web servers corresponding to part of the web page connection interface information in the at least one web page connection interface information.
Specifically, in one case, the web browsing terminal may establish pre-connection with the web servers corresponding to all the web connection interface information, respectively; in another case, the web browsing terminal selects a part of the web connection interface information first, and then establishes pre-connection between the web servers corresponding to the part of the web connection interface information respectively.
In another case, when the web browsing terminal selects part of the web connection interface information, it may first obtain user history operation information for operating at least one piece of web connection interface information on the current user interface, and then select part of the web connection interface information according to the user history operation information.
Specifically, the user history operation information may include the number of times a certain type of web page connection interface information is operated on the current user interface, and if the number of times is greater than a preset value, the type of web page connection interface information may be selected, for example, if the number of times a user clicks entertainment type news on a user interface displaying a flight news web page is greater than a certain value, the entertainment type of web page connection interface information may be selected.
It should be noted that, in this case, after the web browsing terminal performs the pre-operation, when the first user operation information of a certain web connection interface information in the at least one web connection interface information is detected, the corresponding web information is directly obtained according to the pre-connection corresponding to the certain web connection interface information in the pre-connection, so that the time for establishing the network connection with the web server is saved, and the time for the web browsing terminal to feed back to the user is reduced.
(2) If the determined user pre-operation information includes the second operation information, and the operation of the web browsing terminal corresponding to the second operation information is a first type operation, the web browsing terminal may obtain information of other partial areas (for example, a second partial area) after the first partial area in the first web page from the web server corresponding to the first web page when performing the pre-operation.
If the information of the other partial area includes video information, the web browsing terminal may obtain the initial part of the video information, for example, the video information of the first 2 minutes, from the web server corresponding to the first web page, instead of obtaining all the video information.
Further, the pre-operation performed by the web browsing terminal may perform a pre-rendering operation according to the acquired information of the other partial area, in addition to acquiring the information of the other partial area, that is, draw a user interface that can be displayed by the web browsing terminal according to the information of the other partial area.
In this case, after the web browsing terminal performs the pre-operation, when the second user operation information on the web sliding interface is detected on the current user interface, the web browsing terminal displays the other part area of the first web page according to the acquired information of the other part area. Therefore, the time for acquiring information from the web server is saved, and the time for the web browsing terminal to feed back to the user is reduced.
For example, as shown in fig. 3a, when the web browsing terminal detects that the user pulls down the operation information of the web slider, that is, detects the second user operation information, as shown in fig. 3b, the web browsing terminal may obtain other news headlines according to the pre-operation, and the information of another part of the displayed area of the web page a may include other news headlines, such as news headline n +1 through news headline m, where m is greater than n. If the web page slider is set to the bottom as shown in fig. 3b, that is, the user cannot pull the web page slider downward, it indicates that the currently displayed web page information of the web page browsing terminal is the last partial area of the web page a.
In addition, in general, in the information of the other partial region of the first web page in the non-displayed portion of the current user interface, there are some information, for example, an entire code of the first web page, including a Hypertext Markup Language (html) script file, a Cascading Style Sheets (CSS) file, a js script file, and the like, which is acquired from the web server at one time when the information of the first partial region in the first web page is displayed at the web browsing terminal; and other information, such as: information such as various picture resources, document resources, and resources stored in the network database is acquired from the web server only when display is required, and in this embodiment, the web browsing terminal may acquire the other information from the web server in advance, instead of waiting for display.
(3) If the determined user pre-operation information includes the third operation information and the operation of the web browsing terminal corresponding to the third operation information is a first type of operation, the web browsing terminal acquires the updated content of the corresponding web page from the web server corresponding to the web information when performing the pre-operation.
In this case, after the web browsing terminal performs the pre-operation, when the third user operation information of the web content update interface is detected, the web browsing terminal may directly display the acquired update content on another user interface. Therefore, the time for acquiring the updated content from the web server is saved, and the time for the web browsing terminal to feed back to the user is reduced.
It can be seen that, in the method of this embodiment, the web browsing terminal may determine the user pre-operation information corresponding to the current user interface according to the web information and/or the interface body information in the information of the current user interface, and if the operation of the web browsing terminal corresponding to a certain user pre-operation information is a first type operation, may perform a corresponding pre-operation, and store a corresponding pre-operation result. Therefore, before the actual operation of the user, the webpage browsing terminal executes some operations, namely the pre-operation, executed in the possible feedback process of the webpage browsing terminal to the user in advance, so that the feedback time of the webpage browsing terminal when the subsequent user initiates the actual operations can be reduced; and because the operations are based on the operations (namely the first type operations) of the network between the web browsing terminal and the web server, when the user initiates the actual operations, the influence of the network where the web browsing terminal is located on the feedback of the web browsing terminal to the user is greatly reduced.
The method for pre-operating a web page in the present invention is described below with a specific application example, and a flowchart is shown in fig. 4, and includes:
step 201, a user operates a web browsing terminal to enable the web browsing terminal to display a current user interface, and the web browsing terminal can acquire information of the current user interface, including web information.
Step 202, the web browsing terminal determines whether the acquired web information includes information of a plurality of hyperlinks (i.e. the web connection interface information), and if so, executes step 203; if not, the flow ends.
The information of each hyperlink may include address information of a web server corresponding to the hyperlink, such as a Uniform Resource Locator (URL), and may also include identification information displayed in the current user interface by the hyperlink.
Step 203, the web browsing terminal determines the corresponding user pre-operation information according to the hyperlink information, including: manipulation of the information of these hyperlinks; and the operation of the web browsing terminal corresponding to the determined user pre-operation information is as follows: if the operation is the first type operation, the web browsing terminal will execute step 204.
In step 204, the web browsing terminal establishes pre-connections with corresponding web servers respectively for all the hyperlink information obtained from the web information.
In step 205, the web browsing terminal detects the actual operation of the user, and if it is detected that the operation is performed on the information of a certain hyperlink 1 of the current user interface, that is, the identification information of the hyperlink 1 on the current user interface is clicked, the web browsing terminal directly obtains the corresponding web information from the corresponding web server by using the pre-connection established in step 204.
In step 206, the web browsing terminal draws another user interface according to the acquired web information, in combination with the interface body information included in the information of the current user interface, and also with reference to information such as the size of a display screen included in the web browsing terminal, and finally displays the drawn another user interface.
Another specific application example is used below to describe the web-based user operation method of the present invention, and a flowchart is shown in fig. 5, which includes:
step 301, a user operates a web browsing terminal to enable the web browsing terminal to display a current user interface, and the web browsing terminal can acquire information of the current user interface, specifically including web information and interface body information.
Step 302, the web browsing terminal determines whether the acquired web information is information of a first partial area in a certain web page, that is, information of a non-last partial area of the web page, if so, if the interface body information includes information of a web sliding interface, then step 303 is executed; if not, the flow ends.
Specifically, the web browsing terminal determines whether the web page displayed on the current user interface can slide down, and if so, executes step 303.
Step 303, the step of determining the user pre-operation information by the web browsing terminal includes: information for operating the webpage sliding interface, and the operation of the webpage browsing terminal corresponding to the determined user pre-operation information is as follows: if the other partial area of the web page is displayed as the first type operation, the web browsing terminal will execute step 304.
In step 304, the web browsing terminal may obtain information of other partial areas of the web page from the corresponding web server, and may perform a pre-rendering operation in advance according to the obtained information of other partial areas, the interface body information, and the like, that is, draw another user interface.
In step 305, the web browsing terminal detects an actual operation of the user, and if an operation on the web sliding interface on the current user interface is detected, for example, a sliding bar displayed on the current user interface is pulled downward, the web browsing terminal splices the current user interface with another user interface drawn in the pre-rendering process in step 304 to form a spliced user interface.
Step 306, the web browsing terminal intercepts part of the spliced user interfaces as final user interfaces according to the web information displayed in the current user interface and the information such as the size of the display screen included in the web browsing terminal, and displays the final user interfaces.
An embodiment of the present invention further provides a web browsing terminal, a schematic structural diagram of which is shown in fig. 6, and the web browsing terminal specifically includes:
an interface information obtaining unit 10, configured to obtain information of a current user interface of a web browsing terminal, where the information of the current user interface includes: webpage information and/or interface body information of the webpage browsing terminal;
a user operation information determining unit 11, configured to determine, according to the information of the current user interface, that is, the web page information and/or the interface body information, which is acquired by the interface information acquiring unit 10, user pre-operation information corresponding to the current user interface;
a pre-operation unit 12, configured to perform a pre-operation according to the pre-operation information of a certain user and store a corresponding pre-operation result if the operation of the web browsing terminal corresponding to the pre-operation information of the certain user in the pre-operation information of the user determined by the user operation information determining unit 11 is a first type of operation; wherein the first type of operation is an operation based on a network between the web browsing terminal and a web server.
In practical applications, the following situations can be included but not limited to:
(1) in one case, if the web page information acquired by the interface information acquiring unit 10 includes at least one web page connection interface information; the user operation information determining unit 11 is specifically configured to determine, according to the at least one piece of web page connection interface information, that the user pre-operation information includes first operation information of the at least one piece of web page connection interface information, where an operation of the web page browsing terminal corresponding to the first operation information is a first type operation; the pre-operation unit 12 is specifically configured to establish pre-connection between the web servers corresponding to all the web connection interface information in the at least one piece of web connection interface information; or establishing pre-connection between the web servers corresponding to part of the web page connection interface information in the at least one web page connection interface information.
Further, the pre-operation unit 12 is further configured to, before pre-connection is established between the web servers respectively corresponding to some of the web connection interface information in the at least one piece of web connection interface information, obtain user history operation information for operating the at least one piece of web connection interface information at the current user interface, and select some pieces of web connection interface information in the at least one piece of web connection interface information according to the user history operation information.
The web browsing terminal of this embodiment may further include an operation unit 13, configured to, when first user operation information of a certain web connection interface information in the at least one piece of web connection interface information is detected, obtain corresponding web information according to a pre-connection corresponding to the certain web connection interface information in the pre-connection.
(2) In another case, the web page information acquired by the interface information acquiring unit 10 includes information of a first partial area in a first web page, and the interface body information includes information of a web page sliding interface; the user operation information determining unit 11 is specifically configured to determine, if the first partial area is not the last partial area of the first web page, that the user pre-operation information includes second operation information on the web page sliding interface according to the information of the web page sliding interface, and that the operation of the web page browsing terminal corresponding to the second operation information is a first type operation; the pre-operation unit 12 is specifically configured to acquire, from a web server corresponding to the first web page, information of other partial areas subsequent to the first partial area in the first web page.
If the information of the other partial area includes video information, the pre-operation unit 12 may acquire the video information of the initial part in the video information from a web server corresponding to the first web page.
And in this case, the operation unit 13 is further configured to, when second user operation information on the web page sliding interface is detected on the current user interface, display the other partial area of the first web page according to the acquired information of the other partial area.
(3) In other cases, the interface body information acquired by the interface information acquiring unit 10 includes information of a web content update interface; the user operation information determining unit 11 is specifically configured to determine, according to the information of the web content update interface, that the user pre-operation information includes third operation information for the web content update interface, where an operation corresponding to the web browsing terminal by the third operation information is a first type operation; the pre-operation unit 13 is specifically configured to obtain the update content of the corresponding web page from the web server corresponding to the web page information.
And in this case, the operation unit 13 is further configured to display the acquired update content on another user interface when third user operation information on the web content update interface is detected.
It can be seen that, in the web browsing terminal of this embodiment, the user operation information determining unit 11 determines the user pre-operation information corresponding to the current user interface according to the web information and/or the interface body information in the information of the current user interface, and if the operation of the web browsing terminal corresponding to a certain user pre-operation information is the first type operation, the pre-operation unit 12 may perform a corresponding pre-operation and store a corresponding pre-operation result. Therefore, before the actual operation of the user, the webpage browsing terminal executes some operations, namely the pre-operation, executed in the possible feedback process of the webpage browsing terminal to the user in advance, so that the feedback time of the webpage browsing terminal when the subsequent user initiates the actual operations can be reduced; and because the operations are based on the operations (namely the first type operations) of the network between the web browsing terminal and the web server, when the user initiates the actual operations, the influence of the network where the web browsing terminal is located on the feedback of the web browsing terminal to the user is greatly reduced.
The present invention further provides a terminal device, a schematic structural diagram of which is shown in fig. 7, where the terminal device may generate relatively large differences due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 20 (e.g., one or more processors) and a memory 21, and one or more storage media 22 (e.g., one or more mass storage devices) storing the application programs 221 or the data 222. Wherein the memory 21 and the storage medium 22 may be a transient storage or a persistent storage. The program stored in the storage medium 22 may include one or more modules (not shown), each of which may include a series of instruction operations for the terminal device. Still further, the central processor 20 may be arranged to communicate with the storage medium 22, and to execute a series of instruction operations in the storage medium 22 on the terminal device.
Specifically, the application program 221 stored in the storage medium 22 includes a pre-operation application program of a web page, and the program may include the interface information acquiring unit 10, the identification unit 11, the user operation information determining unit 12, the pre-operation unit 13, and the operation unit 14 in the web page browsing terminal, which is not described herein again. Further, the central processor 20 may be configured to communicate with the storage medium 22, and execute a series of operations corresponding to the application program for web-based user operation stored in the storage medium 22 on the terminal device.
The steps executed by the web browsing terminal in the above method embodiment may be based on the structure of the terminal device shown in fig. 7.
The embodiment of the invention also provides a storage medium, wherein the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by the processor and executing the webpage pre-operation method executed by the webpage browsing terminal.
The embodiment of the invention also provides terminal equipment, which comprises a processor and a storage medium, wherein the processor is used for realizing each instruction;
the storage medium is used for storing a plurality of instructions, and the instructions are used for loading and executing the webpage pre-operation method executed by the webpage browsing terminal by the processor.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The pre-operation method of the web page, the web page browsing terminal and the storage medium provided by the embodiment of the invention are introduced in detail, a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (13)

1. A method for pre-operating a web page, comprising:
acquiring information of a current user interface of a webpage browsing terminal;
determining user pre-operation information corresponding to the current user interface according to the information of the current user interface;
if the operation of the webpage browsing terminal corresponding to a certain user pre-operation information in the user pre-operation information is a first type of operation, pre-operation is performed according to the certain user pre-operation information, and a corresponding pre-operation result is stored; wherein the first type of operation is an operation based on a network between the web browsing terminal and a web server;
when the information of the current user interface includes interface body information and the interface body information includes information of a web content update interface, the determining, according to the interface body information, user pre-operation information included in the current user interface specifically includes: determining that the user pre-operation information comprises third operation information of the webpage content updating interface according to the information of the webpage content updating interface; the performing a pre-operation according to the certain user pre-operation information specifically includes: and acquiring the updated content of the corresponding webpage from the webpage server corresponding to the webpage information.
2. The method according to claim 1, wherein the information of the current user interface includes web page information, and if the web page information includes at least one piece of web page connection interface information, the determining, according to the web page information, the user pre-operation information corresponding to the current user interface specifically includes:
determining, according to the at least one piece of web page connection interface information, user pre-operation information corresponding to the current user interface, including: first operation information of the at least one webpage connection interface information;
the performing a pre-operation according to the certain user pre-operation information specifically includes: establishing pre-connection between the web servers corresponding to all the web connection interface information in the at least one piece of web connection interface information respectively; or establishing pre-connection between the web servers corresponding to part of the web page connection interface information in the at least one web page connection interface information.
3. The method as claimed in claim 2, wherein before the pre-connection is established between the web servers respectively corresponding to some of the at least one piece of web page connection interface information, the method further comprises:
and acquiring historical user operation information for operating the at least one piece of webpage connection interface information on the current user interface, and selecting part of webpage connection interface information in the at least one piece of webpage connection interface information according to the historical user operation information.
4. The method of claim 2, wherein the method further comprises:
when first user operation information of certain webpage connection interface information in the at least one webpage connection interface information is detected, corresponding webpage information is obtained according to pre-connection corresponding to the certain webpage connection interface information in the pre-connection.
5. The method according to claim 1, wherein the information of the current user interface includes web page information and interface ontology information, and if the web page information includes information of a first partial area in a first web page and the interface ontology information includes information of a web page sliding interface, the determining, according to the web page information and the interface ontology information, user pre-operation information included in the current user interface includes:
if the first partial area is not the last partial area of the first webpage, determining that the user pre-operation information comprises second operation information of the webpage sliding interface according to the information of the webpage sliding interface;
the performing a pre-operation according to the certain user pre-operation information specifically includes: and acquiring information of other partial areas behind the first partial area in the first webpage from a webpage server corresponding to the first webpage.
6. The method according to claim 5, wherein if the information of the other partial area includes video information, the obtaining the information of the other partial area after the first partial area in the first web page from the web server corresponding to the first web page specifically includes:
and acquiring the video information of the initial part in the video information from a webpage server corresponding to the first webpage.
7. The method of claim 5, wherein the method further comprises:
and when second user operation information of the webpage sliding interface is detected on the current user interface, displaying other partial areas of the first webpage according to the acquired information of the other partial areas.
8. The method of claim 1, wherein the method further comprises:
and when third user operation information of the webpage content updating interface is detected, displaying the acquired updating content on another user interface.
9. A web browsing terminal, comprising:
the interface information acquisition unit is used for acquiring the information of the current user interface of the webpage browsing terminal;
the user operation information determining unit is used for determining user pre-operation information corresponding to the current user interface according to the information of the current user interface;
the pre-operation unit is used for performing pre-operation according to certain user pre-operation information and storing a corresponding pre-operation result if the operation of the webpage browsing terminal corresponding to the certain user pre-operation information in the user pre-operation information is a first type of operation; wherein the first type of operation is an operation based on a network between the web browsing terminal and a web server;
when the information of the current user interface acquired by the interface information acquisition unit comprises interface body information, and the interface body information comprises information of a webpage content updating interface; the user operation information determining unit is specifically configured to determine that the user pre-operation information includes third operation information for the web content update interface according to the information of the web content update interface; the pre-operation unit is specifically configured to acquire update content of a corresponding web page from a web server corresponding to the web page information.
10. The web browsing terminal of claim 9,
the interface information acquisition unit acquires information of a current user interface, wherein the information of the current user interface comprises webpage information, and the webpage information comprises at least one webpage connection interface information;
the user operation information determining unit is specifically configured to determine, according to the at least one piece of web page connection interface information, that the user pre-operation information includes first operation information for the at least one piece of web page connection interface information;
the pre-operation unit is specifically configured to establish pre-connection between the web servers corresponding to all the web connection interface information in the at least one piece of web connection interface information; or establishing pre-connection between the web servers corresponding to part of the web page connection interface information in the at least one web page connection interface information.
11. The web browsing terminal of claim 9,
the interface information acquisition unit acquires information of a current user interface, wherein the information of the current user interface comprises webpage information and interface body information, the webpage information comprises information of a first partial area in a first webpage, and the interface body information comprises information of a webpage sliding interface;
the user operation information determining unit is specifically configured to determine, according to the information of the web page sliding interface, that the user pre-operation information includes second operation information for the web page sliding interface if the first partial area is not the last partial area of the first web page;
the pre-operation unit is specifically configured to acquire, from a web server corresponding to the first web page, information of other partial areas subsequent to the first partial area in the first web page.
12. A computer-readable storage medium storing a plurality of application programs adapted to be loaded by a processor and to execute a method of pre-operating a web page according to any one of claims 1 to 8.
13. A terminal device comprising a processor and a computer-readable storage medium, the processor configured to implement respective application programs;
the computer-readable storage medium is used for storing a plurality of application programs for loading and executing the pre-operation method of the web page according to any one of claims 1 to 8 by a processor.
CN201811036871.3A 2018-09-06 2018-09-06 Webpage pre-operation method, webpage browsing terminal and storage medium Active CN109284451B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811036871.3A CN109284451B (en) 2018-09-06 2018-09-06 Webpage pre-operation method, webpage browsing terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811036871.3A CN109284451B (en) 2018-09-06 2018-09-06 Webpage pre-operation method, webpage browsing terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109284451A CN109284451A (en) 2019-01-29
CN109284451B true CN109284451B (en) 2020-11-03

Family

ID=65183627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811036871.3A Active CN109284451B (en) 2018-09-06 2018-09-06 Webpage pre-operation method, webpage browsing terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109284451B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361071A (en) * 2014-11-12 2015-02-18 沈文策 Page preloading method and device
CN105550356A (en) * 2015-12-28 2016-05-04 魅族科技(中国)有限公司 Preloading method of browsed contents, and terminal
EP3062484A1 (en) * 2015-02-27 2016-08-31 Sap Se A method for controlling access to electronic documents based on stateless communication
WO2017061682A1 (en) * 2015-10-08 2017-04-13 Lg Electronics Inc. Mobile terminal and control method thereof
CN106611032A (en) * 2015-10-27 2017-05-03 广州市动景计算机科技有限公司 Webpage pre-loading method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361071A (en) * 2014-11-12 2015-02-18 沈文策 Page preloading method and device
EP3062484A1 (en) * 2015-02-27 2016-08-31 Sap Se A method for controlling access to electronic documents based on stateless communication
WO2017061682A1 (en) * 2015-10-08 2017-04-13 Lg Electronics Inc. Mobile terminal and control method thereof
CN106611032A (en) * 2015-10-27 2017-05-03 广州市动景计算机科技有限公司 Webpage pre-loading method and device
CN105550356A (en) * 2015-12-28 2016-05-04 魅族科技(中国)有限公司 Preloading method of browsed contents, and terminal

Also Published As

Publication number Publication date
CN109284451A (en) 2019-01-29

Similar Documents

Publication Publication Date Title
EP3518124A1 (en) Webpage rendering method and related device
US9612715B2 (en) Real-time preview of uniform resource identifier addressable dynamic content
US7861176B2 (en) Methods and systems for providing online chat
US9104775B2 (en) Method for presenting a web page
KR20140028029A (en) Presentation format for an application tile
WO2014026606A1 (en) Method, system and device for filtering mobile terminal webpage advertisements
CN108427597A (en) Accelerate the method and device of page rendering
CN106874519B (en) Page display method and device
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
CN103714115A (en) Method and device for loading web page content
CN103577595A (en) Keyword pushing method and device based on current browse webpage
CN103577392A (en) Keyword pushing method and device based on current browse webpage
WO2015000383A1 (en) Method, apparatus and system for information recommending
US20160179832A1 (en) Web Browser Orchestration
CN107045546B (en) Webpage processing method and device and intelligent terminal
CN103246699A (en) Method and device for data access control based on browser
CN104423991A (en) Webpage loading and webpage data providing method and device of mobile terminal
JP6015967B2 (en) Device and program for displaying web pages
CN103678343A (en) Method and device for prompting webpage loading progress
TWI519980B (en) Method and device for displaying web page and computer-readable storage medium
CN114254222A (en) Method and device for counting interactive time of single-page application and electronic equipment
CN109284451B (en) Webpage pre-operation method, webpage browsing terminal and storage medium
CN110647327A (en) Method and device for dynamic control of user interface based on card
CN112507257B (en) Webpage display method, device, equipment and storage medium
CN107743110B (en) Method and device for generating pages of electronic book and electronic book system

Legal Events

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