CN105488051B - Webpage processing method and device - Google Patents

Webpage processing method and device Download PDF

Info

Publication number
CN105488051B
CN105488051B CN201410475278.4A CN201410475278A CN105488051B CN 105488051 B CN105488051 B CN 105488051B CN 201410475278 A CN201410475278 A CN 201410475278A CN 105488051 B CN105488051 B CN 105488051B
Authority
CN
China
Prior art keywords
webpage
comment
page
user
instruction
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
CN201410475278.4A
Other languages
Chinese (zh)
Other versions
CN105488051A (en
Inventor
曹浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410475278.4A priority Critical patent/CN105488051B/en
Publication of CN105488051A publication Critical patent/CN105488051A/en
Application granted granted Critical
Publication of CN105488051B publication Critical patent/CN105488051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a webpage processing method and a device, wherein the method comprises the following steps: responding to a user side operation instruction, and displaying a webpage text page; receiving a webpage comment instruction triggered by a user side on a webpage text page; and displaying the webpage comment page on a display screen of the webpage text page according to the webpage comment instruction. According to the method and the device, the user does not need to click or jump for multiple times when entering the webpage comment page, so that the user can enter the news comment page more smoothly to check comments and perform comment operation, and the efficiency of webpage comment operation and the user liveness are improved.

Description

Webpage processing method and device
Technical Field
The invention relates to the technical field of internet, in particular to a webpage processing method and device.
Background
With the outbreak of smart phones, hundreds of millions of users check news through mobile phone news software every day, and mobile phone news software developers can better keep the users behind, improve the liveness of the users, provide the users with the function of commenting the news, and the users can check the comments of other people on the news and also can comment the news by themselves.
However, the news comment function provided by the current mobile phone news software developer has a mixed comment entry and news text, which interferes text reading; some comment entries are hidden too deeply, and can be accessed only by clicking or jumping pages for multiple times, for example, the comment entries are displayed in a bottom toolbar, a top navigation bar, a corner mark and the like, and a user must enter the comment page by clicking or jumping the page to check and comment, so that inconvenience is brought to the user operation.
Disclosure of Invention
The embodiment of the invention provides a webpage processing method and device, and aims to realize that a user quickly reviews webpages such as news.
The embodiment of the invention provides a webpage processing method, which comprises the following steps:
responding to a user side operation instruction, and displaying a webpage text page;
receiving a webpage comment instruction triggered by a user side on the webpage text page;
and displaying a webpage comment page on a display screen of the webpage text page according to the webpage comment instruction.
An embodiment of the present invention further provides a web page processing apparatus, including:
the text display module is used for responding to the user side operation instruction and displaying the text page of the webpage;
the receiving module is used for receiving a webpage comment instruction triggered by a user side on the webpage text page;
and the comment display module is used for displaying the webpage comment page on a display screen of the webpage text page according to the webpage comment instruction.
According to the webpage processing method and device provided by the embodiment of the invention, when a user browses webpages such as news, a webpage comment instruction triggered by a user side is received on a webpage text page; according to the webpage comment instruction, the webpage comment page is displayed on the display screen of the webpage body page, and the user does not need to click or jump for many times when entering the webpage comment page, so that the user can more smoothly enter the news comment page to check comments and perform comment operation, and the efficiency of webpage comment operation and the user activity are improved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first exemplary embodiment of a web page processing method according to the present invention;
FIG. 3a is a schematic interface diagram of a web page text page according to an embodiment of the present invention;
FIG. 3b is a schematic interface diagram of a web page review page according to an embodiment of the present invention;
FIG. 3c is a schematic diagram illustrating a partitioned display of a web page comment page and a web page body page in an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a web page processing method according to a second embodiment of the present invention;
FIG. 5 is a block diagram of a web page processing apparatus according to a preferred embodiment of the invention.
In order to make the technical solution of the present invention clearer and clearer, the following detailed description is made with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: when a user browses webpages such as news and the like, receiving a webpage comment instruction triggered by a user side on a webpage text page; according to the webpage comment instruction, the webpage comment page is displayed on the display screen of the webpage text page, and the user does not need to click or jump for multiple times when entering the webpage comment page, so that the user can enter the news comment page more smoothly to check comments and perform comment operation, and the efficiency of the webpage comment operation and the liveness of the user are improved.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a mobile terminal device with a display function, such as a smart phone, a tablet computer, an e-book reader and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a web page processing application program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke a web page processing application stored in the memory 1005 and perform the following operations:
responding to a user side operation instruction, and displaying a webpage text page;
receiving a webpage comment instruction triggered by a user side on the webpage text page;
and displaying a webpage comment page on a display screen of the webpage text page according to the webpage comment instruction.
Further, the processor 1001 may call a web page processing application stored in the memory 1005, and also perform the following operations:
receiving instructions of a user side sliding downwards, upwards, leftwards or rightwards on the webpage text page as webpage comment instructions; or receiving an operation instruction of clicking a comment button on a bottom toolbar or a top toolbar on the webpage text page by a user end, wherein the operation instruction is used as the webpage comment instruction.
Further, the processor 1001 may call a web page processing application stored in the memory 1005, and also perform the following operations:
pulling a webpage comment page according to the webpage comment instruction;
displaying the webpage comment page in a mode of covering the webpage text page on a display screen of the webpage text page; or the webpage comment page and the webpage body page are displayed in a partition mode.
Further, the processor 1001 may call a web page processing application stored in the memory 1005, and also perform the following operations:
and displaying a comment input box on the webpage comment page in a form of a suspension box, so that a user end can input comment contents.
Further, the processor 1001 may call a web page processing application stored in the memory 1005, and also perform the following operations:
receiving a switching instruction triggered by reverse sliding of a user end on the webpage comment page and the webpage comment instruction, or receiving a switching instruction triggered by clicking a text button on a bottom toolbar or a top toolbar on the webpage comment page by the user end;
and returning and displaying the webpage text page according to the switching instruction.
According to the scheme, when a user browses webpages such as news, a webpage comment instruction triggered by a user side is received on a webpage text page; according to the webpage comment instruction, the webpage comment page is displayed on the display screen of the webpage body page, and the user does not need to click or jump for many times when entering the webpage comment page, so that the user can more smoothly enter the news comment page to check comments and perform comment operation, the user can more smoothly switch between the webpage body page and the webpage comment page, the efficiency of webpage comment operation is improved, the man-machine interaction of application software is improved, the liveness of the user is improved, and different requirements of the user are met.
As shown in fig. 2, a first embodiment of the present invention provides a web page processing method, including:
step S101, responding to a user side operation instruction and displaying a webpage text page;
the terminal related to the operation environment of the method of the embodiment can be a mobile terminal such as a mobile phone and a tablet personal computer with a web browsing function, and can also be a PC terminal. The web page may be a page of news, a microblog, an e-book, or the like. Taking a news webpage as an example, news reading software can be installed on the terminal, and a user can browse news on the terminal through the news reading software and comment the news or view comments of other people on the news.
Because of the news comment function provided by the existing mobile phone news software developer, some comment entries and news texts are mixed together, and text reading is interfered; some comment entries are hidden too deeply, and the comment page can be accessed for viewing and comment operations only by clicking or jumping the page for multiple times, so that inconvenience is brought to user operations.
According to the scheme, the user can enter the news comment page more smoothly to check comments and perform comment operation, and the efficiency of webpage comment operation and the user activity are improved.
Firstly, a user opens news reading software on a terminal, corresponding click operation is performed on a webpage title which is interested by the user, the terminal responds to a user-side operation instruction and displays a corresponding webpage text page, as shown in fig. 3a, fig. 3a is an interface schematic diagram of the webpage text page, the webpage text page usually comprises a title and a text area, and a toolbar, namely a top toolbar or a bottom toolbar, can be arranged at the top or the bottom of the webpage text page.
Step S102, receiving a webpage comment instruction triggered by a user side on the webpage text page;
on the webpage text page, the user can make webpage comments. The concrete implementation is as follows:
the user can perform a sliding operation or perform a corresponding clicking operation or other gesture operations on the webpage body page to trigger the webpage comment page to enter.
For example, as an embodiment, in the body page of the web page shown in fig. 3a, the user may enter the web page comment page in a manner of sliding down on the body page of the web page, so as to trigger the web page comment instruction. Of course, the user may also perform a sliding operation up, left, right, or other manners to trigger an instruction to enter the web page comment page.
Of course, as another embodiment, the user may click on the comment button on the bottom toolbar or the top toolbar on the body page of the web page, so as to trigger the instruction to enter the comment page of the web page. For example, the user may click on the comment button in the bottom toolbar into the web page comment page in the web page body page shown in fig. 3 a. Of course, the manner of triggering the instruction to enter the web page comment page by the user is not limited to the above-mentioned several gesture operations, and may also be a user-defined gesture, for example.
And step S103, displaying a webpage comment page on a display screen of the webpage text page according to the webpage comment instruction.
And after receiving a webpage comment instruction triggered in the webpage text page by the user, the terminal displays the webpage comment page on a display screen of the webpage text page. As shown in fig. 3b, fig. 3b is a schematic interface diagram of a web review page according to this embodiment. The user can inquire comments or perform comment operations on the webpage comment page.
The display screen of the webpage text page refers to a display screen currently displayed by the terminal. In the webpage comment page, a title and a comment content area can be included, and a bottom toolbar or a top toolbar can be further included, and corresponding function buttons are arranged in the toolbars.
In addition, a comment input box is further arranged in the webpage comment page and used for a user end to input comment contents, and the comment input box can be displayed on the webpage comment page in a form of a suspension box.
After entering the webpage comment page, the comment input box automatically appears, a user can call a comment operation at any position on the webpage comment page, and comment content is input in the comment input box.
According to the scheme, the webpage comment page can be directly displayed on the display screen of the webpage text page without the need of multiple clicks or multiple jump operations of a user. Especially, for the situation that the text content of the webpage is more, multi-screen display is usually required, and the existing scheme can only comment on the webpage content in the last page of the webpage, so that if a user needs to view the comment or comment on the webpage content, the user needs to turn a page to the last screen of the webpage. In the scheme of the embodiment, the current page of the text content of the webpage can be directly commented, that is, the content displayed on the current screen can be commented, that is, a user can comment any page of the text content of the webpage and can inquire the comment.
The concrete implementation is as follows:
firstly, a terminal pulls relevant data of a webpage comment page from a background server according to a received webpage comment instruction; then, on the current display screen of the webpage text page, the webpage comment page is displayed in a mode of covering the webpage text page, namely the webpage text page is hidden and displayed, so that the webpage text page can be switched and displayed after the webpage comment page exits subsequently.
Examples are as follows:
as shown in fig. 3a, if the user slides down the page in the text page of the web page shown in fig. 3a, the current screen displays the comment page of the web page shown in fig. 3 b. When a user completes comment operation in a webpage comment page or needs to quit the webpage comment page after viewing comment contents, the current page is switched and displayed to be a webpage text page by sliding the page upwards in the webpage comment page, and therefore the user can enter the webpage comment page such as news more smoothly to view comments and perform comment operation, the efficiency of webpage comment operation is improved, and the human-computer interaction of application software and the user activity are improved.
As another embodiment, when displaying a web page comment page, the following method may be adopted:
as shown in fig. 3c, the web page comment page and the web page body page are displayed in a partitioned manner, so that the user can see the web page body content and the web page comment content on the same screen at the same time, and thus, the user can perform comment operation on the web page body content, which brings greater convenience to the user operation and further improves the human-computer interaction of the application software.
In addition, the user can click a comment button on a tool bar at the bottom of a webpage text page to realize full-screen display of the webpage comment page, and can click a text button on the tool bar at the bottom of the webpage comment page to realize full-screen display of the webpage text page. The change of the operation mode can be set according to the requirement, and is not described herein.
According to the scheme, when a user browses webpages such as news, a webpage comment instruction triggered by a user side is received on a webpage text page; according to the webpage comment instruction, the webpage comment page is displayed on the display screen of the webpage body page, and the user does not need to click or jump for many times when entering the webpage comment page, so that the user can more smoothly enter the news comment page to check comments and perform comment operation, and the efficiency of webpage comment operation and the user activity are improved.
As shown in fig. 4, a second embodiment of the present invention provides a web page processing method, which, based on the first embodiment shown in fig. 2, further includes, after the step S103:
step S104, receiving a switching instruction triggered by a sliding mode of a user end on the webpage comment page, wherein the sliding direction of the sliding mode is opposite to that of the webpage comment instruction, or receiving a switching instruction triggered by a user end clicking a text button on a bottom toolbar or a top toolbar on the webpage comment page;
and step S105, returning to display the webpage text page according to the switching instruction.
The present embodiment is different from the first embodiment shown in fig. 2 described above in that the present embodiment further includes a scheme of switching display from a web comment page to a web page body page. The user can trigger the switching instruction in a sliding mode opposite to the sliding direction of the webpage comment instruction on the webpage comment page, or click a text button on a bottom toolbar or a top toolbar on the webpage comment page to trigger the switching instruction.
Specifically, taking the sliding operation as an example, when the user slides the page downwards in the text page of the webpage shown in fig. 3a and displays the comment page of the webpage shown in fig. 3b, on the comment page of the webpage shown in fig. 3b, when the user completes the comment operation in the comment page of the webpage or needs to quit the comment page of the webpage after viewing the comment content, the page is slid upwards in the comment page of the webpage, and then the current page is switched and displayed as the text page of the webpage shown in fig. 3 a. Similar to the above, the sliding operation of the upper, left, right or other modes is used to trigger the application scene entering the web page comment page. Of course, the manner of switching the instruction displayed as the web page body page from the web page comment page triggered by the user is not limited to the above gesture operations, and may also be a user-defined gesture.
Therefore, the user can more smoothly switch between the webpage text page and the webpage comment page, the user can conveniently and quickly enter the webpage comment pages such as news and the like to check comments and perform comment operation, the efficiency of the webpage comment operation is improved, the man-machine interaction of application software and the user activity are improved, and different requirements of the user are met.
Of course, the user may click the text button on the bottom toolbar or the top toolbar on the web page comment page to perform the switching operation, and return to the web page text page. After entering the text page of the webpage, the comment input box automatically disappears.
According to the scheme, when a user browses webpages such as news, a webpage comment instruction triggered by a user side is received on a webpage text page; according to the webpage comment instruction, the webpage comment page is displayed on the display screen of the webpage body page, and the user does not need to click or jump for many times when entering the webpage comment page, so that the user can more smoothly enter the news comment page to check comments and perform comment operation, the user can more smoothly switch between the webpage body page and the webpage comment page, the efficiency of webpage comment operation is improved, the man-machine interaction of application software is improved, the liveness of the user is improved, and different requirements of the user are met.
As shown in fig. 5, a preferred embodiment of the present invention provides a web page processing apparatus, including: the text display module 201, the receiving module 202 and the comment display module 203, wherein:
the text display module 201 is used for responding to the user side operation instruction and displaying a webpage text page;
a receiving module 202, configured to receive, at the text page of the web page, a web comment instruction triggered by a user;
and the comment display module 203 is configured to display a webpage comment page on a display screen of the webpage text page according to the webpage comment instruction.
Further, the receiving module 202 is further configured to receive an instruction that a user side slides down, up, left, or right on the text page of the webpage, as the webpage comment instruction; or receiving an operation instruction of clicking a comment button on a bottom toolbar or a top toolbar on the webpage text page by a user end, wherein the operation instruction is used as the webpage comment instruction.
The comment display module 203 is further configured to pull a webpage comment page according to the webpage comment instruction; displaying the webpage comment page in a mode of covering the webpage text page on a display screen of the webpage text page; or the webpage comment page and the webpage body page are displayed in a partition mode.
The text display module 201 is further configured to receive a switching instruction triggered by a user sliding on the web page comment page in a reverse direction with the web page comment instruction, or receive a switching instruction triggered by a user clicking a text button on a bottom toolbar or a top toolbar on the web page comment page; and returning and displaying the webpage text page according to the switching instruction.
Specifically, the terminal where the web page processing apparatus of this embodiment is located may be a mobile terminal such as a mobile phone and a tablet computer having a web page browsing function, or may be a PC terminal. The web page may be a page of news, a microblog, an e-book, or the like. Taking a news webpage as an example, news reading software can be installed on the terminal, and a user can browse news on the terminal through the news reading software and comment the news or view comments of other people on the news.
Because of the news comment function provided by the existing mobile phone news software developer, some comment entries and news texts are mixed together, and text reading is interfered; some comment entries are hidden too deeply, and the comment page can be accessed for viewing and comment operations only by clicking or jumping the page for multiple times, so that inconvenience is brought to user operations.
According to the scheme, the user can enter the news comment page more smoothly to check comments and perform comment operation, and the efficiency of webpage comment operation and the user activity are improved.
Firstly, a user opens news reading software on a terminal, corresponding click operation is performed on a webpage title which is interested by the user, the terminal responds to a user-side operation instruction and displays a corresponding webpage text page, as shown in fig. 3a, fig. 3a is an interface schematic diagram of the webpage text page, the webpage text page usually comprises a title and a text area, and a toolbar, namely a top toolbar or a bottom toolbar, can be arranged at the top or the bottom of the webpage text page.
On the webpage text page, the user can make webpage comments. The concrete implementation is as follows:
the user can perform a sliding operation or perform a corresponding clicking operation or other gesture operations on the webpage body page to trigger the webpage comment page to enter.
For example, as an embodiment, in the body page of the web page shown in fig. 3a, the user may enter the web page comment page in a manner of sliding down on the body page of the web page, so as to trigger the web page comment instruction. Of course, the user may also perform a sliding operation up, left, right, or other manners to trigger an instruction to enter the web page comment page.
Of course, as another embodiment, the user may click on the comment button on the bottom toolbar or the top toolbar on the body page of the web page, so as to trigger the instruction to enter the comment page of the web page. For example, the user may click on the comment button in the bottom toolbar into the web page comment page in the web page body page shown in fig. 3 a. Of course, the manner of triggering the instruction to enter the web page comment page by the user is not limited to the above-mentioned several gesture operations, and may also be a user-defined gesture, for example.
And after receiving a webpage comment instruction triggered in the webpage text page by the user, the terminal displays the webpage comment page on a display screen of the webpage text page. As shown in fig. 3b, fig. 3b is a schematic interface diagram of a web review page according to this embodiment. The user can inquire comments or perform comment operations on the webpage comment page.
The display screen of the webpage text page refers to a display screen currently displayed by the terminal.
In the webpage comment page, a title and a comment content area can be included, and a bottom toolbar or a top toolbar can be further included, and corresponding function buttons are arranged in the toolbars.
In addition, a comment input box is further arranged in the webpage comment page and used for a user end to input comment contents, and the comment input box can be displayed on the webpage comment page in a form of a suspension box.
After entering the webpage comment page, the comment input box automatically appears, a user can call a comment operation at any position on the webpage comment page, and comment content is input in the comment input box.
According to the scheme, the webpage comment page can be directly displayed on the display screen of the webpage text page without the need of multiple clicks or multiple jump operations of a user. Especially, for the situation that the text content of the webpage is more, multi-screen display is usually required, and the existing scheme can only comment on the webpage content in the last page of the webpage, so that if a user needs to view the comment or comment on the webpage content, the user needs to turn a page to the last screen of the webpage. In the scheme of the embodiment, the current page of the text content of the webpage can be directly commented, that is, the content displayed on the current screen can be commented, that is, a user can comment any page of the text content of the webpage and can inquire the comment.
The concrete implementation is as follows:
firstly, a terminal pulls relevant data of a webpage comment page from a background server according to a received webpage comment instruction; then, on the current display screen of the webpage text page, the webpage comment page is displayed in a mode of covering the webpage text page, namely the webpage text page is hidden and displayed, so that the webpage text page can be switched and displayed after the webpage comment page exits subsequently.
Examples are as follows:
as shown in fig. 3a, if the user slides down the page in the text page of the web page shown in fig. 3a, the current screen displays the comment page of the web page shown in fig. 3 b. When a user completes comment operation in a webpage comment page or needs to quit the webpage comment page after viewing comment contents, the current page is switched and displayed to be a webpage text page by sliding the page upwards in the webpage comment page, and therefore the user can enter the webpage comment page such as news more smoothly to view comments and perform comment operation, the efficiency of webpage comment operation is improved, and the human-computer interaction of application software and the user activity are improved.
As another embodiment, when displaying a web page comment page, the following method may be adopted:
as shown in fig. 3c, the web page comment page and the web page body page are displayed in a partitioned manner, so that the user can see the web page body content and the web page comment content on the same screen at the same time, and thus, the user can perform comment operation on the web page body content, which brings greater convenience to the user operation and further improves the human-computer interaction of the application software.
In addition, the user can click a comment button on a tool bar at the bottom of a webpage text page to realize full-screen display of the webpage comment page, and can click a text button on the tool bar at the bottom of the webpage comment page to realize full-screen display of the webpage text page. The change of the operation mode can be set according to the requirement, and is not described herein.
According to the scheme, when a user browses webpages such as news, a webpage comment instruction triggered by a user side is received on a webpage text page; according to the webpage comment instruction, the webpage comment page is displayed on the display screen of the webpage body page, and the user does not need to click or jump for many times when entering the webpage comment page, so that the user can more smoothly enter the news comment page to check comments and perform comment operation, and the efficiency of webpage comment operation and the user activity are improved.
Furthermore, according to needs, the webpage comment page can be switched to the webpage text page in response to the operation instruction of the user.
When a user switches from a webpage comment page to a webpage text page, a sliding mode opposite to the sliding direction of the webpage comment instruction can be adopted on the webpage comment page to trigger the switching instruction, or a text button on a bottom toolbar or a top toolbar is clicked on the webpage comment page to trigger the switching instruction.
Specifically, taking the sliding operation as an example, when the user slides the page downwards in the text page of the webpage shown in fig. 3a and displays the comment page of the webpage shown in fig. 3b, on the comment page of the webpage shown in fig. 3b, when the user completes the comment operation in the comment page of the webpage or needs to quit the comment page of the webpage after viewing the comment content, the page is slid upwards in the comment page of the webpage, and then the current page is switched and displayed as the text page of the webpage shown in fig. 3 a. Similar to the above, the sliding operation of the upper, left, right or other modes is used to trigger the application scene entering the web page comment page. Of course, the manner of switching the instruction displayed as the web page body page from the web page comment page triggered by the user is not limited to the above gesture operations, and may also be a user-defined gesture.
Therefore, the user can more smoothly switch between the webpage text page and the webpage comment page, the user can conveniently and quickly enter the webpage comment pages such as news and the like to check comments and perform comment operation, the efficiency of the webpage comment operation is improved, the man-machine interaction of application software and the user activity are improved, and different requirements of the user are met.
Of course, the user may click the text button on the bottom toolbar or the top toolbar on the web page comment page to perform the switching operation, and return to the web page text page. After entering the text page of the webpage, the comment input box automatically disappears.
According to the scheme, when a user browses webpages such as news, a webpage comment instruction triggered by a user side is received on a webpage text page; according to the webpage comment instruction, the webpage comment page is displayed on the display screen of the webpage body page, and the user does not need to click or jump for many times when entering the webpage comment page, so that the user can more smoothly enter the news comment page to check comments and perform comment operation, the user can more smoothly switch between the webpage body page and the webpage comment page, the efficiency of webpage comment operation is improved, the man-machine interaction of application software is improved, the liveness of the user is improved, and different requirements of the user are met.
It should also be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only for the preferred embodiment of the present invention and is not intended to limit the scope of the present invention, and all equivalent structures or flow transformations made by the present specification and drawings, or applied directly or indirectly to other related arts, are included in the scope of the present invention.

Claims (10)

1. A method for processing a web page, comprising:
responding to a user side operation instruction, and displaying a webpage text page;
receiving a webpage comment instruction triggered by a user side performing sliding operation on the webpage text page;
pulling a webpage comment page from a background server according to the webpage comment instruction;
displaying the webpage comment page in a mode of covering the webpage text page on a display screen of the webpage text page; receiving an instruction of exiting the webpage comment page triggered by sliding operation at a user side at the webpage comment page, and switching to the webpage text page for display;
and automatically displaying a comment input box in a form of a suspension box on the webpage comment page, wherein the comment input box is used for inputting comment content in the comment input box after a user invokes a comment operation at any position on the webpage comment page.
2. The method of claim 1, wherein the receiving a webpage comment instruction triggered by a sliding operation performed by a user on the webpage body page comprises:
and receiving instructions of sliding the user side downwards, upwards, leftwards or rightwards on the webpage text page as the webpage comment instructions.
3. The method of claim 2, further comprising:
receiving a switching instruction triggered by a sliding mode of a user end on the webpage comment page, wherein the sliding direction of the sliding mode is opposite to that of the webpage comment instruction, or receiving a switching instruction triggered by a user end clicking a text button on a bottom toolbar or a top toolbar on the webpage comment page;
and returning and displaying the webpage text page according to the switching instruction.
4. The method of claim 1, further comprising:
and receiving an operation instruction of clicking a comment button on a bottom toolbar or a top toolbar on the webpage text page by a user end as the webpage comment instruction.
5. A web page processing apparatus, comprising:
the text display module is used for responding to the user side operation instruction and displaying the text page of the webpage;
the receiving module is used for receiving a webpage comment instruction triggered by a sliding operation performed on the webpage text page by a user side;
the comment display module is used for pulling a webpage comment page from a background server according to the webpage comment instruction; displaying the webpage comment page in a mode of covering the webpage text page on a display screen of the webpage text page; receiving an instruction of exiting the webpage comment page triggered by sliding operation at a user side at the webpage comment page, and switching to the webpage text page for display; and automatically displaying a comment input box in a form of a suspension box on the webpage comment page, wherein the comment input box is used for inputting comment content in the comment input box after a user invokes a comment operation at any position on the webpage comment page.
6. The apparatus of claim 5,
the receiving module is specifically configured to receive an instruction that a user side slides down, up, left or right on the text page of the webpage as the webpage comment instruction.
7. The apparatus of claim 6,
the text display module is further configured to receive a switching instruction triggered by a sliding mode, in which a sliding direction of the user side is opposite to that of the web page comment instruction, on the web page comment page, or receive a switching instruction triggered by clicking a text button on a bottom toolbar or a top toolbar on the web page comment page by the user side; and returning and displaying the webpage text page according to the switching instruction.
8. The apparatus of claim 5,
the receiving module is further configured to receive an operation instruction of a user clicking a comment button on a bottom toolbar or a top toolbar on the webpage text page as the webpage comment instruction.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the web page processing method according to any one of claims 1 to 4.
10. A terminal, comprising: a memory and a processor; wherein the content of the first and second substances,
the memory is used for storing programs;
the processor is configured to execute the program stored in the memory to implement the steps of the web page processing method according to any one of claims 1 to 4.
CN201410475278.4A 2014-09-17 2014-09-17 Webpage processing method and device Active CN105488051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410475278.4A CN105488051B (en) 2014-09-17 2014-09-17 Webpage processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410475278.4A CN105488051B (en) 2014-09-17 2014-09-17 Webpage processing method and device

Publications (2)

Publication Number Publication Date
CN105488051A CN105488051A (en) 2016-04-13
CN105488051B true CN105488051B (en) 2020-12-25

Family

ID=55675032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410475278.4A Active CN105488051B (en) 2014-09-17 2014-09-17 Webpage processing method and device

Country Status (1)

Country Link
CN (1) CN105488051B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955593B (en) * 2016-05-03 2020-06-09 网易(杭州)网络有限公司 Method and device for presenting discussion information
CN105975167B (en) * 2016-05-27 2020-06-02 上海呵呵呵文化传播有限公司 Page comment control method and device
CN106997269A (en) * 2017-04-07 2017-08-01 福建中金在线信息科技有限公司 A kind of articles page exchange method and device
CN110781425B (en) * 2019-10-25 2022-09-20 北京创鑫旅程网络技术有限公司 Display method, device and equipment of mobile terminal H5 page and storage medium
CN112836154B (en) * 2019-11-25 2022-12-27 上海哔哩哔哩科技有限公司 Page display method and device and computer equipment
CN111626021B (en) * 2020-04-20 2022-08-12 腾讯科技(深圳)有限公司 Presentation generation method and device
CN113556614B (en) * 2021-07-16 2023-10-31 北京达佳互联信息技术有限公司 Information release method and device and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8564544B2 (en) * 2006-09-06 2013-10-22 Apple Inc. Touch screen device, method, and graphical user interface for customizing display of content category icons
CN101458710A (en) * 2008-12-25 2009-06-17 腾讯科技(深圳)有限公司 Method and device for displaying website comment
CN102147803B (en) * 2011-01-26 2012-08-01 深圳市汇深网信息科技有限公司 Method for driving micro-blog information
CN102737053B (en) * 2011-04-12 2015-12-16 腾讯科技(深圳)有限公司 The method and system of browsed web content
CN103809896B (en) * 2012-11-15 2018-11-09 腾讯科技(深圳)有限公司 A kind of page switching method and device
CN102968487B (en) * 2012-11-26 2017-04-05 北京奇虎科技有限公司 A kind of browser for realizing web page content review, server and method

Also Published As

Publication number Publication date
CN105488051A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
CN105488051B (en) Webpage processing method and device
US9384503B2 (en) Terminal apparatus, advertisement display control apparatus, and advertisement display method
CN102831155B (en) A kind of micro image display packing of web page tag and device
JP6051338B2 (en) Page rollback control method, page rollback control device, terminal, program, and recording medium
US9672539B2 (en) Advertisement generation apparatus and terminal device
CN106547417B (en) Method and device for displaying background task message
US20110252302A1 (en) Fitting network content onto a reduced-size screen
US10204079B2 (en) Method and apparatus for displaying an extended function information area
CN103593116A (en) Method and device for displaying and controlling portable terminal toolbar
KR20080040035A (en) A method and a device for browsing information feeds
CN104484193A (en) Method and device for rapidly starting application program
CN106293355B (en) Method and device for displaying instant messaging window
CN112988006B (en) Display method, display device, electronic equipment and storage medium
US10852927B2 (en) Browser function bar display method, apparatus, and processing device
CN102831150B (en) Browser and local exchange method, system and the terminal applied
US10757241B2 (en) Method and system for dynamically changing a header space in a graphical user interface
CN107045546B (en) Webpage processing method and device and intelligent terminal
CN110909274B (en) Page browsing method and device and electronic equipment
CN107168549B (en) Input method, display device and computer-readable storage medium
CN108108417B (en) Cross-platform adaptive control interaction method, system, equipment and storage medium
CN105573579A (en) Search bar operation method and terminal
JP6224539B2 (en) Information processing apparatus, information processing method, and program
KR101294458B1 (en) Apparatus and method of inputting text in mobile device
US20140245214A1 (en) Enabling search in a touchscreen device
CN105975167B (en) Page comment control method and device

Legal Events

Date Code Title Description
C06 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