CN103491102A - Method, system and device for monitoring stability of internet audio and video - Google Patents

Method, system and device for monitoring stability of internet audio and video Download PDF

Info

Publication number
CN103491102A
CN103491102A CN201310462958.8A CN201310462958A CN103491102A CN 103491102 A CN103491102 A CN 103491102A CN 201310462958 A CN201310462958 A CN 201310462958A CN 103491102 A CN103491102 A CN 103491102A
Authority
CN
China
Prior art keywords
audio frequency
heartbeat message
video client
network side
side server
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.)
Pending
Application number
CN201310462958.8A
Other languages
Chinese (zh)
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.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201310462958.8A priority Critical patent/CN103491102A/en
Publication of CN103491102A publication Critical patent/CN103491102A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method, system and device for monitoring stability of internet audio and video. The method includes the steps that a network side server monitors and receives heart-beat messages sent by an audio and video client-side according to set sending time intervals, the network side server judges whether the heart-beat messages are monitored and received or not in a set detection time period, the network side server continues to monitor and receive the heart-beat messages if the network side sever receives the heart-beat messages in the detection time period, and the network side server releases network resources occupied by the audio and video client-side and cuts off the connection of the network side server and the audio and video client-side if the network side server does not receive the heart-beat messages in the detection time period. The invention further discloses the device and the system for achieving the method. According to the scheme, the network connection loads of the network side server are reduced, and the processing speed and the processing efficiency of the network side server are improved.

Description

The Internet audio frequency and video stability method for supervising, system and device
Technical field
The present invention relates to the audio frequency and video processing technology field, relate in particular to a kind of the Internet audio frequency and video stability method for supervising, system and device.
Background technology
The Internet audio frequency and video are a kind of video contents of conveniently watching whenever and wherever possible, for the modes such as live telecast, audio broadcasting, the user uses the Internet audio frequency and video can not be subject to the restriction of reproduction time, therefore more convenient to use, applies also more and more extensive.
In order to be the broadcasting of the Internet audio frequency and video smoothness, generally need to guarantee the Internet audio frequency and video broadcasting stability.The Internet audio frequency and video are higher to the requirement of playing stability, therefore, to the stability monitoring of the Internet audio frequency and video, for the smooth playing that guarantees the Internet audio frequency and video, are very important.
At present, in order to guarantee the broadcasting stability of the Internet audio frequency and video, generally to realize by network interface card the detection that network is connected, the stability connected by monitoring network, realize guaranteeing the stability of audio video transmission, broadcasting, whether the tangible hardware view of this mode realizes, usually by Ping order inspection, exist net card failure etc. to affect the factor of network stabilization.
This mode generally can only detect the connective stability of hardware view, and the reaction time is generally long, easily cause the delay of testing result to lag behind, detection accuracy is poor, for the Internet audio frequency and video are play the business that this requirement of real-time is higher, this detection mode can not meet the Internet audio frequency and video and play playing stability, the requirement of real-time, the destabilizing factor that network connects can not promptly and accurately be detected, audio frequency and video in optimized network connect in time, cause the shared resource of audio frequency and video client of network disconnecting not discharge timely, increased the network side server live load, processing speed and the efficiency of network side server have been reduced.
Summary of the invention
The embodiment of the present invention provides a kind of the Internet audio frequency and video stability method for supervising, system and device, for the destabilizing factor that realizes that monitor network connects, improve the accuracy of the Internet audio frequency and video Detection of Stability, improve processing speed and the efficiency of network side server.
The embodiment of the present invention provides a kind of the Internet audio frequency and video stability method for supervising, comprises the following steps:
The network side server monitoring receives the heartbeat message that the audio frequency and video client sends according to the transmission time interval of setting;
Whether the network side server judgement is monitored and is received described heartbeat message within cycle detection time of setting;
If network side server has received described heartbeat message within described cycle detection time, continue monitoring and receive described heartbeat message; If network side server does not receive described heartbeat message within described cycle detection time, discharge the shared Internet resources of described audio frequency and video client, disconnection is connected with described audio frequency and video client.
In some optional embodiments, if network side server does not receive described heartbeat message within described cycle detection time, said method also comprises:
The frequency threshold value whether number of times that receives described heartbeat message reaches setting is not monitored in the network side server judgement;
When not reaching the frequency threshold value of setting, continue monitoring and receive described heartbeat message; When reaching the frequency threshold value of setting, then carry out the shared Internet resources of the described audio frequency and video client of release, disconnect the step be connected with described audio frequency and video client.
In some optional embodiments, if network side server does not receive described heartbeat message within described cycle detection time, said method also comprises:
Described network side server sends dead acknowledge message to described audio frequency and video client, and described dead acknowledge message indication audio frequency and video client is at the feedback acknowledgment time feedbacking heartbeat message of appointment;
Described network side server monitoring receives the heartbeat message that the audio frequency and video client is returned according to described dead acknowledge message;
Whether described network side server judgement receives the heartbeat message that the audio frequency and video client is returned within cycle detection time of setting;
If monitoring does not receive the heartbeat message returned within cycle detection time of setting, then carry out the shared Internet resources of the described audio frequency and video client of release, disconnect the step be connected with described audio frequency and video client; If monitoring has received the heartbeat message returned within cycle detection time of setting; Continue monitoring and receive described heartbeat message.
In some optional embodiments, described dead acknowledge message comprises:
Server address information, client identity information, dead acknowledging time and feedback acknowledgment time.
In some optional embodiments, described heartbeat message comprises:
Server address information, client identity information and heartbeat transmitting time.
In some optional embodiments, the transmission time interval that described audio frequency and video client sends described heartbeat message is less than interval detection time that described network side server monitoring receives described heartbeat message.
The embodiment of the present invention also provides a kind of network side server, comprising:
The monitoring receiver module, receive for monitoring the heartbeat message that the audio frequency and video client sends according to the transmission time interval of setting;
Whether the monitoring judge module, monitor and receive described heartbeat message within cycle detection time of setting for judgement;
The monitoring Executive Module, if within described cycle detection time, having received described heartbeat message, continue monitoring and receive described heartbeat message; If do not receive described heartbeat message within described cycle detection time, discharge the shared Internet resources of described audio frequency and video client, disconnection is connected with described audio frequency and video client.
In some optional embodiments, described monitoring judge module, if also within described cycle detection time, not receiving described heartbeat message, the frequency threshold value whether number of times that receives described heartbeat message reaches setting is not monitored in judgement; Accordingly,
Described monitoring Executive Module, specifically for when not reaching the frequency threshold value of setting, continue monitoring and receive described heartbeat message; When reaching the frequency threshold value of setting, then carry out the shared Internet resources of the described audio frequency and video client of release, disconnect the step be connected with described audio frequency and video client.
In some optional embodiments, above-mentioned network side server also comprises:
Connect and confirm module, if within described cycle detection time, not receiving described heartbeat message, send dead acknowledge message to described audio frequency and video client, described dead acknowledge message indication audio frequency and video client is at the feedback acknowledgment time feedbacking heartbeat message of appointment;
Described monitoring receiver module, also receive for monitoring the heartbeat message that the audio frequency and video client is returned according to described dead acknowledge message;
Whether described monitoring judge module, also receive the heartbeat message that the audio frequency and video client is returned for judgement within cycle detection time of setting;
Described monitoring Executive Module, if specifically in cycle detection time setting, monitoring and receive the heartbeat message returned, then carry out the shared Internet resources of the described audio frequency and video client of release, disconnects the step be connected with described audio frequency and video client; If monitoring has received the heartbeat message returned within cycle detection time of setting; Continue monitoring and receive described heartbeat message.
In some optional embodiments, module is confirmed in described connection, specifically for: while sending described dead acknowledge message, carry server address information, client identity information, dead acknowledging time and feedback acknowledgment time in described dead acknowledge message.
The embodiment of the present invention also provides a kind of audio frequency and video client, comprising:
The information reporting module, send heartbeat message for the transmission time interval according to setting to network side server, so that network side server receives the shared Internet resources of audio frequency and video client that described heartbeat message determines whether to discharge self place according to whether within cycle detection time of setting, disconnect and being connected of described audio frequency and video client.
In some optional embodiments, above-mentioned audio frequency and video client also comprises:
Confirm reporting module, for when receiving the dead acknowledge message of network side server transmission, at the feedback acknowledgment time feedbacking heartbeat message of appointment to network side server.
In some optional embodiments, described information reporting module and confirmation reporting module, specifically for:
When sending described heartbeat message, in the heartbeat message sent, carry server address information, client identity information and heartbeat transmitting time.
The embodiment of the present invention also provides a kind of the Internet audio frequency and video stability supervisory control system, comprises above-mentioned network side server and at least one above-mentioned audio frequency and video client.
The Internet audio frequency and video stability method for supervising that the embodiment of the present invention provides, system and device, monitor and receive the heartbeat message that the audio frequency and video client periodically sends by network side server, realize the presence of monitoring audio/video client, it is network connection state, when can not monitor the heartbeat message that receives the transmission of audio frequency and video client within the setting cycle detection time time, think that the audio frequency and video client network connects unstable or disconnects, thereby shared Internet resources of unlocking noise videoconference client timely, reduce the network connected load of network side server, improve processing speed and the efficiency of network side server, this mode relatively with prior art in by the hardware implementation mode of network interface card Sampling network connection status, it is in the realization of software application aspect, detection accuracy, real-time are higher.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, or understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification write, claims and accompanying drawing.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
The accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms the part of specification, for explaining the present invention, is not construed as limiting the invention together with embodiments of the present invention.In the accompanying drawings:
The flow chart that Fig. 1 is the Internet audio frequency and video stability method for supervising in the embodiment of the present invention one;
The flow chart that Fig. 2 is the Internet audio frequency and video stability method for supervising in the embodiment of the present invention two;
The flow chart that Fig. 3 is the Internet audio frequency and video stability method for supervising in the embodiment of the present invention three;
The structural representation that Fig. 4 is the Internet audio frequency and video stability supervisory control system in the embodiment of the present invention four;
The structural representation that Fig. 5 is network side server in the embodiment of the present invention four;
The structural representation that Fig. 6 is the embodiment of the present invention four middle pitch videoconference clients.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein, only for description and interpretation the present invention, is not intended to limit the present invention.
The inaccurate problem of detection existed while in order to solve in prior art, by network interface card, detecting audio frequency and video client network connection status, the embodiment of the present invention provides a kind of the Internet audio frequency and video stability method for supervising, the method is by the message monitoring of software application aspect, the network connection state monitoring of realization to the audio frequency and video client, improved network and connected the accuracy detected.
Embodiment mono-
The embodiment of the present invention one provides a kind of the Internet audio frequency and video stability method for supervising, and its flow process as shown in Figure 1, comprises the following steps:
Step S101: the audio frequency and video client sends heartbeat message to network side server according to the transmission time interval of setting.
After audio frequency and video client and network side server are set up network and be connected, network side server distributes identify label (UID) can to the audio frequency and video client.The audio frequency and video client realizes that by send heartbeat message to network side server report self is in normal connection status, i.e. report " I " also lives.The audio frequency and video client can send heartbeat message according to the transmission time interval of setting, and for example transmission time interval can be set to 1s, 2s or 3s etc.
Can carry server address information, client identity information and heartbeat transmitting time in the heartbeat message that the audio frequency and video client sends.For example: the IP address that server address information is network side server, the identify label that client identity information is the audio frequency and video client (UID), the machine time that the heartbeat transmitting time is audio frequency and video client while sending heartbeat message.Certainly, server address information can be also other marked network side server infos, and client identity information can be also the information of other sign audio frequency and video client identities.
Step S102: the network side server monitoring receives the heartbeat message that the audio frequency and video client sends according to the transmission time interval of setting.
Network side server detects whether receive the heartbeat message that the audio frequency and video client sends according to interval detection time of setting, and according to whether monitoring and receive heartbeat message in interval each detection time, determines that whether the audio frequency and video client is also in connection status.
Preferably, the transmission time interval of audio frequency and video client transmission heartbeat message is less than interval detection time that the network side server monitoring receives heartbeat message.For example: the transmission time interval that the audio frequency and video client sends heartbeat message is 2s, is spaced apart 3s the detection time of network side server monitoring reception heartbeat message.This two time intervals can system Network Based concrete situation, set according to specific needs.
Step S103: whether the network side server judgement is monitored within cycle detection time of setting receives the heartbeat message that the audio frequency and video client sends.
If return and continue execution step S102; If not, execution step S104.
Even network side server has received heartbeat message within cycle detection time, illustrates that the audio frequency and video client is in normal connection status, continues monitoring and receives the heartbeat message that this audio frequency and video client sends.
Step S104: the Internet resources that the unlocking noise videoconference client is shared, disconnection is connected with the audio frequency and video client.
If network side server does not receive the heartbeat message that the audio frequency and video client sends within cycle detection time, think that this audio frequency and video client network connects abnormal, discharge the shared Internet resources of this audio frequency and video client, disconnection is connected with the audio frequency and video client, in order to alleviate the network connected load pressure of self, improve speed and efficiency that audio frequency and video are processed, also prevent the leakage of transferring content simultaneously.
Embodiment bis-
The embodiment of the present invention two provides a kind of the Internet audio frequency and video stability method for supervising, the difference of the method that itself and above-described embodiment one provide is, when network side server when do not detect the heartbeat message that the audio frequency and video client sends the detection time of certain setting in interval, it proceeds further to detect and confirm, for example in the detection time of follow-up set point number, in interval, continue to detect, when if continuous several detection times, interval did not all detect the heartbeat message of audio frequency and video client transmission, discharge again the Internet resources that this audio frequency and video client takies, thereby further improve accuracy and reliability that network connection state detects, avoid erroneous judgement to cause the audio frequency and video client to be disconnected by mistake.The method flow process as shown in Figure 2, comprises the following steps:
Step S201: the audio frequency and video client sends heartbeat message according to the transmission time interval of setting and takes to network side
Referring to step S101, repeat no more herein.
Step S202: the network side server monitoring receives the heartbeat message that the audio frequency and video client sends according to the transmission time interval of setting.
Referring to step S102, repeat no more herein.
Step S203: whether the network side server judgement is monitored within cycle detection time of setting receives the heartbeat message that the audio frequency and video client sends.
If return and continue execution step S202; If not, execution step S204.
Even network side server has received heartbeat message within cycle detection time, illustrates that the audio frequency and video client is in normal connection status, returns to step S202 and continues the heartbeat message that monitoring receives this audio frequency and video client transmission.
Step S204: the frequency threshold value whether number of times that receives heartbeat message reaches setting is not monitored in the network side server judgement.
If execution step S205, if not, return to step S202 and continue the heartbeat message that monitoring receives this audio frequency and video client transmission.
Even network side server does not receive the heartbeat message that the audio frequency and video client sends within cycle detection time, further determine cycle times detection time that does not receive heartbeat message, consider again that when reaching the frequency threshold value of setting the network that disconnects the audio frequency and video client connects; When not reaching the frequency threshold value of setting, continue monitoring and receive the heartbeat message that the audio frequency and video client sends.
Step 205: the Internet resources that the unlocking noise videoconference client is shared, disconnection is connected with the audio frequency and video client.
If network side server is reaching in cycle detection time of certain frequency threshold value the heartbeat message that does not receive the transmission of audio frequency and video client always, think that this audio frequency and video client network connects abnormal, discharge the shared Internet resources of this audio frequency and video client, disconnection is connected with the audio frequency and video client, thereby has further improved the order of accuarcy that the network connective stability detects.
Embodiment tri-
The embodiment of the present invention three provides a kind of the Internet audio frequency and video stability method for supervising, the difference of the method that itself and above-described embodiment one provide is, when network side server when do not detect the heartbeat message that the audio frequency and video client sends the detection time of certain setting in interval, it proceeds further to detect and confirm by sending dead acknowledge message, while the heartbeat message that the audio frequency and video client returns not detected at interval detection time of setting if send after dead acknowledge message, discharge again the Internet resources that this audio frequency and video client takies, thereby accuracy and reliability that network connection state detects have further been improved, further avoided erroneous judgement to cause the audio frequency and video client to be disconnected by mistake.The method flow process as shown in Figure 3, comprises the following steps:
Step S301: the audio frequency and video client sends heartbeat message according to the transmission time interval of setting and takes to network side
Referring to step S101, repeat no more herein.
Step S302: the network side server monitoring receives the heartbeat message that the audio frequency and video client sends according to the transmission time interval of setting.
Referring to step S102, repeat no more herein.
Step S303: whether the network side server judgement is monitored within cycle detection time of setting receives the heartbeat message that the audio frequency and video client sends.
If return and continue execution step S302; If not, execution step S304.
Even network side server has received heartbeat message within cycle detection time, illustrates that the audio frequency and video client is in normal connection status, returns to step S302 and continues the heartbeat message that monitoring receives this audio frequency and video client transmission.
Step S304: network side server sends dead acknowledge message to the audio frequency and video client.
If when network side server does not receive the heartbeat message of audio frequency and video client transmission within cycle detection time, send dead acknowledge message to the audio frequency and video client, further confirm its connection status.
Network side server can be indicated the feedback acknowledgment time feedbacking heartbeat message of audio frequency and video client in appointment by dead acknowledge message, in order to can get in time the connection status of audio frequency and video client.
Can carry server address information, client identity information, dead acknowledging time and feedback acknowledgment time in the dead acknowledge message that network side server sends.For example: the IP address that server address information is network side server, the identify label that client identity information is the audio frequency and video client (UID), the machine time that dead acknowledging time is network side server while sending dead acknowledge message, the delay time of feedback acknowledgment persond eixis audio frequency and video client feedback heartbeat message, for example: the feedback acknowledgment set of time is 0, require the audio frequency and video client after dead acknowledge message, return to immediately heartbeat message.Certainly, server address information can be also other marked network side server infos, and client identity information can be also the information of other sign audio frequency and video client identities.
Step S305: the network side server monitoring receives the heartbeat message that the audio frequency and video client is returned according to dead acknowledge message.
During dead acknowledge message that the audio frequency and video client sends to network side server, according to feedback acknowledgment time feedbacking heartbeat message, usually the accuracy in order to detect, can be 0 by this feedback acknowledgment set of time, the audio frequency and video client should send heartbeat message immediately, and needn't wait for that transmission time interval expires, sends again again.
Certainly, if because network reason, in the time of can't communicating by letter between network side server and audio frequency and video client, the audio frequency and video client can not search dead acknowledge message, also just can't feed back heartbeat message, now the network disconnecting, network side server can not receive heartbeat message in interval the detection time after sending dead acknowledge message, also can the shared Internet resources of unlocking noise videoconference client, the network of closing the audio frequency and video client connects, and this processing mode is correct and efficiently equally.
Step S306: whether the network side server judgement receives the heartbeat message that the audio frequency and video client is returned according to dead acknowledge message within cycle detection time of setting.
If return and continue execution step S302; If not, execution step S307.
Even network side server has received heartbeat message in cycle detection time after sending dead acknowledge message, illustrate that the audio frequency and video client is also in normal connection status, return to step S302 and continue the heartbeat message that monitoring receives this audio frequency and video client transmission.
Step 307: the Internet resources that the unlocking noise videoconference client is shared, disconnection is connected with the audio frequency and video client.
If network side server does not receive the heartbeat message that the audio frequency and video client is returned accordingly in cycle detection time after sending dead acknowledge message, think that this audio frequency and video client network connects abnormal, discharge the shared Internet resources of this audio frequency and video client, disconnection is connected with the audio frequency and video client, thereby has further improved the order of accuarcy that the network connective stability detects.
The method that above-described embodiment three provides, network side server is when can't detect the heartbeat message of audio frequency and video client transmission, send dead acknowledge message, send dead acknowledge message next detection time of interval afterwards and also can't detect the heartbeat message that the audio frequency and video client sends, the Internet resources of this audio frequency and video client of ability releasing resource, thus the possibility of judging by accident further reduced.Increase by dead acknowledge message and further confirm the process that network connects on the method basis that the method can provide at embodiment mono-as mentioned above, increase by dead acknowledge message and further confirm the process that network connects on the method basis that also can provide at embodiment bis-, when do not detect the heartbeat message of audio frequency and video client transmission the detection time of set point number in interval, further send dead acknowledge message and confirmed, specifically with reference to above-described embodiment three two description realization in conjunction with the embodiments.In the server resource anxiety, network connects in the high concurrent situation of client terminal quantity, and the dead confirmation mechanism of this heartbeat message monitoring and connection status, effectively alleviate server stress, makes resource obtain more fully effectively utilizing.
Embodiment tetra-
The embodiment of the present invention four provides a kind of the Internet audio frequency and video stability supervisory control system, and this system configuration as shown in Figure 4, comprises network side server 1 and at least one audio frequency and video client 2.
Network side server 1, receive for monitoring the heartbeat message that audio frequency and video client 2 sends according to the transmission time interval of setting; Whether judgement is monitored within cycle detection time of setting receives the heartbeat message that audio frequency and video client 2 sends; If net has received the heartbeat message that audio frequency and video client 2 sends within cycle detection time of setting, continue monitoring and receive the heartbeat message that audio frequency and video client 2 sends; If do not receive the heartbeat message that audio frequency and video client 2 sends within cycle detection time of setting, shared Internet resources of unlocking noise videoconference client, disconnect and being connected of audio frequency and video client.
Audio frequency and video client 2, send heartbeat message for the transmission time interval according to setting to network side server 1.
Preferably, above-mentioned network side server 1, if the heartbeat message also sent for not receiving audio frequency and video client 2 in cycle detection time setting, the frequency threshold value whether number of times that receives heartbeat message reaches setting is not monitored in judgement; When not reaching the frequency threshold value of setting, continue monitoring and receive the heartbeat message that audio frequency and video client 2 sends; When reaching the frequency threshold value of setting, then carry out the shared Internet resources of unlocking noise videoconference client 2, disconnect the step be connected with audio frequency and video client 2.
Preferably, above-mentioned network side server 1, if also for network side server 1, within cycle detection time of setting, do not receive the heartbeat message that audio frequency and video client 2 sends, send dead acknowledge message to audio frequency and video client 2, this death acknowledge message indication audio frequency and video client 2 is at the feedback acknowledgment time feedbacking heartbeat message of appointment; And monitor the heartbeat message that reception audio frequency and video client 2 is returned according to dead acknowledge message, whether judgement receives the heartbeat message that audio frequency and video client 2 is returned within cycle detection time of setting; If monitoring does not receive the heartbeat message returned within cycle detection time of setting, then carries out the shared Internet resources of unlocking noise videoconference client 2, disconnect the step be connected with audio frequency and video client 2; If monitoring has received the heartbeat message returned within cycle detection time of setting; Continue monitoring and receive the heartbeat message that audio frequency and video client 2 sends.
The network side server that above-mentioned the Internet audio frequency and video stability supervisory control system comprises, its structure as shown in Figure 5, comprising: monitoring receiver module 11, monitoring judge module 12 and monitoring Executive Module 13.
Monitoring receiver module 11, receive for monitoring the heartbeat message that the audio frequency and video client sends according to the transmission time interval of setting.
Whether monitoring judge module 12, monitor and receive the heartbeat message that the audio frequency and video client sends for judgement within cycle detection time of setting.
Monitoring Executive Module 13, if, for having received the heartbeat message that the audio frequency and video client sends in cycle detection time setting, continue monitoring and receive the heartbeat message that the audio frequency and video client sends; If do not receive the heartbeat message that the audio frequency and video client sends within cycle detection time of setting, shared Internet resources of unlocking noise videoconference client, disconnect and being connected of audio frequency and video client.
Preferably, above-mentioned monitoring judge module 12, if also for not receiving the heartbeat message that the audio frequency and video client sends in cycle detection time setting, judge whether the number of times of monitoring the heartbeat message that receives the transmission of audio frequency and video client reaches the frequency threshold value of setting.Accordingly,
Above-mentioned monitoring Executive Module 13, specifically for when not reaching the frequency threshold value of setting, continue monitoring and receive the heartbeat message that the audio frequency and video client sends; When reaching the frequency threshold value of setting, then carry out the shared Internet resources of unlocking noise videoconference client, disconnect the step be connected with the audio frequency and video client.
Preferably, above-mentioned network side server, also comprise: connect and confirm module 14, if for not receiving the heartbeat message that the audio frequency and video client sends in cycle detection time setting, send dead acknowledge message to the audio frequency and video client, this death acknowledge message indication audio frequency and video client is at the feedback acknowledgment time feedbacking heartbeat message of appointment.Accordingly,
Above-mentioned monitoring receiver module 11, also receive for monitoring the heartbeat message that the audio frequency and video client is returned according to dead acknowledge message.
Whether above-mentioned monitoring judge module 12, also receive the heartbeat message that the audio frequency and video client is returned for judgement within cycle detection time of setting;
Above-mentioned monitoring Executive Module 13, if specifically in cycle detection time setting, not monitoring and receive the heartbeat message returned, then carry out the shared Internet resources of unlocking noise videoconference client, disconnects the step be connected with the audio frequency and video client; If monitoring has received the heartbeat message returned within cycle detection time of setting; Continue monitoring and receive the heartbeat message that the audio frequency and video client sends.
Preferably, module 14 is confirmed in above-mentioned connection, specifically for: while sending dead acknowledge message, in the dead acknowledge message sent, carry server address information, client identity information, dead acknowledging time and feedback acknowledgment time.
The audio frequency and video client that above-mentioned the Internet audio frequency and video stability supervisory control system comprises, its structure as shown in Figure 6, comprising: information reporting module 21.
Information reporting module 21, send heartbeat message for the transmission time interval according to setting to network side server, so that network side server receives the shared Internet resources of audio frequency and video client that described heartbeat message determines whether to discharge self place according to whether within cycle detection time of setting, disconnect and being connected of audio frequency and video client.
Preferably, above-mentioned audio frequency and video client also comprises: confirm reporting module 22, for when receiving the dead acknowledge message of network side server transmission, at the feedback acknowledgment time feedbacking heartbeat message of appointment to network side server.
Preferably, above-mentioned information reporting module 21 and confirmation reporting module 22 specifically for when sending heartbeat message, are carried server address information, client identity information and heartbeat transmitting time in the heartbeat message sent.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect fully.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code one or more.
The present invention describes with reference to flow chart and/or the block diagram of method, equipment (system) and computer program according to the embodiment of the present invention.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction be stored in this computer-readable memory produce the manufacture that comprises command device, this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make and carry out the sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out on computer or other programmable devices is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.

Claims (14)

1. a Internet audio frequency and video stability method for supervising, is characterized in that, comprises the following steps:
The network side server monitoring receives the heartbeat message that the audio frequency and video client sends according to the transmission time interval of setting;
Whether the network side server judgement is monitored and is received described heartbeat message within cycle detection time of setting;
If network side server has received described heartbeat message within described cycle detection time, continue monitoring and receive described heartbeat message; If network side server does not receive described heartbeat message within described cycle detection time, discharge the shared Internet resources of described audio frequency and video client, disconnection is connected with described audio frequency and video client.
2. the method for claim 1, is characterized in that, if network side server does not receive described heartbeat message within described cycle detection time, also comprises:
The frequency threshold value whether number of times that receives described heartbeat message reaches setting is not monitored in the network side server judgement;
When not reaching the frequency threshold value of setting, continue monitoring and receive described heartbeat message; When reaching the frequency threshold value of setting, then carry out the shared Internet resources of the described audio frequency and video client of release, disconnect the step be connected with described audio frequency and video client.
3. the method for claim 1, is characterized in that, if network side server does not receive described heartbeat message within described cycle detection time, also comprises:
Described network side server sends dead acknowledge message to described audio frequency and video client, and described dead acknowledge message indication audio frequency and video client is at the feedback acknowledgment time feedbacking heartbeat message of appointment;
Described network side server monitoring receives the heartbeat message that the audio frequency and video client is returned according to described dead acknowledge message;
Whether described network side server judgement receives the heartbeat message that the audio frequency and video client is returned within cycle detection time of setting;
If monitoring does not receive the heartbeat message returned within cycle detection time of setting, then carry out the shared Internet resources of the described audio frequency and video client of release, disconnect the step be connected with described audio frequency and video client; If monitoring has received the heartbeat message returned within cycle detection time of setting; Continue monitoring and receive described heartbeat message.
4. method as claimed in claim 3, is characterized in that, described dead acknowledge message comprises:
Server address information, client identity information, dead acknowledging time and feedback acknowledgment time.
5. the method for claim 1, is characterized in that, described heartbeat message comprises:
Server address information, client identity information and heartbeat transmitting time.
6. described method as arbitrary as claim 1-5, is characterized in that, the transmission time interval that described audio frequency and video client sends described heartbeat message is less than interval detection time that described network side server monitoring receives described heartbeat message.
7. a network side server, is characterized in that, comprising:
The monitoring receiver module, receive for monitoring the heartbeat message that the audio frequency and video client sends according to the transmission time interval of setting;
Whether the monitoring judge module, monitor and receive described heartbeat message within cycle detection time of setting for judgement;
The monitoring Executive Module, if within described cycle detection time, having received described heartbeat message, continue monitoring and receive described heartbeat message; If do not receive described heartbeat message within described cycle detection time, discharge the shared Internet resources of described audio frequency and video client, disconnection is connected with described audio frequency and video client.
8. network side server as claimed in claim 7, it is characterized in that, described monitoring judge module, if also within described cycle detection time, not receiving described heartbeat message, the frequency threshold value whether number of times that receives described heartbeat message reaches setting is not monitored in judgement; Accordingly,
Described monitoring Executive Module, specifically for when not reaching the frequency threshold value of setting, continue monitoring and receive described heartbeat message; When reaching the frequency threshold value of setting, then carry out the shared Internet resources of the described audio frequency and video client of release, disconnect the step be connected with described audio frequency and video client.
9. network side server as claimed in claim 7 or 8, is characterized in that, also comprises:
Connect and confirm module, if within described cycle detection time, not receiving described heartbeat message, send dead acknowledge message to described audio frequency and video client, described dead acknowledge message indication audio frequency and video client is at the feedback acknowledgment time feedbacking heartbeat message of appointment;
Described monitoring receiver module, also receive for monitoring the heartbeat message that the audio frequency and video client is returned according to described dead acknowledge message;
Whether described monitoring judge module, also receive the heartbeat message that the audio frequency and video client is returned for judgement within cycle detection time of setting;
Described monitoring Executive Module, if specifically in cycle detection time setting, monitoring and receive the heartbeat message returned, then carry out the shared Internet resources of the described audio frequency and video client of release, disconnects the step be connected with described audio frequency and video client; If monitoring has received the heartbeat message returned within cycle detection time of setting; Continue monitoring and receive described heartbeat message.
10. network side server as claimed in claim 9, it is characterized in that, module is confirmed in described connection, specifically for: while sending described dead acknowledge message, carry server address information, client identity information, dead acknowledging time and feedback acknowledgment time in described dead acknowledge message.
11. an audio frequency and video client, is characterized in that, comprising:
The information reporting module, send heartbeat message for the transmission time interval according to setting to network side server, so that network side server receives the shared Internet resources of audio frequency and video client that described heartbeat message determines whether to discharge self place according to whether within cycle detection time of setting, disconnect and being connected of described audio frequency and video client.
12. audio frequency and video client as claimed in claim 11, is characterized in that, also comprises:
Confirm reporting module, for when receiving the dead acknowledge message of network side server transmission, at the feedback acknowledgment time feedbacking heartbeat message of appointment to network side server.
13. audio frequency and video client as described as claim 11 or 12, is characterized in that, described information reporting module and confirmation reporting module, specifically for:
When sending described heartbeat message, in the heartbeat message sent, carry server address information, client identity information and heartbeat transmitting time.
14. a Internet audio frequency and video stability supervisory control system, is characterized in that, comprises described network side server as arbitrary as claim 7-10 and at least one described audio frequency and video client as arbitrary as claim 11-13.
CN201310462958.8A 2013-09-30 2013-09-30 Method, system and device for monitoring stability of internet audio and video Pending CN103491102A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310462958.8A CN103491102A (en) 2013-09-30 2013-09-30 Method, system and device for monitoring stability of internet audio and video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310462958.8A CN103491102A (en) 2013-09-30 2013-09-30 Method, system and device for monitoring stability of internet audio and video

Publications (1)

Publication Number Publication Date
CN103491102A true CN103491102A (en) 2014-01-01

Family

ID=49831061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310462958.8A Pending CN103491102A (en) 2013-09-30 2013-09-30 Method, system and device for monitoring stability of internet audio and video

Country Status (1)

Country Link
CN (1) CN103491102A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243293A (en) * 2014-08-21 2014-12-24 深圳市合信自动化技术有限公司 Automatic heartbeat interval adjustment method, gateway device and server
CN105827697A (en) * 2016-03-14 2016-08-03 广州趣丸网络科技有限公司 User off-line detection method and user off-line detection system
CN106412965A (en) * 2016-11-17 2017-02-15 上海斐讯数据通信技术有限公司 Method, network-surfing terminal, and system for automatic off-line realization
CN106412498A (en) * 2016-08-31 2017-02-15 浙江宇视科技有限公司 Monitoring data acquisition method, and cloud terminal
CN106791954A (en) * 2016-12-27 2017-05-31 广州高清视信数码科技股份有限公司 Digital TV video frequency program request control system
CN107396431A (en) * 2017-06-19 2017-11-24 努比亚技术有限公司 Connect keeping method, connection keeps equipment and computer-readable recording medium
CN109525460A (en) * 2018-11-26 2019-03-26 视联动力信息技术股份有限公司 A kind of method and apparatus of view networking number resource monitoring
CN109819287A (en) * 2018-12-27 2019-05-28 广东联业智能科技有限公司 A kind of ad data teleprocessing system and method
CN109946420A (en) * 2017-12-21 2019-06-28 智能城市网络有限公司 For sending the device and method of atmospheric environment data
CN110798367A (en) * 2018-08-01 2020-02-14 视联动力信息技术股份有限公司 Video network video disconnection method and device
CN111371631A (en) * 2018-12-25 2020-07-03 成都鼎桥通信技术有限公司 Heartbeat mechanism detection method, terminal device and storage medium
CN112260888A (en) * 2020-09-27 2021-01-22 北京天融信网络安全技术有限公司 Container cloud and resource management method of container cloud
CN112416518A (en) * 2020-11-21 2021-02-26 广州西麦科技股份有限公司 Method and system for intelligently preventing virtual resource waste
CN112770415A (en) * 2020-12-31 2021-05-07 上海连尚网络科技有限公司 Information processing method and device about wireless hotspot
CN113824994A (en) * 2021-09-09 2021-12-21 西安超越申泰信息科技有限公司 Video playing fault-tolerant method, system, terminal and storage medium
CN114200904A (en) * 2021-12-14 2022-03-18 杭州和利时自动化有限公司 Method, device and medium for triggering SIS effective shutdown

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567905A (en) * 2003-07-04 2005-01-19 华为技术有限公司 A method for monitoring operating state of media gateway controller by media gateway
CN1925403A (en) * 2005-09-02 2007-03-07 腾讯科技(深圳)有限公司 Network communication system and method realizing file downloading
CN101345663A (en) * 2008-08-22 2009-01-14 杭州华三通信技术有限公司 Heartbeat detection method and heartbeat detection apparatus
CN101772194A (en) * 2008-12-26 2010-07-07 中兴通讯股份有限公司 General packet radio service tunnel user plane path keep-alive method and system
CN102088372A (en) * 2009-12-03 2011-06-08 大唐移动通信设备有限公司 Heartbeat detecting method, system and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567905A (en) * 2003-07-04 2005-01-19 华为技术有限公司 A method for monitoring operating state of media gateway controller by media gateway
CN1925403A (en) * 2005-09-02 2007-03-07 腾讯科技(深圳)有限公司 Network communication system and method realizing file downloading
CN101345663A (en) * 2008-08-22 2009-01-14 杭州华三通信技术有限公司 Heartbeat detection method and heartbeat detection apparatus
CN101772194A (en) * 2008-12-26 2010-07-07 中兴通讯股份有限公司 General packet radio service tunnel user plane path keep-alive method and system
CN102088372A (en) * 2009-12-03 2011-06-08 大唐移动通信设备有限公司 Heartbeat detecting method, system and equipment

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243293A (en) * 2014-08-21 2014-12-24 深圳市合信自动化技术有限公司 Automatic heartbeat interval adjustment method, gateway device and server
CN105827697A (en) * 2016-03-14 2016-08-03 广州趣丸网络科技有限公司 User off-line detection method and user off-line detection system
CN106412498A (en) * 2016-08-31 2017-02-15 浙江宇视科技有限公司 Monitoring data acquisition method, and cloud terminal
CN106412498B (en) * 2016-08-31 2019-12-13 浙江宇视科技有限公司 monitoring data acquisition method and cloud terminal
CN106412965A (en) * 2016-11-17 2017-02-15 上海斐讯数据通信技术有限公司 Method, network-surfing terminal, and system for automatic off-line realization
CN106791954A (en) * 2016-12-27 2017-05-31 广州高清视信数码科技股份有限公司 Digital TV video frequency program request control system
CN107396431A (en) * 2017-06-19 2017-11-24 努比亚技术有限公司 Connect keeping method, connection keeps equipment and computer-readable recording medium
CN109946420A (en) * 2017-12-21 2019-06-28 智能城市网络有限公司 For sending the device and method of atmospheric environment data
CN110798367A (en) * 2018-08-01 2020-02-14 视联动力信息技术股份有限公司 Video network video disconnection method and device
CN110798367B (en) * 2018-08-01 2021-09-28 视联动力信息技术股份有限公司 Video network video disconnection method and device
CN109525460A (en) * 2018-11-26 2019-03-26 视联动力信息技术股份有限公司 A kind of method and apparatus of view networking number resource monitoring
CN111371631B (en) * 2018-12-25 2022-04-19 成都鼎桥通信技术有限公司 Heartbeat mechanism detection method, terminal device and storage medium
CN111371631A (en) * 2018-12-25 2020-07-03 成都鼎桥通信技术有限公司 Heartbeat mechanism detection method, terminal device and storage medium
CN109819287A (en) * 2018-12-27 2019-05-28 广东联业智能科技有限公司 A kind of ad data teleprocessing system and method
CN112260888A (en) * 2020-09-27 2021-01-22 北京天融信网络安全技术有限公司 Container cloud and resource management method of container cloud
CN112416518A (en) * 2020-11-21 2021-02-26 广州西麦科技股份有限公司 Method and system for intelligently preventing virtual resource waste
CN112770415A (en) * 2020-12-31 2021-05-07 上海连尚网络科技有限公司 Information processing method and device about wireless hotspot
WO2022142716A1 (en) * 2020-12-31 2022-07-07 上海连尚网络科技有限公司 Information processing method and apparatus regarding wireless hotspot
CN112770415B (en) * 2020-12-31 2023-07-14 上海连尚网络科技有限公司 Information processing method and device for wireless hotspots
CN113824994A (en) * 2021-09-09 2021-12-21 西安超越申泰信息科技有限公司 Video playing fault-tolerant method, system, terminal and storage medium
CN113824994B (en) * 2021-09-09 2024-04-05 超越科技股份有限公司 Video playing fault-tolerant method, system, terminal and storage medium
CN114200904A (en) * 2021-12-14 2022-03-18 杭州和利时自动化有限公司 Method, device and medium for triggering SIS effective shutdown

Similar Documents

Publication Publication Date Title
CN103491102A (en) Method, system and device for monitoring stability of internet audio and video
US9141491B2 (en) Highly available server system based on cloud computing
CN102377685B (en) Subscription message sending system and subscription message sending method
CN102724065B (en) A kind of network communicating system and comprise the engineering mechanical device of this system
EP3229420A1 (en) Method for establishing persistent connection between multiple smart devices and server, and smart device
CN110581852A (en) Efficient mimicry defense system and method
JP2018508072A (en) Method and apparatus for pushing messages
CN104320311A (en) Heartbeat detection method of SCADA distribution type platform
CN104065526B (en) A kind of method and apparatus of server failure alarm
CN102065152A (en) Joined screen system and communication device thereof
CN108123826B (en) Cross-region data interaction system and method
EP3850793B1 (en) Method and apparatus for reporting power down events in a network node without a backup energy storage device
CN113923397A (en) Method and device for detecting state of conference room equipment, electronic equipment and storage medium
CN112822039B (en) Main and standby mode switching method for dual-machine hot standby system
CN108075947B (en) Storage device, PC (personal computer) end and maintenance method and system of communication connection connectivity
CN105490837A (en) Network monitoring processing method and device
CN103581300A (en) Interactive conference system information on-line preservation method
WO2023229531A2 (en) Data transmission method and apparatus, terminal, and storage medium
TW201301026A (en) Method and system for controlling synchronous testing
CN103051678A (en) Method and device for high-reliability data communication
WO2016080126A1 (en) Periodic-type data sharing system and method
CN110601972A (en) Message transmission method and device and intelligent elastic architecture system
KR100959099B1 (en) Method and Apparatus for alarm transmitting in Building Automation System
CN104796228B (en) A kind of method, apparatus and system of information transmission
CN103107991A (en) Multiple network visual terminal (NVT) event processing method, network video conference system (NVC) and security and protection monitoring platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140101