CN108111879A - A kind of method, apparatus and electronic equipment of net cast abnormality processing - Google Patents

A kind of method, apparatus and electronic equipment of net cast abnormality processing Download PDF

Info

Publication number
CN108111879A
CN108111879A CN201711324378.7A CN201711324378A CN108111879A CN 108111879 A CN108111879 A CN 108111879A CN 201711324378 A CN201711324378 A CN 201711324378A CN 108111879 A CN108111879 A CN 108111879A
Authority
CN
China
Prior art keywords
live
live streaming
client
streaming client
connection
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
CN201711324378.7A
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.)
Fujian Gold Online Mdt Infotech Ltd
Original Assignee
Fujian Gold Online Mdt Infotech 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 Fujian Gold Online Mdt Infotech Ltd filed Critical Fujian Gold Online Mdt Infotech Ltd
Priority to CN201711324378.7A priority Critical patent/CN108111879A/en
Publication of CN108111879A publication Critical patent/CN108111879A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel

Abstract

The present invention provides a kind of method, apparatus and electronic equipment of net cast abnormality processing, it is related to the technical field of signal processing, this method includes:The default heartbeat connection of real time monitoring;Whether the live state based on default heartbeat connection judgment live streaming client there is exception;If it is judged that be, then the abnormal live information that client is broadcast live is preserved, after abnormal broken line caused by the present invention is solved in net cast in the prior art due to uncontrollable, the technical issues of can not realizing reconnect.

Description

A kind of method, apparatus and electronic equipment of net cast abnormality processing
Technical field
The present invention relates to the technical field of signal processing, more particularly, to a kind of method of net cast abnormality processing, dress It puts and electronic equipment.
Background technology
As China Internet user popularity rate will be more than half, China Internet number of netizen is sure to occupy the first in the world.Net cast The bellwether even more to emerge in internet new industry, net cast development is swift and violent, and user increases and even more increasingly doubles.Video is straight It broadcasts and refers to be broadcast live using internet and stream media technology, video is because having merged the abundant element such as image, word, sound, sound Shape and cyclopentadienyl, excellent are increasingly becoming the mainstream expression way of internet.Video is built strong by true, lively propagation Strong presence, attracts eyeball, and reaches communication effect with deep impression, that memory is lasting.Due to, in net cast it is possible that Client is broadcast live to collapse extremely, using abnormal conditions such as suspensions, therefore, a kind of good net cast experience is for user The very important and urgently to be resolved hurrily program developer most important thing.
In view of the above problems, do not propose effective solution also.
The content of the invention
The embodiment of the present invention is designed to provide a kind of method, apparatus and electronic equipment of net cast abnormality processing, After abnormal broken line caused by solving in net cast in the prior art due to uncontrollable, reconnect can not be realized The technical issues of.
An embodiment of the present invention provides a kind of method of net cast abnormality processing, including:The default heartbeat of real time monitoring connects It connects, wherein, the default heartbeat, which is connected as live streaming client and server, establishes cast communication and is connected the heartbeat company built afterwards The system of picking;Whether exception is occurred based on the live state that client is broadcast live described in the default heartbeat connection judgment;If it is determined that Going out is, then to it is described live streaming client abnormal live information preserve, wherein, it is described exception live information include with down toward It is one of few:User information is broadcast live in the information of direct broadcasting room, and platform is broadcast live, and time, downtime is broadcast live.
Further, whether exception is occurred based on the live state that client is broadcast live described in the default heartbeat connection judgment Including:Judge whether the default heartbeat connection is normal connection status;If it is judged that it is, it is determined that the live streaming client Live state do not occur exception;It is if it is judged that no, it is determined that the live state of the live streaming client occurs abnormal.
Further, the method further includes:When detecting that the live streaming client is again turned on live streaming, described in wake-up Abnormal live information;Connection request is sent to the live streaming client, wherein, the connection request is reconnect last moment Extremely the request for the live streaming exited;If the response message got is connection, reconnected for the live streaming client The live streaming that one moment exited extremely;If the response message got removes the abnormal live information to be not connected to.
Further, the method further includes:It is exited extremely in the live streaming client reconnect last moment straight After broadcasting, target user is allowed to continue to watch the live content of the live streaming client, wherein, the target user is to have bought The user for the live streaming that the last moment exits extremely.
Further, the method further includes:The identification information that the live streaming client is sent is obtained, wherein, the mark It is the identification information for being broadcast live after client unlatching live streaming, being sent to server to know information;Getting the mark letter After breath, heartbeat mechanism is opened for the live streaming client, the live streaming client is established to be based on the unlatching heartbeat mechanism The default heartbeat between above-mentioned server is connected.
According to embodiments of the present invention, a kind of device of net cast abnormality processing is additionally provided, including:Monitoring unit is used In the default heartbeat connection of real time monitoring, wherein, the default heartbeat is connected as live streaming client and establishes cast communication with server Connect the heartbeat connection mechanism built afterwards;Judging unit, for being based on that client is broadcast live described in the default heartbeat connection judgment Whether the live state at end there is exception;Storage unit, for if it is judged that in the case of being, to the live streaming client Abnormal live information preserved, wherein, it is described exception live information include at least one of:The information of direct broadcasting room, directly Platform is broadcast live in broadcasting user information, and time, downtime is broadcast live.
Further, the judging unit includes:First judgment module, for judge the default heartbeat connection whether be Normal connection status;First determining module has been used in the case where judging to be, determines the live state of the live streaming client Do not occur exception;Second determining module, for judge it is no in the case of, determine it is described live streaming client live state go out It is now abnormal.
Further, described device is additionally operable to:When detecting that the live streaming client is again turned on live streaming, described in wake-up Abnormal live information;Connection request is sent to the live streaming client, wherein, the connection request is reconnect last moment Extremely the request for the live streaming exited;If the response message got is connection, reconnected for the live streaming client The live streaming that one moment exited extremely;If the response message got removes the abnormal live information to be not connected to.
Further, described device is additionally operable to:It is exited extremely in the live streaming client reconnect last moment straight After broadcasting, target user is allowed to continue to watch the live content of the live streaming client, wherein, the target user is to have bought The user for the live streaming that the last moment exits extremely.
According to embodiments of the present invention, a kind of electronic equipment is additionally provided, including memory, processor and is stored in described deposit On reservoir and the computer program that can run on the processor, the processor are realized when performing the computer program State the method.
In embodiments of the present invention, default heartbeat connection is monitored in real time first, wherein, default heartbeat is connected as live streaming client End establishes cast communication with server and is connected the heartbeat connection mechanism built afterwards;Client is broadcast live based on default heartbeat connection judgment Whether the live state at end there is exception;If it is judged that it is that then the abnormal live information that client is broadcast live is preserved. In the embodiment of the present invention, by being provided with heartbeat connection mechanism, reach and judged client is broadcast live whether live state occur different Often, and the purpose of corresponding abnormality processing is carried out, and then solved in net cast in the prior art due to uncontrollable original Caused by after abnormal broken line, the technical issues of can not realizing reconnect, it is achieved thereby that making to main broadcaster and viewing client The technique effect more preferably experienced with net cast service band.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution of the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in describing below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is a kind of flow chart of net cast abnormality eliminating method according to embodiments of the present invention;
Fig. 2 is step S104 in a kind of optional net cast abnormality eliminating method provided according to embodiments of the present invention Flow chart;
Fig. 3 is the flow chart handled there is abnormal net cast provided according to embodiments of the present invention;
Fig. 4 is a kind of schematic diagram of the device of net cast abnormality processing according to embodiments of the present invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiment be part of the embodiment of the present invention rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Lower all other embodiments obtained, belong to the scope of protection of the invention.
Fig. 1 is a kind of method of net cast abnormality processing according to embodiments of the present invention, as shown in Figure 1, this method bag Include following steps:
Step S102 monitors default heartbeat connection in real time, wherein, the default heartbeat is connected as live streaming client and service Device establishes the heartbeat connection mechanism that cast communication connection is built afterwards.
In embodiments of the present invention, it can be the APP on intelligent terminal that client, which is broadcast live, wherein, intelligence Terminal device can be the terminal devices such as smart mobile phone, tablet computer.
Whether step S104, the live state based on default heartbeat connection judgment live streaming client there is exception.
Step S106, if it is judged that be that then the abnormal live information that client is broadcast live is preserved, wherein, it is described Abnormal live information includes at least one of:User information is broadcast live in the information of direct broadcasting room, and platform is broadcast live, and the time is broadcast live, offline Time.
Step S108 if it is judged that not being then to continue current net cast, does not do it any processing.
It should be noted that above-mentioned steps S102 to step S108 can be performed by the server of net cast, lead to Whether cross the server abnormal to monitor the live state of live streaming client, and in an exceptional case, to live streaming client Abnormal live information is preserved.When live streaming client is reached the standard grade again, it becomes possible to be carried out again by the exception live information Connection.
In embodiments of the present invention, default heartbeat connection is monitored in real time first, wherein, the default heartbeat is connected as being broadcast live Client establishes cast communication with server and is connected the heartbeat connection mechanism built afterwards;Based on the default heartbeat connection judgment Whether the live state of the live streaming client there is exception;If it is judged that it is, then to the abnormal straight of the live streaming client Information is broadcast to be preserved.In embodiments of the present invention, by being provided with heartbeat connection mechanism, having reached judgement live streaming client is It is no live state exception occur, and the purpose of corresponding abnormality processing is carried out, it solves in net cast in the prior art After abnormal broken line caused by due to uncontrollable, the technical issues of can not realizing reconnect, it is achieved thereby that main broadcaster The technique effect more preferably experienced using net cast service band with viewing client.
In an optional embodiment, as shown in Fig. 2, step S104, based on the default heartbeat connection judgment institute Whether the live state for stating live streaming client there is abnormal include the following steps:
Step S1041 judges whether default heartbeat connection is normal connection status;
Step S1042, if it is judged that being, it is determined that the live state that client is broadcast live does not occur exception;
Step S1043, if it is judged that no, it is determined that exception occurs in the live state that client is broadcast live.
In embodiments of the present invention, first, default heartbeat connection is monitored in real time, wherein, the default heartbeat is connected as directly It broadcasts client and establishes cast communication with server and be connected the heartbeat connection mechanism built afterwards;Sentenced based on the default heartbeat connection Whether the live state of the disconnected live streaming client there is exception;If it is judged that it is, then to the exception of the live streaming client Live information is preserved.
Specifically, in embodiments of the present invention, after user successfully starts broadcasting, heartbeat connection is established, and live streaming client displaying is used The room information at family, other users can see the room information of live streaming user and enter watching video live broadcast content, if video Occurs situations such as collapse of live streaming client exception, abnormal suspension during live streaming, at this point, live streaming client is not handed over server Mutually, then server cannot monitor the heartbeat of user, judge that abnormal conditions occurs in the net cast of user accordingly, and then to it Do further abnormality processing.
It should be noted that in embodiments of the present invention, the work(established heartbeat connection mechanism and monitored in real time It can be built upon what is realized on the basis of PHP language (supertext pre-process language, Hypertext Preprocessor).
In embodiments of the present invention, by being provided with heartbeat connection mechanism, reached and judged to be broadcast live whether client occurs Live state is abnormal, and carries out the purpose of corresponding abnormality processing, solves in net cast in the prior art due to not After abnormal broken line caused by controllable reason, the technical issues of can not realizing reconnect, it is achieved thereby that main broadcaster and viewing The technique effect that client is more preferably experienced using net cast service band.
In another optional embodiment, as shown in figure 3, carrying out processing bag to the net cast for exception occur Include following steps:
Step S301 when detecting that live streaming client is again turned on live streaming, wakes up abnormal live information.
Step S302 sends connection request to live streaming client, wherein, the connection request is reconnect last moment Extremely the request for the live streaming exited.
If the response message got is connection, it is different to reconnect last moment for live streaming client by step S303 The live streaming often exited.
Step S304, if the response message got removes abnormal live information to be not connected to.
In embodiments of the present invention, after client abnormal broken line is broadcast live, if server is detecting live streaming client When end is again turned on live streaming, abnormal live information is waken up, and connection request is sent to live streaming client, to ask live streaming client Whether it is again coupled to.If the response message of client is broadcast live as connection, it is different to reconnect last moment for live streaming client The live streaming often exited;If the response message got removes abnormal live information to be not connected to.
Specifically, in embodiments of the present invention, the exception for live streaming client exits situation, when live streaming client starts broadcasting Server can preserve the room information (that is, above-mentioned exception live information) during user live broadcast.When live streaming client exits extremely When above- mentioned information is caused to be saved.When user starts broadcasting again, abnormal live information is used by system wake-up, at this time server inquiry Family whether the live streaming that reconnection last time exits extremely, user's selection is can to continue last time not complete live streaming, otherwise choosing can remove preservation Live streaming room information, reopen new net cast.
In embodiments of the present invention, by being provided with heartbeat connection mechanism, reached and judged to be broadcast live whether client occurs Live state is abnormal, and carries out the purpose of corresponding abnormality processing, solves in net cast in the prior art due to not After abnormal broken line caused by controllable reason, the technical issues of can not realizing reconnect, it is achieved thereby that main broadcaster and viewing The technique effect that client is more preferably experienced using net cast service band.
In another optional embodiment, this method further includes:It is reconnected for the moment in the live streaming client After carving the live streaming exited extremely, target user is allowed to continue to watch the live content of the live streaming client, wherein, the mesh Mark user is the user for having bought the live streaming that the last moment exits extremely.
Specifically, for same live streaming, server saves unique mark of this live streaming when user starts broadcasting, for straight The situation of client disconnection reconnecting is broadcast, for the live video of charge, the user for the live streaming bought is (that is, above-mentioned target is used Family), it can again continue to the live streaming exited extremely of viewing last moment after main broadcaster's reconnection of client is broadcast live.
In another optional embodiment, this method further includes:
The identification information that the live streaming client is sent is obtained, wherein, the identification information is opened for the live streaming client After opening live streaming, to the identification information of server transmission;
After the identification information is got, heartbeat mechanism is opened for the live streaming client, to be based on the unlatching The default heartbeat that heartbeat mechanism is established between the live streaming client and above-mentioned server connects.
In embodiments of the present invention, it is assumed that live content regards live content for wealth, then, when user is at wealth viewing system midpoint Hit start live streaming when, live streaming client calling interface and server are interacted, server receives the unique mark of user After information, heartbeat mechanism is opened to user, wherein, heartbeat is meant establishes a kind of activity mark, live streaming to the connection of user It is normal that the middle holding for keeping connecting just represents heartbeat.And after heartbeat mechanism is opened, the live state of user, Yong Hucheng are changed After work(starts broadcasting, the room information of user is shown, other users can see the room information of live streaming user and are broadcast live into viewing Content.
In conclusion it in embodiments of the present invention, is solved by above-mentioned processing mode in most of net cast patterns Because after abnormal broken line caused by a variety of uncontrollable reasons, the problem of can not be reconnected, this just gives main broadcaster and sight It sees that user brings better experience using Video service, solves the smooth development using basic service.
Embodiment two:
The embodiment of the present invention additionally provides a kind of device of net cast abnormality processing, the net cast exception handling device It is mainly used for performing the net cast abnormality eliminating method that the above of the embodiment of the present invention is provided, the present invention is implemented below The net cast exception handling device that example provides does specific introduction.
Fig. 4 is a kind of schematic diagram of the device of net cast abnormality processing according to embodiments of the present invention, as shown in figure 4, The net cast exception handling device mainly include monitoring unit 10, judging unit 20, storage unit 30, wherein:
Monitoring unit 10, for monitoring default heartbeat connection in real time, wherein, the default heartbeat is connected as live streaming client Cast communication, which is established, with server is connected the heartbeat connection mechanism built afterwards;
Judging unit 20, for whether being gone out based on the live state that client is broadcast live described in the default heartbeat connection judgment It is now abnormal;
Storage unit 30, for if it is judged that in the case of being, to the abnormal live information of the live streaming client It is preserved, wherein, the exception live information includes at least one of:User information, live streaming is broadcast live in the information of direct broadcasting room Time, downtime is broadcast live in platform.
In embodiments of the present invention, default heartbeat connection is monitored in real time first, wherein, default heartbeat is connected as live streaming client End establishes cast communication with server and is connected the heartbeat connection mechanism built afterwards;Client is broadcast live based on default heartbeat connection judgment Whether the live state at end there is exception;If it is judged that it is that then the abnormal live information that client is broadcast live is preserved. In the embodiment of the present invention, by being provided with heartbeat connection mechanism, reach and judged client is broadcast live whether live state occur different Often, and the purpose of corresponding abnormality processing is carried out, and then solved in net cast in the prior art due to uncontrollable original Caused by after abnormal broken line, the technical issues of can not realizing reconnect, it is achieved thereby that making to main broadcaster and viewing client The technique effect more preferably experienced with net cast service band.
Optionally, the judging unit includes:First judgment module, for judging whether the default heartbeat connection is just Normal connection status;First determining module has been used in the case where judging to be, determines the live state of the live streaming client not Occur abnormal;Second determining module, for judge it is no in the case of, determine it is described live streaming client live state occur It is abnormal.
Optionally, described device is additionally operable to:When detecting that the live streaming client is again turned on live streaming, wake up described different Normal live information;Connection request is sent to the live streaming client, wherein, the connection request is different to reconnect last moment The request for the live streaming often exited;If the response message got is connection, upper one is reconnected for the live streaming client The live streaming that moment exits extremely;If the response message got removes the abnormal live information to be not connected to.
Optionally, described device is additionally operable to:In the live streaming that the live streaming client reconnect last moment exits extremely Afterwards, target user is allowed to continue to watch the live content of the live streaming client, wherein, the target user is has bought State the user for the live streaming that last moment exits extremely.
Optionally, which is additionally operable to:The identification information that the live streaming client is sent is obtained, wherein, the mark letter It ceases after opening live streaming for the live streaming client, the identification information sent to server;Get the identification information it Afterwards, for it is described live streaming client open heartbeat mechanism, be based on it is described unlatching heartbeat mechanism establish it is described live streaming client with it is upper State the default heartbeat connection between server.
The technique effect of the device that the embodiment of the present invention is provided, realization principle and generation and preceding method embodiment phase Together, to briefly describe, device embodiment part does not refer to part, can refer to corresponding contents in preceding method embodiment.
In addition, in the description of the embodiment of the present invention, unless otherwise clearly defined and limited, term " installation ", " phase Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected or be integrally connected;It can To be mechanical connection or be electrically connected;It can be directly connected, can also be indirectly connected by intermediary, Ke Yishi Connection inside two elements.For the ordinary skill in the art, with concrete condition above-mentioned term can be understood at this Concrete meaning in invention.
In the description of the present invention, it is necessary to explanation, term " " center ", " on ", " under ", "left", "right", " vertical ", The orientation or position relationship of the instructions such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely to Convenient for the description present invention and simplify description rather than instruction or imply signified device or element must have specific orientation, With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ", " the 3rd " is only used for description purpose, and it is not intended that instruction or hint relative importance.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit may be referred to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, Only a kind of division of logic function, can there is other dividing mode in actual implementation, in another example, multiple units or component can To combine or be desirably integrated into another system or some features can be ignored or does not perform.It is another, it is shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be by some communication interfaces, device or unit it is indirect Coupling or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is independent production marketing or in use, can be with It is stored in the non-volatile computer read/write memory medium that a processor can perform.Based on such understanding, the present invention The part that substantially contributes in other words to the prior art of technical solution or the part of the technical solution can be with software The form of product embodies, which is stored in a storage medium, including some instructions use so that One computer equipment (can be personal computer, server or the network equipment etc.) performs each embodiment institute of the present invention State all or part of step of method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with Store the medium of program code.
Finally it should be noted that:Embodiment described above is only the specific embodiment of the present invention, to illustrate the present invention Technical solution, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those of ordinary skill in the art that:Any one skilled in the art In the technical scope disclosed by the present invention, can still modify to the technical solution recorded in previous embodiment or can be light It is readily conceivable that variation or equivalent substitution is carried out to which part technical characteristic;And these modifications, variation or replacement, do not make The essence of appropriate technical solution departs from the spirit and scope of technical solution of the embodiment of the present invention, should all cover the protection in the present invention Within the scope of.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.

Claims (10)

  1. A kind of 1. method of net cast abnormality processing, which is characterized in that including:
    Real time monitoring is preset heartbeat and is connected, wherein, the default heartbeat is connected as live streaming client and server is established to be broadcast live and led to The heartbeat connection mechanism that letter connection is built afterwards;
    Whether exception is occurred based on the live state that client is broadcast live described in the default heartbeat connection judgment;
    If it is judged that be that then the abnormal live information of the live streaming client is preserved, wherein, the abnormal live streaming letter Breath includes at least one of:User information is broadcast live in the information of direct broadcasting room, and platform is broadcast live, and time, downtime is broadcast live.
  2. 2. it according to the method described in claim 1, it is characterized in that, is based on that client is broadcast live described in the default heartbeat connection judgment Whether the live state at end there is abnormal include:
    Judge whether the default heartbeat connection is normal connection status;
    If it is judged that it is, it is determined that the live state of the live streaming client does not occur exception;
    It is if it is judged that no, it is determined that the live state of the live streaming client occurs abnormal.
  3. 3. according to the method described in claim 1, it is characterized in that, the method further includes:
    When detecting that the live streaming client is again turned on live streaming, the abnormal live information is waken up;
    Connection request is sent to the live streaming client, wherein, the connection request exits extremely to reconnect last moment Live streaming request;
    If the response message got is connection, exited extremely for the live streaming client reconnect last moment straight It broadcasts;
    If the response message got removes the abnormal live information to be not connected to.
  4. 4. according to the method described in claim 3, it is characterized in that, the method further includes:
    After the live streaming client reconnects the live streaming that last moment exits extremely, target user is allowed to continue to watch institute The live content of live streaming client is stated, wherein, the target user is to have bought the live streaming that the last moment exits extremely User.
  5. 5. according to the method described in claim 1, it is characterized in that, the method further includes:
    The identification information that the live streaming client is sent is obtained, wherein, the identification information is opened straight for the live streaming client After broadcasting, to the identification information of server transmission;
    After the identification information is got, heartbeat mechanism is opened for the live streaming client, to be based on the unlatching heartbeat The default heartbeat being broadcast live described in Mechanism establishing between client and above-mentioned server connects.
  6. 6. a kind of device of net cast abnormality processing, which is characterized in that including:
    Monitoring unit, for monitoring default heartbeat connection in real time, wherein, the default heartbeat is connected as live streaming client and service Device establishes the heartbeat connection mechanism that cast communication connection is built afterwards;
    Judging unit, it is different for whether being occurred based on the live state that client is broadcast live described in the default heartbeat connection judgment Often;
    Storage unit, for if it is judged that in the case of being, being protected to the abnormal live information of the live streaming client It deposits, wherein, the exception live information includes at least one of:User information is broadcast live in the information of direct broadcasting room, and platform is broadcast live, Time, downtime is broadcast live.
  7. 7. device according to claim 6, which is characterized in that the judging unit includes:
    First judgment module, for judging whether the default heartbeat connection is normal connection status;
    First determining module, the live state in the case where judging to be, determining the live streaming client do not occur different Often;
    Second determining module, for judge it is no in the case of, determine the live streaming client live state occur it is abnormal.
  8. 8. device according to claim 6, which is characterized in that described device is additionally operable to:
    When detecting that the live streaming client is again turned on live streaming, the abnormal live information is waken up;
    Connection request is sent to the live streaming client, wherein, the connection request exits extremely to reconnect last moment Live streaming request;
    If the response message got is connection, exited extremely for the live streaming client reconnect last moment straight It broadcasts;
    If the response message got removes the abnormal live information to be not connected to.
  9. 9. device according to claim 8, which is characterized in that described device is additionally operable to:
    After the live streaming client reconnects the live streaming that last moment exits extremely, target user is allowed to continue to watch institute The live content of live streaming client is stated, wherein, the target user is to have bought the live streaming that the last moment exits extremely User.
  10. 10. a kind of electronic equipment, including memory, processor and it is stored on the memory and can transports on the processor Capable computer program, which is characterized in that the processor realizes the claims 1 to 5 when performing the computer program Any one of method.
CN201711324378.7A 2017-12-12 2017-12-12 A kind of method, apparatus and electronic equipment of net cast abnormality processing Pending CN108111879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711324378.7A CN108111879A (en) 2017-12-12 2017-12-12 A kind of method, apparatus and electronic equipment of net cast abnormality processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711324378.7A CN108111879A (en) 2017-12-12 2017-12-12 A kind of method, apparatus and electronic equipment of net cast abnormality processing

Publications (1)

Publication Number Publication Date
CN108111879A true CN108111879A (en) 2018-06-01

Family

ID=62215700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711324378.7A Pending CN108111879A (en) 2017-12-12 2017-12-12 A kind of method, apparatus and electronic equipment of net cast abnormality processing

Country Status (1)

Country Link
CN (1) CN108111879A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163113A (en) * 2006-10-12 2008-04-16 阿里巴巴公司 Disconnection reconnecting system and method of instant communication
CN104991850A (en) * 2015-06-27 2015-10-21 广州华多网络科技有限公司 Heartbeat package control method and apparatus for application program
CN107071503A (en) * 2017-02-09 2017-08-18 腾讯科技(深圳)有限公司 The method of net cast, device and live connect streaming server
CN107172444A (en) * 2017-03-30 2017-09-15 武汉斗鱼网络科技有限公司 A kind of network direct broadcasting reconnection method and system
CN107197509A (en) * 2017-05-22 2017-09-22 深圳市沃特沃德股份有限公司 heartbeat connection method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163113A (en) * 2006-10-12 2008-04-16 阿里巴巴公司 Disconnection reconnecting system and method of instant communication
CN104991850A (en) * 2015-06-27 2015-10-21 广州华多网络科技有限公司 Heartbeat package control method and apparatus for application program
CN107071503A (en) * 2017-02-09 2017-08-18 腾讯科技(深圳)有限公司 The method of net cast, device and live connect streaming server
CN107172444A (en) * 2017-03-30 2017-09-15 武汉斗鱼网络科技有限公司 A kind of network direct broadcasting reconnection method and system
CN107197509A (en) * 2017-05-22 2017-09-22 深圳市沃特沃德股份有限公司 heartbeat connection method and device

Similar Documents

Publication Publication Date Title
CN107950014B (en) Role exchange between untethered wirelessly connected devices
JP2020003804A (en) Communication method, server, and device
US9832508B2 (en) System and method for home security monitoring using a television set-top box
JP5917408B2 (en) Configurable connector for system level communication
US20200179812A1 (en) User-driven spectator channel for live game play in multi-player games
CN102939772B (en) Can notify the device of its mode of operation change and the communication means of device by network
CN105430424A (en) Video live broadcast method, device and system
US20170249385A1 (en) Method and Apparatus for Obtaining Information from the Web
CN106571977B (en) Data transmission method and device
US10289603B2 (en) Dynamic search partitioning
CN104935980A (en) Interactive information processing method, client and service platform
WO2018058899A1 (en) Sound volume adjusting method and apparatus of intelligent terminal
CN104205816A (en) Teleconference system and teleconference terminal
CN104285421B (en) For the method and system that the bandwidth during reducing communication session is used
CN105407172B (en) A kind of router long-distance management system based on http protocol
CN104767860B (en) Income prompting method, device and terminal
CN104917632B (en) The detection method and device for channel status of networking, electronic equipment
CN103024590B (en) The method and system of a kind of intelligent terminal and intelligent television video calling
CN105045533B (en) Magnetic disk heartbeat receiving/transmission method suitable for dual control high availability storage system
CN108550353B (en) Brightness adjusting method and related product
CN103126690A (en) Human emotion recognition and control method, device and system based on applications
CN104602133B (en) Multimedia file sharing method and terminal and server
CN101662474B (en) Method and system for automatically recovering abnormal termination of mobile terminal streaming
TWI628972B (en) Method and apparatus for matching a wireless device
WO2016026447A1 (en) Alarm method of intelligent camera system, intelligent camera system, and network camera

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180601