Method and apparatus for processing state identifier of livestreaming room, device, and medium

By sending a live stream alert request to obtain information and adjust the status indicator when the live stream status changes, the problem of mismatch between the displayed status and the actual status is solved, thus improving the live stream effect and user experience.

WO2024245422A1PCT designated stage expired Publication Date: 2024-12-05BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Application Number
PCT/CN2024/096806
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-31
Filing Date
2024-05-31
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

The current method of handling live streaming status indicators relies on users manually refreshing, which causes the displayed status indicator to not match the actual status, affecting the live streaming effect and user experience.

Method used

When the client detects a change in the status of the live room, it sends a live room detection request to the server to obtain live room information and adjusts the display status of the status indicator according to the information, including adding the live room start element when the live room starts and deleting the element when the live room ends.

Benefits of technology

It enables timely matching of status identifiers with actual status, improving live streaming quality and user experience, and avoiding the waste of resources due to invalid requests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024096806_05122024_PF_FP_ABST
    Figure CN2024096806_05122024_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure provides a method and apparatus for processing a state identifier of a livestreaming room, a device, and a medium. The method comprises: when it is determined that a target livestreaming room is switched from an offline state to a live state, sending a liveness probing request to a server, such that the server returns livestreaming room information of the target livestreaming room on the basis of the liveness probing request; and on the basis of the livestreaming room information of the target livestreaming room, adjusting a display state of a state identifier of the target livestreaming room to a live display state. Therefore, when a client senses that a target livestreaming room is switched from an offline state to a live state, a display state of a state identifier of the target livestreaming room is adjusted in time by sending a liveness probing request to a server, so that the problem that the display state of the state identifier of the livestreaming room does not match a real state of the livestreaming room is avoided, and viewing users can conveniently enter the target livestreaming room on the basis of the state identifier of the live display state to watch livestreaming, thereby improving the livestreaming effect.
Need to check novelty before this filing date? Find Prior Art

Description

Live broadcast room status identification processing method, device, equipment and medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese invention patent application with application number 202310637793.7, entitled "Status identification processing method, device, equipment and medium for live broadcast room" and filing date May 31, 2023, and the entire application is incorporated herein by reference. Technical Field

[0003] The present disclosure relates to the field of live broadcast technology, and in particular to a method, device, equipment, and medium for processing status identification of a live broadcast room. Background Art

[0004] In the existing solution, the processing method of the status indicator of the live broadcast room relies on manual refresh by the viewing users. Since there is a time difference between the start time of the live broadcast room and the manual refresh time of the viewing users, the display status of the status indicator of the live broadcast room cannot be updated in time, and it is easy for the display status of the status indicator of the live broadcast room to not match the actual status of the live broadcast room, further affecting the live broadcast effect.

[0005] Summary of the Invention

[0006] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a method, device, equipment and medium for processing status identification of a live broadcast room.

[0007] In a first aspect, the present disclosure provides a method for processing a status identifier of a live broadcast room, the method comprising:

[0008] When it is determined that the target live broadcast room is switched from the off-broadcast state to the on-broadcast state, a live broadcast request is sent to the server, so that the server returns the live broadcast room information of the target live broadcast room based on the live broadcast request;

[0009] Based on the live broadcast room information of the target live broadcast room, the display state of the status identifier of the target live broadcast room is adjusted to the broadcast display state.

[0010] In a second aspect, the present disclosure provides a device for processing status identification of a live broadcast room, the device comprising:

[0011] A sending module, configured to send a live broadcast request to a server when determining that a target live broadcast room is switched from an off-broadcast state to an on-broadcast state, so that the server returns live broadcast room information of the target live broadcast room based on the live broadcast request;

[0012] The adjustment module is used to adjust the display state of the status identifier of the target live broadcast room to the broadcast display state based on the live broadcast room information of the target live broadcast room.

[0013] In a third aspect, the present disclosure provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium. When the instructions are executed on a terminal device, the terminal device implements the above method.

[0014] In a fourth aspect, the present disclosure provides a device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method when executing the computer program.

[0015] In a fifth aspect, the present disclosure provides a computer program product, which includes a computer program / instructions, and the computer program / instructions implement the above method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0017] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0018] FIG1 is a schematic diagram of the architecture of a status identification processing system for a live broadcast room provided by an embodiment of the present disclosure;

[0019] FIG2 is a flow chart of a method for processing status identification of a live broadcast room provided by an embodiment of the present disclosure;

[0020] FIG3 is a logic diagram of another method for processing status identification of a live broadcast room provided by an embodiment of the present disclosure;

[0021] FIG4 is a logical diagram of a subscription relationship generation process provided by an embodiment of the present disclosure;

[0022] FIG5 is a schematic diagram of the structure of a state identification processing device for a live broadcast room provided by an embodiment of the present disclosure;

[0023] FIG6 is a schematic structural diagram of a status identification processing device for a live broadcast room provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features therein can be combined with each other in the absence of conflict.

[0025] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0026] With the rapid development of Internet technology, live broadcast systems with live broadcast room functions have been widely used. The status indicator of the live broadcast room is an important entrance to watching the broadcast. Whether the display status of the status indicator of the live broadcast room can be updated in time is a key factor affecting the live broadcast effect.

[0027] In related technologies, the way the status indicator of a live broadcast room is handled relies on manual refreshes by the viewing user, which can easily lead to a mismatch between the displayed status of the live broadcast room's status indicator and its actual status. In one scenario, the live broadcast room's status indicator displays the broadcast as off, but the live broadcast room is actually on. This mismatch between the displayed status of the live broadcast room's status indicator and its actual status prevents the viewing user from promptly noticing that the live broadcast room has started. This, in turn, results in the user not triggering the status indicator to enter the live broadcast room to watch the live broadcast, thereby reducing the effectiveness of the live broadcast.

[0028] In other scenarios, the status indicator of the live broadcast room shows the live broadcast status. The viewing user wants to enter the live broadcast room by triggering the status indicator of the live broadcast room, but after entering the live broadcast room, he finds that the actual status of the live broadcast room is the offline state. This situation affects the viewing user's live broadcast viewing experience.

[0029] To improve the effectiveness of live broadcasts and enhance the viewing experience of viewers, clients can initiate live broadcast status detection requests through polling. The server then determines the live broadcast room information based on the detection request and pushes the live broadcast room information to the client. The client then adjusts the display status of the live broadcast room's status indicator based on the live broadcast room information. However, when the client initiates the detection request, it does not consider whether the live broadcast room's live broadcast status has changed. As a result, the client may not be able to adjust the display status of the status indicator after issuing the detection request. In other words, most detection requests issued by the client are invalid requests, resulting in a waste of request resources.

[0030] In order to solve the above problems, Figure 1 shows a schematic diagram of the architecture of a live broadcast room status identification processing system provided by an embodiment of the present disclosure. As shown in Figure 1, the live broadcast room status identification processing system includes: a client 100 and a server 200.

[0031] First, when the client 100 determines that the target live broadcast room has switched from the off state to the on state, it sends a live detection request to the server 200, so that the server 200 returns the live broadcast room information of the target live broadcast room based on the live detection request; then, the client 100 adjusts the display of the status indicator of the target live broadcast room to the on display state based on the live broadcast room information of the target live broadcast room.

[0032] Therefore, when the client perceives that the target live broadcast room is switched from the off state to the on state, it adjusts the display status of the status identifier of the target live broadcast room in time by sending a detection request to the server. Therefore, the problem of the live broadcast room that has actually been broadcasting but its status identifier is in the off display state will not occur, that is, the problem of the display status of the status identifier of the live broadcast room not matching the actual state of the live broadcast room will not occur, which makes it convenient for viewers to enter the target live broadcast room to watch the live broadcast based on the status identifier of the on display state, ultimately improving the live broadcast effect.

[0033] In other cases, when the client 100 detects that the target live broadcast room has switched from the on-broadcast state to the off-broadcast state, and the client 100 determines that the display content of the current interface is not the preview stream of the target live broadcast room, the live broadcast room information of the target live broadcast room is deleted, and the display state of the status identifier of the target live broadcast room is adjusted to the off-broadcast display state.

[0034] Therefore, when the client detects that the target live broadcast room switches from the on-broadcast state to the off-broadcast state, the live broadcast room information of the target live broadcast room is deleted, and the display state of the status identifier of the target live broadcast room is adjusted to the off-broadcast display state. The problem of the viewing user entering the live broadcast room by triggering the status identifier of the live broadcast room, but finding out that the actual state of the live broadcast room is off-broadcast after entering the live broadcast room will not occur. This is conducive to improving the live viewing experience of the viewing users.

[0035] Based on the above architecture, Figure 2 shows a flow chart of a method for processing a status identifier of a live broadcast room provided by an embodiment of the present disclosure. As shown in Figure 2, the method for processing a status identifier of a live broadcast room includes the following steps.

[0036] S210: When it is determined that the target live broadcast room is switched from the off-broadcast state to the on-broadcast state, a live broadcast request is sent to the server, so that the server returns the live broadcast room information of the target live broadcast room based on the live broadcast request.

[0037] In this embodiment, for a live broadcast application with a live broadcast room function (such as a short video application), the client where the live broadcast application is located determines whether the target live broadcast room is switched from an off-broadcast state to an on-broadcast state. If the target live broadcast room is switched from an off-broadcast state to an on-broadcast state, a live detection request is sent to the server, so that the server returns the live broadcast room information of the target live broadcast room.

[0038] The target live broadcast room refers to the live broadcast room of any live broadcast user being detected. For example, the target live broadcast room is the live broadcast room of a beauty anchor or a travel anchor.

[0039] Among them, the live detection request refers to the request information for detecting the survival status of the service, which is used to obtain the live broadcast room information of the target live broadcast room when the target live broadcast room is in a survival state (i.e., non-logout state, non-review state, etc.).

[0040] The live broadcast room information refers to the complete address of the live broadcast room, which contains complex fields.

[0041] In order to communicate with the server for a long time, the server and the client can establish a long link, and the client can receive the live broadcast room information returned by the server through the long link.

[0042] S220: Based on the live broadcast room information of the target live broadcast room, adjust the display state of the status indicator of the target live broadcast room to the broadcast display state.

[0043] In this embodiment, the client adjusts the display status of the status identifier of the target live room to the broadcast display status based on the complete address of the target live room in the live room information, so that the display status of the status identifier of the target live room is consistent with the actual status of the target live room.

[0044] The status indicator is information indicating the live broadcast status of the live broadcast room. Optionally, the status indicator can be information such as the host avatar of the target live broadcast room, the live broadcast tweet of the target live broadcast room, etc., which is not limited here.

[0045] Among them, the broadcast display status is the display status when the target live broadcast room starts broadcasting.

[0046] In the embodiment of the present disclosure, optionally, S220 specifically includes: based on the live broadcast room information, adding a broadcast status element to the basic element of the target live broadcast room to form a status identifier corresponding to the broadcast display status.

[0047] Among them, basic elements refer to the basic components that form the status identification.

[0048] It can be understood that if the basic elements of the target live broadcast room have been stored in the on-air state or the off-air state, then when generating the status identifier corresponding to the on-air display state, it can be directly retrieved and used. If the basic elements of the target live broadcast room have not been stored or have been updated, then before generating the status identifier corresponding to the on-air display state, it is necessary to determine the basic elements of the target live broadcast room and then generate the status identifier corresponding to the on-air display state.

[0049] In one case, if the status identifier is the anchor avatar of the target live broadcast room, the basic element of the status identifier is the avatar of the target live broadcast room, which can be a landscape picture, a pet photo, etc., and is not limited here.

[0050] In another case, if the status identifier is a live tweet of the target live broadcast room, the basic element of the status identifier is the live broadcast room nickname of the target live broadcast room.

[0051] The live broadcast status element refers to an additional element used to identify that the target live broadcast room is in the live broadcast state. Optionally, the live broadcast status element may include, but is not limited to, a breathing light with a deformation effect, a "live broadcast" field, and a color identifier.

[0052] In one case, if the status identifier is the anchor avatar of the target live broadcast room, and the basic element of the status identifier is the avatar of the target live broadcast room, a breathing light with a deformation effect and a "live broadcast" field are added to the avatar of the target live broadcast room to form a status identifier corresponding to the broadcast display status.

[0053] In another case, if the status identifier is a live tweet of the target live broadcast room, and the basic element of the status identifier is the live broadcast room nickname of the target live broadcast room, add the "live broadcast" field after the live broadcast room nickname of the target live broadcast room, and / or add a red identifier to the live broadcast room nickname of the target live broadcast room to form a status identifier corresponding to the broadcast display status.

[0054] It should be noted that since the client considers the target live broadcast room's switch from an off-state to an on-state when initiating a live broadcast request, the client can promptly adjust the target live broadcast room's status indicator to an on-state after receiving the live broadcast room information. This prevents the client from failing to adjust the target live broadcast room's status indicator after issuing a live broadcast request. Therefore, all live broadcast requests issued by the client are valid, avoiding wasting request resources and improving the utilization rate of request resources.

[0055] The disclosed embodiment provides a method for processing the status identification of a live broadcast room, the method comprising: when determining whether a target live broadcast room has switched from an off-broadcast state to an on-broadcast state, sending a live detection request to a server, so that the server returns the live broadcast room information of the target live broadcast room based on the live detection request; based on the live broadcast room information of the target live broadcast room, adjusting the display state of the status identification of the target live broadcast room to an on-broadcast display state. Thus, when the client perceives that the target live broadcast room has switched from an off-broadcast state to an on-broadcast state, the display state of the status identification of the target live broadcast room is adjusted in a timely manner by sending a live detection request to the server. Therefore, there will be no problem that the live broadcast room that has actually been broadcasted has a status identification of an off-broadcast display state, that is, there will be no problem that the display state of the status identification of the live broadcast room does not match the actual state of the live broadcast room, which facilitates the viewing user to enter the target live broadcast room to watch the live broadcast based on the status identification of the on-broadcast display state, thereby ultimately improving the live broadcast effect.

[0056] In another embodiment of the present disclosure, when the target live broadcast room is switched from the on-broadcast state to the off-broadcast state, the preview stream of the target live broadcast room is processed, and / or the display state of the status indicator of the target live broadcast room is adjusted to the off-broadcast display state.

[0057] Figure 3 shows a flow chart of another method for processing status identification of a live broadcast room provided by an embodiment of the present disclosure. As shown in Figure 3, the method for processing status identification of a live broadcast room includes the following steps.

[0058] S310: Determine whether the target live broadcast room is switched from an off-broadcast state to an on-broadcast state.

[0059] In this embodiment, the client monitors the status of the target live broadcast room in real time, specifically monitoring whether the target live broadcast room switches from an off-state to an on-state or from an on-state to an off-state, and then adjusts the display state of the status indicator in a manner corresponding to the two switching states. Specifically, if the client determines that the target live broadcast room switches from an off-state to an on-state, S320 is executed; otherwise, S340 is executed.

[0060] S320: Send a live broadcast request to the server, so that the server returns the live broadcast room information of the target live broadcast room based on the live broadcast request.

[0061] S330: Based on the live broadcast room information of the target live broadcast room, adjust the display state of the status indicator of the target live broadcast room to the broadcast display state.

[0062] Among them, S320 to S330 are similar to S210 to S220 and are not described in detail here.

[0063] S340: Determine whether the current display content displayed on the current interface is the preview stream of the target live broadcast room.

[0064] The current interface refers to the interface on the client that displays the live content of multiple live broadcast rooms. Optionally, the current interface can be a local page, a recommendation page, or a follow page. Moreover, the current interface can display the display content of a single live broadcast room in a single-column information flow display mode, or it can display the display content of multiple live broadcast rooms in a multi-column information flow display mode, without limitation here.

[0065] Among them, the currently displayed content refers to the editing content corresponding to the target live broadcast room, and the editing content can be photos, text content, short videos or preview streams of the live broadcast room.

[0066] Among them, the preview stream of the target live broadcast room refers to the live broadcast screen of the target live broadcast room, and the viewing user enters the target live broadcast room by clicking on the preview stream.

[0067] Specifically, if the client determines that the current display content is the preview stream of the target live broadcast room, S350 is executed; otherwise, S360 is executed.

[0068] S350: Delete the preview stream of the target live broadcast room, or replace the preview stream of the target live broadcast room with the preview stream of other live broadcast rooms except the target live broadcast room.

[0069] It is understandable that if the target live broadcast room switches from the on-broadcast state to the off-broadcast state, and the currently displayed content is the preview stream of the target live broadcast room, by deleting the preview stream, the viewing user is prevented from entering the live broadcast room that is actually closed by clicking on the preview stream. Alternatively, the client can also replace the preview stream of the target live broadcast room with the preview stream of other live broadcast rooms, so that the viewing user can enter other live broadcast rooms by clicking on the preview stream of other live broadcast rooms, thereby maximizing the overall effect of multiple live broadcast rooms in the live broadcast system.

[0070] S360: Delete the live broadcast room information of the target live broadcast room, and adjust the display state of the status indicator of the target live broadcast room to the off display state.

[0071] In the embodiment of the present disclosure, optionally, "adjusting the display status of the status identifier of the target live broadcast room to the off display status" in S360 includes: deleting the on-air status element added to the basic element of the status identifier of the target live broadcast room to form a status identifier corresponding to the off display status.

[0072] In one case, if the status identifier is the anchor avatar of the target live broadcast room, and the anchor avatar of the target live broadcast room has added a breathing light with a deformation effect and a "live broadcast" field, then the breathing light and the "live broadcast" field are deleted to form the anchor avatar corresponding to the off display state.

[0073] In another case, if the status identifier is a live tweet of the target live broadcast room, the target live broadcast room nickname has added a "live broadcast" field, and / or a red identifier is added to the target live broadcast room nickname, then the "live broadcast" field and / or the red identifier is deleted to form the host avatar corresponding to the off display status.

[0074] It is understandable that if the currently displayed content is not the preview stream of the target live broadcast room, the live broadcast room information can be reset by deleting the live broadcast room information, and the on-air status element added to the basic element of the status identifier of the target live broadcast room can be deleted, so as to obtain the status identifier corresponding to the off-air display status, thereby avoiding viewing users entering the live broadcast room that is actually closed by clicking on the status identifier. This is conducive to improving the user experience.

[0075] In another embodiment of the present disclosure, in different scenarios, a subscription relationship is generated between the client and the server, so that the client receives the live broadcast status change information of the target live broadcast room pushed by the server based on the subscription relationship, and determines the status switching status of the target live broadcast room based on the live broadcast status change information.

[0076] Based on the above embodiment, before executing S210, the method further includes:

[0077] S201. Receive live broadcast status change information of a target live broadcast room pushed by a server; wherein the live broadcast status change information is pushed by the server based on the subscription relationship between the anchor user of the target live broadcast room and the client.

[0078] S202: Based on the live broadcast status change information, determine whether the target live broadcast room is switched from the off-broadcast state to the on-broadcast state.

[0079] The live broadcast status change information is a prompt information generated by the server based on the change of the live broadcast room status, which is used to prompt the client to process the display status of the live broadcast room status indicator. Optionally, the live broadcast status change information can be the switching information from off to on, or the switching information from on to off.

[0080] Specifically, the live broadcast status change information may carry a live broadcast room keyword and status switching information of the target live broadcast room, and determine the target live broadcast room from multiple live broadcast rooms based on the live broadcast room keyword, and determine whether the target live broadcast room switches from the off state to the on state, or from the on state to the off state, based on the status switching information. Optionally, the live broadcast room keyword may be a live broadcast room identification number (e.g., a live broadcast room ID).

[0081] In this embodiment, the method for determining the subscription relationship optionally includes: sending a subscription request for at least one live room to the server in response to a refresh operation on the live room on the current interface; receiving at least one live room pushed by the server in the subscription request; generating a subscription relationship based on the live room identifier of at least one live room and the client identifier of the client and sending it to the server.

[0082] In this embodiment, when the viewing user clicks on the application icon of the live broadcast application to cold start the live broadcast application, or when the viewing user clicks on the homepage of the live broadcast application, the client obtains a refresh operation for the live broadcast room on the current interface, and then sends a subscription request to the server based on the refresh operation, so that the server pushes at least one live broadcast room to the client. The client can generate a subscription relationship through the live broadcast room identifier of at least one live broadcast room and the client identifier of the client, and send the subscription relationship to the server.

[0083] As described above, the current interface refers to the same-city page, recommendation page or follow-up page of the live broadcast application, and the current interface can display the display content of one live broadcast room in a single-column information flow display mode, or it can display the display content of multiple live broadcast rooms in a multi-column information flow display mode, which is not limited here.

[0084] Among them, the display content of the live broadcast room refers to the editing content corresponding to the live broadcast room, and the editing content can be text content, short video or preview stream of the live broadcast room.

[0085] Among them, the live broadcast room identification refers to the identification information used to distinguish different live broadcast rooms, which may include but is not limited to anchor nicknames, anchor numbers and other anchor identifications.

[0086] The client identifier refers to identification information of the client used to distinguish different viewing users, and may include but is not limited to a device name.

[0087] Furthermore, after the client generates a subscription relationship, it can send the subscription relationship to the server through a long link, so that the server stores the subscription relationship and enables the server to push the live broadcast status change information of the target live broadcast room to the client based on the subscription relationship and through the long link when generating the live broadcast status change information of the target live broadcast room. If the client receives the live broadcast status change information of the target live broadcast room pushed by the server, and determines that the target live broadcast room is switched from the off state to the on state, the display state of the status identifier of the target live broadcast room is adjusted to the on display state by sending a detection request to the server, so that the viewing users can enter the target live broadcast room to watch the live broadcast based on the status identifier of the on display state, which is ultimately beneficial to improving the live broadcast effect.

[0088] In some cases, after opening a short video application, the viewing user is accustomed to switching between live broadcast rooms by swiping down or up. In this case, after generating a subscription relationship in the above manner, the method will update the subscription relationship in real time and send the updated subscription relationship to the server, so that the server can re-push the live broadcast status change information of the target live broadcast room to the client based on the updated subscription relationship. Then, based on the re-pushed live broadcast status change information of the target live broadcast room and the method of resending the live detection request, the client adjusts the display status of the status identifier of the target live broadcast room from the off display state to the on display state, or adjusts the display status of the status identifier of the target live broadcast room from the on display state to the off display state. Accordingly, after generating the subscription relationship, the method further includes: if a sliding operation is detected for the live broadcast room on the current interface, based on the sliding direction and number of sliding operations, determining the number of live broadcast rooms that have been swiped on the current interface; based on the number of live broadcast rooms that have been swiped and the sliding direction, regenerating the subscription relationship and sending the regenerated subscription relationship to the server.

[0089] The sliding direction includes a downward sliding direction from the top of the current interface to the bottom of the current interface, and an upward sliding direction from the bottom of the current interface to the top of the current interface. The number of sliding times refers to the number of downward sliding times and / or upward sliding times. Therefore, based on the sliding direction and the number of sliding times, the number of live broadcast rooms that have been traversed can be determined.

[0090] In this embodiment, optionally, based on the number of live broadcast rooms that have been swiped through and the sliding direction, a subscription relationship is regenerated and the regenerated subscription relationship is sent to the server, specifically including: if the sliding direction is a downward sliding direction from the top of the current interface to the bottom of the current interface, and the number of live broadcast rooms that have been swiped through is a first number, based on the live broadcast room identifier of at least one live broadcast room, the live broadcast room identifier of at least one live broadcast room to be displayed by sliding down, and the client identifier, the subscription relationship is regenerated; and / or, if the sliding direction is an upward sliding direction from the bottom of the current interface to the top of the current interface, and the number of live broadcast rooms that have been swiped through is a second number, based on the live broadcast room identifier of at least one live broadcast room, the live broadcast room identifier of at least one live broadcast room to be displayed by sliding up, and the client identifier, the subscription relationship is regenerated.

[0091] The first number is the number of live broadcast rooms of the current interface corresponding to the slid-down interface to be displayed, and the second number is the number of live broadcast rooms of the current interface corresponding to the slid-up interface to be displayed. Optionally, the first number and the second number can be equal or unequal.

[0092] It should be noted that in some cases, when the server pushes live broadcast rooms to the client, it can quickly push at least one live broadcast room when sliding down or up based on the user's sliding direction, that is, the first number and the second number are both greater than 0. In other cases, when the server pushes live broadcast rooms to the client, it can only quickly push at least one live broadcast room when sliding down, then the first number is greater than 0, and the second number is greater than or equal to 0. For ease of understanding, taking the first number and the second number as 6, and taking the current interface displaying the display content of a live broadcast room as an example, the process of generating a subscription relationship based on a refresh operation and updating the subscription relationship based on a sliding operation is explained. Referring to the logical diagram of the subscription relationship generation process shown in Figure 4, first, when the viewing user opens the live broadcast application and clicks on the homepage of the live broadcast application to refresh the live broadcast room displayed on the current page, the client obtains and responds to the refresh operation, and sends a subscription request for 6 live broadcast rooms to the client. The server pushes 6 live broadcast rooms to the client based on the subscription request. The 6 live broadcast rooms refer to a live broadcast room to be displayed after the current interface is refreshed and the 5 live broadcast rooms to be displayed after the live broadcast room. The client generates 6 subscription relationships based on the live broadcast room identifiers of the 6 live broadcast rooms (that is, the live broadcast room identifiers of the live broadcast room numbers 1-6 corresponding to S1 in Figure 4) and the client identifier of the client, and sends the 6 subscription relationships to the server.

[0093] Then, when the viewing user slides on the current interface, specifically the sliding direction is the downward direction, and the number of live broadcast rooms that have been swiped through is 6, that is, when the viewing user slides down to the 6th live broadcast room, based on the live broadcast room identifiers of the 6 live broadcast rooms that have been swiped through (that is, the live broadcast room identifiers of the 1-6 live broadcast rooms corresponding to S2 in Figure 4), the live broadcast room identifiers of the 6 live broadcast rooms to be displayed that have been swiped down (that is, the live broadcast room identifiers of the 7-12 live broadcast rooms corresponding to S2 in Figure 4) and the client identifier, 12 subscription relationships are regenerated and the 12 subscription relationships are sent to the server.

[0094] Similarly, when the viewing user slides on the current interface, specifically the sliding direction is the upward sliding direction, and the number of live broadcast rooms that have been swiped past is 6, then it is necessary to regenerate the subscription relationship based on the 6 live broadcast room identifiers of the swiped-past live broadcast rooms, the 6 live broadcast room identifiers of the swiped-up live broadcast rooms to be displayed, and the client identifier. However, considering that when the server pushes the live broadcast room to the client, it can only quickly push at least one live broadcast room when sliding down. Specifically, when the number of live broadcast rooms that have been swiped past is 6, that is, when the viewing user returns to the first live broadcast room, the host identifiers of the 6 live broadcast rooms that are swiped-up to be displayed corresponding to the first live broadcast room cannot be quickly obtained and need to be obtained through refresh. Therefore, here, only based on the 6 live broadcast room identifiers of the swiped-past live broadcast rooms (that is, the live broadcast room identifiers of the live broadcast rooms numbered 1-6 corresponding to S3 in Figure 4) and the client identifier, 6 subscription relationships are regenerated and the said 6 subscription relationships are sent to the server.

[0095] Therefore, the client generates a subscription relationship based on the refresh operation of the live broadcast room on the current interface by the viewing user and sends the subscription relationship to the server. It can also regenerate the subscription relationship and send it to the server based on the sliding direction and number of sliding operations when a sliding operation is detected, so that the server can push the live broadcast status change information to the client based on the subscription relationship to ensure the reliability of information push.

[0096] In other cases, after the viewing user opens the live broadcast application, they may switch interfaces and, after the interface switch, regenerate and send the subscription relationship. Accordingly, after generating the subscription relationship, the method further includes: in response to the interface switch operation on the current interface, sending a subscription request to the server for at least one live broadcast room to be displayed on the next interface; receiving at least one live broadcast room re-pushed by the server based on the new subscription request; and regenerating the subscription relationship based on the live broadcast room identifier of the re-pushed at least one live broadcast room and the client identifier of the client and sending it to the server.

[0097] The next interface refers to an interface determined based on the position of the interface switching operation of the viewing user. For example, if the current interface is the focus page, the next interface can be the selection interface, recommendation page, live broadcast selection page, etc.

[0098] Therefore, when the viewing user switches the interface on the client, the subscription relationship between at least one live broadcast room to be displayed on the next interface and the client is regenerated, which facilitates the server to subsequently detect the display status of the live broadcast room to be displayed on the next interface based on the subscription relationship corresponding to the next interface.

[0099] In other cases, when the long link between the client and the server is disconnected and then re-established, the subscription relationship can also be regenerated and sent to the server based on the live broadcast room identifier of at least one live broadcast room to be displayed on the current interface after the long link is established and the client identifier of the client.

[0100] Therefore, when the long link is disconnected and reconnected, the subscription relationship is regenerated and sent, which makes it convenient for the server to detect the display status of the live broadcast room to be displayed on the current interface based on the subscription relationship corresponding to the current interface.

[0101] Based on the same inventive concept as the above-mentioned method embodiment, the present disclosure further provides a state identification processing device for a live broadcast room. Referring to FIG5 , there is shown a schematic structural diagram of a state identification processing device for a live broadcast room provided by an embodiment of the present disclosure. The state identification processing device 500 for a live broadcast room includes:

[0102] The sending module 510 is configured to send a live broadcast request to the server when it is determined that the target live broadcast room is switched from the off-broadcast state to the on-broadcast state, so that the server returns the live broadcast room information of the target live broadcast room based on the live broadcast request;

[0103] The adjustment module 520 is used to adjust the display state of the status identifier of the target live broadcast room to the broadcast display state based on the live broadcast room information of the target live broadcast room.

[0104] In an optional implementation, the adjustment module 520 includes:

[0105] An adding unit is used to add a broadcast status element to the basic element of the target live broadcast room based on the live broadcast room information to form a status identifier corresponding to the broadcast display status.

[0106] In an optional embodiment, the device further includes:

[0107] A receiving module, configured to receive the live broadcast status change information of the target live broadcast room pushed by the server;

[0108] The switching determination module is used to determine whether the target live broadcast room is switched from the off-broadcast state to the on-broadcast state based on the live broadcast state change information.

[0109] In an optional implementation, the live broadcast status change information is pushed by the server based on the subscription relationship between the anchor user of the target live broadcast room and the client.

[0110] In an optional embodiment, the device further includes:

[0111] A first request sending module is configured to send a subscription request for at least one live broadcast room to the server in response to a refresh operation on the live broadcast room on the current interface;

[0112] A first receiving module is configured to receive at least one live broadcast room pushed by the server based on the subscription request;

[0113] A generation module is used to generate the subscription relationship based on the live broadcast room identifier of the at least one live broadcast room and the client identifier of the client and send it to the server.

[0114] In an optional embodiment, the device further includes:

[0115] A sliding operation detection module is used to determine the number of live broadcast rooms that have been swiped on the current interface based on the sliding direction and number of slides of the sliding operation if a sliding operation is detected for the live broadcast room on the current interface;

[0116] The first regeneration module is used to regenerate the subscription relationship based on the number of live broadcast rooms that have been swiped and the sliding direction and send it to the server.

[0117] In an optional implementation manner, the first regeneration module is specifically configured to:

[0118] If the sliding direction is a sliding direction from the top of the current interface to the bottom of the current interface, and the number of live broadcast rooms that have been swiped through is the first number, based on the live broadcast room identifier of the at least one live broadcast room, the live broadcast room identifier of at least one live broadcast room to be displayed by sliding down, and the client identifier, a subscription relationship is regenerated; and / or,

[0119] If the sliding direction is an upward sliding direction from the bottom of the current interface to the top of the current interface, and the number of live broadcast rooms that have been swiped through is the second number, the subscription relationship is regenerated based on the live broadcast room identifier of the at least one live broadcast room, the live broadcast room identifier of at least one live broadcast room to be displayed by sliding up, and the client identifier.

[0120] In an optional embodiment, the device further includes:

[0121] A first request sending module is configured to send, in response to an interface switching operation on the current interface, a subscription request for at least one live broadcast room to be displayed on a next interface to the server;

[0122] A second receiving module is configured to receive at least one live broadcast room re-pushed by the server based on a new subscription request;

[0123] The second regeneration module is used to regenerate the subscription relationship based on the live broadcast room identifier of the at least one live broadcast room that has been re-pushed and the client identifier of the client, and send the regeneration relationship to the server.

[0124] In an optional embodiment, the device further includes:

[0125] a judgment module, configured to judge whether the current display content displayed on the current interface is a preview stream of the target live broadcast room when it is determined that the target live broadcast room is switched from the on-broadcast state to the off-broadcast state;

[0126] a deletion or replacement module, configured to, if the currently displayed content is the preview stream of the target live broadcast room, delete the preview stream of the target live broadcast room, or replace the preview stream of the target live broadcast room with the preview stream of other live broadcast rooms except the target live broadcast room; and / or,

[0127] The adjustment module is used to delete the live broadcast room information of the target live broadcast room if the current display content is not the preview stream of the target live broadcast room, and adjust the display state of the status identifier of the target live broadcast room to the off display state.

[0128] The disclosed embodiment provides a status identification processing device for a live broadcast room. When it is determined that a target live broadcast room is switched from an off-broadcast state to an on-broadcast state, a detection request is sent to a server so that the server returns the live broadcast room information of the target live broadcast room based on the detection request; based on the live broadcast room information of the target live broadcast room, the display state of the status identification of the target live broadcast room is adjusted to an on-broadcast display state. Thus, when the client perceives that the target live broadcast room is switched from an off-broadcast state to an on-broadcast state, the display state of the status identification of the target live broadcast room is adjusted in time by sending a detection request to the server. Therefore, there will be no problem that the live broadcast room that has actually been broadcasted has a status identification of an off-broadcast display state, that is, there will be no problem that the display state of the status identification of the live broadcast room does not match the actual state of the live broadcast room. This makes it convenient for viewers to enter the target live broadcast room to watch the live broadcast based on the status identification of the on-broadcast display state, thereby ultimately improving the live broadcast effect.

[0129] In addition to the above-mentioned methods and devices, the embodiments of the present disclosure also provide a computer-readable storage medium, which stores instructions. When the instructions are executed on a terminal device, the terminal device implements the status identification processing method of the live broadcast room of the embodiment of the present disclosure.

[0130] The embodiment of the present disclosure also provides a computer program product, which includes a computer program / instruction. When the computer program / instruction is executed by a processor, the status identification processing method of the live broadcast room of the embodiment of the present disclosure is implemented.

[0131] In addition, the embodiment of the present disclosure further provides a state identification processing device for a live broadcast room. As shown in FIG6 , the state identification processing device for a live broadcast room may include:

[0132] Processor 601, memory 602, input device 603, and output device 604. The number of processors 601 in the status identification processing device of the live broadcast room can be one or more, and Figure 6 uses one processor as an example. In some embodiments of the present disclosure, the processor 601, memory 602, input device 603, and output device 604 can be connected via a bus or other means, wherein Figure 6 uses the bus connection as an example.

[0133] The memory 602 can be used to store software programs and modules. The processor 601 executes the various functional applications and data processing of the status identification processing device of the live broadcast room by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc. In addition, the memory 602 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. The input device 603 can be used to receive input digital or character information, and to generate signal input related to the observation user settings and function control of the status identification processing device of the live broadcast room.

[0134] Specifically in this embodiment, the processor 601 will load the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 will run the applications stored in the memory 602, thereby realizing the various functions of the status identification processing device of the above-mentioned live broadcast room.

[0135] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device that includes the element.

[0136] The above are merely specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to these embodiments, but is to be construed in the broadest manner consistent with the principles and novel features disclosed herein.

Claims

1. A method for processing status identification of a live broadcast room, the method comprising: When it is determined that the target live broadcast room is switched from the off-broadcast state to the on-broadcast state, a live broadcast request is sent to the server, so that the server returns the live broadcast room information of the target live broadcast room based on the live broadcast request; Based on the live broadcast room information of the target live broadcast room, the display state of the status indicator of the target live broadcast room is adjusted to the broadcast display state.

2. The method according to claim 1, wherein: The adjusting the display state of the status indicator of the target live broadcast room to the broadcasting display state based on the live broadcast room information of the target live broadcast room includes: Based on the live broadcast room information, a broadcast status element is added to the basic element of the target live broadcast room to form a status identifier corresponding to the broadcast display status.

3. The method according to claim 1, wherein: The method further comprises: Receiving the live broadcast status change information of the target live broadcast room pushed by the server; Based on the live broadcast state change information, determine whether the target live broadcast room is switched from the off state to the on state.

4. The method according to claim 3, wherein: The live broadcast status change information is pushed by the server based on the subscription relationship between the anchor user of the target live broadcast room and the client.

5. The method according to claim 4, wherein: The method further comprises: In response to a refresh operation on the live broadcast room on the current interface, sending a subscription request for at least one live broadcast room to the server; Receiving at least one live broadcast room pushed by the server based on the subscription request; Based on the live broadcast room identifier of the at least one live broadcast room and the client identifier of the client, the subscription relationship is generated and sent to the server.

6. The method according to claim 5, wherein: After generating the subscription relationship based on the live broadcast room identifier of the at least one live broadcast room and the client identifier of the client and sending the subscription relationship to the server, the method further includes: If a sliding operation on a live broadcast room on the current interface is detected, the number of live broadcast rooms that have been swiped on the current interface is determined based on the sliding direction and the number of sliding times of the sliding operation; Based on the number of live broadcast rooms that have been swiped through and the sliding direction, the subscription relationship is regenerated and sent to the server.

7. The method according to claim 6, wherein: The regenerating the subscription relationship based on the number of the live broadcast rooms that have been swiped and the sliding direction includes: If the sliding direction is a sliding direction from the top of the current interface to the bottom of the current interface, and the number of live broadcast rooms that have been swiped through is the first number, based on the live broadcast room identifier of the at least one live broadcast room, the live broadcast room identifier of at least one live broadcast room to be displayed by sliding down, and the client identifier, a subscription relationship is regenerated; and / or, If the sliding direction is an upward sliding direction from the bottom of the current interface to the top of the current interface, and the number of live broadcast rooms that have been swiped through is the second number, the subscription relationship is regenerated based on the live broadcast room identifier of at least one live broadcast room, the live broadcast room identifier of at least one live broadcast room to be displayed by sliding up, and the client identifier.

8. The method according to claim 5, wherein: After generating the subscription relationship based on the live broadcast room identifier of the at least one live broadcast room and the client identifier of the client and sending the subscription relationship to the server, the method further includes: In response to an interface switching operation on the current interface, sending a subscription request for at least one live broadcast room to be displayed on a next interface to the server; Receiving at least one live broadcast room re-pushed by the server based on a new subscription request; Based on the live broadcast room identifier of the at least one live broadcast room that is re-pushed and the client identifier of the client, a subscription relationship is regenerated and sent to the server.

9. The method according to claim 1, wherein: Also includes: When it is determined that the target live broadcast room is switched from the on-broadcast state to the off-broadcast state, determining whether the displayed content of the current interface is a preview stream of the target live broadcast room; If the displayed content is the preview stream of the target live broadcast room, the preview stream of the target live broadcast room is deleted, or the preview stream of the target live broadcast room is replaced with the preview stream of other live broadcast rooms except the target live broadcast room; and / or, If the displayed content is not the preview stream of the target live broadcast room, the live broadcast room information of the target live broadcast room is deleted, and the display state of the status indicator of the target live broadcast room is adjusted to the off display state.

10. A state identification processing device for a live broadcast room, the device comprising: A sending module, configured to send a live broadcast request to a server when it is determined that a target live broadcast room is switched from an off-broadcast state to an on-broadcast state, so that the server returns live broadcast room information of the target live broadcast room based on the live broadcast request; The adjustment module is used to adjust the display state of the status identifier of the target live broadcast room to the broadcast display state based on the live broadcast room information of the target live broadcast room.

11. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium. When the instructions are executed on a terminal device, the terminal device implements the method according to any one of claims 1 to 9.

12. A device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 9 is implemented.

13. A computer program product, comprising a computer program / instruction, wherein the computer program / instruction, when executed by a processor, implements the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • A method and apparatus for determining an anchor state

    CN108989881A

  • Data processing method and device, electronic equipment and storage medium

    CN113596501A

  • Live program state display method and display equipment

    CN113645479A

  • Live broadcast room state updating method and device, electronic equipment and storage medium

    CN114095743A

  • Media display method, media display device and storage medium

    CN115967813A

Cited By

  • Interface display control method and system of live broadcasting room, readable storage medium and equipment

    CN121309864A