CN107451297B - Webpage display method and device - Google Patents

Webpage display method and device Download PDF

Info

Publication number
CN107451297B
CN107451297B CN201710740006.6A CN201710740006A CN107451297B CN 107451297 B CN107451297 B CN 107451297B CN 201710740006 A CN201710740006 A CN 201710740006A CN 107451297 B CN107451297 B CN 107451297B
Authority
CN
China
Prior art keywords
webpage
prompt box
area
prompt
display interface
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
CN201710740006.6A
Other languages
Chinese (zh)
Other versions
CN107451297A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201710740006.6A priority Critical patent/CN107451297B/en
Publication of CN107451297A publication Critical patent/CN107451297A/en
Application granted granted Critical
Publication of CN107451297B publication Critical patent/CN107451297B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation 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)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a webpage display method and device. The method comprises the following steps: displaying a specified webpage on a webpage display interface, wherein the specified webpage comprises a first area which can be refreshed independently; determining a first designated position in the first area, and embedding a first prompt box at the first designated position; and/or when at least part of the first area is displayed on the webpage display interface and a webpage scrolling instruction is not received within a first preset time, determining a second designated position in the first area, and embedding a second prompt box at the second designated position. According to the technical scheme, reasonable prompt is carried out on the user in the webpage supporting partial refreshing, so that the user can know which contents can be partially refreshed on one hand, and the possibility of refreshing the webpage contents by the user is improved through the prompt box realized in an embedded mode on the other hand.

Description

Webpage display method and device
Technical Field
The invention relates to the technical field of web pages, in particular to a web page display method and device.
Background
In the prior art, if a user wants to refresh the content of a webpage, the user often needs to refresh the whole webpage, and if the user only wants to refresh a part of the content of interest, the user is difficult. Some web pages support partial refresh, but how to make it more convenient for users to know what is refreshable content and how to raise refresh interests of users is a problem to be solved.
Disclosure of Invention
In view of the above, the present invention is proposed to provide a web page presentation method and apparatus that overcomes or at least partially solves the above problems.
According to an aspect of the present invention, there is provided a web page display method, including:
displaying a specified webpage on a webpage display interface, wherein the specified webpage comprises a first area which can be refreshed independently;
determining a first designated position in the first area, and embedding a first prompt box at the first designated position;
and/or the presence of a gas in the gas,
when at least part of the first area is displayed on the webpage display interface and a webpage scrolling instruction is not received within a first preset time, a second appointed position is determined in the first area, and a second prompt box is embedded in the second appointed position.
Optionally, the method further comprises:
displaying prompt information for acquiring new webpage content in the first prompt box;
and/or the presence of a gas in the gas,
when the first area starts to be displayed in the webpage display interface, recording the accumulated time when a webpage rolling instruction is not received, clearing the accumulated time when the webpage rolling instruction is received, and when the accumulated time reaches the first preset time, displaying the prompt information that the new webpage content is not obtained in the accumulated time in the second prompt box.
Optionally, the method further comprises:
when a selection instruction of the first prompt box/the second prompt box is received, at least part of the updated content of the first area is obtained from the server of the specified webpage, and at least part of the updated content is displayed in a webpage display interface.
Optionally, the method further comprises:
when the selection instruction is a selection instruction of the second prompt box, deleting the second prompt box;
and/or the presence of a gas in the gas,
and deleting the first prompt box/the second prompt box when a closing instruction of the first prompt box/the second prompt box is received.
Optionally, the web page content in the first area is a plurality of information streams, and at least part of the updated content in the first area includes: a preset number of information streams;
the displaying at least part of the update content within the web page display interface comprises:
enabling the upper boundary of the first area to coincide with the upper boundary of the webpage display area, determining a third designated position in the first area, and embedding a third prompt box at the third designated position;
and displaying the prompt information of newly acquired information streams with preset number in the third prompt box.
Optionally, the method further comprises:
and deleting the third prompt box when the display time of the third prompt box reaches a second preset time.
Optionally, the method further comprises: and determining the first designated position/the second designated position/the third designated position according to the display sequence of all the acquired information streams.
Optionally, the first designated location is between an mth shown information stream and an M +1 th shown information stream;
and/or the presence of a gas in the gas,
the second designated position is above/below one information stream closest to the center of the webpage display interface, or the second designated position is between two information streams closest to the center of the webpage display interface;
and/or the presence of a gas in the gas,
the third designated location is between the information stream first presented and the upper boundary of the first region.
Optionally, the webpage display interface is rectangular, and the method further includes:
after the first area starts to be displayed in the webpage display interface, calculating the distance from the upper boundary of the first area to the lower boundary of the webpage display interface according to the received webpage rolling instruction;
and calculating one or two information streams which are closest to the center of the webpage display interface according to the distance, the display sequence of the information streams and the height of each information stream.
Optionally, each prompt box is a web page element of the specified web page.
According to another aspect of the present invention, there is provided a web page presentation apparatus including:
the webpage display unit is suitable for displaying a specified webpage on a webpage display interface, wherein the specified webpage comprises a first area which can be refreshed independently;
the prompt box display unit is suitable for determining a first designated position in the first area, and embedding a first prompt box in the first designated position; and/or when at least part of the first area is displayed on the webpage display interface and a webpage scrolling instruction is not received within a first preset time, determining a second designated position in the first area, and embedding a second prompt box at the second designated position.
Optionally, the prompt box displaying unit is adapted to display prompt information for acquiring new web content in the first prompt box; and/or recording the accumulated time when the webpage rolling instruction is not received after the first area starts to be displayed in the webpage display interface, clearing the accumulated time when the webpage rolling instruction is received, and displaying the prompt information that the new webpage content is not obtained due to the accumulated time in the second prompt box when the accumulated time reaches the first preset time.
Optionally, the webpage presenting unit is further adapted to, when the prompt box presenting unit receives a selection instruction for the first prompt box/the second prompt box, obtain at least part of the updated content of the first area from the server of the specified webpage, and present at least part of the updated content in the webpage presenting interface.
Optionally, the prompt box display unit is adapted to delete the second prompt box when the selection instruction is a selection instruction of the second prompt box; and/or deleting the first prompt box/the second prompt box when a closing instruction of the first prompt box/the second prompt box is received.
Optionally, the web page content in the first area is a plurality of information streams, and at least part of the updated content in the first area includes: a preset number of information streams;
the webpage display unit is suitable for enabling the upper boundary of the first area to coincide with the upper boundary of the webpage display area;
the prompt box display unit is suitable for determining a third specified position in the first area and embedding a third prompt box in the third specified position; and displaying the prompt information of newly acquired information streams with preset number in the third prompt box.
Optionally, the prompt box display unit is adapted to delete the third prompt box when the display time of the third prompt box reaches a second preset time.
Optionally, the prompt box display unit is adapted to determine the first designated position/the second designated position/the third designated position according to the display sequence of all the acquired information streams.
Optionally, the first designated location is between an mth shown information stream and an M +1 th shown information stream; and/or the second designated position is above/below one information stream closest to the center of the webpage display interface, or the second designated position is between two information streams closest to the center of the webpage display interface; and/or the third designated location is between the information stream first presented and the upper boundary of the first area.
Optionally, the webpage display interface is rectangular;
the prompt box display unit is suitable for calculating the distance from the upper boundary of the first area to the lower boundary of the webpage display interface according to the received webpage rolling instruction after the first area starts to be displayed in the webpage display interface; and calculating one or two information streams which are closest to the center of the webpage display interface according to the distance, the display sequence of the information streams and the height of each information stream.
Optionally, each prompt box is a web page element of the specified web page.
In view of the above, according to the technical solution of the present invention, a specified webpage including a first area that can be refreshed independently is displayed on a webpage display interface, and a first prompt box is embedded in a first specified position determined in the first area, and/or when at least a portion of the first area is displayed on the webpage display interface and a webpage scrolling command is not received within a first preset time, a second prompt box is embedded in a second specified position determined in the first area. According to the technical scheme, reasonable prompt is carried out on the user in the webpage supporting partial refreshing, so that the user can know which contents can be partially refreshed on one hand, and the possibility of refreshing the webpage contents by the user is improved through the prompt box realized in an embedded mode on the other hand.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart illustrating a method for displaying a web page according to an embodiment of the invention;
FIG. 2a is a schematic diagram illustrating an effect of displaying a first prompt box in a webpage display interface;
FIG. 2b is a schematic diagram illustrating an effect of displaying a second prompt box in the webpage display interface;
FIG. 2c is a schematic diagram illustrating an effect of displaying a third prompt box in the webpage display interface;
fig. 3 is a schematic structural diagram illustrating a web page presentation apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a flowchart illustrating a method for displaying a web page according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step S110, displaying a specified webpage on a webpage display interface, wherein the specified webpage comprises a first area which can be refreshed independently.
The webpage display interface can be a window in a tab page opened by a browser, and can also be an interface in an application capable of loading a webpage.
Step S120, determining a first designated location in the first area, and embedding a first prompt box in the first designated location, and/or determining a second designated location in the first area, and embedding a second prompt box in the second designated location when at least a portion of the first area is displayed on the web page display interface and no web page scrolling command is received within a first preset time.
The embedded mode ensures that the prompt box can not cover the webpage content, reduces the possibility that the user selects to close the prompt box, and also improves the possibility that the user refreshes the webpage content. The webpage scrolling instruction can be a webpage scrolling instruction sent by a user dragging a webpage scroll bar, sliding a mouse wheel, pressing a page up/down key on a keyboard and the like.
It should also be noted that, when determining the first designated location, the first prompt box may not be currently displayed in the first area. For example, when the user slides the mouse wheel, a part of the first area enters the webpage display interface, but the webpage content in the first area is still rarely displayed, and it can be considered that the user mainly browses the area at present, and as the user continues to slide the mouse wheel, the first prompt box may appear along with the appearance of the webpage content in the first area. Alternatively, when the user does not scroll the web page for a certain period of time, such as when the user temporarily leaves, a second prompt box may be embedded at the second designated location to prompt the user.
It can be seen that, in the method shown in fig. 1, a specified web page including a first area that can be refreshed separately is displayed on a web page display interface, a first prompt box is embedded in a first specified position determined in the first area, and/or a second prompt box is embedded in a second specified position determined in the first area when at least a part of the first area is displayed on the web page display interface and no web page scrolling command is received within a first preset time. According to the technical scheme, reasonable prompt is carried out on the user in the webpage supporting partial refreshing, so that the user can know which contents can be partially refreshed on one hand, and the possibility of refreshing the webpage contents by the user is improved through the prompt box realized in an embedded mode on the other hand.
In an embodiment of the present invention, the method further includes: displaying prompt information for acquiring new webpage content in a first prompt box; and/or recording the accumulated time when the webpage rolling instruction is not received after the first area starts to be displayed in the webpage display interface, resetting the accumulated time when the webpage rolling instruction is received, and displaying the prompt information that the new webpage content is not obtained in the accumulated time in the second prompt box when the accumulated time reaches the first preset time.
For example, the prompt message in the first prompt box may be "see here last time, click to refresh", and the prompt message in the second prompt box may be "see here before 3 minutes, click to refresh". Specifically, as a user drags a webpage scroll bar, a first area enters a webpage display page for displaying, and when the user stops dragging, timing is started; when the user resumes dragging or otherwise scrolls the web page, the timing is stopped and cleared. When the timing reaches a first preset time, for example, 3 minutes, the display condition of the second prompt box is triggered. If the user has not sent the web page scrolling instruction after the second prompt box appears, the prompt information in the second prompt box may be updated along with the timing, and the updating frequency may also be preset, for example, once every minute.
In an embodiment of the present invention, the method further includes: when a selection instruction of the first prompt box/the second prompt box is received, at least part of the updated content of the first area is obtained from a server of a specified webpage, and at least part of the updated content is displayed in a webpage display interface.
In this embodiment, the local refreshing of the web page may be performed by clicking the prompt box or the prompt information in the prompt box, that is, acquiring at least part of the updated content of the first area. For example, if 10 web links are acquired, but only 6 web links can be displayed according to the size of the web page display area, 6 web links can be displayed first.
Besides the instruction for selecting the prompt box shown in the above embodiment, in an embodiment of the present invention, the method further includes: when the selecting instruction is a selecting instruction of the second prompt box, deleting the second prompt box; and/or deleting the first prompt box/the second prompt box when a closing instruction of the first prompt box/the second prompt box is received.
In this embodiment, considering that the main purpose of the second prompt box is to prompt the user to change the "temporarily-away" state, so that the user has a refreshing interest, when the user clicks the second prompt box, the function of the second prompt box can only be played when the user does not scroll the web page for a while again, so that the second prompt box can be directly deleted at this time. It should be further noted that, each time the updated content of the first area is obtained, the first designated location may be determined again.
In an embodiment of the present invention, in the method, the content of the web page in the first area is a plurality of information streams, and the updating the content of at least part of the first area includes: a preset number of information streams; presenting at least part of the at least partially updated content within the web page presentation interface comprises: enabling the upper boundary of the first area to coincide with the upper boundary of the webpage display area, determining a third designated position in the first area, and embedding a third prompt box at the third designated position; and displaying the prompt information of newly acquired information streams with the preset number in a third prompt box.
Information flow is a form of presentation of web content that has emerged in recent years, mostly for advertising, but may also be used to present other web content that can be clicked on. When a flow is clicked on, other web pages corresponding to the flow are typically opened. In this embodiment, a specific number of information streams, for example, 15 information streams, may be acquired at each partial refresh, and the user may be prompted to "15 new pieces of content have been acquired and please continue browsing", such a prompt information may be presented in the third prompt box. In addition, considering that the obtained information stream is usually updated in a time-efficient manner compared with the previously obtained information stream, and the information stream is usually displayed in time sequence, in this embodiment, the upper boundary of the first area may be overlapped with the upper boundary of the webpage display area, so that if the upper boundary of the first area in the previous webpage display area is not at the position, a jump-like effect may be generated, which is convenient for the user to view new content.
Since the main purpose of the third prompt box is to prompt the user of the number of the updated contents acquired this time, in an embodiment of the present invention, the method further includes: and deleting the third prompt box when the display time of the third prompt box reaches a second preset time. For example, the third prompt box is only shown for 3 s.
In an embodiment of the present invention, the method further includes: and determining a first designated position/a second designated position/a third designated position according to the display sequence of all the acquired information streams. In one embodiment, the first designated location is between the flow of information presented for the mth and the flow of information presented for the M +1 st; the second designated position is above/below one information stream closest to the center of the webpage display interface, or the second designated position is between two information streams closest to the center of the webpage display interface; the third designated location is between the information stream presented first and the upper boundary of the first zone. Of course, other designs can be made according to the size and the layout of the webpage display interface.
Fig. 2a, fig. 2b and fig. 2c respectively show effect diagrams for displaying the first prompt box, the second prompt box and the third prompt box in the web page display interface. In the foregoing embodiment, it is mentioned that the first designated location may be determined again each time after the updated content of the first area is acquired. It is obvious in this embodiment that after new information streams are obtained, since the presentation sequence of these information streams is forward, the user will not usually have a desire to slide down too much, so if the first designated location is kept unchanged, the probability of the first prompt box being presented is low. The value of M may be a preset fixed value or a random value.
In an embodiment of the present invention, in the method, the webpage display interface is a rectangle, and the method further includes: after the first area starts to be displayed in the webpage display interface, calculating the distance from the upper boundary of the first area to the lower boundary of the webpage display interface according to the received webpage rolling instruction; and calculating one or two information streams which are closest to the center of the webpage display interface according to the distance, the display sequence of the information streams and the height of each information stream.
If the upper border of the first area appears behind the web page presentation interface (coinciding with the lower border of the web page presentation interface), the user scrolls the web page up by 1000 pixels, and the height of each stream is 100, then it can be known that the first 10 streams are to be determined, and if the number of streams acquired at this time is 12, then the last two are obviously not. Then the first 10 streams are traversed and compared to the center distance of the web page presentation interface. It may eventually happen that the two information streams are equally distant from the center of the web presentation interface (e.g. the intersection of the two is exactly the center line of the web presentation interface), or that only one information stream is closest to the center of the web presentation interface (e.g. it covers a part of the center line of the web presentation interface). Then a second prompt box may be embedded between the two determined information streams or above or below the only one determined information stream.
In the above embodiment, the prompt box is embedded, that is, the prompt box is a part of the specified web page, that is, each prompt box (e.g., the first prompt box, the second prompt box, and the third prompt box) is a web page element of the specified web page. The style of each prompt box can be the same or different.
Fig. 3 is a schematic structural diagram of a web page presentation apparatus according to an embodiment of the present invention, and as shown in fig. 3, the web page presentation apparatus 300 includes:
the webpage presenting unit 310 is adapted to present a specified webpage on the webpage presenting interface, wherein the specified webpage comprises a first area which can be refreshed independently.
A prompt box display unit 320, adapted to determine a first designated position in the first area, and embed a first prompt box at the first designated position; and/or when at least part of the first area is displayed on the webpage display interface and no webpage scrolling instruction is received within a first preset time, determining a second designated position in the first area and embedding a second prompt box at the second designated position.
It can be seen that, the apparatus shown in fig. 3 displays a specified web page including a first area that can be refreshed separately on a web page display interface, embeds a first prompt box in a first specified position determined in the first area, and/or embeds a second prompt box in a second specified position determined in the first area when at least part of the first area is displayed on the web page display interface and no web page scrolling command is received within a first preset time. According to the technical scheme, reasonable prompt is carried out on the user in the webpage supporting partial refreshing, so that the user can know which contents can be partially refreshed on one hand, and the possibility of refreshing the webpage contents by the user is improved through the prompt box realized in an embedded mode on the other hand.
In an embodiment of the present invention, in the above apparatus, the prompt box displaying unit 320 is adapted to display prompt information for acquiring new web page content in the first prompt box; and/or recording the accumulated time when the webpage rolling instruction is not received after the first area starts to be displayed in the webpage display interface, resetting the accumulated time when the webpage rolling instruction is received, and displaying the prompt information that the new webpage content is not obtained in the accumulated time in the second prompt box when the accumulated time reaches the first preset time.
In an embodiment of the present invention, in the above apparatus, the web page displaying unit 310 is further adapted to, when the prompt box displaying unit 320 receives a selection instruction of the first prompt box/the second prompt box, obtain at least part of the updated content of the first area from a server of a specified web page, and display at least part of the updated content in the web page display interface.
In an embodiment of the present invention, in the above apparatus, the prompt box presenting unit 320 is adapted to delete the second prompt box when the selecting instruction is a selecting instruction for the second prompt box; and/or deleting the first prompt box/the second prompt box when a closing instruction of the first prompt box/the second prompt box is received.
In an embodiment of the present invention, in the apparatus, the content of the web page in the first area is a plurality of information streams, and the updating the content of at least part of the first area includes: a preset number of information streams;
a web page presentation unit 310 adapted to make an upper boundary of the first area coincide with an upper boundary of the web page presentation area;
a prompt box display unit 320, adapted to determine a third designated position in the first area, and embed a third prompt box at the third designated position; and displaying the prompt information of newly acquired information streams with the preset number in a third prompt box.
In an embodiment of the present invention, in the above apparatus, the prompt box displaying unit 320 is adapted to delete the third prompt box when the display time of the third prompt box reaches a second preset time.
In an embodiment of the present invention, in the above apparatus, the prompt box displaying unit 320 is adapted to determine the first designated position/the second designated position/the third designated position according to the display sequence of all the acquired information streams.
In an embodiment of the present invention, in the above apparatus, the first designated location is between the information stream shown in the mth and the information stream shown in the M +1 st; and/or the second designated position is above/below one information stream closest to the center of the webpage display interface, or the second designated position is between two information streams closest to the center of the webpage display interface; and/or the third designated location is between the information stream for the first presentation and the upper boundary of the first area.
In an embodiment of the present invention, in the apparatus, the web page display interface is rectangular; the prompt box display unit 320 is adapted to calculate a distance from an upper boundary of the first area to a lower boundary of the webpage display interface according to the received webpage scrolling instruction after the first area starts to be displayed in the webpage display interface; and calculating one or two information streams which are closest to the center of the webpage display interface according to the distance, the display sequence of the information streams and the height of each information stream.
In an embodiment of the present invention, in the apparatus, each prompt box is a web page element of a specified web page.
It should be noted that the specific implementation of each of the above device embodiments is similar to the specific implementation of the corresponding method embodiment, and is not described herein again.
In summary, according to the technical solution of the present invention, a specified web page including a first area that can be refreshed independently is displayed on a web page display interface, and a first prompt box is embedded in a first specified position determined in the first area, and/or a second prompt box is embedded in a second specified position determined in the first area when at least a part of the first area is displayed on the web page display interface and a web page scrolling command is not received within a first preset time. According to the technical scheme, reasonable prompt is carried out on the user in the webpage supporting partial refreshing, so that the user can know which contents can be partially refreshed on one hand, and the possibility of refreshing the webpage contents by the user is improved through the prompt box realized in an embedded mode on the other hand.
It should be noted that:
the algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose devices may be used with the teachings herein. The required structure for constructing such a device will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality according to some or all of the components in the web page presentation apparatus. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The embodiment of the invention discloses A1 and a webpage display method, wherein the method comprises the following steps:
displaying a specified webpage on a webpage display interface, wherein the specified webpage comprises a first area which can be refreshed independently;
determining a first designated position in the first area, and embedding a first prompt box at the first designated position;
and/or the presence of a gas in the gas,
when at least part of the first area is displayed on the webpage display interface and a webpage scrolling instruction is not received within a first preset time, a second appointed position is determined in the first area, and a second prompt box is embedded in the second appointed position.
A2, the method of a1, wherein the method further comprises:
displaying prompt information for acquiring new webpage content in the first prompt box;
and/or the presence of a gas in the gas,
when the first area starts to be displayed in the webpage display interface, recording the accumulated time when a webpage rolling instruction is not received, clearing the accumulated time when the webpage rolling instruction is received, and when the accumulated time reaches the first preset time, displaying the prompt information that the new webpage content is not obtained in the accumulated time in the second prompt box.
A3, the method of a2, wherein the method further comprises:
when a selection instruction of the first prompt box/the second prompt box is received, at least part of the updated content of the first area is obtained from the server of the specified webpage, and at least part of the updated content is displayed in a webpage display interface.
A4, the method of A3, wherein the method further comprises:
when the selection instruction is a selection instruction of the second prompt box, deleting the second prompt box;
and/or the presence of a gas in the gas,
and deleting the first prompt box/the second prompt box when a closing instruction of the first prompt box/the second prompt box is received.
A5, the method as in A3, wherein the web page content of the first area is several information streams, and the at least partial update content of the first area comprises: a preset number of information streams;
the displaying at least part of the update content within the web page display interface comprises:
enabling the upper boundary of the first area to coincide with the upper boundary of the webpage display area, determining a third designated position in the first area, and embedding a third prompt box at the third designated position;
and displaying the prompt information of newly acquired information streams with preset number in the third prompt box.
A6, the method of a5, wherein the method further comprises:
and deleting the third prompt box when the display time of the third prompt box reaches a second preset time.
A7, the method of a5, wherein the method further comprises: and determining the first designated position/the second designated position/the third designated position according to the display sequence of all the acquired information streams.
A8 the method of A7, wherein,
the first designated location is between the mth displayed information stream and the M +1 th displayed information stream;
and/or the presence of a gas in the gas,
the second designated position is above/below one information stream closest to the center of the webpage display interface, or the second designated position is between two information streams closest to the center of the webpage display interface;
and/or the presence of a gas in the gas,
the third designated location is between the information stream first presented and the upper boundary of the first region.
A9, the method of A8, wherein the web page display interface is rectangular, the method further comprising:
after the first area starts to be displayed in the webpage display interface, calculating the distance from the upper boundary of the first area to the lower boundary of the webpage display interface according to the received webpage rolling instruction;
and calculating one or two information streams which are closest to the center of the webpage display interface according to the distance, the display sequence of the information streams and the height of each information stream.
A10, the method as in any one of A1-A9, wherein each prompt box is a web page element of the specified web page.
The embodiment of the invention also discloses B11 and a webpage display device, wherein the device comprises:
the webpage display unit is suitable for displaying a specified webpage on a webpage display interface, wherein the specified webpage comprises a first area which can be refreshed independently;
the prompt box display unit is suitable for determining a first designated position in the first area, and embedding a first prompt box in the first designated position; and/or when at least part of the first area is displayed on the webpage display interface and a webpage scrolling instruction is not received within a first preset time, determining a second designated position in the first area, and embedding a second prompt box at the second designated position.
B12, the device of B11, wherein,
the prompt box display unit is suitable for displaying prompt information for acquiring new webpage contents in the first prompt box; and/or recording the accumulated time when the webpage rolling instruction is not received after the first area starts to be displayed in the webpage display interface, clearing the accumulated time when the webpage rolling instruction is received, and displaying the prompt information that the new webpage content is not obtained due to the accumulated time in the second prompt box when the accumulated time reaches the first preset time.
B13, the device of B12, wherein,
the webpage display unit is further adapted to, when the prompt box display unit receives a selection instruction for the first prompt box/the second prompt box, obtain at least part of the updated content of the first area from the server of the specified webpage, and display at least part of the updated content in the webpage display interface.
B14, the device of B13, wherein,
the prompt box display unit is suitable for deleting the second prompt box when the selection instruction is a selection instruction of the second prompt box; and/or deleting the first prompt box/the second prompt box when a closing instruction of the first prompt box/the second prompt box is received.
B15, the apparatus as in B13, wherein the web page content of the first area is several information streams, and the at least partial update content of the first area comprises: a preset number of information streams;
the webpage display unit is suitable for enabling the upper boundary of the first area to coincide with the upper boundary of the webpage display area;
the prompt box display unit is suitable for determining a third specified position in the first area and embedding a third prompt box in the third specified position; and displaying the prompt information of newly acquired information streams with preset number in the third prompt box.
B16, the device of B15, wherein,
the prompt box display unit is suitable for deleting the third prompt box when the display time of the third prompt box reaches second preset time.
B17, the device of B15, wherein,
the prompt box display unit is suitable for determining the first designated position/the second designated position/the third designated position according to the display sequence of all the acquired information streams.
B18, the device of B17, wherein,
the first designated location is between the mth displayed information stream and the M +1 th displayed information stream; and/or the second designated position is above/below one information stream closest to the center of the webpage display interface, or the second designated position is between two information streams closest to the center of the webpage display interface; and/or the third designated location is between the information stream first presented and the upper boundary of the first area.
B19, the device as B18, wherein the web page display interface is rectangular;
the prompt box display unit is suitable for calculating the distance from the upper boundary of the first area to the lower boundary of the webpage display interface according to the received webpage rolling instruction after the first area starts to be displayed in the webpage display interface; and calculating one or two information streams which are closest to the center of the webpage display interface according to the distance, the display sequence of the information streams and the height of each information stream.
B20, the apparatus as in any one of B11-B19, wherein each prompt box is a web page element of the specified web page.

Claims (18)

1. A webpage display method comprises the following steps:
displaying a specified webpage on a webpage display interface, wherein the specified webpage comprises a first area which can be refreshed independently;
determining a first designated position in the first area, and embedding a first prompt box at the first designated position;
when at least part of the first area is displayed on the webpage display interface and a webpage scrolling instruction is not received within a first preset time, a second appointed position is determined in the first area, and a second prompt box is embedded in the second appointed position;
the method further comprises the following steps:
displaying prompt information for acquiring new webpage content in the first prompt box;
when the first area starts to be displayed in the webpage display interface, recording the accumulated time when a webpage rolling instruction is not received, clearing the accumulated time when the webpage rolling instruction is received, and when the accumulated time reaches the first preset time, displaying the prompt information that the new webpage content is not obtained in the accumulated time in the second prompt box.
2. The method of claim 1, wherein the method further comprises:
when a selection instruction of the first prompt box/the second prompt box is received, at least part of the updated content of the first area is obtained from the server of the specified webpage, and at least part of the updated content is displayed in a webpage display interface.
3. The method of claim 2, wherein the method further comprises:
when the selection instruction is a selection instruction of the second prompt box, deleting the second prompt box;
and/or the presence of a gas in the gas,
and deleting the first prompt box/the second prompt box when a closing instruction of the first prompt box/the second prompt box is received.
4. The method of claim 2, wherein the web page content of the first area is a plurality of information streams, and the updating at least part of the content of the first area comprises: a preset number of information streams;
the displaying at least part of the update content within the web page display interface comprises:
enabling the upper boundary of the first area to coincide with the upper boundary of the webpage display area, determining a third designated position in the first area, and embedding a third prompt box at the third designated position;
and displaying the prompt information of newly acquired information streams with preset number in the third prompt box.
5. The method of claim 4, wherein the method further comprises:
and deleting the third prompt box when the display time of the third prompt box reaches a second preset time.
6. The method of claim 4, wherein the method further comprises: and determining the first designated position/the second designated position/the third designated position according to the display sequence of all the acquired information streams.
7. The method of claim 6, wherein,
the first designated location is between the mth displayed information stream and the M +1 th displayed information stream;
and/or the presence of a gas in the gas,
the second designated position is above/below one information stream closest to the center of the webpage display interface, or the second designated position is between two information streams closest to the center of the webpage display interface;
and/or the presence of a gas in the gas,
the third designated location is between the information stream first presented and the upper boundary of the first region.
8. The method of claim 7, wherein the web page presentation interface is rectangular, the method further comprising:
after the first area starts to be displayed in the webpage display interface, calculating the distance from the upper boundary of the first area to the lower boundary of the webpage display interface according to the received webpage rolling instruction;
and calculating one or two information streams which are closest to the center of the webpage display interface according to the distance, the display sequence of the information streams and the height of each information stream.
9. The method of any of claims 1-8, wherein each prompt box is a web page element of the specified web page.
10. A web page presentation apparatus, wherein the apparatus comprises:
the webpage display unit is suitable for displaying a specified webpage on a webpage display interface, wherein the specified webpage comprises a first area which can be refreshed independently;
the prompt box display unit is suitable for determining a first designated position in the first area, and embedding a first prompt box in the first designated position; when at least part of the first area is displayed on the webpage display interface and a webpage scrolling instruction is not received within a first preset time, a second appointed position is determined in the first area, and a second prompt box is embedded in the second appointed position;
the prompt box display unit is suitable for displaying prompt information for acquiring new webpage contents in the first prompt box; when the first area starts to be displayed in the webpage display interface, recording the accumulated time when a webpage rolling instruction is not received, clearing the accumulated time when the webpage rolling instruction is received, and when the accumulated time reaches the first preset time, displaying the prompt information that the new webpage content is not obtained in the accumulated time in the second prompt box.
11. The apparatus of claim 10, wherein,
the webpage display unit is further adapted to, when the prompt box display unit receives a selection instruction for the first prompt box/the second prompt box, obtain at least part of the updated content of the first area from the server of the specified webpage, and display at least part of the updated content in the webpage display interface.
12. The apparatus of claim 11, wherein,
the prompt box display unit is suitable for deleting the second prompt box when the selection instruction is a selection instruction of the second prompt box; and/or deleting the first prompt box/the second prompt box when a closing instruction of the first prompt box/the second prompt box is received.
13. The apparatus of claim 11, wherein the web page content of the first area is a plurality of information streams, and the at least partially updated content of the first area comprises: a preset number of information streams;
the webpage display unit is suitable for enabling the upper boundary of the first area to coincide with the upper boundary of the webpage display area;
the prompt box display unit is suitable for determining a third specified position in the first area and embedding a third prompt box in the third specified position; and displaying the prompt information of newly acquired information streams with preset number in the third prompt box.
14. The apparatus of claim 13, wherein,
the prompt box display unit is suitable for deleting the third prompt box when the display time of the third prompt box reaches second preset time.
15. The apparatus of claim 13, wherein,
the prompt box display unit is suitable for determining the first designated position/the second designated position/the third designated position according to the display sequence of all the acquired information streams.
16. The apparatus of claim 15, wherein,
the first designated location is between the mth displayed information stream and the M +1 th displayed information stream; and/or the second designated position is above/below one information stream closest to the center of the webpage display interface, or the second designated position is between two information streams closest to the center of the webpage display interface; and/or the third designated location is between the information stream first presented and the upper boundary of the first area.
17. The apparatus of claim 16, wherein the web page presentation interface is rectangular;
the prompt box display unit is suitable for calculating the distance from the upper boundary of the first area to the lower boundary of the webpage display interface according to the received webpage rolling instruction after the first area starts to be displayed in the webpage display interface; and calculating one or two information streams which are closest to the center of the webpage display interface according to the distance, the display sequence of the information streams and the height of each information stream.
18. The apparatus of any of claims 10-17, wherein each prompt box is a web page element of the specified web page.
CN201710740006.6A 2017-08-23 2017-08-23 Webpage display method and device Active CN107451297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710740006.6A CN107451297B (en) 2017-08-23 2017-08-23 Webpage display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710740006.6A CN107451297B (en) 2017-08-23 2017-08-23 Webpage display method and device

Publications (2)

Publication Number Publication Date
CN107451297A CN107451297A (en) 2017-12-08
CN107451297B true CN107451297B (en) 2021-04-06

Family

ID=60493139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710740006.6A Active CN107451297B (en) 2017-08-23 2017-08-23 Webpage display method and device

Country Status (1)

Country Link
CN (1) CN107451297B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115097988B (en) * 2022-07-20 2024-03-22 抖音视界有限公司 Information display method, device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102016795A (en) * 2008-04-25 2011-04-13 微软公司 Extensible and application-adaptable toolbar for web services
CN103220641A (en) * 2012-01-19 2013-07-24 联想(北京)有限公司 Information processing method and electronic terminal
CN103297498A (en) * 2013-04-19 2013-09-11 北京宽连十方数字技术有限公司 Relevant content pushing method based on mobile phone client side
CN104268282A (en) * 2014-10-15 2015-01-07 李阳 Web banner advertisement displaying method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101782911B (en) * 2009-06-23 2016-03-16 北京搜狗科技发展有限公司 A kind of prompting network resource content method and system
US9336319B2 (en) * 2009-09-11 2016-05-10 Ebay Inc. Data file and rule driven synchronous or asynchronous document generation
US9805135B2 (en) * 2011-03-30 2017-10-31 Cbs Interactive Inc. Systems and methods for updating rich internet applications
CN103970427B (en) * 2013-02-04 2018-07-24 腾讯科技(深圳)有限公司 The method for refreshing and device of Webpage
CN104035931B (en) * 2013-03-05 2017-07-21 联想(北京)有限公司 A kind of reminding method, system and electronic equipment
CN104866566A (en) * 2015-05-22 2015-08-26 百度在线网络技术(北京)有限公司 Information recommendation method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102016795A (en) * 2008-04-25 2011-04-13 微软公司 Extensible and application-adaptable toolbar for web services
CN103220641A (en) * 2012-01-19 2013-07-24 联想(北京)有限公司 Information processing method and electronic terminal
CN103297498A (en) * 2013-04-19 2013-09-11 北京宽连十方数字技术有限公司 Relevant content pushing method based on mobile phone client side
CN104268282A (en) * 2014-10-15 2015-01-07 李阳 Web banner advertisement displaying method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
" 基于Linux的嵌入式浏览器的设计与实现";张爱娟;《中国优秀硕士学位论文全文数据库 信息科技辑》;20150615;I139-74页 *
"基于WebGIS气象综合显示系统改进与实现";赵文芳等;《应用气象学报》;20150515(第3期);378-384页 *

Also Published As

Publication number Publication date
CN107451297A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
US11573693B2 (en) Display controlling method, terminal, information processing apparatus, and storage medium
US9535945B2 (en) Intent based search results associated with a modular search object framework
US20090049385A1 (en) Persistent visual media player
US9830388B2 (en) Modular search object framework
US10891423B2 (en) Portlet display on portable computing devices
US20120204086A1 (en) E-reader with dynamic content and reader tracking capability
WO2008154120A1 (en) Creating web clips
JP6482501B2 (en) Information display program, information display method, information display device, and distribution device
JP6039613B2 (en) Display program, terminal device, display method, and distribution device
EP2940607A1 (en) Enhanced search results associated with a modular search object framework
JP2008097010A (en) Automatically collapsing advertising method
US20210312118A1 (en) System and method for serving interactive advertising content with responsive animations
CN105045935B (en) A kind of method and electronic equipment for recommended location information
AU2016281182A1 (en) A computer implemented method, client computing device and computer readable storage medium for data presentation
US20090044147A1 (en) System and method for presenting dynamic advertisements on web pages
US9483793B1 (en) Immersive multimedia views for items
JP5965035B1 (en) Information display program, information display method, information display device, distribution device, and distribution method
JP5941568B1 (en) Information display program, information display apparatus, information display method, distribution apparatus, and distribution method
JP2017162212A (en) Information processing device, information processing method, and program
CN107451297B (en) Webpage display method and device
CN105260383B (en) It is a kind of for showing the processing method and electronic equipment of Web page image information
KR100697809B1 (en) The method making homepage with iframe and layer
CN110879684A (en) Content display method and device
CN106445274A (en) Method and device for processing multi-window page display
CN105260904A (en) Method for performing information recommendation according to webpage image and electronic equipment

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