CN107749851B - Gateway multiplexing method, device and system - Google Patents

Gateway multiplexing method, device and system Download PDF

Info

Publication number
CN107749851B
CN107749851B CN201711005247.2A CN201711005247A CN107749851B CN 107749851 B CN107749851 B CN 107749851B CN 201711005247 A CN201711005247 A CN 201711005247A CN 107749851 B CN107749851 B CN 107749851B
Authority
CN
China
Prior art keywords
receiving end
target object
connection
data stream
multimedia data
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
CN201711005247.2A
Other languages
Chinese (zh)
Other versions
CN107749851A (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.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics 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 Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN201711005247.2A priority Critical patent/CN107749851B/en
Publication of CN107749851A publication Critical patent/CN107749851A/en
Application granted granted Critical
Publication of CN107749851B publication Critical patent/CN107749851B/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/10Architectures or entities
    • H04L65/102Gateways
    • 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

Abstract

The invention discloses a gateway multiplexing method, a device and a system. Wherein, the method comprises the following steps: receiving a connection request sent by at least one receiving end; judging whether the target objects of the connection requests sent by each receiving end are the same or not; and if the judgment result is yes, forwarding the multimedia data stream of the target object to at least one receiving end. The invention solves the technical problem of bandwidth waste in the process of real-time transmission of multimedia contents in the prior art.

Description

Gateway multiplexing method, device and system
Technical Field
The present invention relates to the field of communication technology application, and in particular, to a method, an apparatus, and a system for gateway multiplexing.
Background
In the internet's numerous media applications, broadcast-type real-time one-way media is an important part of the content. Such as scenes of a live conference, video teaching, etc. In these scenarios, there is a scenario where one media sending end simultaneously sends multiple receiving ends. Under the condition, the data of the media source often has a plurality of messages in the network at the same time, which is a great waste to the network bandwidth, and the network congestion also has negative influence on the user experience of the receiving end.
There are currently several common solutions to this type of problem:
the method is realized by using an Internet Protocol (IP) multicast mode. But this approach requires that all routing devices and terminals in the network media forwarding path need to support the protocol. Therefore, the method is not widely applied to the Internet.
A Content Delivery Network (CDN) is used. This approach is suitable for static media content and is not effective for real-time broadcast media content.
In view of the above problem of bandwidth waste in the prior art when multimedia content is transmitted in real time, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a gateway multiplexing method, a gateway multiplexing device and a gateway multiplexing system, which at least solve the technical problem of bandwidth waste in the process of real-time transmission of multimedia contents in the prior art.
According to an aspect of the embodiments of the present invention, there is provided a gateway multiplexing method, including: receiving a connection request sent by at least one receiving end; judging whether the target objects of the connection requests sent by each receiving end are the same or not; and if the judgment result is yes, forwarding the multimedia data stream of the target object to at least one receiving end.
Optionally, the receiving the connection request sent by the at least one receiving end includes: judging whether a receiving end sending the connection request is a first terminal initiating connection to a target object or not; if the judgment result is yes, establishing connection with the target object according to the connection response fed back by the target object; and returning a connection response to the at least one receiving end under the condition that the judgment result is negative, wherein the connection response is used for indicating that the connection established between the at least one receiving end and the target object is successful.
Further, optionally, forwarding the multimedia data stream of the target object to at least one receiving end includes: receiving a multimedia data stream sent by a target object; the multimedia data stream is forwarded to at least one receiving end.
Optionally, the method further includes: receiving a connection release request sent by at least one receiving end; judging whether a receiving end sending the connection release request is the last terminal or not; under the condition that the judgment result is negative, releasing the connection between the receiving end and the target object; and if so, releasing the connection between the receiving end and the target object, and sending a multimedia data stream sending stopping request to the target object so that the target object stops sending the multimedia data stream according to the multimedia data stream sending stopping request.
According to another aspect of the embodiments of the present invention, there is also provided a gateway multiplexing apparatus, including: the receiving module is used for receiving a connection request sent by at least one receiving end; the judging module is used for judging whether the target objects of the connection requests sent by each receiving end are the same or not; and the forwarding module is used for forwarding the multimedia data stream of the target object to at least one receiving end under the condition that the judgment result is yes.
Optionally, the receiving module includes: a judging unit, configured to judge whether a receiving end that sends a connection request is a first terminal that initiates a connection to a target object; the first connection establishing unit is used for establishing connection with the target object according to the connection response fed back by the target object under the condition that the judgment result is yes; and the second connection establishing unit is used for returning a connection response to the at least one receiving end under the condition that the judgment result is negative, wherein the connection response is used for indicating that the connection established between the at least one receiving end and the target object is successful.
Optionally, the apparatus further comprises: a request receiving module, configured to receive a connection release request sent by at least one receiving end; a connection release judging module, configured to judge whether a receiving end that sends a connection release request is a last terminal; the first connection releasing module is used for releasing the connection between the receiving end and the target object under the condition that the judgment result is negative; and the second connection releasing module is used for releasing the connection between the receiving end and the target object and sending a multimedia data stream sending stopping request to the target object under the condition that the judgment result is yes, so that the target object stops sending the multimedia data stream according to the multimedia data stream sending stopping request.
According to another aspect of the embodiments of the present invention, there is also provided a gateway multiplexing system, including: the system comprises at least one receiving end, gateway equipment and a target object, wherein the target object is used for transmitting a multimedia data stream; the gateway equipment is respectively connected with the target object and at least one receiving end and is used for forwarding the multimedia data stream sent by the target object to each receiving end under the condition that each receiving end is connected with the target object; and the receiving end is connected with the gateway equipment and used for receiving the multimedia data stream transmitted by the target object forwarded by the gateway equipment.
Optionally, the gateway device is further configured to determine, when receiving a connection release request sent by at least one receiving end, whether the receiving end that sends the connection release request is the last terminal; under the condition that the judgment result is negative, releasing the connection between the receiving end and the target object; and if so, releasing the connection between the receiving end and the target object, and sending a multimedia data stream sending stopping request to the target object so that the target object stops sending the multimedia data stream according to the multimedia data stream sending stopping request.
Optionally, at least one receiving end and the gateway device are located in the same local area network.
According to an aspect of another embodiment of the present application, there is also provided a storage medium, where the storage medium includes a stored program, and when the program runs, a device in which the storage medium is located is controlled to execute the above gateway multiplexing method.
According to an aspect of another embodiment of the present application, there is also provided a processor, where the processor is configured to execute a program, where the program executes the method for gateway multiplexing.
In the embodiment of the invention, the connection request sent by at least one receiving end is received; judging whether the target objects of the connection requests sent by each receiving end are the same or not; and if the judgment result is yes, forwarding the multimedia data stream of the target object to at least one receiving end, so as to achieve the purpose of performing function multiplexing by the gateway equipment through real-time unidirectional multimedia transmission, thereby achieving the technical effect of saving the outlet bandwidth of the data source end, and further solving the technical problem of bandwidth waste in the process of real-time multimedia content transmission in the prior art.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flow chart illustrating a method of gateway multiplexing according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a network structure in a gateway multiplexing method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of interaction between a receiving end, a gateway device and a target object in a gateway multiplexing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a gateway multiplexing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided a method embodiment of gateway multiplexing, it being noted that the steps illustrated in the flowchart of the figure 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 flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a schematic flowchart of a gateway multiplexing method according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step S102, receiving a connection request sent by at least one receiving end;
step S104, judging whether the target objects of the connection requests sent by each receiving end are the same;
and step S106, forwarding the multimedia data stream of the target object to at least one receiving end under the condition that the judgment result is yes.
Specifically, in combination with steps S102 to S106, at the gateway device side, in the gateway device multiplexing method provided by the present application, the gateway device receives a connection request sent by at least one receiving end, and by determining whether a target object in the connection request of each receiving end is the same, if the determination result is yes, the gateway device directly feeds back acknowledgement response information to the receiving ends to indicate that each receiving end has connected to the target object, and at this time, the multimedia data stream sent by the target object is respectively sent to each receiving end.
For example, in a teaching scenario, the receiving end may be at least one PC computer, the target object may be a server storing a multimedia file with a communication function, and assuming that there are 10 computers, which are respectively denoted as computer 1, computer 2, computer 3, … …, and computer 10, the gateway device and the 10 computers are located in the same lan, when all the 10 computers need to access the server a, the gateway device uniformly returns a confirmation response message to each computer to indicate that each computer is connected to the server a, at this time, when the server a sends the multimedia file, it is not necessary to send the 10 computers one by one, the server a only needs to send one multimedia file, the gateway device sends the multimedia file to the 10 computers, thereby implementing the multiplexing function of the gateway device, saving signaling resources of the server a and link resources of the entire communication link, the pressure on the transmission bandwidth is reduced.
It should be noted that the foregoing examples of the present application are only used for illustrating the method for multiplexing the gateway provided by the present application, and the method for multiplexing the gateway provided by the present application is not limited specifically.
The gateway multiplexing method provided by the application provides multiplexing gateway equipment of real-time unidirectional media, and the access requests of a plurality of receiving terminals to the same media source in a service domain (generally in a Local Area Network (LAN) for short) are single access requests, so that the aim of multiplexing media channels is fulfilled. Further, signaling resources of media sources sequentially feeding back responses are saved, and the problem of bandwidth waste is avoided, specifically as shown in fig. 2, fig. 2 is a schematic diagram of a network structure in a gateway multiplexing method according to an embodiment of the present invention.
As shown in fig. 2, there are a source end and a plurality of sink ends in the wan. The receiving end and the gateway are in the same local area network. The source sends real-time unidirectional media. The gateway establishes a connection with a remote end via a protocol (e.g., the SIP protocol), receives media, and distributes the media to a plurality of receivers within the local area network.
In addition, if the determination result is negative, the connection request sent by the receiving end is forwarded to the corresponding target object.
In the embodiment of the invention, the connection request sent by at least one receiving end is received; judging whether the target objects of the connection requests sent by each receiving end are the same or not; and if the judgment result is yes, forwarding the multimedia data stream of the target object to at least one receiving end, so as to achieve the purpose of performing function multiplexing by the gateway equipment through real-time unidirectional multimedia transmission, thereby achieving the technical effect of saving the outlet bandwidth of the data source end, and further solving the technical problem of bandwidth waste in the process of real-time multimedia content transmission in the prior art.
Optionally, the step S102 of receiving the connection request sent by the at least one receiving end includes:
step1, judging whether the receiving end sending the connection request is the first terminal initiating the connection to the target object;
step2, if the judgment result is yes, establishing connection with the target object according to the connection response fed back by the target object;
and Step3, returning a connection response to the at least one receiving end if the judgment result is negative, wherein the connection response is used for indicating that the connection established between the at least one receiving end and the target object is successful.
Specifically, it should be noted that, in the process of connecting the receiving end with the target object, when the receiving end is the first terminal that sends the connection request to the target object, after receiving the connection request, the gateway device determines that the connection with the target object does not exist currently, and therefore, initiates the connection request to the target object. After the target object agrees with the connection request, the connection between the gateway device and the target object is successfully established. And the gateway equipment agrees with the connection request of the receiving end, and the connection between the receiving end and the gateway equipment is successfully established.
It should be noted that, after the first receiving end establishes a connection with the target object, the gateway device may reserve the communication link between the gateway device and the target object this time, and after the receiving end that also needs to be connected to the target object subsequently sends the connection request, the gateway device directly returns a connection response to the receiving end that subsequently sends the connection request.
Further, optionally, the forwarding the multimedia data stream of the target object to at least one receiving end in step S106 includes:
step1, receiving the multimedia data stream sent by the target object;
step2, forwarding the multimedia data stream to at least one receiving end.
Specifically, based on the foregoing, in the process of forwarding the multimedia data stream by the gateway device, the multimedia data stream file may be forwarded to each receiving end connected to the target object by receiving one multimedia data stream file sent by the target object.
Optionally, the gateway multiplexing method provided by the present application further includes:
step S107, receiving a connection release request sent by at least one receiving end;
step S108, judging whether the receiving end sending the connection release request is the last terminal;
step S109, releasing the connection between the receiving end and the target object under the condition that the judgment result is negative;
step S110, if the determination result is yes, releasing the connection between the receiving end and the target object, and sending a multimedia data stream stop sending request to the target object, so that the target object stops sending the multimedia data stream according to the multimedia data stream stop sending request.
Specifically, with reference to steps S107 to S110, the gateway multiplexing method provided in the present application specifically includes the following steps in the process of releasing link resources:
s1, when there is a receiving end not wanting to connect the target object, the receiving end initiates a connection releasing request to the gateway device;
s2, if the gateway device finds that other receiving terminals besides the receiving terminal multiplex the connection of the same target object, the gateway device directly agrees to the request, and does not forward the media stream sent by the target object to the receiving terminal any more;
s3, if the other receiving terminals do not want to connect to the target object, the other receiving terminals respectively initiate a connection release request (i.e., a connection release request provided by the present application) to the gateway device;
s4, if the gateway device finds that there is no connection between the receiving end and the target object besides these other receiving ends, the gateway device directly approves the connection releasing request and simultaneously initiates a connection releasing request to the target object.
And S5, the target object agrees to the connection release request and does not send the multimedia data stream to the gateway equipment any more.
Therefore, the access requests of a plurality of receiving terminals in the service domain to the same media source in the network are single access requests through the multiplexing gateway equipment of the real-time unidirectional media, and the purpose of multiplexing the media channels is achieved.
In summary, with reference to steps S102 to S110, fig. 3 is a schematic interaction diagram between a receiving end, a gateway device, and a target object in a gateway multiplexing method according to an embodiment of the present invention, and as shown in fig. 3, the gateway multiplexing method provided in the present application specifically includes:
here, in the gateway multiplexing method provided by the present application shown in fig. 3, two receivers are taken as an example for description, where the receivers are respectively labeled as R1 and R2, the gateway device is simply referred to as a gateway, and the target object is labeled as a source end S:
s1, the R1 initiates a connection request to a gateway to connect a source end S;
s2, the gateway receives the request, finds that the connection with the S does not exist at present, and therefore initiates a connection request to the S;
s3.S agrees to the request, and the connection between the gateway and the S is successfully established;
and S4, the gateway agrees with the connection request of the R1, and the connection between the R1 and the gateway is successfully established. The gateway forwards the media stream sent by the S to R1;
s5, the R2 initiates a connection request to the gateway to connect the source end S;
s6. the gateway finds that a connection already exists with S and therefore grants the request of R2 directly. Meanwhile, the gateway forwards the media stream sent by the S to R1 and R2;
s7, R1 does not want to connect S, so a connection releasing request is sent to the gateway;
s8, the gateway finds that other receiving ends multiplex connection with the S besides R1, so that the request is directly agreed, and the media stream sent by the S is not forwarded to R1;
s9.R2 does not want to connect S, therefore, initiates a connection release request to the gateway;
s10, the gateway finds that the connection is the last connection with the S, so the gateway directly agrees to the request and simultaneously initiates a connection release request to the S;
s11.s agrees to the request and no more media is sent to the gateway.
The gateway multiplexing method provided by the application introduces a multiplexing gateway of real-time unidirectional media. The gateway makes access requests of a plurality of receiving terminals to the same media source in a service domain (generally in a Local Area Network (LAN) for short) into a single access request, thereby achieving the purpose of multiplexing media channels. Therefore, the exit bandwidth is saved, the user experience is optimized, and no special requirement is required on network equipment only through an application layer protocol. And has no special requirements for the media service provider.
Example 2
Fig. 4 is a schematic structural diagram of a gateway multiplexing apparatus according to an embodiment of the present invention, and as shown in fig. 4, the apparatus includes:
a receiving module 42, configured to receive a connection request sent by at least one receiving end; a judging module 44, configured to judge whether target objects of the connection requests sent by each receiving end are the same; and a forwarding module 46, configured to forward the multimedia data stream of the target object to at least one receiving end if the determination result is yes.
In the embodiment of the invention, the connection request sent by at least one receiving end is received; judging whether the target objects of the connection requests sent by each receiving end are the same or not; and if the judgment result is yes, forwarding the multimedia data stream of the target object to at least one receiving end, so as to achieve the purpose of performing function multiplexing by the gateway equipment through real-time unidirectional multimedia transmission, thereby achieving the technical effect of saving the outlet bandwidth of the data source end, and further solving the technical problem of bandwidth waste in the process of real-time multimedia content transmission in the prior art.
Optionally, the receiving module 42 includes: a judging unit, configured to judge whether a receiving end that sends a connection request is a first terminal that initiates a connection to a target object; the first connection establishing unit is used for establishing connection with the target object according to the connection response fed back by the target object under the condition that the judgment result is yes; and the second connection establishing unit is used for returning a connection response to the at least one receiving end under the condition that the judgment result is negative, wherein the connection response is used for indicating that the connection established between the at least one receiving end and the target object is successful.
Optionally, the apparatus further comprises: a request receiving module, configured to receive a connection release request sent by at least one receiving end; a connection release judging module, configured to judge whether a receiving end that sends a connection release request is a last terminal; the first connection releasing module is used for releasing the connection between the receiving end and the target object under the condition that the judgment result is negative; and the second connection releasing module is used for releasing the connection between the receiving end and the target object and sending a multimedia data stream sending stopping request to the target object under the condition that the judgment result is yes, so that the target object stops sending the multimedia data stream according to the multimedia data stream sending stopping request.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided a gateway multiplexing system, including: the system comprises at least one receiving end, gateway equipment and a target object, wherein the target object is used for transmitting a multimedia data stream; the gateway equipment is respectively connected with the target object and at least one receiving end and is used for forwarding the multimedia data stream sent by the target object to each receiving end under the condition that each receiving end is connected with the target object; and the receiving end is connected with the gateway equipment and used for receiving the multimedia data stream transmitted by the target object forwarded by the gateway equipment.
Optionally, the gateway device is further configured to determine, when receiving a connection release request sent by at least one receiving end, whether the receiving end that sends the connection release request is the last terminal; under the condition that the judgment result is negative, releasing the connection between the receiving end and the target object; and if so, releasing the connection between the receiving end and the target object, and sending a multimedia data stream sending stopping request to the target object so that the target object stops sending the multimedia data stream according to the multimedia data stream sending stopping request.
Optionally, at least one receiving end and the gateway device are located in the same local area network.
Specifically, a network structure diagram of a gateway multiplexing system through which the present application passes is shown in fig. 2 in embodiment 1.
Example 4
According to an aspect of another embodiment of the present application, there is further provided a storage medium, where the storage medium includes a stored program, and when the program runs, the apparatus where the storage medium is located is controlled to execute the method for multiplexing the gateway in embodiment 1.
Example 5
According to an aspect of another embodiment of the present application, there is further provided a processor, where the processor is configured to execute a program, where the program executes the method for multiplexing gateways in embodiment 1.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (6)

1. A method for gateway multiplexing, comprising:
receiving a connection request sent by at least one receiving end;
judging whether the target objects of the connection requests sent by each receiving end are the same or not;
if the judgment result is yes, forwarding the multimedia data stream of the target object to the at least one receiving end;
before forwarding the multimedia data stream of the target object to the at least one receiving end, receiving the multimedia data stream sent by the target object; the at least one receiving end and the gateway equipment are positioned in the same local area network;
the method further comprises the following steps: receiving a connection release request sent by at least one receiving end; judging whether a receiving end sending the connection release request is the last terminal or not; under the condition that the judgment result is negative, releasing the connection between the receiving end and the target object; and if so, releasing the connection between the receiving end and the target object, and sending a multimedia data stream sending stopping request to the target object, so that the target object stops sending the multimedia data stream according to the multimedia data stream sending stopping request.
2. The method of claim 1, wherein the receiving the connection request sent by at least one receiving end comprises:
judging whether a receiving end sending the connection request is a first terminal initiating connection to the target object or not;
if so, establishing connection with the target object according to the connection response fed back by the target object;
and returning a connection response to the at least one receiving end under the condition that the judgment result is negative, wherein the connection response is used for indicating that the connection established between the at least one receiving end and the target object is successful.
3. The method according to claim 1 or 2, wherein said forwarding the multimedia data stream of the target object to the at least one receiving end comprises:
and forwarding the multimedia data stream to the at least one receiving end.
4. An apparatus for gateway multiplexing, comprising:
the receiving module is used for receiving a connection request sent by at least one receiving end;
the judging module is used for judging whether the target objects of the connection requests sent by each receiving end are the same or not;
a forwarding module, configured to forward the multimedia data stream of the target object to the at least one receiving end if the determination result is yes;
before forwarding the multimedia data stream of the target object to the at least one receiving end, receiving the multimedia data stream sent by the target object; the at least one receiving end and the gateway equipment are positioned in the same local area network;
the device further comprises: a request receiving module, configured to receive a connection release request sent by at least one receiving end; a connection release judging module, configured to judge whether a receiving end that sends the connection release request is a last terminal; the first connection releasing module is used for releasing the connection between the receiving end and the target object under the condition that the judgment result is negative; and the second connection releasing module is used for releasing the connection between the receiving end and the target object and sending a multimedia data stream sending stopping request to the target object under the condition that the judgment result is yes, so that the target object stops sending the multimedia data stream according to the multimedia data stream sending stopping request.
5. The apparatus of claim 4, wherein the receiving module comprises:
a judging unit, configured to judge whether a receiving end that sends the connection request is a first terminal that initiates a connection to the target object;
the first connection establishing unit is used for establishing connection with the target object according to the connection response fed back by the target object under the condition that the judgment result is yes;
and a second connection establishing unit, configured to return a connection response to the at least one receiving end if the determination result is negative, where the connection response is used to indicate that the connection established between the at least one receiving end and the target object is successful.
6. A system for gateway multiplexing, comprising:
at least one receiving end, a gateway device, and a target object, wherein,
the target object is used for transmitting a multimedia data stream;
the gateway device is respectively connected with the target object and the at least one receiving end, and is used for forwarding the multimedia data stream sent by the target object to each receiving end under the condition that each receiving end is connected with the target object;
the at least one receiving end is connected with the gateway device and used for receiving the multimedia data stream transmitted by the target object forwarded by the gateway device;
before forwarding the multimedia data stream of the target object to the at least one receiving end, receiving the multimedia data stream sent by the target object; the at least one receiving end and the gateway equipment are positioned in the same local area network;
the gateway device is further configured to determine whether a receiving end that sends the connection release request is a last terminal, when receiving the connection release request sent by at least one receiving end; under the condition that the judgment result is negative, releasing the connection between the receiving end and the target object; and if so, releasing the connection between the receiving end and the target object, and sending a multimedia data stream sending stopping request to the target object, so that the target object stops sending the multimedia data stream according to the multimedia data stream sending stopping request.
CN201711005247.2A 2017-10-24 2017-10-24 Gateway multiplexing method, device and system Active CN107749851B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711005247.2A CN107749851B (en) 2017-10-24 2017-10-24 Gateway multiplexing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711005247.2A CN107749851B (en) 2017-10-24 2017-10-24 Gateway multiplexing method, device and system

Publications (2)

Publication Number Publication Date
CN107749851A CN107749851A (en) 2018-03-02
CN107749851B true CN107749851B (en) 2021-01-05

Family

ID=61254099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711005247.2A Active CN107749851B (en) 2017-10-24 2017-10-24 Gateway multiplexing method, device and system

Country Status (1)

Country Link
CN (1) CN107749851B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8121071B2 (en) * 2005-11-10 2012-02-21 Sierra Wireless America, Inc. Gateway network multiplexing
US8155109B2 (en) * 2006-04-04 2012-04-10 Telecommunication Systems, Inc. SS7 ISUP to SIP based call signaling conversion gateway for wireless VoIP E911
CN101072141B (en) * 2006-05-09 2010-12-15 杭州华三通信技术有限公司 Ethernet accessing converting device, multiplexing gateway device and accessing converting method
CN101309237B (en) * 2008-06-30 2011-04-20 中兴通讯股份有限公司 Home gateway, system and method for remotely sharing multimedia data
CN102307295B (en) * 2011-03-15 2013-10-30 陈建国 Remote video monitoring system and method based on public switched telephone network-Internet protocol (PSTN-IP) double-network cooperation
CN102833817B (en) * 2012-09-05 2015-03-11 中国联合网络通信集团有限公司 Network access method and system based on home gateway and home gateway
CN104243540B (en) * 2013-06-21 2018-07-10 伊姆西公司 Data transferring method and equipment

Also Published As

Publication number Publication date
CN107749851A (en) 2018-03-02

Similar Documents

Publication Publication Date Title
CN106685971B (en) Client connects wheat live streaming treating method and apparatus
US9191220B2 (en) Method, device and system for transmitting a push message
CN112738140B (en) Video stream transmission method, device, storage medium and equipment based on WebRTC
KR101612819B1 (en) Method and apparatus for processing SOME/IP stream interworking AVB technology
CN109995741B (en) Method and system for realizing wheat connection in network live broadcast
EP2675134B1 (en) Method for transmitting data from a participant device in a session in an internet protocol (IP) system
CN109068186B (en) Method and device for processing packet loss rate
US10027496B2 (en) Method for distributing identifiers of multicast sources
CN109067578B (en) Method and device for multicast fast switching
EP2209312A1 (en) Video conference method and system, application server and media resource server
US20190199666A1 (en) Method for managing short data service (sds) in mission critical data (mc data) communication system
CN110417877B (en) Audio and video service processing method and device
WO2016065917A1 (en) Video conference system communication method and corresponding device
CN112788053A (en) Real-time communication method, device, server, system and storage medium
WO2018121584A1 (en) Data stream transmission method, apparatus, related devices and storage medium
CN111614927A (en) Video session establishment method, device, electronic equipment and storage medium
US9178941B2 (en) Method and apparatus for requesting media replication in a collaborative communication session, and method and apparatus for assigning a communication medium for a collaborative communication session
CN107749851B (en) Gateway multiplexing method, device and system
CN104518988A (en) Method and system for priority processing of messages
CN101309154B (en) Datagram sending method, sending apparatus and transmission system
EP1936876A1 (en) Method and system for ensuring data exchange between a server system and a client system
CN110474781B (en) Method and device for forwarding multicast data
CN100388781C (en) Conference delay method
CN110177244B (en) Method and system for polling conference terminal
CN109194896B (en) Calling method and system for video networking terminal

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
CB03 Change of inventor or designer information

Inventor after: Tang Chunping

Inventor after: Zhong Anbiao

Inventor after: Zhong Yanpei

Inventor before: Tang Chunping

Inventor before: Zhong Yanpei

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant