CN112187715B - Multicast-based POC (Point of sale) large-scale cluster distribution method and system - Google Patents

Multicast-based POC (Point of sale) large-scale cluster distribution method and system Download PDF

Info

Publication number
CN112187715B
CN112187715B CN202010864774.4A CN202010864774A CN112187715B CN 112187715 B CN112187715 B CN 112187715B CN 202010864774 A CN202010864774 A CN 202010864774A CN 112187715 B CN112187715 B CN 112187715B
Authority
CN
China
Prior art keywords
multicast
terminal
group
multicast address
multicast group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010864774.4A
Other languages
Chinese (zh)
Other versions
CN112187715A (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.)
Hangzhou Xujian Science And Technology Co ltd
Original Assignee
Hangzhou Xujian Science And 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 Hangzhou Xujian Science And Technology Co ltd filed Critical Hangzhou Xujian Science And Technology Co ltd
Priority to CN202010864774.4A priority Critical patent/CN112187715B/en
Publication of CN112187715A publication Critical patent/CN112187715A/en
Application granted granted Critical
Publication of CN112187715B publication Critical patent/CN112187715B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to a multicast-based POC large-scale cluster distribution method and system, wherein a POC system acquires login application information of a terminal through a multicast network, checks the login application information, and stores the login application information of the terminal if the check is successful, wherein the login application information comprises the following steps: group number and identification number of multicast group; if the login is successful, the POC system acquires the application of the terminal to join the multicast group, and checks the identification number and the group number of the multicast group; if the check is successful, the POC system requests the multicast address resource according to the group number of the multicast group, and returns the multicast address information corresponding to the multicast address resource to the terminal through the multicast network, and the terminal joins the multicast group according to the multicast address information. By the method and the device, the problems that a POC system transmits information in a unicast mode, repeatedly transmits a plurality of identical contents and occupies a large amount of network resources are solved, the data transmission efficiency is improved, a large amount of network bandwidth is saved, and the network load is reduced.

Description

Multicast-based POC (Point of sale) large-scale cluster distribution method and system
Technical Field
The present application relates to the field of communications, and in particular, to a method and system for multicast-based POC large-scale cluster distribution.
Background
With the increasing popularity of cloud services, streaming media based on cloud services are applied more and more, the requirements on the system are also increased, not only large-scale real-time stream distribution needs to be met, but also the efficiency requirements on real-time stream distribution are higher and higher, however, in the related art, a unicast mode is mostly adopted for real-time stream distribution by a talk-back system (PTT Over Cellular, POC for short), in this way, the POC system can transmit one piece of information for each receiver individually, if a plurality of receivers exist, a plurality of pieces of information with the same content can be repeatedly transmitted on a network, and thus, a large amount of network resources can be occupied.
At present, no effective solution is provided for the problem that the POC system in the related art transmits information in a unicast manner, repeatedly transmits multiple identical contents, and occupies a large amount of network resources.
Disclosure of Invention
The embodiment of the application provides a multicast-based POC large-scale cluster distribution method and system, which are used for at least solving the problems that in the related technology, a POC system transmits information in a unicast mode, repeatedly transmits a plurality of same contents and occupies a large amount of network resources.
In a first aspect, an embodiment of the present application provides a multicast-based POC large-scale cluster distribution method, where the method includes:
the POC system acquires login application information of a terminal through a multicast network, checks the login application information, and if the check is successful, the POC system stores the login application information of the terminal, wherein the login application information comprises: group number and identification number of multicast group;
if the login is successful, the POC system acquires the application of the terminal to join the multicast group and checks the identification number and the group number of the multicast group;
if the check is successful, the POC system requests multicast address resources according to the group number of the multicast group, and returns the multicast address information corresponding to the multicast address resources to the terminal through the multicast network, and the terminal joins the multicast group according to the multicast address information.
In some embodiments, after the terminal joins the multicast group according to the multicast address information, the method further includes: the POC system checks the identifier after acquiring the application of the terminal to quit the multicast group through the multicast network, and deletes the login application information if the check is successful; or if the heartbeat keep-alive time of the terminal is overtime, the POC system deletes the login application information, and the terminal exits the multicast group.
In some embodiments, after the POC system requests the multicast address resource according to the group number of the multicast group, the method includes:
and the POC system reads the configuration information in the multicast network, initializes a multicast address resource pool according to the capacity of the multicast address resource and the initial multicast address contained in the configuration information, and acquires an idle multicast address resource from the multicast address resource pool as the multicast address resource corresponding to the group number of the multicast group. In some embodiments, after the terminal joins the multicast group, the method includes: and after the multicast address resource application is successful, timing is started, all terminals in the multicast group have no speaking right to apply no speaking right application in a preset time period, and the multicast address resource is released.
In some embodiments, releasing the multicast address resource further comprises:
if the heartbeat keep-alive time of the terminal is overtime, the POC system deletes the login application information and releases the multicast address resource corresponding to the multicast group;
and if only one terminal remains in the multicast group, the POC system actively kicks out the terminal in the multicast group and releases the multicast address resource corresponding to the multicast group.
In a second aspect, an embodiment of the present application provides a system for POC large-scale cluster distribution based on multicast, where the system includes a terminal access module, a service processing module, and a media processing module:
the terminal access module is used for acquiring login application information of a terminal through a multicast network, checking the login application information, and if the check is successful, saving the login application information of the terminal, wherein the login application information comprises: group number and identification number of multicast group;
if the login is successful, the terminal access module acquires the application of the terminal for joining the multicast group and checks the identification number and the group number of the multicast group;
the service processing module is used for requesting multicast address resources to the media processing module according to the group number of the multicast group when the identification number and the group number of the multicast group are successfully checked;
the media processing module is used for returning the multicast address information corresponding to the multicast address resource to the terminal through the multicast network when the service processing module requests the multicast address resource, and the terminal is added into the multicast group according to the multicast address information.
In some embodiments, the terminal access module is further configured to, after the terminal joins the multicast group according to the multicast address information and obtains an application for the terminal to exit the multicast group through the multicast network, check the identification number, and if the check is successful, delete the login application information; or if the heartbeat keep-alive time of the terminal is overtime, the terminal access module deletes the login application information and informs the service processing module that the terminal exits the multicast group.
In some embodiments, after the service processing module requests the media processing module for the multicast address resource according to the group number of the multicast group,
the media processing module reads the configuration information in the multicast network, initializes a multicast address resource pool according to the capacity of the multicast address resource and the initial multicast address contained in the configuration information, and acquires an idle multicast address resource from the multicast address resource pool as the multicast address resource corresponding to the group number of the multicast group.
In some embodiments, the service processing module is further configured to start timing after the terminal joins the multicast group and after the multicast address resource application is successful, and request the media processing module to release the multicast address resource if all terminals in the multicast group have no talk right application within a preset time period.
In some embodiments, if only one terminal remains in the multicast group, the service processing module actively kicks out the terminal in the multicast group, and requests the media processing module to release the multicast address resource corresponding to the multicast group.
Compared with the related art, the multicast-based POC large-scale cluster distribution method provided by the embodiment of the present application obtains login application information of a terminal through a multicast network by a POC system, checks the login application information, and stores the login application information of the terminal if the check is successful, wherein the login application information includes: the group number and the identification number of the multicast group, if the login is successful, the POC system acquires the application of the terminal for joining the multicast group, the identification number and the group number of the multicast group are checked, if the check is successful, the POC system requests the multicast address resource according to the group number of the multicast group and returns the multicast address information corresponding to the multicast address resource to the terminal through the multicast network, and the terminal joins the multicast group according to the multicast address information, thereby solving the problems that the POC system transmits the information in a unicast mode, repeatedly transmits a plurality of same contents and occupies a large amount of network resources, improving the efficiency of data transmission, saving a large amount of network bandwidth and reducing the network load.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic diagram of an application environment of a multicast-based POC large-scale cluster distribution method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a method for multicast-based POC large-scale cluster distribution according to an embodiment of the present application;
fig. 3 is a flow chart illustrating another method for POC large-scale cluster distribution based on multicast according to an embodiment of the present application;
fig. 4 is a block diagram of a system for multicast-based POC large-scale cluster distribution according to an embodiment of the present application;
fig. 5 is a schematic diagram of a framework of a POC large-scale cluster distribution system based on multicast according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly and implicitly understood by one of ordinary skill in the art that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to only those steps or elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Reference herein to "a plurality" means greater than or equal to two. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The multicast-based POC large-scale cluster distribution method provided by the present application can be applied to an application environment shown in fig. 1, and fig. 1 is an application environment schematic diagram of the multicast-based POC large-scale cluster distribution method according to the embodiment of the present application, as shown in fig. 1, wherein a terminal can complete POC talkback functional service interaction through a multicast network, and a large-scale cluster system with low-delay, high-efficiency real-time media stream transmission and talkback can be performed between terminals. Network devices such as routers and switches connected in the system need to be configured into a mode supporting a multicast protocol to construct a multicast network.
Fig. 2 is a schematic flow chart of a multicast-based POC large-scale cluster distribution method according to an embodiment of the present application, and as shown in fig. 2, the flow chart includes the following steps:
step S201, the POC system obtains the login application information of the terminal through the multicast network, checks the login application information, if the check is successful, the login application information of the terminal is saved, wherein the login application information comprises: group number and identification number of the multicast group. In this embodiment, the multicast network is a router and a switch device that support a multicast protocol and are configured, and the number of the devices may be customized according to the complexity of the network to be built, where the multicast protocol is divided into a group membership protocol between a host and a router and a multicast routing protocol between a router and a router. The Group membership Protocol includes an Internet Group Management Protocol (IGMP). The multicast routing protocol is divided into an intra-domain multicast routing protocol and an inter-domain multicast routing protocol. The intra-domain Multicast Routing Protocol includes protocols such as a Sparse Mode Independent Multicast-broadcast Mode (PIM-SM), a Dense Mode Independent Multicast-response Mode (PIM-DM), a Distance Vector Multicast Routing Protocol (DVMRP), and the inter-domain Multicast Routing Protocol includes protocols such as a Multiprotocol border gateway Protocol (BGP-4, MBGP) and a Multicast Source Discovery Protocol (MSDP).
Step S202, if the login is successful, the POC system acquires the application of the terminal to join the multicast group and checks the identification number and the group number of the multicast group. Specifically, after the terminal logs in the POC system, the POC system checks the group number and the identification number of the multicast group that the terminal wants to join, checks whether the terminal corresponding to the identification number logs in the POC system and the group number of the multicast group is correct, and if the terminal logs in the POC system and the group number of the multicast group is correct, the check is successful.
Step S203, if the check is successful, the POC system requests the multicast address resource according to the group number of the multicast group, and returns the multicast address information corresponding to the multicast address resource to the terminal through the multicast network, and the terminal joins the multicast group according to the multicast address information. For example, multicast is performed by using a D-type address of 224.0.0.0-239.255.255.255 as a destination address, and a source host sends a message with the destination address being a multicast address in the above range, and in the network, if other hosts are interested in the group message, the source host can apply for joining the group and can receive the group message, and other members not belonging to the group cannot receive the group message.
Through the above steps S201 to S203, compared to the prior art that the POC system transmits information in a unicast manner, it is necessary to send one copy of data to each receiver, and multiple copies of the same content are repeatedly transmitted, which is inefficient and largely occupies network resources.
In some embodiments, considering that a terminal joins a multicast group and exits the multicast group after there is no need to transmit and receive data with other terminals in the multicast group, fig. 3 is a schematic flowchart of another method for multicast-based POC large-scale cluster distribution according to an embodiment of the present application, and as shown in fig. 3, the flowchart further includes step S301:
step S301, after the POC system obtains the application of the terminal to quit the multicast group through the multicast network, the POC system checks the identification number of the terminal, and if the check is successful, the POC system deletes the login application information of the terminal. In this embodiment, each terminal has a unique identification number, and a terminal corresponding to the identification number can be found according to the identification number, and the login application information of the terminal can be deleted if the identification number is successfully checked, i.e., the terminal corresponding to the identification number is found. Or if the heartbeat keep-alive time of the terminal is overtime, the POC system deletes the login application information of the terminal, and the terminal quits the multicast group. The heartbeat mechanism is a mechanism which sends a self-defined structure body, namely a heartbeat packet at regular time and enables the opposite side to know that the opposite side is still online so as to ensure the effectiveness of connection; and the heartbeat keep-alive overtime is caused by reasons of network switching, network disconnection, poor network state and the like, namely the terminal is disconnected with the terminal access module, and the terminal exits the multicast group.
In some embodiments, after the POC system requests the multicast address resource according to the group number of the multicast group, the POC system reads configuration information in the multicast network, initializes a multicast address resource pool according to the capacity of the multicast address resource and an initial multicast address included in the configuration information, and acquires an idle multicast address resource from the multicast address resource pool as the multicast address resource corresponding to the group number of the multicast group. Each multicast group occupies a multicast address resource, the occupied multicast address resource cannot be redistributed to other multicast groups, and the total amount of the multicast address resource pool is the initial multicast address plus the capacity of the multicast address resource. In some embodiments, after a terminal joins a multicast group, after a multicast address resource application is successful, timing is started, and if all terminals in the multicast group have no talk right application within a preset time period, the multicast address resource is released. After all terminals in the multicast group complete the requirements of receiving and sending data, the speaking right application is not needed, if all terminals in the multicast group have no speaking right application in the preset time period, the multicast address resource is released, and the cyclic use of the multicast address resource is realized.
In some embodiments, in the process of releasing the multicast address resource, if only one terminal remains in the multicast group, the POC system actively kicks out the terminal in the multicast group, and releases the multicast address resource corresponding to the multicast group. Only one terminal is left in the multicast group, and the terminal does not send data receiving and sending operations, so that the multicast address resource corresponding to the multicast group is released, and the multicast address resource can be recycled.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
This embodiment further provides a system for POC large-scale cluster distribution based on multicast, where the system is used to implement the foregoing embodiment and preferred embodiments, and details of which have been already described are omitted. As used below, the terms "module," "unit," "sub-unit," and the like may implement a combination of software and/or hardware of predetermined functions. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a system for multicast-based POC large-scale cluster distribution according to an embodiment of the present application, and as shown in fig. 4, the system includes a terminal access module 41, a service processing module 42, and a media processing module 43:
a terminal access module 41, configured to obtain login application information of a terminal through a multicast network, check the login application information, and if the check is successful, store the login application information of the terminal, where the login application information includes: if the login is successful, the terminal access module 41 obtains the application of the terminal to join the multicast group and checks the group number of the multicast group and the identification number. Specifically, the terminal access module 41 stores the identifier number, the channel connection information, and the channel state information of the terminal as the terminal access node in the memory linked list, the terminal and the terminal access module 41 maintain heartbeat keep-alive, and if the terminal logs off or the heartbeat keep-alive is overtime, the terminal access module 41 deletes the terminal access node.
The service processing module 42 is configured to, when the identification number and the group number of the multicast group are successfully checked, request, by the service processing module 42, a multicast address resource from the media processing module 43 according to the group number of the multicast group. Specifically, the service processing module 42 receives the service request forwarded by the terminal access module 41, and processes the establishment, destruction, switching, joining, exiting, authority management, speaking right processing, service model establishment, and service logic management of the multicast group.
A media processing module 43, configured to, when the service processing module 42 requests a multicast address resource, return multicast address information corresponding to the multicast address resource to a terminal through a multicast network, where the terminal joins the multicast group according to the multicast address information. Specifically, the media processing module 43 manages multicast address resources, receives and processes media stream data storage, such as audio recording and video recording, and applies for and releases the multicast address resources according to the request of the service processing module 42. And according to the configured information of the multicast group, prefabricating and distributing a multicast address resource pool, and realizing a multiplexing mechanism of the multicast address resources.
Compared with the prior art that a POC system adopts a unicast mode to transmit information, the system has the advantages that one data copy must be sent to each receiver, multiple identical contents are repeatedly transmitted, the efficiency is low, and a large amount of network resources are occupied.
In some embodiments, the terminal access module 41 is further configured to, after the terminal joins the multicast group according to the multicast address information and obtains an application for the terminal to exit the multicast group through the multicast network, check the identifier number, and if the check is successful, delete the login application information of the terminal. In this embodiment, each terminal has a unique identification number, and a terminal corresponding to the identification number can be found according to the identification number, and the login application information of the terminal can be deleted if the identification number is successfully checked, i.e., the terminal corresponding to the identification number is found. Or if the heartbeat keep-alive time of the terminal is exceeded, the terminal access module 41 deletes the login application information of the terminal, and notifies the service processing module 42 that the terminal exits the multicast group. The heartbeat mechanism is a mechanism for regularly sending a self-defined structure body, namely a heartbeat packet, so that an opposite side knows that the opposite side is still online to ensure the effectiveness of connection. The heartbeat keep-alive time out can be caused by the reasons of network switching, network disconnection, poor network state and the like, that is, the terminal is disconnected from the terminal access module 41, and the terminal exits from the multicast group.
In some of these embodiments, after the service processing module 42 requests the multicast address resource from the media processing module 43 according to the group number of the multicast group,
the media processing module 43 reads the configuration information in the multicast network, initializes the multicast address resource pool according to the capacity of the multicast address resource and the initial multicast address included in the configuration information, and acquires an idle multicast address resource from the multicast address resource pool as the multicast address resource corresponding to the group number of the multicast group. When there is no terminal member in the multicast group, the media processing module 43 needs to acquire an idle multicast address resource as the multicast address resource of the multicast group, and if there is more than one terminal member in the multicast group, and other terminals need to join the multicast group, the terminal directly joins the multicast group according to the multicast address resource of the multicast group, and the media processing module 43 does not need to acquire an idle multicast address resource for the multicast group again.
In some embodiments, the service processing module 42 is further configured to start timing after the terminal joins the multicast group and after the multicast address resource application is successful, and request the media processing module 43 to release the multicast address resource if all terminals in the multicast group have no talk right application within a preset time period. The cyclic use of the multicast address resource is realized through the application and overtime release of the multicast address resource by the service processing module 42.
In some embodiments, if there is only one remaining terminal in the multicast group, the service processing module 42 actively kicks out the terminal in the multicast group, and requests the media processing module 43 to release the multicast address resource corresponding to the multicast group. Only one terminal is left in the multicast group, and the terminal does not send data receiving and sending operations, so that the multicast address resource corresponding to the multicast group is released, and the multicast address resource can be recycled.
Fig. 5 is a schematic frame diagram of a POC large-scale cluster distribution system based on multicast according to an embodiment of the present application, and as shown in fig. 5, a POC large-scale cluster distribution system based on multicast is described in detail below with reference to specific application scenarios:
multicast network: and supporting a multicast protocol and configuring finished routers and switch equipment (the number of the equipment can be customized according to the complexity of a network to be built).
The terminal access module 41: and receiving the access authentication of the terminal, and forwarding the terminal signaling to the service processing module 42 to complete the interaction of the functional service flow. The terminal carries a unique identification number and access authentication information, and authenticates and registers with the terminal access module 41, after the terminal access module 41 verifies that the authentication information is error-free, the terminal access module 41 stores the information as the current terminal according to the unique identification number of the terminal and stores the information as the terminal access node into a memory linked list, the unique identification number of the terminal, channel connection information and channel state information are stored in the node, the terminal and the terminal access module 41 maintain heartbeat keep-alive, and the terminal access module 41 informs the service processing module 42 that the terminal completes access login information. When the terminal logs off or the heartbeat keep alive time is out, the terminal access module 41 deletes the access node and notifies the service processing module 42 of the terminal log-off message.
The service processing module 42: and receiving the service request forwarded by the processing terminal access module 41, and processing the construction, destruction, switching, joining, exiting, authority management, speaking right processing, service model establishment and service logic management of the multicast group.
The media processing module 43: managing multicast address resources, receiving processed media stream data storage (audio recording, video recording), applying for and releasing multicast address resources according to the request of the service processing module 42. And according to the configured multicast group information, prefabricating and distributing a multicast address resource pool, and realizing a multiplexing mechanism of the multicast address resources.
A terminal: the connection system completes the interaction with the terminal access module 41 of the system through signaling, and completes the functional services of online state, multicast group joining, quitting, speaking right obtaining and the like. And the multicast address information of the multicast group is acquired through the interaction of the signaling layer, and the receiving and sending of the media stream are completed.
A multicast-based POC large-scale cluster distribution method comprises the following steps:
and (3) multicast network construction: the network equipment in the multicast network is configured with a proper mode to support multicast and data forwarding.
The multicast address resource pool is constructed: after the media processing module 43 in the POC system (running on the POC server) is started, it reads the configuration information, initializes the multicast address resource pool according to the capacity of the resource pool and the initial multicast address (this address configures a proper range according to the definition of the D-type IP in a user-defined manner), and implements the cyclic use of the multicast address resource through the dynamic application and timeout release mechanism of the service processing module 42 for the multicast address resource.
Terminal login and logout flow:
the terminal appoints the address and signaling port of the POC server, carries the unique identification number and login information of the current terminal, and sends login request signaling to the POC server.
The POC server's terminal access module 41 receives the terminal's log-in signaling, checks successfully, sends a response signaling to the terminal, and stores the terminal's identity information and state information, informs the service processing module 42 of the terminal's log-in information, and the service processing module 42 sends other terminals in the same multicast group, the terminal's log-in notification is completed, at this time, the terminal log-in is completed.
The terminal sends keep-alive heartbeat to the terminal access module 41 of the POC server at regular time, and maintains the terminal node and state in the terminal access module 41.
The terminal appoints the address and signaling port of the POC server, carries the unique identification number and login information of the current terminal, and sends a terminal logout request signaling to the POC server.
The POC server's terminal access module 41 receives the terminal logout request signaling, checks it successfully, sends a response signaling to the terminal, notifies the service processing module 42 of the logout information of the terminal, and the service processing module 42 clears the terminal information in the corresponding multicast group and sends other terminals in the same multicast group, the terminal offline notification. The terminal access module 41 clears the identity information and status information of the terminal, and the terminal logout is completed.
The terminal joins the multicast group:
the terminal carries the unique identification number and the specified group number, and sends a request for joining the multicast group to the terminal access module 41 of the POC server.
The POC server's terminal access module 41 receives the terminal join group signaling, checks the identity information of the current terminal, and sends a join group request signaling to the service processing module 42 after passing. The service processing module 42 stores the corresponding information of the terminal and the group. The carried group number requests a multicast address resource from the media processing module 43, the media processing module 43 acquires an idle multicast address resource from the multicast resource pool, carries relevant information to the service processing module 42 to respond to the message, after the service processing module 42 stores corresponding group information, carries multicast address relevant information to the terminal access module 41 to respond to the message, and the terminal access module 41 responds current multicast address information to the terminal. Meanwhile, the service processing module 42 notifies the other terminals in the same multicast group of the information that the terminal joins the multicast group.
And after receiving the response message, the terminal creates a socket handle for sending and receiving according to the multicast address information, and joins the current multicast group, namely the joining of the group is completed.
And the terminal sends the media stream to other terminals in the multicast group according to the sent and received socket handles and receives the media stream of other terminals in the multicast group.
Releasing a timing idle group:
after the multicast address resource application is successful, the service processing module 42 starts timing, and if there is no talk right application within one minute (the openable time is set as configuration file configuration), the service processing module releases the multicast address resource to the media processing module 43, thereby ensuring the cyclic use of the multicast address resource.
And (4) terminal exit group:
the terminal carries the unique identification number and the group number of the current multicast group, and sends a multicast group quitting request to the terminal access module 41 of the POC server.
The POC server's terminal access module 41 receives the terminal multicast group exit request signaling, checks the identity information of the current terminal, and forwards the multicast group exit request signaling to the service processing module 42 after passing. The service processing module 42 obtains the corresponding information of the terminal and the multicast group, deletes the information of the terminal in the multicast group, and returns a response of exiting the multicast group to the terminal access module 41.
When there is one member in the multicast group, or there is no active operation for a period of time in the multicast group, and the member is in a silent state, the service processing module 42 actively kicks out the terminal in the multicast group, and releases the multicast resource corresponding to the multicast group to the media processing module 43, so as to achieve the recycling of the multicast address resource and solve the problem of insufficient multicast resource pool by this mechanism.
And after receiving the response message, the terminal releases the resources according to the multicast address information and exits the current multicast. I.e. the exit group operation is complete.
It should be understood by those skilled in the art that various features of the above-described embodiments can be combined in any combination, and for the sake of brevity, all possible combinations of features in the above-described embodiments are not described in detail, but rather, all combinations of features which are not inconsistent with each other should be construed as being within the scope of the present disclosure.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (8)

1. A system for POC large-scale cluster distribution based on multicast is characterized in that the system comprises a terminal access module, a service processing module and a media processing module:
the terminal access module is used for acquiring login application information of a terminal through a multicast network, checking the login application information, and if the check is successful, saving the login application information of the terminal, wherein the login application information comprises: group number and identification number of the multicast group;
if the login is successful, the terminal access module acquires the application of the terminal for joining the multicast group and checks the identification number and the group number of the multicast group;
the service processing module is configured to, when the identification number and the group number of the multicast group are successfully checked, request a multicast address resource from the media processing module according to the group number of the multicast group, where the media processing module reads configuration information in the multicast network, initializes a multicast address resource pool according to a capacity of the multicast address resource and an initial multicast address included in the configuration information, and obtains an idle multicast address resource from the multicast address resource pool as the multicast address resource corresponding to the group number of the multicast group;
the media processing module is used for returning the multicast address information corresponding to the multicast address resource to the terminal through the multicast network when the service processing module requests the multicast address resource, and the terminal joins the multicast group according to the multicast address information.
2. The system according to claim 1, wherein the terminal access module is further configured to, after the terminal joins the multicast group according to the multicast address information and obtains a request for the terminal to exit the multicast group through the multicast network, check the identification number, and if the check is successful, delete the login application information;
or if the heartbeat keep-alive of the terminal is overtime, the terminal access module deletes the login application information and informs the service processing module that the terminal exits the multicast group.
3. The system according to any one of claims 1 to 2, wherein the service processing module is further configured to start timing after the terminal joins the multicast group and after the multicast address resource application is successful, and request the media processing module to release the multicast address resource if all terminals in the multicast group have no talk right application within a preset time period.
4. The system according to claim 3, wherein if there is only one remaining terminal in the multicast group, the service processing module actively kicks out the terminal in the multicast group, and requests the media processing module to release the multicast address resource corresponding to the multicast group.
5. A method for multicast-based POC large-scale cluster distribution, the method comprising:
the POC system acquires login application information of a terminal through a multicast network, checks the login application information, and if the check is successful, the POC system stores the login application information of the terminal, wherein the login application information comprises: group number and identification number of the multicast group;
if the login is successful, the POC system acquires the application of the terminal to join the multicast group and checks the identification number and the group number of the multicast group;
if the check is successful, the POC system requests multicast address resources according to the group number of the multicast group, wherein the POC system reads configuration information in the multicast network, initializes a multicast address resource pool according to the capacity of the multicast address resources and an initial multicast address contained in the configuration information, and acquires idle multicast address resources from the multicast address resource pool as the multicast address resources corresponding to the group number of the multicast group;
and returning the multicast address information corresponding to the multicast address resource to the terminal through the multicast network, and adding the terminal into the multicast group according to the multicast address information.
6. The method according to claim 5, wherein after the terminal joins the multicast group according to the multicast address information, the method further comprises: the POC system checks the identification number after acquiring the application of the terminal to quit the multicast group through the multicast network, and deletes the login application information if the check is successful;
or if the heartbeat keep-alive time of the terminal is overtime, the POC system deletes the login application information, and the terminal quits the multicast group.
7. The method according to any of claims 5 to 6, wherein after the terminal joins the multicast group, the method comprises: and after the multicast address resource application is successful, timing is started, and all terminals in the multicast group have no speaking right application in a preset time period, and the multicast address resource is released.
8. The method of claim 7, wherein releasing the multicast address resources further comprises: and if only one terminal remains in the multicast group, the POC system actively kicks out the terminal in the multicast group and releases the multicast address resource corresponding to the multicast group.
CN202010864774.4A 2020-08-25 2020-08-25 Multicast-based POC (Point of sale) large-scale cluster distribution method and system Active CN112187715B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010864774.4A CN112187715B (en) 2020-08-25 2020-08-25 Multicast-based POC (Point of sale) large-scale cluster distribution method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010864774.4A CN112187715B (en) 2020-08-25 2020-08-25 Multicast-based POC (Point of sale) large-scale cluster distribution method and system

Publications (2)

Publication Number Publication Date
CN112187715A CN112187715A (en) 2021-01-05
CN112187715B true CN112187715B (en) 2022-09-30

Family

ID=73924355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010864774.4A Active CN112187715B (en) 2020-08-25 2020-08-25 Multicast-based POC (Point of sale) large-scale cluster distribution method and system

Country Status (1)

Country Link
CN (1) CN112187715B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852490A (en) * 2005-09-06 2006-10-25 华为技术有限公司 Method and system for group calling business
JP2009212777A (en) * 2008-03-04 2009-09-17 Mitsubishi Electric Corp Group communication server, communication terminal, and communication system
CN101621747A (en) * 2009-08-12 2010-01-06 广州海格通信集团股份有限公司 Reliable multicast transmission method of wireless mesh network
CN101702672A (en) * 2009-11-04 2010-05-05 华为技术有限公司 Forwarding method and forwarding device for multicast data message

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10750327B2 (en) * 2004-11-23 2020-08-18 Kodiak Networks Inc Method for multiplexing media streams to optimize network resource usage for push-to-talk-over-cellular service
CN101453696B (en) * 2007-11-30 2012-04-25 华为技术有限公司 Establishment method, system and apparatus for broadcast and multicast bearing
CN108471440B (en) * 2018-03-15 2021-04-30 广东聚光电子科技有限公司 Digital talkback method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852490A (en) * 2005-09-06 2006-10-25 华为技术有限公司 Method and system for group calling business
JP2009212777A (en) * 2008-03-04 2009-09-17 Mitsubishi Electric Corp Group communication server, communication terminal, and communication system
CN101621747A (en) * 2009-08-12 2010-01-06 广州海格通信集团股份有限公司 Reliable multicast transmission method of wireless mesh network
CN101702672A (en) * 2009-11-04 2010-05-05 华为技术有限公司 Forwarding method and forwarding device for multicast data message

Also Published As

Publication number Publication date
CN112187715A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
KR101033057B1 (en) Method and apparatus for establishing multicast groups
EP0980608B1 (en) Multicast switching
US8880719B2 (en) Method and system for multicast delivery of multimedia content on demand
KR100951026B1 (en) System and method for distributing voip data packets in group communications among wireless telecommunication devices
US8249038B2 (en) Method, program, and system for implementing centralized control plane and distributed data plane
US20210021667A1 (en) Method for managing communication in mission critical data (mcdata) communication system
CN109981308B (en) Message transmission method and device
CN101218777A (en) Method and system for multicasting data in a communication network
US8868658B2 (en) Client assisted multicasting for audio and video streams
US11337040B2 (en) Broadcast bearer management method and device thereof
CN102075422A (en) Multicast management method and two-layer equipment
CN109391551B (en) Multi-port multicast method, equipment and computer readable storage medium
CN105764034A (en) Group calling downlink data packet transmission method and system and equipment
CN112187715B (en) Multicast-based POC (Point of sale) large-scale cluster distribution method and system
WO2017132971A1 (en) Group call service processing method and system, and core network device
CN111327534B (en) Cross-domain unicast-to-multicast transmission method and device
WO2017132972A1 (en) Group call downlink data packet transmission method, system and device
CN101568068A (en) Broadcasting/multicasting method and broadcasting/multicasting equipment
JP4974929B2 (en) Communication device
KR100555702B1 (en) Mobile station subscriber management method for IMT-2000 multicast service
Kang et al. FTTH-Enhanced Mini-System m TBCP-Based Overlay Construction and Evaluation
KR20150049688A (en) Terminal device for broadcasting and communication and method for processing packet thereof
KR100776791B1 (en) System and method for providing many-to-many communication service
KR20050071799A (en) A packet transport method of multi-point conferencing systems
Nugraha et al. Multicast communication for video broadcasting service over IPv4 network using IP option

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