CN112312061B - Video conference method and device, electronic equipment and storage medium - Google Patents
Video conference method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112312061B CN112312061B CN202011103895.3A CN202011103895A CN112312061B CN 112312061 B CN112312061 B CN 112312061B CN 202011103895 A CN202011103895 A CN 202011103895A CN 112312061 B CN112312061 B CN 112312061B
- Authority
- CN
- China
- Prior art keywords
- terminal
- intranet
- media node
- extranet
- media
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/15—Conference systems
- H04N7/152—Multipoint control units therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1069—Session establishment or de-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1073—Registration or de-registration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/403—Arrangements for multi-party communication, e.g. for conferences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/15—Conference systems
- H04N7/155—Conference systems involving storage of or access to video conference sessions
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the application provides a video conference method, a video conference device, electronic equipment and a storage medium, which are used for reasonably scheduling and managing server resources accessed by an internet terminal of a video conference system. The method comprises the following steps: when receiving an access conference request sent by a terminal, acquiring a type mark of the terminal, wherein the type mark of the terminal is a mark added by a video conference server for the terminal when the terminal is registered; determining a terminal type according to the mark, wherein the terminal type comprises an intranet terminal and an extranet terminal; according to the terminal type and the service range of the media node, the accessible media node is distributed to the terminal, wherein the service range comprises an intranet, an extranet and a universal service, the media node of the service range is used for accessing the intranet terminal, the media node of the service range is used for accessing the extranet terminal, and the universal media node is used for accessing the intranet terminal and the extranet terminal; and sending the media node information to the terminal so as to enable the terminal to access the video conference.
Description
Technical Field
The present invention relates to the field of media data communications, and in particular, to a video conference method, apparatus, electronic device, and storage medium.
Background
The video conference system comprises a multipoint control unit (Multi Control Unit, MCU) and various devices such as soft terminals, hard terminals and the like which participate in the conference. In the video conference process, the terminal sends the acquired images and sounds to the MCU through coding, the MCU adopts corresponding processing measures (for example, fusion of the images sent by each terminal and audio mixing of the sounds sent by each terminal) for the images and the sounds sent by each terminal according to conference requirements, and the processed information is sent to each terminal participating in the conference, so that the audio-video call of the multiparty conference participants is realized.
Currently, many video conferences are deployed in private intranet networks, and conference rooms of units participating in the conference are intercommunicated inside one intranet. However, the demands of people for conferences are generated anytime and anywhere, and with the popularization of video conferences, the conference scale is increasing, so that a large number of various personal computers (Personal Computer, PCs) from the internet and intranet can exist in the conference process, and mobile phone terminals and the like need to be accessed into the conference. Therefore, how to reasonably schedule and manage server resources accessed by the internet terminal of the video conference system is a technical problem to be solved at present.
Disclosure of Invention
The embodiment of the application provides a video conference method, a video conference device, electronic equipment and a storage medium, which are used for reasonably scheduling and managing server resources accessed by an internet terminal of a video conference system.
In a first aspect, a video conference method is provided and applied to a video conference server, the conference server includes a signaling service node and a media node, and the method includes:
when receiving an access conference request sent by a terminal, acquiring a type mark of the terminal, wherein the type mark of the terminal is a mark added by the video conference server for the terminal when the terminal is registered;
determining the terminal type according to the mark, wherein the terminal type comprises an intranet terminal and an extranet terminal;
according to the terminal type and the service range of the media node, the accessible media node is distributed to the terminal, wherein the service range comprises an intranet, an extranet and a universal media node, the media node with the service range being the intranet is used for accessing the intranet terminal, the media node with the service range being the extranet is used for accessing the extranet terminal, and the media node with the service range being the universal media node is used for accessing the intranet terminal and the extranet terminal;
And sending the media node information to the terminal so as to enable the terminal to access the video conference.
Optionally, before receiving the access conference request sent by the terminal, the method further includes:
receiving a registration signaling request of the terminal;
resolving an IP address in a To field in the registration signaling request;
matching the IP address with a local IP address list, wherein the local IP address list is a list formed by the IP addresses of all network ports of the signaling service node;
if the IP address exists in the local IP address list, marking the terminal as an intranet terminal;
and if the IP address does not exist in the local IP address list, marking the terminal as an external network terminal.
Optionally, before allocating the accessible media node to the terminal according to the terminal type and the service range of the media node, the method further includes:
determining media nodes for accessing intranet terminals and media nodes for accessing extranet terminals according to video conference requirements, wherein the video conference requirements are the number of intranet terminals and the number of extranet terminals which need to be accessed to the video conference;
and setting service ranges for the media node for accessing the intranet terminal and the media node for accessing the extranet terminal respectively.
Optionally, when the service range of the media node is universal, the intranet terminal is directly connected with the media node, and the extranet terminal is connected with the media node through a router.
Optionally, when the terminal is an external network terminal, the media node information includes an IP address of the media node and an external network IP address corresponding to the media node after being mapped to the external network by the router, so that the external network terminal accesses the video conference according to the IP address of the media node and the external network IP address corresponding to the media node after being mapped to the external network by the router.
In a second aspect, a video conferencing device is provided, applied to a video conferencing server, the conferencing server including a signaling service node and a media node, the device comprising:
the communication module is used for receiving an access conference request sent by the terminal;
the processing module is used for acquiring a type mark of the terminal when the communication module receives an access conference request sent by the terminal, and the video conference server is used for adding the mark to the terminal when the type mark of the terminal is registered by the terminal;
the processing module is further used for determining the terminal type according to the mark, wherein the terminal type comprises an intranet terminal and an extranet terminal;
The processing module is further configured to allocate an accessible media node to the terminal according to the terminal type and a service range of the media node, where the service range includes an intranet, an extranet and a general purpose, the service range is that a media node of the intranet is used for accessing the intranet terminal, the service range is that a media node of the extranet is used for accessing the extranet terminal, and the service range is that a general media node is used for accessing the intranet terminal and the extranet terminal;
and the communication module is also used for sending the media node information to the terminal so as to enable the terminal to access the video conference.
Optionally, the communication module is further configured to:
receiving a registration signaling request of the terminal;
the processing module is further configured To, when the communication module receives a registration signaling request of the terminal, parse an IP address in a To field in the registration signaling request; matching the IP address with a local IP address list, wherein the local IP address list is a list formed by the IP addresses of all network ports of the signaling service node; if the IP address exists in the local IP address list, marking the terminal as an intranet terminal; and if the IP address does not exist in the local IP address list, marking the terminal as an external network terminal.
Optionally, the processing module is further configured to:
determining media nodes for accessing intranet terminals and media nodes for accessing extranet terminals according to video conference requirements, wherein the video conference requirements are the number of intranet terminals and the number of extranet terminals which need to be accessed to the video conference;
and setting service ranges for the media node for accessing the intranet terminal and the media node for accessing the extranet terminal respectively.
Optionally, when the service range of the media node is universal, the intranet terminal is directly connected with the media node, and the extranet terminal is connected with the media node through a router.
Optionally, when the terminal is an external network terminal, the media node information includes an IP address of the media node and an external network IP address corresponding to the media node after being mapped to the external network by the router, so that the external network terminal accesses the video conference according to the IP address of the media node and the external network IP address corresponding to the media node after being mapped to the external network by the router.
In a third aspect, an electronic device is provided, the electronic device comprising:
a memory for storing program instructions;
And a processor, configured to call the program instructions stored in the memory, and execute the steps included in the method according to any one of the first aspect according to the obtained program instructions.
In a fourth aspect, there is provided a computer readable storage medium storing computer executable instructions for causing a computer to perform the steps comprised by the method of any one of the first aspects.
In a fifth aspect, there is provided a computer program product containing instructions that, when run on a computer, cause the computer to perform the video conferencing method described in the various possible implementations described above.
In the embodiment of the application, when receiving the access conference request information sent by the terminal, the video conference server acquires the type mark of the terminal, determines whether the terminal type of the terminal is an intranet terminal or an extranet terminal according to the type mark, and after determining the type of the terminal, the video conference server can allocate an accessible media node for the terminal according to the service range of the media node. The service range of the media node comprises an intranet, an extranet and a general purpose, the media node with the service range being the intranet is used for accessing the intranet terminal, the media node with the service range being the extranet is used for accessing the extranet terminal, and the media node with the service range being the general purpose is used for accessing the intranet terminal and the extranet terminal.
That is, the present application determines the type of the terminal (intranet terminal or extranet terminal) by acquiring the type flag of the terminal, allocates a media node for intranet terminal access to the terminal when the terminal is determined to be intranet terminal, and allocates a media node for extranet terminal access to the terminal when the terminal is determined to be extranet terminal. The media node used for the access of the intranet terminal can be a media node with an intranet and a general purpose serving range, and the media node used for the access of the extranet terminal can be a media node with an extranet and a general purpose serving range. Therefore, when the number of the terminals accessing the video conference is large, media nodes with different service ranges can be distributed for different types of terminals according to the types of the terminals, so that the purpose of reasonably scheduling and managing the resources of the service end accessed by the Internet terminals of the video conference system is realized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application.
Fig. 1 is an application scenario to which the technical solution of the embodiment of the present application can be applied;
Fig. 2 is a flowchart of a video conference method provided in an embodiment of the present application;
fig. 3 is a block diagram of a video conference device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure. Embodiments and features of embodiments in this application may be combined with each other arbitrarily without conflict. Also, while a logical order is depicted in the flowchart, in some cases, the steps depicted or described may be performed in a different order than presented herein.
The terms first and second in the description and claims of the present application and in the above-described figures are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the term "include" and any variations thereof is intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus. The term "plurality" in the present application may mean at least two, for example, two, three or more, and embodiments of the present application are not limited.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. The character "/" herein generally indicates that the associated object is an "or" relationship unless otherwise specified.
For easy understanding, the technical background of the embodiments of the present invention will be described first.
As mentioned above, how to reasonably manage the resources of accessing to the video conference is a technical problem to be solved at present. At present, one scheme is that a video networking terminal is accessed to a video networking server, the video networking server and a video networking gateway are accessed to a video networking gateway management platform, an internet terminal is connected to the video networking gateway, when the video networking terminal and the internet terminal communicate, the video networking gateway management platform applies for a first virtual terminal positioned in the video networking and a second virtual terminal positioned in the internet to the video networking gateway, the video networking gateway management platform mobilizes the first virtual terminal and the internet terminal to establish call connection, and mobilizes the second virtual terminal and the video networking terminal to establish call connection, so that the video networking terminal and the internet terminal communicate media data. That is, in the current scheme, a set of gateway management system needs to be additionally built to perform gateway cluster management, and the gateway cluster management system runs in parallel with the original video conference system cluster, so that the operation and maintenance management complexity is higher and the hardware resource cost is high.
In view of this, the embodiment of the present application provides a video conference method, when a video conference server receives access conference request information sent by a terminal, a type tag of the terminal is obtained, a type of the terminal (whether an intranet terminal or an extranet terminal) is determined according to the type tag, and after the type of the terminal is determined, an accessible media node is allocated to the terminal according to a service range of the media node. The media nodes allocated to the intranet terminal can be media nodes with service ranges of intranet and general purpose, and the media nodes allocated to the extranet terminal can be media nodes with service ranges of extranet and general purpose. And finally, the media node information distributed for the terminal is sent to the terminal, so that the terminal accesses the video conference through the media node. The media nodes are used for fusing images sent by the terminals in the video conference server, mixing sounds sent by the terminals and the like, and the terminals which need to be accessed to the video conference are accessed to the media nodes in the video conference server, so that the video conference server performs unified scheduling on media node cluster resources, terminal access and conference media stream processing multiplexing are achieved, and therefore overall hardware server resources are saved. In addition, because the terminal is accessed based on the original video conference server media node cluster, additional gateways and gateway management systems are not required to be developed and deployed, so that the variety of the server is reduced, and the complexity of deployment and operation and maintenance management is greatly simplified.
After the design concept of the embodiment of the present application is introduced, some simple descriptions are made below for application scenarios applicable to the technical solution of the embodiment of the present application, and it should be noted that the application scenarios described below are only used to illustrate the embodiment of the present application and are not limiting. In specific implementation, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.
Referring to fig. 1, fig. 1 is an application scenario to which the technical solution of the embodiment of the present application may be applied. In this application scenario, a video conference server (e.g. also referred to as a multipoint control unit MCU), a router, an intranet terminal and an extranet terminal are included, wherein the video conference server comprises a signaling service node and a media node. The signaling service node in MCU is directly connected with the intranet terminal and mapped to the external network through the router, the external network terminal is connected with the signaling service node through the router, so that the terminal sends a meeting information access request to the signaling service node through the router. The media node used for connecting the intranet terminal in the MCU is directly connected with the intranet terminal, the media node used for connecting the extranet terminal is mapped to the extranet through the router, and the extranet terminal is connected with the media node through the router, so that the terminal is accessed to the video conference through the media node. Each media node for connecting with the external network terminal is connected with an independent router and has an independent external network IP, and each media node can be connected with a plurality of terminals at the same time. It should be noted that, the video conference method provided in the embodiment of the present application is performed by a video conference server, specifically, by a signaling service node in the video conference server.
For example, as can be seen from fig. 1, the intranet terminal 1 is directly connected with the signaling service node, and the signaling service node is mapped to the external network through the router a, and the external network terminal 2 and the external network terminal 3 are connected with the signaling service node through the router a; the media node 1 is a media node for accessing the intranet terminal, so the intranet terminal 1 is directly connected with the media node 1, the media node 3 and the media node 4 are media nodes for accessing the extranet terminal, the media node 3 is mapped to the extranet through the router B, the extranet terminal 2 is connected with the media node 3 through the router 3, and the media node 4 is mapped to the extranet through the router C, and the extranet terminal 3 is connected with the media node 4 through the router C.
The following describes the technical scheme provided by the embodiment of the application with reference to the attached drawings.
Referring to fig. 2, fig. 2 is a flowchart of a video conference method according to an embodiment of the present application. The flow chart of the method shown in fig. 2 is described as follows:
step 201: and receiving an access conference request sent by the terminal.
Step 202: and when receiving a conference request sent by the terminal, acquiring the type mark of the terminal.
In the embodiment of the application, when a user needs to access a video conference, an access conference request is sent through a terminal, and when the video conference server receives the access conference request sent by the terminal, the type mark of the terminal is obtained. The video conference server adds a mark for the terminal when the terminal registers with the video conference server, so that the video conference server can determine whether the type of the terminal belongs to an intranet terminal or an extranet terminal according to the type mark. For example, the type of the terminal is marked by a from wan value, when the terminal registers with the video conference server, if the from wan value added by the video conference server is False, the terminal is indicated to be an intranet terminal, and if the from wan value added by the video conference server is True, the terminal is indicated to be an extranet terminal. Accordingly, the videoconference server can determine the type of terminal by acquiring the from wan value of the terminal.
In one possible implementation, the terminal also needs to register with the videoconference server before sending an access conference request to the videoconference server. When registering a terminal, firstly, a registration signaling request is sent To a video conference server, wherein the registration signaling request comprises a To field, and the To field comprises an IP address of the terminal. When receiving a registration signaling request of a terminal, a signaling service node in a video conference server analyzes an IP address in a To field of the registration signaling request To obtain an IP address of the terminal, matches the IP address of the terminal with a local IP address list, marks the terminal as an intranet terminal (for example, a from wan value is set as False) if the IP address of the terminal exists in the local IP address list, and marks the terminal as an extranet terminal (for example, a from wan value is set as True) if the IP address of the terminal does not exist in the local IP address list. When the video conference server is started, the signaling service node acquires all network port IPs of the signaling service node as a local IP address list, and stores the local IP address list.
In a specific implementation process, in order to have the authority of accessing the video conference server, the terminal needs to register in the video conference server before accessing the video conference server, and when registering, the signaling service node in the video conference server only marks the type of the terminal (whether the terminal belongs to an intranet terminal or an extranet terminal) and does not store the terminal. When a terminal needs to be accessed to a video conference, the video conference server can determine the type of the terminal by acquiring the type mark of the terminal, so that the operation efficiency of the video conference server can be effectively improved.
Step 203: and determining the terminal type according to the mark.
As described above, when the terminal registers, the videoconference server determines the IP address of the terminal according To the To field in the registration signaling request sent by the terminal, and then matches the IP address with the local IP address list of the signaling service node, and adds different flags for different terminal types (for example, setting the from wan value of the intranet terminal To False, and setting the from wan value of the extranet terminal To True). In this embodiment of the present application, if the from wan value of the terminal acquired by the video conference server is False, the terminal is determined to be an intranet terminal, and if the from wan value of the terminal acquired by the video conference server is True, the terminal is determined to be an extranet terminal.
Step 204: and distributing the accessible media nodes to the terminal according to the terminal type and the service range of the media nodes.
In the embodiment of the application, after determining the type of the terminal, the video conference server may allocate an accessible media node to the terminal according to the service range of the media node. The service range of the media node comprises an intranet, an extranet and a general purpose, the media node with the service range being the intranet is used for accessing the intranet terminal, the media node with the service range being the extranet is used for accessing the extranet terminal, and the media node with the service range being the general purpose can be accessed to the intranet terminal or the extranet terminal. Therefore, after the type of the terminal is determined, the intranet terminal can be allocated with media nodes with service ranges of intranet and general purpose, and the extranet terminal can be allocated with media nodes with service ranges of extranet and general purpose.
In one possible implementation, before the terminal is allocated with the accessible media nodes according to the type of the terminal and the service range of the media nodes, it is further required to configure the service range for each media node according to the video conference requirement, i.e. determine which media nodes are used for accessing the intranet terminal and which media nodes are used for accessing the extranet terminal. The video conference requirement is a requirement that a client puts forward to a video conference system developer according to the requirement of the client, and the video conference requirement comprises the number of intranet terminals and the number of extranet terminals which need to be accessed into the video conference during the video conference.
Specifically, the method for setting the service scope for each media node is that a configuration item "service scope" is newly added to the configuration pages of all media nodes, options set in the service scope include intranet, extranet and general, and when a service object (for example, an intranet terminal or an extranet terminal) of the media node is determined, the corresponding option is checked.
In the embodiment of the present application, when the environments in which the MCUs are located are different, the manner of setting the service range for the media node is also different, and specifically, the following cases are provided:
first kind: in the local area network environment, the MCU can only access an intranet terminal and can not access an extranet terminal, and at the moment, the service range of the media node can be set as intranet or universal; all media nodes are scheduled in a unified resource pool;
Second kind: the MCU is in a cloud host environment, all media nodes can be accessed to an intranet terminal and an extranet terminal, and the service range of the media nodes can be set to be 'extranet' or 'universal', wherein the media nodes of the 'extranet' are only used for accessing the extranet terminal, and the media nodes of the 'universal' are used for accessing the intranet terminal and/or the extranet terminal; all media nodes are scheduled in a unified resource pool;
third kind: in the single mapping environment, only MCU hosts in an MCU cluster are mapped to an external network, other MCU slaves are all in the internal network, only the external network IP is needed to be configured for the MCU hosts at the moment, meanwhile, in order to distinguish the single mapping from the multi-node mapping, a single mapping mark (for example, marked as true) is configured, the service range of a media node is set as 'internal network' or 'universal', and at the moment, an external network terminal accesses a conference through an MCU host agent; all media nodes are scheduled in a unified resource pool;
fourth kind: the MCU is in a local area network and multi-node internal and external network mapping environment, at the moment, N media nodes are determined to be used for accessing an external network terminal according to the access requirement of the external network terminal in the video conference requirement, independent exit route bandwidths are respectively allocated for the N media nodes, and a service range is configured as an external network for the N media nodes; and the other media nodes are configured as an intranet in the opposite way, so that the 'partial and complete treatment' of the access resources of the internal and external network terminals is realized, and two independent access resource pools which are not mutually interfered are formed. In this scenario, none of the media nodes can be configured as "generic".
For example, in the environment of mapping between local area network and multi-node internal and external networks, according to the video conference requirement set forth by a client, the MCU of the application knows that 187 intranet terminals need to join the video conference, 105 external network terminals can be accessed to 40 external network terminals, each media node used for accessing the intranet terminal can be accessed to 50 intranet terminals, at this time, according to the video conference requirement, it is determined that 7 media nodes are required in total in the video conference, wherein 4 media nodes are required for accessing 187 intranet terminals (for example, media node a, media node b, media node c and media node d), and 3 media nodes are required for accessing the external network terminals (for example, media node e, media node f and media node g). When the media node a, the media node b, the media node c and the media node d are determined to be used for accessing the intranet terminal, and the media node e, the media node f and the media node g are determined to be used for accessing the extranet terminal, setting the service ranges for the media node a, the media node b, the media node c and the media node d as the intranet, and setting the service ranges for the media node e, the media node f and the media node g as the extranet.
In a possible implementation manner, if the scale of the later video conference is enlarged, when the number of intranet terminals and the number of extranet terminals to be accessed are increased, a media node can be added in the video conference server for accessing the increased terminals, so that high concurrency access of the terminals is realized.
Continuing the above example, in the MCU of the present application in the local area network plus multi-node internal and external network mapping environment, after the scale of the late video conference is enlarged, the number of internal network terminals to be accessed is 233, the number of external network terminals to be accessed is 176, it can be found that the number of internal network terminals to be accessed is greater than 200, the number of external network terminals is greater than 120, at this time, the existing media nodes are insufficient to access all internal network terminals and external network terminals, at this time, 1 media node is determined to be used to access the internal network terminals exceeding 200 parts according to the number of internal network terminals to be accessed, and 2 media nodes are determined to be used to access the external network terminals exceeding 120 parts according to the number of external network terminals to be accessed, at this time, 3 media nodes are added in the video conference server, the service range of 1 media node is set as "internal network", and the service range of the remaining 2 media nodes is set as "external network".
After the service ranges of the media nodes are configured, each media node needs to be mapped to an external network through a router for the media node allocated to the terminal of the external network, a configuration item of "media service IP list" is newly added to each media node configuration page allocated to the terminal of the external network, and the IP address of the media node and the corresponding external network IP address after being mapped to the external network through the router are added in the media service list (for example, the external network IP address may be referred to as rtpIPs). The video conference server may acquire service range and media service IP list information of each media node from the media node when distributing the media node and transmitting the media node information to the terminal.
In one possible implementation, when the service range of the media node is universal, the media node can be simultaneously accessed to the intranet terminal and the extranet terminal. The intranet terminal is directly connected to the media node, and the extranet terminal is connected to the media node through the router. For example, a media node may access 50 terminals, and if 30 intranet terminals have access to the media node, the media node may also access 20 extranet terminals through a router.
In a specific implementation process, network loads accessed by the external network terminal are distributed to a plurality of bandwidths of a plurality of media nodes, so that the broadband characteristic of high cost performance of the broadband of the internet within 500M is fully utilized, and a special line broadband above 500M is not required to be applied, thereby effectively saving the bandwidth cost accessed by the external network terminal.
Step 205: and sending the media node information to the terminal so as to enable the terminal to access the video conference.
In the embodiment of the application, after the video conference server distributes the accessible media nodes for the terminal, the media node information distributed to the terminal is sent to the terminal. And when the accessed terminal is determined to be an external network terminal, the media node information comprises the IP address of the media node and the corresponding IP address after the media node is mapped to the external network through the router, so that the external network terminal is accessed to the video conference through the IP address of the media node and the corresponding IP address after the media node is mapped to the external network through the router.
In a specific implementation process, the media nodes are used as processing nodes of the conference media stream and access nodes of the terminal, so that multiplexing of the media nodes is realized, and the resources of the whole hardware server are effectively saved. Meanwhile, because the terminal is accessed based on the original video conference server media node cluster, additional gateways and gateway management systems are not required to be developed and deployed, so that the variety of the server is reduced, and the complexity of deployment and operation and maintenance management is greatly simplified.
Based on the same inventive concept, the embodiment of the application provides a video conference device, which can realize the functions corresponding to the video conference method. The video conferencing device may be a hardware structure, a software module, or a hardware structure plus a software module. The video conference device can be realized by a chip system, and the chip system can be formed by a chip or can contain the chip and other discrete devices. Referring to fig. 3, the video conference apparatus includes a communication module 301 and a processing module 302. Wherein:
a communication module 301, configured to receive an access conference request sent by a terminal;
a processing module 302, configured to obtain, when the communication module 301 receives an access conference request sent by a terminal, a type tag of the terminal, where when the type tag of the terminal is the terminal registration, the video conference server adds a tag for the terminal;
The processing module 302 is further configured to determine the terminal type according to the tag, where the terminal type includes an intranet terminal and an extranet terminal;
the processing module 302 is further configured to allocate an accessible media node to the terminal according to the terminal type and a service range of the media node, where the service range includes an intranet, an extranet, and a general purpose, the service range is a media node of the intranet and is used for accessing an intranet terminal, the service range is a media node of the extranet and is used for accessing an extranet terminal, and the service range is a general media node and is used for accessing the intranet terminal and the extranet terminal;
the communication module 301 is further configured to send the media node information to the terminal, so that the terminal accesses a video conference.
Optionally, the communication module 301 is further configured to:
receiving a registration signaling request of the terminal;
the processing module 302 is further configured To, when the communication module 301 receives a registration signaling request of the terminal, parse an IP address in a To field in the registration signaling request; matching the IP address with a local IP address list, wherein the local IP address list is a list formed by the IP addresses of all network ports of the signaling service node; if the IP address exists in the local IP address list, marking the terminal as an intranet terminal; and if the IP address does not exist in the local IP address list, marking the terminal as an external network terminal.
Optionally, the processing module 302 is further configured to:
determining media nodes for accessing intranet terminals and media nodes for accessing extranet terminals according to video conference requirements, wherein the video conference requirements are the number of intranet terminals and the number of extranet terminals which need to be accessed to the video conference;
and setting service ranges for the media node for accessing the intranet terminal and the media node for accessing the extranet terminal respectively.
Optionally, when the service range of the media node is universal, the intranet terminal is directly connected with the media node, and the extranet terminal is connected with the media node through a router.
Optionally, when the terminal is an external network terminal, the media node information includes an IP address of the media node and an external network IP address corresponding to the media node after being mapped to the external network by the router, so that the external network terminal accesses the video conference according to the IP address of the media node and the external network IP address corresponding to the media node after being mapped to the external network by the router.
All relevant contents of each step related to the foregoing embodiment of the video conference method may be cited in the functional description of the functional module corresponding to the video conference device in the embodiment of the present application, which is not described herein.
The division of the modules in the embodiments of the present application is schematically only one logic function division, and there may be another division manner in actual implementation, and in addition, each functional module in each embodiment of the present application may be integrated in one processor, or may exist separately and physically, or two or more modules may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules.
Based on the same inventive concept, the embodiment of the application provides electronic equipment. Referring to fig. 4, the electronic device includes at least one processor 401 and a memory 402 connected to the at least one processor, in this embodiment, a specific connection medium between the processor 401 and the memory 402 is not limited, and in fig. 4, the connection between the processor 401 and the memory 402 is exemplified by a bus 400, and the bus 400 is shown in a bold line in fig. 4, and a connection manner between other components is only illustrative and not limited. The bus 400 may be divided into an address bus, a data bus, a control bus, etc., and is represented by only one thick line in fig. 4 for ease of illustration, but does not represent only one bus or one type of bus.
In the embodiment of the present application, the memory 402 stores instructions executable by the at least one processor 401, and the at least one processor 401 may perform the steps included in the video conference method by executing the instructions stored in the memory 402.
The processor 401 is a control center of the electronic device, and may use various interfaces and lines to connect various parts of the entire electronic device, and by executing or executing instructions stored in the memory 402 and invoking data stored in the memory 402, various functions of the electronic device and processing data, so as to monitor the electronic device as a whole. Alternatively, the processor 401 may include one or more processing units, and the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system and an application program, etc., and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 401. In some embodiments, processor 401 and memory 402 may be implemented on the same chip, and in some embodiments they may be implemented separately on separate chips.
The processor 401 may be a general purpose processor such as a Central Processing Unit (CPU), digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, which may implement or perform the methods, steps and logic blocks disclosed in the embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the video conference method disclosed in connection with the embodiments of the present application may be directly embodied as a hardware processor executing or may be executed by a combination of hardware and software modules in the processor.
By programming the processor 401, the codes corresponding to the video conference method described in the foregoing embodiment may be cured into the chip, so that the chip can execute the steps of the video conference method when running, and how to program the processor 401 is a technology known to those skilled in the art will not be repeated here.
Based on the same inventive concept, embodiments of the present application also provide a computer-readable storage medium storing computer instructions that, when run on a computer, cause the computer to perform the steps of the video conference method as described above.
In some possible embodiments, aspects of the video conferencing methods provided herein may also be implemented in the form of a program product comprising program code for causing a detection device to perform the steps of the video conferencing methods according to the various exemplary embodiments of the present application as described herein above when the program product is run on an electronic device.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.
Claims (8)
1. A video conferencing method, applied to a video conferencing server, the video conferencing server comprising a signaling service node and a media node, the method comprising:
when receiving an access conference request sent by a terminal, acquiring a type mark of the terminal, wherein the type mark of the terminal is a mark added by the video conference server for the terminal when the terminal is registered;
Determining the type of the terminal according to the mark, wherein the type of the terminal comprises an intranet terminal and an extranet terminal;
determining media nodes for accessing the intranet terminals and media nodes for accessing the extranet terminals according to video conference requirements, wherein the video conference requirements comprise the number of the intranet terminals and the number of the extranet terminals which need to be accessed to the video conference;
setting service ranges for media nodes for accessing the intranet terminal and media nodes for accessing the extranet terminal respectively;
according to the type of the terminal and the service range of the media node, the accessible media node is distributed for the terminal, wherein the service range comprises an intranet, an extranet and a universal media node, the media node with the service range being the intranet is used for accessing the intranet terminal, the media node with the service range being the extranet is used for accessing the extranet terminal, and the media node with the service range being the universal media node is used for accessing the intranet terminal and the extranet terminal;
and sending the media node information to the terminal so as to enable the terminal to access the video conference.
2. The method of claim 1, further comprising, prior to receiving the access conference request sent by the terminal:
Receiving a registration signaling request of the terminal;
resolving an IP address in a To field in the registration signaling request;
matching the IP address with a local IP address list, wherein the local IP address list is a list formed by the IP addresses of all network ports of the signaling service node;
if the IP address exists in the local IP address list, marking the terminal as an intranet terminal;
and if the IP address does not exist in the local IP address list, marking the terminal as an external network terminal.
3. The method of claim 1, wherein the intranet terminal is directly connected to the media node and the extranet terminal is connected to the media node through a router when the service area of the media node is in use.
4. A method according to any one of claims 1-3, wherein when the terminal is an external network terminal, the media node information includes an IP address of the media node and an external network IP address corresponding to the media node after being mapped to an external network by a router, so that the external network terminal accesses the video conference according to the IP address of the media node and the external network IP address corresponding to the media node after being mapped to the external network by the router.
5. A video conferencing device for use with a video conferencing server, the video conferencing server including a signaling service node and a media node, the device comprising:
the communication module is used for receiving an access conference request sent by the terminal;
the processing module is used for acquiring a type mark of the terminal when the communication module receives an access conference request sent by the terminal, and the video conference server is used for adding the mark to the terminal when the type mark of the terminal is registered by the terminal;
the processing module is further used for determining media nodes for accessing the intranet terminals and media nodes for accessing the extranet terminals according to video conference requirements, wherein the video conference requirements comprise the number of intranet terminals and the number of extranet terminals which need to be accessed to the video conference; setting service ranges for the media node for accessing the intranet terminal and the media node for accessing the extranet terminal respectively;
the processing module is further used for determining the type of the terminal according to the mark, wherein the type of the terminal comprises an intranet terminal and an extranet terminal;
the processing module is further configured to allocate accessible media nodes to the terminal according to the type of the terminal and a service range of the media nodes, where the service range includes an intranet, an extranet and a general purpose, the service range is that a media node of the intranet is used for accessing the intranet terminal, the service range is that a media node of the extranet is used for accessing the extranet terminal, and the service range is that a general media node is used for accessing the intranet terminal and the extranet terminal;
And the communication module is also used for sending the media node information to the terminal so as to enable the terminal to access the video conference.
6. The apparatus of claim 5, wherein the communication module is further to:
receiving a registration signaling request of the terminal;
the processing module is further configured To, when the communication module receives a registration signaling request of the terminal, parse an IP address in a To field in the registration signaling request; matching the IP address with a local IP address list, wherein the local IP address list is a list formed by the IP addresses of all network ports of the signaling service node; if the IP address exists in the local IP address list, marking the terminal as an intranet terminal; and if the IP address does not exist in the local IP address list, marking the terminal as an external network terminal.
7. An electronic device, comprising:
a memory for storing program instructions;
a processor for invoking program instructions stored in said memory and for performing the steps comprised in the method according to any of claims 1-4 in accordance with the obtained program instructions.
8. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method of any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011103895.3A CN112312061B (en) | 2020-10-15 | 2020-10-15 | Video conference method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011103895.3A CN112312061B (en) | 2020-10-15 | 2020-10-15 | Video conference method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112312061A CN112312061A (en) | 2021-02-02 |
CN112312061B true CN112312061B (en) | 2023-05-12 |
Family
ID=74327500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011103895.3A Active CN112312061B (en) | 2020-10-15 | 2020-10-15 | Video conference method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112312061B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113206973B (en) * | 2021-04-15 | 2022-10-14 | 随锐科技集团股份有限公司 | Cross-organization video conference method and system |
CN113489687B (en) * | 2021-06-21 | 2023-07-04 | 深圳震有科技股份有限公司 | Audio and video information intercommunication method and client across multiple networks |
CN114257569A (en) * | 2021-11-30 | 2022-03-29 | 珠海大横琴科技发展有限公司 | Teleconference method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1976435A (en) * | 2006-12-04 | 2007-06-06 | 中国联合通信有限公司 | Resource allocating method in video frequency conference |
WO2014145238A2 (en) * | 2013-03-15 | 2014-09-18 | Blue Jeans Network | Provision of video conferencing services using a micropop to extend media processing into enterprise networks |
EP2999161A1 (en) * | 2014-09-18 | 2016-03-23 | Tata Communications (America) Inc. | Multi-domain conference management system, telecommunications network and method |
CN111432158A (en) * | 2020-02-28 | 2020-07-17 | 浙江华创视讯科技有限公司 | Load balancing method and device for media nodes, storage medium and electronic device |
CN111586339A (en) * | 2020-03-25 | 2020-08-25 | 视联动力信息技术股份有限公司 | Conference scheduling method, server, electronic device and storage medium |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100142447A1 (en) * | 2008-09-04 | 2010-06-10 | Ludger Schlicht | Web applications for a mobile, broadband, routable internet |
CN101459692A (en) * | 2008-12-26 | 2009-06-17 | 深圳市迪威新软件技术有限公司 | NAT traversing system and method for meeting television |
CN103299649A (en) * | 2010-10-22 | 2013-09-11 | Dts(英属维尔京群岛)有限公司 | Media distribution architecture |
CN109391794A (en) * | 2017-08-10 | 2019-02-26 | 中兴通讯股份有限公司 | Video conference multiparty control method, apparatus, storage medium and computer equipment |
CN110177244B (en) * | 2019-04-11 | 2021-04-23 | 视联动力信息技术股份有限公司 | Method and system for polling conference terminal |
CN110225146B (en) * | 2019-05-20 | 2022-05-27 | 浙江华创视讯科技有限公司 | Intranet and extranet mapping method and device, electronic equipment, medium and video conference system |
CN110475091B (en) * | 2019-08-13 | 2021-07-09 | 国家电网有限公司 | Video conference processing method and device |
CN111107301A (en) * | 2019-12-27 | 2020-05-05 | 四川石油天然气建设工程有限责任公司 | Video conference platform and communication method based on video conference platform |
CN111541857A (en) * | 2020-04-01 | 2020-08-14 | 视联动力信息技术股份有限公司 | Conference joining method and device, electronic equipment and storage medium |
CN111601068A (en) * | 2020-05-12 | 2020-08-28 | 深圳市融讯视通科技有限公司 | Method for realizing multi-MCU cascade centerless video conference |
-
2020
- 2020-10-15 CN CN202011103895.3A patent/CN112312061B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1976435A (en) * | 2006-12-04 | 2007-06-06 | 中国联合通信有限公司 | Resource allocating method in video frequency conference |
WO2014145238A2 (en) * | 2013-03-15 | 2014-09-18 | Blue Jeans Network | Provision of video conferencing services using a micropop to extend media processing into enterprise networks |
EP2999161A1 (en) * | 2014-09-18 | 2016-03-23 | Tata Communications (America) Inc. | Multi-domain conference management system, telecommunications network and method |
CN111432158A (en) * | 2020-02-28 | 2020-07-17 | 浙江华创视讯科技有限公司 | Load balancing method and device for media nodes, storage medium and electronic device |
CN111586339A (en) * | 2020-03-25 | 2020-08-25 | 视联动力信息技术股份有限公司 | Conference scheduling method, server, electronic device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112312061A (en) | 2021-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112312061B (en) | Video conference method and device, electronic equipment and storage medium | |
CN107342895B (en) | Multi-tenant network optimization method, system, computing device and storage medium | |
CN101784989B (en) | Method and system for allocating network adapter resources among logical partitions | |
CN114025021B (en) | Communication method, system, medium and electronic equipment crossing Kubernetes cluster | |
CN110225146B (en) | Intranet and extranet mapping method and device, electronic equipment, medium and video conference system | |
CN111404753B (en) | Flat network configuration method, computer equipment and storage medium | |
CN111432158B (en) | Load balancing method and device for media nodes, storage medium and electronic device | |
CN103238301A (en) | Technique for managing traffic at router | |
CN114172905B (en) | Cluster network networking method, device, computer equipment and storage medium | |
CN114745724B (en) | Access processing method and device, electronic equipment and computer readable medium | |
CN108566412B (en) | Data service method and data service device | |
WO2020098040A1 (en) | Dds-based cross-network segment communication method | |
CN115174139A (en) | Node isolation method, switching equipment and Ethernet storage system | |
CN109819064A (en) | Method for communication between modules, operating system module and conference panel | |
CN113238756A (en) | Live broadcast service processing method and device, electronic equipment and storage medium | |
CN108429665A (en) | A kind of method of concurrent communication transmission data | |
CN110636149A (en) | Remote access method, device, router and storage medium | |
CN111262771A (en) | Virtual private cloud communication system, system configuration method and controller | |
CN115766336A (en) | Resource allocation method, device, equipment and storage medium | |
Watabe et al. | A distributed multiparty desktop conferencing system and its architecture | |
CN111679918B (en) | Message transmission method and device | |
CN115883283A (en) | Deployment method and device of containerization VNF | |
JP2010146246A (en) | Framework computer program for multi-agent system, network system and inter-agent communication method | |
CN107306315B (en) | Voice conference creating method, conference server and system | |
CN112839071A (en) | Training system, training data access method and device, electronic device and medium |
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 |