CN106412484B - Method and device for realizing smooth switching of audio and video conference - Google Patents

Method and device for realizing smooth switching of audio and video conference Download PDF

Info

Publication number
CN106412484B
CN106412484B CN201510465770.8A CN201510465770A CN106412484B CN 106412484 B CN106412484 B CN 106412484B CN 201510465770 A CN201510465770 A CN 201510465770A CN 106412484 B CN106412484 B CN 106412484B
Authority
CN
China
Prior art keywords
terminal
media data
control center
conference
conference control
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
CN201510465770.8A
Other languages
Chinese (zh)
Other versions
CN106412484A (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.)
Hytera Communications Corp Ltd
Original Assignee
Hytera Communications Corp 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 Hytera Communications Corp Ltd filed Critical Hytera Communications Corp Ltd
Priority to CN201510465770.8A priority Critical patent/CN106412484B/en
Publication of CN106412484A publication Critical patent/CN106412484A/en
Application granted granted Critical
Publication of CN106412484B publication Critical patent/CN106412484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for realizing smooth switching of an audio and video conference, which is used for solving the problems of word loss of the audio and video conference and voice interruption caused by repeated on-line and off-line of a terminal under the condition of low network quality, and is applied to a conference control center, and the method comprises the following steps: receiving a conference establishment request sent by a first cluster terminal, and informing a second cluster terminal to establish connection with a conference control center according to the conference establishment request; caching media data packets sent by a first cluster terminal according to a receiving sequence; and after the preset caching number of the media data packets is reached, sending the cached media data packets to the second cluster terminal one by one according to the receiving sequence. The invention discloses a device for realizing smooth switching of an audio and video conference.

Description

Method and device for realizing smooth switching of audio and video conference
Technical Field
The invention relates to the technical field of communication, in particular to a method and a device for realizing smooth switching of an audio and video conference.
Background
In the field of private network communication, a user can access a conference control center through a private network communication network to perform a remote audio/video conference by using a cluster terminal capable of recording and playing voice or video.
In the existing audio/video multimedia conference control technology, when media data exchange is performed, after a certain participant of a conference stores a voice data packet with a specified duration, for example, 30 milliseconds, the voice data packet is sent to a network, and a conference control center can immediately forward the voice data packet to another participant of the conference, so as to avoid voice delay; in addition, the existing audio and video multimedia conference control technology generally adopts two states of online and offline when managing the connection state of conference participants, and directly switches the state records of a certain conference participant after a conference control center detects that the conference participant is offline.
However, current wireless network environments are different, network quality often does not reach higher Qos (quality of Service), when a certain participant or some participants in an audio/video conference use a network with poor quality to access the conference, when the conference may start, if a few conference participants do not access the conference, the voice of a conference owner cannot be received, that is, a word loss phenomenon occurs; in addition, the conference participants directly quit the conference after the network is disconnected, the network needs to be accessed into the conference again after the network is recovered, when the network condition is unstable, the received voice is interrupted due to repeated on-line and off-line, and the two points can cause the technical problem of poor quality of the audio and video conference.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for implementing smooth switching of an audio/video conference, so as to solve the problem in the prior art that a word loss phenomenon of the audio/video conference occurs under a low network quality condition, and a voice interruption problem is caused by a terminal repeatedly going on and off a line.
In order to solve the above problems, the technical scheme provided by the invention is as follows:
a method for realizing smooth switching of audio and video conferences is applied to a conference control center and comprises the following steps:
receiving a conference establishment request sent by a first cluster terminal, and notifying a second cluster terminal to establish connection with the conference control center according to the conference establishment request;
caching the media data packets sent by the first cluster terminal according to a receiving sequence;
and after the preset caching number of the media data packets is reached, sending the cached media data packets to the second cluster terminal one by one according to the receiving sequence.
Correspondingly, the preset caching number of the media data packets is determined according to the time for establishing the connection between the second cluster terminal and the conference control center.
Correspondingly, the method further comprises the following steps:
detecting the connection state of the second cluster terminal and the conference control center;
when detecting that the connection state of the second cluster terminal and the conference control center is changed from a connection state to a disconnection state, marking the second cluster terminal as a pseudo online terminal;
continuing to cache the received media data packets for the pseudo online terminal according to the receiving sequence;
and when detecting that the connection state of the pseudo online terminal and the conference control center is changed into a connection state, sending the cached media data packets to the pseudo online terminal one by one according to a receiving sequence.
Correspondingly, the method further comprises the following steps:
and when the connection state of the pseudo online terminal and the conference control center does not change into the connection state after the preset time, marking the pseudo online terminal as an offline terminal, and clearing the media data packet cached for the pseudo online terminal.
Correspondingly, the detecting the connection state of the second cluster terminal and the conference control center includes:
and detecting the connection state of the second cluster terminal and the conference control center according to the heartbeat signal sent by the second cluster terminal.
A device for realizing smooth switching of audio and video conferences is applied to a conference control center and comprises:
the receiving unit is used for receiving a conference establishment request sent by a first cluster terminal and informing a second cluster terminal to establish connection with the conference control center according to the conference establishment request;
a first caching unit, configured to cache the media data packets sent by the first cluster terminal according to a receiving order;
and the first sending unit is used for sending the cached media data packets to the second cluster terminal one by one according to the receiving sequence after the preset caching number of the media data packets is reached.
Correspondingly, the preset caching number of the media data packets is determined according to the time for establishing the connection between the second cluster terminal and the conference control center.
Correspondingly, the device further comprises:
the detection unit is used for detecting the connection state of the second cluster terminal and the conference control center;
the first marking unit is used for marking the second cluster terminal as a pseudo online terminal when detecting that the connection state of the second cluster terminal and the conference control center is changed from a connection state to a disconnection state;
the second cache unit is used for continuing caching the received media data packets for the pseudo online terminal according to the receiving sequence;
and the second sending unit is used for sending the cached media data packets to the pseudo online terminal one by one according to a receiving sequence when detecting that the connection state between the pseudo online terminal and the conference control center is changed into a connection state.
Correspondingly, the device further comprises:
the second marking unit is used for marking the pseudo online terminal as an offline terminal when the connection state of the pseudo online terminal and the conference control center does not change into the connection state after the preset time;
and the clearing unit is used for clearing the media data packet cached for the pseudo online terminal.
Correspondingly, the detection unit is specifically configured to:
and detecting the connection state of the second cluster terminal and the conference control center according to the heartbeat signal sent by the second cluster terminal.
Therefore, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the audio and video conference starts, the conference control center caches a plurality of received media data packets, and after the cached media data packets reach the preset caching number of the media data packets, namely after a period of buffering time, the cached media data packets are sent to other cluster terminals participating in the conference, so that the cluster terminals are ensured to start receiving the media data packets after being connected to the conference control center, and the phenomenon of word loss is avoided; in addition, when a certain cluster terminal is disconnected with the conference control center, the cluster terminal is temporarily marked as a pseudo online terminal, the received media data packets are continuously cached for the pseudo online terminal, and when the pseudo online terminal is reconnected to the conference control center within the preset time, the cached media data packets are sequentially sent to the pseudo online terminal, so that the pseudo online terminal can receive the media data packets generated during the disconnection period, and the problem of voice interruption is avoided.
Drawings
FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention;
fig. 2 is a flowchart of a first embodiment of a method for implementing smooth switching of an audio/video conference in an embodiment of the present invention;
fig. 3 is a schematic data interaction diagram of a first method embodiment of implementing smooth switching of an audio/video conference in the embodiment of the present invention;
fig. 4 is a flowchart of a second embodiment of a method for implementing smooth switching of an audio/video conference in the embodiment of the present invention;
fig. 5 is a schematic diagram illustrating state switching of a cluster terminal in an embodiment of the present invention;
fig. 6 is a schematic data exchange diagram of a second embodiment of a method for implementing smooth switching of an audio/video conference in an embodiment of the present invention;
fig. 7 is a schematic diagram of an embodiment of a device for implementing smooth switching of an audio/video conference in the embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
For convenience of understanding the embodiment of the present invention, an application scenario of the embodiment of the present invention is first described, referring to fig. 1, in the field of private network communication, a user may use a cluster terminal capable of recording and playing voice or video, and access a conference control center through a private network communication network to perform a remote audio/video conference, where the conference control center may be loaded in a server and may be understood as a central control module in a multimedia audio/video conference system. In an audio and video conference, a conference control center can simultaneously access at least two cluster terminals, and the accessed plurality of cluster terminals can be cluster terminals of the same system or cluster terminals of different systems.
In the prior art, when a conference starts, if a few conference participants do not access the conference, the voice of a conference speaker cannot be received, that is, a word loss phenomenon occurs, and the inventor analyzes that the voice is generated because the time for accessing cluster terminals of different systems to a conference control center is different, and the current wireless network environments of different cluster terminals are different, and the cluster terminal initiating the conference cannot know the connection condition of other terminals to the conference control center, a user initiating the conference starts to send media data to the conference center by using the cluster terminal, and other terminals may not receive the media data, so that the word loss phenomenon occurs. In view of the problem, in the embodiment of the present invention, after receiving a media data packet, a conference control center does not immediately forward the media data packet, but caches the media data packet by using a caching technology, and after the cached media data packet reaches a preset caching number of the media data packet, that is, after a period of buffering time, the conference control center sends the cached media data packet to other participating cluster terminals, so as to ensure that the participating cluster terminals send the media data packet to the cluster terminals after being connected to the conference control center, thereby avoiding a word loss phenomenon.
In addition, in the prior art, the connection state of the cluster terminal and the conference center generally adopts an online state and an offline state, and when the network condition is unstable, the received voice is interrupted due to repeated online and offline. To solve the problem, in the embodiment of the present invention, a pseudo online state is added, when a certain cluster terminal is disconnected from a conference control center, the cluster terminal is temporarily marked as a pseudo online terminal, and continues to cache received media data packets for the pseudo online terminal, and when the pseudo online terminal is reconnected to the conference control center within a preset time, the cached media data packets are sequentially sent to the pseudo online terminal, so as to ensure that the pseudo online terminal can receive the media data packets generated during the disconnection period, and the problem of voice interruption does not occur.
The embodiment of the invention will be described from the perspective of a device for realizing smooth switching of an audio and video conference, and the device for realizing smooth switching of the audio and video conference can be particularly applied to a conference control center which can be loaded in a server, a base station and other equipment.
Referring to fig. 2, a first embodiment of a method for implementing smooth switching of an audio/video conference provided in the embodiment of the present invention may include the following steps:
step 201: and receiving a conference establishment request sent by the first cluster terminal, and informing the second cluster terminal to establish connection with the conference control center according to the conference establishment request.
The first cluster terminal can be understood as a conference initiator cluster terminal of the audio and video conference, the second cluster terminal can be understood as a participant cluster terminal of the audio and video conference, namely a cluster terminal receiving media data of a current speaker of the conference, and the first cluster terminal can be converted into the second cluster terminal, namely when the speaker of the conference is switched, the conference initiator cluster terminal can also be converted into the cluster terminal receiving the media data of the current speaker of the conference. When the audio and video conference needs to be established, the first cluster terminal can send a conference establishment request to the conference control center, the conference establishment request is signaling data, the conference control center can establish the audio and video conference according to the conference establishment request, and inform the second cluster terminal to establish connection with the conference control center and access the audio and video conference.
Step 202: and caching the media data packets sent by the first cluster terminal according to the receiving sequence.
The first trunking terminal sends data to the conference control center by sending media data packets, each media data packet may have a fixed length, for example, 30ms, that is, when a user using the first trunking terminal speaks, the first trunking terminal sends the media data as a media data packet to the conference control center every 30ms of media data generated, so that the conference control center receives a plurality of media data packets in sequence and buffers the media data packets in the receiving sequence.
Step 203: and after the preset caching number of the media data packets is reached, sending the cached media data packets to the second cluster terminal one by one according to the receiving sequence.
In some embodiments of the present invention, the preset number of the buffers for the media data packet may be determined according to a time for establishing a connection between the second trunking terminal and the conference control center.
For example, if the slowest time for establishing a connection between the second trunking terminal and the conference control center is 150ms, and each media data packet is 30ms, the number of preset buffers for media data packets may be set to 5, so that after 5 media data packets are buffered, 30ms × 5 ms is 150ms after the first media data packet sent by the first trunking terminal is received by the conference control center, at this time, the second trunking terminal has already established a connection with the conference control center, and then sends the buffered media data packets one by one from the first media data packet to the second trunking terminal according to the receiving sequence, so as to ensure that complete media data is received after the second trunking terminal is connected with the conference control center, and a phenomenon of word loss at the conference start stage does not occur, thereby smoothly starting the audio and video conference.
Referring to fig. 3, a data interaction diagram is used to illustrate a first embodiment of a method for implementing smooth switching of an audio/video conference provided in the embodiment of the present invention.
The conference initiator can be understood as a first cluster terminal, the participant can be understood as a second cluster terminal, the first cluster terminal sends a media data packet 1 to the conference control center at the first moment, the conference control center caches the media data packet 1, the first cluster terminal sends a media data packet 2 to the conference control center at the second moment, the conference control center caches the media data packet 1 and the media data packet 2, the first cluster terminal sends a media data packet 3 to the conference control center at the third moment, and the conference control center caches the media data packet 1, the media data packet 2 and the media data packet 3; assuming that the preset cache number of the media data packets is 3, the conference control center reaches the preset cache number of the media data packets, and can start to send the media data packets to the second trunking terminal, the conference control center can send the media data packets to the second trunking terminal and receive the media data packets at the same time, and can receive and send data in a manner of sending one media data packet and receiving one media data packet at the same time, the conference control center sends the media data packet 1 to the second trunking terminal at a fourth moment, and simultaneously the first trunking terminal sends the media data packet 4 to the conference control center, and the conference control center caches the media data packet 2, the media data packet 3 and the media data packet 4; and at the fifth moment, the conference control center sends the media data packet 2 to the second cluster terminal, meanwhile, the first cluster terminal sends the media data packet 5 to the conference control center, and the conference control center caches the media data packet 3, the media data packet 4 and the media data packet 5, and so on, so that the second cluster terminal establishes connection with the conference control center in the time period when the conference control center caches the media data packet 1, the media data packet 2 and the media data packet 3, and the media data packet 1 can begin to receive media data without word loss.
Therefore, in the embodiment of the invention, when the audio and video conference starts, the conference control center buffers a plurality of received media data packets, and after the buffered media data packets reach the preset buffering number of the media data packets, namely after a period of buffering time, the buffered media data packets are sent to other cluster terminals participating in the conference, so that the cluster terminals are ensured to start receiving the media data packets after being connected to the conference control center, and the phenomenon of word loss is avoided.
Referring to fig. 4, a second embodiment of the method for implementing smooth switching of an audio/video conference provided in the embodiment of the present invention is shown, and the method for implementing smooth switching of an audio/video conference provided in the embodiment of the present invention may further include the following steps:
step 401: and detecting the connection state of the second cluster terminal and the conference control center.
In some embodiments of the present invention, a specific implementation of detecting a connection state of the second cluster terminal and the conference control center may include:
and detecting the connection state of the second cluster terminal and the conference control center according to the heartbeat signal sent by the second cluster terminal.
In the process of the audio and video conference, the conference control center can detect the connection state of the second cluster terminal and the conference control center by receiving the heartbeat signal sent by the second cluster terminal, and when the heartbeat signal sent by a certain second cluster terminal is not received within a preset time, the connection state of the second cluster terminal and the conference control center can be judged to be a disconnection state.
The conference control center can manage the state machines of all the conference participants, namely all the cluster terminals, and determine different processing paths according to the change of different state machines. In practical application, the conference control center may establish a structure array for each cluster terminal accessed to the audio/video conference, so as to store relevant information of the cluster terminal, such as connection state, format information, access mode, and the like, and cache a media data packet for the cluster terminal.
Step 402: and when detecting that the connection state of the second cluster terminal and the conference control center is changed from a connection state to a disconnection state, marking the second cluster terminal as a pseudo online terminal.
Step 403: and continuously caching the received media data packets for the pseudo online terminal according to the receiving sequence.
When the connection state of the second cluster terminal and the conference control center is changed from the connection state to the disconnection state, the second cluster terminal is not immediately marked as an offline terminal, but is marked as a pseudo online terminal, and the media data packet is continuously cached for the pseudo online terminal.
Step 404: and when detecting that the connection state of the pseudo online terminal and the conference control center is changed into a connection state, sending the cached media data packets to the pseudo online terminal one by one according to the receiving sequence.
When the pseudo online terminal recovers the connection with the conference control center, the conference control center can continue to send the cached media data packet to the pseudo online terminal, and mark the pseudo online terminal as an online terminal.
In some embodiments of the present invention, the method may further include: and when the connection state of the pseudo online terminal and the conference control center does not change into the connection state after the preset time, marking the pseudo online terminal as an offline terminal, and clearing the media data packet cached for the pseudo online terminal.
Referring to fig. 5, a schematic diagram of state switching of a cluster terminal in the embodiment of the present invention is shown, where a pseudo online state is added in the embodiment of the present invention, that is, when a connection state between the cluster terminal and a conference control center is changed from a connection state to a disconnection state, that is, when a network disconnection occurs in the cluster terminal, the cluster terminal is temporarily marked as a pseudo online terminal, if the connection state between the pseudo online terminal and the conference control center does not change to the connection state after exceeding a preset time, the pseudo online terminal is marked as an offline terminal, and if the connection state between the pseudo online terminal and the conference control center is restored to the connection state within the preset time, the pseudo online terminal is marked as an online terminal again; and for the offline terminal, logging in again to access the conference control center, and after the connection state with the conference control center is restored to the connection state, marking the offline terminal as the online terminal again.
Referring to fig. 6, a data interaction diagram is used to illustrate a first embodiment of a method for implementing smooth switching of an audio/video conference provided in the embodiment of the present invention.
The participant can be understood as a second cluster terminal, and in the process of the audio and video conference, for example, at the fourth moment, the conference control center sends a media data packet 1 to the second cluster terminal, and meanwhile, the conference control center receives a media data packet 4 sent by a conference speaker, and the conference control center caches the media data packet 2, the media data packet 3 and the media data packet 4; at this time, if the second cluster terminal is disconnected, it is marked as a pseudo online terminal, and the conference control center continues to cache the received media data packet, for example, at the fifth moment, the conference control center receives the media data packet 5 sent by the conference speaker, and the conference control center caches the media data packet 2, the media data packet 3, the media data packet 4, and the media data packet 5; at the sixth moment, the conference control center receives the media data packet 6 sent by the conference speaker, and caches the media data packet 2, the media data packet 3, the media data packet 4, the media data packet 5 and the media data packet 6; if the pseudo online terminal is recovered as the online terminal, the conference control center starts to send the cached media data packet to the terminal, for example, at the seventh moment, the conference control center sends the media data packet 2 to the previous pseudo online terminal, and at the same time, the conference control center receives the media data packet 7 sent by the conference speaker, the conference control center caches the media data packet 3, the media data packet 4, the media data packet 5, the media data packet 6, and the media data packet 7, and then the conference control center can recover the normal conference state, continue to send one media data packet and receive one media data packet, and so on.
The conference control center detects the pseudo online participant real-time network, when the network state of the participant is detected to be changed from connection to disconnection, the media and signaling data in a certain time period are continuously cached intelligently, and the online state of the participant is maintained. And after network reconnection is found, processing the cached media and signaling, and smoothly switching the states of the conference participants, so that the method is transparent to the terminal user. The conference control center records that the participant is in a pseudo-online state, and the state is equivalent to an online state for other participants. The other participants and the user interfaces of the participants do not switch states, so that the use experience of the conference user can be improved.
Therefore, when a certain cluster terminal is disconnected with the conference control center, the cluster terminal is temporarily marked as a pseudo online terminal, the received media data packets are continuously cached for the pseudo online terminal, and when the pseudo online terminal is reconnected to the conference control center within the preset time, the cached media data packets are sequentially sent to the pseudo online terminal, so that the pseudo online terminal can receive the media data packets generated during the disconnection period, and the problem of voice interruption can be avoided.
Correspondingly, as shown in fig. 7, the schematic diagram of a first embodiment of the apparatus for implementing smooth audio/video conference switching provided in the embodiment of the present invention is shown, where the apparatus may be applied to a conference control center, and the apparatus may include:
the receiving unit 701 is configured to receive a conference establishment request sent by a first cluster terminal, and notify a second cluster terminal to establish a connection with a conference control center according to the conference establishment request.
A first buffer unit 702, configured to buffer the media data packets sent by the first trunking terminal according to the receiving order.
The first sending unit 703 is configured to send the buffered media data packets to the second cluster terminal one by one according to the receiving sequence after the preset number of buffers of the media data packets is reached.
In some embodiments of the present invention, the preset number of the buffers for the media data packet may be determined according to a time for establishing a connection between the second trunking terminal and the conference control center.
In some embodiments of the present invention, an embodiment of the apparatus for implementing smooth switching of an audio/video conference, provided in the embodiments of the present invention, may further include:
and the detection unit is used for detecting the connection state of the second cluster terminal and the conference control center.
And the first marking unit is used for marking the second trunking terminal as a pseudo online terminal when detecting that the connection state of the second trunking terminal and the conference control center is changed from a connection state to a disconnection state.
And the second cache unit is used for continuously caching the received media data packets for the pseudo online terminal according to the receiving sequence.
And the second sending unit is used for sending the cached media data packets to the pseudo online terminals one by one according to the receiving sequence when detecting that the connection state of the pseudo online terminals and the conference control center is changed into the connection state.
In some embodiments of the present invention, the detection unit may specifically be configured to:
and detecting the connection state of the second cluster terminal and the conference control center according to the heartbeat signal sent by the second cluster terminal.
In addition, in some embodiments of the present invention, an embodiment of the apparatus for implementing smooth switching of an audio/video conference, provided in the embodiments of the present invention, may further include:
the second marking unit is used for marking the pseudo online terminal as an offline terminal when the connection state of the pseudo online terminal and the conference control center does not change into the connection state after the preset time;
and the clearing unit is used for clearing the media data packet cached for the pseudo online terminal.
Therefore, in the embodiment of the invention, when the audio and video conference starts, the conference control center caches a plurality of received media data packets, and after the cached media data packets reach the preset caching number of the media data packets, namely after a period of buffering time, the cached media data packets are sent to other cluster terminals participating in the conference, so that the cluster terminals are ensured to start receiving the media data packets after being connected to the conference control center, and the phenomenon of word loss is avoided; in addition, when a certain cluster terminal is disconnected with the conference control center, the cluster terminal is temporarily marked as a pseudo online terminal, the received media data packets are continuously cached for the pseudo online terminal, and when the pseudo online terminal is reconnected to the conference control center within the preset time, the cached media data packets are sequentially sent to the pseudo online terminal, so that the pseudo online terminal can receive the media data packets generated during the disconnection period, and the problem of voice interruption is avoided.
It should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the system or the device disclosed by the embodiment, the description is simple because the system or the device corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A method for realizing smooth switching of audio and video conferences is characterized in that the method is applied to a conference control center and comprises the following steps:
receiving a conference establishment request sent by a first cluster terminal, and notifying a second cluster terminal to establish connection with the conference control center according to the conference establishment request;
caching the media data packets sent by the first cluster terminal according to a receiving sequence;
after the preset caching number of the media data packets is reached, sending the cached media data packets to the second cluster terminal one by one according to a receiving sequence;
detecting the connection state of the second cluster terminal and the conference control center;
when detecting that the connection state of the second cluster terminal and the conference control center is changed from a connection state to a disconnection state, marking the second cluster terminal as a pseudo online terminal;
continuing to cache the received media data packets for the pseudo online terminal according to the receiving sequence;
and when detecting that the connection state of the pseudo online terminal and the conference control center is changed into a connection state, sending the cached media data packets to the pseudo online terminal one by one according to a receiving sequence.
2. The method of claim 1, wherein the predetermined number of buffered media data packets is determined according to a time period for the second trunking terminal to establish a connection with the conference control center.
3. The method of claim 1, further comprising:
and when the connection state of the pseudo online terminal and the conference control center does not change into the connection state after the preset time, marking the pseudo online terminal as an offline terminal, and clearing the media data packet cached for the pseudo online terminal.
4. The method of claim 1, wherein the detecting the connection status of the second cluster terminal with the conference control center comprises:
and detecting the connection state of the second cluster terminal and the conference control center according to the heartbeat signal sent by the second cluster terminal.
5. The utility model provides a realize smooth switching device of audio frequency and video meeting which characterized in that, the device is applied to meeting control center, the device includes:
the receiving unit is used for receiving a conference establishment request sent by a first cluster terminal and informing a second cluster terminal to establish connection with the conference control center according to the conference establishment request;
a first caching unit, configured to cache the media data packets sent by the first cluster terminal according to a receiving order;
the first sending unit is used for sending the cached media data packets to the second cluster terminal one by one according to the receiving sequence after the preset caching number of the media data packets is reached;
the detection unit is used for detecting the connection state of the second cluster terminal and the conference control center;
the first marking unit is used for marking the second cluster terminal as a pseudo online terminal when detecting that the connection state of the second cluster terminal and the conference control center is changed from a connection state to a disconnection state;
the second cache unit is used for continuing caching the received media data packets for the pseudo online terminal according to the receiving sequence;
and the second sending unit is used for sending the cached media data packets to the pseudo online terminal one by one according to a receiving sequence when detecting that the connection state between the pseudo online terminal and the conference control center is changed into a connection state.
6. The apparatus of claim 5, wherein the predetermined number of buffered media data packets is determined according to a time period for the second trunking terminal to establish the connection with the conference control center.
7. The apparatus of claim 5, further comprising:
the second marking unit is used for marking the pseudo online terminal as an offline terminal when the connection state of the pseudo online terminal and the conference control center does not change into the connection state after the preset time;
and the clearing unit is used for clearing the media data packet cached for the pseudo online terminal.
8. The apparatus according to claim 5, wherein the detection unit is specifically configured to:
and detecting the connection state of the second cluster terminal and the conference control center according to the heartbeat signal sent by the second cluster terminal.
CN201510465770.8A 2015-07-31 2015-07-31 Method and device for realizing smooth switching of audio and video conference Active CN106412484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510465770.8A CN106412484B (en) 2015-07-31 2015-07-31 Method and device for realizing smooth switching of audio and video conference

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510465770.8A CN106412484B (en) 2015-07-31 2015-07-31 Method and device for realizing smooth switching of audio and video conference

Publications (2)

Publication Number Publication Date
CN106412484A CN106412484A (en) 2017-02-15
CN106412484B true CN106412484B (en) 2020-06-02

Family

ID=58007934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510465770.8A Active CN106412484B (en) 2015-07-31 2015-07-31 Method and device for realizing smooth switching of audio and video conference

Country Status (1)

Country Link
CN (1) CN106412484B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246152B (en) * 2020-01-10 2022-05-03 浙江华创视讯科技有限公司 Video conference automatic recovery method and device, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917674A (en) * 2006-09-06 2007-02-21 蒋晓海 Method for processing information of voice in mobile dialogue service
CN101237625A (en) * 2007-01-30 2008-08-06 大唐移动通信设备有限公司 A quick call establishment method and system in digital cluster system
CN102624874A (en) * 2012-02-21 2012-08-01 腾讯科技(深圳)有限公司 Method and system for transmitting voice messages
CN103067793A (en) * 2011-10-21 2013-04-24 上海博泰悦臻网络技术服务有限公司 Intercom device between server and vehicles and off-line communication method and system between vehicles
CN103686620A (en) * 2013-12-18 2014-03-26 北京佳讯飞鸿电气股份有限公司 Method for preventing voices from being lost in group calling rapidly-building process

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6990180B2 (en) * 2001-04-05 2006-01-24 Nokia Mobile Phones Limited Short voice message (SVM) service method, apparatus and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917674A (en) * 2006-09-06 2007-02-21 蒋晓海 Method for processing information of voice in mobile dialogue service
CN101237625A (en) * 2007-01-30 2008-08-06 大唐移动通信设备有限公司 A quick call establishment method and system in digital cluster system
CN103067793A (en) * 2011-10-21 2013-04-24 上海博泰悦臻网络技术服务有限公司 Intercom device between server and vehicles and off-line communication method and system between vehicles
CN102624874A (en) * 2012-02-21 2012-08-01 腾讯科技(深圳)有限公司 Method and system for transmitting voice messages
CN103686620A (en) * 2013-12-18 2014-03-26 北京佳讯飞鸿电气股份有限公司 Method for preventing voices from being lost in group calling rapidly-building process

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于XMPP的网络视频传输系统的研究;樊军;《中国优秀硕士学位论文全文数据库-信息科技辑》;20110715;第I136-304页 *

Also Published As

Publication number Publication date
CN106412484A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN111436041B (en) Method and device for switching master and slave Bluetooth earphones, bluetooth earphones and system
US8730298B2 (en) Method, device, terminal and system for switching video resolution
EP3537734B1 (en) Method and device for connecting a bluetooth device
CN101584189B (en) Handover of wireless connections
WO2020216059A1 (en) Network resource sharing method and related apparatus
CN103718532A (en) Data transmission method, apparatus and terminal device
WO2011153805A1 (en) Monitoring system for mobile terminal and monitoring method thereof
CN111436042A (en) Bluetooth headset and dynamic master-slave switching method, device and system thereof
KR20110137093A (en) Method and apparatus for playing recorded contents in wireless communication system
CN106412484B (en) Method and device for realizing smooth switching of audio and video conference
CN105679350A (en) Audio playing method and device
CN112738283B (en) Signaling transmission method, device, equipment and storage medium
CN112565876B (en) Screen projection method, device, equipment, system and storage medium
CN111182597B (en) Processing method and device
CN105847256A (en) Calling access domain selection method, apparatus, IMS terminal and server for ownership contract signing
WO2013189368A2 (en) Service processing method and terminal
CN103905483A (en) Audio and video sharing method, equipment and system
CN104918226A (en) Incoming call forwarding method, incoming call forwarding system and mobile terminal
US11595462B2 (en) In-call feedback to far end device of near end device constraints
CN108206898B (en) Method and device for realizing multi-party call and multi-pass terminal
CN102647576A (en) Video interaction method and video interaction system
CN101904152B (en) communication method, equipment and apparatus
CN108206815A (en) Conversion method, device and the mostly logical terminal of multi-party call
CN111918019A (en) Video conference method and system, and computer readable storage medium
CN107438056B (en) VoIP communication module, electronic device and VoIP communication method

Legal Events

Date Code Title Description
C06 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