CN108038150B - Webpage opening method and device and terminal equipment - Google Patents
Webpage opening method and device and terminal equipment Download PDFInfo
- Publication number
- CN108038150B CN108038150B CN201711240365.1A CN201711240365A CN108038150B CN 108038150 B CN108038150 B CN 108038150B CN 201711240365 A CN201711240365 A CN 201711240365A CN 108038150 B CN108038150 B CN 108038150B
- Authority
- CN
- China
- Prior art keywords
- webpage
- web page
- content
- current interface
- opening
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000004891 communication Methods 0.000 claims description 17
- 230000009191 jumping Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 20
- 230000008569 process Effects 0.000 description 12
- 230000000694 effects Effects 0.000 description 8
- 230000003993 interaction Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9558—Details of hyperlinks; Management of linked annotations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
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
The embodiment of the invention provides a webpage opening method, a webpage opening device and terminal equipment, and belongs to the technical field of the Internet. The webpage opening method comprises the following steps: generating and sending a webpage opening request for requesting webpage content according to triggering operation of a webpage link in a current interface; and receiving webpage content returned according to the webpage opening request, and displaying the webpage content through a floating window based on the current interface. Based on the method and the device, after the link on the current webpage is clicked, the content of the link is displayed to the user in the floating window of the current webpage, and the current webpage cannot be closed; in other application programs, a user encounters a link, and after the link is clicked, the browser application which does not need to jump is avoided, so that frequent jumping between the APP and the browser application by the user is avoided. Therefore, the invention improves the user experience when the user opens the new link.
Description
Technical Field
The embodiment of the invention relates to the technical field of internet interface use interaction, in particular to a webpage opening method, a webpage opening device and terminal equipment.
Background
With the rapid development of mobile internet and the great popularity of smart mobile devices, people are more and more inclined to use smart mobile devices to use internet services. However, in implementing the present invention, limited to the screen size of the smart mobile device during the use of the mobile internet by the user, the inventor finds that at least the following problems exist in the prior art:
firstly, in the process of browsing a webpage by a user in a browser, after clicking a link on the webpage, a new page is opened or the current page jumps, so that the browsing of the user on the current page is forced to be interrupted.
Secondly, in other applications, when a user encounters a link, a browser application is opened after clicking, and webpage content of the clicked link can be browsed after webpage downloading is finished; moreover, this way of opening a web page causes the user to jump frequently between the APP and the browser application.
In addition, the instability and low rate of mobile wireless communications can also affect the user's experience with the mobile internet: for example, after jumping or opening a new page, the network loading is time consuming and the user is forced to wait, which wastes the user's time.
Disclosure of Invention
In view of this, one of the technical problems solved by the embodiments of the present invention is to provide a method, an apparatus, and a terminal device for opening a web page, so as to overcome the problem of interruption of browsing of the current web page caused by clicking a new link in the current web page in the prior art, or overcome the defect of frequent jump between an application program and a browser caused by clicking a new link in an interface of the current application program, so that when a new link is opened in the current interface, the current page does not need to be closed or repeated jump between the current application and the browser page is not needed, thereby saving user time and improving user experience.
In a first aspect, an embodiment of the present invention provides a method for opening a web page, including the following steps: generating and sending a webpage opening request for requesting webpage content according to triggering operation of a webpage link in a current interface; and receiving webpage content returned according to the webpage opening request, and displaying the webpage content through a floating window based on the current interface.
Optionally, in a specific embodiment of the web page opening method of the present invention, the method further includes: determining the downloading progress of the webpage content according to the speed of receiving the webpage content; and displaying the webpage content through a floating window based on the current interface, and simultaneously displaying the downloading progress in the current interface.
Optionally, in a specific embodiment of the web page opening method of the present invention, the downloading progress is displayed in the current interface by setting a transparency icon.
Optionally, in a specific embodiment of the web page opening method of the present invention, the receiving the web page content returned according to the web page opening request, and displaying the web page content through a floating window based on a current interface includes: when the received webpage content reaches a preset capacity, suspending the continuous reception of the webpage content; displaying the received webpage content with the preset capacity on the current interface through the floating window; and receiving and executing an instruction made after the user browses the webpage content with the preset capacity, wherein the instruction is to continue downloading other webpage content beyond the preset capacity or cancel opening of a webpage link in the current interface.
Optionally, in a specific embodiment of the web page opening method of the present invention, the method further includes: and when the downloaded webpage content reaches the preset capacity, closing the display of the downloading progress in the current interface.
Optionally, in a specific embodiment of the web page opening method of the present invention, the predetermined capacity is a display capacity of a floating window.
Optionally, in a specific embodiment of the web page opening method of the present invention, the canceling the opening of the web page link in the current interface includes: canceling the downloading of the webpage content except the webpage with the preset capacity; closing the floating window displaying the webpage content with the preset capacity
Optionally, in a specific embodiment of the web page opening method of the present invention, the continuing to download the web page content includes: continuing to download the webpage content; and displaying the webpage content on the floating window or the new page of the current interface.
Optionally, in a specific embodiment of the web page opening method of the present invention, the current interface is a current page of a browser or an interface of a current application program.
In a second aspect, the present invention also discloses a web page opening apparatus, including: the device comprises a request module and a webpage display module. The request module is used for generating and sending a webpage opening request for requesting webpage content according to the triggering operation of the webpage link in the current interface; and the webpage display module receives webpage content returned according to the webpage opening request and displays the webpage content through the floating window based on the current interface.
Optionally, in an embodiment of the apparatus for opening a web page according to the present invention, the apparatus further includes: the device comprises a download progress calculation module and a download progress display module. The download progress calculation module is used for determining the download progress of the webpage content according to the speed of receiving the webpage content; and the download progress display module is used for displaying the webpage content through the floating window based on the current interface and simultaneously displaying the download progress in the current interface.
Optionally, in a specific embodiment of the web page opening apparatus of the present invention, the download progress display module displays the download progress in the current interface by setting a transparency icon.
Optionally, in a specific embodiment of the apparatus for opening a web page in the present invention, the web page opening module includes: the device comprises a pre-judging unit, a pre-displaying unit and a continuous/stop downloading unit. The pre-judging unit is used for suspending the continuous receiving of the webpage content when the received webpage content reaches a preset capacity; the pre-display unit is used for displaying the received webpage content with the preset capacity on the current interface through the floating window; and the continuous/stop downloading unit is used for receiving and executing an instruction made by a user after browsing the webpage content with the preset capacity, wherein the instruction is to continuously download other webpage content except the preset capacity or cancel the opening of the webpage link in the current interface.
Optionally, in an embodiment of the web page opening apparatus of the present invention, the web page display module further includes a download progress closing unit, configured to close display of the download progress in the current interface when the downloaded web page content reaches a predetermined capacity.
Optionally, in an embodiment of the web page opening apparatus of the present invention, the predetermined capacity is a display capacity of the floating window.
Optionally, in an embodiment of the web page opening apparatus of the present invention, the continue/stop downloading unit includes a download canceling portion and a cancel display portion. The download canceling part is used for canceling the download of the webpage content except the webpage with the preset capacity; the cancel display unit is configured to close the floating window on which the predetermined volume of web content is displayed.
Optionally, in an embodiment of the web page opening apparatus of the present invention, the continuous/stop downloading unit further includes a continuous downloading portion and a display portion. A continuous downloading part for continuously downloading the webpage content; the display part is used for displaying the webpage content on the floating window or the new page of the current interface.
Optionally, in a specific embodiment of the web page opening apparatus of the present invention, the current interface is a current page of a browser or an interface of a current application program.
In a third aspect, an embodiment of the present invention provides a terminal device, including a processor, a memory, a communication interface, and a communication bus, where the processor, the memory, and the communication interface complete mutual communication through the communication bus; the memory is used for storing at least one executable instruction, and the processor which belongs to the executable instruction city executes the operation corresponding to the webpage opening method.
According to the technical scheme, the webpage opening method, the webpage opening device and the user terminal provided by the embodiment of the invention have the advantages that the floating window of the current interface is constructed, the content corresponding to the new link is displayed by adopting the floating window, the current interface does not need to be closed, and the use of the current interface by a user is not influenced. Specifically, the following effects are provided:
firstly, after a link on a current page is clicked, the current page cannot be closed, and the content of the link is displayed to a user in a floating window of the current page;
secondly, in other application programs, the user encounters a link, and after clicking the link, the browser application which needs to be jumped does not need to be jumped, so that frequent jumping of the user between the APP and the browser application is avoided.
Furthermore, the method and the device can also calculate the downloading progress based on the downloading speed of the content returned by the background downloading server and display the downloading progress in the current interface. That is to say, the user can monitor the webpage opening condition and improve the user experience, not only by passive waiting, but also in the process of waiting for the webpage content corresponding to the new link.
In addition, the invention can also realize previewing the link content, and after downloading the content with a certain volume (for example, the downloaded webpage content can be used for typesetting one page by the floating window) in the local background, the downloaded content is displayed on the current interface through the floating window; after reading the content, the user selects to continue downloading the webpage content or cancel opening the webpage on the current interface. That is, the present invention can preview the content partially first, determine whether there is reading value, if there is no value, abandon reading, if there is, continue downloading, and select to read in the floating window or open a new webpage.
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, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present invention, and it is also possible for a person skilled in the art to obtain other drawings based on the drawings.
FIG. 1 is a flowchart illustrating steps of a method for opening a web page according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating opening a new link in a floating window of a current page according to an embodiment of a method for opening a web page;
FIG. 3 is a schematic diagram illustrating a new link opened in a floating window of an interface where a current application program is located according to an embodiment of the method for opening a web page;
FIG. 4 is a schematic diagram illustrating information interaction among a user, a user terminal, and a remote server according to an embodiment of a method for opening a web page;
FIG. 5 is a flowchart illustrating steps of another embodiment of a method for opening a web page;
FIG. 6 is a schematic diagram illustrating a process of displaying a link of a web page on a current interface according to an embodiment of a web page opening method of the present invention;
FIG. 7 is a flowchart illustrating steps of another embodiment of a method for opening a web page;
FIG. 8A is a flowchart illustrating steps executed to continue downloading web page content after previewing web page content of a predetermined volume according to an embodiment of the web page opening method of the present invention;
FIG. 8B is a flowchart illustrating steps executed to stop downloading web page content after previewing web page content of a predetermined volume according to an embodiment of the web page opening method of the present invention;
FIG. 8C is a diagram illustrating downloaded content in a floating window of a current interface according to an embodiment of the present invention;
FIG. 9 is a block diagram of an embodiment of a web page opening apparatus according to the present invention;
FIG. 10 is a block diagram illustrating another embodiment of a web page opening apparatus according to the present invention;
FIG. 11 is a block diagram illustrating another embodiment of a web page opening apparatus according to the present invention;
FIG. 12 is a block diagram of a resume/stop download unit according to an embodiment of the present invention;
fig. 13 is a block diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
Of course, it is not necessary for any particular embodiment of the invention to achieve all of the above advantages at the same time.
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely 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 embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention shall fall within the scope of the protection of the embodiments of the present invention.
The following further describes specific implementation of the embodiments of the present invention with reference to the drawings.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of an embodiment of a method for opening a web page according to the present invention. This embodiment may include the steps of:
step S110, generating and sending a webpage opening request for requesting webpage content according to the triggering operation of the webpage link in the current interface;
and step S120, receiving the webpage content returned according to the webpage opening request, and displaying the webpage content through a floating window based on the current interface.
According to the technical scheme, the webpage opening method has the advantages that the floating window of the current interface is built, the content corresponding to the new link is displayed by the floating window, the current interface does not need to be closed, and the use of a user on the current interface is not influenced.
In particular implementation, in step S110, the "current interface" may include, but is not limited to, the current page of the browser or the interface of the current application. When a content request is sent to a server based on a current page, the request can be sent by using AJAX, if the request is sent on an interface of an application program, the request can be sent by using HTTP content, and of course, other tools can also be used. The invention is not limited in this regard.
The technical effects of the embodiment are specifically embodied in two aspects:
firstly, after a link on a current page is clicked, the current page cannot be closed, the content of the link is displayed to a user in a floating window of the current page, the current page does not need to be closed, and the current page is not influenced to be browsed; referring to FIG. 2, FIG. 2 shows a schematic view presented by opening a web page link in the flyout of the current page.
Secondly, in other application programs, the user encounters a link, and after the link is clicked, the browser application which needs to be jumped is not needed, so that frequent jumping of the user between the APP and the browser application is avoided, and the use of the current application program is not influenced. Referring to FIG. 3, FIG. 3 is a schematic diagram illustrating the opening of a new web page at the current interface "known" to the current application, and it can be seen that the current page does not jump to the browser, and the link content is displayed directly at the current interface.
Referring to fig. 4, fig. 4 further illustrates the information interaction process between the user, the user terminal, and the remote server during the web page opening process in one embodiment.
Step S1, the user informs the user terminal to open a new link by means of a mouse, a touch screen, a stylus and the like;
step S2, the user terminal sends the content request to the remote server;
step S3, the user terminal constructs a floating window of the current interface in the local background;
step S4, the server returns the requested content to the user terminal;
step S5, the user terminal downloads the content returned by the server and adds the content to the floating window of the current interface;
in step S6, the user terminal displays the floating window loaded with the return content to the user.
It should be noted that step S2 and step S3 have no fixed sequence, and S2 may be executed first, or S3 may be executed first, as long as both steps are guaranteed to be completed before step S5 starts. Similarly, S110 and S120 have no absolute sequence, and step S110 or S120 may be executed first.
It should be noted that, the functional software for implementing the above-mentioned webpage opening method may be an independent application software, and may also be a plug-in of related software, which is reasonable, and the functional software may be installed in an electronic device with an internet function, where the electronic device generally refers to a computer, a tablet computer, a smart phone, and the like, and the specific form of the electronic device is not limited in the present invention.
Example two
Referring to fig. 5, fig. 5 is a flowchart illustrating steps of another embodiment of a method for opening a web page according to the present invention. This embodiment comprises the steps of:
step S510, receiving a webpage opening request sent by a user in a current interface;
step S520, a webpage opening request is sent to a remote server to request webpage content;
step S530, constructing a floating window of the current interface in a local background;
step S540, receiving the content returned by the server in real time, detecting the downloading speed of the background downloading content, and calculating the downloading progress;
and step S550, displaying the downloading progress in the current interface.
Preferably, the download progress is displayed in the current interface through a semi-transparent progress icon, and of course, the download progress may not be semi-transparent or transparent, as long as the download progress can be displayed, which is not limited in the present invention. Referring to fig. 6, fig. 6 is a schematic diagram illustrating a process of displaying a link of an opened web page on a current interface according to an embodiment of a web page opening method of the present invention. As can be seen from fig. 6, the current progress of web page link 1 is 30% open.
And step S560, after the downloading is finished, the webpage content returned by the server is presented to the user in the floating window of the current interface.
Obviously, step S540 and step S550 are added to the first embodiment. Therefore, the present embodiment has the following technical effects in addition to the technical effects of the first embodiment:
in this embodiment, the download progress may be calculated based on the download speed of the background, and the download progress may be displayed in the current interface. That is to say, in the process of waiting for the web page content corresponding to the new link, the user not only passively waits, but also monitors the web page opening condition, and improves the user experience.
This embodiment has significant advantages over the prior art as follows: in the prior art, in order to not influence the browsing of a user on a current webpage, a link on the current opened webpage is downloaded in the background in advance and stored in a cache, so that the browsing of the user on the current webpage is not influenced; on the other hand, when the user needs to open the link, the corresponding webpage can be directly obtained from the cache, so that the webpage browsing speed is improved. However, although the prior art can increase the web page browsing speed, the user cannot know the progress of the web page downloading in the background, and may not open the web page that has been downloaded in the background in time. The word of the embodiment keeps the advantages of the solution, namely, the current webpage does not need to be closed, and the webpage opening condition can be monitored on the premise of not influencing the reading of the current interface, so that the downloading progress can be known in time, and the related content can be opened in time.
EXAMPLE III
Referring to fig. 7, fig. 7 is a flowchart illustrating steps of another embodiment of a method for opening a web page according to the present invention. The modified embodiment comprises the following steps:
step S710, receiving a webpage opening request sent by a user in a current interface;
step S720, sending a webpage opening request to a remote server to request webpage content;
step 730, constructing a floating window of the current interface in a local background;
step S740, receiving the content returned by the server in real time, detecting the downloading speed of the background downloading content, and calculating the downloading progress;
step S750, displaying the downloading progress in the current interface;
step S760, when the webpage content downloaded from the background reaches the preset capacity, the content downloading of the background webpage is suspended;
step S770, displaying the webpage content with the preset volume on the current interface through the floating window;
step S780, receiving a request of the user after reading the web page content with a predetermined capacity, and according to the request, selecting to continue downloading the web page content or cancel opening the web page on the current interface.
If the webpage content is selected to be continuously downloaded, referring to fig. 8A, the method includes the following steps:
S7801A, acquiring a request for continuously opening the webpage;
S7802A, downloading the webpage content continuously in the background;
and S7803A, displaying the webpage content returned by the server in the floating window or the new page of the current interface.
If the webpage is cancelled to be opened on the current interface, referring to fig. 8B, the method includes the following steps:
S7801B, acquiring a request for canceling the web page opening of the floating window on the current interface;
S7802B, canceling the downloading of the webpage content except the webpage with the preset capacity;
S7803B, closing the floating window displaying the predetermined volume of web page content.
As can be seen from fig. 8B, if the user is not interested in the content of the opened web page, the content returned by the server does not need to be completely downloaded, and the terminal downloads the content from the background in time, so as to avoid occupying bandwidth and consuming download traffic.
In one embodiment, preferably, when the web page content downloaded in the background reaches the preset capacity, the display of the downloading progress is closed in the current interface.
In one embodiment, the predetermined volume suspends a display volume of the window.
Referring to fig. 8C, fig. 8C is a schematic diagram illustrating downloaded content in a floating window of a current interface according to an embodiment of a method for opening a web page in the present invention.
Obviously, in this embodiment, compared to the first embodiment and the second embodiment, the link content may also be previewed, and after the local background downloads the content with a certain volume (for example, the display volume of the floating window), the downloaded content is displayed on the current interface through the floating window; after reading the content, the user selects to continue downloading the webpage content or cancel opening the webpage on the current interface. That is, the present invention can preview the content partially first, determine whether there is reading value, if there is no value, abandon reading, if there is, continue downloading, and select to read in the floating window or open a new webpage.
Example four
Referring to fig. 9, fig. 9 is a block diagram of a structure of an embodiment of a web page opening apparatus according to the present invention, including:
the request module 90 is configured to generate and send a web page opening request for requesting web page content according to a trigger operation on a web page link in a current interface;
and the webpage display module 92 is configured to receive webpage content returned according to the webpage opening request, and display the webpage content through the floating window based on the current interface.
According to the webpage opening device, the floating window of the current interface is constructed, the content corresponding to the new link is displayed by adopting the floating window, the current interface does not need to be closed, and the use of a user on the current interface is not influenced.
In particular implementation, in request module 90, the "current interface" may mean the current page of the browser or the current interface of the application. When a content request is sent to a server based on a current page, the request can be sent by using AJAX, if the request is sent on an interface of an application program, the request can be sent by using http client, and of course, other tools can also be used. The invention is not limited in this regard.
The technical effects of the embodiment are specifically embodied in two aspects:
firstly, after a link on a current page is clicked, the current page cannot be closed, the content of the link is displayed to a user in a floating window of the current page, the current page does not need to be closed, and the current page is not influenced to be browsed; referring to FIG. 2, FIG. 2 shows a schematic view presented by opening a web page link in the flyout of the current page.
Secondly, in other application programs, the user encounters a link, and after the link is clicked, the browser application which needs to be jumped is not needed, so that frequent jumping of the user between the APP and the browser application is avoided, and the use of the current application program is not influenced. Referring to fig. 3, fig. 3 shows a schematic diagram of a new web page being opened at the current interface "known" by the current application, and it can be seen that the link content is directly displayed at the current interface without jumping to the browser.
It should be noted that, the web page opening device may be an independent application software, or may also be a plug-in of related software, which is reasonable, and the web page opening device may be installed in an electronic device with a web access function, where the electronic device generally refers to a computer, a tablet computer, a smart phone, or the like, and the specific form of the electronic device is not limited in the present invention.
EXAMPLE five
Referring to fig. 10, fig. 10 is a block diagram illustrating another embodiment of a web page opening apparatus according to the present invention. The embodiment comprises the following steps:
a request module 1010, configured to send a web page opening request sent by a user in a current interface to a server, to request web page content;
a download progress calculation module 1020, configured to determine a download progress of the web page content according to a speed of receiving the web page content;
and a download progress display module 1030, configured to display the download progress in the current interface while displaying the web page content through the floating window based on the current interface.
And the webpage opening module 1040 is configured to receive the webpage content returned according to the webpage opening request, and display the webpage content through the floating window based on the current interface.
Preferably, the download progress is displayed in the current interface by a semi-transparent progress icon. Referring to fig. 6, fig. 6 is a schematic diagram illustrating a process of displaying a link of an opened web page on a current interface according to an embodiment of a web page opening method of the present invention. As can be seen from fig. 6, the current progress of web page link 1 is 30% open.
Obviously, compared with the fourth embodiment, the download progress monitoring module 1030 is added in the present embodiment. Therefore, the present embodiment has the following technical effects in addition to the technical effects of the first embodiment:
in this embodiment, the download progress may be calculated based on the download speed of the background, and the download progress may be displayed in the current interface. That is to say, in the process of waiting for the web page content corresponding to the new link, the user not only passively waits, but also monitors the web page opening condition, and improves the user experience.
EXAMPLE six
Referring to fig. 11, fig. 11 is a block diagram illustrating another embodiment of a web page opening apparatus according to the present invention. The embodiment comprises the following steps:
a request module 1110, configured to send a web page opening request sent by a user in a current interface to a server, to request web page content;
a download progress calculation module 1120, configured to determine a download progress of the web page content according to a speed of receiving the web page content;
a download progress display module 1130, configured to display the download progress in the current interface while displaying the web page content through the floating window based on the current interface.
And a web page opening module 1140, configured to a web page display module, receive the web page content returned according to the web page opening request, and display the web page content through the floating window based on the current interface. The method specifically comprises the following steps: a prejudgment unit 11401, a predisplay unit 11402, a continue/stop download unit 11403, and a download progress closing unit 11404.
The prejudging unit 11401 is configured to suspend, when the received web content reaches a predetermined capacity, continuing to receive the web content; the pre-display unit 11402 is configured to display the received webpage content with the predetermined volume on the current interface through the floating window; the predetermined volume may be the volume of the floating window. The continue/stop downloading unit 11403 is configured to receive and execute an instruction made by the user after browsing the web content with the predetermined capacity, where the instruction is to continue downloading the web content other than the predetermined capacity or cancel opening of the web link in the current interface. The download progress closing unit 11404 is configured to close the display of the download progress in the current interface when the web page content downloaded in the background reaches the predetermined capacity.
Obviously, in this embodiment, compared to the fourth and fifth embodiments, the link content may also be previewed, and after the local background downloads a certain volume of content (for example, the downloaded web page content may be used for typesetting one page in the floating window), the downloaded content is displayed on the current interface through the floating window; after reading the content, the user selects to continue downloading the webpage content or cancel opening the webpage on the current interface. That is, the present invention can preview the content partially first, determine whether there is reading value, if there is no value, abandon reading, if there is, continue downloading, and select to read in the floating window or open a new webpage.
More specifically, referring to fig. 12, in an embodiment, fig. 12 is a block diagram illustrating a structure of a continue/stop downloading unit in an embodiment of the web page opening apparatus of the present invention, including:
a cancel download unit 11403a1 for canceling the download of the web content other than the predetermined volume web page;
a cancel display portion 11403a2 for closing the floating window on which the predetermined volume of web content is displayed.
On the other hand, the continuation/stop downloading unit further includes:
a continuous download unit 11403B1 for continuously downloading the web page content;
a display portion 11403B2, configured to display web page content on the floating window or the new page of the current interface.
EXAMPLE seven
Referring to fig. 13, a schematic structural diagram of a terminal device according to a seventh embodiment of the present invention is shown, and the specific embodiment of the present invention does not limit the specific implementation of the terminal device.
As shown in fig. 13, the terminal device may include: a processor (processor)1302, a communication Interface (Communications Interface)1304, a memory (memory)1306, and a communication bus 1308. Wherein:
the processor 1302, communication interface 1304, and memory 1306 communicate with each other via a communication bus 1308.
A communication interface 1304 for communicating with network elements of other devices, such as clients or other servers.
The processor 1302 is configured to execute the program 1310, and may specifically execute the relevant steps in the foregoing embodiment of the web page opening method.
In particular, the program 1310 may include program code that includes computer operating instructions.
The processor 1302 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the invention. The server comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
A memory 1306 for storing a program 1310. Memory 1306 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 1310 may specifically be configured to cause the processor 1302 to perform the following operations:
sending a webpage opening request sent by a user in a current interface to a server to request webpage content;
constructing a floating window of a current interface in a local background;
and presenting the content returned by the server to the user in the floating window of the current interface.
In an alternative embodiment, program 1310 is further configured to cause processor 1302 to, while presenting the content returned by the server to the user in the floating window of the current interface, perform the following:
calculating the downloading progress based on the downloading speed of the content returned by the background downloading server;
and displaying the downloading progress in the current interface.
In an alternative embodiment, the program 1310 is further configured to cause the processor 1302 to render the content returned by the server to the floating window after the current interface is rendered, as follows:
when the webpage content downloaded from the background reaches the preset capacity, suspending the content downloading of the background webpage;
displaying webpage content with a preset capacity on a current interface through a floating window;
and receiving a request of a user after reading the webpage content with the preset capacity, and selecting to continue downloading the webpage content or cancel opening the webpage on the current interface according to the request.
In an alternative embodiment, the program 1310 is further configured to enable the processor 1302 to close the display of the download progress in the current interface when the content of the web page downloaded in the background reaches a predetermined capacity.
In an alternative embodiment, program 1310 is further configured to cause processor 1302 to, when canceling the opening of the web page in the current interface:
acquiring a request for canceling the webpage opening of the floating window on the current interface;
canceling downloading the webpage content at the background;
and canceling the display of the downloaded webpage content on the current interface.
In an alternative embodiment, program 1310 is further operative to cause processor 1302 to perform the following operations while continuing to open a web page at the current interface:
acquiring a request for continuously opening a webpage;
continuously downloading the webpage content at the background;
and displaying the webpage content returned by the server on the floating window or the new page of the current interface.
For specific implementation of each step in the program 1310, reference may be made to corresponding steps and corresponding descriptions in modules in the foregoing embodiments of the web page opening method, which are not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding process descriptions in the foregoing method embodiments, and are not described herein again.
By the terminal equipment of the embodiment, the floating window of the current interface is constructed, the content corresponding to the new link is displayed by adopting the floating window, the current interface does not need to be closed, and the use of a user on the current interface is not influenced. Specifically, the following effects are provided:
firstly, after a link on a current page is clicked, the current page cannot be closed, and the content of the link is displayed to a user in a floating window of the current page;
secondly, in other application programs, the user encounters a link, and after clicking the link, the browser application which needs to be jumped does not need to be jumped, so that frequent jumping of the user between the APP and the browser application is avoided.
Furthermore, the method and the device can also calculate the downloading progress based on the downloading speed of the content returned by the background downloading server and display the downloading progress in the current interface. That is to say, the user can monitor the webpage opening condition and improve the user experience, not only by passive waiting, but also in the process of waiting for the webpage content corresponding to the new link.
In addition, the invention can also realize previewing the link content, and after downloading the content with a certain volume (for example, the downloaded webpage content can be used for typesetting one page by the floating window) in the local background, the downloaded content is displayed on the current interface through the floating window; after reading the content, the user selects to continue downloading the webpage content or cancel opening the webpage on the current interface. That is, the present invention can preview the content partially first, determine whether there is reading value, if there is no value, abandon reading, if there is, continue downloading, and select to read in the floating window or open a new webpage.
As described above, although the embodiments of the present invention have been described in detail, it will be apparent to those skilled in the art that many modifications are possible without substantially departing from the spirit and scope of the present invention. Therefore, all such modifications are included in the scope of the present invention.
Claims (17)
1. A webpage opening method is characterized by comprising the following steps:
generating and sending a webpage opening request for requesting webpage content according to triggering operation of a webpage link in a current interface;
receiving webpage content returned according to the webpage opening request, and displaying the webpage content through a floating window based on a current interface, wherein the webpage content comprises: when the received webpage content reaches a preset capacity, suspending the continuous reception of the webpage content; displaying the received webpage content with the preset capacity on the current interface through the floating window; and receiving and executing an instruction made after the user browses the webpage content with the preset capacity, wherein the instruction is to continue downloading other webpage content beyond the preset capacity or cancel opening of a webpage link in the current interface.
2. The web page opening method according to claim 1, further comprising:
determining the downloading progress of the webpage content according to the speed of receiving the webpage content;
and displaying the webpage content through a floating window based on the current interface, and simultaneously displaying the downloading progress in the current interface.
3. The web page opening method according to claim 2,
and displaying the downloading progress in the current interface through an icon with set transparency.
4. The web page opening method according to claim 1, further comprising:
and when the downloaded webpage content reaches the preset capacity, closing the display of the downloading progress in the current interface.
5. The web page opening method according to claim 4,
the predetermined volume is a display volume of the floating window.
6. The method for opening a web page according to claim 4, wherein canceling the opening of the web page link in the current interface comprises:
canceling the downloading of the webpage content except the webpage with the preset capacity;
and closing the floating window with the webpage content with the preset capacity.
7. The web page opening method according to claim 4, wherein the continuing to download the web page content comprises: continuing to download the webpage content;
and displaying the webpage content on the floating window or the new page of the current interface.
8. The web page opening method according to claim 1,
the current interface is the current page of the browser or the interface of the current application program.
9. A web page opening apparatus, comprising:
the request module is used for generating and sending a webpage opening request for requesting webpage content according to the triggering operation of the webpage link in the current interface;
the webpage display module receives webpage content returned according to the webpage opening request and displays the webpage content through the floating window based on the current interface;
wherein,
the web page display module includes: the pre-judging unit is used for suspending the continuous receiving of the webpage content when the received webpage content reaches a preset capacity; the pre-display unit is used for displaying the received webpage content with the preset capacity on the current interface through the floating window; and the continuous/stop downloading unit is used for receiving and executing an instruction made by a user after browsing the webpage content with the preset capacity, wherein the instruction is to continuously download other webpage content except the preset capacity or cancel the opening of the webpage link in the current interface.
10. The web page opening apparatus according to claim 9, further comprising:
the download progress calculation module is used for determining the download progress of the webpage content according to the speed of receiving the webpage content;
and the download progress display module is used for displaying the webpage content through the floating window based on the current interface and simultaneously displaying the download progress in the current interface.
11. The web page opening apparatus according to claim 10,
and the download progress display module displays the download progress in the current interface through an icon with set transparency.
12. The apparatus for opening a web page according to claim 9, wherein the web page display module further comprises:
and the download progress closing unit is used for closing the display of the download progress in the current interface when the downloaded webpage content reaches the preset capacity.
13. The web page opening apparatus according to claim 12,
the predetermined volume is a display volume of the floating window.
14. The web page opening apparatus according to claim 12, wherein the continue/stop downloading unit comprises:
a download canceling unit configured to cancel downloading of contents of a web page other than the predetermined capacity web page;
and a cancel display unit configured to close the floating window on which the predetermined volume of web content is displayed.
15. The web page opening apparatus according to claim 12, wherein the continue/stop downloading unit further comprises:
a continuous downloading part for continuously downloading the webpage content;
and the display part is used for displaying the webpage content on the floating window or the new page of the current interface.
16. The web page opening apparatus according to claim 9,
the current interface is the current page of the browser or the interface of the current application program.
17. A terminal device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the webpage opening method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711240365.1A CN108038150B (en) | 2017-11-30 | 2017-11-30 | Webpage opening method and device and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711240365.1A CN108038150B (en) | 2017-11-30 | 2017-11-30 | Webpage opening method and device and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108038150A CN108038150A (en) | 2018-05-15 |
CN108038150B true CN108038150B (en) | 2021-05-28 |
Family
ID=62094999
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711240365.1A Active CN108038150B (en) | 2017-11-30 | 2017-11-30 | Webpage opening method and device and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108038150B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108845788B (en) * | 2018-06-11 | 2021-09-14 | 联想(北京)有限公司 | Analog manipulation method and portable terminal |
CN110321533A (en) * | 2019-07-11 | 2019-10-11 | 北京年管家信息科技有限公司 | A kind of intellectual property encoding keys system |
CN115729495A (en) * | 2021-08-30 | 2023-03-03 | 华为技术有限公司 | Display method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102117291A (en) * | 2009-12-30 | 2011-07-06 | 北京搜狗科技发展有限公司 | Method and system for displaying network resources |
CN102982106A (en) * | 2012-11-07 | 2013-03-20 | 优视科技有限公司 | Method and device for pre-opening web page |
CN103714115A (en) * | 2013-10-29 | 2014-04-09 | 北京奇虎科技有限公司 | Method and device for loading web page content |
WO2014061996A1 (en) * | 2012-10-17 | 2014-04-24 | Samsung Electronics Co., Ltd. | User terminal device and control method thereof |
CN107291356A (en) * | 2017-08-03 | 2017-10-24 | 北京达佳互联信息技术有限公司 | file transmission display control method, device and corresponding terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7308653B2 (en) * | 2001-01-20 | 2007-12-11 | Catherine Lin-Hendel | Automated scrolling of browser content and automated activation of browser links |
CN104077387B (en) * | 2014-06-27 | 2018-03-02 | 北京奇虎科技有限公司 | A kind of web page contents display methods and browser device |
CN106528691A (en) * | 2016-10-25 | 2017-03-22 | 珠海市魅族科技有限公司 | Webpage content processing method and mobile terminal |
CN106874390B (en) * | 2017-01-12 | 2019-12-10 | 北京安云世纪科技有限公司 | Browser history record viewing method and terminal |
-
2017
- 2017-11-30 CN CN201711240365.1A patent/CN108038150B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102117291A (en) * | 2009-12-30 | 2011-07-06 | 北京搜狗科技发展有限公司 | Method and system for displaying network resources |
WO2014061996A1 (en) * | 2012-10-17 | 2014-04-24 | Samsung Electronics Co., Ltd. | User terminal device and control method thereof |
CN102982106A (en) * | 2012-11-07 | 2013-03-20 | 优视科技有限公司 | Method and device for pre-opening web page |
CN103714115A (en) * | 2013-10-29 | 2014-04-09 | 北京奇虎科技有限公司 | Method and device for loading web page content |
CN107291356A (en) * | 2017-08-03 | 2017-10-24 | 北京达佳互联信息技术有限公司 | file transmission display control method, device and corresponding terminal |
Also Published As
Publication number | Publication date |
---|---|
CN108038150A (en) | 2018-05-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8949739B2 (en) | Creating and maintaining images of browsed documents | |
US20150370912A1 (en) | Method and system for displaying customized webpage on double webview | |
US9065793B2 (en) | Rendering web content using pre-caching | |
US8612418B2 (en) | Mobile web browser for pre-loading web pages | |
AU2009287454B2 (en) | New tab pages and bookmark toolbars in a browser | |
US10198410B2 (en) | Method, device and mobile terminal for restoring page | |
US20150066656A1 (en) | Time-triggered advertisement replacement | |
CN102799372B (en) | A kind of method for uploading of pictorial information and upload device | |
EP2755145A1 (en) | Webpage browsing method and device, and storage medium | |
US8788927B2 (en) | System and method for displaying web page content | |
CN108038150B (en) | Webpage opening method and device and terminal equipment | |
CN110362766B (en) | Page display control method and terminal | |
US11157576B2 (en) | Method, system and terminal for performing search in a browser | |
CN109361948B (en) | Interface management method, intelligent terminal and readable storage medium | |
WO2014071779A1 (en) | Method, apparatus and mobile terminal for pre-opening webpage | |
WO2014067442A1 (en) | Page browsing method and browser | |
WO2014040534A1 (en) | Method and apparatus for manipulating and presenting images included in webpages | |
CN103513874A (en) | Information display method and device | |
CN108345683B (en) | Webpage display method, device, terminal and storage medium | |
WO2013177769A1 (en) | Browser-driven retrieval of content for webpages | |
CN106936727A (en) | A kind of Webpage display process and device | |
WO2013056562A1 (en) | Wap page display method and device based on webkit browser | |
US20140129927A1 (en) | Page browsing method and browser | |
CN110622135B (en) | System and method for providing content items in situations involving suboptimal network conditions | |
US10366140B2 (en) | Method for replaying user activity by rebuilding a webpage capturing content at each web event |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200526 Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Applicant after: Alibaba (China) Co.,Ltd. Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio square 14 storey tower Applicant before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |