CN109743587A - Live streaming connection monitoring method, terminal device and storage medium - Google Patents
Live streaming connection monitoring method, terminal device and storage medium Download PDFInfo
- Publication number
- CN109743587A CN109743587A CN201910004885.5A CN201910004885A CN109743587A CN 109743587 A CN109743587 A CN 109743587A CN 201910004885 A CN201910004885 A CN 201910004885A CN 109743587 A CN109743587 A CN 109743587A
- Authority
- CN
- China
- Prior art keywords
- data
- live streaming
- target
- attended operation
- 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.)
- Granted
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The embodiment of the present application discloses a kind of live streaming connection monitoring method, terminal device and storage medium, this method comprises: obtaining the operation monitoring data of target live streaming attended operation, wherein, the target live streaming attended operation is the operation that at least two main broadcaster users establish live streaming connection;Power and success rate relation factor data are connected into according to operation monitoring data determination;Using power and the success rate relation factor data of connecting into as display data progress visualization display.Power will be connected into through the above technical solution and success rate relation factor data carry out visualization display, difference can intuitively be embodied and connect into power and corresponding success rate relation factor data, when there is the case where connection failure, what administrative staff can check visualization display connects into power and success rate relation factor come the reason of searching this connection failure, the problem of connection failure can be more quickly determined out, may further solve the problems, such as early as possible.
Description
Technical field
The invention relates to computer technology more particularly to a kind of live streaming connection monitoring method, terminal device and deposit
Storage media.
Background technique
Live streaming is generally referred to as the broadcast mode that the generation of media file carries out simultaneously with broadcast, and it is straight that live streaming is included in network
The network direct broadcasting played on platform is broadcast, the user of network direct broadcasting includes main broadcaster and spectators.As the temperature of live streaming platform gradually rises
The type of height, live streaming is also more and more, in addition to the mode that the corresponding main broadcaster of a traditional direct broadcasting room is broadcast live, further includes
Multi-user's live-mode, i.e. multiple main broadcasters are broadcast live respectively in a direct broadcasting room.
But multi-user's live-mode needs to establish the connection relationship between multiple main broadcaster ends, during this if there is
The problem of connection failure, then needs the leaf through respectively journal file at multiple main broadcaster ends of research staff to go to search reason, this side
Formula efficiency is lower, can not solve the problems, such as connection failure in time.
Summary of the invention
The embodiment of the present application provides a kind of live streaming connection monitoring method, terminal device and storage medium, can quickly search
To the problem of connection failure.
In a first aspect, the embodiment of the present application provides a kind of live streaming connection monitoring method, comprising:
Obtain the operation monitoring data of target live streaming attended operation, wherein the target live streaming attended operation is at least two
A main broadcaster user establishes the operation of live streaming connection;
Power and success rate relation factor data are connected into according to operation monitoring data determination;
Using power and the success rate relation factor data of connecting into as display data progress visualization display.
Further, the operation monitoring data for obtaining target live streaming attended operation includes:
Obtain the operation monitoring data of multiple targets live streaming attended operation in historical time section, wherein the operation prison
Controlling data includes connection result and attended operation data.
Further, determine that connecting into power includes: according to the operation monitoring data
It is determined in preset period of time according to the connection result that attended operation is broadcast live in the multiple target when each presetting
Between section connect into power, wherein include at least one preset period of time, each preset time in the historical time section
Period includes at least one preset time section;
Determine that success rate relation factor data include: according to the operation monitoring data
For each preset time section, the target data in historical time section in attended operation data is obtained;Wherein, institute
It is associated with connection result to state target data;
The target data is determined as to the success rate relation factor data in the preset time section.
Further, the target data is determined as to the success rate relation factor data in the preset time section, is wrapped
It includes:
For each preset time section, the target data in the historical time section in the attended operation data is determined
Quantity;
The target data is associated with the success rate that the quantity of the target data is determined as the preset time section
Factor data.
Further, further includes:
When detecting target live streaming attended operation starting, the association main broadcaster end of the target live streaming attended operation is determined;
Obtain the attended operation data at association main broadcaster end, wherein the attended operation data are that the association main broadcaster end is held
The data generated when row attended operation;
At the end of detecting the target live streaming attended operation, connection result is determined;
The connection result and all attended operation data got are determined as the target live streaming attended operation
Operate monitoring data.
Further, described at the end of detecting the target live streaming attended operation, determine connection result, comprising:
If detecting live streaming flow data corresponding with target live streaming attended operation within the default Connection Time, really
The fixed target live streaming attended operation terminates, and is determined as successful connection;
If live streaming flow data corresponding with target live streaming attended operation is not detected within the default Connection Time,
It determines that the live streaming attended operation terminates, and is determined as connection failure.
Further, the attended operation includes establishing operation, invitation operations, inquiry operation, inviting response operation, live streaming
At least one of push operation and Rendering operations;
The attended operation data include operation code, operation answer code, mode of operation code, operating result and customized number
At least one of according to.
Further, using it is described connect into power and success rate relation factor data as display data and carry out visualization it is aobvious
After showing, further includes:
It receives and the associated reparation patch file of target live streaming attended operation or target installation file;
Optimization operation is executed according to the reparation patch file or target installation file.
Second aspect the embodiment of the present application also provides a kind of terminal device, including memory, processor and is stored in
On reservoir and the computer program that can run on a processor, the processor realize that the application is arbitrarily real when executing described program
Apply the connection monitoring method of live streaming described in example.
The third aspect, the embodiment of the present application also provides a kind of computer readable storage mediums, are stored thereon with computer
Program, the program realize that live streaming described in the application any embodiment connects monitoring method when being executed by processor.
The embodiment of the present application discloses a kind of live streaming connection scheme, and the operation that attended operation is broadcast live by obtaining target monitors
Data, wherein the target live streaming attended operation is the operation that at least two main broadcaster users establish live streaming connection;According to the behaviour
Make monitoring data determination and connects into power and success rate relation factor data;Power and success rate relation factor are connected by described
Data carry out visualization display as display data.Power and success rate relation factor number will be connected into through the above technical solution
According to visualization display is carried out, it can intuitively embody difference and connect into power and corresponding success rate relation factor data, go out
When the case where existing connection failure, what administrative staff can check visualization display connects into power and success rate relation factor to look into
The reason of looking for this connection failure, may further solve the problems, such as the problem of can more quickly determining out connection failure as early as possible.
Detailed description of the invention
Fig. 1 is a kind of flow chart for live streaming connection monitoring method that the embodiment of the present application one provides;
Fig. 2 is a kind of flow chart for live streaming connection monitoring method that the embodiment of the present application two provides;
Fig. 3 is the flow chart for another live streaming connection monitoring method that the embodiment of the present application two provides;
Fig. 4 is the flow chart for another live streaming connection monitoring method that the embodiment of the present application two provides;
Fig. 5 is a kind of flow chart for live streaming connection monitoring method that the embodiment of the present application three provides;
Fig. 6 is a kind of flow chart for live streaming connection monitoring method that the embodiment of the present application four provides;
Fig. 7 is the structural schematic diagram of the live streaming attachment device in the embodiment of the present application five;
Fig. 8 is the hardware structural diagram of one of the embodiment of the present application seven terminal device.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the application, rather than the restriction to the application.It also should be noted that in order to just
Part relevant to the application is illustrated only in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart for the live streaming connection monitoring method that the embodiment of the present application one provides, and this method can be connected by live streaming
Connection device executes, wherein the device can generally can integrate on a hardware platform, specifically by software and or hardware realization
Include the following steps:
S110, the operation monitoring data for obtaining target live streaming attended operation, wherein the target live streaming attended operation is extremely
Few two main broadcaster users establish the operation of live streaming connection.
Wherein, the live streaming is connected as the connection relationship established between the main broadcaster user for participating in live streaming based on direct broadcasting room,
It can be broadcast live and interact in the same direct broadcasting room so as to participate in the main broadcaster user of live streaming when subsequent, the application institute
For the operation that mutually establishes a connection between at least two main broadcaster users of target live streaming attended operation, can be two
Main broadcaster user is also possible to establish a connection between multiple main broadcaster users.
Target live streaming attended operation can be attended operation and start to all behaviour included by the section that attended operation terminates
Make, may include operation performed by any one main broadcaster user foundation live streaming connection in at least two main broadcaster user.Institute
State the number that operation monitoring data is generated, sent or received by the operation in the implementation procedure of target live streaming attended operation
According to.Main broadcaster user establishes target live streaming attended operation generally by live streaming platform, and it is flat that live streaming platform can be the live streaming of webpage version
Platform can also be live streaming application program.
It can be the operation monitoring data for obtaining the live streaming attended operation of multiple targets in historical time section.
S111, power and success rate relation factor data are connected into according to operation monitoring data determination.
The power that connects into is that multiple targets are broadcast live attended operation and connect into power, can be broadcast live according to each target
What the connection result of attended operation determined the live streaming attended operations of multiple targets connects into power.Success rate relation factor data are shadow
The data of connection result, the multiple operations for including in target live streaming attended operation are rung, and each operation has correspondence generate, send out
The data sent or received, some of them data influence whether connection result, it will the data for influencing connection result extract
As success rate relation factor data.
S112, using it is described connect into power and success rate relation factor data as display data carry out visualization display.
Wherein it is possible to be by it is described connect into power and success rate relation factor data carried out by visualization tool it is visual
Change display.Illustratively, the visualization tool can be Grafana, and Grafana is a visualization tool, be applied to number
According to monitoring aspect, the data monitored can be subjected to visualization display by UI (User Interface, user interface).It can
It can be depending on change display and be shown data by way of chart, so as to which data are more intuitively presented, figure
The form of table may include curve graph, histogram, cake chart, bar chart, area-graph, XY scatter plot, surface chart and radar map etc.
Deng.
Visualization display, Ke Yizhi are carried out by the way that power and success rate relation factor data will be connected into as display data
It sees ground embodiment difference and connects into power and corresponding success rate relation factor data, when there is the case where connection failure, management
What personnel can check visualization display connects into power and success rate relation factor come the reason of searching this connection failure, can
The problem of to more quickly determine out connection failure, may further solve the problems, such as early as possible.
Embodiment two
Fig. 2 is the flow chart for the live streaming connection monitoring method that the embodiment of the present application two provides, and this method can be connected by live streaming
Connection device executes, wherein the device can generally can integrate on a hardware platform, specifically by software and or hardware realization
Include the following steps:
S120, the operation monitoring data that attended operation is broadcast live in multiple targets in historical time section is obtained, wherein the behaviour
It include connection result and attended operation data as monitoring data, the target live streaming attended operation is that at least two main broadcaster users build
The operation of vertical live streaming connection.
Wherein, the period that the historical time section can be systemic presupposition illustratively can be history one month
It is interior, in one week of history etc..The operation that multiple at least two main broadcaster establishes live streaming connection has occurred in historical time section, respectively
Obtain the operation monitoring data of multiple target live streaming attended operations.Wherein, the multiple target live streaming attended operation may include
The operation of live streaming connection is established between different main broadcaster users respectively, as long as the target live streaming in historical time section occurs
Attended operation.
The live streaming attended operation of each target has a connection result, may include successful connection or connection failure.Even
Connecing operation data is that any one main broadcaster user before judging connection result, in at least two main broadcaster user establishes directly
Broadcast the operation data of the performed any operation of connection.
S121, power and success rate relation factor data are connected into according to operation monitoring data determination.
S122, using it is described connect into power and success rate relation factor data as display data carry out visualization display.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
Optionally, as shown in figure 3, connecting into power and success rate relation factor number according to operation monitoring data determination
According to can be implemented in the following way:
S1210, it each of is determined in preset period of time according to the connection result that attended operation is broadcast live in the multiple target
Preset time section connects into power, wherein and it include at least one preset period of time in the historical time section, it is each pre-
If the time cycle includes at least one preset time section.
The operation monitoring data for obtaining multiple targets live streaming attended operation in historical time section, can supervise multiple operations
It is for statistical analysis to control data.Main broadcaster user, which establishes live streaming connection, will have certain relationship with the specific time, for example, in morning
Period, the operation that main broadcaster user establishes live streaming connection can be relatively fewer, and in 21 points to 23 points of period, main broadcaster user is established
The operation of live streaming connection can be relatively more, so section establishes target live streaming attended operation, suffered influence in different times
It is different.
Preset period of time is a unit interval in historical time section, i.e., includes at least one in historical time section
Preset period of time;And preset time section is a unit interval in preset period of time, i.e., in preset period of time
Including at least one preset time section.
Historical time section is divided according to preset time section each in each preset period of time, and is counted respectively
Each preset time section in preset period of time connects into power.The company in different preset time sections can be respectively seen
It is connected into the data of influence suffered by power and connection result.
Illustratively, historical time Duan Weiyi months, the preset period of time was one day, and preset period of time is one
Hour, i.e., it, will be more with daily each hour according to the operation monitoring data of multiple targets live streaming attended operation in one month
A operation monitoring data is divided, and then the operation monitoring data further according to each of daily hour calculates every in one month
It 0 point to 1 point connect into power, it is daily 1 point to 2 points connect into power ..., daily 23 points to 0 point connect into
Power.In this way, it is available daily each of hour connect into power.
S1211, it is directed to each preset time section, obtains the target data in historical time section in attended operation data;
Wherein, the target data is associated with connection result.
Correspondingly, historical time section is divided according to each preset time section in each preset period of time,
And the attended operation data in each preset time section of each preset period of time are obtained respectively, divide from attended operation data
The target data in each preset time section of each preset period of time is not determined.
Target data and connection result are associated, i.e. connection result is if it is failure, probably due to being target live streaming connection
The some step operations of certain for including in operation occur caused by situation, can will will affect connection knot from attended operation data
The data of fruit are determined as target data.Target data can be including a variety of data, include that target is broadcast live in attended operation data
Different step in attended operation operates corresponding operation data, wherein may have multiple operation datas all can influence connection knot
Fruit.The selection of specific target data can be presetting for research staff, can also be set according to practical application scene
It sets.
Illustratively, if target data be target be broadcast live the mode of operation code that the first operation is corresponding in attended operation and
The second operation corresponding response time, then by the mode of operation in daily 10 points to 11 points in one month of attended operation data
Code and response time extract, i.e., by the behaviour of target live streaming attended operation all in daily 10 points to 11 points in one month
Make status code and the response time extracts, as target data.
S1212, the success rate relation factor data that the target data is determined as to the preset time section.
Target data conduct for each preset time section, in the historical time section that will acquire in attended operation data
Success rate relation factor data.
Power is connected by determine each preset time section in each preset period of time respectively, can gone out
When existing connection failure, administrative staff can be determined in conjunction with the current time corresponding preset time section connect into power and
Corresponding success rate relation factor data more intuitive can more accurately be seen and targetedly connect into power and corresponding success
Rate relation factor data can faster and more accurately determine the problem of connection failure.
Optionally, as shown in figure 4, the target data to be determined as to the success rate relation factor in the preset time section
Data can be implemented in the following way:
S1213, it is directed to each preset time section, determines the mesh in the historical time section in the attended operation data
Mark the quantity of data.
S1214, the success that the quantity of the target data and the target data is determined as to the preset time section
Rate relation factor data.
Wherein, the quantity of the target data in each preset time section in the statistical history period respectively, and by target
Data quantity corresponding with its is determined as success rate relation factor data.After the quantity of target data has been determined, by target
Data quantity corresponding with its carries out visualization display as display data, can further make success rate relation factor data more
Intuitively, the problem of administrative staff can be helped quickly to determine connection failure.
Embodiment three
Fig. 5 is the flow chart for the live streaming connection monitoring method that the embodiment of the present application three provides, and this method can be connected by live streaming
Connection device executes, wherein the device can generally can integrate on a hardware platform, specifically by software and or hardware realization
Include the following steps:
S130, when detecting target live streaming attended operation starting, determine the association master of target live streaming attended operation
Broadcast end.
Wherein it is possible to be receive association main broadcaster end have sent enabled instruction when, determine target live streaming attended operation open
It is dynamic.Illustratively, it if association main broadcaster end needs to create a direct broadcasting room, and is established in this direct broadcasting room and other main broadcaster users
When live streaming connection, association main broadcaster end can send a newly-built direct broadcasting room and be broadcast live the instruction of connection to server, create directly
It between broadcasting and is broadcast live the instruction i.e. enabled instruction of connection, is detecting newly-built direct broadcasting room that association main broadcaster end is sent and carrying out straight
When broadcasting the instruction of connection, that is, determine target live streaming attended operation starting.For another example, if association main broadcaster end is intended to be added to one
The direct broadcasting room having built up, and when establishing live streaming connection with other main broadcaster users in this direct broadcasting room, association main broadcaster end can be with
It sends an addition direct broadcasting room and is broadcast live the instruction of connection to server, direct broadcasting room is added and is broadcast live the instruction of connection
That is enabled instruction determines mesh when detecting the addition direct broadcasting room of association main broadcaster end transmission and being broadcast live the instruction of connection
Mark live streaming attended operation starting.
Main broadcaster's user terminal involved in live streaming connection, example are established in the association main broadcaster end of the target live streaming attended operation
Property, live streaming connection, association master are established if necessary to a newly-built direct broadcasting room and in newly-built direct broadcasting room and other main broadcaster users
Broadcast end include establish the initiation main broadcaster user of direct broadcasting room, and be invited into live streaming connection be invited to main broadcaster user;If
When being incorporated into the direct broadcasting room having built up, and establishing live streaming connection with other main broadcaster users in this direct broadcasting room, close
Connection main broadcaster end includes the main broadcaster user that direct broadcasting room is added, and straight in main broadcaster user's foundation that direct broadcasting room needs and is newly added
Broadcast the main broadcaster user of connection.
S131, the attended operation data for obtaining association main broadcaster end, wherein the attended operation data are the association main broadcaster
End executes the data generated when attended operation.
Main broadcaster end is associated with when being broadcast live connection, needs to be implemented corresponding attended operation.One target live streaming connection behaviour
Make to complete to include at least two multiple attended operations for being associated with the execution of main broadcaster ends.
Optionally, the attended operation includes establishing operation, invitation operations, inquiry operation, response operation, live streaming being invited to push away
Send at least one of operation and Rendering operations.
Wherein, establishing operation is initiation main broadcaster user's sending for establishing the operation of direct broadcasting room, and invitation operations are to initiate
For main broadcaster user for inviting other main broadcaster users to be added to direct broadcasting room and being broadcast live the operation of connection, inquiry operation is to initiate master
Broadcasting user inquires the operation of other main broadcaster users, and inviting response operation is the behaviour of the response of the main broadcaster user that is invited to for invitation
Make, live streaming push operation is the operation for being associated with main broadcaster end and direct broadcasting room being pushed or recommended, and Rendering operations are association main broadcaster end
Carrying out the Rendering operations in target live streaming attended operation.
The attended operation data include operation code, operation answer code, mode of operation code, operating result and customized number
At least one of according to.
Wherein, operation data, i.e. life in an attended operation implementation procedure are correspondingly connected with for each attended operation
At, the data that receive and transmit.The operation code be the corresponding number code of each attended operation, for from different companies
Operation is connect to correspond;The operation answer code is the code of obtained response message after each attended operation executes, operation
Answer code is used to record the specific implementation response of each attended operation, and the mode of operation code is for embodying each attended operation tool
The code for the state that body is implemented;The operating result is the specific result of implementation of each attended operation;Self-defining data can be
Administrative staff's data information according to added by practical application request, can be administrative staff addition operating result the reason of
Deng.
S132, at the end of detecting target live streaming attended operation, determine connection result.
It can be by detecting whether that receiving live streaming flow data is broadcast live whether attended operation terminates to judge the target, institute
After stating target live streaming attended operation, if successful connection, being associated with main broadcaster end can be normally broadcast live;And if
Connection failure is then associated with main broadcaster end and does not establish direct broadcasting room or be not added in the direct broadcasting room having built up.I.e. if inspection
Live streaming flow data is measured, then is associated with main broadcaster end and comes into normal live streaming, target live streaming attended operation is over.Otherwise such as
Live streaming flow data is persistently not detected in fruit, then can determine that target live streaming attended operation is over, and determine connection failure,
Such case association main broadcaster end needs to establish target live streaming attended operation again to reconnect.
Optionally, if detecting live streaming fluxion corresponding with target live streaming attended operation within the default Connection Time
According to, it is determined that the target live streaming attended operation terminates, and is determined as successful connection;
If live streaming flow data corresponding with target live streaming attended operation is not detected within the default Connection Time,
It determines that the live streaming attended operation terminates, and is determined as connection failure.
Wherein, the default Connection Time can be the time of systemic presupposition, for live streaming fluxion to be persistently not detected
According to when cutting target attended operation is broadcast live, avoid the live streaming attended operation of target from persistently occupying resource.Illustratively, described pre-
If the Connection Time can be 3 minutes, i.e., start timing when detecting target live streaming attended operation starting, if examined in 3 minutes
Measuring live streaming flow data corresponding with target live streaming attended operation, it is determined that the target live streaming attended operation terminates, with
And it is determined as successful connection;If live streaming flow data corresponding with target live streaming attended operation was also not detected by 3 minutes,
It then determines that the live streaming attended operation terminates, and is determined as connection failure.
S133, the connection result and all attended operation data got are determined as the target live streaming connection behaviour
The operation monitoring data of work.
The operation monitoring data of the attended operation of target live streaming each time includes the company of connection result and all attended operations
Connect operation data.It can be and report interface by one data of realization, be stored in the interface as component in the library maven,
So as to call data to report interface from the library maven.When detecting target live streaming attended operation starting, target is broadcast live
The operation monitoring data of attended operation reports interface to upload in background data base by data, ordinal number when back-end data can be
According to library (tsdb, Time Series Database).
Optionally, it can also be the attended operation for obtaining local cache from the association main broadcaster end according to data obtaining time
Data.I.e. association main broadcaster end can be obtained by the attended operation data in target live streaming attended operation in local cache in data
When the time being taken to reach, interface can be reported to upload to the attended operation data of local cache in background data base by data.
It avoids supporting due to multiple association main broadcasters continuing and uploads data into time series database and lead to load excessive in background data base, it can be with
Alleviate the pressure of background data base.
S134, the operation monitoring data for obtaining target live streaming attended operation, wherein the target live streaming attended operation is extremely
Few two main broadcaster users establish the operation of live streaming connection.
S135, power and success rate relation factor data are connected into according to operation monitoring data determination.
S136, using it is described connect into power and success rate relation factor data as display data carry out visualization display.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
It should be noted that the execution sequence of operation S130 is not limited to as shown in figure 5, operating S130 can also operate
It is executed after S134, as long as there is target live streaming attended operation that can execute operation S130 to S133 is operated, to determine target
The operation monitoring data of attended operation is broadcast live and is stored.
The embodiment of the present application is by when detecting that attended operation starting is broadcast live in target, determining the target live streaming connection behaviour
The association main broadcaster end of work;Obtain the attended operation data at association main broadcaster end;Detecting that target live streaming attended operation terminates
When, determine connection result;The connection result and all attended operation data got are determined as the target live streaming to connect
Connect the operation monitoring data of operation.The available operation monitoring data in target live streaming attended operation, so as to therefrom
Determination connect into power and success rate relation factor data, and then will connect into power and success rate relation factor data progress can
It is shown depending on changing.
Example IV
Fig. 6 is the flow chart for the live streaming connection monitoring method that the embodiment of the present application four provides, and this method can be connected by live streaming
Connection device executes, wherein the device can generally can integrate on a hardware platform, specifically by software and or hardware realization
Include the following steps:
S140, the operation monitoring data for obtaining target live streaming attended operation, wherein the target live streaming attended operation is extremely
Few two main broadcaster users establish the operation of live streaming connection.
S141, power and success rate relation factor data are connected into according to operation monitoring data determination.
S142, using it is described connect into power and success rate relation factor data as display data carry out visualization display.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
S143, reception and the associated reparation patch file of target live streaming attended operation or target installation file.
Administrative staff can connect out according to connect into power and the success rate relation factor data search of visualization display
The reason of failure, and the patch file for repairing connection failure is determined according to the success rate relation factor data counted, or
Release the installation kit of new edition.The patch file of repairing is the heat that the connection failure reason of attended operation is broadcast live for repairing target
Patch file, the target installation file are the installation kit of the connection failure reason of repaired mark live streaming attended operation of looking over so as to check.
S144, optimization operation is executed according to the reparation patch file or target installation file.
Patch file is repaired based on the received, optimization operation is executed to live streaming application program, so that application program is broadcast live rear
Same connection failure will not occur again in continuous process.Target installation file executes optimization operation based on the received, i.e., according to mesh
The reason of mark installation file is reinstalled application program is broadcast live, and the live streaming application program of new edition has repaired connection failure,
Will not occur same connection failure when use again.
In addition, detect can not extreme case by repairing patch file or target installation file when, can pass through
Test code carrys out the problem of automatization simulation is to determine connection failure, and solves connection failure by third-party testing tool
Problem.
The associated reparation patch file of attended operation or target installation file is broadcast live with target by receiving in the application, and
The reason of executing optimization operation according to the reparation patch file or target installation file, connection failure can be repaired, the company of reduction
It connects and is unsuccessfully in the presence of, improve the success rate of live streaming connection.
Embodiment five
Fig. 7 is the structural schematic diagram of live streaming attachment device that the embodiment of the present application five provides, the device can by software with/
Or hardware realization, it generally can integrate on a hardware platform.As shown in fig. 7, the live streaming attachment device includes:
Data acquisition module 210, for obtaining the operation monitoring data of target live streaming attended operation, wherein the target
It is the operation that at least two main broadcaster users establish live streaming connection that attended operation, which is broadcast live,;
Data determining module 211, for determined according to the operation monitoring data connect into power be associated with success rate because
Prime number evidence;
Visualization model 212, for using it is described connect into power and success rate relation factor data as display data into
Row visualization display.
The embodiment of the present application discloses a kind of live streaming attachment device, and the operation that attended operation is broadcast live by obtaining target monitors
Data, wherein the target live streaming attended operation is the operation that at least two main broadcaster users establish live streaming connection;According to the behaviour
Make monitoring data determination and connects into power and success rate relation factor data;Power and success rate relation factor are connected by described
Data carry out visualization display as display data.Power and success rate relation factor number will be connected into through the above technical solution
According to visualization display is carried out, it can intuitively embody difference and connect into power and corresponding success rate relation factor data, go out
When the case where existing connection failure, what administrative staff can check visualization display connects into power and success rate relation factor to look into
The reason of looking for this connection failure, may further solve the problems, such as the problem of can more quickly determining out connection failure as early as possible.
Optionally, data acquisition module is specifically used for:
Obtain the operation monitoring data of multiple targets live streaming attended operation in historical time section, wherein the operation prison
Controlling data includes connection result and attended operation data.
Optionally, data determining module specifically includes:
Success rate determining module, the connection result for attended operation to be broadcast live according to the multiple target determine preset time
Each preset time section in period connects into power, wherein when presetting in the historical time section including at least one
Between the period, each preset period of time includes at least one preset time section;
Target data determining module obtains attended operation number in historical time section for being directed to each preset time section
Target data in;Wherein, the target data is associated with connection result;
Relation factor module, for the target data to be determined as to the success rate relation factor in the preset time section
Data.
Optionally, relation factor module is specifically used for:
For each preset time section, the target data in the historical time section in the attended operation data is determined
Quantity;
The target data is associated with the success rate that the quantity of the target data is determined as the preset time section
Factor data.
Optionally, further includes:
Main broadcaster end determining module, for determining that the target live streaming connects when detecting target live streaming attended operation starting
Connect the association main broadcaster end of operation;
Operation data obtains module, for obtaining the attended operation data at association main broadcaster end, wherein the attended operation number
The data generated when attended operation are executed according to for the association main broadcaster end;
As a result determining module, for determining connection result at the end of detecting the target live streaming attended operation;
Monitoring data determining module, for the connection result and all attended operation data got to be determined as institute
State the operation monitoring data of target live streaming attended operation.
Optionally, as a result determining module is specifically used for:
If detecting live streaming flow data corresponding with target live streaming attended operation within the default Connection Time, really
The fixed target live streaming attended operation terminates, and is determined as successful connection;
If live streaming flow data corresponding with target live streaming attended operation is not detected within the default Connection Time,
It determines that the live streaming attended operation terminates, and is determined as connection failure.
Optionally, the attended operation includes establishing operation, invitation operations, inquiry operation, response operation, live streaming being invited to push away
Send at least one of operation and Rendering operations;
The attended operation data include operation code, operation answer code, mode of operation code, operating result and customized number
At least one of according to.
Optionally, further includes:
File reception module, for using it is described connect into power and success rate relation factor data as display data into
After row visualization display, receive and the associated reparation patch file of target live streaming attended operation or target installation file;
Optimization module, for executing optimization operation according to the reparation patch file or target installation file.
Embodiment six
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable
Instruction connects monitoring method for executing live streaming when being executed by computer processor, this method comprises:
Obtain the operation monitoring data of target live streaming attended operation, wherein the target live streaming attended operation is at least two
A main broadcaster user establishes the operation of live streaming connection;
Power and success rate relation factor data are connected into according to operation monitoring data determination;
Using power and the success rate relation factor data of connecting into as display data progress visualization display.
Optionally, which can be also used for executing the application times when being executed by computer processor
Live streaming connection monitoring method provided by embodiment of anticipating.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the application
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more
Good embodiment.Based on this understanding, the technical solution of the application substantially in other words contributes to the prior art
Part can be embodied in the form of software products, which can store in computer readable storage medium
In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server or the network equipment etc.) executes method described in each embodiment of the application.
Embodiment seven
As shown in figure 8, a kind of hardware structural diagram of the terminal device provided for the embodiment of the present application seven, such as Fig. 7 institute
Show, which includes:
One or more processors 410, in Fig. 8 by taking a processor 410 as an example;
Memory 420;
The terminal device can also include: input unit 430 and output device 440.
Processor 410, memory 420, input unit 430 and output device 440 in the terminal device can pass through
Bus or other modes connect, in Fig. 7 for being connected by bus.
Memory 420 be used as a kind of non-transient computer readable storage medium, can be used for storing software program, computer can
Program and module are executed, as the corresponding program instruction/module (example of connection monitoring method is broadcast live in one of the embodiment of the present application
Such as, data acquisition module 210 shown in Fig. 7, data determining module 211 and visualization model 212).Processor 410 passes through operation
Software program, instruction and the module being stored in memory 420, thereby executing the various function application and number of terminal device
Monitoring method is connected according to a kind of live streaming of processing, i.e. realization above method embodiment.
Memory 420 may include storing program area and storage data area, wherein storing program area can store operation system
Application program required for system, at least one function;Storage data area, which can be stored, uses created number according to terminal device
According to etc..In addition, memory 420 may include high-speed random access memory, it can also include non-transitory memory, such as extremely
A few disk memory, flush memory device or other non-transitory solid-state memories.In some embodiments, memory
420 it is optional include the memory remotely located relative to processor 410, these remote memories can pass through network connection to end
End equipment.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 430 can be used for receiving the number or character information of input, and generates and set with the user of terminal device
It sets and the related key signals of function control inputs.Output device 440 may include that display screen etc. shows equipment.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation,
The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application
It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also
It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.
Claims (10)
1. a kind of live streaming connects monitoring method characterized by comprising
Obtain the operation monitoring data of target live streaming attended operation, wherein the target live streaming attended operation is at least two main
Broadcasting user establishes the operation of live streaming connection;
Power and success rate relation factor data are connected into according to operation monitoring data determination;
Using power and the success rate relation factor data of connecting into as display data progress visualization display.
2. the method according to claim 1, wherein obtaining the operation supervision packet of target live streaming attended operation
It includes:
Obtain the operation monitoring data of multiple targets live streaming attended operation in historical time section, wherein the operation monitors number
According to including connection result and attended operation data.
3. according to the method described in claim 2, it is characterized in that, connecting into power packet according to operation monitoring data determination
It includes:
Each preset time area in preset period of time is determined according to the connection result that attended operation is broadcast live in the multiple target
Between connect into power, wherein include at least one preset period of time, each preset period of time in the historical time section
Including at least one preset time section;
Determine that success rate relation factor data include: according to the operation monitoring data
For each preset time section, the target data in historical time section in attended operation data is obtained;Wherein, the mesh
It is associated with connection result to mark data;
The target data is determined as to the success rate relation factor data in the preset time section.
4. according to the method described in claim 3, it is characterized in that, the target data is determined as the preset time section
Success rate relation factor data, comprising:
For each preset time section, the number of the target data in the historical time section in the attended operation data is determined
Amount;
The quantity of the target data and the target data is determined as to the success rate relation factor in the preset time section
Data.
5. method according to any one of claims 1 to 4, which is characterized in that further include:
When detecting target live streaming attended operation starting, the association main broadcaster end of the target live streaming attended operation is determined;
Obtain the attended operation data at association main broadcaster end, wherein the attended operation data are that the association main broadcaster end executes company
Connect the data generated when operation;
At the end of detecting the target live streaming attended operation, connection result is determined;
The connection result and all attended operation data got are determined as to the operation of the target live streaming attended operation
Monitoring data.
6. according to the method described in claim 5, it is characterized in that, described detecting that target live streaming attended operation terminates
When, determine connection result, comprising:
If detecting live streaming flow data corresponding with target live streaming attended operation within the default Connection Time, it is determined that institute
Stating target live streaming attended operation terminates, and is determined as successful connection;
If live streaming flow data corresponding with target live streaming attended operation is not detected within the default Connection Time, it is determined that
The live streaming attended operation terminates, and is determined as connection failure.
7. according to the method described in claim 5, it is characterized in that, the attended operation includes establishing operation, invitation operations, looking into
It askes operation, invite response operation, live streaming at least one of push operation and Rendering operations;
The attended operation data include in operation code, operation answer code, mode of operation code, operating result and self-defining data
At least one.
8. wanting 1 to 4 described in any item methods according to right, which is characterized in that connect into power by described and be associated with success rate
Factor data is carried out as display data after visualization display, further includes:
It receives and the associated reparation patch file of target live streaming attended operation or target installation file;
Optimization operation is executed according to the reparation patch file or target installation file.
9. a kind of terminal device including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor realizes live streaming connection monitoring according to claims 1-8 when executing described program
Method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Live streaming connection monitoring method according to claims 1-8 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910004885.5A CN109743587B (en) | 2019-01-03 | 2019-01-03 | Live broadcast connection monitoring method, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910004885.5A CN109743587B (en) | 2019-01-03 | 2019-01-03 | Live broadcast connection monitoring method, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109743587A true CN109743587A (en) | 2019-05-10 |
CN109743587B CN109743587B (en) | 2021-09-17 |
Family
ID=66363218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910004885.5A Active CN109743587B (en) | 2019-01-03 | 2019-01-03 | Live broadcast connection monitoring method, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109743587B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016197864A1 (en) * | 2015-06-11 | 2016-12-15 | 阿里巴巴集团控股有限公司 | Connection-status detection method and apparatus, and smart television system |
CN106992974A (en) * | 2017-03-17 | 2017-07-28 | 腾讯科技(深圳)有限公司 | A kind of live video information monitoring method, device and equipment |
CN107995187A (en) * | 2017-11-30 | 2018-05-04 | 上海哔哩哔哩科技有限公司 | Video main broadcaster, live broadcasting method, terminal and system based on HTML5 browsers |
CN108174293A (en) * | 2017-12-01 | 2018-06-15 | 咪咕视讯科技有限公司 | Information processing method and device, server and storage medium |
CN108184140A (en) * | 2018-01-10 | 2018-06-19 | 武汉斗鱼网络科技有限公司 | A kind of live streaming connects wheat method and device |
-
2019
- 2019-01-03 CN CN201910004885.5A patent/CN109743587B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016197864A1 (en) * | 2015-06-11 | 2016-12-15 | 阿里巴巴集团控股有限公司 | Connection-status detection method and apparatus, and smart television system |
CN106992974A (en) * | 2017-03-17 | 2017-07-28 | 腾讯科技(深圳)有限公司 | A kind of live video information monitoring method, device and equipment |
CN107995187A (en) * | 2017-11-30 | 2018-05-04 | 上海哔哩哔哩科技有限公司 | Video main broadcaster, live broadcasting method, terminal and system based on HTML5 browsers |
CN108174293A (en) * | 2017-12-01 | 2018-06-15 | 咪咕视讯科技有限公司 | Information processing method and device, server and storage medium |
CN108184140A (en) * | 2018-01-10 | 2018-06-19 | 武汉斗鱼网络科技有限公司 | A kind of live streaming connects wheat method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109743587B (en) | 2021-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107480015B (en) | Load testing method, device and system, storage medium and pressure testing server | |
CN110460676A (en) | Request amount control method, device, storage medium and computer equipment | |
CN104866632A (en) | Failure data acquisition method, device and terminal of electric household appliance | |
CN109462490B (en) | Video monitoring system and fault analysis method | |
CN110784929B (en) | Access resource allocation method, device, equipment and system | |
CN108989463B (en) | Data processing method and device | |
CN111885136A (en) | Edge computing gateway cluster operation method and system based on edge cloud cooperation | |
CN105306318A (en) | Intelligent scene configuration method and device and server | |
CN104410163A (en) | Safety production and energy saving method based on power energy management system | |
CN112765035A (en) | Distributed pressure test system, method, device, electronic equipment and storage medium | |
CN104717670B (en) | A kind of measure of the quality of service method, apparatus and system | |
CN108536570A (en) | The method, apparatus and system that data direct broadcasting room gray scale pressure is surveyed | |
CN110519121B (en) | Method and device for detecting regional tasks | |
CN107094306B (en) | Terminal performance evaluation method and device | |
CN108282384B (en) | Automatic test system for communication stability of MMS server based on IEC61850 | |
CN109743587A (en) | Live streaming connection monitoring method, terminal device and storage medium | |
CN105335266B (en) | Method for determining the failure of tested equipment | |
CN109032320A (en) | Battery back unit test method and relevant device | |
CN111008209B (en) | Data reconciliation method, device and system, storage medium and electronic device | |
CN109040075B (en) | Management method, server and system for nodes in wireless mobile sensor network | |
CN110825466A (en) | Program jamming processing method and jamming processing device | |
CN104486139A (en) | System communication detection method and device | |
CN107480032A (en) | A kind of method for monitoring self-help tax service terminal switch on condition | |
CN116150195A (en) | System and method for online monitoring safety low-carbon electricity consumption of users in multiple types of parks | |
CN112650815A (en) | Method and device for synchronizing environmental data, storage medium and electronic 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 |