Recommended card processing method and system

CN115017416BActive Publication Date: 2026-09-04SHANGHAI BILIBILI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210751649.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-28
Publication Date
2026-09-04
Estimated Expiration
2042-06-28

AI Technical Summary

Technical Problem

[0004]本申请的主要目的在于提出一种推荐卡片处理方法、系统、电子装置及计算机可读存储介质,旨在解决如何使推荐卡片符合信息流刷新次序的问题

Benefits of technology

[0033]本申请实施例提出的推荐卡片处理方法、系统、电子装置及计算机可读存储介质,能够在将推荐卡片展现到用户信息流中时,记录其插入位置相对应的标定时间流卡片标识,克服背景技术中提到的推荐卡片与时间流卡片的相对位置变化的缺陷,确保推荐卡片与已有的时间流卡片相对位置固定,达到与时间流卡片近似的展示效果,给用户带来连贯、一致的内容体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115017416B_ABST
    Figure CN115017416B_ABST
Patent Text Reader

Abstract

The application discloses a recommended card processing method, which comprises the following steps: when receiving a refresh request of a user, obtaining an updated time flow card list; obtaining a recommended card; inserting the recommended card into the list for reordering, wherein the relative position of the recommended card and a corresponding time flow card is fixed, the time flow card is a time-ordered information flow card, and is used for displaying contents which the user actively pays attention to; and the recommended card is used for displaying contents which the user does not actively pay attention to; and returning the reordered list as a refresh result to the user. The application also discloses a recommended card processing system, an electronic device and a computer readable storage medium. Thus, the relative position of the recommended card and the existing time flow card is fixed, the display effect of the recommended card is similar to that of the time flow card, and the user can have a coherent and consistent content experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of information flow technology, and in particular to a method, system, electronic device, and computer-readable storage medium for processing recommendation cards. Background Technology

[0002] Currently, most video content platforms include recommended cards (such as advertisements) in their feed. These recommended cards are typically inserted into the feed in a fixed position, such as the third position in each refresh.

[0003] However, in a typical news feed, each refresh moves existing content (content already followed by the user) to the next position, resulting in different content at each refresh. If recommended cards are inserted into a fixed position every time, the relative order of the recommended cards and the already followed content will change, meaning they won't be retained in the news feed. Clearly, this approach doesn't align with users' habits of consuming time-based news feeds (where all content is sorted by appearance time), and will negatively impact user experience. Summary of the Invention

[0004] The main objective of this application is to propose a method, system, electronic device, and computer-readable storage medium for processing recommendation cards, aiming to solve the problem of how to make recommendation cards conform to the information flow refresh order.

[0005] To achieve the above objectives, embodiments of this application provide a method for processing recommendation cards, the method comprising:

[0006] When a user's refresh request is received, retrieve the updated list of timeline cards;

[0007] Get the referral card;

[0008] The recommended cards are inserted into the list and reordered, wherein the relative positions of the recommended cards and the corresponding time-stream cards are fixed, the time-stream cards are information flow cards sorted by time and are used to display content that the user actively follows, and the recommended cards are used to display content that the user has not actively followed.

[0009] Return the reordered list to be displayed to the user as a refresh result.

[0010] Optionally, obtaining the recommendation card includes obtaining the new recommendation card to be deployed;

[0011] The step of inserting the recommended card into the list for reordering includes:

[0012] The insertion position of the new recommended card is determined according to a preset algorithm or strategy;

[0013] Insert the new recommended card into the insertion position in the list, and record the corresponding first calibration time stream card identifier.

[0014] Optionally, the calibration time stream card is the time stream card located in the list after the recommended card.

[0015] Optionally, obtaining the recommendation card may further include obtaining previously deployed recommendation cards;

[0016] The step of inserting the recommended card into the list for reordering also includes:

[0017] Obtain the second calibration time stream card identifier corresponding to the recorded old recommendation card;

[0018] The old recommended card is inserted into the list according to the second calibration time stream card identifier.

[0019] Optionally, inserting the old recommendation card into the list according to the second calibrated time stream card identifier includes:

[0020] Locate the second calibration time stream card corresponding to the second calibration time stream card identifier in the list;

[0021] Insert the old recommendation card before the second calibration time stream card.

[0022] Optionally, the method further includes, after obtaining the recommendation card:

[0023] The newly recommended cards to be deployed are deduplicated.

[0024] Optionally, the method further includes, when returning the reordered list:

[0025] The rendering styles and playback addresses of each time stream card and the recommended card in the reordered list are processed.

[0026] Furthermore, to achieve the above objectives, embodiments of this application also provide a recommendation card processing system, the system comprising:

[0027] The first acquisition module is used to acquire the updated list of time stream cards when a user's refresh request is received;

[0028] The second acquisition module is used to acquire recommendation cards;

[0029] The sorting module is used to insert the recommended cards into the list for reordering, wherein the relative positions of the recommended cards and the corresponding time-stream cards are fixed, the time-stream cards are information flow cards sorted by time and are used to display content that the user actively follows, and the recommended cards are used to display content that the user has not actively followed.

[0030] The return module is used to return the reordered list as a refresh result to be displayed to the user.

[0031] To achieve the above objectives, this application also provides an electronic device, which includes: a memory, a processor, and a recommendation card processing program stored in the memory and executable on the processor. When the recommendation card processing program is executed by the processor, it implements the recommendation card processing method as described above.

[0032] To achieve the above objectives, embodiments of this application also provide a computer-readable storage medium storing a recommendation card processing program, which, when executed by a processor, implements the recommendation card processing method as described above.

[0033] The recommendation card processing method, system, electronic device, and computer-readable storage medium proposed in this application can record the corresponding time-stream card identifier when the recommendation card is displayed in the user's information stream. This overcomes the defect of relative position change between recommendation cards and time-stream cards mentioned in the background art, ensures that the relative position of recommendation cards and existing time-stream cards is fixed, achieves a display effect similar to that of time-stream cards, and brings users a coherent and consistent content experience. Attached Figure Description

[0034] Figure 1 An application environment architecture diagram for implementing various embodiments of this application;

[0035] Figure 2 This is a flowchart of a recommendation card processing method proposed in the first embodiment of this application;

[0036] Figure 3 for Figure 2 A detailed flowchart of step S204;

[0037] Figure 4 This is a schematic diagram of a recommendation card and its corresponding calibration time stream card;

[0038] Figure 5 This is a schematic diagram of the application architecture of a specific embodiment of the recommendation card processing method.

[0039] Figure 6This is a flowchart illustrating a specific embodiment of the recommended card processing method;

[0040] Figure 7 This is a schematic diagram of the hardware architecture of an electronic device according to the second embodiment of this application;

[0041] Figure 8 This is a schematic diagram of a recommendation card processing system proposed in the third embodiment of this application. Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0043] It should be noted that the descriptions involving "first," "second," etc., in the embodiments of this application are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.

[0044] Please see Figure 1 , Figure 1 This is an application environment architecture diagram for implementing various embodiments of this application. This application can be applied to application environments including, but not limited to, client 2, server 4, and network 6.

[0045] The client 2 is used to display the current application interface to the user and receive user refresh operations. The client 2 can be a terminal device such as a PC (Personal Computer), mobile phone, tablet computer, portable computer, wearable device, etc.

[0046] The server 4 is used to provide data and technical support to the client 2, such as obtaining the updated time-stream card list and recommended cards, inserting the recommended cards into the list and reordering them, and then returning the reordered list to the client 2 for display to the user. The server 4 can be a rack server, blade server, tower server, or cabinet server, and can be a standalone server or a server cluster composed of multiple servers.

[0047] The network 6 can be an intranet, the Internet, GSM, WCDMA, 4G, 5G, Bluetooth, Wi-Fi, or other wireless or wired networks. The server 4 and one or more clients 2 communicate via the network 6 for data transmission and interaction.

[0048] Example 1

[0049] like Figure 2 The diagram shown is a flowchart of a recommendation card processing method proposed in the first embodiment of this application. It is understood that the flowchart in this method embodiment is not intended to limit the order of execution steps. As needed, some steps in the flowchart can be added to or removed. The method will now be described using the server as the execution entity.

[0050] The method includes the following steps:

[0051] S200: When a user refresh operation is received, the updated list of time stream cards is obtained.

[0052] This embodiment includes two types of cards: time-stream cards (information streams ordered by time) and recommendation cards. Time-stream cards represent updated content that the user follows (actively followed by the user). For example, when a user's followed content creator updates their content (e.g., uploads a video, posts a live stream notification), that content will be displayed in the user's feed via a time-stream card. Recommendation cards, on the other hand, represent content recommended to the user by the system (content not actively followed by the user), such as advertisements.

[0053] When a user refreshes the page in the client, the client sends a refresh request to the server. Upon receiving the refresh request, the server retrieves the updated list of timeline cards.

[0054] If no recommendation cards are displayed to the user—that is, only content actively followed by the user is shown, without recommending advertisements or other content—the updated timeline card list can be directly returned to the client for display. However, if recommendation cards need to be displayed to the user, further processing of the list is required.

[0055] S202, Obtain the recommended card.

[0056] The recommended cards include two types: new recommended cards to be deployed in advance, and old recommended cards that have been deployed before (before the refresh).

[0057] The new recommendation card refers to personalized recommendation content that needs to be pushed to the user during this refresh, based on the delivery strategy or algorithm. For example, it could be advertising content for that type of product that is pre-pushable to the user, calculated based on the user's historical behavior records and corresponding algorithms to determine the user's interest in a certain type of product.

[0058] The old recommendation card refers to the recommendation content that was delivered to the user before this refresh, such as the advertisement content delivered during the last refresh.

[0059] Therefore, obtaining the recommended card also includes two cases:

[0060] (1) Obtain (recall) the new recommended cards to be deployed.

[0061] (2) Retrieve (recall) the old referral cards that have already been deployed.

[0062] Specifically, for the old recommendation card, the time-stream card identifier was already recorded during the first deployment. Therefore, it is also necessary to obtain the recorded time-stream card identifier (ID) corresponding to the old recommendation card to determine the insertion position of the old recommendation card during this refresh.

[0063] S204, Insert the recommended card into the list and reorder it.

[0064] In this embodiment, the reordering refers to inserting the recommended cards into the list according to a specified order rule. Furthermore, to conform to user habits arising from time-based information flow during user refresh (i.e., all content is sorted by appearance time), this embodiment needs to ensure that the relative positions of the recommended cards and their corresponding time-based flow cards are fixed.

[0065] For more details, please refer to the following: Figure 3 This is a detailed flowchart illustrating step S204 above. It is understood that this flowchart is not intended to limit the order of execution steps. Steps in this flowchart can be added to or removed as needed. In this embodiment, step S204 specifically includes:

[0066] S2040, determine the insertion position of the new recommended card according to a preset algorithm or strategy.

[0067] In this embodiment, the insertion position of the new recommendation card in the list (e.g., which position in the latest page of dynamics) can be determined based on any feasible artificial intelligence algorithm and / or operational strategy. For example, the target insertion position can be determined from multiple insertion positions based on the degree of influence of inserting recommendation cards at multiple insertion positions in historical recommendations. Alternatively, the insertion position of the new recommendation card can also be determined manually.

[0068] In one optional embodiment, before determining the insertion position of the new recommendation card, a deduplication operation needs to be performed on the new recommendation card. That is, based on the content (or identifier, etc.) of the recommendation card, it is determined whether it has been previously deployed, that is, to further determine whether the recommendation card is indeed a new recommendation card that has not been deployed before, or an old recommendation card that has already been deployed.

[0069] S2042, insert the new recommended card into the insertion position in the list, and record the corresponding first calibration time stream card identifier.

[0070] After determining the insertion position of the new recommendation card, the new recommendation card is inserted at that position. Furthermore, the calibration timestream card identifier corresponding to the new recommendation card (referred to as the first calibration timestream card identifier) ​​is recorded, and the mapping relationship is written into the database.

[0071] Specifically, the calibrated time stream card is the time stream card located after the recommended card in the list. That is, the new recommended card is inserted before the calibrated time stream card (in the previous position). Of course, in other embodiments, the calibrated time stream card can also be set to other time stream cards in the list.

[0072] S2044, Obtain the second calibration time stream card identifier corresponding to the recorded old recommendation card.

[0073] For old recommendation cards that were deployed before this update, since the corresponding time-stream card identifier (referred to as the second time-stream card identifier) ​​was recorded (in the database) during the previous deployment, obtaining the second time-stream card identifier will allow us to determine where the old recommendation card should be inserted in the list.

[0074] S2046, Insert the old recommended card into the list according to the second calibration time stream card identifier.

[0075] In this embodiment, since the second calibration time stream card is the time stream card located after the old recommended card in the list, after obtaining the identifier of the second calibration time stream card, it is only necessary to locate the second calibration time stream card in the list and then insert the old recommended card before the second calibration time stream card.

[0076] This approach ensures that each time the page is refreshed, the old recommended card is inserted before the corresponding second-calibrated time stream card. In other words, it moves with the position of the second-calibrated time stream card, thus ensuring that the relative position of the old recommended card and the corresponding second-calibrated time stream card is fixed. This keeps the old recommended card integrated into the time stream card list, which conforms to user habits.

[0077] In other embodiments, if the second calibrated time stream card and the old recommended card are set to other positional relationships (for example, the second calibrated time stream card is the time stream card located before the old recommended card in the list), the insertion position of the old recommended card can also be determined according to the positional relationship (for example, inserted into the position after the second calibrated time stream card), which will not be elaborated here.

[0078] like Figure 4 The image shows a schematic diagram of a recommendation card and its corresponding calibration time stream card. Figure 4 The left half represents the timeline card list before this refresh (at the last refresh), including cards AE in chronological order. If recommended card X is inserted before timeline card B, then timeline card B is the designated timeline card for recommended card X, and the identifier of timeline card B is recorded as the designated timeline card identifier for recommended card X.

[0079] Figure 4 The right half indicates that during this refresh, new timeline cards F and G were obtained. The updated timeline card list, in chronological order, includes cards F, G, A, B, C, D, and E. Additionally, a new recommended card Y and an old recommended card X were also obtained. For the new recommended card Y, according to a preset strategy, it is determined that it should be inserted in the second position of the list, before timeline card G. Therefore, timeline card G is the designated timeline card for the new recommended card Y, and its identifier is recorded as the designated timeline card identifier for the new recommended card Y. For the old recommended card X, if its already recorded designated timeline card identifier is the identifier of timeline card B, then the old recommended card X needs to be inserted again before timeline card B.

[0080] As can be seen, during the user's refresh process, the relative positions of recommended card X and its corresponding time-stream card B, as well as the relative positions of recommended card Y and its corresponding time-stream card G, remain unchanged. This truly immerses recommended cards X and Y within the time-stream card list. From the user's perspective, the position of the recommended cards moves forward along with their corresponding time-stream cards with each refresh, thus giving the user the same feeling as the time-stream cards. This aligns with the user's habit of sorting information based on time during refresh (i.e., all content is sorted by appearance time).

[0081] S206, Return the reordered list to be displayed to the user as a refresh result.

[0082] Once the updated list has been reordered, meaning all recommended cards have been inserted into their designated positions, the server returns the reordered list to the client. The client then displays this received list to the user as the refresh result.

[0083] In one alternative embodiment, when the server returns the reordered list to the client, it also needs to process information such as the rendering style and playback address of each time stream card and the recommendation card in the reordered list, and provide it to the client.

[0084] The recommendation card processing method proposed in this embodiment can record the corresponding time-stream card identifier when the recommendation card is displayed in the user's information stream. This overcomes the defect of the relative position change between the recommendation card and the time-stream card mentioned in the background technology, ensuring that the relative position of the recommendation card and the existing time-stream card is fixed, achieving a display effect similar to the time-stream card, and bringing users a coherent and consistent content experience.

[0085] To provide a more detailed explanation of the steps described above, a specific embodiment (user refreshing dynamics) is used as an example below. Those skilled in the art will understand that the content of the following specific embodiment is not intended to limit the inventive concept of the present invention, and they can easily make appropriate extensions and expansions based on the specific description of the following embodiment.

[0086] like Figure 5 The diagram shown is an application architecture schematic of a specific embodiment of the recommendation card processing method. Figure 6 The diagram shown is a flowchart illustrating a specific embodiment of the recommendation card processing method. (In conjunction with...) Figure 5 and Figure 6 In the specific embodiment, the recommendation card processing method specifically includes:

[0087] (1) Received a request from the user to refresh the dynamics.

[0088] (2) Get the updated time flow card list (dynamic list) and recommended cards respectively.

[0089] (3) Use the algorithm to recall new recommended cards, deduplicate the new recommended cards, select the insertion position of the new recommended cards according to the strategy algorithm, and asynchronously write the corresponding calibration dynamic ID (calibration time stream card identifier) ​​into the database.

[0090] (4) Recall the old recommendation cards that have been displayed and their corresponding dynamic IDs, and insert the old recommendation cards before the corresponding dynamic IDs.

[0091] (5) Merge the timeline cards and recommendation cards that have been processed above into a single dynamic page (complete the reordering).

[0092] (6) Process the rendering style / playback address of the time stream card and the recommendation card.

[0093] (7) Return to the user interface for display.

[0094] Example 2

[0095] like Figure 7 The diagram shown illustrates the hardware architecture of an electronic device 20 according to a second embodiment of this application. In this embodiment, the electronic device 20 may include, but is not limited to, a memory 21, a processor 22, and a network interface 23, which are interconnected via a system bus. It should be noted that... Figure 7 Only the electronic device 20 with components 21-23 is shown; however, it should be understood that implementation of all shown components is not required, and more or fewer components may be implemented alternatively. In this embodiment, the electronic device 20 may be the server.

[0096] The memory 21 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 21 may be an internal storage unit of the electronic device 20, such as the hard disk or memory of the electronic device 20. In other embodiments, the memory 21 may also be an external storage device of the electronic device 20, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the electronic device 20. Of course, the memory 21 may include both the internal storage unit and the external storage device of the electronic device 20. In this embodiment, the memory 21 is typically used to store the operating system and various application software installed on the electronic device 20, such as the program code of the recommended card processing system 60. In addition, the memory 21 can also be used to temporarily store various types of data that have been output or will be output.

[0097] In some embodiments, the processor 22 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. The processor 22 is typically used to control the overall operation of the electronic device 20. In this embodiment, the processor 22 is used to run program code stored in the memory 21 or process data, for example, to run the recommendation card processing system 60.

[0098] The network interface 23 may include a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the electronic device 20 and other electronic devices.

[0099] Example 3

[0100] like Figure 8 The diagram shown is a block diagram of a recommendation card processing system 60 according to a third embodiment of this application. The recommendation card processing system 60 can be divided into one or more program modules. One or more program modules are stored in a storage medium and executed by one or more processors to complete the embodiments of this application. The program module referred to in the embodiments of this application refers to a series of computer program instruction segments capable of performing specific functions. The following description will specifically introduce the functions of each program module in this embodiment.

[0101] In this embodiment, the recommendation card processing system 60 includes:

[0102] The first acquisition module 600 is used to acquire the updated list of time stream cards when a user's refresh request is received.

[0103] This embodiment includes two types of cards: time-stream cards (information streams ordered by time) and recommendation cards. Time-stream cards represent updated content that the user follows (actively followed by the user). For example, when a user's followed content creator updates their content (e.g., uploads a video, posts a live stream notification), that content will be displayed in the user's feed via a time-stream card. Recommendation cards, on the other hand, represent content recommended to the user by the system (content not actively followed by the user), such as advertisements.

[0104] When a user refreshes the page on the client, the client sends a refresh request to the server. Upon receiving the refresh request, the first acquisition module 600 retrieves the updated list of timeline cards.

[0105] The second acquisition module 602 is used to acquire recommendation cards.

[0106] The recommended cards include two types: new recommended cards to be deployed in advance, and old recommended cards that have been deployed before (before the refresh).

[0107] The new recommendation card refers to personalized recommendation content that needs to be pushed to the user during this refresh, based on the delivery strategy or algorithm. For example, it could be advertising content for that type of product that is pre-pushable to the user, calculated based on the user's historical behavior records and corresponding algorithms to determine the user's interest in a certain type of product.

[0108] The old recommendation card refers to the recommendation content that was delivered to the user before this refresh, such as the advertisement content delivered during the last refresh.

[0109] Therefore, obtaining the recommended card also includes two cases:

[0110] (1) Obtain (recall) the new recommended cards to be deployed.

[0111] (2) Retrieve (recall) the old referral cards that have already been deployed.

[0112] The sorting module 604 is used to insert the recommended card into the list for reordering, wherein the relative position of the recommended card and the corresponding calibrated time stream card is fixed.

[0113] In this embodiment, the process of the sorting module 604 reordering the list specifically includes:

[0114] (1) Determine the insertion position of the new recommended card according to a preset algorithm or strategy.

[0115] In this embodiment, the insertion position of the new recommendation card in the list (e.g., which position in the latest page of dynamics) can be determined based on any feasible artificial intelligence algorithm and / or operational strategy. For example, the target insertion position can be determined from multiple insertion positions based on the degree of influence of inserting recommendation cards at multiple insertion positions in historical recommendations. Alternatively, the insertion position of the new recommendation card can also be determined manually.

[0116] (2) Insert the new recommended card into the insertion position in the list and record the corresponding first calibration time stream card identifier.

[0117] After determining the insertion position of the new recommendation card, the new recommendation card is inserted at that position. Furthermore, the calibration timestream card identifier corresponding to the new recommendation card (referred to as the first calibration timestream card identifier) ​​is recorded, and the mapping relationship is written into the database.

[0118] Specifically, the calibrated time stream card is the time stream card located after the recommended card in the list. That is, the new recommended card is inserted before the calibrated time stream card (in the previous position). Of course, in other embodiments, the calibrated time stream card can also be set to other time stream cards in the list.

[0119] (3) Obtain the second calibration time stream card identifier corresponding to the recorded old recommendation card.

[0120] For old recommendation cards that were deployed before this update, since the corresponding time-stream card identifier (referred to as the second time-stream card identifier) ​​was recorded (in the database) during the previous deployment, obtaining the second time-stream card identifier will allow us to determine where the old recommendation card should be inserted in the list.

[0121] (4) Insert the old recommendation card into the list according to the second calibration time stream card identifier.

[0122] In this embodiment, since the second calibration time stream card is the time stream card located after the old recommended card in the list, after obtaining the identifier of the second calibration time stream card, it is only necessary to locate the second calibration time stream card in the list and then insert the old recommended card before the second calibration time stream card.

[0123] This approach ensures that each time the page is refreshed, the old recommended card is inserted before the corresponding second-calibrated time stream card. In other words, it moves with the position of the second-calibrated time stream card, thus ensuring that the relative position of the old recommended card and the corresponding second-calibrated time stream card is fixed. This keeps the old recommended card integrated into the time stream card list, which conforms to user habits.

[0124] In other embodiments, if the second calibrated time stream card and the old recommended card are set to other positional relationships (for example, the second calibrated time stream card is the time stream card located before the old recommended card in the list), the insertion position of the old recommended card can also be determined according to the positional relationship (for example, inserted into the position after the second calibrated time stream card), which will not be elaborated here.

[0125] Return module 606 is used to return the reordered list to be displayed to the user as a refresh result.

[0126] Once the updated list has been reordered, meaning all recommended cards have been inserted into their designated positions, the return module 606 returns the reordered list to the client. The client then displays the received list to the user as the refresh result.

[0127] The recommendation card processing system proposed in this embodiment can record the corresponding time-stream card identifier when the recommendation card is displayed in the user's information stream. This overcomes the defect of the relative position change between the recommendation card and the time-stream card mentioned in the background technology, ensuring that the relative position of the recommendation card and the existing time-stream card is fixed, achieving a display effect similar to the time-stream card, and bringing users a coherent and consistent content experience.

[0128] Example 4

[0129] This application also provides another embodiment, namely, a computer-readable storage medium storing a recommendation card processing program, which can be executed by at least one processor to perform the steps of the recommendation card processing method as described above.

[0130] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0131] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0132] Obviously, those skilled in the art should understand that the modules or steps of the embodiments of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the embodiments of this application are not limited to any particular combination of hardware and software.

[0133] The above are merely preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structural or procedural transformations made using the description and drawings of the present application, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present application.

Claims

1. A method for processing recommendation cards, characterized in that, The method includes: When a user's refresh request is received, the updated list of timeline cards is retrieved; Get the referral card; The recommended cards are inserted into the list and reordered, wherein the relative positions of the recommended cards and the corresponding time-stream cards are fixed, the time-stream cards are information flow cards sorted by time and are used to display content that the user actively follows, and the recommended cards are used to display content that the user has not actively followed. Return the reordered list to the user as a refresh result; The process of obtaining the recommendation card includes obtaining the new recommendation card to be deployed. The step of inserting the recommended card into the list for reordering includes: The insertion position of the new recommended card is determined according to a preset algorithm or strategy; Insert the new recommended card into the insertion position in the list, and record the corresponding first calibration time stream card identifier; The process of obtaining recommendation cards also includes obtaining previously deployed recommendation cards; The step of inserting the recommended card into the list for reordering also includes: Obtain the second calibration time stream card identifier corresponding to the recorded old recommendation card; The old recommended card is inserted into the list according to the second calibration time stream card identifier.

2. The recommendation card processing method according to claim 1, characterized in that, The calibrated time stream card is the time stream card located in the list after the recommended card.

3. The recommendation card processing method according to claim 1, characterized in that, The step of inserting the old recommendation card into the list according to the second calibrated time stream card identifier includes: Locate the second calibration time stream card corresponding to the second calibration time stream card identifier in the list; Insert the old recommendation card before the second calibration time stream card.

4. The recommendation card processing method according to any one of claims 2 to 3, characterized in that, The method further includes the following after obtaining the recommendation card: The newly recommended cards to be deployed are deduplicated.

5. The recommendation card processing method according to any one of claims 1 to 4, characterized in that, The method further includes, when returning the reordered list: The rendering styles and playback addresses of each time stream card and the recommended card in the reordered list are processed.

6. A recommendation card processing system, characterized in that, The system includes: The first acquisition module is used to acquire the updated list of time stream cards when a user's refresh request is received; The second acquisition module is used to acquire recommendation cards; The sorting module is used to insert the recommended cards into the list for reordering, wherein the relative positions of the recommended cards and the corresponding time-stream cards are fixed, the time-stream cards are information flow cards sorted by time and are used to display content that the user actively follows, and the recommended cards are used to display content that the user has not actively followed. The return module is used to return the reordered list to be displayed to the user as a refresh result; The process of obtaining the recommendation card includes obtaining the new recommendation card to be deployed. The step of inserting the recommended card into the list for reordering includes: The insertion position of the new recommended card is determined according to a preset algorithm or strategy; Insert the new recommended card into the insertion position in the list, and record the corresponding first calibration time stream card identifier; The process of obtaining recommendation cards also includes obtaining previously deployed recommendation cards; The step of inserting the recommended card into the list for reordering also includes: Obtain the second calibration time stream card identifier corresponding to the recorded old recommendation card; The old recommended card is inserted into the list according to the second calibration time stream card identifier.

7. An electronic device, characterized in that, The electronic device includes: a memory, a processor, and a recommendation card processing program stored in the memory and executable on the processor, wherein the recommendation card processing program, when executed by the processor, implements the recommendation card processing method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a recommendation card processing program, which, when executed by a processor, implements the recommendation card processing method as described in any one of claims 1 to 5.

9. A computer program product comprising computer instructions, characterized in that, When executed by a processor, the computer instructions implement the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Information recommendation method and device, electronic device and storage medium

    CN112422592A