CN113301378B - Broadcast signaling transmission method, device, system, electronic device and storage medium - Google Patents

Broadcast signaling transmission method, device, system, electronic device and storage medium Download PDF

Info

Publication number
CN113301378B
CN113301378B CN202110572634.4A CN202110572634A CN113301378B CN 113301378 B CN113301378 B CN 113301378B CN 202110572634 A CN202110572634 A CN 202110572634A CN 113301378 B CN113301378 B CN 113301378B
Authority
CN
China
Prior art keywords
anchor
audience
target
terminal
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110572634.4A
Other languages
Chinese (zh)
Other versions
CN113301378A (en
Inventor
梁栩华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110572634.4A priority Critical patent/CN113301378B/en
Publication of CN113301378A publication Critical patent/CN113301378A/en
Application granted granted Critical
Publication of CN113301378B publication Critical patent/CN113301378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/454Content or additional data filtering, e.g. blocking advertisements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present disclosure relates to a broadcast signaling transmission method, apparatus, system, electronic device, and storage medium, the method including: receiving a broadcast signaling sending request, traversing an anchor terminal type mark corresponding to a live broadcast room managed by a long connection server to obtain a target anchor terminal, traversing a viewer terminal type mark belonging to a viewer terminal managed by the long connection server in the live broadcast room corresponding to the target anchor terminal to obtain a target viewer terminal, and sending signaling contents to the target anchor terminal and the target viewer terminal; according to the broadcast signaling sending method and device, the multiple anchor terminals of the corresponding types and the multiple audience terminals of the corresponding types can be filtered by receiving the anchor terminal filtering marks and the audience terminal filtering marks in the broadcast signaling sending request, multiple specific identification information of the anchor terminals and the audience terminals does not need to be carried in the broadcast signaling sending request, the broadcast signaling can be issued with smaller storage space and screening cost, and the response efficiency of the broadcast signaling can be improved.

Description

Broadcast signaling transmission method, device, system, electronic device and storage medium
Technical Field
The present disclosure relates to the field of live broadcast technologies, and in particular, to a method, an apparatus, a system, an electronic device, and a storage medium for sending a broadcast signaling in a live broadcast room.
Background
With the development of live broadcast technology, in some cases, globally oriented broadcast signaling occurs in a live broadcast system, for example, during spring festival activities, it may be necessary to broadcast festival effect signaling for all viewers in all live broadcast rooms.
For the global broadcast oriented case, currently, when the broadcast signaling server sends the broadcast signaling, it generally sets a list and traverses the list to implement filtering some groups, and only sends the broadcast signaling to the anchor and the audience that are not in the list. However, the number of anchor and audience in the live broadcast system is huge, and there may be more anchor terminals and audience terminals to be filtered, which further results in longer time for screening the distributed group of the broadcast signaling based on the list and lower broadcast signaling distribution efficiency.
Disclosure of Invention
The present disclosure provides a broadcast signaling transmission method, apparatus, system, electronic device, and storage medium, to at least solve the problem of low broadcast signaling transmission efficiency in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a broadcast signaling sending method, applied to a long connection server, including:
receiving a broadcast signaling transmission request; the broadcast signaling sending request carries signaling content, a filtering mark of a main broadcasting end and a filtering mark of a spectator end; the anchor end filtering mark is used for indicating the type of the anchor end of the signaling content to be filtered, and the audience end filtering mark is used for indicating the type of the audience end of the signaling content to be filtered;
traversing the anchor end type mark of the anchor corresponding to the live broadcast room managed by the long connection server to obtain a target anchor end; traversing all audience type marks of all audiences managed by the long connection server in a live broadcast room corresponding to the target anchor end to obtain a target audience end; any one of the anchor type marks of the target anchor is not included in the anchor filtering marks, and any one of the audience type marks of the target audience is not included in the audience filtering marks;
and sending the signaling content to the target anchor terminal and the target audience terminal.
In one embodiment, the signaling sending request further carries an anchor terminal list, where the anchor terminal list is used to indicate an anchor terminal whose signaling content needs to be filtered; the step of traversing the anchor type mark corresponding to the live broadcast room managed by the long connection server to obtain the target anchor comprises the following steps:
and screening the anchor terminals corresponding to the live broadcast rooms managed by the long connection server to obtain target anchor terminals which are not in the anchor list and any one of the anchor terminal type marks is not included in the anchor terminal filtering marks.
In one embodiment, the signaling sending request further carries a viewer side list, where the viewer side list is used to indicate a viewer side whose signaling content needs to be filtered; the step of traversing the audience member type labels of all audiences in the live broadcast room corresponding to the target anchor member to obtain the target audience member comprises the following steps:
and screening audience terminals of all audiences managed by the long connection server in a live broadcast room corresponding to a target anchor terminal to obtain a target audience terminal which is not in the audience terminal list and any one of the audience terminal type marks is not included in the audience terminal filtering mark.
In an embodiment, before the step of traversing an anchor type flag corresponding to a live broadcast room managed by the long connection server to obtain a target anchor, the method includes:
acquiring a live broadcasting room creation request of a main broadcasting end;
responding to the live broadcast room establishing request, establishing a live broadcast room corresponding to the anchor terminal, acquiring an anchor terminal type mark corresponding to the anchor terminal from a first server, and storing the anchor terminal type mark in the local long connection server; and the first server is used for generating and storing a corresponding anchor type mark for the anchor.
In an embodiment, before the step of traversing the audience-side type tags of all the audiences in the live broadcast room corresponding to the target anchor side to obtain the target audience side, the method further includes:
acquiring an access request of a viewer end to the live broadcast room;
responding to the entry request, returning the live streaming information of the live broadcast room to the audience, acquiring audience type marks corresponding to the audience from a second server, and storing the audience type marks in the local long connection server; and the second server is used for generating and storing a corresponding audience type mark for the audience.
According to a second aspect of the embodiments of the present disclosure, there is provided a broadcast signaling sending method, applied to a broadcast signaling server, including:
acquiring signaling content to be broadcasted, a main broadcasting end filtering mark and a spectator end filtering mark, and generating a broadcast signaling sending request according to the signaling content, the main broadcasting end filtering mark and the spectator end filtering mark; the anchor end filtering mark is used for indicating the type of the anchor end of the signaling content to be filtered, and the audience end filtering mark is used for indicating the type of the audience end of the signaling content to be filtered;
acquiring a plurality of long connection servers associated with the broadcast signaling server, and sending the broadcast signaling sending request to the plurality of long connection servers; the signaling sending request is used for indicating each long connection server to traverse the anchor end type marks of the anchor corresponding to the live broadcast room managed by the long connection server to obtain a target anchor end, and traverse the audience end type marks of all audiences managed by the long connection server in the live broadcast room corresponding to the target anchor end to obtain a target audience end; sending the signaling content to the target anchor terminal and the target audience terminal; any one of the anchor type flags of the target anchor is not included in the anchor filter flag, and any one of the audience type flags of the target audience is not included in the audience filter flag.
According to a third aspect of the embodiments of the present disclosure, there is provided a broadcast signaling transmitting apparatus, applied to a long connection server, including:
a broadcast request receiving unit configured to perform receiving a broadcast signaling transmission request; the broadcast signaling sending request carries signaling content, a main broadcasting end filtering mark and a spectator end filtering mark; the anchor end filtering mark is used for indicating the type of the anchor end of the signaling content to be filtered, and the audience end filtering mark is used for indicating the type of the audience end of the signaling content to be filtered;
the target terminal acquisition unit is configured to traverse the anchor terminal type mark of the anchor corresponding to the live broadcast room managed by the long connection server to obtain a target anchor terminal; traversing all audience type marks of all audiences managed by the long connection server in a live broadcast room corresponding to the target anchor end to obtain a target audience end; any one of the anchor type marks of the target anchor is not included in the anchor filtering marks, and any one of the audience type marks of the target audience is not included in the audience filtering marks;
and the signaling sending unit is configured to send the signaling content to the target anchor terminal and the target audience terminal.
In one embodiment, the signaling sending request further carries a list of anchor terminals, where the list of anchor terminals is used to indicate an anchor terminal whose signaling content needs to be filtered; the target acquisition unit includes:
and the anchor terminal acquisition module is configured to perform screening on an anchor terminal corresponding to the live broadcast room managed by the long connection server according to the anchor terminal list to obtain a target anchor terminal which is not in the anchor terminal list and any one of anchor terminal type marks is not included in the anchor terminal filtering marks.
In one embodiment, the signaling sending request further carries a viewer side list, where the viewer side list is used to indicate a viewer side whose signaling content needs to be filtered; the target acquisition unit includes:
and the audience terminal acquisition module is configured to perform screening on audience terminals belonging to all audiences managed by the long connection server in a live broadcast room corresponding to a target anchor terminal to obtain a target audience terminal which is not in the audience terminal list and any one of the audience terminal type marks is not included in the audience terminal filtering mark.
In one embodiment, the apparatus further comprises:
a first type mark acquisition unit configured to execute acquisition of a live broadcast room creation request of a main broadcast side; responding to the live broadcast room establishing request, establishing a live broadcast room corresponding to the anchor terminal, acquiring an anchor terminal type mark corresponding to the anchor terminal from a first server, and storing the anchor terminal type mark in the local; and the first server is used for generating and storing a corresponding anchor type mark for the anchor.
In one embodiment, the apparatus further comprises:
the second type mark acquisition unit is configured to execute the acquisition of an entrance request of a viewer end to the live broadcast room; responding to the entry request, returning the live streaming information of the live broadcasting room to the audience, and acquiring audience type marks corresponding to the audience from a second server and storing the audience type marks locally; and the second server is used for generating and storing a corresponding audience type mark for the audience.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a broadcast signaling transmitting apparatus, applied to a broadcast signaling server, including:
the broadcast request generating unit is configured to execute the steps of acquiring signaling content to be broadcast, a main broadcasting end filtering mark and a spectator end filtering mark, and generating a broadcast signaling sending request according to the signaling content, the main broadcasting end filtering mark and the spectator end filtering mark; the anchor end filtering mark is used for indicating the type of the anchor end of the signaling content to be filtered, and the audience end filtering mark is used for indicating the type of the audience end of the signaling content to be filtered;
a broadcast request transmitting unit configured to perform acquisition of a plurality of long connection servers associated with the broadcast signaling server, and transmit the broadcast signaling transmission request to the plurality of long connection servers; the signaling sending request is used for indicating a long connection server tube to traverse the anchor end type marks of the anchor corresponding to the live broadcast room managed by the long connection server tube to obtain a target anchor end, and traversing the audience end type marks of all audiences managed by the long connection server tube in the live broadcast room corresponding to the target anchor end to obtain a target audience end; sending the signaling content to the target anchor terminal and the target audience terminal; any one of the anchor type marks of the target anchor is not included in the anchor filter marks, and any one of the audience type marks of the target audience is not included in the audience filter marks.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a broadcast signaling transmission system, including: a broadcast signaling server, a long connection server, a first server, and a second server, wherein,
the first server is used for generating and storing a corresponding anchor type mark for the anchor;
the second server is used for generating and storing a corresponding audience type mark for the audience;
the long connection server is used for acquiring a main broadcast end type mark corresponding to a main broadcast end from the first server when acquiring a direct broadcast room establishment request of the main broadcast end, and acquiring a spectator end type mark corresponding to a spectator end from the second server when acquiring an entrance request of the spectator end entering the direct broadcast room;
the broadcast signaling server is used for acquiring signaling content to be broadcasted, a main broadcasting end filtering mark and a spectator end filtering mark, generating a broadcast signaling sending request according to the signaling content, the main broadcasting end filtering mark and the spectator end filtering mark, and sending the broadcast signaling sending request to the long connection server;
the long connection server is further configured to receive the broadcast signaling sending request, traverse anchor end type marks of an anchor corresponding to a live broadcast room managed by the long connection server to obtain a target anchor end, traverse audience end type marks of all audiences belonging to the live broadcast room managed by the long connection server in the live broadcast room corresponding to the target anchor end to obtain a target audience end, and send the signaling content to the target anchor end and the target audience end; any one of the anchor type marks of the target anchor is not included in the anchor filter marks, and any one of the audience type marks of the target audience is not included in the audience filter marks.
According to a sixth aspect of an embodiment of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the broadcast signaling method in any embodiment of the first aspect.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the broadcast signaling method described in any one of the embodiments of the first aspect.
According to an eighth aspect of embodiments of the present disclosure, there is provided a computer program product, which when executed by a processor, implements the broadcast signaling method described in any one of the embodiments of the first aspect. .
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the method comprises the steps of configuring a main broadcasting end filtering mark and a spectator end filtering mark in a broadcast signaling sending request, and filtering a plurality of main broadcasting ends of corresponding types and a plurality of spectator ends of corresponding types through the main broadcasting end filtering mark and the spectator end filtering mark when corresponding direct broadcasting room signaling content is broadcasted without configuring ID (Identity) information of the main broadcasting ends to be filtered and ID information of the spectator ends in the broadcast signaling, so that the transmission efficiency of the broadcast signaling is improved. Moreover, after the long connection server receives the broadcast signaling sending request, specific anchor terminal ID information and audience terminal ID information do not need to be searched again, the screening of the target anchor terminal and the target audience terminal can be realized with lower screening cost, and the transmission efficiency and the response efficiency of the broadcast signaling can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
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 disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a diagram illustrating an application environment of a broadcast signaling method according to an example embodiment.
Fig. 2 is a flow chart illustrating a method of broadcast signaling in accordance with an example embodiment.
Fig. 3 is a flow chart illustrating a method of broadcast signaling in accordance with another example embodiment.
Fig. 4 is a flow chart illustrating a method of broadcast signaling in accordance with another example embodiment.
Fig. 5 is a flow chart illustrating a method of broadcast signaling in accordance with another example embodiment.
Fig. 6 is a block diagram illustrating a broadcast signaling transmission system in accordance with an example embodiment.
Fig. 7 is a block diagram illustrating a broadcast signaling transmitting apparatus according to an example embodiment.
Fig. 8 is a block diagram illustrating a broadcast signaling transmitting apparatus according to another exemplary embodiment.
FIG. 9 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The broadcast signaling transmission method provided by the present disclosure may be applied to the application environment shown in fig. 1. Wherein the long connection server 110 interacts with the broadcast signaling server 120 over a network. The long connection server 110 may be connected to the anchor terminal via a network, obtain a live broadcast room creation request of the anchor terminal, and create a live broadcast room in response to the request. The long connection server 110 may also be connected to the viewer through a network, so as to obtain an access request of the viewer for applying to enter the live broadcast room, and return live broadcast stream information of the corresponding live broadcast room to the viewer. The long connection server 110 may manage multiple live rooms, and the viewer-side information in each live room may be stored separately on different long connection servers. The anchor terminal and the audience terminal entering the live broadcast room are connected with a long connection server 110 for managing the live broadcast room, after the connection is successful, the long connection server 110 can issue broadcast signaling to the anchor terminal and the audience terminal, and after the anchor terminal and the audience terminal receive the broadcast signaling, the corresponding live broadcast room content display is carried out. The long connection server 110 may send broadcast signaling dedicated to a single live broadcast room of the anchor and the viewer, may send broadcast signaling of the live broadcast platform as a whole, and may send broadcast signaling to a part of the anchor and the viewer to filter some anchors and viewers. Specifically, the long-connection server 110 may obtain the broadcast signaling sending request from the broadcast signaling server 120, traverse the anchor type flag corresponding to the live broadcast room managed by the long-connection server to obtain a target anchor, traverse the audience type flag belonging to the audience managed by the long-connection server 110 in the live broadcast room corresponding to the target anchor to obtain a target audience, send the signaling content to the target anchor and the target audience, filter the anchor in the anchor type flag included in the anchor filter flag, and filter the audience in the audience filter flag included in the audience type flag included in the audience filter flag.
The broadcast signaling service 120 may connect to a plurality of long connection servers 110, and transmit broadcast signaling to each long connection server 110.
The long connection server 110 and the broadcast signaling server 120 may be implemented by separate servers or a server cluster composed of a plurality of servers.
Fig. 2 is a flowchart illustrating a broadcast signaling transmission method according to an exemplary embodiment, which may be applied to the long connection server 110 described above, as shown in fig. 2, and includes the following steps.
In step S210, a broadcast signaling transmission request is received. The broadcast signaling sending request carries signaling content, a main broadcasting end filtering mark and a audience end filtering mark.
In the present disclosure, the signaling content is content that is desired to be shown in a live interface at a main broadcasting end or a spectator end, and may include an activity message, an interaction message, an entertainment message, and the like, and may be content with festival effect, for example. The signaling content is generated by the broadcast signaling server according to the current actual demand.
The anchor filtering flag is used to indicate the type of the anchor to be filtered, for example, if the anchor filtering flag includes a flag x corresponding to an enterprise number, it indicates that the anchor belonging to the type of the enterprise number is filtered. The spectator filtering flag is used to indicate the spectator type that needs to be filtered, for example, if the spectator filtering flag includes a flag y corresponding to the user without the login record within 7 days, it indicates that the spectator corresponding to the user without the login record within 7 days is filtered. The filtered live and viewer ends cannot receive the signaling content. The anchor-side filter flag and the viewer-side filter flag may be configured in the broadcast signaling server 120 according to the transmission requirements of the signaling content.
In the present disclosure, the anchor filtering flag can identify one or more classification types of the anchor to be filtered, for example, can identify whether the classification type is a government affair number anchor classification type, whether the classification type is an enterprise number anchor classification type, whether the classification type is a game anchor classification type, and the like; the audience filtering tags can identify one or more categories of the audience to be filtered, such as gender categories, registration duration categories, and the like.
The form of the anchor filtering flag and the audience filtering flag may be a form of a binary digit field, and the type of the anchor and the type of the audience to be filtered are identified by the numerical value of some digits, for example, for the anchor filtering flag, it may be set: if the 1 st bit is 1, the signaling needs to filter the government number anchor terminal, if the second bit is 1, the signaling also needs to filter the enterprise number anchor terminal, and so on; similarly, in the audience filtering flag, if the 1 st bit is 1, it indicates that the signaling needs to filter a new audience registered within 7 days, and if the second bit is 1, it indicates that the signaling also needs to filter a male user, and so on.
Specifically, the long connection server 110 may receive the broadcast signaling transmission request transmitted by the broadcast signaling server 120, and obtain the signaling content, the anchor filtering flag, and the audience filtering flag carried therein, and based on this, perform subsequent screening of the target audience and the target anchor.
In step S220, traversing the anchor type flag corresponding to the live broadcast room managed by the long connection server to obtain a target anchor; and traversing the audience terminal type marks of all audiences managed by the long connection server in a live broadcast room corresponding to the target anchor terminal to obtain the target audience terminal.
The long connection server can be used for managing a plurality of live broadcast rooms, each live broadcast room is provided with a corresponding anchor terminal, and each live broadcast room can be connected with a plurality of audience terminals.
In the present disclosure, each anchor end corresponds to an anchor end type mark, and the anchor end type mark is used to mark a type to which an anchor of the anchor end belongs under a preset anchor user classification system, for example, the anchor end type may be a government affair number type, an enterprise number type, a game number type, and the like, and different types are determined based on different anchor user classification systems.
Specifically, the anchor type flag may be a character string represented by a binary number, by which a plurality of types of one anchor can be represented. For example, the anchor type of an anchor is labeled 123, indicating that the anchor of the anchor is an enterprise number anchor, a game anchor, or an e-commerce anchor.
In the present disclosure, each audience port corresponds to an audience port type flag, which is used to flag a type to which an audience at the audience port belongs under a preset audience user classification system, for example, the type may be a newly registered audience type, a male audience type, a student audience type, and the like, and different types are determined based on different audience user classification systems.
Specifically, the viewer-side type flag may also be a character string represented by a binary number, by which a plurality of types of one viewer side can be represented. For example, the audience member type is labeled 124, which indicates that the audience member is both male audience and new users registered within 7 days, but not free from the streaming card user.
In the present disclosure, the anchor type flag and the anchor filter flag belong to two different flags; the anchor type flag is used to indicate a type or types to which an anchor belongs, and the anchor filtering flag is used to indicate that the current signaling content needs to filter an anchor of a certain type or types. When any type of a certain anchor side is included in the anchor side filter marks, the anchor side is excluded in the process of traversing the anchor side type marks managed by the long connection server to obtain a target anchor side, namely the anchor side does not belong to the target anchor side, and the excluded anchor side is used as the target anchor side.
Similarly, the audience type mark and the audience filtering mark belong to two different marks; the audience-side type mark is used for indicating a type or a plurality of types of an audience, and the audience-side filtering mark is used for indicating that the current signaling content needs to filter the audience of a certain type or a plurality of types. When any type of a certain audience is included in the audience filtering marks, in the process of traversing the audience type marks managed by the long connection server to obtain a target audience, the audience is excluded, namely the audience does not belong to the target audience, and the excluded audience is used as the target audience.
In other words, the anchor type flag corresponding to the target anchor may include a plurality of flags, each flag being used to identify a type corresponding to the target anchor, but any one of the anchor type flags corresponding to the target anchor is not included in the anchor filter flag; the audience type mark corresponding to the target audience can contain a plurality of marks, each mark is used for marking one type corresponding to the target audience, but any mark in the audience type mark of the target audience is not contained in the audience filtering mark, and meanwhile, any mark in the corresponding anchor type mark of the anchor end of the live broadcasting room where the target audience is located is not contained in the anchor filtering mark.
In step S230, the signaling content is transmitted to the target anchor and the target viewer.
In the present disclosure, in the case of global broadcast signaling, the long connection server 110 may obtain a target anchor and a target audience corresponding to each of a plurality of live broadcast rooms managed by the long connection server. Further, the long connection server 110 may send the global broadcast signaling content to the target anchor and the target audience, and display the corresponding signaling content to the anchor and the user through the live interface of the target anchor and the target audience.
In the broadcast signaling sending method of the above embodiment, the long connection server traverses the anchor type flags corresponding to the live broadcasting rooms managed by the long connection server by receiving the broadcast signaling sending request, to obtain the target anchor, traverses the viewer type flags belonging to all viewers managed by the long connection server in the live broadcasting rooms corresponding to the target anchor, to obtain the target viewer, and sends the signaling content to the target anchor and the target viewer, by receiving the anchor-side filter flag and the viewer-side filter flag in the broadcast signaling request, namely, a plurality of anchor terminals of corresponding types and a plurality of audience terminals of corresponding types can be filtered, without storing or inquiring the specific information of the plurality of anchor terminals and the plurality of audience terminals to be filtered, the method can be realized with smaller storage space and screening cost, and the response efficiency of the broadcast signaling can be improved.
In an exemplary embodiment, in step S220, the signaling transmission request further carries an anchor terminal list, where the anchor terminal list may be used to record an anchor terminal that does not need to transmit the signaling content, and the anchor terminal list may specifically record identification information such as anchor accounts or anchor IDs of a plurality of anchor terminals that need to be filtered. The step of traversing the anchor type flag corresponding to the live broadcast room managed by the long connection server to obtain the target anchor includes:
and screening the anchor account corresponding to the live broadcast room managed by the long connection server according to the anchor side list to obtain an anchor side which is not in the anchor side list and any one of the anchor side type marks is not included in the anchor side filtering mark and is used as a target anchor side.
On the basis of the filtering mark of the anchor, the broadcast signaling server can perform fine management on the anchor needing to be filtered through the list of the anchor, and the signaling sending request also carries the list of the anchor. The filtering is carried out through the type mark of the anchor terminal and the filtering mark of the anchor terminal, the filtering of the anchor terminal can be realized according to the category, and the setting of the list of the anchor terminal can provide a selectable processing scheme aiming at certain anchor terminals which do not belong to the category under the existing anchor classification system and still need filtering.
The long connection server 110 may perform screening on the anchor side corresponding to the managed live broadcast room according to the anchor side list, filter the anchor side of the anchor account on the anchor side list to obtain a candidate anchor side that is not in the anchor side list, and then obtain, from the candidate anchor side, an anchor side whose any one of the anchor side type flags is not included in the anchor side filter flag, as a target anchor side.
In other embodiments, the long connection server 110 may also perform traversal processing on the anchor type flag first, filter out an anchor of a specific type, and perform secondary screening on the remaining anchors according to the anchor list to obtain a target anchor.
In the solution of the above embodiment, the long connection server 110 not only performs batch screening on one type or multiple types of anchor terminals based on the anchor terminal type mark, but also performs fine screening on the anchor terminal corresponding to the live broadcast room managed by the long connection server according to the anchor terminal list, and supplements the technical scheme of performing anchor filtering according to the anchor terminal type mark, so that the anchor terminal that needs to be filtered but does not have a special type mark is filtered, thereby improving the accuracy of obtaining a target anchor terminal, and improving the adaptability to different application scenarios.
In an exemplary embodiment, in step S220, the signaling transmission request further carries a list of audience members, where the list of audience members may be used to record audience members that do not need to transmit the signaling content, and specifically, identification information such as audience account numbers or audience IDs of a plurality of audience members that need to be filtered may be recorded in the list of audience members. The step of traversing the audience member type labels of all audiences in the live broadcast room corresponding to the target anchor member to obtain the target audience member includes:
and screening all audience terminals of the audiences managed by the long connection server in the live broadcast room corresponding to the target anchor terminal to obtain the target audience terminals which are not in the audience terminal list and the audience terminal type marks of which do not belong to the audience terminal filtering marks.
The long connection server can also screen audience terminals corresponding to the live broadcast room managed by the long connection server according to the audience terminal list to obtain audience terminals which do not belong to the audience terminal list and are any labels of the audience terminal type labels and are not included in the audience terminal filtering labels.
In this disclosure, when the long connection server 110 filters the audience, the long connection server may first filter the audience according to the audience list to obtain the audience not in the audience list, and then filter the audience not included in the audience filter flag in the audience type flag to serve as the target audience.
In the present disclosure, the long connection server 110 can perform accurate screening on audience terminals that do not belong to the audience classification system but still need to be filtered according to the audience terminal list, so as to improve the accuracy of obtaining target audience terminals and improve the adaptability to different application scenarios.
Fig. 3 is a flowchart illustrating a broadcast signaling transmission method according to an exemplary embodiment, as shown in fig. 3, including the steps of:
in step S410, a broadcast signaling transmission request is received, where the signaling transmission request carries signaling content, a main broadcasting end filtering flag, a spectator end filtering flag, a main broadcasting end list, and a spectator end list.
In the present disclosure, the long connection server 110 may receive a broadcast information transmission request, where the transmission request may include signaling content, a cast filter flag, a viewer filter flag, a cast list, and a viewer list. The signaling content, the anchor filter flag, the audience filter flag, the anchor list, and the audience list refer to the description of the above embodiments, and are not described in detail.
In step S420, the anchor terminals corresponding to the live broadcast rooms managed by the long connection server are screened to obtain target anchor terminals that are not in the anchor terminal list and any one of the anchor terminal type flags is not included in the anchor terminal filter flag.
In step S430, the audience corresponding to the live broadcast room managed by the long connection server is screened to obtain a target audience which is not in the audience list and any one of the audience type labels is not included in the audience filter label.
Wherein, the long connection server 110 can obtain the target anchor. Further, the long connection server 110 may obtain all audience members belonging to all the managed audiences in the live broadcast room corresponding to the target anchor member, and filter the audience members according to the audience member list and the audience member filter marks, to obtain an audience member that is not in the audience member list and any one of the audience member type marks is not included in the audience member filter marks, as a target audience member.
In step S440, the signaling content is sent to the target anchor terminal and the target audience terminal.
In the scheme of the embodiment, the long connection server traverses the anchor end type marks corresponding to the live broadcasting rooms managed by the long connection server by receiving the broadcast signaling sending request, obtains the target anchor end which is not in the anchor list and any one of the anchor end type marks is not contained in the anchor end filtering marks, traverses all audience ends of all audiences managed by the long connection server in the live broadcasting rooms corresponding to the target anchor end, obtains the target audience end which is not in the audience end list and any one of the anchor end type marks is not in the audience end filtering marks, and finally sends signaling content to the target anchor end and the target audience end without carrying a plurality of specific identification information of the anchor ends and the audience ends in the broadcast signaling sending request, so that the scheme can be realized by using a smaller storage space and a smaller screening cost, the screening duration of the anchor end and the audience end is reduced, and the efficiency of obtaining the target anchor end and the target audience end is improved, and the corresponding filter lists can be set for the anchor terminal and the audience terminal which are not under the existing classification system, and the flexibility and the accuracy of obtaining the target anchor terminal and the audience terminal are further improved through the filter lists.
In an exemplary embodiment, in step S220, before traversing the anchor type flag corresponding to the live broadcast room managed by the long connection server and the viewer type flag corresponding to the live broadcast room to obtain the target anchor and the target viewer, the method further includes the following steps:
acquiring a live broadcast room establishment request of a main broadcast end; and responding to a live broadcast room establishing request, establishing a live broadcast room corresponding to the anchor terminal, acquiring an anchor terminal type mark corresponding to the anchor terminal from the first server, and storing the anchor terminal type mark in the local long connection server.
The first server may be configured to generate and store a corresponding anchor type flag for the anchor. Each anchor end can be configured with an anchor end ID, and the long connection server can obtain an anchor end type mark corresponding to the anchor end from the first server according to the anchor end ID when obtaining a live broadcast room creation request initiated by the anchor end, and store the anchor end type mark locally, so as to prepare for subsequent anchor end filtering based on the anchor end type mark, and improve the efficiency of determining a target anchor end. While the performance overhead of long connection server 110 in generating the anchor type flags for the anchor may be reduced as much as possible.
In an exemplary embodiment, in step S220, the step of traversing the audience type flags of all the audiences in the live room corresponding to the target anchor to obtain the target audience includes:
acquiring an access request of a viewer end to enter a live broadcast room; and responding to the entry request, returning the live broadcast stream information of the live broadcast room to the audience, acquiring the audience type mark corresponding to the audience from the second server, and storing the audience type mark in the local long-connection server.
And the second server is used for generating and storing a corresponding audience type mark for the audience. The audience may be configured with an audience ID, and the long connection server 110 may obtain, according to the audience ID, an audience type flag corresponding to the audience from the second viewing server when obtaining an entry request for entering the live broadcast room initiated by the audience, and store the audience type flag locally in the long connection server, so as to prepare for subsequent screening of the audience based on the audience type flag, and improve the efficiency of determining a target audience. While the performance overhead of the long connection server 110 in generating the viewer-side type tags for the viewer side is minimized.
Fig. 4 is a flowchart illustrating a broadcast signaling transmission method according to an exemplary embodiment, which may be used in a broadcast signaling server, as shown in fig. 4, and includes the following steps.
In step S510, obtaining signaling content to be broadcasted, a anchor filtering flag, and a viewer filtering flag, and generating a broadcast signaling transmission request according to the signaling content, the anchor filtering flag, and the viewer filtering flag;
the signaling content, the anchor filter flag, and the viewer filter flag may refer to the foregoing embodiments, and are not described in detail herein.
Specifically, the broadcast signaling server 120 may obtain the signaling content to be broadcasted, and the anchor filtering flag and the viewer filtering flag corresponding to the signaling content according to the signaling transmission requirement, and generate the broadcast signaling transmission request after processing the signaling content and the anchor filtering flag and the viewer filtering flag.
In step S520, a plurality of long connection servers associated with the broadcast signaling server are acquired, and a signaling transmission request is sent to the plurality of long connection servers;
the broadcast signaling server 120 may be configured to associate with a plurality of long connection servers 110, and transmit a broadcast signaling transmission request to each long connection server 110.
Each long connection server 110 can manage a plurality of live broadcast rooms, and the audience can access to the corresponding live broadcast rooms through the long connection server 110. The long connection server 110 may be configured to traverse the anchor type flag corresponding to the live broadcast room managed by the long connection server to obtain a target anchor, and traverse the viewer type flag of the viewer in the live broadcast room managed by the long connection server to obtain a target viewer; any one of the anchor type marks of the target anchor is not contained in the anchor filtering marks, and any one of the audience type marks of the target audience is not contained in the audience filtering marks; the long connection server 110 may then send the signaling content to the target anchor and target viewer.
In the broadcast signaling transmitting method, the broadcast signaling server 120 generates a broadcast signaling transmitting request according to the signaling content to be broadcast, the anchor filtering flag, and the viewer filtering flag, transmits the broadcast signaling transmitting request to the associated plurality of long connection servers, so that the long connection server screens the anchor terminal and the audience terminal managed by the long connection server according to the anchor terminal filtering mark and the audience terminal filtering mark, determines a target anchor terminal and a target audience terminal from the anchor terminal and the audience terminal, and sends the signaling content to the target anchor terminal and the target audience terminal, the multiple anchor terminals of the corresponding type and the multiple audience terminals of the corresponding type can be filtered by sending the anchor terminal filtering marks and the audience terminal filtering marks in the broadcast signaling sending request, and the multiple specific identification information of the multiple anchor terminals and the multiple audience terminals does not need to be carried in the broadcast signaling sending request, so that the generation efficiency and the transmission efficiency of the broadcast signaling sending request can be improved.
Fig. 5 is a flowchart illustrating a broadcast signaling transmission method according to an exemplary embodiment, which further illustrates the broadcast signaling transmission method from the perspective of a scene to which the method is applied. As shown in fig. 5, the method comprises the following steps:
in step 610, the first server configures and stores the anchor type flag of the anchor.
The first server may generate a corresponding anchor type flag for each anchor according to a type selected when the anchor registers, or may generate a corresponding anchor type flag for each anchor according to historical content information of the anchor.
In step 611, the second server configures and stores the viewer-side type flag of the viewer side.
The second server may generate corresponding spectator end type marks for each spectator end according to the type application information selected during registration of the spectator end, and may also generate corresponding spectator end type marks for each spectator end according to the activity condition of the spectator end.
In step 620, the long connection server obtains a request for creating a live broadcast room of the anchor terminal; and responding to the live broadcast room establishing request, establishing the live broadcast room, acquiring the anchor terminal type mark corresponding to the anchor terminal from the first server, and storing the anchor terminal type mark in the local long connection server.
In step 621, the long connection server obtains a connection request from the viewer to the live broadcast room; and responding to the connection request of the audience, returning the live broadcast stream information of the live broadcast room to the audience, acquiring the audience type mark corresponding to the audience from the second server, and storing the audience type mark in the local long connection server.
In step 630, the broadcast signaling server obtains the signaling content to be broadcast, the anchor filter flag, and the viewer filter flag, and generates a broadcast signaling transmission request.
In step 631, the broadcast signaling server obtains a plurality of long connection servers associated with the broadcast signaling server and sends a signaling transmission request to the long connection servers.
In step 640, the long connection server receives the broadcast signaling sending request, traverses the anchor type flag corresponding to the live broadcast room managed by the long connection server, and obtains a target anchor; and traversing the audience end type marks of the audiences in the live broadcast room managed by the system to obtain a target audience end.
In step 642, the long-connection server sends the signaling content to the target anchor and target viewer.
In the broadcast signaling sending method, the long connection server 110 obtains the anchor type flag and the viewer type flag from the first server 150 and the second server 160, the broadcast signaling server 120 generates a broadcast signaling sending request by obtaining the signaling content to be broadcasted, the anchor filtering flag and the viewer filtering flag, and sends the broadcast signaling sending request to the associated long connection servers 110, and the long connection server 110 determines a target anchor and a target viewer according to the anchor filtering flag and the viewer filtering flag, and sends the signaling content to the target anchor and the target viewer. The method and the device can filter a plurality of anchor terminals of corresponding types and a plurality of audience terminals of corresponding types by receiving the anchor terminal filtering marks and the audience terminal filtering marks in the broadcast signaling sending request, do not need to carry a plurality of specific identification information of the anchor terminals and the audience terminals in the broadcast signaling sending request, can be realized by using smaller storage space and screening cost, and can improve the transmission efficiency and the response efficiency of the broadcast signaling. And the generation of the anchor type flag and the viewer type flag is handled by the first server 150 and the second server 160, reducing the performance overhead of the long connection server 110.
It should be understood that although the various steps in the flowcharts of fig. 2-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-5 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps or stages.
Fig. 6 is a block diagram illustrating a broadcast signaling system according to an exemplary embodiment, the system including a long-connection server 110, a broadcast signaling server 120, a first service server 150, and a second server 160, wherein the broadcast signaling server 120 may be communicatively connected to the long-connection server 110, and the long-connection server 110 may be respectively connected to the first service server 150 and the second server 160. There may be more than one long connection server 110.
The first service server 150 is configured to generate and store a corresponding anchor type flag for the anchor. And the second server 160 is used for generating and storing the corresponding audience type mark for the audience. The long connection server 110 is configured to obtain a main broadcast end type flag corresponding to the managed live broadcast room from the first server, and obtain a viewer end type flag corresponding to the managed live broadcast room from the second server. The broadcast signaling server 120 is configured to obtain signaling content to be broadcasted, a anchor filtering flag, and a viewer filtering flag, generate a broadcast signaling sending request according to the signaling content, the anchor filtering flag, and the viewer filtering flag, and send the broadcast signaling sending request to the long connection server 110. The long connection server 110 is further configured to receive a broadcast signaling sending request, traverse anchor end type marks corresponding to live webcasts managed by the long connection server, and obtain a target anchor end; traversing all audience type marks of all audiences managed by the live broadcast room corresponding to the target anchor end to obtain a target audience end; sending the signaling content to the target anchor terminal and the target audience terminal; any one of the anchor type flags of the target anchor is not included in the anchor filter flag, and any one of the audience type flags of the target audience is not included in the audience filter flag.
In the system of the above embodiment, the first service server 150 and the second server 160 are respectively configured with a anchor type flag and a viewer type flag, the long connection server obtains the anchor type flag corresponding to the anchor from the first server when creating a live broadcast room for the anchor, and obtains the viewer type flag corresponding to the viewer from the second server when accessing the live broadcast room, and the long connection server 110 can filter one or more types of anchors and viewers through the filtering flag in the broadcast signaling sending request without obtaining the anchor and the viewers that need to be filtered specifically and traversing all the anchor information and viewer information, which can be implemented with a smaller storage space and screening, and can improve the transmission efficiency and response efficiency of the broadcast signaling.
Fig. 7 is a block diagram of a broadcast signaling transmitting apparatus according to an exemplary embodiment, which is applied to a long connection server. The apparatus includes a broadcast request receiving unit 810, a target acquisition unit 820, and a signaling transmission unit 830.
The broadcast request receiving unit 810 configured to perform receiving a broadcast signaling transmission request; the broadcast signaling sending request carries signaling content, a main broadcasting end filtering mark and a spectator end filtering mark; the anchor end filtering mark is used for indicating the type of the anchor end of the signaling content to be filtered, and the audience end filtering mark is used for indicating the type of the audience end of the signaling content to be filtered;
the target terminal obtaining unit 820 is configured to execute a host terminal type flag configured to traverse the host corresponding to the live broadcast room managed by the long connection server, so as to obtain a target host terminal; traversing all audience type marks of all audiences managed by the long connection server in a live broadcast room corresponding to the target anchor end to obtain a target audience end; any one of the anchor type marks of the target anchor is not included in the anchor filtering marks, and any one of the audience type marks of the target audience is not included in the audience filtering marks;
a signaling transmitting unit 830 configured to perform transmitting the signaling content to the target anchor and the target audience.
In an exemplary embodiment, the signaling sending request further carries a list of anchor terminals, and the target terminal obtaining unit 820 includes: and the anchor terminal acquisition module is configured to perform screening on an anchor terminal corresponding to the live broadcast room managed by the long connection server according to the anchor terminal list to obtain a target anchor terminal which is not in the anchor terminal list and any one of anchor terminal type marks is not included in the anchor terminal filtering marks.
In an exemplary embodiment, the signaling sending request further carries a list of the audience, and the target obtaining unit 820 includes: and the audience terminal acquisition module is configured to perform screening on audience terminals belonging to all audiences managed by the long connection server in a live broadcast room corresponding to a target anchor terminal to obtain a target audience terminal which is not in the audience terminal list and any one of the audience terminal type marks is not included in the audience terminal filter mark.
In an exemplary embodiment, the apparatus further comprises: a first type mark acquisition unit configured to execute acquisition of a live broadcast room creation request of a main broadcast side; responding to the live broadcast room establishing request, establishing a live broadcast room corresponding to the anchor terminal, acquiring an anchor terminal type mark corresponding to the anchor terminal from a first server, and storing the anchor terminal type mark in the local; and the first server is used for generating and storing a corresponding anchor type mark for the anchor.
In an exemplary embodiment, the apparatus further comprises:
the second type mark acquisition unit is configured to execute the acquisition of an entrance request of a viewer end to the live broadcast room; responding to the entry request, returning the live streaming information of the live broadcasting room to the audience, and acquiring audience type marks corresponding to the audience from a second server and storing the audience type marks locally; and the second server is used for generating and storing a corresponding audience type mark for the audience.
Fig. 8 is a block diagram illustrating a broadcast signaling transmitting apparatus according to an exemplary embodiment, which is applied to a broadcast signaling server. The apparatus includes a broadcast request generating unit 910, a broadcast request transmitting unit 920.
A broadcast request generating unit 910 configured to perform acquiring signaling content to be broadcast, a anchor filtering flag and a viewer filtering flag, and generate a broadcast signaling sending request according to the signaling content, the anchor filtering flag and the viewer filtering flag; the anchor end filtering mark is used for indicating the type of the anchor end of the signaling content to be filtered, and the audience end filtering mark is used for indicating the type of the audience end of the signaling content to be filtered;
a broadcast request transmitting unit 920 configured to perform acquiring a plurality of long connection servers associated with the broadcast signaling server, and transmit the broadcast signaling transmission request to the plurality of long connection servers; the signaling sending request is used for indicating the long connection server tube to traverse the anchor terminal type marks corresponding to the live broadcast rooms managed by the long connection server tube to obtain a target anchor terminal, and traversing the audience terminal type marks of all audiences managed by the long connection server tube in the live broadcast rooms corresponding to the target anchor terminal to obtain a target audience terminal; sending the signaling content to the target anchor terminal and the target audience terminal; any one of the anchor type marks of the target anchor is not included in the anchor filter marks, and any one of the audience type marks of the target audience is not included in the audience filter marks.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 9 is a block diagram illustrating an apparatus 1000 for broadcast signaling transmission, according to an example embodiment. For example, the device 1000 may be a server. Referring to fig. 9, device 1000 includes a processing component 1020 that further includes one or more processors and memory resources, represented by memory 1022, for storing instructions, such as application programs, that are executable by processing component 1020. The application programs stored in memory 1022 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1020 is configured to execute the instructions to perform the method of broadcast signaling described above.
Device 1000 can also include a power component 1024 configured to perform power management for device 1000, a wired or wireless network interface 1026 configured to connect device 1000 to a network, and an input-output (I/O) interface 1028. Device 1000 may operate based on an operating system stored in memory 1022 such as Window 1010 over, Mac O10X, Unix, Linux, FreeB10D, or the like.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as memory 1022, is also provided that is executable by a processor of device 1000 to perform the method of any of the embodiments described above. The storage medium may be a computer-readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product comprising a computer program/instructions for execution by a processor to perform the method of any of the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice in the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1. A method for sending broadcast signaling, which is applied to a long connection server, includes:
receiving a broadcast signaling transmission request; the broadcast signaling sending request carries signaling content, a main broadcasting end filtering mark and a spectator end filtering mark; the anchor end filtering mark is used for indicating the type of the anchor end of the signaling content to be filtered, and the audience end filtering mark is used for indicating the type of the audience end of the signaling content to be filtered;
traversing the anchor terminal type marks corresponding to the live broadcasting rooms managed by the long connection server to obtain a target anchor terminal; traversing the audience member type marks of the audience members which belong to the audience members managed by the long connection server in the live broadcast room corresponding to the target anchor member to obtain a target audience member; any one of the anchor type marks of the target anchor is not included in the anchor filtering marks, and any one of the audience type marks of the target audience is not included in the audience filtering marks;
and sending the signaling content to the target anchor terminal and the target audience terminal.
2. The broadcast signaling sending method according to claim 1, wherein the signaling sending request further carries an anchor side list, and the anchor side list is used for indicating an anchor side whose signaling content needs to be filtered; the step of traversing the anchor type mark corresponding to the live broadcast room managed by the long connection server to obtain the target anchor comprises the following steps:
and screening the anchor terminals corresponding to the live broadcast rooms managed by the long connection server to obtain target anchor terminals which are not in the anchor terminal list and any one of the anchor terminal type marks is not included in the anchor terminal filtering marks.
3. The method according to claim 2, wherein the signaling request further carries a list of viewers, and the list of viewers is used to indicate the viewers whose signaling content needs to be filtered; the step of traversing the audience member type marks of the audience members belonging to the audience members managed by the long connection server in the live broadcast room corresponding to the target anchor member to obtain the target audience members comprises the following steps:
and screening audience terminals which belong to the management of the long connection server in a live broadcast room corresponding to a target anchor terminal to obtain the target audience terminals which are not in the audience terminal list and any one of the audience terminal type marks is not included in the audience terminal filtering marks.
4. The broadcast signaling sending method according to any one of claims 1 to 3, wherein before the step of traversing the anchor type flag corresponding to the live broadcast room managed by the long connection server to obtain the target anchor, the method includes:
acquiring a live broadcast room establishment request of a main broadcast end;
responding to the live broadcast room establishing request, establishing a live broadcast room corresponding to the anchor terminal, acquiring an anchor terminal type mark corresponding to the anchor terminal from a first server, and storing the anchor terminal type mark in the local long connection server; and the first server is used for generating and storing a corresponding anchor type mark for the anchor.
5. The broadcast signaling transmitting method according to any one of claims 1 to 3, wherein before the step of traversing the audience type tags belonging to the audience managed by the long connection server in the live broadcast room corresponding to the target anchor, the method further comprises:
acquiring an access request of a viewer end to the live broadcast room;
responding to the entry request, returning the live streaming information of the live broadcast room to the audience, acquiring audience type marks corresponding to the audience from a second server, and storing the audience type marks in the local long connection server; and the second server is used for generating and storing a corresponding audience type mark for the audience.
6. A broadcast signaling sending method, applied to a broadcast signaling server, includes:
acquiring signaling content to be broadcasted, a main broadcasting end filtering mark and a spectator end filtering mark, and generating a broadcast signaling sending request according to the signaling content, the main broadcasting end filtering mark and the spectator end filtering mark; the anchor end filtering mark is used for indicating the type of the anchor end of the signaling content to be filtered, and the audience end filtering mark is used for indicating the type of the audience end of the signaling content to be filtered;
acquiring a plurality of long connection servers associated with the broadcast signaling server, and sending the broadcast signaling sending request to the plurality of long connection servers; the signaling sending request is used for indicating each long connection server to traverse the anchor terminal type mark corresponding to the live broadcast room managed by the long connection server to obtain a target anchor terminal, and traverse the audience terminal type mark belonging to the audience terminal managed by the long connection server in the live broadcast room corresponding to the target anchor terminal to obtain a target audience terminal; sending the signaling content to the target anchor terminal and the target audience terminal; any one of the anchor type flags of the target anchor is not included in the anchor filter flag, and any one of the audience type flags of the target audience is not included in the audience filter flag.
7. A broadcast signaling transmission apparatus, applied to a long connection server, comprising:
a broadcast request receiving unit configured to perform receiving a broadcast signaling transmission request; the broadcast signaling sending request carries signaling content, a main broadcasting end filtering mark and a spectator end filtering mark; the anchor end filtering mark is used for indicating the type of the anchor end of the signaling content to be filtered, and the audience end filtering mark is used for indicating the type of the audience end of the signaling content to be filtered;
the target terminal acquisition unit is configured to execute traversal of an anchor terminal type mark corresponding to a live broadcast room managed by the long connection server to obtain a target anchor terminal; traversing the audience member type marks of the audience members which belong to the audience members managed by the long connection server in the live broadcast room corresponding to the target anchor member to obtain a target audience member; any one mark of the anchor type mark of the target anchor is not contained in the anchor filtering mark, and any one mark of the audience type mark of the target audience is not contained in the audience filtering mark;
and the signaling sending unit is configured to send the signaling content to the target anchor terminal and the target audience terminal.
8. The broadcast signaling sending apparatus according to claim 7, wherein the signaling sending request further carries a list of anchor terminals, and the list of anchor terminals is used to indicate anchor terminals whose signaling content needs to be filtered; the target acquisition unit includes:
and the anchor terminal acquisition module is configured to perform screening on an anchor terminal corresponding to the live broadcast room managed by the long connection server according to the anchor terminal list to obtain a target anchor terminal which is not in the anchor terminal list and any one of the anchor terminal type marks is not included in the anchor terminal filtering marks.
9. The broadcast signaling transmitting device according to claim 7, wherein the signaling transmitting request further carries a viewer list, and the viewer list is used to indicate the viewer whose signaling content needs to be filtered; the target side acquisition unit includes:
and the audience terminal acquisition module is configured to perform screening on audience terminals belonging to all audiences managed by the long connection server in a live broadcast room corresponding to a target anchor terminal to obtain a target audience terminal which is not in the audience terminal list and any one of the audience terminal type marks is not included in the audience terminal filtering marks.
10. The broadcast signaling transmission apparatus according to any of claims 7 to 9, wherein the apparatus further comprises:
a first type mark acquisition unit configured to execute acquisition of a live broadcast room creation request of a main broadcast side; responding to the live broadcast room establishing request, establishing a live broadcast room corresponding to the anchor terminal, acquiring an anchor terminal type mark corresponding to the anchor terminal from a first server, and storing the anchor terminal type mark in the local; and the first server is used for generating and storing a corresponding anchor type mark for the anchor.
11. The broadcast signaling transmission apparatus according to any of claims 7 to 9, wherein the apparatus further comprises:
the second type mark acquisition unit is configured to execute the acquisition of an entrance request of a viewer end to the live broadcast room; responding to the entry request, returning the live streaming information of the live broadcasting room to the audience, and acquiring audience type marks corresponding to the audience from a second server and storing the audience type marks locally; and the second server is used for generating and storing a corresponding audience type mark for the audience.
12. A broadcast signaling transmitting apparatus, applied to a broadcast signaling server, comprising:
the broadcast request generating unit is configured to execute the steps of acquiring signaling content to be broadcast, a main broadcasting end filtering mark and a spectator end filtering mark, and generating a broadcast signaling sending request according to the signaling content, the main broadcasting end filtering mark and the spectator end filtering mark; the anchor end filtering mark is used for indicating the type of the anchor end which the signaling content needs to be filtered, and the audience end filtering mark is used for indicating the type of the audience end which the signaling content needs to be filtered;
a broadcast request transmitting unit configured to perform acquisition of a plurality of long connection servers associated with the broadcast signaling server, and transmit the broadcast signaling transmission request to the plurality of long connection servers; the signaling sending request is used for indicating the long connection server tube to traverse the anchor end type mark corresponding to the live broadcasting room managed by the long connection server tube to obtain a target anchor end, and traversing the audience end type mark belonging to the audience end managed by the long connection server tube in the live broadcasting room corresponding to the target anchor end to obtain a target audience end; sending the signaling content to the target anchor terminal and the target audience terminal; any one of the anchor type flags of the target anchor is not included in the anchor filter flag, and any one of the audience type flags of the target audience is not included in the audience filter flag.
13. A broadcast signaling transmission system, comprising: a broadcast signaling server, a long connection server, a first server, and a second server, wherein,
the first server is used for generating and storing a corresponding anchor type mark for the anchor;
the second server is used for generating and storing a corresponding audience type mark for the audience;
the long connection server is used for acquiring a main broadcast end type mark corresponding to a main broadcast end from the first server when acquiring a direct broadcast room establishment request of the main broadcast end, and acquiring a spectator end type mark corresponding to a spectator end from the second server when acquiring an entrance request of the spectator end entering the direct broadcast room;
the broadcast signaling server is used for acquiring signaling content to be broadcasted, a main broadcasting end filtering mark and a spectator end filtering mark, generating a broadcast signaling sending request according to the signaling content, the main broadcasting end filtering mark and the spectator end filtering mark, and sending the broadcast signaling sending request to the long connection server;
the long connection server is further configured to receive the broadcast signaling sending request, traverse an anchor terminal type tag corresponding to a live broadcast room managed by the long connection server to obtain a target anchor terminal, traverse a viewer terminal type tag belonging to a viewer terminal managed by the long connection server in the live broadcast room corresponding to the target anchor terminal to obtain a target viewer terminal, and send the signaling content to the target anchor terminal and the target viewer terminal; any one of the anchor type flags of the target anchor is not included in the anchor filter flag, and any one of the audience type flags of the target audience is not included in the audience filter flag.
14. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the broadcast signaling method of any of claims 1 to 6.
15. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the broadcast signaling method of any of claims 1-6.
CN202110572634.4A 2021-05-25 2021-05-25 Broadcast signaling transmission method, device, system, electronic device and storage medium Active CN113301378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110572634.4A CN113301378B (en) 2021-05-25 2021-05-25 Broadcast signaling transmission method, device, system, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110572634.4A CN113301378B (en) 2021-05-25 2021-05-25 Broadcast signaling transmission method, device, system, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN113301378A CN113301378A (en) 2021-08-24
CN113301378B true CN113301378B (en) 2022-07-01

Family

ID=77324872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110572634.4A Active CN113301378B (en) 2021-05-25 2021-05-25 Broadcast signaling transmission method, device, system, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN113301378B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660290A (en) * 2021-09-27 2021-11-16 北京达佳互联信息技术有限公司 Signaling transmission method, device, equipment and storage medium
CN115426509B (en) * 2022-08-15 2024-04-16 北京奇虎科技有限公司 Live broadcast information synchronization method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102428688A (en) * 2009-05-19 2012-04-25 高通股份有限公司 Delivery of selective content to client applications by mobile broadcast device with content filtering capability
CN105519124A (en) * 2013-09-18 2016-04-20 索尼公司 Transmission device, transmission method, reception device, reception method, and computer program
CN110099283A (en) * 2019-05-09 2019-08-06 广州虎牙信息科技有限公司 Information-pushing method, device, equipment and storage medium
CN110149525A (en) * 2019-05-23 2019-08-20 广州虎牙信息科技有限公司 A kind of live broadcasting method, device, equipment and storage medium
CN110827073A (en) * 2019-10-31 2020-02-21 北京达佳互联信息技术有限公司 Data processing method and device
CN111083512A (en) * 2019-12-24 2020-04-28 北京达佳互联信息技术有限公司 Switching method and device of live broadcast room, electronic equipment and storage medium
CN111541684A (en) * 2020-04-20 2020-08-14 北京达佳互联信息技术有限公司 Signaling sending method and device of live broadcast room, server and storage medium
CN112087641A (en) * 2020-09-03 2020-12-15 广州华多网络科技有限公司 Video communication cooperative control, request and feedback method and device, equipment and medium
WO2021025576A1 (en) * 2019-08-05 2021-02-11 Марк Александрович НЕЧАЕВ Moderation of live stream participants

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102428688A (en) * 2009-05-19 2012-04-25 高通股份有限公司 Delivery of selective content to client applications by mobile broadcast device with content filtering capability
CN105519124A (en) * 2013-09-18 2016-04-20 索尼公司 Transmission device, transmission method, reception device, reception method, and computer program
CN110099283A (en) * 2019-05-09 2019-08-06 广州虎牙信息科技有限公司 Information-pushing method, device, equipment and storage medium
CN110149525A (en) * 2019-05-23 2019-08-20 广州虎牙信息科技有限公司 A kind of live broadcasting method, device, equipment and storage medium
WO2021025576A1 (en) * 2019-08-05 2021-02-11 Марк Александрович НЕЧАЕВ Moderation of live stream participants
CN110827073A (en) * 2019-10-31 2020-02-21 北京达佳互联信息技术有限公司 Data processing method and device
CN111083512A (en) * 2019-12-24 2020-04-28 北京达佳互联信息技术有限公司 Switching method and device of live broadcast room, electronic equipment and storage medium
CN111541684A (en) * 2020-04-20 2020-08-14 北京达佳互联信息技术有限公司 Signaling sending method and device of live broadcast room, server and storage medium
CN112087641A (en) * 2020-09-03 2020-12-15 广州华多网络科技有限公司 Video communication cooperative control, request and feedback method and device, equipment and medium

Also Published As

Publication number Publication date
CN113301378A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN113301378B (en) Broadcast signaling transmission method, device, system, electronic device and storage medium
CN105120299A (en) Video pushing method and video pushing device
CN107645386B (en) Method and device for acquiring data resources
CN107092686B (en) File management method and device based on cloud storage platform
CN107679901B (en) Interactive large screen and mobile terminal media resource delivery method and advertisement delivery system
CN107222760B (en) Method and device for grouping watching users
CN110602171B (en) Interaction method and device
MX2014012110A (en) Accelerating advertising decision resolution.
CN104394601A (en) WiFi (wireless fidelity) network access control method, device and router
CN111541684B (en) Signaling sending method and device of live broadcast room, server and storage medium
CN111432228A (en) Method, device and equipment for matching anchor and storage medium
CN112202663A (en) Message pushing method, device, terminal and medium
CN104038775A (en) Method and device for identifying channel information
CN113779422B (en) Method and device for realizing relationship chain label, electronic equipment and storage medium
CN106411713A (en) Status notification method and server
CN110351577B (en) Live broadcast information processing method and device, storage medium and electronic equipment
CN109634908A (en) Data correlation method, data processing equipment and storage medium
CN110839061B (en) Data distribution method, device and storage medium
CN106657116B (en) Method and device for remotely starting streaming data transmission
CN109587121B (en) Security policy control method and device
CN111177281A (en) Access control method, device, equipment and storage medium
CN110602172B (en) Link identification generation method and device
CN106534986B (en) Data interactive method, device and set-top box based on CHINA RFTCOM Co Ltd
CN103686224A (en) Method and system for transcoding task obtaining on basis of distributed locks
CN113839991A (en) Method and device for confirming equipment information, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant