Work display method, device, electronic device, storage medium, and program product
The method and device enable quick access to recently viewed videos by maintaining a position control on the personal homepage, addressing the challenge of video accessibility after switching, thereby improving user experience.
Patent Information
- Application Number
- JP2024539075
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-03-15
- Filing Date
- 2023-03-09
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2043-03-09
AI Technical Summary
Users face difficulty in quickly finding videos they have just watched after switching to a contributor's personal homepage, leading to a decrease in user experience.
A method and device that display the user's recently viewed videos by maintaining a position control on the personal homepage, allowing quick access to the videos through trigger operations and efficient data loading strategies.
Simplifies the process of finding recently viewed videos by ensuring they are readily accessible on the personal homepage, enhancing user experience and reducing unnecessary operations.
Smart Images

Figure 2025502774000001_ABST
Abstract
Description
[Technical field]
[0001] This disclosure claims priority to Chinese patent application No. 202210254536.0, filed with the China Patent Office on March 15, 2022, the entire contents of which are incorporated herein by reference.
[0002] TECHNICAL FIELD The present disclosure relates to the field of computer technology, for example, to a method, device, electronic device, storage medium, and program product for displaying a work. [Background technology]
[0003] Currently, when a user watches a video, he or she can enter the personal homepage of the video poster by performing a corresponding trigger operation, and can view other works posted by the video poster.
[0004] However, after the user switches to the contributor's personal homepage, they are unable to quickly find the video they just watched, resulting in a poor user experience. Summary of the Invention
[0005] SUMMARY OF THE DISCLOSURE The embodiments of the present disclosure disclose a work display method, device, electronic device, storage medium, and program product, thereby enabling users to quickly find videos they have just watched.
[0006] According to a first aspect, an embodiment of the present disclosure provides a method for displaying a work, the method comprising:
[0007] Posting the target work on a work posting page;
[0008] In response to a page switching operation acting on the work posting page, displaying a personal homepage of a target contributor and displaying a location control within the personal homepage, the target contributor being a contributor of the target work, and the personal homepage being configured to display work items of the work posted by the target contributor;
[0009] The method includes a step of displaying a work item of the target work in the personal homepage in response to a first trigger operation acting on the location control, and a step of maintaining display of the location control in the personal homepage before displaying the work item of the target work.
[0010] According to a second aspect, an embodiment of the present disclosure further provides an apparatus for displaying a work, the apparatus comprising:
[0011] a work posting module configured to post the target work on a work posting page;
[0012] a location control display module configured to display a personal homepage of a target contributor and display a location control in the personal homepage in response to a page switching operation acting on the work posting page, the target contributor being a contributor of the target work, and the personal homepage being configured to display work items of the work posted by the target contributor;
[0013] and a work item display module configured to display a work item of the target work in the personal homepage in response to a first trigger operation acting on the location control, the work item display module maintaining display of the location control in the personal homepage before displaying the work item of the target work.
[0014] According to a third aspect, an embodiment of the present disclosure provides an electronic device, the electronic device comprising:
[0015] one or more processors;
[0016] a memory for storing one or more programs;
[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement a method for displaying a work as described in an embodiment of the present disclosure.
[0018] According to a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored therein, the computer program implementing a method for displaying a work described in an embodiment of the present disclosure when executed by a processor.
[0019] According to a fifth aspect, an embodiment of the present disclosure further provides a computer program product, which, when executed by a computer, causes the computer to perform a method for displaying a work according to an embodiment of the present disclosure.
[0020] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent from the following detailed description taken in conjunction with the drawings in which the same or similar symbols refer to the same or similar elements throughout the drawings. It should be understood that the drawings are schematic and that the elements and components are not necessarily drawn to scale. [Brief description of the drawings]
[0021] [Figure 1] 1 is a flow diagram of a method for displaying a work provided by an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a schematic diagram of a display of a personal home page provided by an embodiment of the present disclosure. [Diagram 3] FIG. 2 is a schematic diagram of a display of a personal home page provided by an embodiment of the present disclosure. [Figure 4] 1 is a flow diagram of a method for displaying a work provided by an embodiment of the present disclosure. [Diagram 5] FIG. 2 is a schematic diagram of a display of a load instruction message provided by an embodiment of the present disclosure. [Figure 6] FIG. 2 is a schematic diagram of a display of a load instruction message provided by an embodiment of the present disclosure. [Figure 7] FIG. 2 is a structural block diagram of an apparatus for displaying works provided by an embodiment of the present disclosure. [Figure 8] FIG. 2 is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0022] Hereinafter, the embodiments of the present disclosure will be described in more detail with reference to the drawings. The drawings show some embodiments of the disclosure, but the present disclosure can be realized in various forms and should not be construed as being limited to the embodiments described herein, but rather these embodiments are provided to allow a more detailed, deeper and more complete understanding of the present disclosure. Note that the drawings and embodiments of the present disclosure are for illustrative purposes only.
[0023] It should be understood that the steps described in the method embodiments of the present disclosure may be performed in a different order and / or in parallel, and method embodiments may include additional steps and / or omit the performance of illustrated steps.
[0024] As used herein, the term "including" and variations thereof are open-ended, i.e., "including, but not limited to." The term "based on" means "based at least in part on." The term "in one embodiment" refers to "at least one embodiment," the term "another embodiment" refers to "at least one other embodiment," and the term "some embodiments" refers to "at least some embodiments." Relevant definitions of other terms are provided below in the description.
[0025] It should be noted that the concepts of "first", "second", etc. referred to in this disclosure are only used to distinguish different devices, modules, or units, and are not used to limit the order or interdependence of functions performed by these devices, modules, or units.
[0026] It should be noted that the modifications "a" and "multiple" referred to in this disclosure are exemplary, and those of skill in the art will understand that they should be understood as "one or more" unless the context clearly indicates otherwise.
[0027] The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only.
[0028] FIG. 1 is a flow chart of a method for displaying a work provided by an embodiment of the present disclosure. The method may be executed by an apparatus for displaying a work, which may be implemented by software and / or hardware and may be disposed in an electronic device, typically disposed in a mobile phone or a tablet computer. The method for displaying a work provided by an embodiment of the present disclosure is applied to a scenario in which a user quickly finds a work that he or she has just watched in a personal homepage. As shown in FIG. 1, the method for displaying a work provided by the present embodiment may include the following:
[0029] S101, post the target work on the work posting page.
[0030] In this embodiment, the user can view works on the work posting page, such as watching videos on the video playback page.
[0031] In this embodiment, the work posting page may be understood as a page for posting a work, and the work may be, for example, a text or a video. Correspondingly, the target work may be understood as a work posted on the work posting page. Illustratively, the target work is a video that is played on the video playback page when a page switching operation is received. The video playback page may be any one of the video playback pages, or may be a part of a set video playback page, such as a video playback page for playing a recommended video.
[0032] S102: In response to a page switching operation acting on the work posting page, a personal homepage of a target contributor is displayed, and a location control is displayed in the personal homepage, the target contributor being the contributor of the target work, and the personal homepage is configured to display work items of the work posted by the target contributor.
[0033] In this embodiment, the page switching operation may be understood as an operation of switching the work posting page to the target contributor's personal home page, such as an operation of switching the work posting page to the target contributor's personal home page. The target contributor may be understood as the contributor of the target work, such as the contributor of the icon triggered by the user.
[0034] The location control may be a control that triggers the positioning of the target work that the user has just viewed in the personal homepage, i.e., the location control is configured to instruct the electronic device to display the work item of the target work in the personal homepage. In this embodiment, the work item of a work (including the target work) may be understood to be the work information of the work, including the work cover of the work.
[0035] Optionally, the user can switch to the personal homepage of the target contributor by performing a page switching operation. Taking the work posting page as a video playback page as an example, when a work is played in the video playback page, the electronic device displays the icon of the contributor of the work. Therefore, when the user wants to view the personal homepage of the contributor, the electronic device triggers the icon of the contributor displayed on the video playback page. Correspondingly, as shown in FIG. 2, when the electronic device detects that the user triggers the icon of the contributor displayed on the video playback page, it determines that it has received a page switching operation, and in response to the page switching operation, switches the current page from the video playback page to the personal homepage of the contributor, displays the work information of at least some of the works posted by the contributor on the personal homepage, and displays a location control 20 in the personal homepage.
[0036] In one embodiment, regardless of whether the work item of the target work is currently displayed on the personal homepage, in either case, the location control is displayed on the personal homepage until a display cancel operation of the location control is received, and the personal homepage may be further configured to display the location control if a display cancel operation for the location control has not yet been received.
[0037] In this embodiment, the situation where the display cancel operation of the position control has not yet been received may include the situation where the personal homepage is displayed for the first time, that is, when switching to the personal homepage, the work item displayed for the first time is displayed on the personal homepage, and may further include the situation where the display cancel operation for the position control has not yet been received while the work item displayed on the personal homepage is being switched based on the user's slide operation. Therefore, in the above embodiment, as long as the display cancel operation for the position control has not yet been received, it may be the first switching to the personal homepage based on the user's slide operation, or the work item displayed on the personal homepage may have been switched, and in either case, the position control can be displayed on the personal homepage, thereby ensuring that the user can quickly find the work that has just been viewed by triggering the position control in any of the above arbitrary situations.
[0038] For example, when the electronic device receives a page switching operation, it displays the personal homepage of the target contributor, and directly displays the position control in the personal homepage without determining whether the work item of the target work is currently displayed on the personal homepage.When the electronic device receives any trigger operation acting on the personal homepage, it determines whether the trigger operation is a display cancel operation, and if the trigger operation is a display cancel operation, it cancels the display of the position control.If the trigger operation is not a display cancel operation, it continues to display the position control on the personal homepage, and switches the work item displayed on the personal homepage based on the slide operation to maintain the display of the position control.
[0039] In another embodiment, it can take into consideration whether the work item of the target work is currently displayed on the personal homepage, and when the work item of the target work is not displayed on the personal homepage, the location control is displayed on the personal homepage only if the display cancel operation for the location control has not yet been received, while when the work item of the target work is displayed on the personal homepage, even if the display cancel operation for the location control has not yet been received, the location control is not displayed on the personal homepage, thereby reducing the number of controls displayed on the personal homepage and improving the practicality of the location control. In this case, the personal homepage may be further configured to display the location control when the work item of the target work is not displayed on the personal homepage if the display cancel operation for the location control has not yet been received.
[0040] In this embodiment, the work item of the target work not being displayed on the personal homepage may mean that the work item of the target work is not displayed at all on the personal homepage, that is, any content of the work item of the target work is not displayed on the personal homepage, for example, the work item of the target work is not completely displayed on the personal homepage, in which case the user can fully view the work item of the target work by triggering the location control, thereby improving the practicality of the location control.
[0041] For example, when the electronic device receives a page switching operation, it displays the personal homepage of the target contributor and displays at least a portion of the work items of the work posted by the target contributor on the personal homepage, determines whether the work items of the target work are currently displayed on the personal homepage, and if the work items of the target work are currently displayed on the personal homepage, it does not display a location control on the personal homepage, and if the work items of the target work are not currently displayed on the personal homepage, it displays a location control on the personal homepage.
[0042] In this embodiment, before receiving the display cancel operation for the location control, the electronic device can display the location control on the personal homepage when the work item of the target work is not displayed on the personal homepage, and does not display the location control on the personal homepage when the work item of the target work is displayed on the personal homepage. In this case, optionally, the location control is kept displayed on the personal homepage before the work item of the target work is displayed, the location control is not displayed on the personal homepage when the work item of the target work is displayed, and the location control is re-displayed on the personal homepage after the work item of the target work is no longer displayed and before the work item of the target work is displayed again.
[0043] For example, when the electronic device receives any trigger operation acting on the personal homepage, it can determine whether the trigger operation is a display cancel operation for the location control, and if the trigger operation is a display cancel operation for the location control, it displays the location control on the personal homepage, and if the trigger operation is not a display cancel operation for the location control, it displays the location control on the personal homepage when a work item of the target work is displayed on the personal homepage.
[0044] The trigger operation acts on a personal homepage. Take the trigger operation as an example of a slide operation (such as a vertical slide operation) that switches the work items displayed on the personal homepage. Each time the electronic device receives the slide operation, it switches the work items displayed on the personal homepage based on the slide operation, judges whether the position control is displayed on the personal homepage before the switch and whether the work item of the target work is displayed on the personal homepage after the switch, and if the position control is displayed on the personal homepage before the switch and the work item of the target work is displayed on the personal homepage after the switch, it temporarily stops displaying the position control. For example, when the electronic device receives the slide operation again and the work item of the target work is not displayed on the personal homepage after the switch, it temporarily stops displaying the position control. the display of the position control can be continued, if the position control was displayed on the personal home page before the switching and the work item of the target work is not displayed on the personal home page after the switching, the display of the position control is maintained, if the position control was not displayed on the personal home page before the switching and the work item of the target work is displayed on the personal home page after the switching, the display of the position control is temporarily not made to be displayed, for example, if a slide operation is received again and the work item of the target work is not displayed on the personal home page after the switching, the display of the position control can be continued, and if the position control was not displayed on the personal home page before the switching and the work item of the target work is not displayed on the personal home page, the position control is displayed on the personal home page.
[0045] S103, in response to a first trigger operation acting on the location control, displaying a work item of the target work in the personal homepage, and maintaining the display of the location control in the personal homepage before displaying the work item of the target work.
[0046] In this embodiment, the first trigger operation may be understood to be a trigger operation acting on a location control displayed on a personal homepage, such as an operation of clicking on the location control displayed on the personal homepage.
[0047] In this embodiment, the user can not only sequentially switch between each work item displayed on the personal homepage by performing a slide operation to view the work item of the target work that was just viewed, but also quickly view the work item of the target work that was just viewed by triggering the position control.
[0048] Optionally, when the user wants to display a work item of the target work, the user triggers a position control displayed on the personal homepage. Correspondingly, when the electronic device detects that the user triggers the position control, it determines that a first trigger operation is received, and in response to the first trigger operation, based on a positional relationship between each work item displayed on the personal homepage and the work item of the target work at a current time, controls the work item displayed on the personal homepage to move along a direction corresponding to the positional relationship, and transfers and displays the work item of the target work on the personal homepage, or obtains the work item of the target work and multiple work items located before and / or after the work item of the target work, and displays the work item of the target work and the multiple work items on the personal homepage.
[0049] In addition, when displaying the work item of the target work based on the first trigger operation, a corresponding animation effect can also be displayed, for example, by controlling the work item to expand or contract multiple times in succession, making it easier for the user to quickly determine the work item of the target work.
[0050] In this embodiment, when switching from the work posting page to the contributor's personal homepage for the first time, that is, displaying a location control on the personal homepage for identifying the work that the user has just viewed on the work posting page, and maintaining the display of the location control on the personal homepage before displaying the work item of the target work. Compared with the technical solution of not displaying the location control on the personal homepage when the personal homepage is displayed for the first time, and displaying the location control on the personal homepage after removing the first several works (e.g., the first 12 works) displayed on the personal homepage from the display area of the personal homepage based on the user's slide operation or after receiving a trigger operation set by the user, the user can quickly find the work that the user himself / herself has just viewed by triggering the location control after switching to the personal homepage, without needing to perform other operations such as a slide operation. Therefore, the operation required for the user to find the work that he / she has just viewed can be simplified, and the user can quickly find the work that he / she has just viewed.
[0051] In one embodiment, the method for displaying a work provided by this embodiment may further include canceling display for the location control on the personal homepage in response to a display cancel operation for the location control, the display cancel operation including at least one of the first trigger operation and the second trigger operation, and the second trigger operation being a trigger operation acting on any one work item displayed on the personal homepage after a work item of the target work has been displayed at least once.
[0052] In this embodiment, the display cancel operation may be an operation of instructing the electronic device not to display the location control on the personal homepage. The operation of instructing the electronic device not to display the location control on the personal homepage may be specifically understood as an operation of instructing the electronic device not to display the location control on the personal homepage when displaying the personal homepage at the current time. In other words, when the user switches from the work posting page to the personal homepage of the target contributor or another contributor again, the location control may be displayed again on the personal homepage, or when the personal homepage does not display the work item of the corresponding work that was just viewed before switching to the personal homepage, the location control may be displayed again on the personal homepage.
[0053] For clarification, when receiving a display cancel operation, the operation of canceling the display of the position control on the personal homepage may be understood as an operation of canceling the display of the position control in the process of displaying the personal homepage at the current time, that is, an operation of not displaying the position control on the personal homepage in any case in the process of displaying the personal homepage at the current time, regardless of whether the position control is displayed on the personal homepage at the current time or the work item of the target work is displayed on the personal homepage later, which is different from the operation of temporarily stopping the display of the position control when the work item of the target work is displayed on the personal homepage and continuing the display of the position control when the work item of the target work is not displayed on the personal homepage.
[0054] The second trigger operation may be understood as an operation of triggering any one of the work items displayed on the personal homepage after displaying the work item of the target work on the personal homepage. That is, before performing the second trigger operation, at least one of the work items of the target work is displayed once on the personal homepage, and when performing the second trigger operation, the work item of the target work may be displayed on the personal homepage or may not be displayed. The work item triggered by the second trigger operation may be the work item of the target work, or may be a work other than the work item of the target work displayed on the personal homepage.
[0055] In the above embodiment, the user may instruct the electronic device to cancel the display of the location control by triggering the location control or by triggering any one of the work items displayed on the personal home page after viewing the work item of the target work.
[0056] Illustratively, when a user attempts to find a creative item of a target work, the user triggers a location control displayed on the personal home page, and correspondingly, when the electronic device detects that the user triggers the location control on the personal home page, the electronic device displays the creative item of the target work on the personal home page and cancels the display of the location control.
[0057] Alternatively, when the user wants to view a work corresponding to a certain work item displayed on the personal homepage, the electronic device triggers the work item. Correspondingly, when the electronic device detects that the user triggers a certain work item displayed on the personal homepage, in the process of displaying the personal homepage at the current time, the electronic device determines whether the work item of the target work is displayed, and if the work item of the target work is displayed in the process of displaying the personal homepage at the current time, the electronic device posts a work corresponding to the work item triggered by the user and cancels the display of the location control on the personal homepage; if the work item of the target work is not displayed in the process of displaying the personal homepage at the current time, the electronic device posts a work corresponding to the work item triggered by the user, and maintains the display of the location control (in response to the location control being displayed on the personal homepage when the second trigger operation is received); and if the work item of the target work is not displayed on the personal homepage, the electronic device displays the location control on the personal homepage again (in response to the location control being temporarily not displayed on the personal homepage when the second trigger operation is received). The operation of posting a work corresponding to the work item triggered by the user may be realized, for example, by posting a work posting page on a layer above the personal homepage and posting a work corresponding to the work item on the work posting page.
[0058] In the above embodiment, when the user triggers the location control or triggers any one of the works after viewing the work item of the target work, the display of the location control on the personal homepage is canceled; when the work item of the target work is displayed on the personal homepage, the display of the location control is maintained or the display of the location control is temporarily stopped; when the work item of the target work is deleted from the personal homepage, the display of the location control is continued. When the work item of the target work is displayed on the personal homepage, that is, in the display process of the personal homepage at the current time, the location control is not displayed. Therefore, it is possible to avoid the situation where the location control disappears and is not displayed again in the display process of the personal homepage at the current time because the user tries to view the work item of another work or does not view the work item of the target work, and the probability of erroneously canceling the display of the location control can be reduced, and the user experience can be improved.
[0059] In this embodiment, after a user performs page switching operations multiple times or after a user triggers a location control, if the distance between the work item displayed on the personal homepage and the work item of the pre-set work posted by the contributor is far, the operation cost for the user to view the work item of the pre-set work will be high; therefore, in order to simplify user operations, the work display method provided by this embodiment may further include displaying a return control on the personal homepage when a pre-set display condition is met, and the return control is configured to trigger the display of the work item of the pre-set work posted by the target contributor.
[0060] In this embodiment, the preset work and the preset display conditions may both be set as necessary. For example, the preset work may be a work corresponding to the first work item in the personal homepage. It should be understood that the first work item in the personal homepage and the first work item currently displayed on the personal homepage may have different meanings. For example, according to a preset sorting rule, each work posted by the target contributor may be sorted, and the work item of each work may be posted on the personal homepage according to the sorting result. At this time, the first work item in the personal homepage may be the work item of the first work in the sorting, and the first work item currently displayed on the personal homepage may be the first work item of each work item currently displayed in the display area of the personal homepage.
[0061] The preset display condition may be that a work item of a preset work is not displayed on the personal homepage, or that the preset work and the work items of multiple works before and / or after the preset work are not displayed on the personal homepage. For example, when the preset work is an item corresponding to the first work item on the personal homepage, the preset display condition may be that the first work item is not displayed on the personal homepage, or that multiple consecutive work items (e.g., 20 or the like) that are located after the first work item and are closest to the first work item are not displayed on the personal homepage.
[0062] Illustratively, as shown in Fig. 3, when a preset display condition is satisfied, the electronic device displays a return control 30 on the personal homepage. Thus, when the user is about to view a work item of a preset work, the return control 30 may be triggered. Correspondingly, when the electronic device detects that the user triggers the return control 30, the electronic device may display work items of the preset work posted by the target contributor on the personal homepage, for example, by controlling each work item displayed on the personal homepage to move downward in synchronization, and returning to the first work item (shown in Fig. 2) on the personal homepage.
[0063] The method for displaying works provided by this embodiment includes: posting a target work on a work posting page; displaying a personal homepage of a target contributor in response to a page switching operation acting on the work posting page; displaying a location control in the personal homepage; the target contributor is a contributor of the target work; the personal homepage is configured to display the work items of the work posted by the target contributor; displaying the work items of the target work in the personal homepage in response to a first trigger operation acting on the location control; and maintaining the display of the location control in the personal homepage before displaying the work items of the target work. By using the above technical solution, this embodiment can maintain the display of the location control in the personal homepage before displaying the work items of the work just viewed, thereby simplifying the operation required for the user to find the work just viewed, and enabling the user to quickly find the work just viewed.
[0064] 4 is a flow chart of another work display method provided by an embodiment of the present disclosure. The solution in this embodiment can be combined with one or more selectable solutions in the above embodiments. Optionally, the method for displaying works provided by the embodiment further includes a step of displaying the work item of the target work on the personal homepage, the method includes a step of obtaining display position information of the work item of the target work on the personal homepage, and displaying the work item of the target work on the personal homepage according to the display position information, or a step of displaying the work item of the target work at a first preset position of the personal homepage.
[0065] Optionally, the method further includes the step of determining that there is a work item to be unloaded between the current work item displayed on the personal homepage and the work item of the target work before displaying the work item of the target work on the personal homepage.
[0066] Optionally, the method further includes a step of, after displaying the work item of the target work in the personal homepage, loading an unloaded work item in response to a slide operation along a preset direction in the personal homepage, and displaying a load instruction message at a second preset position of the personal homepage, wherein the load instruction message indicates that the unloaded work item is being loaded.
[0067] Correspondingly, as shown in FIG. 4, a method for displaying a work provided by this embodiment may include:
[0068] S201, a target work is posted on a work posting page.
[0069] S202: In response to a page switching operation acting on the work posting page, a personal homepage of a target contributor is displayed, and a location control is displayed within the personal homepage, the target contributor being the contributor of the target work, and the personal homepage is configured to display work items of the work posted by the target contributor.
[0070] S203, in response to a first trigger operation acting on the position control, determining that there is an unloaded work item between the current work item displayed on the personal homepage and the work item of the target work, and executing S204 or S205.
[0071] In this embodiment, when switching from the work posting page to the personal homepage, the first m work items (m is a positive integer) in the personal homepage and the work item of the target work, and the work data corresponding to each work item may be preloaded, thereby improving the response speed when the user browses the corresponding work items and / or works. For example, if the work item of the target work is among the first m work items and the work data corresponding to each work item in the personal homepage, it is possible to obtain the first m work items and the work data corresponding to each work item in the personal homepage from the server, and if the work item of the target work is other than the first m work items in the personal homepage, it is possible to obtain the first m work items in the personal homepage, the target work, and a plurality of consecutive work items before and after the target work item, and the work data corresponding to each work item from the server, and further, the display position of the work item of the target work in the personal homepage, or sorting information (e.g., order, etc.) of each work posted by the target poster may be obtained from the server. m may be set as necessary, for example, m may be set to 200.
[0072] It should be understood that when displaying a personal homepage, the electronic device loads only the work items necessary for display, but does not have to load work data corresponding to each work item; for example, when a trigger operation for a work item is received, work data corresponding to the work item may be loaded.
[0073] Exemplarily, when the electronic device receives a first trigger operation acting on the position control, it may determine whether there is an unloaded work item between the work item currently displayed in the personal homepage (i.e., the current work item) and the work item of the target work, i.e., determine whether each work item and its corresponding work data between the current work item and the work item of the target work are all loaded, and if each work item and its corresponding work data existing between the current work item and the work item of the target work are all loaded, execute S204 or S205, and if at least one of each work item and its corresponding work data between the current work item and the work item of the target work is unloaded, control each work item existing between the current work item and the work item of the target work in the personal homepage to move along the direction from the work item of the target work to the current work item, and display the work item of the target work on the personal homepage.
[0074] In this embodiment, even if the work items of the target work are sorted relatively low, for example, the work items of the target work are outside the first m work items of the personal home page, the location control is still displayed, allowing the user to quickly find the target work in response to triggering the location control. Therefore, compared with the technical solution of loading the target work and all previous work items and displaying the location control only when the work item of the target work is within the first m work items of the personal home page, and not displaying the location control when the work item of the target work is outside the first m work items of the personal home page, the technical solution of not loading all work items and corresponding work data before the work item of the target work when the order of the target work exceeds a certain number as a result of sorting can solve the problem of not being able to quickly find the target work, and further improve the user experience.
[0075] In addition, when the user triggers the position control to display the work item of the target work and then triggers the return control to return to the work item of the preset work, if there is an unloaded work item between the work item of the preset work and the work item of the target work, not only will the work item of the preset work be displayed on the personal homepage, but the target work item that has been loaded and the work items that are loaded consecutively to the target work item can also be deleted.
[0076] S204, obtain display position information of the work item of the target work on the personal homepage, and display the work item of the target work on the personal homepage according to the display position information, and execute S206.
[0077] In this embodiment, the display position information may be column identifier information when displaying the work items of the target work on the personal homepage. As shown in FIG. 3, multiple rows of work items and multiple columns of work items (e.g., three columns, left, center, right, etc.) can be simultaneously displayed in the main display area of the personal homepage, and the display position information may be used to indicate in which column the work items of the target work are displayed in the personal homepage. The column identifier information may be determined by a server or an electronic device based on the sort information of the target work in each work posted by the target contributor. The row number identifier information when displaying the work items of the target work may be preset, and may be set, for example, to display the work items of the target work in the row closest to the midpoint of the main display area of the personal homepage.
[0078] Optionally, when the electronic device receives a first trigger operation, it obtains display position information of the work item of the target work in the personal homepage, and displays the work item of the target work and a plurality of work items located before and after the work item of the target work at a display position corresponding to the display position.
[0079] S205, displaying a work item of the target work at a first preset position on the personal homepage.
[0080] In this embodiment, the first pre-set position may be understood as a default display position of a work item of the target work, such as row identifier information and column identifier information of the work item of the target work displayed on the personal homepage, and may be pre-set by the developer.
[0081] Optionally, when the electronic device receives a first trigger operation, it can directly display a work item of the target work and multiple work items located before and after the work item of the target work at a first preset position in the personal homepage.
[0082] In this embodiment, when there is an unloaded work item between the current work item and the work item of the target work in the personal homepage, the work item of the target work can be displayed according to the display position information of the work item of the target work in the personal homepage, or the work item of the target work can be directly displayed at the first preset position; when the work item of the target work is a work item among the m-th work item to the n-th work item in the personal homepage, the work item of the target work can be displayed according to the display position of the work item of the target work in the personal homepage; when the work item of the target work is not a work item among the m-th work item to the n-th work item in the personal homepage, the work item of the target work can be directly displayed at the first preset position, improving the display effect of the work item of the target work while reducing the computation amount of the server / electronic device. n is a positive integer, n>m, and the specific values of m and n can be set according to needs, for example, m can be set to 200 and n can be set to 1000.
[0083] S206, in response to a slide operation along a preset direction in the personal homepage, loading an unloaded work item and displaying a load instruction message at a second preset position of the personal homepage, the load instruction message being configured to indicate that the unloaded work item is being loaded.
[0084] In this embodiment, the sliding operation may be an operation of switching the work items displayed on the personal homepage, such as a vertical sliding operation acting on the personal homepage. The sliding operation along the preset direction may be an operation of displaying the unloaded work items on the personal homepage, i.e., an operation of viewing the unloaded work items located in front of the work items of the target work, such as an operation of sliding downwards on the personal homepage. The second preset position may be a position corresponding to the appearance position of the unloaded work items, such as the top of the personal homepage.
[0085] Taking a downward slide operation as an example of a slide operation along a preset direction, when a user wants to view a work item located in front of a work item of a target work, the user can slide downward. Correspondingly, as shown in Fig. 5, when the electronic device detects the user's downward slide, the electronic device may determine that it has received a slide operation along a preset direction, and obtain the unloaded work item to be displayed and the data of the work from the server, and during the obtaining process, display a loading instruction message 50 on the top of the personal homepage, to show the user that the electronic device is loading the work item that the user wants to view.
[0086] When the user wants to view the work item located behind the work item of the target work, the user can slide upward. Correspondingly, as shown in Fig. 6, when the electronic device detects the user's upward slide, the electronic device can obtain the unloaded work item to be displayed and the data of the work from the server, and in the process of obtaining, display a loading instruction message 50 at the bottom of the personal homepage, to show the user that the electronic device is loading the work item that the user wants to view.
[0087] In the method for displaying a work provided by this embodiment, when a first trigger operation is received, a work item of a target work is displayed using a different method, and when a pre-set work switching operation is received, a loading instruction message is displayed at a corresponding position, so as to meet different display needs and improve the user experience.
[0088] 7 is a structural block diagram of an apparatus for displaying works provided by an embodiment of the present disclosure. The apparatus may be implemented by software and / or hardware, may be disposed in an electronic device, may be disposed in a mobile phone or a tablet computer, and may execute a method for displaying works to quickly display the works that a user has just viewed. As shown in FIG. 7, the apparatus for displaying works provided by the present embodiment may include a work posting module 701, a position control display module 702, and a work item display module 703;
[0089] The work posting module 701 is configured to post the target work on the work posting page;
[0090] The location control display module 702 is configured to display a personal homepage of a target contributor in response to a page switching operation acting on the work posting page, and display a location control in the personal homepage, the target contributor being a contributor of the target work, and the personal homepage being configured to display work items of the work posted by the target contributor;
[0091] The work item display module 703 is configured to display a work item of the target work in the personal homepage in response to a first trigger operation acting on the location control, and maintains the display of the location control in the personal homepage before displaying the work item of the target work.
[0092] The device for displaying works provided by this embodiment includes a work posting module for posting a target work on a work posting page, a position control display module for displaying a personal homepage of a target contributor in response to a page switching operation acting on the work posting page, and displaying a position control in the personal homepage, the target contributor being a contributor of the target work, and the personal homepage being configured to display work items of the work posted by the target contributor, and a work item display module for displaying a work item of the target work in the personal homepage in response to a first trigger operation acting on the position control, and maintaining the display of the position control in the personal homepage before displaying the work item of the target work. By using the above technical solution, this embodiment can maintain the display of the position control in the personal homepage before displaying the work item of the work just viewed, thereby simplifying the operation required for the user to find the work just viewed, and enabling the user to quickly find the work just viewed.
[0093] In the above-mentioned solving means, the personal home page may be further configured to display the location control when a display cancel operation for the location control has not yet been received.
[0094] In the above solution, the personal homepage may be further configured to display the location control when a display cancel operation for the location control has not yet been received and a work item of the target work has not been displayed on the personal homepage.
[0095] Optionally, the location control may not be displayed on the personal homepage when the work item of the target work is displayed, and the location control may be displayed again on the personal homepage after the work item of the target work is no longer displayed but before the work item of the target work is displayed again.
[0096] Optionally, the apparatus for displaying a work provided by this embodiment may further include a display cancellation module configured to cancel the display of the location control in the personal homepage in response to a display cancellation operation on the location control, the display cancellation operation including the first trigger operation and a second trigger operation, the second trigger operation being a trigger operation acting on any one work item displayed on the personal homepage after a work item of the target work has been displayed at least once.
[0097] Optionally, the apparatus for displaying works provided by this embodiment may further include a return control display module configured to display a return control on the personal homepage when a preset display condition is met, and the return control is configured to trigger the display of a work item of a preset work posted by the target contributor.
[0098] In the above-mentioned solution, the work item display module 703 may be configured to display the work item of the target work on the personal homepage by the following method: obtain display position information of the work item of the target work on the personal homepage, and display the work item of the target work on the personal homepage according to the display position information, or display the work item of the target work at a first preset position of the personal homepage.
[0099] Optionally, the device for display provided by this embodiment may further include a determination module configured to determine that there is an unloaded work item between the current work item displayed in the personal homepage and the work item of the target work before displaying the work item of the target work in the personal homepage.
[0100] Optionally, the apparatus for displaying works provided by this embodiment may further include a loading module configured to load an unloaded work item and display a loading instruction message at a second preset position of the personal home page in response to a slide operation along a preset direction in the personal home page after displaying a work item of the target work in the personal home page, and to display a loading instruction message at a second preset position of the personal home page, the loading instruction message being configured to indicate that the unloaded work item is being loaded.
[0101] The apparatus for displaying a work provided by the embodiment of the present disclosure can execute the method for displaying a work provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the method for displaying a work. For technical details not described in detail in this embodiment, reference may be made to the method for displaying a work provided by any embodiment of the present disclosure.
[0102] Now referring to Fig. 8, Fig. 8 shows a structural schematic diagram applied to an electronic device 800 (such as a terminal device) for implementing an embodiment of the present disclosure. The terminal device according to the embodiment of the present disclosure may include mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDA), tablet computers (Portable Android Devices, PAD), portable multimedia players (Portable Media Players, PMP), in-vehicle terminals (such as in-vehicle navigation terminals), and fixed terminals such as digital televisions (TV), desktop computers, etc. The electronic device shown in Fig. 8 is just one example.
[0103] 8, the electronic device 800 may include a processing unit 801 (e.g., a central processing unit, a graphics processor, etc.) and may perform various appropriate operations and processes based on programs stored in the electronic device 800, a read-only memory (ROM) 802, or programs loaded from a storage device 808 into a random access memory (RAM) 803. The RAM 803 stores various programs and data necessary for the operation of the electronic device 800. The processing unit 801, the ROM 802, and the RAM 803 are interconnected via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0104] Typically, devices such as input devices 806 including a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc., output devices 807 including a liquid crystal display (LCD), speaker, vibrator, etc., storage devices 808 including magnetic tape, hard disk, etc., and communication devices 809 may be connected to the I / O interface 805. The communication devices 809 may enable the electronic device 800 to communicate and exchange data with other devices, wirelessly or via wires. Although FIG. 8 illustrates the electronic device 800 having various devices, it should be understood that the implementation or availability of all devices shown is not required. Alternatively, more or fewer devices may be implemented or provided.
[0105] In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flow charts may be implemented as computer software programs. For example, an embodiment of the present disclosure includes a computer program product, the computer program product includes a computer program stored on a non-transitory computer-readable medium, the computer program including a program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device 809, or installed from memory 808, or installed from ROM 802. When the computer program is executed by the processing device 801, the above functions of the method according to the embodiment of the present disclosure are performed.
[0106] It should be noted that the computer readable medium of the present disclosure may be a computer readable signal medium, a computer readable storage medium, or any combination of the two. The computer readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. The computer readable storage medium may include an electrical connection with one or more leads, a portable computer floppy disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code. Such a propagated data signal may take many forms, including an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium, which may transmit, propagate, or carry a program for use by or in connection with an instruction execution system, apparatus, or device. A program code embodied in a computer-readable medium may be transmitted using any suitable medium, including wire, fiber optic cable, Radio Frequency (RF), or the like, or any suitable combination thereof.
[0107] In some embodiments, clients and servers may communicate using any now known or later developed network protocol, such as HyperText Transfer Protocol (HTTP), and may communicate digital data in any form or medium (e.g., communications network) interconnection. Examples of communications networks include Local Area Networks (LANs), Wide Area Networks (WANs), international networks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any now known or later developed networks.
[0108] The computer-readable medium may be included in the electronic device or may exist independently and not integrated into the electronic device.
[0109] The computer-readable medium stores one or more programs, and when the one or more programs are executed by an electronic device, the electronic device performs the following: post a target work on a work posting page, in response to a page switching operation acting on the work posting page, display a personal homepage of a target contributor and display a location control in the personal homepage, the target contributor being a contributor of the target work, the personal homepage being configured to display work items of works posted by the target contributor, in response to a first trigger operation acting on the location control, display the work items of the target work in the personal homepage, and maintain display of the location control in the personal homepage before displaying the work items of the target work.
[0110] Computer program code for carrying out the operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and the like, as well as traditional procedural programming languages such as "C" or similar programming languages. The program code may run entirely on the user's computer, partially on the user's computer as a stand-alone software package, partially on the user's computer and a remote computer, or entirely on a remote computer or server. In situations involving remote computers, the remote computers may be connected to the user's computer via any type of network, such as a LAN or WAN (e.g., connecting via the Internet using an Internet Service Provider), or may be connected to an external computer.
[0111] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program segment, or part of code, which includes one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions shown in the blocks may be executed in a different order than the order shown in the drawings. For example, two blocks shown one after the other may actually be executed substantially in parallel or may be executed in the reverse order depending on the functions involved. Also, each block of the block diagrams and / or flowcharts, as well as combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that executes the specified functions or operations, or may be implemented by a combination of special hardware and computer instructions.
[0112] The units included in the embodiments of the present disclosure may be implemented in software or hardware. The names of modules do not limit the units themselves in a particular context.
[0113] The functions described herein may be performed, at least in part, by one or more hardware logic components, for example, examples of types of hardware logic components that may be used include Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Parts (ASSPs), System on Chip (SOCs), Complex Programmable Logic Devices (CPLDs), etc.
[0114] In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain or store a program used by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine signal medium or a machine-readable storage medium. A machine-readable medium includes an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. A machine-readable storage medium may include one or more wire-based electrical connections, a portable computer disk, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0115] According to one or more embodiments of the present disclosure, Example 1 provides a method for displaying a work, the method comprising: Posting the target work on a work posting page;
[0116] In response to a page switching operation acting on the work posting page, displaying a personal homepage of a target contributor and displaying a location control within the personal homepage, the target contributor being a contributor of the target work, and the personal homepage being configured to display work items of the work posted by the target contributor;
[0117] The method includes a step of displaying a work item of the target work in the personal homepage in response to a first trigger operation acting on the location control, and a step of maintaining display of the location control in the personal homepage before displaying the work item of the target work.
[0118] According to one or more embodiments of the present disclosure, Example 2 is based on the method described in Example 1, and the personal home page is further configured to display the location control if a display cancel operation for the location control has not yet been received.
[0119] According to one or more embodiments of the present disclosure, Example 3 is based on the method described in Example 1, and the personal home page is further configured to display the location control when a display cancel operation for the location control has not yet been received and the personal home page has not displayed a work item of the target work.
[0120] According to one or more embodiments of the present disclosure, Example 4 is based on the method described in Example 3, and when the work item of the target work is displayed, the location control is not displayed on the personal homepage, and the location control is displayed again on the personal homepage after the work item of the target work is no longer displayed but before the work item of the target work is displayed again.
[0121] According to one or more embodiments of the present disclosure, Example 5 is based on the method according to any one of Examples 2 to 4, the method comprising:
[0122] The method further includes a step of canceling the display of the location control on the personal homepage in response to a display cancel operation on the location control, the display cancel operation including the first trigger operation and a second trigger operation, the second trigger operation being a trigger operation acting on any one of the work items displayed on the personal homepage after a work item of the target work has been displayed at least once.
[0123] According to one or more embodiments of the present disclosure, Example 6 is based on the method according to any one of Examples 1 to 4, the method comprising:
[0124] The method further includes a step of displaying a return control on the personal homepage when a preset display condition is met, the return control being configured to trigger the display of a work item of a preset work posted by the target contributor.
[0125] According to one or more embodiments of the present disclosure, Example 7 is based on the method according to any one of Examples 1 to 4, and the step of displaying the work item of the target work in the personal homepage includes:
[0126] Obtaining display position information of the work item of the target work on the personal homepage, and displaying the work item of the target work on the personal homepage based on the display position information; or
[0127] The method includes displaying a work item of the target work at a first preset position on the personal homepage.
[0128] According to one or more embodiments of the present disclosure, Example 8 is based on the method of Example 7, wherein before displaying the work item of the target work in the personal homepage, the method includes:
[0129] The method further includes determining that there is an unloaded work item between the current work item displayed in the personal homepage and the work item of the target work.
[0130] According to one or more embodiments of the present disclosure, Example 9 is based on the method of Example 8, wherein after displaying the work item of the target work in the personal homepage, the method includes:
[0131] The method further includes a step of loading an unloaded work item and displaying a load instruction message at a second preset position of the personal home page in response to a slide operation along a preset direction on the personal home page, the load instruction message being configured to indicate that the unloaded work item is being loaded.
[0132] According to one or more embodiments of the present disclosure, an example 10 provides an apparatus for displaying a work, the apparatus comprising:
[0133] a work posting module configured to post the target work on a work posting page;
[0134] a location control display module configured to display a personal homepage of a target contributor and display a location control in the personal homepage in response to a page switching operation acting on the work posting page, the target contributor being a contributor of the target work, and the personal homepage being configured to display work items of the work posted by the target contributor;
[0135] and a work item display module configured to display a work item of the target work in the personal homepage in response to a first trigger operation acting on the location control, the work item display module maintaining display of the location control in the personal homepage before displaying the work item of the target work.
[0136] According to one or more embodiments of the present disclosure, Example 11 provides an electronic device, the electronic device comprising:
[0137] one or more processors;
[0138] a memory for storing one or more programs;
[0139] When the one or more programs are executed by the one or more processors, the one or more processors implement a method for displaying a work described in any one of Examples 1 to 9.
[0140] According to one or more embodiments of the present disclosure, Example 12 provides a computer-readable storage medium having a computer program stored therein, the computer program implementing, when executed by a processor, a method for displaying a work described in any one of Examples 1 to 9.
[0141] According to one or more embodiments of the present disclosure, Example 13 provides a computer program product, which, when executed on a computer, causes the computer to implement a method for displaying a work described in any one of Examples 1 to 9.
Claims
1. 1. A method for displaying a work, the method comprising: Posting the target work on a work posting page; a step of displaying a personal homepage of a target contributor in response to a page switching operation acting on the work posting page, the target contributor being a contributor of the target work, and displaying a location control within the personal homepage, the target contributor being configured to display work items of the work posted by the target contributor; displaying a work item of the target work in the personal home page in response to a first trigger operation acting on the location control, and maintaining display of the location control in the personal home page before displaying the work item of the target work. method.
2. The method of claim 1 , wherein the personal home page is further configured to display the location control if a cancel display operation for the location control has not yet been received.
3. The method of claim 1, wherein the personal home page is further configured to display the location control if the personal home page has not yet received a display cancel operation on the location control and is not displaying a work item of the target work on the personal home page.
4. The method of claim 3, wherein the location control is not displayed on the personal home page when the work item of the target work is displayed, and the location control is displayed again on the personal home page after the work item of the target work is no longer displayed but before the work item of the target work is displayed again.
5. The method comprises: The method further includes a step of canceling display of the location control on the personal homepage in response to a display cancel operation on the location control, The method of any one of claims 2 to 4, wherein the display cancel operation includes at least one of the first trigger operation and the second trigger operation, and the second trigger operation is a trigger operation that acts on any one work item displayed on the personal homepage after a work item of the target work has been displayed at least once.
6. The method comprises: The method further includes the step of displaying a return control in the personal homepage when a preset display condition is satisfied; The method of claim 1 , wherein the return control is configured to trigger the display of a pre-defined creative item posted by the targeted contributor.
7. The step of displaying the work item of the target work in the personal homepage includes: Acquiring display position information of the work item of the target work on the personal homepage, and displaying the work item of the target work on the personal homepage based on the display position information; or The method of claim 1 , further comprising displaying a work item of the target work in a first pre-defined location on the personal homepage.
8. Prior to displaying a work item of the target work in the personal homepage, the method comprises:
8. The method of claim 7, further comprising the step of determining that there is an unloaded work item between a current work item displayed in the personal home page and a work item of the target work.
9. After displaying the work item of the target work in the personal homepage, the method includes:
9. The method of claim 8, further comprising the step of loading the unloaded work item and displaying a load instruction message at a second preset position on the personal home page in response to a slide operation along a preset direction on the personal home page, the load instruction message being configured to indicate that the unloaded work item is being loaded.
10. A device for displaying a work, comprising: a work posting module configured to post the target work on a work posting page; a location control display module configured to display a personal homepage of a target contributor and display a location control in the personal homepage in response to a page switching operation acting on the work posting page, the target contributor being a contributor of the target work, and the personal homepage being configured to display work items of the work posted by the target contributor; a creation item display module configured to display a creation item of the target work in the personal home page in response to a first trigger operation acting on the location control, the creation item display module maintaining a display of the location control in the personal home page before displaying the creation item of the target work; Device.
11. 1. An electronic device comprising: At least one processor; a memory communicatively coupled to the at least one processor; The memory stores a computer program for execution by the at least one processor, the computer program causing the at least one processor to execute a method according to any one of claims 1 to 9, Electronic devices.
12. 10. A computer readable storage medium having stored therein computer instructions which, when executed, are used to enable a processor to implement a method according to any one of claims 1 to 9.
13. A computer program product, the computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Plug seedling transplanting claw
CN108207222A
Work display method and device, electronic equipment and storage medium
CN114816603A
Picture display device, electronic information equipment, picture display method, control program readable record medium
JP2005020209A
Information providing apparatus, information providing method, and information providing program
JP2014038525A
Methods and systems for customizing viewing environment preferences in a viewing environment control application
US20130007809A1