CN105516640B - A kind of detection method and system of video communication session exception - Google Patents

A kind of detection method and system of video communication session exception Download PDF

Info

Publication number
CN105516640B
CN105516640B CN201510935065.XA CN201510935065A CN105516640B CN 105516640 B CN105516640 B CN 105516640B CN 201510935065 A CN201510935065 A CN 201510935065A CN 105516640 B CN105516640 B CN 105516640B
Authority
CN
China
Prior art keywords
terminal
video communication
server
network side
communication
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
CN201510935065.XA
Other languages
Chinese (zh)
Other versions
CN105516640A (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201510935065.XA priority Critical patent/CN105516640B/en
Publication of CN105516640A publication Critical patent/CN105516640A/en
Application granted granted Critical
Publication of CN105516640B publication Critical patent/CN105516640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details

Abstract

The invention discloses the detection methods and system of a kind of video communication session exception, which comprises establishes the communication link between first terminal and second terminal;The first terminal, the second terminal judge whether the communication link exception occurs according to the packet loss of itself and opposite end respectively, and report in the communication link exception to network side server;Simultaneously, the first terminal and the second terminal send heartbeat message to the network side server at predetermined time intervals respectively, and the network side server judges whether the network state of the first terminal and the second terminal exception occurs according to whether receiving the heartbeat message;There is abnormal terminal in the network side server judgement, and the distant terminal for the terminal for occurring abnormal is notified to terminate video communication.The present invention can make immediate service device faster obtain the communication abnormality state of video communication both sides, and notification communication both sides are ready, and provide convenience for user video communication.

Description

A kind of detection method and system of video communication session exception
Technical field
The present invention relates to field of video communication more particularly to a kind of detection methods and system of video communication session exception.
Background technique
With the rapid development of multimedia technology and the communication technology, multimedia communication technology has become current computer net The hot spot in network field, especially multimedia realtime communication act as highly important role in the work, life of people, simultaneously It is also the foundation stone of some other communication services.
With the development that deepens continuously of technology, video communication has also been added step-wise in VoIP communication, the basic training of VoIP The service such as Internet-based, low-cost voice, fax, data, message and video can be to provide.TV is as in parlor Core equipment since platform is all the customization of each producer be the basis clothes for needing a video communication for the demand of communication Business.
Large-Scale Interconnected net company released the social application based on smart phone, such as wechat, dealing, credulity in recent years, deep Popular, their voice and small video, which is sent, gradually to substitute the message and multimedia message of major operator, is absorbing number of users The share of operator will be corroded in amount.But video communication conversational communication is also unstable on TV in the prior art, when a use When terminal where family occurs abnormal in video communication, another user terminal can not the quick obtaining situation, detecting period A little longer, user experience is not so good.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
In view of the deficiencies in the prior art, it is an object of that present invention to provide a kind of detection method of video communication session exception and System, it is intended to which it is also unstable to solve video communication conversational communication on TV in the prior art, the terminal where a user When occurring abnormal in video communication, another user terminal can not obtain the defect of communication abnormality situation in time.
Technical scheme is as follows:
A kind of detection method of video communication session exception, wherein method includes:
A, the communication link between first terminal and second terminal is established;
B, the first terminal, the second terminal judge the communication link according to the packet loss of itself and opposite end respectively Whether there is exception, and is reported in the communication link exception to network side server;
Meanwhile the first terminal and the second terminal are sent out to the network side server at predetermined time intervals respectively Heartbeat message is sent, the network side server judges the first terminal and described according to whether receiving the heartbeat message Whether the network state of second terminal there is exception;
C, the network side server judges occur according to the acquired communication link state and the network state Abnormal terminal, and the distant terminal for the terminal for occurring abnormal is notified to terminate video communication.
The detection method of the video communication session exception, wherein the step A is specifically included:
A1, the first terminal send video communication request to other terminals of the second account are logged in by the first account number, The network side server judges whether second account number logs in over multiple terminals;
If A2, second account log in over multiple terminals simultaneously, an end for being logged in second account is selected End is used as the second terminal, receives and respond the video communication request that the first terminal is sent, and close other terminals Video pop-up interface;
If A3, the second account log in single terminal, this is selected to be logged in the terminal of second account as second Terminal receives and responds the video communication request that the first terminal is sent, establishes between first terminal and second terminal Communication link.
The detection method of the video communication session exception, wherein the method also includes:
D, during the first terminal and the video communication of the second terminal, the network side server It detects and sends video communication request to the first terminal or the second terminal with the presence or absence of other terminals, when there are it When the video communication request that his terminal is sent, the network side server forwards the video communication to ask to target terminal It asks.
The detection method of the video communication session exception, wherein in the step B: judged according to the packet loss Whether the communication link there is abnormal step
The first terminal or the second terminal disappear to the detection that the fixed size that opposite end sends predetermined number loads Breath packet;The first terminal or the second terminal receive the return probe message packet for the onesize load that opposite end returns;Root When determining the transmission of the communication link according to the time and the corresponding sending time that receive the return probe message packet Prolong;The packet loss of the communication link is determined according to the number of the return probe message packet received and the predetermined number Rate.
The detection method of the video communication session exception, wherein in the step B:
Judge whether the network state of the first terminal and the second terminal occurs abnormal including:
At interval, the predetermined time does not receive first terminal to the network side server twice or second terminal is sent Heartbeat message when, it is abnormal to judge that the first terminal or second terminal network state occur.
The detection method of the video communication session exception, wherein the predetermined time is 2s.
The detection method of video communication session exception described in any of the above embodiments, wherein the network side server is IM Server, the first terminal and the second terminal establish the communication link by internet communication engine ICE server.
A kind of detection system of video communication session exception, wherein the system specifically includes:
Link establishment module, for establishing the communication link between first terminal and second terminal;
Abnormality detection module, for the first terminal, the second terminal respectively according to the packet loss of itself and opposite end Judge whether the communication link exception occurs, and is reported in the communication link exception to network side server;
Meanwhile the first terminal and the second terminal are sent out to the network side server at predetermined time intervals respectively Heartbeat message is sent, the network side server judges the first terminal and described according to whether receiving the heartbeat message Whether the network state of second terminal there is exception;
Judgement and notification module, for the network side server according to the acquired communication link state and described Network state judges the terminal for occurring abnormal, and the distant terminal for the terminal for occurring abnormal is notified to terminate video communication.
The detection system of the video communication session exception, wherein the link establishment module specifically includes:
Transmission and judging unit are sent out by the first account number to other terminals of the second account are logged in for the first terminal Video communication is sent to request, the network side server judges whether second account number logs in over multiple terminals;
First response unit selects one to log in if logging in over multiple terminals simultaneously for second account The terminal of the second account is stated as the second terminal, receives and respond the video communication request that the first terminal is sent, and Close the video pop-up interface of other terminals;
Second response unit selects this to be logged in second account if logging in single terminal for the second account Terminal as second terminal, receive and respond the video communication request that the first terminal is sent, establish first terminal and Communication link between second terminal.
The detection system of the video communication session exception, wherein the system also includes:
Detection and forwarding module, for the video communication process in the first terminal and the second terminal In, the network side server, which is detected, sends view to the first terminal or the second terminal with the presence or absence of other terminals Frequency communication request, when the video communication request sent there are other terminals, the network side server is to target terminal The video communication is forwarded to request.
The present invention provides the detection method and system of a kind of video communication session exception, first terminal passes through instant messaging Server sends video communication request to second terminal;During video communication real-time detection first terminal and second terminal it Between communication link state, report abnormal communication link state to instant communication server, and every a predetermined time to i.e. When communication server report video state so that even if communication server obtains the network state of first terminal and second terminal, Instant communication server judges the intelligent terminal for abnormality occur, and another intelligent terminal is notified to terminate video communication.The present invention Immediate service device can be made faster to obtain the communication abnormality state of video communication both sides, communication two party can learn abnormal shape faster State, and on-hook preparation is carried out, it is provided convenience for user video communication.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the preferred embodiment of the detection method of video communication session exception of the invention.
Fig. 2 is a kind of video communication of the concrete application embodiment of the detection system of video communication session exception of the invention Schematic diagram.
Fig. 3 is a kind of principle of work and power frame of the preferred embodiment of the detection system of video communication session exception of the invention Figure.
Specific embodiment
To make the purpose of the present invention, technical solution and effect clearer, clear and definite, below to the present invention further specifically It is bright.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of flow chart of the preferred embodiment of the detection method of video communication session exception, such as Fig. 1 It is shown, which comprises
Step S100, the communication link between first terminal and second terminal is established.
When it is implemented, when two users need to carry out video communication by intelligent terminal, wherein the first account number is corresponding First terminal be denoted as A terminal, the second terminal that the second account logs in is denoted as B terminal.A terminal receives the first account number instructions and passes through ((Instant Messaging, abbreviation IM) server, that is, network side server is also referred to as IM server to for instant messaging Two accounts log in B terminal send video communication request, specifically, the network side server be IM server, described first Terminal and the second terminal pass through internet communication engine ICE server (video communication server) and establish the communication chain Road.
Network side server is represented with IM server below.Wherein, intelligent terminal includes but is not limited to use Android Mobile terminal, the smart television of system.
Step S200, the described first terminal, the second terminal are respectively according to the judgement of the packet loss of itself and opposite end Whether communication link there is exception, and reports in the communication link exception to network side server;Meanwhile described first is whole End and the second terminal send heartbeat message, the network side clothes to the network side server at predetermined time intervals respectively Business device according to whether receive the heartbeat message judge the first terminal and the second terminal network state whether Occur abnormal.
When it is implemented, as shown in Figure 2.When A terminal and B terminal carry out normal video communication, the session of each terminal is logical It interrogates bottom (Libjingle) and rewarding mechanism is provided, is i.e. A terminal and B terminal judges institute according to the packet loss of itself and opposite end respectively State whether communication link exception occurs, so as to responding connection situation (line, broken string, line failure), for the application of terminal Layer is carried out monitoring exception and be handled, and when occurring, line is abnormal to inform IM server in time.In communication process, A terminal and B terminal It establishes P2P video communication or P2P penetrates failure, then relayed communications is carried out by network engine ICE server.
When judging network state, A terminal, B terminal are among video communication per every few seconds to the IM server transmission heart Message is jumped, IM server is allowed faster to perceive the network of one party terminal with the presence or absence of abnormal.At this point, due to being that A terminal and B are whole End actively sends heartbeat message to IM server, therefore, when A terminal or B terminal send heartbeat to IM server for the first time The state reporting that starts video communication is equivalent to when message to IM server, when A terminal either B terminal last time to When IM server sends heartbeat message, it is equivalent to the end state reporting of video communication to IM server, is starting and tying It is A terminal either B terminal just in the intermediate state of video communication between beam.By the judgement of network state, can judge The A terminal either current video state of B terminal.
Step S300, the described network side server according to the acquired communication link state and the network state, There is abnormal terminal in judgement, and the distant terminal for the terminal for occurring abnormal is notified to terminate video communication.
Specifically, (i.e. accumulative to have 2 times) is double if not receiving communication within 2 predetermined times when in video communication The square heartbeat message that either party sends to IM server, then it is assumed that party's network timeout then judges that network state occurs in the party It is abnormal.
IM server video is notified when there is video state abnormal (including network state exception and communication link exception) Communication terminates, and another intelligence is notified to terminate terminal called.For example, IM server detects when video state exception occurs in A terminal The terminal video state is abnormal, and notice B terminal is hung up communication so that B terminal be made to learn video state unexpected message.
In further embodiment, step S100 is specifically included:
Step S101, the described first terminal sends video communication to other terminals of the second account are logged in by the first account number Request, the network side server judge whether second account number logs in over multiple terminals;
If step S102, described second account logs in over multiple terminals simultaneously, selects one and be logged in second account Number terminal receive and respond the video communication request that the first terminal is sent as the second terminal, and close other The video pop-up interface of terminal;
If step S103, the second account logs in single terminal, this is selected to be logged in the terminal of second account work For second terminal, receives and respond the video communication request that the first terminal is sent, establish first terminal and second terminal Between communication link.
When it is implemented, the first account sends video signal request to the second account, judge whether the second account there are more equipment to step on Record, if more equipment log in, such as the second account logs in the equipment such as B1 terminal, B2 terminal simultaneously simultaneously, then IM server Video signal request is transmitted to the second account logged in each equipment, the view of one of terminal such as B1 terminal response A terminal News request (accepting or rejecting), IM server forwarding B1's responds to A terminal, and A terminal receives the response of the second account, IM clothes Business device receive after the response of B1 terminal can encapsulation messages notice B2 " B1 has been processed by video request ", the video signal pop-up of B2 can disappear It loses.
If not more equipment log in, the video signal of the B terminal response A terminal where the second account requests (accepting or rejecting), IM server forwarding B terminal responds to A terminal, and A terminal receives the response of B terminal.
In further embodiment, the method also includes:
Step S400, during the first terminal and the video communication of the second terminal, the network Side server, which is detected, sends video communication request to the first terminal or the second terminal with the presence or absence of other terminals, When the video communication request sent there are other terminals, the network side server forwards the video to target terminal Communication request.
When it is implemented, when A terminal and B terminal video communicate, when C terminal initiates video communication to B terminal, IM server It notifies C terminal " the second account is just in video communication ... ", call request is transmitted to B terminal and is handled.
In further embodiment, judge whether the communication link exception occurs according to the packet loss in step S200 The step of include specifically include:
The first terminal or the second terminal disappear to the detection that the fixed size that opposite end sends predetermined number loads Breath packet;The first terminal or the second terminal receive the return probe message packet for the onesize load that opposite end returns;Root When determining the transmission of the communication link according to the time and the corresponding sending time that receive the return probe message packet Prolong;The packet loss of the communication link is determined according to the number of the return probe message packet received and the predetermined number Rate.
Further, judge in the step S200 first terminal and the second terminal network state whether Occur it is abnormal include: the network side server at interval the predetermined time does not receive first terminal or second terminal twice When the heartbeat message of transmission, it is abnormal to judge that the first terminal or second terminal network state occur.
When it is implemented, the predetermined time is preferably 2s.As described above, terminal is in beginning video communication, video communication, knot Beam video communication can report video state.Start video communication only to report once, it can be every 2 seconds (between specific in video communication Configured every by IM server) it reports once, terminate only to report when video communication primary.
The present invention also provides a kind of concrete application embodiment of the detection method of video communication session exception, method includes A terminal (is referred to as A below, B terminal is referred to as B) by step:
S1000, A and B log in respective account, and A and B are initiated the connection to IM server, create TCP socket, carry out Login authentication.A and B sends probe message packet at regular intervals (such as 30 seconds) to each other;
S2000, A initiate video communication to B, and A issues offer, and B is responded after receiving offer and (accepted or rejected).A It is communicated with B by STUN or TURN agreement and ICE server, pass through burrowing, finally establish P2P or Relay video communication Session;
The session communication bottom of S3000, A and B will feed back line situation to application layer, when B accident power-off or pull out cable When, it is offline that IM Server needs to wait 2 eartbeat intervals (such as 60 seconds) could perceive B, IM Server in this period In blind area;
S4000, A and B will report video state that IM server, A and B is given to be intended in the beginning, end, centre of video communication Uploaded state gives IM server, to send heartbeat message to IM server every the short period (such as 2 seconds) among video communication, For the video state of IM server detection A and B;
S5000, C initiate video communication to B, and when A and B video communication, when C initiates video communication to B, IM server can be accused It tells C " B is just in video communication ... ", call request is still transmitted to B processing.
By setting double mechanism, IM server is enabled comparatively fast to perceive the terminal for video state exception occur, it can To notify distant terminal end of conversation in a relatively short period of time, while economizing on resources, user experience is good.
The present invention also provides a kind of another concrete application embodiments of the detection method of video communication session exception, including Following steps:
T1, A send video signal request to B, and IM server judges whether B has more equipment to log in, if so, thening follow the steps T2 thens follow the steps T3 if not;
Video signal request is transmitted to the B logged in each equipment by T2, IM server, and the video signal request that B1 responds A (receives Or refusal), IM server forwarding B1's responds to A, and A receives the response of B, and IM server, which receives to encapsulate after the response of B1, to disappear Breath notice B2 " B1 has been processed by video request ", the video signal pop-up of B2 can disappear, and execute step T4 later;
The video signal that T3, B respond A requests (accepting or rejecting), and IM server forwarding B's responds to A,
A receives the response of B, executes step T4 later;
T4, judge whether B receives video signal, if so, T5 is thened follow the steps, if not, thening follow the steps T12;
T5, A start passing through NAT, first connect ICE server and obtain outer net IP and port, and judge that connecting ICE server is No success, if ICE server successful connection thens follow the steps T6, if ICE server connection failure, thens follow the steps T10;
T6, A tell IM server " I is successfully connected ICE server ", and outer net IP and the port of A are forwarded by IM server It to B, attempts to use Simple Traversal of UDP Through Network Address Translators passing through NAT, judges whether P2P succeeds, if it succeeds, step T7 is executed, if it fails, then holding Row step T8;
T7, P2P video signal is established, periodically reports video state to IM server, the detection of IM server is each just in video signal Terminal the heartbeat message regularly sent, judge whether time-out, if it times out, execute step T11;
T8, it attempts to use TURN agreement passing through NAT, judges whether Relay succeeds, if Relay success, holds if success Row step T9, if it fails, thening follow the steps T11;
T9, Relay video signal is established, periodically reports video state to IM server, the detection of IM server is each just in video signal In the timing of terminal report video state, judge whether time-out, if it times out, executing step T11;
T10, A tell IM server " I does not connect ICE server " that IM server is transmitted to B, and " A does not connect ICE clothes Business device " please hang up execution step T11 after video signal;
If T11, IM server detect certain one end heartbeat timeout, it tells the video signal other end " the video state report of other side Accuse time-out " and video signal please be hang up;Wherein a terminal hangs up video signal, issues BYE agreement;The terminal tells IM server " to disconnect view News ", IM server forward BYE agreement to opposite end, and the forwarding of IM server " disconnecting video signal " state to opposite end, executes step later T12;
T12, end.
On the basis of above method embodiment, the present invention also provides a kind of detection systems of video communication session exception Preferred embodiment functional schematic block diagram, as shown in figure 3, the system comprises:
Link establishment module 100, for establishing the communication link between first terminal and second terminal;Specific institute as above It states.
Abnormality detection module 200, for the first terminal, the second terminal respectively according to the packet loss of itself and opposite end Rate judges whether the communication link exception occurs, and reports in the communication link exception to network side server;Meanwhile The first terminal and the second terminal send heartbeat message, institute to the network side server at predetermined time intervals respectively Network side server is stated according to whether receiving the net that the heartbeat message judges the first terminal and the second terminal Whether network state there is exception;As detailed above.
Judgement and notification module 300, for the network side server according to the acquired communication link state and The network state judges the terminal for occurring abnormal, and it is logical to notify that the distant terminal for the terminal for occurring abnormal terminates video News;As detailed above.
The detection system of the video communication session exception, wherein the link establishment module specifically includes:
Transmission and judging unit are sent out by the first account number to other terminals of the second account are logged in for the first terminal Video communication is sent to request, the network side server judges whether second account number logs in over multiple terminals;It is specific as above It is described.
First response unit selects one to log in if logging in over multiple terminals simultaneously for second account The terminal of the second account is stated as the second terminal, receives and respond the video communication request that the first terminal is sent, and Close the video pop-up interface of other terminals;As detailed above.
Second response unit selects this to be logged in second account if logging in single terminal for the second account Terminal as second terminal, receive and respond the video communication request that the first terminal is sent, establish first terminal and Communication link between second terminal;As detailed above.
The detection system of the video communication session exception, wherein the system also includes:
Detection and forwarding module, for the video communication process in the first terminal and the second terminal In, the network side server, which is detected, sends view to the first terminal or the second terminal with the presence or absence of other terminals Frequency communication request, when the video communication request sent there are other terminals, the network side server is to target terminal The video communication is forwarded to request;As detailed above.
In conclusion the present invention provides the detection method and system of a kind of video communication session exception, the method packet It includes: establishing the communication link between first terminal and second terminal;The first terminal, the second terminal are respectively according to certainly Body and the packet loss of opposite end judge whether the communication link exception occurs, and take in the communication link exception to network side Business device reports;Meanwhile the first terminal and the second terminal are respectively at predetermined time intervals to the network side server Heartbeat message is sent, the network side server judges the first terminal and institute according to whether receiving the heartbeat message Whether the network state for stating second terminal there is exception;There is abnormal terminal in the network side server judgement, and notifies out Now the distant terminal of the abnormal terminal terminates video communication.It is double that the present invention can make immediate service device faster obtain video communication The communication abnormality state of side, communication two party can learn abnormality faster, and carry out on-hook preparation, mention for user video communication Convenience is supplied.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention Protect range.

Claims (6)

1. a kind of detection method of video communication session exception, which is characterized in that method includes:
A, the communication link between first terminal and second terminal is established;
B, whether the first terminal, the second terminal judge the communication link according to the packet loss of itself and opposite end respectively There is exception, and reported in the communication link exception to network side server, wherein the network side server is IM clothes Business device, the first terminal and the second terminal establish the communication link by internet communication engine ICE server;
Meanwhile the first terminal and the second terminal send the heart to the network side server at predetermined time intervals respectively Message is jumped, the network side server judges the first terminal and described second according to whether receiving the heartbeat message Whether the network state of terminal there is exception, by the first terminal or the second terminal for the first time to the IM server Send the heartbeat message, the state reporting started as video communication to the IM server, by the first terminal or Person is end state of the second terminal last time to IM server transmission heartbeat message, as the video communication It has been reported to the IM server, between beginning and end, has been regarded for the first terminal either second terminal The intermediate state of frequency communication judges that the first terminal either second terminal is current by the judgement of network state Video communication state;
When first terminal and second terminal carry out video communication, the session communication bottom offer rewarding mechanism of each terminal, first Terminal and second terminal judge whether the communication link exception occurs according to the packet loss of itself and opposite end respectively, to return Line situation is carried out monitoring exception and be handled, the informing network side server when there is line exception for the application layer of terminal;
In the step B, judge whether the network state of the first terminal and the second terminal occurs abnormal including:
At interval, the predetermined time does not receive what first terminal or second terminal were sent to the network side server several times When heartbeat message, it is abnormal to judge that the first terminal or second terminal network state occur;
C, the network side server judges to occur different according to the obtained communication link state and the network state Normal terminal, and the distant terminal for the terminal for occurring abnormal is notified to terminate video communication;
The step A is specifically included:
A1, the first terminal send video communication request, institute to other terminals for being logged in the second account by the first account It states network side server and judges whether second account logs in over multiple terminals;
If A2, second account log in over multiple terminals simultaneously, the terminal for being logged in second account is selected to make For the second terminal, receive and respond the video communication request that the first terminal is sent, and closes the video of other terminals Pop-up interface;
If A3, the second account log in single terminal, this is selected to be logged in the terminal of second account as second terminal, Receive and respond the video communication request that the first terminal is sent, establishes the communication chain between first terminal and second terminal Road.
2. the detection method of video communication session exception according to claim 1, which is characterized in that the method is also wrapped It includes:
D, during the first terminal and the video communication of the second terminal, the network side server detection Video communication request is sent to the first terminal or the second terminal to the presence or absence of other terminals, when there are other ends When the video communication request that end is sent, the network side server forwards the video communication request to target terminal.
3. the detection method of video communication session exception according to claim 1, which is characterized in that in the step B: root Judge whether the communication link abnormal step occurs and include: according to the packet loss
The probe message packet that the first terminal or the second terminal are loaded to the fixed size that opposite end sends predetermined number; The first terminal or the second terminal receive the return probe message packet for the onesize load that opposite end returns;According to reception The time for returning to probe message packet and the corresponding sending time determine the propagation delay time of the communication link;According to The number of the return probe message packet received and the predetermined number determine the packet loss of the communication link.
4. the detection method of video communication session exception according to claim 3, which is characterized in that the predetermined time is 2s。
5. a kind of detection system of video communication session exception, which is characterized in that the system specifically includes:
Link establishment module, for establishing the communication link between first terminal and second terminal;
Abnormality detection module judges according to the packet loss of itself and opposite end respectively for the first terminal, the second terminal Whether the communication link there is exception, and reports in the communication link exception to network side server, wherein the net Network side server is that IM server, the first terminal and the second terminal are built by internet communication engine ICE server Found the communication link;
Meanwhile the first terminal and the second terminal send the heart to the network side server at predetermined time intervals respectively Message is jumped, the network side server judges the first terminal and described second according to whether receiving the heartbeat message Whether the network state of terminal there is exception, by the first terminal or the second terminal for the first time to the IM server Send the heartbeat message, the state reporting started as video communication to the IM server, by the first terminal or It is the second terminal last time to IM server transmission heartbeat message, as in the end state of the video communication The IM server is offered, is that the first terminal either second terminal is just logical in video between beginning and end The intermediate state of news judges the first terminal either current view of the second terminal by the judgement of network state Frequency communication state;When first terminal and second terminal carry out video communication, the session communication bottom of each terminal provides return machine System, first terminal and second terminal judge whether the communication link exception occurs according to the packet loss of itself and opposite end respectively, To responding connection situation, carries out monitoring exception and handle, the informing network side when there is line exception for the application layer of terminal Server;
The abnormality detection module is also used to the network side server, and at interval, the predetermined time does not receive first several times It is different to judge that the first terminal or second terminal network state occur when the terminal heartbeat message that perhaps second terminal is sent Often;
Judgement and notification module, for the network side server according to the acquired communication link state and the network State judges the terminal for occurring abnormal, and the distant terminal for the terminal for occurring abnormal is notified to terminate video communication;
The link establishment module specifically includes:
Transmission and judging unit are sent by the first account to other terminals for being logged in the second account for the first terminal Video communication request, the network side server judge whether second account logs in over multiple terminals;
First response unit selects one to be logged in described the if logging in over multiple terminals simultaneously for second account The terminal of two accounts receives and responds the video communication request that the first terminal is sent as the second terminal, and closes The video pop-up interface of other terminals;
Second response unit selects this to be logged in the end of second account if logging in single terminal for the second account End is used as second terminal, receives and responds the video communication request that the first terminal is sent, establish first terminal and second Communication link between terminal.
6. the detection system of video communication session exception according to claim 5, which is characterized in that the system is also wrapped It includes:
Detection and forwarding module, for during the first terminal and the video communication of the second terminal, institute It states network side server and detects that sending video to the first terminal or the second terminal with the presence or absence of other terminals leads to News request, when the video communication request sent there are other terminals, the network side server is forwarded to target terminal The video communication request.
CN201510935065.XA 2015-12-15 2015-12-15 A kind of detection method and system of video communication session exception Active CN105516640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510935065.XA CN105516640B (en) 2015-12-15 2015-12-15 A kind of detection method and system of video communication session exception

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510935065.XA CN105516640B (en) 2015-12-15 2015-12-15 A kind of detection method and system of video communication session exception

Publications (2)

Publication Number Publication Date
CN105516640A CN105516640A (en) 2016-04-20
CN105516640B true CN105516640B (en) 2019-11-12

Family

ID=55724239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510935065.XA Active CN105516640B (en) 2015-12-15 2015-12-15 A kind of detection method and system of video communication session exception

Country Status (1)

Country Link
CN (1) CN105516640B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106068020A (en) * 2016-05-26 2016-11-02 腾讯科技(深圳)有限公司 Hinting abnormal states method and device
CN106100979B (en) * 2016-07-26 2019-12-24 邦彦技术股份有限公司 Instant messaging method and device
CN106412481B (en) * 2016-09-08 2019-05-21 北京小米移动软件有限公司 Reminding method, device and terminal based on VoLTE video calling
CN107463458A (en) * 2017-08-08 2017-12-12 武汉微创光电股份有限公司 A kind of IPSAN monitoring abnormal states and recovery system
CN109905851A (en) * 2018-12-26 2019-06-18 维沃移动通信有限公司 A kind of reminding method and terminal device
CN110086852A (en) * 2019-03-27 2019-08-02 苏州威斯德医疗科技有限公司 A kind of method and device abnormal for identification based on intelligent video camera head
CN112584418A (en) * 2019-09-27 2021-03-30 中兴通讯股份有限公司 Media stream transmission quality notification method and session boundary control entity
CN111431963B (en) * 2020-02-20 2023-11-24 视联动力信息技术股份有限公司 Method, system and device for responding to call

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005117333A (en) * 2003-10-07 2005-04-28 Toshiba Corp Remote monitoring system and remote monitoring method
CN103685286A (en) * 2013-12-18 2014-03-26 大唐移动通信设备有限公司 Method and device for releasing session resources
CN103718532A (en) * 2013-03-26 2014-04-09 华为技术有限公司 Data transmission method, apparatus and terminal device
CN104348697A (en) * 2013-07-25 2015-02-11 腾讯科技(深圳)有限公司 Video communication information processing method, device and system
CN104853138A (en) * 2015-05-05 2015-08-19 无锡天脉聚源传媒科技有限公司 Video conference network monitoring method, server and client

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448006B (en) * 2008-12-25 2012-01-11 中兴通讯股份有限公司 Method and system for realizing access for a great amount of terminals for streaming media server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005117333A (en) * 2003-10-07 2005-04-28 Toshiba Corp Remote monitoring system and remote monitoring method
CN103718532A (en) * 2013-03-26 2014-04-09 华为技术有限公司 Data transmission method, apparatus and terminal device
CN104348697A (en) * 2013-07-25 2015-02-11 腾讯科技(深圳)有限公司 Video communication information processing method, device and system
CN103685286A (en) * 2013-12-18 2014-03-26 大唐移动通信设备有限公司 Method and device for releasing session resources
CN104853138A (en) * 2015-05-05 2015-08-19 无锡天脉聚源传媒科技有限公司 Video conference network monitoring method, server and client

Also Published As

Publication number Publication date
CN105516640A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN105516640B (en) A kind of detection method and system of video communication session exception
JP6505831B2 (en) Establish and maintain VOIP calls
US7937463B2 (en) Method and server for invoking application servers in a SIP network
CN103718532A (en) Data transmission method, apparatus and terminal device
CN103297470B (en) The processing method of always online business, application server, user terminal and system
CN102209039A (en) Method and equipment for transmitting file
CN107454184B (en) Method for establishing stable network connection between Android client and server
WO2017016837A1 (en) A method and computer program products for probing the status of an ip-based communication connection in order to receive an incoming communication
CN106027599B (en) Data transmission channel establishing method, system and server
JP2008153782A (en) Call managing method, call management system, and message processing server system
CN105978780B (en) Port switching method and device
CN106101468B (en) Method and device for determining transmission link
CN103297449B (en) A kind of document transmission method, instant communication terminal and system
JP2006340357A (en) Method, system and apparatus for debugging live talking
US11637874B2 (en) Communications apparatus, systems, and methods for preventing and/or minimizing session data clipping
CN108462612A (en) Adjust method, apparatus, electronic equipment and the storage medium of RTP media flow transmissions
EP3314970B1 (en) Method and apparatus for managing uplink traffic from a client device in a communication network
CN110324277B (en) Connection method and device for real-time communication, storage medium and electronic device
CN115580555B (en) Distributed task cancellation method, device, system and electronic equipment
CN109905419A (en) A kind of method and apparatus of data transmission
US20220167454A1 (en) Processing of a call by videoconference between two terminals
US11689587B2 (en) Methods, systems, and computer readable media for optimized inter-session border controller (SBC) attended call transfer with re-use of transfer target session
JP6096688B2 (en) Unified communication system and message transmission method thereof
US11102268B2 (en) RTP monitoring device and RTP monitoring method
KR20130060056A (en) Apparatus, and recording medium for file transfer to signal reception impossible terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant