CN112182455A - Page display method and device, electronic equipment and storage medium - Google Patents
Page display method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112182455A CN112182455A CN202011074747.3A CN202011074747A CN112182455A CN 112182455 A CN112182455 A CN 112182455A CN 202011074747 A CN202011074747 A CN 202011074747A CN 112182455 A CN112182455 A CN 112182455A
- Authority
- CN
- China
- Prior art keywords
- work
- page
- works
- refreshed
- client
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 76
- 230000003111 delayed effect Effects 0.000 claims abstract description 157
- 230000004044 response Effects 0.000 claims description 16
- 230000000694 effects Effects 0.000 description 24
- 238000010586 diagram Methods 0.000 description 17
- 238000012545 processing Methods 0.000 description 15
- 230000008569 process Effects 0.000 description 14
- 238000004891 communication Methods 0.000 description 10
- 238000012790 confirmation Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000003825 pressing Methods 0.000 description 4
- 238000012552 review Methods 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000008719 thickening Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000008034 disappearance Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The disclosure relates to a page display method, a page display device, an electronic device and a storage medium, wherein the method comprises the following steps: responding to a refreshing operation carried out by a user account aiming at an original page, and determining a target work set, wherein the target work set comprises a first work added with a delayed viewing identification; and displaying the works in the target work set in the refreshed page. By adding the delayed viewing mark for the alternative works to mark the alternative works as the first work, the first work can be always displayed in a page even if a user carries out refreshing operation, so that the user account can directly view the first work, and the work viewing operation of the user is simplified.
Description
Technical Field
The present disclosure relates to the field of content display, and in particular, to a page display method and apparatus, an electronic device, and a storage medium.
Background
At the present stage, the content providing platform usually displays the works in the platform to the user in the work display page of the client, and the user can refresh the works displayed on the work display page through refresh operation.
When a user views a work presentation page, there may be certain works that the user is interested in but are currently inconvenient to view. In the related art, the user may add the part of the work to a preset list of works, and view the part of the work through the list when convenient. However, the above operation process causes the operation steps to be cumbersome and inconvenient for the user.
Disclosure of Invention
The disclosure provides a page display method, a page display device, electronic equipment and a storage medium, so as to at least solve the technical problem of complicated operation steps in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a page display method is provided, including:
responding to a refreshing operation carried out by a user account aiming at an original page, and determining a target work set, wherein the target work set comprises a first work added with a delayed viewing identification;
and displaying the works in the target work set in the refreshed page.
Optionally, the first work is determined by:
under the condition that delayed viewing operation carried out by the user account aiming at least one alternative work in the original page is detected, adding the delayed viewing identification to the at least one alternative work to determine the at least one alternative work as the first work.
Optionally, the method further includes:
and displaying a delayed viewing mark in the original page and/or the refreshed page in association with the first work so as to distinguish the first work from other works in the page.
Optionally, the determining the target work set includes:
and under the condition that the original page only contains the first work, determining a set formed by all the first works contained in the original page as the target work set.
Optionally, the target work set further includes:
a second work to which the deferred view identification is not added.
Optionally, the determining the target work set includes:
and under the condition that the original page contains the works which are not added with the delayed viewing marks, obtaining refreshing works from a server, and determining a work set formed by the refreshing works and all the first works contained in the original page as the target work set.
Optionally, the second work includes a refreshed work obtained from a server, the refreshed work having no added delayed viewing identifier, wherein,
in the case where a work to which the delayed view flag is not added is included in the original page, the number of the refreshed works is not less than the number of works to which the delayed view flag is not added in the original page; and/or the presence of a gas in the gas,
and under the condition that the upper limit of the number of the refreshing works corresponding to the refreshing operation is preset, the number of the refreshing works is not more than the upper limit of the number.
Optionally, the displaying the works in the target work set in the refreshed page includes:
displaying the first work in a first area contained in the refreshed page;
the second work is shown in a second area of the refreshed page distinct from the first area.
Optionally, the first area is a continuous display area, the target work set includes a plurality of the first works, and the displaying of the first works in the first area included in the refreshed page includes:
determining the display sequence of each first work in the original page;
and displaying each first work in the first area according to the display sequence.
Optionally, the method further includes:
and under the condition that the delayed viewing cancellation operation sent by the user account aiming at the first work is detected, deleting the delayed viewing identifier added for the first work or deleting the first work from the current page.
Optionally, the first work has a preset upper limit of refresh times, and the method further includes:
and deleting the delayed viewing identifier added for the first work or deleting the first work from the current page under the condition that the number of the refreshing operations exceeds the refreshing number upper limit.
Optionally, the method further includes:
and adding the first work deleted from the delayed viewing identification and/or the first work deleted from the current page to a preset delayed viewing list.
Optionally, the method further includes:
and if the detail page of the first work is detected to be in an open state, deleting the delayed viewing identifier added for the first work or deleting the first work from the current page after the detail page is closed.
According to a second aspect of the embodiments of the present disclosure, a page display method is provided, including:
receiving a work acquisition request from a client, wherein the work acquisition request is sent by the client in response to a refresh operation carried out by a user account aiming at an original page, and the original page comprises a first work added with a delayed viewing identifier;
returning the refreshed works without the delayed viewing identification to the client so that the first works and the refreshed works are displayed in a refreshed page by the client.
Optionally, the method further includes:
extracting the requested number of the works contained in the request for obtaining the works, and determining the refreshed works according to the requested number of the works; wherein the number of the work requests is not less than the number of works which are not added with the delayed viewing identification in the original page.
Optionally, the method further includes:
and under the condition that the refreshing operation has a preset number upper limit corresponding to the refreshing works, determining the refreshing works according to the preset number upper limit, so that the number of the refreshing works is not greater than the preset number upper limit.
Optionally, the determining the refreshed work includes:
obtaining the preference attribute of the works of the user account, and determining the works matched with the preference attribute of the works from a works library to be used as the refreshing works; or,
and calling a preset work recommendation service to obtain a recommended work corresponding to the user account as the refreshing work.
According to a third aspect of the embodiments of the present disclosure, a page displaying apparatus is provided, including:
the set determining module is configured to determine a target work set in response to a refreshing operation carried out by a user account on an original page, wherein the target work set comprises a first work added with a delayed viewing identifier;
and the work display module is configured to display the works in the target work set in the refreshed page.
Optionally, the set determining module is further configured to:
under the condition that delayed viewing operation carried out by the user account aiming at least one alternative work in the original page is detected, adding the delayed viewing identification to the at least one alternative work to determine the at least one alternative work as the first work.
Optionally, the method further includes:
and the mark display module is configured to display a delayed viewing mark in association with the first work in the original page and/or the refreshed page so as to enable the first work to be different from other works in the page.
Optionally, the set determining module is further configured to:
and under the condition that the original page only contains the first work, determining a set formed by all the first works contained in the original page as the target work set.
Optionally, the target work set further includes:
a second work to which the deferred view identification is not added.
Optionally, the set determining module is further configured to:
and under the condition that the original page contains the works which are not added with the delayed viewing marks, obtaining refreshing works from a server, and determining a work set formed by the refreshing works and all the first works contained in the original page as the target work set.
Optionally, the second work includes a refreshed work obtained from a server, the refreshed work having no added delayed viewing identifier, wherein,
in the case where a work to which the delayed view flag is not added is included in the original page, the number of the refreshed works is not less than the number of works to which the delayed view flag is not added in the original page; and/or the presence of a gas in the gas,
and under the condition that the upper limit of the number of the refreshing works corresponding to the refreshing operation is preset, the number of the refreshing works is not more than the upper limit of the number.
Optionally, the work presentation module is further configured to:
displaying the first work in a first area contained in the refreshed page;
the second work is shown in a second area of the refreshed page distinct from the first area.
Optionally, the first area is a continuous display area, and the target work set includes a plurality of the first works, the work display module is further configured to:
determining the display sequence of each first work in the original page;
and displaying each first work in the first area according to the display sequence.
Optionally, the method further includes:
the first deletion module is configured to delete the delayed viewing identifier added to the first work or delete the first work from a current page when a delayed viewing cancellation operation issued by the user account for the first work is detected.
Optionally, the first work has a preset upper limit of refresh times, and the apparatus further includes:
a second deleting module configured to delete the delayed viewing flag added to the first work or delete the first work from a current page, in a case where the number of times of the refresh operation exceeds the refresh number upper limit.
Optionally, the method further includes:
a list adding module configured to add the first work deleted from the delayed viewing identifier and/or the first work deleted from the current page to a preset delayed viewing list.
Optionally, the method further includes:
a third deleting module configured to delete the delayed viewing identifier added to the first work or delete the first work from a current page after the detail page is closed if it is detected that the detail page of the first work is in an open state.
According to a fourth aspect of the embodiments of the present disclosure, a page displaying apparatus is provided, including:
a request receiving module configured to receive a work acquisition request from a client, the work acquisition request being sent by the client in response to a refresh operation performed by a user account with respect to an original page, the original page including a first work to which a delayed viewing identifier is added;
a work returning module configured to return the refreshed work to which the delayed viewing identifier is not added to the client, so that the client displays the first work and the refreshed work in a refreshed page.
Optionally, the method further includes:
a first determining module configured to extract the number of the requested works included in the request for obtaining the works, and determine the refreshed works according to the number of the requested works; wherein the number of the work requests is not less than the number of works which are not added with the delayed viewing identification in the original page.
Optionally, the apparatus further comprises:
a second determining module configured to determine the refreshed works according to a preset number upper limit when the preset number upper limit corresponding to the refreshed works exists in the refreshing operation, so that the number of the refreshed works is not greater than the preset number upper limit.
Optionally, the first determining module and the first determining module are further configured to:
obtaining the preference attribute of the works of the user account, and determining the works matched with the preference attribute of the works from a works library to be used as the refreshing works; or,
and calling a preset work recommendation service to obtain a recommended work corresponding to the user account as the refreshing work.
According to a fifth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page presentation method according to any of the embodiments of the first or second aspect.
According to a sixth aspect of the embodiments of the present disclosure, a storage medium is provided, where instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the page display method according to any one of the first aspect or the second aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the embodiment of the disclosure, after the user account (which can be understood as a user) adds the delayed viewing identifier to the work in the original page so as to convert the work into the first work, even if the refreshing operation is implemented on the original page, the first work is still displayed in the refreshed page and does not disappear along with the refreshing, so that the display effect of keeping the first work in the work display page by adding the delayed viewing identifier is realized, and the user can view the first work conveniently. Therefore, according to the scheme, the first work is not required to be added to the preset list by the user, the first work can be guaranteed to be always displayed in the work display page (including the original page and the refreshed page), the user is not required to go in and out of the preset list, the operation flow corresponding to the delayed viewing operation of the user is effectively simplified, and the user experience is effectively improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a schematic structural diagram illustrating a content providing platform according to an embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating a page presentation method according to an embodiment of the present disclosure;
FIG. 3 is a flow diagram illustrating another page presentation method according to an embodiment of the present disclosure;
FIG. 4 is a flow diagram illustrating yet another page presentation method according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram illustrating a presentation effect of an original page according to an embodiment of the disclosure;
FIG. 6 is a schematic diagram illustrating a later review setup process in an original page according to an embodiment of the present disclosure;
FIG. 7 is a diagram illustrating a setting effect for later review in an original page according to an embodiment of the present disclosure;
FIG. 8 is a schematic diagram illustrating a post-refresh page presentation effect according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram illustrating another post-refresh page presentation effect according to an embodiment of the present disclosure;
FIG. 10 is a schematic diagram illustrating a later review cancellation effect according to an embodiment of the present disclosure;
FIG. 11 is a block diagram illustrating a page presentation apparatus according to an embodiment of the present disclosure;
FIG. 12 is a block diagram of another page presentation apparatus shown in accordance with an embodiment of the present disclosure;
fig. 13 is a block diagram illustrating an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
At the present stage, the content providing platform usually displays the works in the platform to the user in the work display page of the client, and the user can refresh the works displayed on the work display page through refresh operation.
When a user views a work presentation page, there may be certain works that the user is interested in but are currently inconvenient to view. In the related art, in order to avoid that the part of the work disappears from the work display page due to the refresh operation, a user can add the part of the work into a preset delayed viewing list and enter a corresponding display page to view the added work through the list when convenient, so that the delayed viewing of the part of the work is realized. However, after a certain work is added to the delayed viewing list, the user needs to enter the delayed viewing list from the current work display page by implementing corresponding operations, and can view the work by entering the corresponding display page through the list, so that the operation is complicated and tedious, and the user experience is affected.
Therefore, the present disclosure provides a page display method and device to solve the above technical problems in the related art. According to the scheme, after the original page is refreshed through the user account, the target work set which is added with the first work with the delayed viewing identification is determined to be contained, and the first work is displayed in the refreshed page, so that the first work is guaranteed to be displayed in the work display page all the time and not disappear along with refreshing operation of the user, namely the first work is kept to be displayed in the work display page all the time, and convenience and quickness in viewing of the first work by the user are facilitated.
The structure of the content providing platform corresponding to the present disclosure is described with reference to the schematic structure diagram of the content providing platform shown in fig. 1. As shown in fig. 1, the system may include a network 10, a server 11, a number of electronic devices such as a cell phone 12, a cell phone 14, and so on.
The server 11 may be a physical server comprising a separate host, or the server 11 may be a virtual server carried by a cluster of hosts. During the operation, the server 11 may operate a server-side program of an application to implement a related service function of the application, for example, when the server 11 operates a program of a content providing platform, the server may be implemented as a server of the content providing platform. In the technical solution of one or more embodiments of the present specification, the server 11 may cooperate with the clients running on the mobile phones 12 to 14 to implement a page providing and displaying solution including works.
In this embodiment, the content providing platform may not only implement a content providing function, but also be an integrated functional platform with many other functions, such as adding a delayed view identifier, detecting a refresh operation, judging a product identifier, counting the number of products, determining a target product set, and displaying the product, which is not limited in one or more embodiments of the present specification.
Handsets 12-14 are just one type of electronic device that a user may use. In fact, it is obvious that the user can also use electronic devices of the type such as: tablet devices, notebook computers, desktop computers, palmtop computers (PDAs), wearable devices (e.g., smart glasses, smart watches, etc.), etc., which are not limited by one or more embodiments of the present disclosure. In the operation process, the electronic device may operate a program on a client side of an application to implement relevant service functions of the application, for example, when the electronic device operates a program of a content providing platform, the electronic device may be implemented as a client of the content providing platform, for example, the mobile phone 12 may be implemented as a client of a work provider, the mobile phone 13 and the mobile phone 14 may be implemented as clients of a work presenter, for example, in a case where the content providing platform is a video interaction platform, the work provider may be a publisher or an uploader (e.g., an UP main) of a video, and the work presenter may be a viewer or a broadcaster (e.g., a viewer) of the video. In fact, the works can be obtained from the server and displayed no matter the client of the work provider or the client of the work presenter, that is, the disclosure does not limit other functions implemented by the client.
It should be noted that: an application program of a client of a content providing platform may be pre-installed on an electronic device so that the client may be started and run on the electronic device; of course, when an online "client" such as HTML5 technology is employed, the client can be obtained and run without installing a corresponding application on the electronic device.
And the network 10 for interaction between the handsets 12-14 and the server 11 may include various types of wired or wireless networks.
FIG. 2 is a flowchart illustrating a page presentation method according to an embodiment of the present disclosure; as shown in fig. 1, the method applied to a client, such as the presentation client for presenting works, may include:
In this embodiment, a user account is registered on the client. Before the user account carries out refreshing operation, the client displays an original page, and the work displayed in the original page can be determined as a first work by the user account by adding a delayed viewing identifier. The page may further include a second work, i.e. a work to which the delayed view identifier is not added, i.e. not all of the works shown in the original page are added with the delayed view identifier. It can be understood that any work (new work displayed after previous refreshing) displayed in the original page is not added with the delayed viewing identifier by default, that is, any refreshed work is defaulted to be the second work, and after the user account performs identifier addition operation on the work, the delayed viewing identifier is added to the work, so that the work is converted into the first work. Under the condition that the first work or the first work and the second work are displayed in the original page, in response to a refresh operation implemented by a user account for the original page, the original page displayed by the client is updated to a refreshed page, and correspondingly, a target work set displayed on the refreshed page comprises the first work and possibly a refreshed work obtained by the client from the server in response to the refresh operation.
In an embodiment, the user account may implement a delayed viewing operation on at least one candidate work in the original page, so that, when the operation is detected, the client may add a delayed viewing identifier to the at least one candidate work, so as to determine the at least one candidate work as the first work. By detecting the delayed viewing operation of the user account, the determined first work is set by the user account, so that the determined first work better accords with the setting will of the user account, and further reflects the viewing will of the user on the displayed work in the original page, namely, the work added with the delayed viewing identification corresponding to the delayed viewing operation can be the work which is interesting to the user account and is not convenient to view at present. After the delayed viewing operation is detected, the client may display an operation reminding message above any optional work corresponding to the operation or above the original page, and after receiving a confirmation operation of the user account for the reminding message, determine any optional work as the first work, so that the operation is further determined by the user account, and delayed viewing of the work caused by misoperation is avoided.
Furthermore, in order to effectively distinguish the first work added with the delayed viewing identification from other works in the display page of the work where the first work is located, the delayed viewing mark can be displayed in the original page and/or the refreshed page in association with the first work, so that the first work is distinguished from other works in the page where the first work is located. The deferred viewing flag may take many forms, and the present disclosure is not limited thereto. For example, the border of the work display area of the first work may be subjected to special effect processing such as thickening and uniform display of special colors, while other works in the same page are not only subjected to the processing; a preset special mark, such as a reminding mark with reminding words such as 'look after later' or 'look behind' can also be displayed at a preset position of the first work; and a filter can be added for the first work, and display effects such as uniform display colors and the like can be set, so that the user account can effectively distinguish the first work from other works in the work display page.
After detecting the above-mentioned delayed viewing operation performed by the user account, the client may determine the target work set in response to the operation. The target work set may include the work ID of each work, and may also include the specific work content of each work. The set of target works may be determined in different ways depending on whether the second work is present.
In an embodiment, the original page of the client may only contain the first work, that is, it indicates that all the works in the original page are added with the delayed viewing identifier, and at this time, the client may determine the set of all the first works contained in the original page as the target work set. Correspondingly, after the target work set is determined, even if a user carries out refreshing operation, all works in the original page are still displayed in the refreshed page, namely the works displayed in the original page before refreshing and the refreshed page after refreshing are completely the same.
In an embodiment, the target work set determined by the client may include a second work (actually different from the second work in the original page) to which the delayed viewing identification is not added, in addition to the first work. Further, in the case that the original page includes a work to which the deferred viewing flag is not added, the client may obtain the refreshed work from the server, and determine a work set formed by the obtained refreshed work and all the first works included in the original page as a target work set. Because the target work set contains the refreshing works, the works displayed in the refreshed page include two types: the method comprises the steps that a first work with a delayed viewing identifier is added in an original page, and a refreshing work obtained from a server in response to a refreshing operation is displayed in the refreshed work, so that a continuous display effect (disappearance due to refreshing) of the first work is realized; the refreshed works are used for replacing the second works which are not added with the delayed viewing identification in the original page, so that the updating effect on the parts of the works is realized in the refreshed page. It can be seen that, compared with the original page, the content of the first work displayed in the refreshed page remains unchanged (the position and the style may be changed), and the refreshed work realizes the updating effect on the second work in the original page, that is, the effect is similar to the local refreshing of all the works in the original page (only the second work in the original page is refreshed correspondingly).
In one embodiment, the number of refreshed works is not a fixed number. As an exemplary embodiment, in the case where a work to which no delayed view flag is added is included in the original page, the number of refreshed works may be not less than the number of works to which no delayed view flag is added in the original page. The refreshing works which are not less than the number of the second works in the original page are obtained from the server, so that all the second works in the original page are replaced by the refreshing works, refreshing of all the second works is realized, and the refreshing effect is guaranteed. As another exemplary embodiment, in a case where there is a preset upper limit of the number of refresh works corresponding to the refresh operation, the number of refresh works may not be greater than the upper limit of the number. The upper limit of the number can be preset by the server, or can be preset by the client according to the setting operation of the user account. By presetting the upper limit of the number, the refreshing works returned by the server side after each refreshing operation are ensured not to exceed the preset number to cause network congestion or too low refreshing response speed, so that the refreshing operation implemented by the user account is responded efficiently. Of course, the number of the refreshed works may also satisfy the above two conditions at the same time, that is, under the condition that the original page includes the second work and the upper limit of the number of the refreshed works corresponding to the refresh operation is preset, the number of the refreshed works that the client can obtain from the server may be between the number of the second works and the upper limit of the number. Further, the client can guarantee the number of the refreshed works in a mode of carrying the number of the work requests in the work acquisition request.
And step 204, displaying the works in the target work set in the refreshed page.
In an embodiment, the refreshed page may include a first area and a second area different from the first area, and at this time, the first work in the target work set may be displayed in the first area, and the refreshed work in the target work set may be displayed in the second area. The refreshed page is divided into the first area and the second area, and the first work and the refreshed work are displayed in the first area and the second area respectively, so that the effective distinction of the first work and the refreshed work in the second area is facilitated. Actually, the first area and the second area may be distinguished by using different display parameters such as a border color and a frame thickness. In addition, the target work set may also include only the first work without the refreshed work, and at this time, only the first area exists in the refreshed page, and further, the first work in the target work set may be shown only in the first area.
Further, the first area may be a continuous display area, and at this time, the display order of the first works in the original page may be determined first, and then the first works may be displayed in the first area according to the display order. The first works in the refreshed page are displayed in the same area in a centralized manner, so that the further realization of the distinction between the first works and the refreshed works is facilitated; moreover, the first works in the first area are displayed according to the same display sequence as that of the original works, namely the display sequence among the works is kept, display confusion caused by page refreshing is avoided, and the method is beneficial for a user account to quickly and accurately view any first work in a refreshed page. Of course, the sequence of the first works set as the first works by the alternative works may be determined first, and then the first works are sequentially displayed in the first area according to the sequence, so that the user account can conveniently view each first work according to the set time. For example, a first work arranged first is displayed above the first area, and a first work arranged later is displayed below the first area; of course, the first work set first may be displayed below the first area, the first work set later may be displayed above the first area, and the like, which is not limited by the present disclosure.
In an embodiment, the user account can cancel the delayed viewing setting of any first work at any time, namely, delete the delayed viewing identifier added to the work, no matter in the original page or the refreshed page. Therefore, the client can delete the delayed view identifier added to the first work or delete the first work from the current page when detecting the delayed view cancel operation issued by the user account for the first work. After the deferred viewing identifier added to the first work is deleted, the first work (which is restored to the first work) can continue to be displayed on the current page, and the deferred viewing flag of the work can be correspondingly cancelled.
In another embodiment, the determination time of the plurality of first works in the same display page may be different, for example, the user account determines the plurality of candidate works as the first works among a plurality of refreshes, and at this time, the number of refreshes passed by the plurality of first works displayed in the refreshed page after the plurality of refreshes is different. Therefore, in order to avoid reduction of display efficiency possibly caused by long-time display of any work in a work display page, a refresh frequency upper limit (such as unified setting of a system or a user account, user-defined setting when the user account determines any first work) can be preset for the first work, correspondingly, the client can carry out refresh frequency statistics and judgment on each first work in an original page corresponding to the operation after the refresh operation is detected every time, and delete the delayed view identifier added for the first work or delete the first work from the current page under the condition that the number of the refresh operation exceeds the refresh frequency upper limit of any first work, so that delayed view setting of the first work is cancelled.
In the above two embodiments, the user account may be inconvenient to refresh a new work due to too many first works displayed in the current page, and even cancel the deferred viewing identifier of deleting the first work due to a misoperation, but the user account may still want to continue viewing the works at a later time, so the first work deleted by the deferred viewing identifier and/or the first work deleted from the current page may be added to a preset deferred viewing list. Correspondingly, the user account can enter the delayed viewing list at any subsequent time to view the works added in the list, so that the delayed viewing of the works by the user account is further ensured. Of course, a cancellation confirmation message may be displayed to the user account when it is detected that the delayed viewing cancellation operation is issued by the user account for the first work or the number of times of the detected refresh operation exceeds the refresh number upper limit of the first work, and a preset confirmation operation performed by the user account for the message is detected as a precondition for deleting the delayed viewing identifier added to the first work or deleting the first work from the current page, so that the cancellation of the first work meets the will of the user account as much as possible, and thus, the misoperation is avoided.
The user account determines the work candidate as the first work by delaying the viewing operation, i.e., in order to view the work at an appropriate time after the determination. Therefore, if the detail page of the first work is detected to be in the open state at any time, after the detail page is subsequently detected to be closed (indicating that the first work is viewed completely), the delayed viewing flag added to the first work can be deleted or the first work can be deleted from the current page, so that the delayed viewing state of the first work is cancelled. Under the condition that the first work is viewed, the purpose of keeping the first work displayed in the page is achieved, at the moment, the delayed viewing identification added for the first work is deleted or the first work is deleted from the current page, and therefore timely recovery and efficient utilization of the display area in the work display page are facilitated.
According to the embodiment of the disclosure, after the user account adds the delayed viewing identifier to the first work in the original page, even if the refreshing operation is implemented on the original page, the first work can still be displayed in the refreshed page and cannot disappear along with the refreshing, so that the display effect of keeping the first work in the work display page by adding the delayed viewing identifier is realized, and the user can view the first work conveniently. Therefore, according to the scheme, the first work is not required to be added to the preset list by the user, the first work can be guaranteed to be always displayed in the work display page (including the original page and the refreshed page), the user is not required to go in and out of the preset list, the operation flow corresponding to the delayed viewing operation of the user is effectively simplified, and the user experience is effectively improved.
FIG. 3 is a flow diagram illustrating another page presentation method according to an embodiment of the present disclosure; as shown in fig. 1, the method is applied to a server and may include:
In an embodiment, the original page of the client may include a second work except the first work without being added with the delayed viewing identifier, so to ensure that all the second works in the original page are refreshed, the client may include the number of the works without being added with the delayed viewing identifier in the original page as the number of the work requests in the work obtaining request, so as to obtain the refreshed works not less than the number of the work requests from the server. Correspondingly, the server side can extract the number of the works request contained in the works acquisition request after receiving the works acquisition request from the client side, determine the number of the refreshed works not less than the number according to the number of the works request, and then return the determined refreshed works to the client side for display.
In an embodiment, in a case that a preset number upper limit corresponding to a refreshed work exists in the refresh operation, the server may determine the refreshed work according to the preset number upper limit, so that the determined number of the refreshed works is not greater than the preset number upper limit. The number upper limit can be preset by the server, or can be preset by the client according to the setting operation of the user account, and by presetting the number upper limit, the condition that the refresh works returned by the server do not exceed the preset number to cause network congestion or the refresh response speed is too low after each refresh operation is carried out is ensured, and the refresh operation implemented by efficiently responding to the user account is ensured.
Of course, the number of the refresh works may also satisfy the conditions in the two embodiments, that is, under the condition that the original page includes the second work and the upper limit of the number of the refresh works corresponding to the refresh operation is preset, the number of the refresh works returned to the client by the server may be between the number of the second works and the upper limit of the number. In order to ensure the effect, the client can ensure the quantity of the refreshed works in a mode of carrying the number of the work requests in the work acquisition request.
In the two embodiments, in order to ensure that the refreshed works returned to the client better conform to the viewing preference of the user account, the server may obtain the refreshed works in a plurality of ways. As an exemplary embodiment, the server may obtain a work preference attribute of the user account, and determine a work matching the work preference attribute from the work library as a refreshed work. As another exemplary embodiment, in the case that there is a preset work recommendation service, the server may acquire, as a refresh work, a recommended work corresponding to the user account by using the video recommendation service. Certainly, the number of the refreshed works obtained in the above manner can meet the number requirement of the foregoing embodiment, for example, the server may determine the works matched with the preference attribute of the works from the work library according to the number requirement, or obtain the refreshed works according to the number requirement server request, so as to ensure that the refreshed works meeting the number requirement and meeting the viewing preference of the user account are returned to the client, thereby ensuring that the network bandwidth resources are efficiently utilized and better meeting the viewing requirement of the user account.
The specific process of receiving the request for obtaining the works of the client and returning the corresponding refreshed works to the client by the server is implemented by being matched with the client, so the specific implementation process may refer to the content recorded in the embodiment shown in fig. 1, and is not described herein again.
The following describes a specific process of implementing page refreshing and display by the client through the technical solution of the present disclosure with reference to fig. 4 to 9 by taking a work type as a video work as an example. Fig. 4 is a flowchart illustrating a further page display method according to an embodiment of the present disclosure, where the method is applied to a client, and as shown in fig. 4, the method may include:
In this embodiment, a user account is registered on the client. Before the user account carries out refreshing operation, the client displays an original page, and alternative videos displayed in the original page are defaulted to be not added with delayed viewing identifications, namely the alternative videos are all second videos. Referring to a schematic diagram of a display effect of an original page shown in fig. 5, in a case that a user account has not implemented a deferred viewing operation for any alternative video, no deferred viewing identifier is added to a plurality of alternative videos 501 (video 1, video 2, video 8) displayed in the original page.
In the process of viewing the original page, the user account can implement a delayed viewing operation for at least one alternative video which is interested in the original page but is inconvenient to view at the current moment, and correspondingly, the client can detect the delayed viewing operation implemented by the user account. The delayed viewing operation of the user account for the alternative works may be in various forms, for example, the delayed viewing operation may be a preset operation such as long pressing, pressing and sliding up, pressing and sliding down, or may be another way of controlling voice, which is not limited by the present disclosure.
Taking the video 1 shown in fig. 6 as an example, the client may display a delayed viewing switch ("see later" control) shown in fig. 6(a) in association with each display area of the alternative videos, and the user may add a delayed viewing identifier to the corresponding video by implementing a preset triggering operation for the switch. For example, the delayed view switch 601a of the video 1 set by the user account is activated, so that the activated delayed view switch 601a can be used as the delayed view identifier of the video 1. After the user account performs preset operations such as clicking on the delayed view switch 602a of the video 3, a delayed view identifier may be added to the video 3, and the delayed view switch 602a is also set to the activated state shown by the delayed view switch 601 a.
Or, in a case that the client does not show the delayed viewing switch, the user account may also perform a preset delayed viewing operation for any alternative video. As shown in fig. 6(b), after the user account presses the video 1 for a long time, the server may pop up delayed viewing confirmation information 601b on the original page, and display a corresponding confirmation control 602b and a cancellation control 603b in an associated manner, and the user account may complete the delayed viewing operation by triggering the confirmation control 602 b; of course, the cancel control 603 may also be triggered to abort the deferred viewing operation.
And step 404, setting the candidate work corresponding to the delayed viewing operation as the first work.
In an embodiment, after detecting the deferred viewing operation, the client may determine the video corresponding to the deferred viewing operation as the first work, that is, add a deferred viewing identifier to the work, so as to convert the work into the first work. Specifically, the client locally can maintain a delayed viewing state table in which the correspondence between the work ID of the currently displayed work and the work state is recorded, so as to realize efficient management of the work state: after a certain candidate work is set as the first work, a new relation table entry containing the work ID of the work and the delayed viewing state may be added to the delayed viewing state table, or a non-delayed viewing state in the table entry of the work ID of the work existing in the table may be changed to the delayed viewing state. Accordingly, after a certain video as the first work is restored as an alternative work, the relation table entry between the work ID of the video and the delayed viewing state is deleted in the delayed viewing state table, or the delayed viewing state in the entry of the work ID of the video existing in the table is changed to the non-delayed viewing state.
After the first work of the original page is determined, the other works except the first work in the original page are the second work. To effectively distinguish the first work from the second work, a deferred viewing flag associated with the first work may be presented in the original page. The deferred viewing flag may take many forms, and the present disclosure is not limited thereto. As shown in fig. 7, assume that video 1, video 3, and video 6 are determined as the first work: the work display area boundary of the first work may be subjected to special effect processing such as thickening, uniform display of a special color, and the like, while the second work in the same page is not subjected to the above processing, as shown by a first work display area boundary 701a in fig. 7(a), which is shown thickened to be distinguished from a second work display area boundary 702a which is not shown thickened. Alternatively, a predetermined special mark, such as a reminder mark with a reminder word such as "review later" or "delayed view", may be displayed at a predetermined position of the first work, while a second work in the same page does not display the above-mentioned mark, as shown by a reminder mark 701b in fig. 7(b), which is used to distinguish the first work from a second work not displaying the mark. Still alternatively, a first work may be added with a filter, and a uniform display color and other display effects may be set, while a second work in the same page does not display the above processing, for example, a gray filter 701c is added to the first work in fig. 7(c), and the filter is used to distinguish the first work from the second work (e.g., video 2, video 4, video 5, video 7 and video 8) which does not display the mark.
After the first work in the original page is determined to be completed, the refresh operation performed by the user account for the original page may be detected at any time thereafter, that is, the disclosure does not limit the time interval between step 404 and step 406.
In an embodiment, the refresh operation performed by the user account may have various forms, for example, the refresh operation may be performed by pressing and pulling down an original page, or clicking a preset refresh control (not shown in the figure) in the original page, and may also be performed by other forms, which is not described herein again.
At step 408, the first work in the original page is determined.
In an embodiment, after detecting the refresh operation, the client may determine the number of the first works in the current original page, and certainly may also determine information such as the work ID and/or the work content of the first work. It should be noted that the refresh operation performed by the user account may be performed multiple times, and the alternative works displayed in the current page may be determined as the first work between any two refresh operations, so that the number of the first works of the original page determined in this step may be greater than the number of the delayed view operations performed in the current original page. For any refresh operation, the page where the operation is located is the original page, and the new page displayed after responding to the refresh operation is the refreshed page.
In an embodiment, the client may determine a number of second works based on the determined number of first works: the difference between the number S of all the works in the original page and the number M of the first works is the number Q of the second works, that is, Q is S-P (Q is a positive integer, and M and P are both zero or positive integers). The client may also determine the number of the second works by querying the number of works added with the delayed view identifier in the original page: the number of the works added with the delayed viewing identification in the original page is the number Q of the second works.
In the case where the number Q of the second work in the original page is not zero (similar to that shown in fig. 7), go to step 412; otherwise, in the case where the number Q of the second works is zero (similarly to the case where the videos 1 to 8 are all determined as the first work in fig. 7), it proceeds to step 414.
Of course, in the case that the number Q of the second works is zero, the step 414 of obtaining the refreshed works may be also performed, and the present disclosure does not intend to this end
In one embodiment, the client may send a work acquisition request to the server to acquire a refreshed work. As an exemplary embodiment, the work obtaining request may not include the work obtaining amount, and the server directly returns the preset amount of refreshed works to the client after receiving the request. For example, the server may preset a quantity upper limit of the refreshed works corresponding to the refresh operation, or the quantity upper limit may be agreed in advance between the server and the client, or the user account may be set with the quantity upper limit in advance by the client in a user-defined manner. After receiving the works obtaining request, the server can determine the refreshed works which do not exceed the upper limit of the number, and correspondingly return the refreshed works to the client.
As another exemplary embodiment, the client may carry the number Q of the works of the second work in the acquisition request and send the acquisition request to the server, so that the server may determine a corresponding number of refreshed works based on the number Q of the works after receiving the request, and for example, may determine Q refreshed works in order to reduce the occupation of network bandwidth as much as possible while ensuring that all the second works are refreshed; or, in order to ensure the consistency of the data processing operation modes of the return operation, the refresh works of the upper limit of the number may be determined; or, in the case of bad network conditions, the number of the refresh works smaller than Q may also be determined, so as to minimize the network bandwidth occupation caused by the refresh operation. Of course, the client may also specify the number of works to be acquired (the number of requested works) in the request for acquiring works, and accordingly, the server may directly determine the number of refreshed works corresponding to the number of requested works after receiving the request.
In an embodiment, in order to ensure that the refreshed works returned to the client better conform to the viewing preference of the user account, the server may obtain the refreshed works in a plurality of ways. As an exemplary embodiment, the server may obtain a work preference attribute of the user account, and determine a work matching the work preference attribute from the work library as a refreshed work. As another exemplary embodiment, in the presence of a preset work recommendation service, the server may obtain, as a refreshed work, a recommended work corresponding to the user account by using the video recommendation service, where a process of the work recommendation service for determining the recommended work corresponding to the user account (determining the refreshed work to be recommended to the user account) may refer to the content disclosed in the related art, and details are not repeated here. Certainly, the number of the refreshed works obtained in the above manner can meet the number requirement of the foregoing embodiment, for example, the server may determine the works matched with the preference attribute of the works from the work library according to the number requirement, or obtain the refreshed works according to the number requirement server request, so as to ensure that the refreshed works meeting the number requirement and meeting the viewing preference of the user account are returned to the client, thereby ensuring that the network bandwidth resources are efficiently utilized and better meeting the viewing requirement of the user account.
At step 414, a set of target works corresponding to the original page is determined.
Corresponding to the foregoing step 410, in the case that the number Q of the second works in the original page is not zero, determining a work set composed of the first work determined in step 408 and the refreshed work obtained in step 412 as a target work set; otherwise, under the condition that the quantity Q of the second works is zero, determining a work set formed by all first works (namely all works in the original page) of the original page as a target work set.
And step 416, displaying the works in the target work set in the refreshed page.
In this embodiment, after the second work in the original page is replaced with the refreshed work, the formed new work display page is the refreshed page, the first work included in the refreshed page may be displayed in the first area, and correspondingly, the refreshed work may be displayed in the second area.
In an embodiment, under the condition that the number Q of the second works is zero, no matter whether the corresponding refreshed works are obtained from the server, the works displayed in the refreshed page are the first works, obviously, the display effect of the refreshed page is the same as that of the original page at this time, that is, after all the works displayed in the original page are added with the delayed viewing identifier by the user account, even if the user account performs the refresh operation on the original page, the first works are still displayed in the refreshed page.
In another embodiment, when the number Q of the second works is greater than zero, as described above, there may be multiple cases in the refreshed works obtained from the server, and correspondingly, the display effect of the refreshed page is also different. Corresponding to the original page shown in fig. 7(c), the corresponding refreshed page may be as shown in fig. 8, as can be seen from fig. 7(c), the number Q of the second work is 5; in the following description, the number of refreshed works is not written as M. It should be noted that, in this embodiment, the moving sequence of each work in the original page in the refreshing process is "video 8 → video 7 →. → video 1".
When M < Q (M ═ 4), as shown in fig. 8(a), the first works (video 1, video 3, and video 6) are displayed in the first area that is continuous above the refreshed page, because the order of display of the first works in the original page is video 1-video 3-video 6, and therefore the display is still performed in this order in the refreshed page. Since "video 2" in the original page is the second work located at the forefront of the display area, in the case that the number of the refreshed works is smaller than the number of the second works, the video 2 can be displayed at the forefront position (right side of the second row) of the second area in the refreshed page, and correspondingly, the rest positions in the second area sequentially display the refreshed works (video 9 to video 12) acquired from the server. Of course, the display positions of the first area and the second area in the refreshed page may also be in other cases, for example, the display positions of the first works are all kept unchanged relative to the original page (the display areas corresponding to the display positions of the first works together form the first area). In addition, the second work closest to the display area in the original page can be selected to be displayed in the refreshed page, and the description is omitted.
When M ═ Q (M ═ 5), as shown in fig. 8(b), the first work shown in the first area is the same as fig. 8(a), but since the number of refreshed works at this time is exactly equal to the number of second works in the original work, the second work corresponding to the second area is completely replaced with the refreshed works, thereby realizing the complete refreshing of the second work in the original page.
When M ═ Q (M ═ 8), as shown in fig. 8(c), the first work 801c shown in the first area is the same as fig. 8(a), but since the number of refreshed works at this time is larger than the number of second works in the original work, the second work corresponding to the second area is completely replaced with the partial refreshed works (video 9 to video 13)802c, and the remaining works 803c (video 14 to video 16) are not shown in the refreshed page. At this time, the user account may display the non-displayed video (video 14 to video 16) in the mobile second area by performing a sliding operation on the displayed refreshed works (video 9 to video 13) in the refreshed page. In the process, the first works in the first area are always normally displayed and cannot be influenced by the sliding operation, so that the fixed display effect on the first works is realized.
The above embodiments are described with video as an object, and actually, the works of the present disclosure may be in various forms such as articles, music, comments, and the like, and the present disclosure does not limit the specific forms of the works. As shown in fig. 9, in the case that the work is an article, the first work display effect of the original page is as shown in fig. 9(a), and the display effect of the refreshed page is as shown in fig. 9(b) and 9(c), which is not described again.
In an embodiment, in both the original page and the refreshed page, the user account can cancel the delayed viewing state of any first work at any time, that is, delete the delayed viewing identifier of the first work, thereby restoring the work state of the work to the non-delayed viewing state. Therefore, the client can delete the delayed view identifier of the first work or delete the first work from the current page when detecting the delayed view cancel operation issued by the user account for the first work. After the work state of the first work is set to the non-deferred-viewing state, the first work (which has been restored as the alternative work) may continue to be presented on the current page, at which point the deferred-viewing flag presented in association with the work may be cancelled.
In another embodiment, the determination time of the plurality of first works in the same display page may be different, for example, the user account determines the plurality of candidate works as the first works among a plurality of refreshes, and at this time, the number of elapsed refreshes of the plurality of first works displayed in the refreshed page after the plurality of refreshes is different. Therefore, in order to avoid reduction of refresh efficiency possibly caused by long-time display of any work in a work display page, a refresh frequency upper limit can be preset for the first work (such as unified setting of a system or a user account, user-defined setting when the user account determines any first work, and the like).
In the two embodiments, the user account may be inconvenient to refresh new works due to too many first works displayed in the current page, and even delete S of some first works due to misoperation, but the user account may still want to continue to view the works at a later time, so that a delayed viewing identifier may be added to the first works or the first works deleted from the current page may be added to a preset delayed viewing list. Correspondingly, the user account can enter the delayed viewing list at any subsequent time to view the works added in the list, so that the delayed viewing of the works by the user account is further ensured. Of course, a cancellation confirmation message may also be displayed to the user account when it is detected that the delayed viewing cancellation operation is issued by the user account for the first work or the number of times of the detected refresh operation exceeds the refresh number upper limit of the first work, and a preset confirmation operation performed by the user account for the message is detected as a precondition for deleting the delayed viewing identifier of the first work or deleting the first work from the current page, so that the cancellation of the first work meets the will of the user account as much as possible.
The user account determines the work candidate as the first work by delaying the viewing operation, i.e., in order to view the work at an appropriate time after the determination. Therefore, if the detail page of the first work is detected to be in the open state at any time, after the detail page is subsequently detected to be closed (indicating that the first work is viewed completely), a delayed viewing flag may be added to the first work or the first work may be deleted from the current page, so as to cancel the delayed viewing state of the first work. Under the condition that the first work is viewed, the purpose of keeping the first work displayed in the page is achieved, and the delayed viewing state of the first work is cancelled, so that the display area in the work display page can be timely recovered and efficiently utilized.
Taking the original page 7(c) as an example, if the first work video 3 is cancelled, the corresponding display effect can be as shown in fig. 10(a), and the mark for later viewing of the video 3 is directly cancelled; the remaining works may also be reordered and presented (not refreshed) after canceling the later view marker of video 3 as shown in fig. 10 (b); of course, the remaining works may also be reordered after canceling the later viewing flag of the video 3, and then the remaining display area is refreshed to obtain the corresponding refreshed works, and the specific process may refer to the foregoing embodiment and is not described again.
Corresponding to the embodiment of the page display method, the disclosure also provides an embodiment of a page display device.
Fig. 11 is a schematic block diagram illustrating a page presentation apparatus according to an embodiment of the present disclosure. The page display device shown in this embodiment can be applied to a client with a work display function corresponding to a content providing platform, where the client is applied to a terminal, and the terminal includes, but is not limited to, an electronic device such as a mobile phone, a tablet computer, a wearable device, and a personal computer. The client can be an application program installed in the terminal or a webpage version application integrated in the browser, and a user can display works through the client, wherein the displayed works can have multiple forms of videos, articles, music, comments and the like.
As shown in fig. 11, the page presentation apparatus may include:
a set determining module 1101 configured to determine a target work set including a first work to which a delayed viewing identifier is added in response to a refresh operation performed by a user account for an original page;
a work presentation module 1102 configured to present the works in the target work set in the refreshed page.
Optionally, the set determining module 1101 is further configured to:
under the condition that delayed viewing operation carried out by the user account aiming at least one alternative work in the original page is detected, adding the delayed viewing identification to the at least one alternative work to determine the at least one alternative work as the first work.
Optionally, the method further includes:
a mark displaying module 1103 configured to display a delayed viewing mark in association with the first work in the original page and/or the refreshed page, so that the first work is distinguished from other works in the page.
Optionally, the set determining module 1101 is further configured to:
and under the condition that the original page only contains the first work, determining a set formed by all the first works contained in the original page as the target work set.
Optionally, the target work set further includes:
a second work to which the deferred view identification is not added.
Optionally, the set determining module 1101 is further configured to:
and under the condition that the original page contains the works which are not added with the delayed viewing marks, obtaining refreshing works from a server, and determining a work set formed by the refreshing works and all the first works contained in the original page as the target work set.
Optionally, the second work includes a refreshed work obtained from a server, the refreshed work having no added delayed viewing identifier, wherein,
in the case where a work to which the delayed view flag is not added is included in the original page, the number of the refreshed works is not less than the number of works to which the delayed view flag is not added in the original page; and/or the presence of a gas in the gas,
and under the condition that the upper limit of the number of the refreshing works corresponding to the refreshing operation is preset, the number of the refreshing works is not more than the upper limit of the number.
Optionally, the work presentation module 1102 is further configured to:
displaying the first work in a first area contained in the refreshed page;
the second work is shown in a second area of the refreshed page distinct from the first area.
Optionally, the first area is a continuous display area, and the target work set includes a plurality of the first works, the work display module 1102 is further configured to:
determining the display sequence of each first work in the original page;
and displaying each first work in the first area according to the display sequence.
Optionally, the method further includes:
a first deletion module 1104 configured to, in a case where a deferred viewing cancellation operation issued by the user account for the first work is detected, delete the deferred viewing identifier added to the first work or delete the first work from a current page.
Optionally, the first work has a preset upper limit of refresh times, and the apparatus further includes:
a second deleting module 1105 configured to delete the delayed viewing flag added to the first work or delete the first work from the current page if the number of times of the refresh operation exceeds the refresh number upper limit.
Optionally, the method further includes:
a list adding module 1106 configured to add the first work deleted by the delayed viewing identity and/or the first work deleted from the current page to a preset delayed viewing list.
Optionally, the method further includes:
a third deleting module 1107 configured to delete the delayed viewing identifier added for the first work or delete the first work from the current page after the detail page is closed if it is detected that the detail page of the first work is in an open state.
As shown in fig. 12, the page presentation apparatus may include:
a request receiving module 1201 configured to receive a work acquisition request from a client, where the work acquisition request is sent by the client in response to a refresh operation performed by a user account with respect to an original page, where the original page includes a first work to which a deferred view identifier is added;
a work return module 1202 configured to return the refreshed work to which the deferred viewing identifier is not added to the client, so that the client displays the first work and the refreshed work in a refreshed page.
Optionally, the method further includes:
a first determining module 1203, configured to extract the number of requested works included in the work obtaining request, and determine the refreshed works according to the number of requested works; wherein the number of the work requests is not less than the number of works which are not added with the delayed viewing identification in the original page.
Optionally, the apparatus further comprises:
a second determining module 1204, configured to, in a case that there is a preset number upper limit corresponding to the refreshed works in the refresh operation, determine the refreshed works according to the preset number upper limit, so that the number of the refreshed works is not greater than the preset number upper limit.
Optionally, the first determining module 1203 and the first determining module 1204 are further configured to:
obtaining the preference attribute of the works of the user account, and determining the works matched with the preference attribute of the works from a works library to be used as the refreshing works; or,
and calling a preset work recommendation service to obtain a recommended work corresponding to the user account as the refreshing work.
An embodiment of the present disclosure also provides an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page presentation method according to any of the above embodiments.
Embodiments of the present disclosure further provide a storage medium, where when an instruction in the storage medium is executed by a processor of an electronic device, the electronic device is enabled to execute the page display method according to any of the above embodiments.
An embodiment of the present disclosure further provides a computer program product, where the computer program product is configured to execute the page display method in any of the above embodiments.
Fig. 13 is a schematic block diagram illustrating an electronic device in accordance with an embodiment of the present disclosure. For example, the electronic device 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 13, electronic device 1300 may include one or more of the following components: processing component 1302, memory 1304, power component 1306, multimedia component 1308, audio component 1310, input/output (I/O) interface 1312, sensor component 1314, and communication component 1318.
The processing component 1302 generally controls overall operation of the electronic device 1300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the page presentation method described above. Further, the processing component 1302 can include one or more modules that facilitate interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
The memory 1304 is configured to store various types of data to support operation at the electronic device 1300. Examples of such data include instructions for any application or method operating on the electronic device 1300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1306 provides power to the various components of the electronic device 1300. Power components 1306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 1300.
The multimedia component 1308 includes a screen that provides an output interface between the electronic device 1300 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the electronic device 1300 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 1300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1304 or transmitted via the communication component 1318. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1314 includes one or more sensors for providing various aspects of state assessment for the electronic device 1300. For example, the sensor assembly 1314 may detect an open/closed state of the electronic device 1300, the relative positioning of components, such as a display and keypad of the electronic device 1300, the sensor assembly 1314 may also detect a change in the position of the electronic device 1300 or a component of the electronic device 1300, the presence or absence of user contact with the electronic device 1300, orientation or acceleration/deceleration of the electronic device 1300, and a change in the temperature of the electronic device 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1318 is configured to facilitate communications between the electronic device 1300 and other devices in a wired or wireless manner. The electronic device 1300 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 1318 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1318 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an embodiment of the present disclosure, the electronic device 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-mentioned page showing method.
In an embodiment of the present disclosure, there is also provided a non-transitory computer readable storage medium, such as the memory 1304, comprising instructions executable by the processor 1320 of the electronic device 1300 to perform the page display method described above. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
It is noted that, in the present disclosure, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. 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 identical elements in a process, method, article, or apparatus that comprises the element.
The method and apparatus provided by the embodiments of the present disclosure are described in detail above, and the principles and embodiments of the present disclosure are explained herein by applying specific examples, and the above description of the embodiments is only used to help understanding the method and core ideas of the present disclosure; meanwhile, for a person skilled in the art, based on the idea of the present disclosure, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present disclosure should not be construed as a limitation to the present disclosure.
Claims (10)
1. A page display method is characterized by comprising the following steps:
responding to a refreshing operation carried out by a user account aiming at an original page, and determining a target work set, wherein the target work set comprises a first work added with a delayed viewing identification;
and displaying the works in the target work set in the refreshed page.
2. The method of claim 1, wherein the first work is determined by:
under the condition that delayed viewing operation carried out by the user account aiming at least one alternative work in the original page is detected, adding the delayed viewing identification to the at least one alternative work to determine the at least one alternative work as the first work.
3. The method of claim 1, further comprising:
and displaying a delayed viewing mark in the original page and/or the refreshed page in association with the first work so as to distinguish the first work from other works in the page.
4. The method of claim 1, wherein the determining a target work set comprises:
and under the condition that the original page only contains the first work, determining a set formed by all the first works contained in the original page as the target work set.
5. The method of claim 1, wherein the set of target works further comprises:
a second work to which the deferred view identification is not added.
6. A page display method is characterized by comprising the following steps:
receiving a work acquisition request from a client, wherein the work acquisition request is sent by the client in response to a refresh operation carried out by a user account aiming at an original page, and the original page comprises a first work added with a delayed viewing identifier;
returning the refreshed works without the delayed viewing identification to the client so that the first works and the refreshed works are displayed in a refreshed page by the client.
7. A page display apparatus, comprising:
the set determining module is configured to determine a target work set in response to a refreshing operation carried out by a user account on an original page, wherein the target work set comprises a first work added with a delayed viewing identifier;
and the work display module is configured to display the works in the target work set in the refreshed page.
8. A page display apparatus, comprising:
a request receiving module configured to receive a work acquisition request from a client, the work acquisition request being sent by the client in response to a refresh operation performed by a user account with respect to an original page, the original page including a first work to which a delayed viewing identifier is added;
a work returning module configured to return the refreshed work to which the delayed viewing identifier is not added to the client, so that the client displays the first work and the refreshed work in a refreshed page.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page presentation method of any one of claims 1 to 6.
10. A computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the page presentation method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011074747.3A CN112182455B (en) | 2020-10-09 | 2020-10-09 | Page display method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011074747.3A CN112182455B (en) | 2020-10-09 | 2020-10-09 | Page display method, device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112182455A true CN112182455A (en) | 2021-01-05 |
CN112182455B CN112182455B (en) | 2024-01-26 |
Family
ID=73949189
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011074747.3A Active CN112182455B (en) | 2020-10-09 | 2020-10-09 | Page display method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112182455B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101067812A (en) * | 2006-12-21 | 2007-11-07 | 腾讯科技(深圳)有限公司 | Method and system for holding page current data information |
CN102461165A (en) * | 2009-06-24 | 2012-05-16 | 德耳塔维德约股份有限公司 | System and method for an active video electronic programming guide |
CN104813256A (en) * | 2012-10-11 | 2015-07-29 | 谷歌公司 | Gathering and organizing content distributed via social media |
CN106708930A (en) * | 2016-11-17 | 2017-05-24 | 北京小米移动软件有限公司 | Application page refreshing method and application page refreshing device |
CN106998481A (en) * | 2017-03-28 | 2017-08-01 | 武汉斗鱼网络科技有限公司 | A kind of method and system that direct broadcasting room position is fixed in direct broadcasting room original list |
CN108022144A (en) * | 2016-10-31 | 2018-05-11 | 阿里巴巴集团控股有限公司 | The method and device of data object information is provided |
CN108063983A (en) * | 2017-12-14 | 2018-05-22 | 广州虎牙信息科技有限公司 | The methods of exhibiting and terminal device of label is broadcast live |
CN108235091A (en) * | 2018-01-25 | 2018-06-29 | 青岛海信电器股份有限公司 | Smart television and the method that upper content is applied based on access homepage in display equipment |
CN108920693A (en) * | 2018-07-13 | 2018-11-30 | 北京微播视界科技有限公司 | A kind of methods of exhibiting of personal homepage, device, terminal device and storage medium |
CN110209952A (en) * | 2018-12-18 | 2019-09-06 | 腾讯科技(深圳)有限公司 | Information recommendation method, device, equipment and storage medium |
CN111510760A (en) * | 2020-04-13 | 2020-08-07 | 北京字节跳动网络技术有限公司 | Video information display method and device, storage medium and electronic equipment |
-
2020
- 2020-10-09 CN CN202011074747.3A patent/CN112182455B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101067812A (en) * | 2006-12-21 | 2007-11-07 | 腾讯科技(深圳)有限公司 | Method and system for holding page current data information |
CN102461165A (en) * | 2009-06-24 | 2012-05-16 | 德耳塔维德约股份有限公司 | System and method for an active video electronic programming guide |
CN104813256A (en) * | 2012-10-11 | 2015-07-29 | 谷歌公司 | Gathering and organizing content distributed via social media |
CN108022144A (en) * | 2016-10-31 | 2018-05-11 | 阿里巴巴集团控股有限公司 | The method and device of data object information is provided |
CN106708930A (en) * | 2016-11-17 | 2017-05-24 | 北京小米移动软件有限公司 | Application page refreshing method and application page refreshing device |
CN106998481A (en) * | 2017-03-28 | 2017-08-01 | 武汉斗鱼网络科技有限公司 | A kind of method and system that direct broadcasting room position is fixed in direct broadcasting room original list |
CN108063983A (en) * | 2017-12-14 | 2018-05-22 | 广州虎牙信息科技有限公司 | The methods of exhibiting and terminal device of label is broadcast live |
CN108235091A (en) * | 2018-01-25 | 2018-06-29 | 青岛海信电器股份有限公司 | Smart television and the method that upper content is applied based on access homepage in display equipment |
CN108920693A (en) * | 2018-07-13 | 2018-11-30 | 北京微播视界科技有限公司 | A kind of methods of exhibiting of personal homepage, device, terminal device and storage medium |
WO2020010816A1 (en) * | 2018-07-13 | 2020-01-16 | 北京微播视界科技有限公司 | Personal homepage presentation method and apparatus, terminal device, and storage medium |
CN110209952A (en) * | 2018-12-18 | 2019-09-06 | 腾讯科技(深圳)有限公司 | Information recommendation method, device, equipment and storage medium |
CN111510760A (en) * | 2020-04-13 | 2020-08-07 | 北京字节跳动网络技术有限公司 | Video information display method and device, storage medium and electronic equipment |
Non-Patent Citations (1)
Title |
---|
苏谈彬: "稍后再看是不是b站最鸡肋的功能", 《知乎》, pages 1 * |
Also Published As
Publication number | Publication date |
---|---|
CN112182455B (en) | 2024-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180341532A1 (en) | Method, terminal device, and computer-readable storage medium for collecting information resources | |
CN111783001A (en) | Page display method and device, electronic equipment and storage medium | |
CN112039929B (en) | File editing method and device and electronic equipment | |
CN108804179B (en) | Method, device, terminal and storage medium for displaying notification bar message | |
CN112765375B (en) | Method and device for displaying multimedia resource information, electronic equipment and storage medium | |
CN110737844B (en) | Data recommendation method and device, terminal equipment and storage medium | |
CN113259226B (en) | Information synchronization method and device, electronic equipment and storage medium | |
CN113157366A (en) | Animation playing method and device, electronic equipment and storage medium | |
CN111857897A (en) | Information display method and device and storage medium | |
US20210165820A1 (en) | Method and apparatus for recalling image file, control method and apparatus for recalling image file, and mobile terminal | |
CN106095405B (en) | Icon updating method and device | |
CN113727200A (en) | Video abstract information determination method and device, electronic equipment and storage medium | |
CN111367447A (en) | Information display method and device, electronic equipment and computer readable storage medium | |
CN107402767B (en) | Method and device for displaying push message | |
CN113986574A (en) | Comment content generation method and device, electronic equipment and storage medium | |
CN113988021A (en) | Content interaction method and device, electronic equipment and storage medium | |
CN113905192A (en) | Subtitle editing method and device, electronic equipment and storage medium | |
CN108874172B (en) | Input method and device | |
CN112182455B (en) | Page display method, device, electronic equipment and storage medium | |
CN110769282A (en) | Short video generation method, terminal and server | |
CN111049732B (en) | Push message display method and device, electronic equipment and medium | |
CN114138413A (en) | Icon display method and device, electronic equipment and storage medium | |
CN114239531A (en) | Template recommendation method and device, electronic equipment and storage medium | |
CN113568551A (en) | Picture saving method and device | |
CN112769677A (en) | Data synchronization method, data synchronization device, electronic equipment, storage medium and program product |
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 |