CN108259448B - Method and device for preventing abnormal disconnection during wheat connection - Google Patents

Method and device for preventing abnormal disconnection during wheat connection Download PDF

Info

Publication number
CN108259448B
CN108259448B CN201611262976.1A CN201611262976A CN108259448B CN 108259448 B CN108259448 B CN 108259448B CN 201611262976 A CN201611262976 A CN 201611262976A CN 108259448 B CN108259448 B CN 108259448B
Authority
CN
China
Prior art keywords
live broadcast
broadcast end
wheat
connection
preventing abnormal
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
CN201611262976.1A
Other languages
Chinese (zh)
Other versions
CN108259448A (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.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network 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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201611262976.1A priority Critical patent/CN108259448B/en
Publication of CN108259448A publication Critical patent/CN108259448A/en
Application granted granted Critical
Publication of CN108259448B publication Critical patent/CN108259448B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/401Support for services or applications wherein the services involve a main real-time session and one or more additional parallel real-time or time sensitive sessions, e.g. white board sharing or spawning of a subconference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The method for preventing abnormal disconnection in wheat connection provided by the embodiment of the invention comprises the following steps: receiving the heartbeat package that B live broadcast end continuously sent and judging whether the B live broadcast end that links the wheat with A live broadcast end breaks off live broadcast room channel connection when the wheat is linked in the unusual disconnection, if not, then sending and keeping the wheat instruction to B live broadcast end, make B live broadcast end and A live broadcast end keep linking the wheat in the preset time, whether withdraw from live broadcast room to B live broadcast end through receiving the heartbeat package that B live broadcast end continuously sent and carry out accurate judgement, thereby can let B live broadcast end keep linking the wheat state according to the judged result, realize the steady operation of live broadcast, live broadcast end to unusual disconnection linking the wheat has carried out timely processing, the technical problem of network anchor is based on the unusual disconnection of removal end and is led to the fact live broadcast unstability is solved.

Description

Method and device for preventing abnormal disconnection during wheat connection
Technical Field
The invention relates to the field of network live broadcast, in particular to a method and a device for preventing abnormal disconnection during wheat connection.
Background
In recent years, the internet mobile live broadcast is more and more exploded, but at present, no realization scheme for preventing abnormal disconnection when a mobile terminal is connected with a microphone exists, and at present, the mobile phone live broadcast of other platforms is connected with the microphone, and the mobile phone live broadcast is automatically disconnected if the connected microphone is abnormal.
Nowadays, the following (including but not limited to) situations are often encountered in mobile-end-based broadcasting by network anchor:
1. network conditions suddenly deteriorate, for example, the outdoor is taken charge of the subway, and a tunnel causes network loss;
2. the broadcasting process of the anchor is interfered by the outside world, such as suddenly accessing the telephone or suddenly receiving a large amount of short messages;
3. misoperation occurs in the process of broadcasting by the anchor, such as the anchor mistakenly clicking a home key, mistakenly clicking short messages/other APP push and the like;
when the conditions are met, live webcasting of the anchor based on the mobile terminal can cause the conditions of disconnection, unstable network or sudden disconnection of the live webcasting, blockage of live webcasting pictures, intermittent sound and the like, so that the live webcasting effect is poor, and the viewing experience of audiences is influenced.
Therefore, the technical problem that the live broadcast is unstable due to the fact that the network anchor disconnects the mobile terminal abnormally, which is needed to be solved by the technical personnel in the field.
Disclosure of Invention
The embodiment of the invention provides a method and a device for preventing abnormal disconnection during wheat connection, which are used for solving the technical problem of unstable live broadcast caused by abnormal disconnection of a mobile terminal based on a network anchor.
The embodiment of the invention provides a method for preventing abnormal disconnection during wheat connection, which comprises the following steps:
s1: receiving heartbeat packets continuously sent by a live broadcast end B, judging whether a live broadcast end B which is connected with a live broadcast end A disconnects a live broadcast room channel when the live broadcast end B abnormally disconnects the live broadcast, and if not, sending a wheat connection keeping instruction to the live broadcast end B so that the live broadcast end B and the live broadcast end A keep connected with the live broadcast end in a preset time;
the heartbeat package comprises live broadcast room online parameters for judging whether the B live broadcast end and the A live broadcast end are in communication connection through a live broadcast room channel.
Preferably, the embodiment of the present invention further includes:
s2: and receiving a heartbeat packet continuously sent by the live broadcast end B and judging whether the live broadcast end B is normally live broadcast, if the live broadcast end B is not normally live broadcast after the preset time, closing a live broadcast room of the live broadcast end B, and disconnecting the microphone of the live broadcast end B.
Preferably, the heartbeat package further includes a disconnection time parameter including disconnection time information between the live broadcast terminal a and the live broadcast terminal B, and the step S1 includes:
and receiving a heartbeat packet continuously sent by the live broadcast end B, judging whether the live broadcast end B normally connects the microphone according to the microphone disconnection time parameter, and if not, executing the step S1.
Preferably, the step S1 specifically includes:
receiving heartbeat packets continuously sent by a live broadcast end B and judging whether the live broadcast end B is disconnected with a live broadcast channel according to the live broadcast channel online parameters, if so, ending wheat connection, and if not, sending a wheat connection keeping instruction to the live broadcast end B so that the live broadcast end B and the live broadcast end A keep wheat connection within a preset time;
and the live broadcast room online parameter is used for judging whether the live broadcast room channel connection between the live broadcast end B and the server is normal.
Preferably, the step S1 is followed by:
and receiving a heartbeat packet continuously sent by a live broadcast room of the B live broadcast end, judging whether the B live broadcast end is normally live broadcast or not according to the live broadcast room online parameter and the wheat disconnection time parameter in the heartbeat packet, if the B live broadcast end is not normally live broadcast after the preset time, closing the live broadcast room of the B live broadcast end, and disconnecting the wheat connection of the B live broadcast end.
The embodiment of the invention provides a device for preventing abnormal disconnection during wheat connection, which is executed based on the method for preventing abnormal disconnection during wheat connection and comprises the following steps:
the judging and wheat connecting keeping module is used for receiving the heartbeat packet continuously sent by the live broadcast end B and judging whether the live broadcast end B which is in wheat connection with the live broadcast end A disconnects the channel connection of the live broadcast room when the wheat connection is abnormally disconnected, if not, a wheat connecting keeping instruction is sent to the live broadcast end B, and the live broadcast end B and the live broadcast end A keep wheat connection in a preset time;
preferably, the embodiment of the present invention further includes:
the first normal live broadcast judging module is used for receiving the heartbeat packet continuously sent by the B live broadcast end and judging whether the B live broadcast end is normally live broadcast or not, if the heartbeat packet is not normally live broadcast after the preset time, the live broadcast room of the B live broadcast end is closed, and the microphone connecting of the B live broadcast end is disconnected.
Preferably, the embodiment of the present invention further includes:
and the wheat connecting abnormity module is used for receiving the heartbeat packet continuously sent by the live broadcast end B and judging whether the live broadcast end B is normally connected with the wheat or not according to the wheat disconnecting time parameter, and if not, executing judgment and keeping the wheat connecting module.
Preferably, the determining and maintaining wheat connecting module is further configured to:
and receiving a heartbeat packet continuously sent by the live broadcast end B, judging whether the live broadcast end B is disconnected with a live broadcast channel according to the live broadcast channel online parameters, if so, ending wheat connection, and if not, sending a wheat connection keeping instruction to the live broadcast end B, so that the live broadcast end B and the live broadcast end A keep wheat connection within a preset time.
Preferably, the embodiment of the present invention further includes:
and the second normal live broadcast judging module is used for receiving a heartbeat packet continuously sent by a live broadcast room of the B live broadcast end and judging whether the B live broadcast end is normally live broadcast or not according to the live broadcast room online parameters and the wheat disconnection time parameters in the heartbeat packet, and if the B live broadcast end is not normally live broadcast after the preset time, closing the live broadcast room of the B live broadcast end and disconnecting the wheat connection of the B live broadcast end.
The embodiment of the invention provides a system for preventing abnormal disconnection during wheat connection, which comprises: the device for preventing abnormal disconnection during wheat connection, the live broadcast end A and the live broadcast end B;
the live broadcast end A is connected with the device for preventing abnormal disconnection during wheat connection;
and the live broadcast end B is connected with the device for preventing abnormal disconnection during wheat connection.
According to the technical scheme, the embodiment of the invention has the following advantages:
the method for preventing abnormal disconnection in wheat connection provided by the embodiment of the invention comprises the following steps: receiving the heartbeat package that B live broadcast end continuously sent and judging whether the B live broadcast end that links the wheat with A live broadcast end breaks off live broadcast room channel connection when the wheat is linked in the unusual disconnection, if not, then sending and keeping the wheat instruction to B live broadcast end, make B live broadcast end and A live broadcast end keep linking the wheat in the preset time, whether withdraw from live broadcast room to B live broadcast end through receiving the heartbeat package that B live broadcast end continuously sent and carry out accurate judgement, thereby can let B live broadcast end keep linking the wheat state according to the judged result, realize the steady operation of live broadcast, live broadcast end to unusual disconnection linking the wheat has carried out timely processing, the technical problem of network anchor is based on the unusual disconnection of removal end and is led to the fact live broadcast unstability is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic diagram of an embodiment of a method for preventing abnormal disconnection during wheat connection according to the present invention;
FIG. 2 is a schematic diagram of another embodiment of a method for preventing abnormal disconnection during wheat connection according to the present invention;
FIG. 3 is a schematic diagram of an embodiment of an apparatus for preventing abnormal disconnection during wheat connection according to the present invention;
FIG. 4 is a schematic diagram of an embodiment of a system for preventing an abnormal disconnection during a wheat connection according to the present invention;
fig. 5 is a schematic diagram of an application example of a method for preventing abnormal disconnection during wheat connection according to an embodiment of the present invention;
wherein the reference numbers are as follows:
301. judging and maintaining a wheat connecting module; 302. a first normal live broadcast judging module; 303. a wheat connection exception module; 304. a second normal live broadcast judging module; 401. a device for preventing abnormal disconnection during wheat connection; 402. a, a live broadcast end; 403. and B, live broadcasting.
Detailed Description
The embodiment of the invention provides a method and a device for preventing abnormal disconnection during wheat connection, which are used for solving the technical problem of unstable live broadcast caused by abnormal disconnection of a mobile terminal based on a network anchor.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, an embodiment of the present invention provides a method for preventing an abnormal disconnection during a microphone connection, including:
101: receiving heartbeat packets continuously sent by a live broadcast end B, judging whether a live broadcast end B which is connected with a live broadcast end A disconnects a live broadcast room channel when the live broadcast end B abnormally disconnects the live broadcast, and if not, sending a wheat connection keeping instruction to the live broadcast end B so that the live broadcast end B and the live broadcast end A keep connected with the live broadcast end in a preset time;
the heartbeat package comprises live broadcast room online parameters for judging whether the B live broadcast end and the A live broadcast end are in communication connection through a live broadcast room channel.
The foregoing is a detailed description of an embodiment of a method for preventing abnormal disconnection during wheat connection according to an embodiment of the present invention, and another embodiment of the method for preventing abnormal disconnection during wheat connection according to an embodiment of the present invention is described below in detail.
Referring to fig. 2, another embodiment of the present invention provides a method for preventing an abnormal disconnection during a microphone connection, including:
201: and receiving a heartbeat packet continuously sent by the live broadcast end B, judging whether the live broadcast end B normally connects the microphone according to the microphone disconnection time parameter, and if not, executing the step 202.
202: receiving heartbeat packets continuously sent by a live broadcast end B and judging whether the live broadcast end B is disconnected with a live broadcast channel according to the live broadcast channel online parameters, if so, ending wheat connection, and if not, sending a wheat connection keeping instruction to the live broadcast end B so that the live broadcast end B and the live broadcast end A keep wheat connection within a preset time;
203: and receiving a heartbeat packet continuously sent by the live broadcast end B, judging whether the live broadcast end B is normally live broadcast or not according to the live broadcast room online parameter and the wheat disconnection time parameter in the heartbeat packet, if the live broadcast end B is not normally live broadcast after the preset time, closing the live broadcast room of the live broadcast end B, and disconnecting the wheat connection of the live broadcast end B.
The heartbeat package comprises live broadcast room online parameters for judging whether the B live broadcast end and the A live broadcast end are in communication connection through a live broadcast room channel.
The heartbeat package further comprises a wheat disconnection time parameter containing the wheat disconnection time information of the live broadcast end A and the live broadcast end B
Live broadcast room on-line parameter contains B live broadcast end and prevents that the live broadcast room channel between the device of unusual broken string when linking the wheat is connected information whether normal, is similar to the PING method between computer and the route, can send a test data package to the device of unusual broken string when preventing linking the wheat when B live broadcast end based on the live broadcast room channel, and the device of unusual broken string when preventing linking the wheat can return a confirmation data package to B live broadcast end based on the live broadcast room channel again according to the test data package, proves B live broadcast end and prevents to link the device of unusual broken string when wheat and normally connect, at this moment live broadcast room on-line parameter display predetermine express normally connected numerical value (for example 1). If the B live broadcast end does not receive the confirmation data packet, the connection is proved to be abnormal, and at the moment, the live broadcast room online parameter displays a preset numerical value (such as 0) representing abnormal connection.
Therefore, the live broadcast room online parameter can be used for judging whether the live broadcast room channel connection between the live broadcast end B and the server is normal.
The disconnection time parameter is also performed by using a method similar to the live broadcast room online parameter, but the preset value representing the disconnection time is increased along with the time, for example, every 1 second, the value representing the disconnection time is increased by 1. Specifically, when the PING method is used to confirm that the B live broadcast end does not disconnect the microphone, the microphone disconnecting time parameter is a preset numerical value (for example, 0) representing normal microphone connecting, and when the PING method is used to confirm that the B live broadcast end disconnects the microphone, the microphone disconnecting time parameter is a preset numerical value representing microphone disconnecting and increasing with time (for example, the numerical value initial value is 1 and the numerical value increases by 1 every 1 second of time), and the B live broadcast end is instructed to connect the microphone normally again.
The embodiment of the invention improves the experience of the mobile terminal user, enables the anchor and the user to keep the continuous wheat more smooth, and prevents the continuous wheat from being interrupted and interrupted due to various abnormal reasons.
The foregoing is a detailed description of another embodiment of the method for preventing abnormal disconnection during wheat connection according to the embodiment of the present invention, and an embodiment of the apparatus for preventing abnormal disconnection during wheat connection according to the embodiment of the present invention will be described in detail below.
The embodiment of the invention provides an embodiment of a device for preventing abnormal disconnection during wheat connection, which is executed based on the method for preventing abnormal disconnection during wheat connection and comprises the following steps:
the judging and holding wheat connecting module 301 is used for receiving heartbeat packets continuously sent by the B live broadcast end and judging whether the B live broadcast end which is in wheat connection with the A live broadcast end disconnects a live broadcast channel when the wheat connection is abnormally disconnected, if not, a wheat connecting holding instruction is sent to the B live broadcast end, so that the B live broadcast end and the A live broadcast end keep wheat connection in a preset time;
the first normal live broadcast judging module 302 is configured to receive a heartbeat packet continuously sent by the live broadcast end B and judge whether the live broadcast end B is live normally, and if the live broadcast end B is not live normally after a preset time, close a live broadcast room of the live broadcast end B and disconnect a microphone of the live broadcast end B.
And the wheat connecting abnormity module 303 is used for receiving the heartbeat packet continuously sent by the live broadcast end B and judging whether the live broadcast end B is normally connected with wheat according to the wheat disconnecting time parameter, and if not, executing judgment and keeping the wheat connecting module.
The determining and maintaining wheat connecting module 301 is further specifically configured to:
and receiving a heartbeat packet continuously sent by the B live broadcast end and judging whether the B live broadcast end breaks off the channel connection of the live broadcast room according to the on-line parameters of the live broadcast room, if so, ending the wheat connection, and if not, sending a wheat connection keeping instruction to the B live broadcast end, so that the B live broadcast end and the A live broadcast end keep wheat connection within a preset time.
And the second normal live broadcast judging module 304 is configured to receive a heartbeat packet continuously sent by the live broadcast room of the B live broadcast end, judge whether the B live broadcast end is in normal live broadcast or not according to the live broadcast room online parameter and the disconnection live broadcast time parameter in the heartbeat packet, and close the live broadcast room of the B live broadcast end and disconnect the live broadcast of the B live broadcast end if the B live broadcast end is not in normal live broadcast after a preset time.
The foregoing is a detailed description of an embodiment of an apparatus for preventing abnormal disconnection during wheat connection according to an embodiment of the present invention, and the following is a detailed description of an embodiment of a system for preventing abnormal disconnection during wheat connection according to an embodiment of the present invention.
An embodiment of the present invention provides a system for preventing an abnormal disconnection during a microphone connection, including: the device 401 for preventing abnormal disconnection during wheat connection, the live broadcast end a 402 and the live broadcast end B403;
the A live broadcast end 402 is connected with a device 401 for preventing abnormal disconnection during wheat connection;
the B live broadcast terminal 403 is connected with a device 401 for preventing abnormal disconnection during wheat connection.
The foregoing is a detailed description of an embodiment of a system for preventing abnormal disconnection during wheat connection according to an embodiment of the present invention, and an application example of a method for preventing abnormal disconnection during wheat connection according to an embodiment of the present invention is described below in detail.
In an application example of the method for preventing abnormal disconnection during wheat connection provided by the embodiment of the invention, the anchor A represents a user using a live end A, the anchor B represents a user using a live end B, and the wheat connection between the anchor A and the anchor B means that the live end A is connected with the live end B.
In this application, anchor a and anchor B are connected to each other, and include:
judging whether the anchor B exits the live broadcast room or not when the anchor B is abnormally disconnected from the live broadcast room, if so, ending the wheat connection, and if not, entering the wheat connection to wait for 1 minute according to a heartbeat mechanism;
and judging whether normal broadcasting is recovered within 1 minute, if so, continuing to connect the wheat, and if not, disconnecting the wheat.
In particular, the amount of the solvent to be used,
when the anchor A and the anchor B connect the wheat, once the anchor B disconnects the wheat abnormally and does not leave the live broadcast room, because the anchor B has a server heartbeat mechanism in the live broadcast room, when the network of the anchor B is abnormal or the live broadcast room runs to a background, a heartbeat packet sent to the server can be used for the method;
the heartbeat packet includes: 1. whether the live broadcast is away from a live broadcast room 2, an uplink network 3, a video playing frame rate 4, a playing resolution 5, whether the live broadcast is in a foreground or a background 7, a packet loss rate 8, a time for disconnecting the live broadcast (0 if the live broadcast is not disconnected) and the like.
If B does not leave the live room completely, the server returns a keep alive command to B to keep B alive with A for 1 minute. The heartbeat is sent again until 1 minute later, and if B is not normally played in 1 minute, the server closes the live broadcast of B, so that the microphone is disconnected.
The server in this application example may be a device for preventing an abnormal disconnection during a microphone connection.
It should be noted that if the anchor B (i.e., the live broadcast end B) is suddenly disconnected from the network, and the server cannot receive the heartbeat packet of the mobile phone (i.e., the live broadcast end B) within 3 to 5 seconds, it is determined that the mobile phone is abnormally disconnected from the microphone, and the normal broadcast is sent with the heartbeat packet.
In the application example, the anchor B (i.e., the live broadcast end of B) sends the heartbeat packet to the server every moment, basically once every 3 seconds.
And judging whether the live broadcast end B abnormally disconnects the microphone or not according to the 8 th item in the heartbeat packet.
The anchor B normally leaves the live broadcast room (namely the live broadcast end B exits the live broadcast room connection), a parameter is returned to the server, so that the server confirms that the state of the live broadcast end B is that the live broadcast end B leaves the live broadcast room. If the anchor B does not leave the live broadcast room, and the heartbeat packet sent by the live broadcast end B is not received by the server for 10-15 seconds continuously, the live broadcast end B can be considered to be not normally live broadcast.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. A method for preventing abnormal disconnection during wheat connection is characterized by comprising the following steps:
s0: receiving a heartbeat packet continuously sent by the live broadcast end B, judging whether the live broadcast end B normally connects the microphone according to the microphone disconnection time parameter, and if not, executing the step S1;
s1: receiving heartbeat packets continuously sent by a live broadcast end B, judging whether a live broadcast end B which is connected with a live broadcast end A disconnects a live broadcast room channel when the live broadcast end B abnormally disconnects the live broadcast, and if not, sending a wheat connection keeping instruction to the live broadcast end B so that the live broadcast end B and the live broadcast end A keep connected with the live broadcast end in a preset time;
the heartbeat package comprises live broadcast room online parameters for judging whether the live broadcast end B and the live broadcast end A are in communication connection through a live broadcast room channel and disconnection and connection time parameters containing disconnection and connection time information of the live broadcast end A and the live broadcast end B.
2. The method for preventing abnormal disconnection during wheat connection according to claim 1, wherein the step S1 is followed by further comprising:
s2: and receiving a heartbeat packet continuously sent by the live broadcast end B and judging whether the live broadcast end B is normally live broadcast, if the live broadcast end B is not normally live broadcast after the preset time, closing a live broadcast room of the live broadcast end B, and disconnecting the microphone of the live broadcast end B.
3. The method for preventing abnormal disconnection during wheat connection according to claim 1, wherein the step S1 specifically comprises:
receiving heartbeat packets continuously sent by a live broadcast end B and judging whether the live broadcast end B is disconnected with a live broadcast channel according to the live broadcast channel online parameters, if so, ending wheat connection, and if not, sending a wheat connection keeping instruction to the live broadcast end B so that the live broadcast end B and the live broadcast end A keep wheat connection within a preset time;
and the live broadcast room online parameter is used for judging whether the live broadcast room channel connection between the live broadcast end B and the server is normal.
4. The method for preventing abnormal disconnection during wheat connection according to claim 1, wherein the step S1 is followed by further comprising:
and receiving a heartbeat packet continuously sent by the live broadcast end B, judging whether the live broadcast end B is normally live broadcast or not according to the live broadcast room online parameter and the wheat disconnection time parameter in the heartbeat packet, if the live broadcast end B is not normally live broadcast after the preset time, closing the live broadcast room of the live broadcast end B, and disconnecting the wheat connection of the live broadcast end B.
5. An apparatus for preventing abnormal disconnection during wheat connection, which is implemented based on the method for preventing abnormal disconnection during wheat connection as claimed in any one of claims 1 to 4, and comprises:
the wheat connecting abnormity module is used for receiving the heartbeat packet continuously sent by the live broadcast end B and judging whether the live broadcast end B is normally connected with wheat or not according to the wheat disconnecting time parameter, and if not, executing judgment and keeping the wheat connecting module;
and the judging and wheat connecting keeping module is used for receiving the heartbeat packet continuously sent by the B live broadcast end and judging whether the B live broadcast end which is connected with the A live broadcast end disconnects the channel connection of the live broadcast room when the wheat is abnormally disconnected, if not, a wheat connecting keeping instruction is sent to the B live broadcast end, so that the B live broadcast end and the A live broadcast end keep connecting the wheat within the preset time.
6. The device for preventing abnormal disconnection during wheat connection according to claim 5, further comprising:
the first normal live broadcast judging module is used for receiving the heartbeat packet continuously sent by the B live broadcast end and judging whether the B live broadcast end is normally live broadcast or not, if the heartbeat packet is not normally live broadcast after the preset time, the live broadcast room of the B live broadcast end is closed, and the microphone connecting of the B live broadcast end is disconnected.
7. The device for preventing abnormal disconnection during wheat connecting according to claim 5, wherein the determining and maintaining wheat connecting module is further configured to:
and receiving a heartbeat packet continuously sent by the live broadcast end B, judging whether the live broadcast end B is disconnected with a live broadcast channel according to the live broadcast channel online parameters, if so, ending wheat connection, and if not, sending a wheat connection keeping instruction to the live broadcast end B, so that the live broadcast end B and the live broadcast end A keep wheat connection within a preset time.
8. The device for preventing abnormal disconnection during wheat connection according to claim 5, further comprising:
and the second normal live broadcast judging module is used for receiving a heartbeat packet continuously sent by the B live broadcast end and judging whether the B live broadcast end is normally live broadcast or not according to the live broadcast room online parameter and the wheat disconnection time parameter in the heartbeat packet, and if the B live broadcast end is not normally live broadcast after the preset time, closing the live broadcast room of the B live broadcast end and disconnecting the wheat connection of the B live broadcast end.
9. A system for preventing abnormal disconnection during wheat connection, comprising: the device for preventing abnormal disconnection during wheat connection, A live broadcast end and B live broadcast end according to any one of claims 5 to 8;
the live broadcast end A is connected with the device for preventing abnormal disconnection during wheat connection;
and the live broadcast end B is connected with the device for preventing abnormal disconnection during wheat connection.
CN201611262976.1A 2016-12-30 2016-12-30 Method and device for preventing abnormal disconnection during wheat connection Active CN108259448B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611262976.1A CN108259448B (en) 2016-12-30 2016-12-30 Method and device for preventing abnormal disconnection during wheat connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611262976.1A CN108259448B (en) 2016-12-30 2016-12-30 Method and device for preventing abnormal disconnection during wheat connection

Publications (2)

Publication Number Publication Date
CN108259448A CN108259448A (en) 2018-07-06
CN108259448B true CN108259448B (en) 2020-12-15

Family

ID=62721736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611262976.1A Active CN108259448B (en) 2016-12-30 2016-12-30 Method and device for preventing abnormal disconnection during wheat connection

Country Status (1)

Country Link
CN (1) CN108259448B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110971922B (en) * 2018-09-30 2021-11-09 武汉斗鱼网络科技有限公司 Live broadcast and microphone connection state monitoring method, client, server, medium and system
CN110996109A (en) * 2019-11-21 2020-04-10 北京达佳互联信息技术有限公司 Abnormal live broadcast room cleaning method and device, live broadcast server and storage medium
CN111711830B (en) * 2020-06-19 2022-08-05 广州市百果园信息技术有限公司 Live broadcast bit supplementing method and device, server and storage medium
CN114205633B (en) * 2020-08-31 2024-03-08 腾讯科技(深圳)有限公司 Live interaction method and device, storage medium and electronic equipment
CN112738538B (en) * 2020-12-25 2023-06-06 深圳市珍爱捷云信息技术有限公司 Live broadcasting room on-hook behavior detection method and device, electronic equipment and computer readable storage medium
CN112911325B (en) * 2021-01-29 2023-07-14 百果园技术(新加坡)有限公司 Method and device for recovering inter-live-broadcast room connection
CN113079384A (en) * 2021-03-25 2021-07-06 百果园技术(新加坡)有限公司 Live broadcast room owner transfer method, device, server and storage medium
CN113094146B (en) * 2021-05-08 2023-04-07 腾讯科技(深圳)有限公司 Interaction method, device and equipment based on live broadcast and computer readable storage medium
CN113271470B (en) * 2021-05-17 2023-05-23 广州繁星互娱信息科技有限公司 Live broadcast wheat connecting method, device, terminal, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101480052A (en) * 2006-06-30 2009-07-08 卢森特技术有限公司 Signal distribution system with interrupt processing and trick play functionality
CN104184755A (en) * 2013-05-21 2014-12-03 华为终端有限公司 Webpage real-time communication method, system and terminal
CN104853138A (en) * 2015-05-05 2015-08-19 无锡天脉聚源传媒科技有限公司 Video conference network monitoring method, server and client
CN105472443A (en) * 2016-01-13 2016-04-06 杭州当贝网络科技有限公司 Direct broadcast source control method and system
CN105635811A (en) * 2014-11-06 2016-06-01 中广美意文化传播控股有限公司 Advertisement playing method and device based on broadcast and TV wireless live broadcast signal
CN105992058A (en) * 2015-06-05 2016-10-05 乐视致新电子科技(天津)有限公司 Prompting method, device and system for video playing

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163113B (en) * 2006-10-12 2011-01-26 阿里巴巴集团控股有限公司 Disconnection reconnecting system and method of instant communication
CN102238160B (en) * 2010-05-06 2014-05-14 腾讯数码(深圳)有限公司 Device and method for replaying scenes after disconnection and reconnection
CN102497498B (en) * 2011-10-10 2014-12-10 刘少峰 Broadcast control method, device and system for broadcast television
US11425079B2 (en) * 2014-12-16 2022-08-23 All Phase Consulting, Inc. Simultaneous uninterrupted media play and call management
CN105915492A (en) * 2015-12-04 2016-08-31 乐视云计算有限公司 Network live broadcasting method and device, server and offline control equipment
CN105933375B (en) * 2016-03-30 2019-12-24 广州华多网络科技有限公司 Method and device for monitoring microphone connection session and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101480052A (en) * 2006-06-30 2009-07-08 卢森特技术有限公司 Signal distribution system with interrupt processing and trick play functionality
CN104184755A (en) * 2013-05-21 2014-12-03 华为终端有限公司 Webpage real-time communication method, system and terminal
CN105635811A (en) * 2014-11-06 2016-06-01 中广美意文化传播控股有限公司 Advertisement playing method and device based on broadcast and TV wireless live broadcast signal
CN104853138A (en) * 2015-05-05 2015-08-19 无锡天脉聚源传媒科技有限公司 Video conference network monitoring method, server and client
CN105992058A (en) * 2015-06-05 2016-10-05 乐视致新电子科技(天津)有限公司 Prompting method, device and system for video playing
CN105472443A (en) * 2016-01-13 2016-04-06 杭州当贝网络科技有限公司 Direct broadcast source control method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
网络视频直播间资源优势与创新机制的研究;张曦元;《中国优秀硕士学位论文全文数据库 信息科技辑》;20150731(第7期);I141-33 *

Also Published As

Publication number Publication date
CN108259448A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN108259448B (en) Method and device for preventing abnormal disconnection during wheat connection
CN110417915B (en) Push message transmission method and device, storage medium and electronic equipment
US8705371B2 (en) Locally diagnosing and troubleshooting service issues
CN110266810B (en) Message receiving method, device and storage medium based on MQTT protocol
CN110971922B (en) Live broadcast and microphone connection state monitoring method, client, server, medium and system
CN108616914B (en) Method and device for reconnection of broken line
CN104980898A (en) Information pushing method, system and equipment
CN107172444A (en) A kind of network direct broadcasting reconnection method and system
US20160043924A1 (en) System and method for monitoring user activity on a plurality of networked computing devices
CN107078920B (en) Cross-layer link failure warning
CN109962827B (en) Equipment link detection method, device, equipment and readable storage medium
CN105515937B (en) Instant messaging method, terminal, server and system
CN106453231A (en) Signaling obtaining and transmission method and device
CN105978796A (en) Message communication method and system based on unstable mobile network
CN105553762B (en) Communication means, system and related device between household electrical appliance and mobile terminal
CN105992058A (en) Prompting method, device and system for video playing
CN112911325B (en) Method and device for recovering inter-live-broadcast room connection
CN106020792A (en) Display control method and display control device
CN106454538B (en) Real-time bullet screen interaction method
EP2879354A1 (en) WebRTC communication method and user equipment
CN104506535A (en) Data pushing method and data pushing system
CN106685600B (en) Message delivery method in local area network between work station
US20190200057A1 (en) Streaming system with a backup mechanism and a backup method thereof
CN113132758B (en) Control method, device and computer program product of content distribution network
CN115720193A (en) Multicast-based software deployment method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210119

Address after: 510000 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 28th floor, block B1, Wanda Plaza, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right