CN112887376A - feed stream de-duplication method, device, system, computer equipment and storage medium - Google Patents

feed stream de-duplication method, device, system, computer equipment and storage medium Download PDF

Info

Publication number
CN112887376A
CN112887376A CN202110048655.6A CN202110048655A CN112887376A CN 112887376 A CN112887376 A CN 112887376A CN 202110048655 A CN202110048655 A CN 202110048655A CN 112887376 A CN112887376 A CN 112887376A
Authority
CN
China
Prior art keywords
feed stream
page
information content
sliding window
pages
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110048655.6A
Other languages
Chinese (zh)
Other versions
CN112887376B (en
Inventor
陈酌灼
洪慧君
罗智慧
张栩华
邹时容
张雨
陈桓
张志亮
杨荣霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Southern Power Grid Big Data Service Co ltd
Guangzhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Guangzhou Suinengtong Energy Technology Co ltd
Guangzhou Power Supply Bureau of Guangdong Power Grid 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 Guangzhou Suinengtong Energy Technology Co ltd, Guangzhou Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Guangzhou Suinengtong Energy Technology Co ltd
Priority to CN202110048655.6A priority Critical patent/CN112887376B/en
Publication of CN112887376A publication Critical patent/CN112887376A/en
Application granted granted Critical
Publication of CN112887376B publication Critical patent/CN112887376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a feed stream deduplication method, device, system, computer equipment and storage medium. The method comprises the following steps: monitoring the position of a sliding window in feed stream application software when the sliding window slides downwards in real time; determining two adjacent feed flow pages covered by the current sliding window according to the position; and synchronously rendering the information content corresponding to the two adjacent feed stream pages. By adopting the method, the problem of information repetition in the same visual field can be completely solved, and the uniqueness and the efficiency of pushing the information are improved.

Description

feed stream de-duplication method, device, system, computer equipment and storage medium
Technical Field
The present application relates to the field of information flow technologies, and in particular, to a method, an apparatus, a system, a computer device, and a storage medium for removing duplicate of a feed stream.
Background
With the development of internet technology, internet technology has penetrated into various industries. For example, the existing integrated energy industry has fully embraced the C-end service, and more information internet supporting technologies such as e-commerce and feed streams (information streams which are continuously updated and present to the user content) are introduced. By introducing technologies such as E-commerce and feed flow, the E-commerce information and commodity popularization can be realized through the feed flow while the E-commerce is realized.
At present, most of information pushed through feed streams is loaded and pushed by pages in front-end independent paging according to the sequence of the heat degree of the information calculated by a background. However, the whole page turning cannot be completely realized because the feed stream information is browsed at the front end by a downslide method, and the background heat is also refreshed periodically. Therefore, when the popularity of a certain message decreases during the downslide browsing process of the user, the message is easily displayed in the upper page and the lower page repeatedly and appears in the visual field of the user, so that the uniqueness and the efficiency of pushing the message are reduced.
To solve this problem, the engine refresh interval is conventionally calculated by increasing the heat. However, the time interval of the conventional pull-up refresh can only reduce the repetition probability and cannot completely solve the problem of the repetition.
Disclosure of Invention
In view of the above, there is a need to provide a method, apparatus, system, computer device and storage medium for feed stream deduplication that is completely free of duplication.
A feed stream deduplication method, the method comprising:
monitoring the position of a sliding window in feed stream application software when the sliding window slides downwards in real time;
determining two adjacent feed flow pages covered by the current sliding window according to the position;
and synchronously rendering the information content corresponding to the two adjacent feed stream pages.
In one embodiment, the synchronously rendering the information contents corresponding to the two adjacent feed stream pages includes:
requesting to obtain information contents corresponding to the two adjacent feed stream pages, wherein the two adjacent feed stream pages comprise a first feed stream page and a second feed stream page corresponding to a next page;
comparing the information content of the first feed flow paging acquired by the last request with the information content of the second feed flow paging acquired by the current request;
when the information content is determined to be repeated through comparison, synchronously rendering the information content of the first feed flow page and the information content of the second feed flow page, which are acquired by the current request;
and when the information content is not repeated through comparison, rendering the information content of the second feed stream paging acquired by the current request.
In one embodiment, the requesting to obtain the information content corresponding to the two adjacent feed stream pages includes:
acquiring the displayable information quantity of a feed stream page;
determining a content request starting position and a content request ending position according to the information quantity and the determined two adjacent feed stream pagings;
and acquiring the information content corresponding to the two adjacent feed stream pages according to the content request starting position and the content request ending position request.
In one embodiment, the obtaining of the displayable information amount of the feed stream page includes:
determining the size of the sliding window according to the size of a display screen of equipment, wherein the size of the sliding window is equal to that of the display screen, and the size of the feed flow page is equal to that of the sliding window;
and determining the displayable information quantity of the feed stream pages according to the size of the sliding window and the display height of the single information content in the feed stream pages.
In one embodiment, the determining two adjacent feed stream pages currently covered by the sliding window according to the position includes:
after the sliding window slides down, obtaining a cached paging identifier, wherein the paging identifier is a paging identifier of a page at the bottom of the sliding window;
and determining two adjacent feed flow pages currently covered by the sliding window according to the paging identifier and the last paging identifier corresponding to the paging identifier.
A feed stream de-duplication apparatus, the apparatus comprising:
the monitoring module is used for monitoring the position of the sliding window in the feed stream application software when the sliding window slides down in real time;
a determining module, configured to determine two adjacent feed stream pages covered by the current sliding window according to the position;
and the rendering module is used for synchronously rendering the information content corresponding to the two adjacent feed stream pagings.
A feed stream deduplication system, the system comprising:
the terminal is used for monitoring the position of the sliding window in the feed stream application software when the sliding window slides down in real time; determining two adjacent feed flow pages covered by the current sliding window according to the position; requesting a server to acquire information contents corresponding to the two adjacent feed stream pages;
and the server is used for returning the information content corresponding to the two adjacent feed stream pagings to the terminal for synchronous rendering according to the request.
In one embodiment, the two adjacent feed stream pages include a first feed stream page and a second feed stream page corresponding to a next page; the server is further configured to:
when the terminal requests to acquire the information content corresponding to the two adjacent feed flow pages is received, comparing the information content of the first feed flow page acquired by the terminal last request with the information content of the second feed flow page acquired by the terminal currently request;
when the information content is determined to be repeated through comparison, the information content of the first feed flow page, which is obtained by the current request, and the information content of the second feed flow page, which is obtained by the current request, are simultaneously returned so that the terminal carries out synchronous rendering;
and when the comparison determines that the information content is not repeated, independently returning the information content of the second feed stream paging acquired by the current request to the terminal for rendering.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the feed stream deduplication method of any one of the above when the computer program is executed.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the feed stream deduplication method of any of the preceding claims.
According to the feed stream de-duplication method, the device, the system, the computer equipment and the storage medium, after two adjacent feed stream pages currently covered by the sliding window are determined by monitoring the position of the sliding window of the equipment, the information contents of the two adjacent feed stream pages are synchronously rendered. Because two adjacent feed stream pages covered by the sliding window are rendered synchronously, namely, the information contents of the current page and the previous page are refreshed simultaneously, even if a certain information content is displayed in the next page due to heat reduction, the information content can be ensured not to be displayed in the previous page, so that the same information content can not be repeatedly displayed in the upper page and the lower page and can be simultaneously displayed in the visual field of a user when the user slides down to browse, the problem of information repetition in the same visual field is completely solved, and the uniqueness and the efficiency of pushing information are improved.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating a feed stream deduplication process according to one embodiment;
FIG. 2 is a flowchart illustrating a step of synchronously rendering information content corresponding to two adjacent feed stream pages in one embodiment;
FIG. 3 is a schematic diagram of a feed stream deduplication system in one embodiment;
FIG. 4 is a block diagram of a feed stream deduplication apparatus in one embodiment;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, a feed stream deduplication method is provided, which is described by taking an example that the method is applied to a terminal, and includes the following steps:
and S102, monitoring the position of the sliding window in the feed stream application software when the sliding window slides down in real time.
The feed stream application software refers to information pushed through a feed stream, and dynamic application software, such as micro-blogging, trembling and the like. The sliding window is a flow control mechanism, and the size of the sliding window is the same as that of the terminal display screen, and the area capable of displaying information content on the terminal display screen can be understood as the area where the sliding window is located. The sliding window downslide refers to a process of causing the sliding window to display subsequent information contents by sliding, and is actually a process of sliding up the information contents displayed on the display screen.
Specifically, when the feed stream application software is opened for use, the terminal monitors whether the sliding window slides down in real time. And when the sliding window is determined to slide downwards, determining the position of the sliding window after sliding downwards. In this embodiment, the page identifier of the page at the bottom of the sliding window is recorded and updated in the cache in real time, so that the position of the sliding window when sliding down can be monitored by obtaining the page identifier of the cache.
And step S104, determining two adjacent feed stream pages covered by the current sliding window according to the position.
Specifically, the terminal determines two adjacent feed flow pages currently covered by the sliding window according to the monitored position, namely according to the obtained page identifier of the feed flow page at the bottom position of the sliding window.
And step S106, synchronously rendering the information content corresponding to the two adjacent feed stream pages.
Specifically, after the terminal determines that two adjacent feed stream pages currently covered by the sliding window are paged, the terminal requests to acquire information contents corresponding to the two adjacent feed stream pages. That is, two adjacent feed stream pages include a first feed stream page and a second feed stream page corresponding to a next page, and information content corresponding to the first feed stream page and information content corresponding to the second feed stream page are simultaneously obtained. Then, the terminal synchronously renders and displays the information content of the two adjacent feed stream pages. That is, after the sliding window slides down, the content of the next feed stream page needs to be obtained, and the content of the previous feed stream page is simultaneously obtained and re-rendered and refreshed, so that even if the information content changes the sequence due to the popularity, the information content is not repeatedly displayed in the same field of view due to re-rendering and refreshing.
According to the feed stream de-duplication method, after the two adjacent feed stream pagings currently covered by the sliding window are determined by monitoring the position of the sliding window of the equipment, the information contents of the two adjacent feed stream pagings are synchronously rendered. Because two adjacent feed stream pages covered by the sliding window are rendered synchronously, namely, the information contents of the current page and the previous page are refreshed simultaneously, even if a certain information content is displayed in the next page due to heat reduction, the information content can be ensured not to be displayed in the previous page, so that the same information content can not be repeatedly displayed in the upper page and the lower page and can be simultaneously displayed in the visual field of a user when the user slides down to browse, the problem of information repetition in the same visual field is completely solved, and the uniqueness and the efficiency of pushing information are improved.
In one embodiment, as shown in fig. 2, step S106 includes:
step S202, requesting to obtain information contents corresponding to two adjacent feed stream pages, wherein the two adjacent feed stream pages comprise a first feed stream page and a second feed stream page corresponding to a next page.
Specifically, the terminal sends an acquisition request to the server, and acquires the information content corresponding to the determined two adjacent feed stream pages from the server through the acquisition request.
Step S204, comparing the information content of the first feed flow page acquired by the last request with the information content of the second feed flow page acquired by the current request.
Step S206, when the comparison determines that the information content is repeated, the information content of the first feed stream paging acquired by the current request and the information content of the second feed stream paging acquired by the current request are synchronously rendered.
And step S208, when the comparison determines that the information content is not repeated, rendering the information content of the second feed stream paging acquired by the current request.
The last request acquisition refers to the current request acquisition corresponding to the previous request.
Specifically, the first feed stream page of the two adjacent feed pages is the last page, that is, the feed stream page for which information content is requested to be obtained and rendered is displayed. The second feed stream page is the next page, that is, the next page is gliding, and a new feed stream page which needs to acquire the corresponding information content for rendering and displaying appears. Therefore, after the terminal requests to acquire the information content of two adjacent feed pages at present, the information content of the first feed flow page acquired at the last request is compared with the information content of the second feed flow page acquired at the present request, and whether the information content is repeated is judged through comparison. If the information content is repeated, the information content is reordered between the last request acquisition and the current request acquisition due to the hot refreshing, and the information content which is originally displayed in the previous page due to the hot display is in the information content corresponding to the next page due to the hot display. Therefore, since the sliding window covers the previous page and the next page at the same time, the extreme case of the duplication of the information content of the previous page and the next page can be avoided in order to only render the information content of the second feed stream page. In this embodiment, the information content of the first feed stream page currently requested to be acquired and the information content of the second feed stream page currently requested to be acquired are rendered and displayed synchronously. If the comparison and judgment result shows that the information content is not repeated, the extreme condition that the information content of the previous page is reduced to the next page does not occur between the last request acquisition and the current request acquisition no matter whether the heat is refreshed or not, and only the information content of the second feed stream page acquired by the current request can be directly rendered, so that the rendering resource is reduced, and the rendering speed is increased.
For example, as shown in FIG. 3, a schematic diagram of a feed stream repeat display is provided. Referring to fig. 3, it can be requested to determine that page 1 (first feed flow page) shows five dynamic states of dynamic 1 to dynamic 5 according to the hot degree of the goods. Then, when the user slides up the dynamic state to slide down the sliding window to cover page 1 and page 2 (second feed stream page), the hot refreshing of the goods at this time has already made the hot degree of dynamic 5 and dynamic 3 drop to the information content corresponding to page 2. Therefore, if only the information content corresponding to page 2 is requested to be rendered, as is conventional, then it is easy to make the dynamic 3 and dynamic 5 displayed in fig. 3 repeatedly displayed in page 1 and page 2. And the user's field of view is the content within the range of the sliding window, so the two dynamics, dynamic 3 and dynamic 5, within the user's field of view at this time are repeated. Therefore, in order to avoid the duplication problem, the present embodiment requests to obtain the information contents of page 2 and page 1 simultaneously when the sliding window slides down to page 2. The information content of the page 1, namely, dynamic 1 to dynamic 5, obtained by the last request is compared with the content of the page 2, namely, dynamic 5, dynamic 3, dynamic 6 to dynamic 8, obtained by the current request. If the comparison is determined to be repeated, the currently acquired information content of the page 1 and the information content of the page 2 are rendered and displayed at the same time, and the original dynamic 5 and dynamic 3 of the page 1 are lowered into the page 2, so that the dynamic 5 and dynamic 3 are only displayed in the page 2 after the rendering and displaying at the same time, and the positions of the original dynamic 5 and dynamic 3 displayed in the page 1 should be other dynamic states with raised heat. Thereby, the problem of dynamic repetition within the field of view is avoided.
In the embodiment, the original information content of the first feed stream page and the currently acquired information content of the second feed stream page are synchronously rendered when being compared and determined to be repeated, and the information content of the second feed stream page is independently rendered without being repeated, so that the rendering efficiency is improved while the uniqueness is prevented from being repeatedly improved.
In one embodiment, the requesting of obtaining information content corresponding to two adjacent feed stream pages includes: acquiring the displayable information quantity of a feed stream page; determining a content request starting position and a content request ending position according to the information quantity and the determined adjacent two feed stream pages; and acquiring information contents corresponding to two adjacent feed stream pages according to the content request starting position and the content request ending position.
The information quantity refers to the quantity of information contents that can be displayed in one feed stream page, that is, the quantity of information contents that can be displayed in the range of the display screen and the sliding window of a terminal. The content request start position and the content request end position are the start position and the end position of the request for obtaining the information content.
Specifically, when a terminal requests to acquire information content corresponding to two adjacent feed stream pages, the number of information that can be displayed by one feed stream page is determined first. The information quantity is determined according to the size of the feed stream page and the size of the displayed information content. For example, if a feed stream page is 10 high and a content occupies 2 high, a feed stream page can display 5 contents, and the amount of information is 5. Then, the content request starting position and the content request ending position are determined according to the information quantity and the determined two adjacent feed stream pages. For example, the information amount is 5, and when two adjacent feed stream pages are assumed, that is, the first feed stream page and the second feed stream page are the second feed stream page and the third feed stream page, respectively, the content request start position is the sixth information content, and the content request end position is the fifteenth information content. And finally, after the starting position and the ending position of the request are determined, generating an acquisition request carrying the starting position and the ending position of the content request, sending the acquisition request to the server, and acquiring the information content of the two adjacent feed stream pagings from the server through the acquisition request. When the server acquires the acquisition request, the server acquires the requested information content from the information content which is sequenced according to the popularity and returns the information content to the terminal according to the content request starting position and the content request ending position which are carried in the request.
In the embodiment, the acquisition request is generated according to the amount of the information which can be displayed and the determined adjacent feed flow pages to acquire the information content from the server, so that the information content matched with the amount of the information of the feed flow pages can be requested, and the acquisition accuracy is improved.
In one embodiment, obtaining the amount of information that a feed stream page can display includes: determining the size of a sliding window according to the size of a display screen of the equipment, wherein the size of the sliding window is equal to that of the display screen, and the size of a feed flow page is equal to that of the sliding window; and determining the amount of information which can be displayed by the feed stream page according to the size of the sliding window and the display height of the single information content in the feed stream page.
The display height of a single information content refers to the height occupied by the display of one information content. The display height of the information content can be adjusted according to different feed stream application software and requirements.
Specifically, the terminal obtains the size of the sliding window according to the size of the display screen recorded by the device parameters of the terminal. Then, the amount of information that can be displayed by the feed stream page is determined according to the size of the sliding window and the display height of the individual information content. Since the size of the feed stream page is equal to the size of the sliding window, that is, determining the amount of information that can be displayed by the feed stream page according to the size of the sliding window and the display height of the single information content is equivalent to determining the amount of information that can be displayed by the feed stream page according to the size of the feed stream page and the display height of the single information content. For example, if the page height of one feed stream page is 10 and the height occupied by one content is 2, one feed stream page can display 5 contents, and the information amount is 5.
In this embodiment, after the size of the display screen determined by the device parameter is obtained and the size of the sliding window is obtained, the amount of information that can be displayed is determined, and the amount of information that matches the terminal accurately can be obtained.
In one embodiment, step S104 includes: after the sliding window slides down, obtaining a cached paging identifier, wherein the paging identifier is a paging identifier of a page at the bottom of the sliding window; and determining two adjacent feed flow pages currently covered by the sliding window according to the page identifier and the last page identifier corresponding to the page identifier.
The page identifier is used to uniquely identify the corresponding feed stream page, and the preferred identifier in this embodiment is a serial number. I.e. different feed stream pages are identified by number.
Specifically, by caching the page identifier of the page where the bottom of the sliding window is currently located in real time, for example, when the bottom of the sliding window is currently located in the third feed stream page, the cache records that the page identifier is three. And when the bottom of the sliding window slides to the fourth page feed flow paging, the cache simultaneously updates the recorded paging identification to four. Therefore, when the sliding window is monitored to slide downwards, the position of the sliding window when sliding downwards is determined according to the page identifier recorded in the cache. That is, the currently cached page id is obtained. Then, since the sliding window slides down corresponding to the information content in the sliding window, the feed stream page covered by the sliding window is necessarily the previous page of the bottom corresponding page. Therefore, two adjacent feed stream pages currently covered by the sliding window are determined according to the page identifier and the last page identifier corresponding to the page identifier. For example, when the bottom of the sliding window is currently located in the third feed stream page, that is, the cached page identifier is three, and the last page identifier corresponding to the three is two according to the sorting of the page numbers, it may be determined that the two adjacent feed stream pages currently covered by the sliding window are the second feed stream page and the third feed stream page.
In this embodiment, the adjacent feed stream pages currently covered by the sliding window can be accurately determined by the page located at the bottom of the sliding window.
In one embodiment, as shown in FIG. 3, a feed stream deduplication system is provided that includes a terminal 102 and a server 104. The application of the above-mentioned feed stream deduplication method to the feed stream deduplication system will be described in detail. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
Specifically, the terminal 102 is configured to monitor a position of a sliding window in the feed stream application software when the sliding window slides down in real time; determining two adjacent feed flow pages covered by the current sliding window according to the position; and requesting the server 104 to acquire the information content corresponding to the two adjacent feed stream pages. The server 104 is configured to return the information content corresponding to the two adjacent feed stream pages to the terminal for synchronous rendering according to the request.
In an embodiment, the step of returning the information content corresponding to two adjacent feed stream pages to the terminal for synchronous rendering by the server 104 according to the request includes: when receiving a request of the terminal 102 for acquiring information contents corresponding to two adjacent feed flow pages, comparing the information content of a first feed flow page acquired by the last request of the terminal 102 with the information content of a second feed flow page acquired by the current request of the terminal 102; when the information content is determined to be repeated through comparison, the information content of the first feed stream page requested to be acquired currently and the information content of the second feed stream page requested to be acquired currently are returned simultaneously so that the terminal 102 can perform synchronous rendering; and when the comparison determines that the information content is not repeated, independently returning the information content of the second feed stream page acquired by the current request to the terminal 102 for rendering.
Specifically, after the server 104 receives the request of the terminal, the information content of the current first feed stream page and the information content of the second feed stream page in the two adjacent pages are obtained according to the request, and the information content of the first feed stream page obtained by the last request of the terminal 102 is compared with the information content of the second feed stream page obtained by the current request. When the comparison determines that the duplicate information content exists between the two, the information content of the two adjacent feed stream pages currently requested by the terminal 102 is all returned to the terminal 102. And the terminal 102 synchronously renders and displays the information after receiving the information content. And when the comparison determines that no duplicate content exists between the two streams, the server 104 only returns the information content of the currently requested second paging feed stream to the terminal 102. The terminal 102 can only render the contents of the second feed stream page alone. For example, the start position currently requested by the terminal 102 is the sixth information content, and the end position is the fifteenth information content. But the server 104 determines that the contents are not duplicated after comparison, and only returns the tenth to fifteenth corresponding information contents. In the embodiment, the returned information content is selected by comparing whether the information content is repeated or not through the server, so that the transmission and rendering of resources can be reduced on the premise of ensuring that the terminal display is not repeated, and the efficiency is improved.
It should be understood that although the various steps in the flow charts of fig. 1-2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-2 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in FIG. 4, there is provided a feed stream deduplication apparatus comprising: a monitoring module 402, a determination module 404, and a rendering module 406, wherein:
and the monitoring module 402 is configured to monitor a position of the sliding window in the feed stream application software when the sliding window slides down in real time.
And a determining module 404, configured to determine two adjacent feed stream pages covered by the current sliding window according to the position.
And a rendering module 406, configured to render the information content corresponding to two adjacent feed stream pages synchronously.
In one embodiment, the rendering module 406 is further configured to request to obtain information content corresponding to two adjacent feed stream pages, where the two adjacent feed stream pages include a first feed stream page and a second feed stream page corresponding to a next page; comparing the information content of the first feed flow page acquired by the last request with the information content of the second feed flow page acquired by the current request; when the information content is determined to be repeated through comparison, synchronously rendering the information content of the first feed flow page which is requested to be acquired currently and the information content of the second feed flow page which is requested to be acquired currently; and when the information content is not repeated through comparison, rendering the information content of the second feed stream paging acquired by the current request.
In one embodiment, the rendering module 406 is further configured to obtain the amount of information that can be displayed by the feed subpage; determining a content request starting position and a content request ending position according to the information quantity and the determined adjacent two feed stream pages; and acquiring information contents corresponding to two adjacent feed stream pages according to the content request starting position and the content request ending position.
In one embodiment, the rendering module 406 is further configured to determine a size of a sliding window according to a size of a display screen of the device, the size of the sliding window being equal to the size of the display screen, and the size of the feed stream page being equal to the size of the sliding window; and determining the amount of information which can be displayed by the feed stream page according to the size of the sliding window and the display height of the single information content in the feed stream page.
In one embodiment, the determining module 404 is further configured to obtain the cached page identifier after the sliding window slides down, where the page identifier is a page identifier of a page at the bottom of the sliding window; and determining two adjacent feed flow pages currently covered by the sliding window according to the page identifier and the last page identifier corresponding to the page identifier.
For the specific definition of the feed stream deduplication device, reference may be made to the above definition of the feed stream deduplication method, which is not described herein again. The various modules in the feed stream deduplication apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 5. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a feed stream deduplication method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
monitoring the position of a sliding window in feed stream application software when the sliding window slides downwards in real time;
determining two adjacent feed flow pages covered by the current sliding window according to the position;
and synchronously rendering the information contents corresponding to two adjacent feed stream pages.
In one embodiment, the processor, when executing the computer program, further performs the steps of: requesting to obtain information contents corresponding to two adjacent feed stream pages, wherein the two adjacent feed stream pages comprise a first feed stream page and a second feed stream page corresponding to a next page; comparing the information content of the first feed flow page acquired by the last request with the information content of the second feed flow page acquired by the current request; when the information content is determined to be repeated through comparison, synchronously rendering the information content of the first feed flow page which is requested to be acquired currently and the information content of the second feed flow page which is requested to be acquired currently; and when the information content is not repeated through comparison, rendering the information content of the second feed stream paging acquired by the current request.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring the displayable information quantity of a feed stream page; determining a content request starting position and a content request ending position according to the information quantity and the determined adjacent two feed stream pages; and acquiring information contents corresponding to two adjacent feed stream pages according to the content request starting position and the content request ending position.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining the size of a sliding window according to the size of a display screen of the equipment, wherein the size of the sliding window is equal to that of the display screen, and the size of a feed flow page is equal to that of the sliding window; and determining the amount of information which can be displayed by the feed stream page according to the size of the sliding window and the display height of the single information content in the feed stream page.
In one embodiment, the processor, when executing the computer program, further performs the steps of: after the sliding window slides down, obtaining a cached paging identifier, wherein the paging identifier is a paging identifier of a page at the bottom of the sliding window; and determining two adjacent feed flow pages currently covered by the sliding window according to the page identifier and the last page identifier corresponding to the page identifier.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
monitoring the position of a sliding window in feed stream application software when the sliding window slides downwards in real time;
determining two adjacent feed flow pages covered by the current sliding window according to the position;
and synchronously rendering the information contents corresponding to two adjacent feed stream pages.
In one embodiment, the computer program when executed by the processor further performs the steps of: requesting to obtain information contents corresponding to two adjacent feed stream pages, wherein the two adjacent feed stream pages comprise a first feed stream page and a second feed stream page corresponding to a next page; comparing the information content of the first feed flow page acquired by the last request with the information content of the second feed flow page acquired by the current request; when the information content is determined to be repeated through comparison, synchronously rendering the information content of the first feed flow page which is requested to be acquired currently and the information content of the second feed flow page which is requested to be acquired currently; and when the information content is not repeated through comparison, rendering the information content of the second feed stream paging acquired by the current request.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring the displayable information quantity of a feed stream page; determining a content request starting position and a content request ending position according to the information quantity and the determined adjacent two feed stream pages; and acquiring information contents corresponding to two adjacent feed stream pages according to the content request starting position and the content request ending position.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining the size of a sliding window according to the size of a display screen of the equipment, wherein the size of the sliding window is equal to that of the display screen, and the size of a feed flow page is equal to that of the sliding window; and determining the amount of information which can be displayed by the feed stream page according to the size of the sliding window and the display height of the single information content in the feed stream page.
In one embodiment, the computer program when executed by the processor further performs the steps of: after the sliding window slides down, obtaining a cached paging identifier, wherein the paging identifier is a paging identifier of a page at the bottom of the sliding window; and determining two adjacent feed flow pages currently covered by the sliding window according to the page identifier and the last page identifier corresponding to the page identifier.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of feed stream deduplication, the method comprising:
monitoring the position of a sliding window in feed stream application software when the sliding window slides downwards in real time;
determining two adjacent feed flow pages covered by the current sliding window according to the position;
and synchronously rendering the information content corresponding to the two adjacent feed stream pages.
2. The method according to claim 1, wherein said synchronously rendering information content corresponding to said two adjacent feed stream pages comprises:
requesting to obtain information contents corresponding to the two adjacent feed stream pages, wherein the two adjacent feed stream pages comprise a first feed stream page and a second feed stream page corresponding to a next page;
comparing the information content of the first feed flow paging acquired by the last request with the information content of the second feed flow paging acquired by the current request;
when the information content is determined to be repeated through comparison, synchronously rendering the information content of the first feed flow page and the information content of the second feed flow page, which are acquired by the current request;
and when the information content is not repeated through comparison, rendering the information content of the second feed stream paging acquired by the current request.
3. The method according to claim 2, wherein said requesting to obtain information content corresponding to said two adjacent feed stream pages comprises:
acquiring the displayable information quantity of a feed stream page;
determining a content request starting position and a content request ending position according to the information quantity and the determined two adjacent feed stream pagings;
and acquiring the information content corresponding to the two adjacent feed stream pages according to the content request starting position and the content request ending position request.
4. The method of claim 3, wherein said obtaining the amount of information displayable by a feed stream page comprises:
determining the size of the sliding window according to the size of a display screen of equipment, wherein the size of the sliding window is equal to that of the display screen, and the size of the feed flow page is equal to that of the sliding window;
and determining the displayable information quantity of the feed stream pages according to the size of the sliding window and the display height of the single information content in the feed stream pages.
5. The method of claim 1, wherein said determining two adjacent feed stream pages currently covered by the sliding window according to the position comprises:
after the sliding window slides down, obtaining a cached paging identifier, wherein the paging identifier is a paging identifier of a page at the bottom of the sliding window;
and determining two adjacent feed flow pages currently covered by the sliding window according to the paging identifier and the last paging identifier corresponding to the paging identifier.
6. A feed stream de-weighting apparatus, the apparatus comprising:
the monitoring module is used for monitoring the position of the sliding window in the feed stream application software when the sliding window slides down in real time;
a determining module, configured to determine two adjacent feed stream pages covered by the current sliding window according to the position;
and the rendering module is used for synchronously rendering the information content corresponding to the two adjacent feed stream pagings.
7. A feed stream deduplication system, the system comprising:
the terminal is used for monitoring the position of the sliding window in the feed stream application software when the sliding window slides down in real time; determining two adjacent feed flow pages covered by the current sliding window according to the position; requesting a server to acquire information contents corresponding to the two adjacent feed stream pages;
and the server is used for returning the information content corresponding to the two adjacent feed stream pagings to the terminal for synchronous rendering according to the request.
8. The system of claim 7, wherein the two adjacent feed stream pages comprise a first feed stream page and a second feed stream page corresponding to a next page; the server is further configured to:
when the terminal requests to acquire the information content corresponding to the two adjacent feed flow pages is received, comparing the information content of the first feed flow page acquired by the terminal last request with the information content of the second feed flow page acquired by the terminal currently request;
when the information content is determined to be repeated through comparison, the information content of the first feed flow page, which is obtained by the current request, and the information content of the second feed flow page, which is obtained by the current request, are simultaneously returned so that the terminal carries out synchronous rendering;
and when the comparison determines that the information content is not repeated, independently returning the information content of the second feed stream paging acquired by the current request to the terminal for rendering.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN202110048655.6A 2021-01-14 2021-01-14 feed stream de-duplication method, device, system, computer equipment and storage medium Active CN112887376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110048655.6A CN112887376B (en) 2021-01-14 2021-01-14 feed stream de-duplication method, device, system, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110048655.6A CN112887376B (en) 2021-01-14 2021-01-14 feed stream de-duplication method, device, system, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112887376A true CN112887376A (en) 2021-06-01
CN112887376B CN112887376B (en) 2022-10-18

Family

ID=76048492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110048655.6A Active CN112887376B (en) 2021-01-14 2021-01-14 feed stream de-duplication method, device, system, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112887376B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150350370A1 (en) * 2014-06-03 2015-12-03 Viasat, Inc. Server-machine-driven hint generation for improved web page loading using client-machine-driven feedback
CN107704598A (en) * 2017-10-13 2018-02-16 深圳视界信息技术有限公司 Waterfall-type webpage loading method, device, terminal and computer-readable recording medium
CN108182195A (en) * 2017-11-23 2018-06-19 五八有限公司 A kind of loading method of data, device, terminal and storage medium
CN109101300A (en) * 2018-06-14 2018-12-28 腾讯科技(深圳)有限公司 A kind of page rendering method, apparatus and terminal
CN110244985A (en) * 2018-03-09 2019-09-17 优酷网络技术(北京)有限公司 A kind of view rendering method, computer storage medium and terminal device
CN110413922A (en) * 2019-06-28 2019-11-05 平安科技(深圳)有限公司 Page info display methods, device, computer equipment and storage medium
CN110532489A (en) * 2019-08-30 2019-12-03 百度在线网络技术(北京)有限公司 Methods of exhibiting, device, equipment and the medium of the page
US10699488B1 (en) * 2018-09-07 2020-06-30 Facebook Technologies, Llc System and method for generating realistic augmented reality content

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150350370A1 (en) * 2014-06-03 2015-12-03 Viasat, Inc. Server-machine-driven hint generation for improved web page loading using client-machine-driven feedback
CN107704598A (en) * 2017-10-13 2018-02-16 深圳视界信息技术有限公司 Waterfall-type webpage loading method, device, terminal and computer-readable recording medium
CN108182195A (en) * 2017-11-23 2018-06-19 五八有限公司 A kind of loading method of data, device, terminal and storage medium
CN110244985A (en) * 2018-03-09 2019-09-17 优酷网络技术(北京)有限公司 A kind of view rendering method, computer storage medium and terminal device
CN109101300A (en) * 2018-06-14 2018-12-28 腾讯科技(深圳)有限公司 A kind of page rendering method, apparatus and terminal
US10699488B1 (en) * 2018-09-07 2020-06-30 Facebook Technologies, Llc System and method for generating realistic augmented reality content
CN110413922A (en) * 2019-06-28 2019-11-05 平安科技(深圳)有限公司 Page info display methods, device, computer equipment and storage medium
CN110532489A (en) * 2019-08-30 2019-12-03 百度在线网络技术(北京)有限公司 Methods of exhibiting, device, equipment and the medium of the page

Also Published As

Publication number Publication date
CN112887376B (en) 2022-10-18

Similar Documents

Publication Publication Date Title
US9009103B2 (en) Fingerprint-based, intelligent, content pre-fetching
CN106528587B (en) Page display method and device in composite webpage system
CN106681990B (en) Data cached forecasting method under a kind of mobile cloud storage environment
CN109376318B (en) Page loading method, computer readable storage medium and terminal equipment
CN110765379B (en) Method, device, computer equipment and storage medium for loading resource file
CN109829077A (en) A kind of page display method, device and equipment
CN106446075A (en) Page request processing method and apparatus
WO2019041500A1 (en) Pagination realization method and device, computer equipment and storage medium
CN107315753B (en) Paging method and device across multiple databases
US20230409398A1 (en) Resource pre-fetch using age threshold
US20160371708A1 (en) Method and apparatus for determining a user's level of interest in web-based content
CN110780939B (en) Method, device, computer equipment and storage medium for loading resource file
US20140092084A1 (en) Webpage display method and apparatus
CN111898050A (en) Method and system for automatically loading next news
CN103455547B (en) A kind of method and device for webpage loading
CN104598467B (en) Webpage picture display method and device
CN104270471A (en) Method, device and system for achieving new function reminding
CN112887376B (en) feed stream de-duplication method, device, system, computer equipment and storage medium
CN115344183A (en) Page sliding method, live broadcast page sliding method, device, equipment and medium
CN104539481A (en) Website testing method and device
CN111143293B (en) Metadata acquisition method, device, equipment and computer readable storage medium
US20160127496A1 (en) Method and system of content caching and transmission
WO2013188317A1 (en) Active web page consolidator
CN112528188A (en) Paging browsing method and device for mixed data, electronic equipment and storage medium
CN110622135A (en) System and method for providing content items in situations involving sub-optimal network conditions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 510620, No. two, No. 2, Tianhe South Road, Guangzhou, Guangdong, Tianhe District

Patentee after: Guangzhou Power Supply Bureau of Guangdong Power Grid Co.,Ltd.

Country or region after: China

Patentee after: China Southern Power Grid Big Data Service Co.,Ltd.

Address before: 510620, No. two, No. 2, Tianhe South Road, Guangzhou, Guangdong, Tianhe District

Patentee before: Guangzhou Power Supply Bureau of Guangdong Power Grid Co.,Ltd.

Country or region before: China

Patentee before: Guangzhou suinengtong Energy Technology Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20240408

Address after: 510802 5-1, Hongzhu Road, Xinhua Street, Huadu District, Guangzhou City, Guangdong Province

Patentee after: China Southern Power Grid Big Data Service Co.,Ltd.

Country or region after: China

Address before: 510620, No. two, No. 2, Tianhe South Road, Guangzhou, Guangdong, Tianhe District

Patentee before: Guangzhou Power Supply Bureau of Guangdong Power Grid Co.,Ltd.

Country or region before: China

Patentee before: China Southern Power Grid Big Data Service Co.,Ltd.

TR01 Transfer of patent right