Method and apparatus for updating recommendation page, electronic device and storage medium
By detecting and replacing the suspended live broadcast card on the recommendation page, the problem that users may enter the suspended live broadcast room after clicking is solved, and the user experience and live broadcast traffic is improved.
Patent Information
- Application Number
- PCT/CN2024/111895
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-29
- Filing Date
- 2024-08-13
- Publication Date
- 2025-03-06
AI Technical Summary
In the existing recommendation page, the live broadcast card may have been discontinued when the user clicks, resulting in poor user experience and reduced live broadcast traffic.
By checking whether the live broadcast card in the recommendation page has been stopped, if it has been stopped, obtain the second live broadcast card that is being broadcasted to replace the first live broadcast card that has been discontinued, thereby updating the recommendation page.
This increases the probability that the live broadcast room status of the user enters after clicking on the live broadcast card is being live broadcast, improves the user experience, and increases the live broadcast traffic.
Smart Images

Figure CN2024111895_06032025_PF_FP_ABST
Abstract
Description
Method, device, electronic device and storage medium for updating recommendation page
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent application No. 202311101753.7, filed on August 29, 2023, entitled “Method, device, electronic device and storage medium for updating recommendation pages”. The entire contents of that application are incorporated herein by reference. Technical Field
[0003] Embodiments of the present disclosure relate to the field of computers, and more particularly, to a method, apparatus, electronic device, and storage medium for updating a recommendation page. Background Art
[0004] The widespread use of the internet has made it easier for people to access diverse online information. Currently, recommendation pages on various platforms have become a medium for people to access online information. The content on these recommendation pages varies greatly. Some platforms' recommendation pages feature a single video scene per screen, while others offer a mixed stream of videos, images, and text. Furthermore, there are also scenarios where multiple videos are displayed on a single screen.
[0005] The current recommendation page has a high proportion of live streaming genres. Currently, due to the time gap between the live broadcast time and the time users see the live broadcast, a certain proportion of live streaming cards on the recommendation page will be in a paused state when displayed.
[0006] Summary of the Invention
[0007] Embodiments of the present disclosure provide a method, apparatus, electronic device, and storage medium for updating a recommendation page.
[0008] According to a first aspect of the present disclosure, a method for updating a recommendation page is provided. The method includes obtaining a recommendation page, the recommendation page including a first live broadcast card; detecting whether the first live broadcast card in the recommendation page has been stopped; in response to detecting that the first live broadcast card has been stopped, obtaining a second live broadcast card that is currently being broadcast; and updating the recommendation page by replacing the first live broadcast card with the second live broadcast card.
[0009] In a second aspect of the present disclosure, a device for updating a recommendation page includes: a recommendation page acquisition module configured to obtain a recommendation page, the recommendation page including a first live broadcast card; a first live broadcast card detection module configured to detect whether the first live broadcast card in the recommendation page has been stopped; a second live broadcast card acquisition module configured to, in response to detecting that the first live broadcast card has been stopped, obtain a second live broadcast card that is currently being broadcast; and a recommendation page update module configured to update the recommendation page by replacing the first live broadcast card with the second live broadcast card.
[0010] According to a third aspect of the present disclosure, an electronic device is provided, comprising a processor and a memory coupled to the processor, wherein the memory has instructions stored therein, and when the instructions are executed by the processor, the electronic device executes the method according to the first aspect.
[0011] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein one or more computer instructions are stored on the computer-readable storage medium, wherein the one or more computer instructions are executed by a processor to implement the method according to the first aspect.
[0012] This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. It is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to limit the scope of the claimed subject matter. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0014] FIG1 is a schematic diagram showing an example environment in which a method for updating a recommendation page according to some embodiments of the present disclosure may be implemented;
[0015] FIG2 shows a flowchart of a method for updating a recommendation page according to some embodiments of the present disclosure;
[0016] FIG3 is a schematic diagram illustrating a process of replacing a discontinued first live broadcast card with a second live broadcast card according to some embodiments of the present disclosure;
[0017] FIG4 is a schematic diagram illustrating a process of detecting whether a first live broadcast card has been stopped according to some embodiments of the present disclosure;
[0018] FIG5 is a schematic diagram illustrating a process of moving forward and inserting a live card according to some embodiments of the present disclosure;
[0019] FIG6 illustrates a flow chart for detecting whether a live broadcast card on a recommendation page has been stopped according to some embodiments of the present disclosure;
[0020] FIG7 shows a block diagram of an apparatus for updating a recommendation page according to some embodiments of the present disclosure; and
[0021] FIG8 shows a block diagram of an electronic device according to some embodiments of the present disclosure.
[0022] Throughout the drawings, the same or similar reference numbers denote the same or similar elements. DETAILED DESCRIPTION
[0023] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0024] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. can refer to different or the same objects, unless explicitly stated otherwise. Other explicit and implicit definitions may also be included below.
[0025] Traditionally, live broadcasts are displayed on recommendation pages as live broadcast cards, and users can enter the live broadcast room by clicking on the live broadcast card. When the recommendation page is generated, the live broadcast card is usually in the live broadcast state. Because there is a gap between the time the user clicks the live broadcast card and the time the recommendation page is generated, the live broadcast card may have stopped broadcasting during this gap. As a result, when the user clicks the live broadcast card to enter the live broadcast room, the screen will show that the live broadcast has been stopped. On the one hand, this will bring a bad user experience, and on the other hand, it will not be conducive to increasing live broadcast traffic.
[0026] To address the above issues, the embodiments of the present disclosure provide a solution for updating the recommendation page by replacing discontinued live broadcasts. This solution can detect whether a live broadcast card has been discontinued before the user clicks it. If so, the live broadcast card that is currently being broadcast is retrieved and replaced with the card corresponding to the discontinued live broadcast. This ensures that after clicking a live broadcast card, the user enters the live broadcast room that is currently being broadcast, improving the user experience and increasing live broadcast traffic.
[0027] Figure 1 shows a schematic diagram of an example environment 100 in which the method for updating the recommendation page according to some embodiments of the present disclosure can be implemented. As shown in Figure 1, the example environment 100 may include a server side 102, which may be a single server or a server cluster (such as a cloud) in a centralized or distributed manner. In an embodiment of the present disclosure, the recommendation page can be generated by the server side, and the server side 102 can display exclusive personalized recommendation pages for different customers. It should be understood that the recommendation page can also be generated by any other device with computing capabilities. The architecture and functions of the server side 102 are described here only for exemplary purposes, and do not imply any limitation on the scope of the present disclosure.
[0028] The example environment 100 may further include a client 101, which may be a user terminal, mobile device, computer, etc. In the embodiment of the present disclosure, after the server 102 generates a recommendation page, it will be transmitted to the client 101. The client 101 is a device for displaying the recommendation page, which may include a display screen. The user can view and click on the recommendation page transmitted by the server 102 through the display screen.
[0029] Referring to Figure 1, the recommendation page, serving as a medium for users to access online information content, may include a first live broadcast card and recommended content. In the disclosed embodiment, the recommended content may include one or more of information items such as text, images, image-text combinations, and video cards. When the recommendation page is displayed on the screen, a user clicking on the first live broadcast card will enter the live broadcast room associated with the first live broadcast card. Because there is a gap between the time the user clicks the first live broadcast card and the time the recommendation page is generated, the live broadcast of the first live broadcast card may have been suspended during this gap. This may result in the display screen displaying that the live broadcast has been suspended when the user clicks the first live broadcast card to enter the live broadcast room. In the disclosed embodiment, before the recommendation page is displayed on the screen, the server 102 may detect whether the first live broadcast card has been suspended. If it is detected that the live broadcast of the first live broadcast card has been suspended, the server 102 generates a second live broadcast card and sends the second live broadcast card to the client 101. By replacing the suspended first live broadcast card with the second live broadcast card, the recommendation page is updated, allowing the user to enter the live broadcast room after clicking the live broadcast card, thereby improving user experience and live broadcast traffic.
[0030] The following describes in detail the process according to an embodiment of the present disclosure in conjunction with Figures 2 to 8. For ease of understanding, the specific data mentioned in the following description are exemplary and are not intended to limit the scope of protection of the present disclosure. It is understood that the embodiments described below may also include additional actions not shown and / or may omit the actions shown, and the scope of the present disclosure is not limited in this respect.
[0031] FIG2 shows a flow chart of a method 200 for updating a recommendation page according to some embodiments of the present disclosure. For example, the method 200 may be performed by one or both of the client 101 and the server 102 described with reference to FIG1 . At block 202 , a recommendation page is obtained, the recommendation page including a first live broadcast card. For example, as shown in FIG1 , the server 102 includes a recommendation pool, which stores a plurality of recommended content and a plurality of live broadcasts. The server 102 may select the recommended content and live broadcasts in the recommendation pool in a personalized manner according to customer needs to generate a recommendation page, and the recommendation page generated by the server 102 is sent to the client 101.
[0032] In an embodiment of the present disclosure, when the server side 102 selects recommended content and live broadcast, it first detects whether the live broadcast card in the recommendation pool has been stopped. If it is detected that the live broadcast card is being broadcast, the live broadcast card that is being broadcast can be selected as the information item on the recommendation page. In order to more intuitively describe the above process of selecting live broadcast cards, an example is given in the embodiment of the present disclosure. It should be emphasized that this example is only used to explain the above distinction and does not impose any restrictions on the scope of the present disclosure. Taking the first live broadcast card as an example, the first live broadcast card is first stored in the recommendation pool of the server side 102. The process of the server side 102 generating the recommendation page includes: detecting whether the first live broadcast card in the recommendation pool has been stopped. If the first live broadcast card has been stopped, it is necessary to detect the live broadcast cards in other recommendation pools; if the first live broadcast card is being broadcast, the first live broadcast card can be sent to the client 101 as an information item on the recommendation page.
[0033] In some embodiments, the server 102 first filters the live broadcast cards in the recommendation pool before generating the recommendation page, and selects the live broadcast cards that are being broadcast as the information items of the recommendation page, which can reduce the probability of users clicking on the live broadcast cards that have been discontinued and improve the user experience.
[0034] At block 204, a check is performed to determine whether the first live broadcast card on the recommendation page has been stopped. For example, referring to FIG1 , the server 102 or the client 101 can detect whether the first live broadcast card on the recommendation page has been stopped. For example, the persistent connection status between the client 101 and the server 102 can be detected for the first live broadcast card; if the persistent connection between the client 101 and the server 102 is disconnected, the first live broadcast card has been stopped; if the persistent connection between the client 101 and the server 102 remains connected, the first live broadcast card is currently broadcasting. In specific implementations, other methods can also be used to detect whether the first live broadcast card has been stopped.
[0035] At block 206, in response to detecting that the first live broadcast card has been stopped, a second live broadcast card currently being broadcast is obtained. For example, referring to Figure 1 , when server 102 or client 101 detects that the first live broadcast card has been stopped, client 101 obtains a second live broadcast card generated by server 102. In some embodiments, server 102 generates the second live broadcast card by detecting whether the second live broadcast card in the recommendation pool has been stopped. If so, checking other live broadcast cards in the recommendation pool is necessary; and if the second live broadcast card is currently being broadcast, sending the second live broadcast card to client 101.
[0036] At block 208, the recommendation page is updated by replacing the first live broadcast card with the second live broadcast card. For example, referring to FIG1 , client 101 replaces the discontinued first live broadcast card with the second live broadcast card and updates the recommendation page so that when a user clicks the second live broadcast card, they can enter the live broadcast room that is currently being broadcast, thereby improving user experience and traffic to the live broadcast room.
[0037] Therefore, according to the method 200 of the embodiment of the present disclosure, when updating the recommendation page, the second live broadcast card that is currently being broadcast is used to replace the first live broadcast card that has been discontinued, which can reduce the probability of users entering the discontinued live broadcast room, improve the user experience, and thus increase the user usage rate. In addition, it can also increase the traffic of the live broadcast room to achieve the desired live broadcast effect.
[0038] Figure 3 shows a schematic diagram of a process 300 of replacing a discontinued first live broadcast card with a second live broadcast card in some embodiments of the present disclosure. The first recommended content g1, the second recommended content g2, the third recommended content g3, and the third live broadcast card a1 in the recommendation page are exposed on the display screen. The exposed content is the currently visible card on the screen, and the first live broadcast card a2, the fourth recommended content g4, the fifth recommended content g5, the fourth live broadcast card a4, and the sixth recommended content g6 are invisible cards waiting to be displayed. The live broadcast cards in the invisible cards are detected. When it is detected that the first live broadcast card a2 has been discontinued, the first live broadcast card a2 is replaced by the second live broadcast card a3 that is currently broadcasting to update the recommendation page, thereby improving the user experience.
[0039] Figure 4 shows a schematic diagram of a process 400 for detecting whether a first live broadcast card has been stopped according to some embodiments of the present disclosure. At box 401, the user slides the recommendation page, that is, the user needs to obtain a new visible card. At box 402, it is detected whether the first live broadcast card in the recommendation page has been stopped. The first live broadcast card here is among the invisible cards on the recommendation page. When the user slides the recommendation page, the first live broadcast card may be transformed into a visible card. Before the first live broadcast card is displayed on the display screen, the first live broadcast card is detected. At box 403, the recommendation page is displayed. If it is detected that the first live broadcast card is being broadcast live, a portion of the invisible cards on the recommendation page is displayed on the display screen. At box 404, a second live broadcast card is obtained for replacement. If it is detected that the first live broadcast card has been stopped, the second live broadcast card that is being broadcast is obtained to replace the first live broadcast card.
[0040] In some embodiments, another process is included to detect whether the first live broadcast card has been stopped. If the time interval since the last detection of whether the first live broadcast card has been stopped meets a preset time threshold, the first live broadcast card in the recommendation page is detected to determine whether it has been stopped. It should be understood that live broadcast cards in invisible cards may be stopped while the user is browsing the display screen. Therefore, performing a stop detection on live broadcast cards in invisible cards at intervals of a preset time threshold can further reduce the probability of users entering a stopped live broadcast room.
[0041] Figure 5 shows a schematic diagram of the process 500 of moving forward and inserting live broadcast cards according to some embodiments of the present disclosure. The interval between the first live broadcast card a1 and the third live broadcast card a2 is the second recommended content g2, the third recommended content g3, and the fourth recommended content g5. That is, the interval between the first live broadcast card a1 and the third live broadcast card a2 on the recommendation page is three recommended contents. In the embodiment of the present disclosure, the interval between adjacent live broadcast cards is set to 2, that is, there should be two recommended contents between adjacent live broadcast cards. If the interval is greater than 2, the second live broadcast card a2 is moved forward. After the forward movement, the interval between the first live broadcast card a1 and the third live broadcast card a2 is the second recommended content g2 and the third recommended content g3, meeting the set requirements. Setting the interval between live broadcast cards can not only ensure the proportion of live broadcast cards on the recommendation page and improve the efficiency of live broadcasting, but also diversify the recommendation page and enhance the user experience. In specific implementation, the number of intervals and the conditions for moving forward can be selected according to actual needs, specifically to meet the purpose of diversifying the recommendation page.
[0042] In this embodiment, to ensure a diverse recommendation page, when the number of consecutive recommended content exceeds a preset value, cards can be inserted between consecutive recommended content. For example, the fourth recommended content g4, the fifth recommended content g5, the sixth recommended content g6, and the seventh recommended content g7 are four consecutive recommended content. This does not meet the requirement of diversified recommendation pages in this disclosure. In this case, a fourth live card a3 can be obtained and inserted between consecutive recommended content to achieve the purpose of diversified recommendation pages.
[0043] Figure 6 illustrates a flow chart for detecting whether a live broadcast card on a recommendation page has been stopped, according to some embodiments of the present disclosure. In this embodiment, live broadcast cards include direct live broadcast cards and live preview stream cards. At block 601, invisible cards are detected. Invisible cards are cards waiting to be displayed on the recommendation page, that is, cards waiting to be displayed on the screen. At block 602, the invisible card is a direct live broadcast card. A direct live broadcast card allows users to directly enter the live broadcast room upon clicking. At block 603, the invisible card is a live preview stream card. After users click on the live preview stream card, they will see a video or graphic group representing the live broadcast content. This video or graphic group is a preview of the live broadcast, a summary of the live broadcast information. Based on the live preview, users can determine whether the content in the live broadcast room is of interest and decide whether to enter the live broadcast room. The live preview stream card helps users filter live broadcasts, achieving user convenience. At blocks 604 and 605, if the invisible card is not a direct live broadcast card or a live preview stream card, it is discarded, meaning no detection is performed. At block 606, the invisible card is added to the detection collection. The obtained direct live broadcast card and live preview stream card are added to the detection collection. At block 607, a check is performed to determine whether the invisible card has been stopped, that is, whether the direct live broadcast card and live preview stream card have been stopped. At block 608, if the live broadcast indicated by the direct live broadcast card or live preview stream card is currently being broadcast, it indicates that it can be displayed on the display screen and does not need to be replaced. At block 609, if the live broadcast indicated by the direct live broadcast card or live preview stream card has been stopped, a replacement live broadcast card is obtained and replaced accordingly.
[0044] FIG7 shows a block diagram of an apparatus 700 for updating a recommendation page according to some embodiments of the present disclosure. As shown in FIG7 , the apparatus 700 includes a recommendation page acquisition module 702, a first live broadcast card detection module 704, a second live broadcast card acquisition module 706, and a recommendation page update module 708. The recommendation page acquisition module 702 is configured to obtain a recommendation page, which includes a first live broadcast card. The first live broadcast card detection module 704 is configured to detect whether the first live broadcast card in the recommendation page has been stopped. The second live broadcast card acquisition module 706 is configured to obtain a second live broadcast card that is being broadcasted in response to detecting that the first live broadcast card has been stopped. The recommendation page update module 708 is configured to update the recommendation page by replacing the first live broadcast card with the second live broadcast card.
[0045] FIG8 shows a block diagram of an electronic device 800 according to some embodiments of the present disclosure, and device 800 may be the device or apparatus described in an embodiment of the present disclosure. As shown in FIG8 , device 800 includes a central processing unit (CPU) and / or a graphics processing unit (GPU) 801, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 802 or computer program instructions loaded from a storage unit 808 into a random access memory (RAM) 803. In RAM 803, various programs and data required for the operation of device 800 can also be stored. CPU / GPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to bus 804. Although not shown in FIG8 , device 800 may also include a coprocessor.
[0046] Various components in device 800 are connected to I / O interface 805, including an input unit 806, such as a keyboard, mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a magnetic disk, optical disk, etc.; and a communication unit 809, such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows device 800 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0047] The various methods or processes described above may be performed by the CPU / GPU 801. For example, in some embodiments, the methods may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed onto the device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the CPU / GPU 801, one or more steps or actions in the methods or processes described above may be performed.
[0048] In some embodiments, the methods and processes described above may be implemented as a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present disclosure.
[0049] Computer-readable storage medium can be a tangible device that can keep and store the instructions used by the instruction execution device.Computer-readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device or any suitable combination thereof.More specific examples (non-exhaustive list) of computer-readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, for example, a punch card or a convex structure in a groove having instructions stored thereon, and any suitable combination thereof.Computer-readable storage medium used herein is not interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagated by waveguides or other transmission media (for example, light pulses by fiber optic cables), or electrical signals transmitted by wires.
[0050] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in the computer-readable storage medium in each computing / processing device.
[0051] The computer program instructions for performing the disclosed operation can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data or source code or the object code written in any combination of one or more programming languages, programming languages include object-oriented programming languages, and conventional procedural programming languages.Computer-readable program instructions can be performed completely on a user's computer, partially on a user's computer, performed as an independent software package, partly on a user's computer and partly on a remote computer, or performed completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer by any type of network-including local area network (LAN) or wide area network (WAN), or can be connected to an external computer (such as utilizing an internet service provider to connect by the internet). In certain embodiments, by utilizing the state information of computer-readable program instructions to carry out personalized customization electronic circuits, such as programmable logic circuits, field programmable gate arrays (FPGAs) or programmable logic arrays (PLA), this electronic circuit can perform computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0052] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0053] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device, so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0054] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the prescribed logical function. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart, can be implemented by a special hardware-based system that performs the prescribed function or action, or can be implemented by a combination of special hardware and computer instructions.
[0055] The embodiments of the present disclosure have been described above. The above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, practical applications, or technical improvements to existing technologies, or to enable other persons skilled in the art to understand the embodiments disclosed herein.
[0056] Some example implementations of the present disclosure are listed below.
[0057] Example 1. A method for updating a recommendation page, comprising:
[0058] Obtaining a recommendation page, wherein the recommendation page includes a first live broadcast card;
[0059] Detecting whether the first live broadcast card in the recommendation page has been stopped;
[0060] In response to detecting that the first live broadcast card has stopped broadcasting, obtaining a second live broadcast card that is currently broadcasting; and
[0061] The recommendation page is updated by replacing the first live broadcast card with the second live broadcast card.
[0062] Example 2. The method of Example 1, wherein obtaining the recommended page comprises:
[0063] Detecting whether the first live broadcast card in the recommendation pool has been stopped; and
[0064] In response to detecting that the first live broadcast card is being broadcast live, a recommendation page is obtained based on the first live broadcast card.
[0065] Example 3. The method of any one of Examples 1-2, wherein detecting whether the first live broadcast card in the recommendation page has been stopped comprises:
[0066] In response to the user sliding the recommendation page, it is detected whether the first live broadcast card in the recommendation page has been stopped.
[0067] Example 4. The method of any one of Examples 1-3, wherein detecting whether the first live broadcast card in the recommendation page has been stopped comprises:
[0068] In response to a time interval from the last detection of whether the first live broadcast card has been stopped meeting a preset time threshold, detecting whether the first live broadcast card in the recommendation page has been stopped.
[0069] Example 5. The method of any one of Examples 1-4, wherein obtaining the second live broadcast card being broadcast includes:
[0070] Detecting whether the second live broadcast card in the recommendation pool has been stopped; and
[0071] In response to detecting that the second live broadcast card is being broadcast live, the second live broadcast card being broadcast live is obtained.
[0072] Example 6. The method of any one of Examples 1-5, wherein the recommendation page further includes a plurality of recommended content and a third live broadcast card, and the method further includes:
[0073] detecting a distance between the first live broadcast card and the third live broadcast card on the recommendation page; and
[0074] In response to the interval meeting a predetermined requirement, the third live card is moved forward.
[0075] Example 7. The method of any one of Examples 1-6, further comprising:
[0076] Determining the number of consecutive recommended contents in the recommendation page;
[0077] In response to the number of the continuous recommended contents being greater than a preset value, obtaining a fourth live broadcast card; and
[0078] The fourth live broadcast card is inserted between the consecutive recommended contents.
[0079] Example 8. The method of any one of Examples 1-7, wherein detecting whether the first live broadcast card in the recommendation page has been stopped comprises:
[0080] Determining whether the first live broadcast card is a live broadcast preview stream card; and
[0081] In response to the first live broadcast card being the live broadcast preview stream card, it is detected whether the live broadcast indicated by the live broadcast preview stream card has been stopped.
[0082] Example 9. The method of any one of Examples 1-8, wherein detecting whether the first live broadcast card in the recommendation page has been stopped comprises:
[0083] Receiving a recommendation page generated by the server; and
[0084] Based on the first live broadcast card in the recommendation page, detecting the long connection status with the server;
[0085] In response to the disconnection of the long connection with the server, the first live broadcast card has been stopped;
[0086] In response to maintaining the long connection with the server, the first live broadcast card is broadcasting live.
[0087] Example 10. An apparatus for updating a recommendation page, comprising:
[0088] A recommendation page acquisition module is configured to obtain a recommendation page, wherein the recommendation page includes a first live broadcast card;
[0089] A first live broadcast card detection module is configured to detect whether the first live broadcast card in the recommendation page has been stopped;
[0090] A second live broadcast card acquisition module is configured to acquire a second live broadcast card that is being broadcasted in response to detecting that the first live broadcast card has stopped broadcasting; and
[0091] The recommendation page updating module is configured to update the recommendation page by replacing the first live broadcast card with the second live broadcast card.
[0092] Example 11. The apparatus according to Example 10, wherein the recommended page acquisition module comprises:
[0093] A first live broadcast card detection module in the recommendation pool is configured to detect whether the first live broadcast card in the recommendation pool has been stopped; and
[0094] The first recommendation page acquisition module is configured to acquire a recommendation page based on the first live broadcast card in response to detecting that the first live broadcast card is being broadcast.
[0095] Example 12. The apparatus of any one of Examples 10-11, wherein the first live card detection module comprises:
[0096] The user sliding detection module is configured to detect whether the first live broadcast card in the recommendation page has been stopped in response to the user sliding the recommendation page.
[0097] Example 13. The apparatus according to any one of Examples 10-12, wherein the first live card detection module further comprises:
[0098] The time interval detection module is configured to detect whether the first live broadcast card in the recommendation page has been stopped in response to a time interval from the last detection of whether the first live broadcast card has been stopped meeting a preset time threshold.
[0099] Example 14. The apparatus according to any one of Examples 10-13, wherein the second live card acquisition module includes:
[0100] A second live broadcast card detection module is configured to detect whether the second live broadcast card in the recommendation pool has been stopped; and
[0101] The replacement live broadcast card acquisition module is configured to acquire the second live broadcast card being broadcast in response to detecting that the second live broadcast card is being broadcast.
[0102] Example 15. The apparatus of any one of Examples 10-14, wherein the recommendation page further includes a plurality of recommended content and a third live broadcast card, and the apparatus further includes:
[0103] an interval detection module, configured to detect an interval between the first live broadcast card and the third live broadcast card on the recommendation page; and
[0104] The card advancement module is configured to advance the third live broadcast card in response to the interval meeting a predetermined requirement.
[0105] Example 16. The apparatus of any of Examples 10-15, further comprising:
[0106] a recommended content quantity determination module, configured to determine the quantity of consecutive recommended content in the recommendation page;
[0107] a fourth live broadcast card acquisition module, configured to acquire a fourth live broadcast card in response to the number of the continuous recommended contents being greater than a preset value; and
[0108] The fourth live broadcast card insertion module is configured to insert the fourth live broadcast card between the consecutive recommended contents.
[0109] Example 17. The apparatus according to any one of Examples 10-16, wherein the first live card detection module further comprises:
[0110] a live preview stream card determination module, configured to determine whether the first live broadcast card is a live preview stream card; and
[0111] The live broadcast preview stream card detection module is configured to detect whether the live broadcast indicated by the live broadcast preview stream card has been stopped in response to the first live broadcast card being the live broadcast preview stream card.
[0112] Example 18. The apparatus of any one of Examples 10-17, wherein the first live card detection module further comprises:
[0113] a recommendation page receiving module configured to receive a recommendation page generated by a server; and
[0114] a persistent connection detection module, configured to detect a persistent connection status with the server based on the first live broadcast card in the recommendation page;
[0115] a suspension determination module, configured to determine that the first live broadcast card has been suspended in response to the disconnection of the long connection with the server;
[0116] The live broadcast determination module is configured to respond to the first live broadcast card being live broadcast in response to maintaining the long connection with the server side.
[0117] Example 19. An electronic device comprising:
[0118] processor; and
[0119] A memory coupled to the processor, the memory having instructions stored therein, wherein when the instructions are executed by the processor, the electronic device performs an action, the action being used to update the recommendation page, including:
[0120] Obtaining a recommendation page, wherein the recommendation page includes a first live broadcast card;
[0121] Detecting whether the first live broadcast card in the recommendation page has been stopped;
[0122] In response to detecting that the first live broadcast card has stopped broadcasting, obtaining a second live broadcast card that is currently broadcasting; and
[0123] The recommendation page is updated by replacing the first live broadcast card with the second live broadcast card.
[0124] Example 20. The electronic device of Example 19, wherein obtaining the recommended page comprises:
[0125] Detecting whether the first live broadcast card in the recommendation pool has been stopped; and
[0126] In response to detecting that the first live broadcast card is being broadcast live, a recommendation page is obtained based on the first live broadcast card.
[0127] Example 21. The electronic device according to any one of Examples 19-20, wherein detecting whether the first live broadcast card in the recommendation page has been stopped comprises:
[0128] In response to the user sliding the recommendation page, it is detected whether the first live broadcast card in the recommendation page has been stopped.
[0129] Example 22. The electronic device of any one of Examples 19-21, wherein detecting whether the first live broadcast card in the recommendation page has been stopped comprises:
[0130] In response to a time interval from the last detection of whether the first live broadcast card has been stopped meeting a preset time threshold, detecting whether the first live broadcast card in the recommendation page has been stopped.
[0131] Example 23. The electronic device of any one of Examples 19-22, wherein obtaining a second live broadcast card that is being broadcast comprises:
[0132] Detecting whether the second live broadcast card in the recommendation pool has been stopped; and
[0133] In response to detecting that the second live broadcast card is being broadcast live, the second live broadcast card being broadcast live is obtained.
[0134] Example 24. The electronic device of any one of Examples 19-23, wherein the recommendation page further includes a plurality of recommended content and a third live broadcast card, and the method further includes:
[0135] detecting a distance between the first live broadcast card and the third live broadcast card on the recommendation page; and
[0136] In response to the interval meeting a predetermined requirement, the third live card is moved forward.
[0137] Example 25. The electronic device of any of Examples 19-24, wherein the actions further comprise:
[0138] Determining the number of consecutive recommended contents in the recommendation page;
[0139] In response to the number of the continuous recommended contents being greater than a preset value, obtaining a fourth live broadcast card; and
[0140] The fourth live broadcast card is inserted between the consecutive recommended contents.
[0141] Example 26. The electronic device of any one of Examples 19-25, wherein detecting whether the first live broadcast card in the recommendation page has been stopped comprises:
[0142] Determining whether the first live broadcast card is a live broadcast preview stream card; and
[0143] In response to the first live broadcast card being the live broadcast preview stream card, it is detected whether the live broadcast indicated by the live broadcast preview stream card has been stopped.
[0144] Example 27. The electronic device of Examples 19-26, wherein detecting whether the first live broadcast card in the recommendation page has been stopped comprises:
[0145] Receiving a recommendation page generated by the server; and
[0146] Based on the first live broadcast card in the recommendation page, detecting the long connection status with the server;
[0147] In response to the disconnection of the long connection with the server, the first live broadcast card has been stopped;
[0148] In response to maintaining the long connection with the server, the first live broadcast card is broadcasting live.
[0149] Example 28. A computer-readable storage medium having one or more computer instructions stored thereon, wherein the one or more computer instructions are executed by a processor to implement the method according to any one of Examples 1 to 9.
[0150] Although the present disclosure has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A method for updating a recommendation page, comprising: Obtaining a recommendation page, wherein the recommendation page includes a first live broadcast card; Detecting whether the first live broadcast card in the recommendation page has been stopped; In response to detecting that the first live broadcast card has stopped broadcasting, acquiring a second live broadcast card that is being broadcasted; as well as The recommendation page is updated by replacing the first live broadcast card with the second live broadcast card.
2. The method according to claim 1, wherein obtaining the recommended page comprises: Detect whether the first live broadcast card in the recommendation pool has been stopped; as well as In response to detecting that the first live broadcast card is being broadcast live, a recommendation page is obtained based on the first live broadcast card.
3. The method according to claim 1, wherein detecting whether the first live broadcast card in the recommendation page has been stopped comprises: In response to the user sliding the recommendation page, detecting whether the first live broadcast card in the recommendation page has been stopped.
4. The method according to claim 1, wherein detecting whether the first live broadcast card in the recommendation page has been stopped comprises: In response to the time interval from the last time of detecting whether the first live broadcast card has been stopped meeting a preset time threshold, detecting whether the first live broadcast card in the recommendation page has been stopped.
5. The method according to any one of claims 1 to 3, wherein obtaining the second live broadcast card being broadcasted comprises: Detect whether the second live broadcast card in the recommendation pool has been stopped; as well as In response to detecting that the second live broadcast card is broadcasting live, the second live broadcast card that is broadcasting live is obtained.
6. The method according to claim 1, wherein the recommendation page further includes a plurality of recommended contents and a third live broadcast card, and the method further includes: detecting an interval between the first live broadcast card and the third live broadcast card on the recommendation page; as well as In response to the interval satisfying a predetermined requirement, the third live broadcast card is moved forward.
7. The method according to claim 6, further comprising: Determining the number of consecutive recommended contents in the recommendation page; In response to the number of the continuous recommended contents being greater than a preset value, obtaining a fourth live broadcast card; as well as The fourth live broadcast card is inserted between the consecutive recommended contents.
8. The method according to claim 1, wherein detecting whether the first live broadcast card in the recommendation page has been stopped comprises: Determine whether the first live broadcast card is a live broadcast preview stream card; as well as In response to the first live broadcast card being the live broadcast preview stream card, it is detected whether the live broadcast indicated by the live broadcast preview stream card has been stopped.
9. The method according to claim 1, wherein detecting whether the first live broadcast card in the recommendation page has been stopped comprises: Receive the recommendation page generated by the server; as well as Based on the first live broadcast card in the recommendation page, detecting the long connection state with the server end; In response to the long connection with the server being disconnected, the first live broadcast card has been stopped; In response to maintaining the long connection with the server, the first live broadcast card is broadcasting live.
10. A device for updating a recommendation page, comprising: A recommendation page acquisition module is configured to obtain a recommendation page, wherein the recommendation page includes a first live broadcast card; A first live broadcast card detection module is configured to detect whether the first live broadcast card in the recommendation page has been stopped; A second live broadcast card acquisition module is configured to acquire a second live broadcast card that is being broadcasted in response to detecting that the first live broadcast card has stopped broadcasting; as well as The recommendation page updating module is configured to update the recommendation page by replacing the first live broadcast card with the second live broadcast card.
11. An electronic device, comprising: processor; as well as A memory coupled to the processor, the memory having instructions stored therein, wherein when the instructions are executed by the processor, the electronic device executes the method according to any one of claims 1 to 9.
12. A computer-readable storage medium having computer-executable instructions stored thereon, wherein the computer-executable instructions are executed by a processor to implement the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Live broadcast page refreshing method and device
CN105872608A
Live broadcast page jumping method and system
CN114501100A
Information processing method and device, equipment and storage medium
CN114727146A
Data processing method, data processing device, electronic equipment and storage medium
CN115460428A
Live broadcast page layout configuration method and device, electronic equipment and storage medium
CN115481344A