CN113961843A - Page list refreshing method and device, electronic equipment and storage medium - Google Patents

Page list refreshing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113961843A
CN113961843A CN202111219217.8A CN202111219217A CN113961843A CN 113961843 A CN113961843 A CN 113961843A CN 202111219217 A CN202111219217 A CN 202111219217A CN 113961843 A CN113961843 A CN 113961843A
Authority
CN
China
Prior art keywords
reuse
target
identification information
reuse object
candidate
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.)
Pending
Application number
CN202111219217.8A
Other languages
Chinese (zh)
Inventor
谭成浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202111219217.8A priority Critical patent/CN113961843A/en
Publication of CN113961843A publication Critical patent/CN113961843A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

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 provides a page list refreshing method and device, electronic equipment and a storage medium, and relates to the technical field of computers, in particular to the technical field of data processing. The specific implementation scheme is as follows: after a refreshing instruction for a target list is received, storing identification information and position information of a target reuse object browsed by a user in the target list into a pre-established reuse pool, wherein the position information of the target reuse object represents browsing position information of the user for the target reuse object; when the target list is reloaded, the target reuse object is loaded in the target list based on the identification information and the position information of the target reuse object in the reuse pool, so that the smooth playing of the animation can be realized when the display object is a dynamic picture in the refreshing process of the display list.

Description

Page list refreshing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and further relates to the field of data processing technologies, and in particular, to a method and an apparatus for refreshing a page list, an electronic device, and a storage medium.
Background
With the development of computer technology, an Application program (APP) of an electronic device generally provides a page list component, and can display static or dynamic pictures in a page list. In the process of displaying the picture, when a refresh command for the display picture contained in the page display list is received, if the display picture is a static picture, such as a static page, the static page can be directly reloaded for display, and if the display picture is a dynamic picture, such as an animation, the animation needs to be restarted for playing if the animation is reloaded because part of the content of the animation may already be played, so that the problem of visual blockage is easily caused.
Disclosure of Invention
The disclosure provides a page list refreshing method and device, electronic equipment and a storage medium.
According to an aspect of the present disclosure, there is provided a page list refreshing method, including:
after a refreshing instruction for a target list is received, storing identification information and position information of a target reuse object browsed by a user in the target list into a pre-established reuse pool, wherein the position information of the target reuse object represents browsing position information of the user for the target reuse object;
when the target list is reloaded, the target reuse object is loaded in the target list based on the identification information and the position information of the target reuse object in the reuse pool.
According to another aspect of the present disclosure, there is provided a page list refreshing apparatus including:
the information storage module is used for storing identification information and position information of a target reuse object browsed by a user in a target list into a pre-established reuse pool after a refreshing instruction aiming at the target list is received, wherein the position information of the target reuse object represents browsing position information of the user aiming at the target reuse object;
and the object loading module is used for loading the target reuse object in the target list based on the identification information and the position information of the target reuse object in the reuse pool when the target list is reloaded.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the page list refresh method of any of the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the page list refresh method of any one of the present disclosure.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the page list refresh method of any one of the present disclosure.
In the embodiment of the disclosure, in the process of refreshing the display list, when the display object is a dynamic picture, for example, an animation or the like, smooth playing of the animation can be realized.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a schematic diagram of a page list of the present disclosure;
FIG. 2 is a schematic diagram of a page list refresh method according to the present disclosure;
FIG. 3 is another schematic diagram of a page list refresh method according to the present disclosure;
FIG. 4 is a schematic diagram of a page list refresh apparatus according to the present disclosure;
FIG. 5 is a block diagram of an electronic device for implementing a page list refresh method of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the process of displaying a picture, when a refresh command for a displayed picture included in a page display list is received, the picture displayed in the list needs to be reloaded, for example, the page display list may be a list in a page list display as shown in fig. 1, and the list may include a static picture, a dynamic picture, and the like. If the display screen is a dynamic screen, such as an animation, because the animation may have already played a part of the content, if the animation is reloaded, the animation needs to be restarted to play or play a different animation, which is prone to the problem of visual blockage.
In order to solve the above problem, in the method for refreshing a page list provided in the embodiment of the present disclosure, a reuse pool is created in advance, after a refresh instruction for a target list is received, identification information and position information of a target reuse object browsed by a user in the target list are stored in the reuse pool created in advance, and when the target list is reloaded, the target reuse object is loaded in the target list based on the identification information and the position information of the target reuse object in the reuse pool, so that when a display frame is a dynamic frame, even if the target list of the display frame is refreshed in real time, the display of the frame can be continued from the displayed position of the dynamic frame, thereby achieving smooth playing of animation.
The page list refresh method provided by the embodiment of the present disclosure is explained in detail below.
The method for refreshing the page list provided by the embodiment of the disclosure can be applied to electronic equipment, such as a server, a mobile terminal and the like, and the electronic equipment can be electronic equipment capable of showing pictures in the list.
Referring to fig. 2, fig. 2 is a schematic flowchart of a page list refreshing method according to an embodiment of the present disclosure, including the following steps:
s101, after a refreshing instruction aiming at the target list is received, the identification information and the position information of the target reuse object browsed by the user in the target list are stored in a pre-established reuse pool.
And the position information of the target reuse object represents browsing position information of the user aiming at the target reuse object.
In practical applications, a display page of an application program on an electronic device such as a mobile terminal may include one or more lists, where the lists support a reusable mechanism, and each list may include one or more objects to realize display of a picture. After the electronic device receives a refresh instruction for the list in the page, that is, after the refresh instruction for the target list is received, the identification information and the position information of the target reuse object browsed by the user in the target list of the current page can be stored in a pre-established reuse pool.
A reuse object may represent a presentation area in the target list in which a style of an element type is presented, the reuse object corresponding to an identification information. For example, an animation, a video, a picture containing an image, a text, or the like may be displayed in the display area. An element style corresponds to a reuse object and is represented using an identification information. A reusable object may be a layout control in the target list, and the identification information of the reusable object may be represented by numbers or characters, but is not limited thereto. The target reuse object represents a reuse object viewed by the user. As shown in fig. 1, the page in fig. 1 includes an object list, which includes a plurality of display objects, wherein the reuse objects of an element type style are respectively identified by numerals 1, 2, and 3, for example, a sub-list displaying characters is displayed in the reuse object identified by numeral 1, the sub-list includes different character information, the reuse object identified by numeral 2 is displayed by character and image information, the reuse object identified by numeral 3 is displayed by a video picture, etc.
The pre-created reuse pool may be a pre-created reuse pool dictionary, where the reuse pool dictionary is used to store identification information of each reuse object in the target list, location information corresponding to the identification information of the target reuse object, and the reuse object, and each reuse object is bound with data in the server data source when the target list is refreshed. The position information of the target reuse object represents browsing position information of the user for the target reuse object. Illustratively, when the content shown in the target reuse object is an animation or a video, the position information of the target reuse object represents the viewing progress information of the user viewing the animation or the video.
After a refresh instruction for the target list is received, the identification information, the position information and the target reuse object browsed by the user can be stored in the reuse pool, so that when the target list is reloaded, each target reuse object used last time is accurately reused from the reuse pool, and the content displayed in each target reuse object is smoother.
In one possible embodiment, the refresh command may be automatically triggered by a clock set in an application on the electronic device. In another possible implementation manner, the refresh command may also be manually triggered by a user and received by an application program on the electronic device, and of course, the embodiment of the present disclosure is not limited by this way.
In one possible implementation, the refresh instruction may be a global refresh instruction for the target list or may be a local refresh instruction for the target list. For example, the global refresh command may be a refresh command for each object in the entire target list, the local refresh command may be a scroll or slide up/down/left/right of the target list, and the refresh command for a part of the objects in the target list.
S102, when the target list is reloaded, the target reuse object is loaded in the target list based on the identification information and the position information of the target reuse object in the reuse pool.
After a refresh instruction for the target list is received and before the target list is reloaded, the identification information and the position information of the target reuse object browsed by the user in the target list are stored in the reuse pool, so that when the target list is reloaded, the stored target reuse object browsed by the user can be preferentially and accurately reused in the reuse pool, and the target reuse object is loaded in the target list, so that the user can continue browsing from the position where the target reuse object is browsed last time.
In the embodiment of the disclosure, after a refresh instruction for a target list is received, identification information and position information of a target reuse object browsed by a user in the target list are stored in a pre-created reuse pool, and then when the target list is reloaded, the target reuse object is loaded in the target list based on the identification information and the position information of the target reuse object in the reuse pool, so that when a display picture is a dynamic picture, even if the target list of the display picture is refreshed in real time, the display of the picture can be continued from the displayed position of the dynamic picture, and smooth playing of animation is realized.
In a possible implementation manner, the refresh instruction may include identification information of an object to be loaded, and the reuse pool may further include identification information of a common reuse object that does not include location information.
It can be understood that after receiving a refresh instruction for the target list, the identification information and the location information of the target reuse object browsed by the user in the target list may be stored in a reuse pool created in advance, and the identification information of the common reuse object not browsed by the user may also be stored in the reuse pool. That is, the reuse pool may include not only the identification information and the location information of the target reuse object browsed by the user, but also the identification information of the common reuse object not browsed by the user, that is, the identification information of the common reuse object not including the location information, and the reuse pool may further include the target reuse object and the common reuse object, where the reuse object includes the target reuse object and the common reuse object.
Accordingly, the step S102 of loading the target reuse object in the target list based on the identification information and the location information of the target reuse object in the reuse pool may include:
and inquiring a reuse pool for each object to be loaded, judging whether identification information which is the same as the identification information of the object to be loaded exists in the reuse pool, and if so, obtaining the identification information of the candidate reuse object.
And judging whether the position information corresponding to the identification information of the candidate reuse object exists in the reuse pool.
And if so, loading the candidate reuse object in the target list according to the position information of the candidate reuse object.
The refresh instruction includes identification information of an object to be loaded, and when the target list is reloaded, whether identification information which is the same as the identification information of the object to be loaded exists in the reuse pool or not can be judged for each object to be loaded in the reuse pool, and if the identification information exists, the same identification information is determined as the identification information of the candidate reuse object.
The reuse pool not only contains identification information and position information of a target reuse object browsed by a user, but also contains identification information of a common reuse object not containing the position information, the target reuse object and the common reuse object.
In the embodiment of the disclosure, when the target list is reloaded, the target reuse object browsed by the user, which is displayed last time, is accurately selected from the reuse pool according to the identification information and the position information of the target reuse object browsed by the user, which are stored in the reuse pool, and the content in the target reuse object can be continuously displayed according to the position information of the target reuse object, so that the user can smoothly watch the content in the target reuse object, and the user experience is improved.
In one possible implementation, if there is no location information corresponding to the identification information of the candidate reuse object in the reuse pool, it is determined whether the identification information of the candidate reuse object corresponds to the candidate reuse object. If yes, determining a target candidate reuse object from the candidate reuse objects corresponding to the identification information of the candidate reuse object, and loading the target candidate reuse object in the target list.
When the target list is reloaded, for each object to be loaded, if the reuse pool has identification information that is the same as the identification information of the object to be loaded, that is, the identification information of the candidate reuse object exists, and no position information corresponding to the identification information of the candidate reuse object exists, whether the identification information of the candidate reuse object corresponds to the candidate reuse object is further determined, and in some cases, a target candidate reuse object may be randomly determined from the candidate reuse object corresponding to the identification information of the candidate reuse object, so as to load the target candidate reuse object in the target list.
It can be understood that the reuse pool not only includes the identification information and the location information of the target reuse object browsed by the user, but also includes the identification information of the common reuse object not including the location information, so that when the reuse pool does not inquire the location information corresponding to the identification information identical to the identification information of the object to be loaded, it indicates that the content user in the object corresponding to the identification information of the candidate reuse object browses completely or does not start browsing, and thus there is no location information. At this time, whether the identification information of the candidate reuse object corresponds to the candidate reuse object is determined, if yes, one candidate reuse object is randomly determined to be a target candidate reuse object, and the target candidate reuse object is loaded in a target list so as to realize the reuse of the reuse object in the reuse pool.
In a possible implementation manner, in a case that the same identification information as that of the object to be loaded does not exist in the reuse pool, or the identification information of the candidate reuse object does not correspond to the candidate reuse object, one object to be loaded is created, and the object to be loaded is loaded in the target list.
When the identification information of the candidate reuse object does not correspond to the candidate reuse object, the reuse pool indicates that no reusable reuse object can be used, at this time, one object to be loaded is created, and the created object to be loaded is loaded in the target list.
In the embodiment of the present disclosure, a new object to be loaded is created only when there is no reusable object in the reuse pool, so that the number of objects to be loaded is reduced, and resources are saved.
In one possible embodiment, after reloading the target list, the identification information and the location information of the target reuse object contained in the reuse pool are deleted.
After the target list is reloaded, that is, after the page target list is refreshed, the identification information and the position information of the target reuse object contained in the reuse pool can be deleted, the target reuse object can be deleted at the same time, and the identification information of the common reuse object and the common reuse object can also be deleted. That is, after reloading the target list, the reuse pool can be emptied so that the reuse pool is reused without new creation for the next time the instruction is refreshed.
In the embodiment of the disclosure, after the target list is reloaded, the reuse pool is emptied, so that the reuse pool can be reused while the memory occupation is reduced.
In a possible implementation manner, when the content displayed in the target reuse object is a dynamic picture, the step S101, after receiving the refresh instruction for the target list, stores the identification information and the location information of the target reuse object browsed by the user in the target list into a reuse pool created in advance, may include:
after a refresh command for a target list is received, acquiring identification information of a target reuse object and the time progress of a user watching a dynamic picture in the target reuse object currently, and determining the time progress as position information of the target reuse object;
and storing the identification information and the position information of the target reuse object in the target list into a pre-established reuse pool.
For example, the dynamic picture may include an animation, a video, and the like, and accordingly, when the content displayed in the target reuse object is the dynamic picture, the position information of the target reuse object may indicate a time progress of the user currently watching the dynamic picture in the target reuse object. As shown in fig. 1, when the content displayed in the target reuse object is a video picture displayed by the reuse object identified by numeral 3, the position information of the target reuse object is the time progress of the user currently watching the video picture in the target reuse object.
Furthermore, after receiving a refresh command for the target list, the electronic device may obtain the identification information of the target reuse object and the time schedule of the user currently viewing the dynamic picture in the target reuse object, and further store the identification information and the time schedule (location information) of the target reuse object in the target list into a reuse pool created in advance.
In the embodiment of the disclosure, when the content displayed in the target reuse object is a dynamic picture, after a refresh instruction for the target list is received, the identification information and the time progress of the target reuse object in the target list are stored in a pre-created reuse pool, so that when the target list is reloaded, the target reuse object with time progress information can be accurately acquired from the reuse pool, and the target reuse object is loaded in the target list, so that a user can continuously watch the dynamic picture in the target reuse object from the last watching progress. Illustratively, the dynamic picture is an animation displayed in the target reuse object, the total duration of the animation is 10 seconds, and the time progress of a user currently watching the animation in the target reuse object is 3 seconds, when the target list is reloaded, the target reuse object is obtained from the reuse pool according to the identification information and the position information of the target reuse object, and the animation content beginning at the 4 th second in the target reuse object is loaded in the target list.
In a possible implementation manner, when the content displayed in the target reuse object is a static screen, the step S101, after receiving a refresh instruction for the target list, stores the identification information and the location information of the target reuse object browsed by the user in the target list into a reuse pool created in advance, may include:
after a refreshing instruction for a target list is received, acquiring identification information of a target reuse object and a visual focus position of a static picture in the target reuse object currently browsed by a user, and determining the visual focus position as position information of the target reuse object;
and storing the identification information and the position information of the target reuse object in the target list into a pre-established reuse pool.
For example, the static image may include a static page, an image, a text, and the like, and accordingly, when the content displayed in the target reuse object is the static image, the position information of the target reuse object may indicate a visual focus position of the static image in the target reuse object currently browsed by the user. As shown in fig. 1, when the content displayed in the target reuse object is the text or text and image displayed by the reuse object identified by the number 1 or 2, the position information of the target reuse object is the visual focus position of the static picture in the target reuse object currently browsed by the user.
Furthermore, after receiving a refresh command for the target list, the electronic device may obtain the identification information of the target reuse object and the visual focus position of the static picture in the target reuse object currently browsed by the user, and further store the identification information and the visual focus position (position information) of the target reuse object in the target list into a reuse pool created in advance. For example, the visual focus position of the static picture in the current browsing target reuse object of the user may be obtained by a camera of the electronic device, or a central point of a current screen of the electronic device, a touch position of a mouse or a touch screen of the user may be determined as the visual focus position of the static picture in the current browsing target reuse object of the user.
In the embodiment of the disclosure, when the content displayed in the target reuse object is a static picture, after a refresh instruction for the target list is received, the identification information and the visual focus position of the target reuse object in the target list are stored in a pre-created reuse pool, so that when the target list is reloaded, the target reuse object with the visual focus position information can be accurately acquired from the reuse pool, and the target reuse object is loaded in the target list, so that a user can continue to browse the static picture in the target reuse object from the position where the visual focus position is browsed last time.
Illustratively, a static picture is a static page displayed by the target reuse object, or may be full-screen display of a static page in the target reuse object, and the like, when the static page is full-screen displayed, the static page includes 3 pages of text plus image content, and a visual focus position of a static page currently browsing the target reuse object is a middle part of a page 2, when the target list is reloaded, the target reuse object is obtained from the reuse pool according to identification information and position information of the target reuse object, and the static page content behind the middle part of the page 2 in the target reuse object is loaded in the target list. Or the static picture is a plurality of arranged and displayed images, the images comprise a plurality of sub-images displayed in 3 rows and 3 columns, the visual focus position of the image in the target reuse object browsed by the user currently is the 3 rd sub-image in the 1 st row, when the target list is reloaded, the target reuse object is obtained from the reuse pool according to the identification information and the position information of the target reuse object, and the image content behind the 1 st sub-image in the 2 nd row in the target reuse object is loaded in the target list.
Referring to fig. 3, fig. 3 is a schematic flowchart of another page list refreshing method according to an embodiment of the present disclosure, including the following steps:
s201, after a refreshing instruction aiming at the target list is received, the identification information and the position information of the target reuse object browsed by the user in the target list are stored in a pre-established reuse pool.
And the position information of the target reuse object represents browsing position information of the user aiming at the target reuse object. The refresh command contains identification information of an object to be loaded, and the reuse pool also contains identification information of a common reuse object which does not contain position information.
S202, when the target list is reloaded, a reuse pool is inquired for each object to be loaded, whether identification information which is the same as the identification information of the object to be loaded exists in the reuse pool is judged, and if the identification information exists, the identification information of the candidate reuse object is obtained.
S203, judging whether the position information corresponding to the identification information of the candidate reuse object exists in the reuse pool.
S204, position information corresponding to the identification information of the candidate reuse object exists in the reuse pool, and the candidate reuse object is loaded in the target list according to the position information of the candidate reuse object.
S205, if the position information corresponding to the identification information of the candidate reuse object does not exist in the reuse pool, whether the identification information of the candidate reuse object corresponds to the candidate reuse object is determined.
S206, the identification information of the candidate reuse object corresponds to the candidate reuse object, a target candidate reuse object is determined from the candidate reuse objects corresponding to the identification information of the candidate reuse object, and the target candidate reuse object is loaded in the target list.
S207, if the position information corresponding to the identification information of the candidate reuse object does not exist in the reuse pool, or the identification information of the candidate reuse object does not correspond to the candidate reuse object, an object to be loaded is created, and the object to be loaded is loaded in the target list.
In the embodiment of the disclosure, after a refresh instruction for a target list is received, identification information and position information of a target reuse object browsed by a user in the target list are stored in a reuse pool created in advance, and then when the target list is reloaded, the target reuse object browsed by the user displayed last time is accurately selected from the reuse pool according to the identification information and the position information of the target reuse object browsed by the user stored in the reuse pool, and content in the target reuse object can be continuously displayed according to the position information of the target reuse object, so that smooth viewing of the content in the target reuse object by the user is ensured, and user experience is improved. And under the condition that no reusable objects which can be reused exist in the reuse pool, a new object to be loaded is created, the number of the objects to be loaded is reduced, and resources are saved.
As an alternative of the embodiment of the present disclosure, when a refresh instruction is received each time, a different reuse identifier may be set in an incremental manner for each object in the target list, and the different reuse identifier is stored in the reuse pool, so that when the target list is reloaded, an object with the latest reuse identifier is taken for loading, and it is ensured as much as possible that the taken object is also an object browsed last time. However, in the alternative, for a target list with a large number of presentation style types, more contents need to be stored in the reuse pool, so that the memory consumption of the electronic device is large.
As another alternative of the embodiment of the present disclosure, when the content displayed in the page list is an animation, each time the refresh command is temporarily set to the designated position for playing. However, in practice, animation is implemented in various manners, such as an implementation manner of an electronic device system itself, or an animation implemented by lottiee, so that the implementation by recording an animation playing position is relatively complex and is not easy to implement.
An embodiment of the present disclosure further provides a page list refreshing apparatus, referring to fig. 4, the apparatus includes:
an information storage module 301, configured to store, after receiving a refresh instruction for a target list, identification information and location information of a target reuse object browsed by a user in the target list into a reuse pool created in advance, where the location information of the target reuse object indicates browsing location information of the user for the target reuse object;
an object loading module 302, configured to load the target reuse object in the target list based on the identification information and the location information of the target reuse object in the reuse pool when the target list is reloaded.
In the embodiment of the disclosure, after a refresh instruction for a target list is received, identification information and position information of a target reuse object browsed by a user in the target list are stored in a pre-created reuse pool, and then when the target list is reloaded, the target reuse object is loaded in the target list based on the identification information and the position information of the target reuse object in the reuse pool, so that when a display picture is a dynamic picture, even if the target list of the display picture is refreshed in real time, the display of the picture can be continued from the displayed position of the dynamic picture, and smooth playing of animation is realized.
In a possible implementation manner, the refresh instruction includes identification information of an object to be loaded, the reuse pool further includes identification information of a common reuse object that does not include location information, and the object loading module includes:
the query submodule is used for querying the reuse pool aiming at each object to be loaded, judging whether the reuse pool has identification information which is the same as the identification information of the object to be loaded, and if so, obtaining the identification information of the candidate reuse object;
the judgment submodule is used for judging whether position information corresponding to the identification information of the candidate reuse object exists in the reuse pool or not;
and the first loading submodule is used for loading the candidate reuse object in the target list according to the position information of the candidate reuse object when the judging submodule judges that the position information corresponding to the identification information of the candidate reuse object exists in the reuse pool.
In a possible implementation manner, the object loading module further includes:
the determination submodule is used for determining whether the identification information of the candidate reuse object corresponds to the candidate reuse object or not when the judgment submodule judges that the position information corresponding to the identification information of the candidate reuse object does not exist in the reuse pool;
and the second loading submodule is used for determining a target candidate reuse object from the candidate reuse objects corresponding to the identification information of the candidate reuse object and loading the target candidate reuse object in the target list when the determination submodule determines that the identification information of the candidate reuse object corresponds to the candidate reuse object.
In a possible implementation manner, the object loading module further includes:
and the third loading submodule is used for creating an object to be loaded and loading the object to be loaded in the target list under the condition that the identification information which is the same as the identification information of the object to be loaded does not exist in the reuse pool or the identification information of the candidate reuse object does not correspond to the candidate reuse object.
In a possible embodiment, the above apparatus further comprises:
and the deleting module is used for deleting the identification information and the position information of the target reuse object contained in the reuse pool after the object loading module executes the reloading of the target list.
In a possible implementation manner, when the content displayed in the target reuse object is a dynamic picture, the information storage module is specifically configured to:
after a refresh command for a target list is received, acquiring identification information of a target reuse object and the time progress of a user watching a dynamic picture in the target reuse object currently, and determining the time progress as position information of the target reuse object;
and storing the identification information and the position information of the target reuse object in the target list into a pre-established reuse pool.
In a possible implementation manner, when the content displayed in the target reuse object is a static picture, the information storage module is specifically configured to:
after a refreshing instruction for a target list is received, acquiring identification information of a target reuse object and a visual focus position of a static picture in the target reuse object currently browsed by a user, and determining the visual focus position as position information of the target reuse object;
and storing the identification information and the position information of the target reuse object in the target list into a pre-established reuse pool.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
The present disclosure provides an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method of any one of the present disclosure.
The present disclosure provides a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of the present disclosure.
A computer program product comprising a computer program that when executed by a processor implements the method of any one of the present disclosure.
FIG. 5 shows a schematic block diagram of an example electronic device 400 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 5, the apparatus 400 includes a computing unit 401 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)402 or a computer program loaded from a storage unit 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
A number of components in device 400 are connected to I/O interface 405, including: an input unit 406 such as a keyboard, a mouse, or the like; an output unit 407 such as various types of displays, speakers, and the like; a storage unit 408 such as a magnetic disk, optical disk, or the like; and a communication unit 409 such as a network card, modem, wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
Computing unit 401 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 401 performs the various methods and processes described above, such as the page list refresh method. For example, in some embodiments, the page list refresh method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 408. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 400 via the ROM 402 and/or the communication unit 409. When the computer program is loaded into RAM 403 and executed by computing unit 401, one or more steps of the page list refresh method described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to perform the page list refresh method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), 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 foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (17)

1. A page list refreshing method comprises the following steps:
after a refreshing instruction for a target list is received, storing identification information and position information of a target reuse object browsed by a user in the target list into a pre-established reuse pool, wherein the position information of the target reuse object represents browsing position information of the user for the target reuse object;
when the target list is reloaded, the target reuse object is loaded in the target list based on the identification information and the position information of the target reuse object in the reuse pool.
2. The method of claim 1, wherein the refresh command includes identification information of an object to be loaded, and the reuse pool further includes identification information of a common reuse object that does not include location information, wherein the loading the target reuse object in the target list based on the identification information and the location information of the target reuse object in the reuse pool comprises:
inquiring the reuse pool aiming at each object to be loaded, judging whether the reuse pool has identification information which is the same as the identification information of the object to be loaded, and if so, obtaining the identification information of the candidate reuse object;
judging whether position information corresponding to the identification information of the candidate reuse object exists in the reuse pool;
and if so, loading the candidate reuse object in the target list according to the position information of the candidate reuse object.
3. The method of claim 2, further comprising:
if the position information corresponding to the identification information of the candidate reuse object does not exist in the reuse pool, determining whether the identification information of the candidate reuse object corresponds to the candidate reuse object;
if yes, determining a target candidate reuse object from the candidate reuse objects corresponding to the identification information of the candidate reuse object, and loading the target candidate reuse object in the target list.
4. The method of claim 3, further comprising:
and under the condition that the identification information of the object to be loaded does not exist in the reuse pool, or the identification information of the candidate reuse object does not correspond to the candidate reuse object, creating the object to be loaded, and loading the object to be loaded in the target list.
5. The method of any of claims 1-4, further comprising, after reloading the list of targets:
and deleting the identification information and the position information of the target reuse object contained in the reuse pool.
6. The method according to any one of claims 1 to 4,
when the content displayed in the target reuse object is a dynamic picture, after receiving a refresh instruction for a target list, storing the identification information and the position information of the target reuse object browsed by a user in the target list into a pre-established reuse pool, including:
after a refreshing instruction for a target list is received, acquiring identification information of the target reuse object and the current time progress of a user watching a dynamic picture in the target reuse object, and determining the time progress as the position information of the target reuse object;
and storing the identification information and the position information of the target reuse object in the target list into a pre-established reuse pool.
7. The method according to any one of claims 1 to 4,
when the content displayed in the target reuse object is a static picture, after receiving a refresh instruction for a target list, storing the identification information and the position information of the target reuse object browsed by a user in the target list into a pre-established reuse pool, including:
after a refreshing instruction for a target list is received, acquiring identification information of the target reuse object, and a visual focus position of a static picture in the target reuse object currently browsed by a user, and determining the visual focus position as position information of the target reuse object;
and storing the identification information and the position information of the target reuse object in the target list into a pre-established reuse pool.
8. A page list refresh apparatus comprising:
the information storage module is used for storing identification information and position information of a target reuse object browsed by a user in a target list into a pre-established reuse pool after a refreshing instruction aiming at the target list is received, wherein the position information of the target reuse object represents browsing position information of the user aiming at the target reuse object;
and the object loading module is used for loading the target reuse object in the target list based on the identification information and the position information of the target reuse object in the reuse pool when the target list is reloaded.
9. The apparatus according to claim 8, wherein the refresh command includes identification information of an object to be loaded, and the reuse pool further includes identification information of a common reuse object that does not include location information, wherein the object loading module includes:
the query submodule is used for querying the reuse pool aiming at each object to be loaded, judging whether the reuse pool has identification information which is the same as the identification information of the object to be loaded, and if so, obtaining the identification information of a candidate reuse object;
the judgment submodule is used for judging whether the position information corresponding to the identification information of the candidate reuse object exists in the reuse pool or not;
a first loading sub-module, configured to load the candidate reuse object in the target list according to the location information of the candidate reuse object when the determining sub-module determines that the reuse pool has location information corresponding to the identification information of the candidate reuse object.
10. The apparatus of claim 9, the object loading module, further comprising:
a determining submodule, configured to determine whether the identification information of the candidate reuse object corresponds to the candidate reuse object when the judging submodule judges that the position information corresponding to the identification information of the candidate reuse object does not exist in the reuse pool;
and the second loading submodule is used for determining a target candidate reuse object from the candidate reuse objects corresponding to the identification information of the candidate reuse object and loading the target candidate reuse object in the target list when the determination submodule determines that the identification information of the candidate reuse object corresponds to the candidate reuse object.
11. The apparatus of claim 10, the object loading module, further comprising:
and the third loading submodule is used for creating an object to be loaded and loading the object to be loaded in the target list under the condition that the identification information of the object to be loaded does not exist in the reuse pool or the identification information of the candidate reuse object does not correspond to the candidate reuse object.
12. The apparatus of any of claims 8-11, further comprising:
a deleting module, configured to delete the identification information and the location information of the target reuse object included in the reuse pool after the object loading module reloads the target list.
13. The apparatus of any one of claims 8-11,
when the content displayed in the target reuse object is a dynamic picture, the information storage module is specifically configured to:
after a refreshing instruction for a target list is received, acquiring identification information of the target reuse object and the current time progress of a user watching a dynamic picture in the target reuse object, and determining the time progress as the position information of the target reuse object;
and storing the identification information and the position information of the target reuse object in the target list into a pre-established reuse pool.
14. The apparatus of any one of claims 8-11,
when the content displayed in the target reuse object is a static picture, the information storage module is specifically configured to:
after a refreshing instruction for a target list is received, acquiring identification information of the target reuse object, and a visual focus position of a static picture in the target reuse object currently browsed by a user, and determining the visual focus position as position information of the target reuse object;
and storing the identification information and the position information of the target reuse object in the target list into a pre-established reuse pool.
15. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
16. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-7.
17. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-7.
CN202111219217.8A 2021-10-20 2021-10-20 Page list refreshing method and device, electronic equipment and storage medium Pending CN113961843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111219217.8A CN113961843A (en) 2021-10-20 2021-10-20 Page list refreshing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111219217.8A CN113961843A (en) 2021-10-20 2021-10-20 Page list refreshing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113961843A true CN113961843A (en) 2022-01-21

Family

ID=79465600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111219217.8A Pending CN113961843A (en) 2021-10-20 2021-10-20 Page list refreshing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113961843A (en)

Similar Documents

Publication Publication Date Title
CN107315580B (en) User interface component processing method, device and equipment and readable medium
CN109032722B (en) Method, device, equipment and medium for updating display effect of UI component
US10339899B2 (en) Character string display method and apparatus
US11924485B2 (en) Method and system of displaying a video
CN113138827B (en) Method, device, electronic equipment and medium for displaying data
CN110007829B (en) Content display method, device, terminal and storage medium
CN111770375A (en) Video processing method and device, electronic equipment and storage medium
CN112464120A (en) Data visualization display method and device, electronic equipment and storage medium
CN113655895B (en) Information recommendation method and device applied to input method and electronic equipment
CN114168793A (en) Anchor display method, device, equipment and storage medium
CN112581589A (en) View list layout method, device, equipment and storage medium
CN116866661A (en) Video prerendering method, device, equipment and storage medium
CN111857902A (en) Application display method, device, equipment and readable storage medium
US20130229440A1 (en) State aware tile visualization
CN111724226A (en) Information display method and system, electronic equipment and storage medium
CN107479960B (en) Method and device for displaying unit view
CN113961843A (en) Page list refreshing method and device, electronic equipment and storage medium
CN107450792B (en) Information processing method and mobile terminal
CN113901033A (en) Data migration method, device, equipment and medium
CN113656041A (en) Data processing method, device, equipment and storage medium
CN113760162A (en) Method, apparatus, device and storage medium for displaying information
CN113330412A (en) Method for redrawing notes, writing equipment and storage medium
US11330338B2 (en) Method and system of displaying video comments, computing device, and readable storage medium
CN111984857A (en) Information pushing method and device, electronic equipment and storage medium
US9996505B2 (en) Managing the display of electronic documents having embedded graphical elements

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