CN112911319A - Multi-user video connection control method, device, equipment and medium thereof - Google Patents

Multi-user video connection control method, device, equipment and medium thereof Download PDF

Info

Publication number
CN112911319A
CN112911319A CN202110067876.8A CN202110067876A CN112911319A CN 112911319 A CN112911319 A CN 112911319A CN 202110067876 A CN202110067876 A CN 202110067876A CN 112911319 A CN112911319 A CN 112911319A
Authority
CN
China
Prior art keywords
user
video connection
information
control
control strategy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110067876.8A
Other languages
Chinese (zh)
Other versions
CN112911319B (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.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network 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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN202110067876.8A priority Critical patent/CN112911319B/en
Publication of CN112911319A publication Critical patent/CN112911319A/en
Application granted granted Critical
Publication of CN112911319B publication Critical patent/CN112911319B/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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • 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/633Control signals issued by server directed to the network components or client
    • H04N21/6332Control signals issued by server directed to the network components or client directed to client

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application discloses a multi-user video connection control method, a device, equipment and a medium thereof, wherein the method comprises the following steps: monitoring the live broadcast state of each user in the multi-user video connection activity, and triggering a broadcast stop event associated with any user when the user stops broadcasting; responding to the off-air event, acquiring the characteristic information of the room example where the video connection activity is located, and inquiring control strategy information corresponding to the characteristic information from a configuration information base, wherein the control strategy information represents a control strategy of the off-air event of each user on the live broadcast state of other participating users in the video connection activity of the room example; and controlling the live broadcast states of other participating users in the current video connection activity according to the control strategy represented by the control strategy information. The method and the device can adapt to the off-air events of the participating users in the video connection activities, and automatically control the live broadcast states of other participating users according to the control strategy corresponding to the activities.

Description

Multi-user video connection control method, device, equipment and medium thereof
Technical Field
The embodiment of the application relates to the technical field of network video live broadcast, in particular to a multi-user video connection control method, a device, equipment and a medium thereof.
Background
To support live online activities of network video (commonly referred to as online), a server typically constructs an instance of a room supporting online live, thereby providing an online room in which users participating in online live are to live. In the process of connecting to the wheat, the connection state of each user, which is usually shown as the live broadcast state in the room, can affect whether the activity is normally performed or not. Therefore, the live broadcast service of the server generally needs to provide richer technical support for such a live broadcast activity, so as to handle the influence of the live broadcast state of each user on the live broadcast states of other participating users, and ensure the normal operation of the business logic of the live broadcast activity.
In several common service logics, the interaction relationship between the live broadcast states of multiple users in the same connection activity is generally as follows: independent, symbiotic and star-shaped. The mutual independence is that each microphone connecting user does not influence the live broadcast of other microphone connecting users when the live broadcast is stopped; the symbiosis is that as long as one connected-to-TV user stops broadcasting, all other connected-to-TV users are forced to stop broadcasting; the star is that the main node user stops broadcasting all the users of the leaf nodes together, and the stop of the users of the leaf nodes does not affect the users of other nodes.
At present, when a network video service product realizes the mutual constraint logic of the live broadcast state between users of the connection activities, it is common that a development team correspondingly develops corresponding functions according to the requirements of project teams, so that each team needs the mutual constraint relationship to redevelop the whole set of realization logic. Even within the same project team, as is often the case. Therefore, the product iteration time is greatly prolonged, and the common live-line stop mode is repeatedly developed every time, and the efficiency is particularly low.
Disclosure of Invention
Various embodiments of the present invention provide a multi-user video connection control method capable of being inter-componentized for efficient multiplexing, and a multi-user video connection control apparatus, a computer device, and a storage medium thereof.
In order to solve the technical problem, the following technical scheme is adopted in the application:
one of the objectives of the present application is to provide a multi-user video connection control method, which includes the following steps:
monitoring the live broadcast state of each user in the multi-user video connection activity, and triggering a broadcast stop event associated with any user when the user stops broadcasting;
responding to the off-air event, acquiring the characteristic information of the room example where the video connection activity is located, and inquiring control strategy information corresponding to the characteristic information from a configuration information base, wherein the control strategy information represents a control strategy of the off-air event of each user on the live broadcast state of other participating users in the video connection activity of the room example;
and controlling the live broadcast states of other participating users in the current video connection activity according to the control strategy represented by the control strategy information.
In a further embodiment, the method of the present application further comprises the steps of:
responding to a user instruction for creating a room instance of a specific type, creating the room instance, and acquiring characteristic information of the room instance;
configuring the room example according to the type information corresponding to the specific type in the user instruction, so that the video connection activity held in the room example is suitable for the control of the control strategy in the control strategy information corresponding to the type information;
and storing the mapping relation data of the characteristic information and the control strategy information into the configuration information base.
In another embodiment, the method of the present application further comprises the steps of:
and maintaining the configuration information base, and ensuring that the characteristic information corresponding to each room instance only has one piece of mapping relation data, so that the characteristic information is only associated with one piece of control strategy information.
In a preferred embodiment, in the step of querying the control policy information corresponding to the feature information from the configuration information base, the control policy information is used to characterize any one of a plurality of preset control policies.
Optionally, in the step of querying, from the configuration information base, control policy information corresponding to the feature information, where the control policy information represents an independent control policy, and is used to control other participating users to continue to maintain a live broadcast state in a current video connection activity in response to a live broadcast stop event triggered by a user stopping live broadcast.
Optionally, in the step of querying, from the configuration information base, control policy information corresponding to the feature information, where the control policy information represents a symbiotic control policy, and is used to control, in response to a blackout event triggered by a user who stops live broadcasting, other participating users to switch to a blackout state in a current video connection activity.
Optionally, in the step of querying, from the configuration information base, control policy information corresponding to the feature information, where the control policy information represents a star-type control policy, and is used to respond to a broadcast stop event triggered by a user stopping live broadcast, identify whether the user belongs to a designated user, and control other participating users to switch to a broadcast stop state in a current video connection activity when the user is the designated user, otherwise, control other participating users to continue to maintain a live broadcast state in the current video connection activity.
To meet still another object of the present application, the present application provides a multi-user video connection control apparatus, comprising:
the event triggering module is used for monitoring the live broadcast state of each user in the multi-user video connection activity and triggering the stop broadcast event associated with any user when the user stops the live broadcast;
the strategy query module is used for responding to the off-air event, acquiring the characteristic information of the room example where the video connection activity is located, and querying control strategy information corresponding to the characteristic information from a configuration information base, wherein the control strategy information represents a control strategy of the off-air event of each user on the live broadcast state of other participating users in the video connection activity of the room example;
and the live broadcast control module is used for controlling the live broadcast states of other participating users in the current video connection activity according to the control strategy represented by the control strategy information.
In a further embodiment, the apparatus described herein further comprises:
the implementation configuration module is used for responding to a user instruction for creating a room example of a specific type, creating the room example and obtaining the characteristic information of the room example;
an instance configuration module, configured to configure the room instance according to the type information corresponding to the specific type in the user instruction, so that the video connection activity held in the room instance is suitable for control of the control policy in the control policy information corresponding to the type information;
and the data storage module is used for storing the mapping relation data of the characteristic information and the control strategy information into the configuration information base.
In a further embodiment, the apparatus described herein further comprises:
and the information maintenance module is used for maintaining the configuration information base and ensuring that the characteristic information corresponding to each room instance only has one piece of mapping relation data so that the characteristic information is only associated with one piece of control strategy information.
In a preferred embodiment, when the policy query module is running, the control policy information is used to characterize any one of a plurality of preset control policies.
In an optional embodiment, when the policy query module runs, the control policy information represents an independent control policy, and is used to control other participating users to continue to maintain a live broadcast state in a current video connection activity in response to a stop event triggered by a user stopping live broadcast.
In an optional embodiment, when the policy query module runs, the control policy information represents a symbiotic control policy, and is used to control other participating users to switch to a stop-broadcasting state in a current video connection activity in response to a stop-broadcasting event triggered by a user stopping live broadcasting.
In an optional embodiment, when the policy query module runs, the control policy information represents a star-type control policy, and is configured to identify whether the user belongs to a designated user in response to a broadcast stop event triggered by a user stopping live broadcast, and when the user is the designated user, control other participating users to switch to a broadcast stop state in a current video connection activity, otherwise, control other participating users to continue to maintain a live broadcast state in the current video connection activity.
In accordance with yet another aspect of the present application, there is also provided a computer device comprising a memory and a processor, the memory having stored therein computer-readable instructions which, when executed by the processor, cause the processor to perform the steps of any one of the methods described above.
In accordance with yet another aspect of the present application, there is also provided a storage medium having stored thereon computer-readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of any one of the methods described above.
Compared with the prior art, the beneficial effect of this application is:
firstly, the mapping relation between the characteristic information of the room example related to the network video live broadcast connection activity and the control strategy information is abstracted by the thought of intermediate componentization, the control strategy query and the applicable service are provided for the connection activity of each room example by maintaining the mapping relation, and therefore, the application requirement with the same requirement and needing to control the mutual restriction relation between the live broadcast states of all users in a multi-user room can be realized by calling the centralized engine, a centralized server is conveniently constructed to intensively improve the response service capability, repeated development can be avoided by providing a calling interface for calling related application products, the development period of the related application products is shortened, and the development cost is saved.
Secondly, the mapping relation data of the room instance and the corresponding control strategy information is stored in the configuration information base, so that centralized real-time scheduling of massive video connection activities in the operation process is realized, and a plurality of multi-person connection activities are guaranteed to be held in parallel and not paradoxically, so that centralized automatic management of the large-scale network video live broadcast platform on the multi-person connection activities provided by the large-scale network video live broadcast platform is optimized, the relevant operation memory of the server is released in time when all users monitoring the activities stop the live broadcast according to the control strategy, and the stable operation of the server is kept.
In addition, the method is realized mainly by configuring mapping relation data and providing a calling interface, and is available, low in realization cost, strong in service capability and efficient.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic diagram of a network architecture suitable for deploying the subject technology;
FIG. 2 is a flowchart illustrating an exemplary embodiment of a multi-user video connection control method according to the present application;
FIG. 3 is a schematic flowchart of an expanded portion of another embodiment of the multi-user video connection control method according to the present application on the basis of an exemplary embodiment;
fig. 4 is a schematic diagram illustrating a basic structure of a multi-user video connection control apparatus according to the present application;
fig. 5 is a block diagram of a basic structure of a computer device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It will be understood by those within the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As used herein, a "terminal" includes both devices that are wireless signal receivers, devices that have only wireless signal receivers without transmit capability, and devices that have receive and transmit hardware, devices that have receive and transmit hardware capable of performing two-way communication over a two-way communication link, as will be understood by those skilled in the art. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. The "terminal" used herein may also be a communication terminal, a web-enabled terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, and may also be a smart tv, a set-top box, etc.
The hardware referred to by the names "server", "client", "service node", etc. is essentially an electronic device with the performance of a personal computer, and is a hardware device having necessary components disclosed by the von neumann principle such as a central processing unit (including an arithmetic unit and a controller), a memory, an input device, an output device, etc., a computer program is stored in the memory, and the central processing unit calls a program stored in an external memory into the internal memory to run, executes instructions in the program, and interacts with the input and output devices, thereby completing a specific function.
It should be noted that the concept of "server" as referred to in this application can be extended to the case of a server cluster. According to the network deployment principle understood by those skilled in the art, the servers should be logically divided, and in physical space, the servers may be independent from each other but can be called through an interface, or may be integrated into one physical computer or a set of computer clusters. Those skilled in the art will appreciate this variation and should not be so limited as to restrict the implementation of the network deployment of the present application.
Referring to fig. 1, the hardware basis required for implementing the related art embodiments of the present application may be deployed according to the architecture shown in the figure. The server 80 is deployed at the cloud end, and mainly provides a network (video) live broadcast operation support service, and may be responsible for further connecting a related service server, a media server, and other servers providing related support, so as to form a logically related server cluster to provide services for related terminal devices, such as a smart phone 81 and a personal computer 82 shown in the figure. Both the smart phone and the personal computer can access the internet through a known network access mode, and establish a data connection link with the cloud server 80 so as to run application programs related to the service provided by the server, including application programs embedded in a webpage, thereby using the service provided by the server.
It should be noted that in these server clusters, in some scenarios, the server supporting live network video operation, the media server, and the server supporting broadcast service are merged into the same server or share the same network address, and sometimes the same application server can establish the mutual association of the whole cluster independently, so that the server ultimately responsible for service can be pointed to by using the same network address. In this regard, those skilled in the art will appreciate.
The multi-user video connection control method is suitable for being programmed and built in an application program providing network live broadcast operation service, and is used as one of service functions of the application program, and the application program runs in the server so as to open related services realized by the application.
The network live broadcast, or network video live broadcast, refers to a video live broadcast network service implemented based on the network deployment architecture, and can be presented in different forms such as a video conference system, a network chat room system, an education training system, and the like, so as to meet various application scenarios.
In an application scenario of the live video network service, the live video network service is responsible for maintaining room instances corresponding to a plurality of online rooms, each online room is used by a plurality of participating users for holding a video connection activity, which is commonly called as connecting to a microphone, and an initiator of the video connection activity may be one of the participating users or a result of random matching of a server. Each room instance can be created and released on demand, and can also persist in the server. Communication data between each participant user participating in the same video connection activity is usually shared, including sharing among the participant users, and also sharing in the live broadcast rooms of the participant users, so that a live broadcast room user can generally acquire live video streams of all the participant users in the live broadcast room of any one participant user. Of course, the openness of the communication data and the implementation of the related functions for each participating user in the video connection activity can be flexibly adjusted by those skilled in the art as required.
With the above disclosure of the related application and development environments related to the technical solutions of the present application in mind, reference is made to the following description for further understanding of various embodiments of the present application. It is to be noted that the person skilled in the art will know for this: although the various methods of the present application are described based on the same concept so as to be common to each other, they may be independently performed unless otherwise specified. In the same way, for each embodiment disclosed in the present application, it is proposed based on the same inventive concept, and therefore, concepts of the same expression and concepts of which expressions are different but are appropriately changed only for convenience should be equally understood.
Referring to fig. 2, a multi-user video connection control method according to the present application is programmed and run in a server, and can provide a service for an application program related to live webcast or other servers through an open call interface, and execute the method through a call to the call interface, specifically, includes the following steps:
step S11, monitoring the live broadcast status of each user in the multi-user video connection activity, and triggering the stop event associated with any user when the user stops the live broadcast:
the application program or other server services which need to use the service constructed by the method can realize the calling of the method in an interface calling mode, thereby starting the running of the method.
After being implemented, the method runs as a cloud service, and when the method is called, the method is responsible for monitoring the live broadcast state of each participating user in the multi-user video connection activity and making corresponding response according to the state change of each participating user.
The video connection activity refers to that a plurality of participating users are generally initiated by a main broadcasting user together. In this activity, the live streams of multiple participating users are maintained by the same room instance in the background of the server, so that the live streams of the participating users can be synchronously pushed to audience users entering an online room corresponding to the room instance. During a video-on-line activity, the participating users are allowed to stop live, usually with direct exit from the on-line room, so that on the audience user side, the live stream of the anchor user who has exited the room is no longer received.
In a video connection activity, when any one of the participating users stops playing, the server running the live broadcast service can already know that the live broadcast state of the participating user changes, namely stops playing, because the server cannot receive the corresponding video stream or receives the stop command of the participating user in advance, and when the participating user stops playing, the server can process the affairs related to the stop playing according to the service logic inherently realized by the network live broadcast service.
In this step, the server is responsible for monitoring the live broadcast status of each participating user participating in the multi-user video connection activity in each room instance in a centralized manner, and when any one of the participating users stops live broadcast, a stop broadcast event corresponding to the participating user is triggered.
In practice, the method is generally used as an intermediate component, and can be implemented as a centralized engine providing services, which can subsequently make standardized responses to the off-air events according to the business implementation logic thereof, so as to uniformly process the off-air events occurring in various video connection activities.
Step S12, responding to the off-air event, acquiring feature information of the room instance where the video connection activity is located, and querying control policy information corresponding to the feature information from a configuration information base, where the control policy information represents a control policy of the off-air event of each user on the live broadcast states of other participating users in the video connection activity of the room instance:
the service engine constructed by the method is suitable for responding to the off-air event and executing the step. When the off-air event is responded, the characteristic information of the room example where the video connection activity is located is obtained first, so that the corresponding control strategy information is inquired and determined according to the characteristic information.
As previously described, a server maintaining a live service will create a corresponding room instance in response to the initiation of each video session, and implement the service via the room instance to maintain the video session. The server assigns a characteristic information with a unique identification function to each room instance, so as to uniquely determine the corresponding room instance, and correspondingly point to the corresponding video connection activity.
The system of the network live broadcast service has a configuration information base which is used for storing the mapping relation data between the characteristic information and the corresponding control strategy information, so that the corresponding control strategy information can be searched for each video connection activity through the mapping relation data. The control strategy information is used for representing the control strategy corresponding to the live broadcast state of other participating users in the video connection activity of the corresponding room example. That is, each video connection activity is configured with a corresponding control policy by taking the room instance as a unit, applying the off-air event of the participating user, and when one of the participating users triggers the off-air event, the corresponding control policy is applied by the off-air event. The specific content of the control strategy depends on the specific configuration of the corresponding control strategy information of the room instance.
It is understood that based on the principles disclosed above, those skilled in the art can make various control strategies as required, convert the control strategies into corresponding control strategy information, select relevant control strategy information when a room instance is created, and then apply the corresponding control strategies when an actual off-air event is triggered.
Step S13, controlling the live broadcast state of other participating users in the current video connection activity according to the control policy represented by the control policy information:
when the corresponding control strategy is applied, the live broadcast state of other participating users is correspondingly controlled according to the mutual restriction relationship between the participating user triggering the off-air event and other participating users in the same video connection activity, and the control usually includes controlling part or all of the other participating users to terminate live broadcast and switch to the off-air state, or controlling part or all of the other participating users to continue to maintain the live broadcast state.
Therefore, in the exemplary embodiment, the mapping relationship data between the characteristic information of the room instance of the video connection activity and the preconfigured control policy information is managed in a centralized manner, so that the method is suitable for constructing the service engine in the form of an intermediate component, thereby performing unified service and centralized response on the off-air event control policies corresponding to a plurality of video connection activities in a centralized manner, constructing a standardized intermediate component, optimizing a network service structure related to live network, and saving the network implementation cost related to live video.
In the embodiment that the multi-user video connection control method is further enriched, the method is provided for implementing configuration of a control policy corresponding to a room instance, so in this embodiment, please refer to fig. 3, where the multi-user video connection control method further includes the following steps:
step S14, responding to the user instruction for creating the room example of the specific type, creating the room example, and obtaining the characteristic information:
when any one of the parties participating in the video connection activity or a user instruction for creating the video connection activity is triggered together, the live webcast service creates a corresponding room instance for the video connection activity. Typically, to implement the configuration of the control policy, before initiating the user instruction, the creator selects a type of room instance, which essentially corresponds to a specific control policy, and thus, the user instruction to create the video connection activity essentially corresponds to instructing the webcast service to create a room instance of a specific type, so that the room instance of the specific type is adapted to the specific type of control policy. Therefore, in the background operation process, one type information is used for identifying the specific type so as to finally correspond to the control strategy information corresponding to the control strategy.
In one embodiment, the specific type information may be determined by receiving, in a graphical user interface of one of the participating users, the type of room instance/video wiring activity selected by the participating user when the participating user initiates the video wiring activity, which essentially determines that the room instance belongs to a particular type.
In order to uniquely identify each room instance, the live webcast service generally generates characteristic information with a unique identification function for the room instance created by the live webcast service when creating the room instance, and the room instance can be uniquely determined according to the characteristic information.
Step S15, configuring the room instance according to the type information corresponding to the specific type in the user instruction, so that the video connection activity held in the room instance is controlled by the control policy in the control policy information corresponding to the type information:
after receiving the user instruction, the webcast service extracts the type information from the user instruction, so as to create a corresponding room instance for the user instruction, and then determines the room instance, that is, control strategy information corresponding to the video connection activity, according to the type information. As described above, once the corresponding control policy information is determined for a room instance, the video connection activity held during the running process of the room instance is subsequently applied to the corresponding control policy information, so that the influence on other participating users caused by the off-air event of one of the participating users is restricted by the control policy in the control policy information.
Step S16, storing the mapping relationship data between the feature information and the control policy information in the configuration information base:
as described above, the webcast service stores mapping relationship data between the characteristic information of the room instance and the control policy information determined by the room instance through a configuration information base, so that after the room instance is created, the corresponding mapping relationship data is stored in the configuration information base so as to be queried and invoked by the application in response to the outage event.
The embodiment enriches the practice of the application, and by improving the interaction process of the video connection activity, determines corresponding type information when the video connection activity is initiated, maps the characteristic information with the control strategy information determined according to the type information after a room instance is created to obtain the characteristic information, and stores the mapping relation into the configuration information base, thereby realizing a scheme of determining the control strategy according to the instruction of a participating user, and further being capable of meeting the requirement of massive video connection activities.
In a further embodiment, the multi-user video connection control method further includes the following steps:
maintaining the configuration information base, ensuring that the characteristic information corresponding to each room instance only has one piece of mapping relation data, and enabling the mapping relation data to be associated with only one piece of control strategy information:
considering that each room instance only has one control strategy, therefore, the webcast service needs to maintain the relationship in the background, specifically, the configuration information base is exclusively maintained, when each mapping relationship is stored in the configuration information base, whether a data record related to the feature information corresponding to the room instance exists is checked, if yes, the original data record is not stored or replaced, otherwise, the corresponding mapping relationship data is stored, so that the uniqueness of the mapping relationship data corresponding to a certain room instance in the configuration information base is ensured.
On the other hand, in a room instance, after all the participating users quit, it means that the video connection activity is finished, and therefore, for some room instances which are not frequently used or the room instances which are temporarily used, after the video connection activity is finished, the live webcast service may delete the room instances to release the running memory and delete the corresponding mapping relation data, thereby ensuring that there is no redundant garbage data in the configuration information base.
In an embodiment of rich operation and maintenance customization capability, a webcast service may provide a plurality of preset control policy information, for example, an independent control policy that characterizes that off-air events of participating users are independent from each other, a symbiotic control policy that characterizes that the off-air event of any one participating user causes other participating users in a video connection activity to stop live broadcasting, and a star-type control policy that characterizes that the off-air event of a main-control participating user causes other participating users to stop broadcasting, and the off-air event of any other participating user than the main-control participating user does not cause any off-air influence on each party of the video connection activity. On the basis, various control policies are packaged into control policy information which is associated with the type information of the room instance, so that in the room instance creation process, any one of the control policies can be determined according to the type information of the room instance, and the corresponding control policy information is used for constructing mapping relation data with the characteristic information of the room instance and is stored in the configuration information base.
It can be seen from this embodiment that the control policy may be flexibly customized by an operation and maintenance person, and the control policy customized by the operation and maintenance person is encapsulated as control policy information, and assigns a corresponding type information to the control policy information, so as to provide the type information to a user for video connection activity before the user initiates a user instruction for type selection. Therefore, the type information can be represented by simple readable information which is easy to identify, such as words like "independent", "symbiotic", "star", etc., and the type information is easy to identify for the user and the computer system.
According to the embodiment of the rich operation and maintenance customization capability, in one performance of actual operation of the service constructed by the method of the present application, when the control policy information corresponding to the feature information is queried from the configuration information base in step S12, the control policy information represents an independent control policy for controlling other participating users to continuously maintain a live state in the current video connection activity in response to a stop event triggered by a user stopping live broadcast. Thus, in step S13, after the off-air event of a participating user is triggered, the other participating users of the video connection activity are prevented from being switched to the off-air state by the system, and the other participating users are continuously maintained in the on-air state.
According to the embodiment of the rich operation and maintenance customization capability, in one performance of actual operation of the service constructed by the method of the present application, when the control policy information corresponding to the feature information is queried from the configuration information base in step S12, the control policy information represents a symbiotic control policy, and is used for controlling other participating users to switch to an off-air state in the current video connection activity in response to an off-air event triggered by a user stopping live broadcasting. Thus, in step S13, after the off-air event of a participating user is triggered, the live broadcasts of other users in the video-wiring activity are stopped, and the video-wiring activity is terminated, or even the room instance is deleted if necessary.
According to the embodiment of the rich operation and maintenance customization capability, in one performance of actual operation of the service constructed by the method, when the control strategy information corresponding to the characteristic information is inquired from the configuration information base in step S12, the control strategy information represents a star-shaped control strategy and is used for responding to a stop event triggered by a user stopping live broadcasting, identifying whether the user belongs to a specified user, controlling other participating users to switch to a stop state in the current video connection activity when the user is the specified user, and otherwise, controlling other participating users to continue to maintain the live broadcasting state in the current video connection activity. Therefore, in step S13, according to the policy information, the specified user, that is, the participating user having the master control authority in the video connection activity is obtained according to the control policy information, and it is determined whether the participating user triggering the off-air event is the specified user, if so, the live broadcast of other users in the video connection activity is stopped, and the whole video connection activity is terminated, and even the whole room instance may be deleted if necessary; if the user is not the designated user, the participating user triggering the off-air event is a node user in the star relationship, so that the off-air should not have any influence on other participating users of the video connection activity, and therefore, the other participating users of the video connection activity are prevented from being switched to the off-air state by the system, and the other participating users are continuously maintained in the live broadcast state.
Preferably, in order to facilitate the analysis of the control policy information, the control policy information may include a call to a program method corresponding to the control policy, and when necessary, particularly in accordance with the requirement of the star-type control policy, the control policy information may include the information of the specified user. The specified user is usually provided in the user instruction for creating the corresponding room instance when the video connection activity is initiated.
The present application may configure a corresponding apparatus by running an application program in a computer according to each embodiment of the foregoing method, specifically refer to fig. 4, which is a schematic diagram of a basic structure of a multi-user video connection control apparatus according to this embodiment, where the apparatus includes: the event triggering module 11 is configured to monitor a live broadcast state of each user in the multi-user video connection activity, and trigger a broadcast stop event associated with any user when the user stops broadcasting; a policy query module 12, configured to respond to the off-air event, obtain feature information of a room instance where the video connection activity is located, and query, from a configuration information base, control policy information corresponding to the feature information, where the control policy information represents a control policy of the off-air event of each user on live broadcast states of other participating users in the video connection activity of the room instance; and the live broadcast control module 13 is configured to control a live broadcast state of other participating users in the current video connection activity according to the control policy represented by the control policy information.
In a further embodiment, the apparatus described herein further comprises: the implementation configuration module is used for responding to a user instruction for creating a room example of a specific type, creating the room example and obtaining the characteristic information of the room example; an instance configuration module, configured to configure the room instance according to the type information corresponding to the specific type in the user instruction, so that the video connection activity held in the room instance is suitable for control of the control policy in the control policy information corresponding to the type information; and the data storage module is used for storing the mapping relation data of the characteristic information and the control strategy information into the configuration information base.
In a further embodiment, the apparatus described herein further comprises: and the information maintenance module is used for maintaining the configuration information base and ensuring that the characteristic information corresponding to each room instance only has one piece of mapping relation data so that the characteristic information is only associated with one piece of control strategy information.
In a preferred embodiment, when the policy query module is running, the control policy information is used to characterize any one of a plurality of preset control policies.
In an optional embodiment, when the policy query module runs, the control policy information represents an independent control policy, and is used to control other participating users to continue to maintain a live broadcast state in a current video connection activity in response to a stop event triggered by a user stopping live broadcast.
In an optional embodiment, when the policy query module runs, the control policy information represents a symbiotic control policy, and is used to control other participating users to switch to a stop-broadcasting state in a current video connection activity in response to a stop-broadcasting event triggered by a user stopping live broadcasting.
In an optional embodiment, when the policy query module runs, the control policy information represents a star-type control policy, and is configured to identify whether the user belongs to a designated user in response to a broadcast stop event triggered by a user stopping live broadcast, and when the user is the designated user, control other participating users to switch to a broadcast stop state in a current video connection activity, otherwise, control other participating users to continue to maintain a live broadcast state in the current video connection activity.
The multi-user video connection control device has the same beneficial effects as the multi-user video connection control method.
In order to solve the above technical problem, an embodiment of the present application further provides a computer device, configured to run a computer program implemented according to the multi-user video connection control method. Referring to fig. 5, a block diagram of a basic structure of a computer device according to the present embodiment is shown.
As shown in fig. 5, the internal structure of the computer device is schematically illustrated. The computer device includes a processor, a non-volatile storage medium, a memory, and a network interface connected by a system bus. The non-volatile storage medium of the computer device stores an operating system, a database and computer readable instructions, the database is used for storing various configuration information, and the computer readable instructions can enable the processor to realize a multi-user video connection control method when being executed by the processor. The processor of the computer device is used for providing calculation and control capability and supporting the operation of the whole computer device. The memory of the computer device may have stored therein computer readable instructions that, when executed by the processor, cause the processor to perform a multi-user video connectivity control method. The network interface of the computer device is used for connecting and communicating with the terminal. Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In this embodiment, the processor is configured to execute specific functions of each module/sub-module of the multi-user video connection control apparatus of the present invention, and the memory stores program codes and various data required for executing the modules. The network interface is used for data transmission to and from a user terminal or a server. The memory in this embodiment stores program codes and data required for executing all modules/sub-modules in the multi-user video connection control device, and the server can call the program codes and data of the server to execute the functions of all modules/sub-modules.
The present application further provides a non-volatile storage medium, wherein the multi-user video link control method is written as a computer program and stored in the storage medium in the form of computer readable instructions, and when the computer readable instructions are executed by one or more processors, the computer program is executed in a computer, thereby causing the one or more processors to execute the steps of the multi-user video link control method according to any one of the embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the computer program is executed. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM).
In summary, the video connection activity can be managed in a way of middleware service, the live broadcast events of the participating users in the video connection activity are adapted, the live broadcast states of other participating users are automatically controlled according to the control strategy corresponding to the activity, repeated development of platform users can be avoided when the same type of functions are realized, and the network deployment cost of the platform users is saved.
It should be understood that, although the steps in the flowcharts of the figures 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 may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-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 alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
Those of skill in the art will appreciate that the various operations, methods, steps in the processes, acts, or solutions discussed in this application can be interchanged, modified, combined, or eliminated. Further, other steps, measures, or schemes in various operations, methods, or flows that have been discussed in this application can be alternated, altered, rearranged, broken down, combined, or deleted. Further, steps, measures, schemes in the prior art having various operations, methods, procedures disclosed in the present application may also be alternated, modified, rearranged, decomposed, combined, or deleted.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.

Claims (10)

1. A multi-user video connection control method is characterized by comprising the following steps:
monitoring the live broadcast state of each user in the multi-user video connection activity, and triggering a broadcast stop event associated with any user when the user stops broadcasting;
responding to the off-air event, acquiring the characteristic information of the room example where the video connection activity is located, and inquiring control strategy information corresponding to the characteristic information from a configuration information base, wherein the control strategy information represents a control strategy of the off-air event of each user on the live broadcast state of other participating users in the video connection activity of the room example;
and controlling the live broadcast states of other participating users in the current video connection activity according to the control strategy represented by the control strategy information.
2. The method of claim 1, further comprising the steps of:
responding to a user instruction for creating a room instance of a specific type, creating the room instance, and acquiring characteristic information of the room instance;
configuring the room example according to the type information corresponding to the specific type in the user instruction, so that the video connection activity held in the room example is suitable for the control of the control strategy in the control strategy information corresponding to the type information;
and storing the mapping relation data of the characteristic information and the control strategy information into the configuration information base.
3. The method of claim 2, further comprising the steps of:
and maintaining the configuration information base, and ensuring that the characteristic information corresponding to each room instance only has one piece of mapping relation data, so that the characteristic information is only associated with one piece of control strategy information.
4. The method according to claim 1, wherein in the step of querying the control strategy information corresponding to the characteristic information from the configuration information base, the control strategy information is used for characterizing any one of a plurality of preset control strategies.
5. A method according to any one of claims 1 to 3, wherein in the step of querying the control policy information corresponding to the feature information from the configuration information base, the control policy information represents an independent control policy for controlling other participating users to continue to maintain a live state in the current video connection activity in response to a user-triggered off-air event that stops live broadcasting.
6. A method according to any one of claims 1 to 3, wherein in the step of querying the control policy information corresponding to the feature information from the configuration information base, the control policy information characterizes a symbiotic control policy for controlling other participating users to switch to an off-air state in the current video connection activity in response to an off-air event triggered by a user who stops live broadcasting.
7. The method according to any one of claims 1 to 3, wherein in the step of querying the control policy information corresponding to the feature information from the configuration information base, the control policy information characterizes a star-type control policy, and is used for identifying whether the user belongs to a specified user in response to a stop event triggered by a user stopping live broadcasting, controlling other participating users to switch to a stop state in the current video connection activity when the user is the specified user, and otherwise, controlling other participating users to continue to maintain the live broadcasting state in the current video connection activity.
8. A multi-user video connection control apparatus, comprising:
the event triggering module is used for monitoring the live broadcast state of each user in the multi-user video connection activity and triggering the stop broadcast event associated with any user when the user stops the live broadcast;
the strategy query module is used for responding to the off-air event, acquiring the characteristic information of the room example where the video connection activity is located, and querying control strategy information corresponding to the characteristic information from a configuration information base, wherein the control strategy information represents a control strategy of the off-air event of each user on the live broadcast state of other participating users in the video connection activity of the room example;
and the live broadcast control module is used for controlling the live broadcast states of other participating users in the current video connection activity according to the control strategy represented by the control strategy information.
9. A computer device comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform the steps of the method of any one of claims 1 to 7.
10. A storage medium having stored thereon computer-readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the method of any one of claims 1 to 7.
CN202110067876.8A 2021-01-19 2021-01-19 Multi-user video connection control method, device, equipment and medium thereof Active CN112911319B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110067876.8A CN112911319B (en) 2021-01-19 2021-01-19 Multi-user video connection control method, device, equipment and medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110067876.8A CN112911319B (en) 2021-01-19 2021-01-19 Multi-user video connection control method, device, equipment and medium thereof

Publications (2)

Publication Number Publication Date
CN112911319A true CN112911319A (en) 2021-06-04
CN112911319B CN112911319B (en) 2023-02-28

Family

ID=76115446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110067876.8A Active CN112911319B (en) 2021-01-19 2021-01-19 Multi-user video connection control method, device, equipment and medium thereof

Country Status (1)

Country Link
CN (1) CN112911319B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114885184A (en) * 2022-04-28 2022-08-09 广州市百果园网络科技有限公司 Network live broadcast scheduling method and device, equipment, medium and product thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979225A (en) * 2016-06-27 2016-09-28 贵阳朗玛信息技术股份有限公司 Monitoring method and device for group video room
US20180035154A1 (en) * 2016-07-29 2018-02-01 Beijing Xiaomi Mobile Software Co., Ltd. Method, Apparatus, and Storage Medium for Sharing Video
CN108616761A (en) * 2018-05-23 2018-10-02 广州华多网络科技有限公司 More people's video interactive methods, device, system, storage medium and computer equipment
CN109547807A (en) * 2018-11-15 2019-03-29 腾讯科技(深圳)有限公司 A kind of information processing method based on live streaming, device and server
US20190281327A1 (en) * 2016-11-22 2019-09-12 Guangzhou Baiguoyuan Information Technology Co., Ltd. Method For Controlling Delivery Of A Video Stream Of A Live-Stream Room, and Corresponding Server and Mobile Terminal
CN111711830A (en) * 2020-06-19 2020-09-25 广州市百果园信息技术有限公司 Live broadcast bit supplementing method and device, server and storage medium
CN112218127A (en) * 2020-10-16 2021-01-12 广州华多网络科技有限公司 Virtual live broadcast method, device, equipment and storage medium
CN112235594A (en) * 2020-10-20 2021-01-15 广州博冠信息科技有限公司 Live broadcast and microphone connecting method and device, computer readable medium and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979225A (en) * 2016-06-27 2016-09-28 贵阳朗玛信息技术股份有限公司 Monitoring method and device for group video room
US20180035154A1 (en) * 2016-07-29 2018-02-01 Beijing Xiaomi Mobile Software Co., Ltd. Method, Apparatus, and Storage Medium for Sharing Video
US20190281327A1 (en) * 2016-11-22 2019-09-12 Guangzhou Baiguoyuan Information Technology Co., Ltd. Method For Controlling Delivery Of A Video Stream Of A Live-Stream Room, and Corresponding Server and Mobile Terminal
CN108616761A (en) * 2018-05-23 2018-10-02 广州华多网络科技有限公司 More people's video interactive methods, device, system, storage medium and computer equipment
CN109547807A (en) * 2018-11-15 2019-03-29 腾讯科技(深圳)有限公司 A kind of information processing method based on live streaming, device and server
CN111711830A (en) * 2020-06-19 2020-09-25 广州市百果园信息技术有限公司 Live broadcast bit supplementing method and device, server and storage medium
CN112218127A (en) * 2020-10-16 2021-01-12 广州华多网络科技有限公司 Virtual live broadcast method, device, equipment and storage medium
CN112235594A (en) * 2020-10-20 2021-01-15 广州博冠信息科技有限公司 Live broadcast and microphone connecting method and device, computer readable medium and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114885184A (en) * 2022-04-28 2022-08-09 广州市百果园网络科技有限公司 Network live broadcast scheduling method and device, equipment, medium and product thereof
CN114885184B (en) * 2022-04-28 2024-01-30 广州市百果园网络科技有限公司 Network live broadcast scheduling method and device, equipment, medium and product thereof

Also Published As

Publication number Publication date
CN112911319B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
CN112218127B (en) Virtual live broadcast method, device, equipment and storage medium
US9992448B2 (en) Recording web conferences
US8416937B2 (en) System and method for changing conference moderators during a conference call
US20130162755A1 (en) Methods, systems and program products for initiating a process on data network
US8762505B2 (en) Definition configuration and administration of distributed server systems through structured data model
CN111639775A (en) Conference room reservation method, device, equipment and storage medium
WO2017220004A1 (en) Method and device for video conference session
CN110309231A (en) A kind of method of data synchronization and system across computer room
US20230275976A1 (en) Data processing method and apparatus, and computer-readable storage medium
CN112911319B (en) Multi-user video connection control method, device, equipment and medium thereof
CN110719311A (en) Distributed coordination service method, system and computer readable storage medium
CN111405229B (en) Video conference processing method, system, client, electronic equipment and storage medium
CN112114927A (en) Interface notification message display method, device, equipment and storage medium
JP2022130300A (en) System and method for customized reminder
CN108062245A (en) A kind of application timed task system for unified management and method
CN114222190B (en) Remote control processing and response method and device, equipment, medium and product thereof
CN114048258A (en) Live broadcast data scheduling and accessing method and device, equipment, medium and product thereof
CN114501347A (en) Information interaction method, device and system between heterogeneous systems
CN113727180A (en) Screen projection playing control method and device, equipment and medium thereof
CN113220480A (en) Distributed data task cross-cloud scheduling system and method
US11979444B1 (en) Mesh management for redistribution of online events
CN116701543B (en) Data management method, device, computer equipment and storage medium
CN114124508B (en) Application login method and system
Yamamoto et al. Service reconfiguration using super distributed objects (SDO) in context-aware service systems
KR20230132358A (en) System and method for providing cloud video conferencing service based on intelligent account pool logic and AI image analysis

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