CN112203102A - Network monitoring method, device, electronic equipment and medium - Google Patents

Network monitoring method, device, electronic equipment and medium Download PDF

Info

Publication number
CN112203102A
CN112203102A CN202011036206.1A CN202011036206A CN112203102A CN 112203102 A CN112203102 A CN 112203102A CN 202011036206 A CN202011036206 A CN 202011036206A CN 112203102 A CN112203102 A CN 112203102A
Authority
CN
China
Prior art keywords
audience
network quality
current network
communication
preset
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
CN202011036206.1A
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.)
Ping An International Smart City Technology Co Ltd
Original Assignee
Ping An International Smart City Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN202011036206.1A priority Critical patent/CN112203102A/en
Publication of CN112203102A publication Critical patent/CN112203102A/en
Pending legal-status Critical Current

Links

Images

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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • 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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk

Landscapes

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

Abstract

The application discloses a network monitoring method, a network monitoring device, electronic equipment and a network monitoring medium. In the application, after determining the delay parameter of the audience based on the first timestamp and the second timestamp, the current network quality of the audience, which is used for representing the operation capability of the equipment of the audience, can be determined according to the delay parameter and the communication parameter of the audience, and when it is detected that the current network quality of the audience is lower than a preset threshold, the flow of a preset bandwidth is allocated to the audience. By applying the technical scheme of the application, when the network quality of a certain audience is detected to be not up to the standard according to the delay parameters of both live broadcasting parties and the equipment operation capacity of the audience, the flow of the corresponding bandwidth can be automatically distributed to the audience. Therefore, the problem that the watching experience of a user is influenced because the network bandwidth is adjusted only by manually testing the network communication smoothness in the prior art is solved.

Description

Network monitoring method, device, electronic equipment and medium
Technical Field
The present application relates to data communication technologies, and in particular, to a method, an apparatus, an electronic device, and a medium for network monitoring.
Background
Due to the rise of the communications era and society, the live broadcast industry has been continuously developing with the viewing of more and more users.
Furthermore, in the process of live video, the quality of video playing directly affects the live broadcast experience of both ends of the anchor and audiences. For example, when a system load is too large due to a large number of people watching in the same live broadcast room, the live broadcast often has the phenomena of jamming, unclear pictures and the like. To solve this problem, a testing user is usually required to test the live network environment in advance by simulating an online environment or the like to determine whether the live network environment is qualified.
However, in the method for detecting the network environment in the related art, because testers need to manually track and record each test result in the whole process, and then select whether to debug the network according to the test result, the live broadcast experience of audiences is greatly influenced.
Disclosure of Invention
Embodiments of the present application provide a method and an apparatus for network monitoring, an electronic device, and a medium, which are used to solve problems existing in related technologies.
According to an aspect of an embodiment of the present application, a method for network monitoring is provided, including:
determining a delay parameter of the audience based on a first time stamp and a second time stamp, wherein the first time stamp corresponds to a time point when the video stream data is sent by the main broadcasting end, and the second time stamp corresponds to a time point when the video stream data is received by the audience;
determining the real-time operation capability of the audience terminal equipment according to the communication parameters of the audience terminal, and determining the current network quality of the audience terminal based on the real-time operation capability of the audience terminal equipment and the delay parameters;
and when the current network quality of the audience is detected to be lower than a preset threshold value, distributing the flow of the preset bandwidth to the audience.
Optionally, in another embodiment based on the foregoing method of the present application, the communication parameter includes at least one of a software memory occupancy rate, a CPU occupancy rate, a software FPS, an uplink traffic consumption parameter, and a downlink traffic consumption parameter.
Optionally, in another embodiment based on the foregoing method of the present application, the allocating, when it is detected that the current network quality of the audience is lower than a preset threshold, traffic of a preset bandwidth to the audience includes:
acquiring historical communication traffic data corresponding to the audience with the current network quality lower than a preset threshold value, and determining a first communication demand corresponding to the historical communication traffic data, wherein the first communication demand is used for reflecting a traffic value required by the audience;
and distributing the flow of preset bandwidth to the audience terminal based on the first communication demand.
Optionally, in another embodiment based on the foregoing method of the present application, the allocating, when it is detected that the current network quality of the audience is lower than a preset threshold, traffic of a preset bandwidth to the audience includes:
acquiring a geographical area corresponding to the audience with the current network quality lower than a preset threshold;
and when the geographic region is determined to be located in a preset region, distributing the flow of a preset bandwidth to the audience.
Optionally, in another embodiment based on the foregoing method of the present application, the allocating, when it is detected that the current network quality of the audience is lower than a preset threshold, traffic of a preset bandwidth to the audience includes:
acquiring a client identifier corresponding to the audience with the current network quality lower than a preset threshold value, and determining a second communication requirement corresponding to the client identifier, wherein the second communication requirement is used for reflecting a flow value required by the client identifier;
and when the client side identification is determined to meet the preset condition, distributing the flow of the preset bandwidth to the audience side based on the second communication requirement.
Optionally, in another embodiment based on the foregoing method of the present application, the determining the delay parameter at the viewer side includes:
acquiring the first timestamp and the second timestamp;
calculating a time difference between the first time stamp and the second time stamp;
and taking the time difference value as a delay parameter of the audience.
Optionally, in another embodiment based on the foregoing method of the present application, after the determining the current network quality of the audience, the method further includes:
and displaying the current network quality of the audience in a visual mode in a device display screen of the corresponding audience.
According to another aspect of the embodiments of the present application, there is provided an apparatus for network monitoring, including:
an obtaining module configured to determine a delay parameter of the audience based on a first timestamp and a second timestamp, where the first timestamp corresponds to a time point when the anchor sends the video stream data, and the second timestamp corresponds to a time point when the audience receives the video stream data;
a determining module configured to determine a real-time operation capability of the viewer-side device according to the communication parameter of the viewer side, and determine a current network quality of the viewer side based on the real-time operation capability of the viewer-side device and the delay parameter;
the detection module is set to distribute the flow of the preset bandwidth to the audience when the current network quality of the audience is detected to be lower than the preset threshold.
According to another aspect of the embodiments of the present application, there is provided an electronic device including:
a memory for storing executable instructions; and
a display for displaying with the memory to execute the executable instructions to perform the operations of any of the above described network monitoring methods.
According to yet another aspect of the embodiments of the present application, a computer-readable storage medium is provided for storing computer-readable instructions, which when executed perform the operations of any one of the above-mentioned network monitoring methods.
In the application, after determining the delay parameter of the audience based on the first timestamp and the second timestamp, the current network quality of the audience, which is used for representing the operation capability of the equipment of the audience, can be determined according to the delay parameter and the communication parameter of the audience, and when it is detected that the current network quality of the audience is lower than a preset threshold, the flow of a preset bandwidth is allocated to the audience. By applying the technical scheme of the application, when the network quality of a certain audience is detected to be not up to the standard according to the delay parameters of both live broadcasting parties and the equipment operation capacity of the audience, the flow of the corresponding bandwidth can be automatically distributed to the audience. Therefore, the problem that the watching experience of a user is influenced because the network bandwidth is adjusted only by manually testing the network communication smoothness in the prior art is solved.
The technical solution of the present application is further described in detail by the accompanying drawings and examples.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description, serve to explain the principles of the application.
The present application may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
fig. 1 is a schematic diagram of a system architecture for network monitoring proposed in the present application;
fig. 2 is a schematic diagram of a network monitoring method proposed in the present application;
FIG. 3 is a schematic diagram of a network monitoring apparatus according to the present application;
fig. 4 is a schematic view of an electronic device according to the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
In addition, technical solutions between the various embodiments of the present application may be combined with each other, but it must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should be considered to be absent and not within the protection scope of the present application.
It should be noted that all the directional indicators (such as upper, lower, left, right, front and rear … …) in the embodiment of the present application are only used to explain the relative position relationship between the components, the motion situation, etc. in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly.
A method for network monitoring according to an exemplary embodiment of the present application is described below in conjunction with fig. 1-2. It should be noted that the following application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. Rather, embodiments of the present application may be applied to any scenario where applicable.
Fig. 1 shows a schematic diagram of an exemplary system architecture 100 to which a video processing method or a video processing apparatus of an embodiment of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, portable computers, desktop computers, and the like.
The terminal apparatuses 101, 102, 103 in the present application may be terminal apparatuses that provide various services. For example, the user determines the delay parameter of the audience through the terminal device 103 (or the terminal device 101 or 102) based on a first time stamp and a second time stamp, wherein the first time stamp corresponds to a time point when the video stream data is sent by the main broadcast end, and the second time stamp corresponds to a time point when the video stream data is received by the audience; determining the current network quality of the audience according to the delay parameter and the communication parameter of the audience, wherein the communication parameter is used for representing the operation capacity of the equipment of the audience; and when the current network quality of the audience is detected to be lower than a preset threshold value, distributing the flow of the preset bandwidth to the audience.
It should be noted that the method for network monitoring provided in the embodiment of the present application may be executed by one or more of the terminal devices 101, 102, and 103, and/or the server 105, and accordingly, the apparatus for network monitoring provided in the embodiment of the present application is generally disposed in the corresponding terminal device, and/or the server 105, but the present application is not limited thereto.
The application also provides a network monitoring method, a network monitoring device, a target terminal and a medium.
Fig. 2 schematically shows a flow chart of a method for network monitoring according to an embodiment of the present application. As shown in fig. 2, the method includes:
s101, determining a delay parameter of the audience based on a first time stamp and a second time stamp, wherein the first time stamp corresponds to a time point when the video stream data is sent by the main broadcasting terminal, and the second time stamp corresponds to a time point when the video stream data is received by the audience.
First, it should be noted that, in the present application, a device for determining a delay parameter of a viewer is not specifically limited, and may be, for example, an intelligent device or a server. The smart device may be a PC (Personal Computer), a smart phone, a tablet PC, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, motion Picture Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion Picture Experts compression standard Audio Layer 4) player, a portable Computer, or a mobile terminal device with a display function, and the like.
In the prior art, a plurality of manual testers are generally needed to be used and more complicated steps are implemented in the live broadcast testing process of the network. For example, the performance of the testing equipment needs to be monitored manually by a tester using third-party software. And manually aligning standard time or locally generating a stopwatch, and comparing live broadcast delay through time screenshot/photographing of a main broadcast end/a viewer end; but also needs to use third-party software to pull flow to check the plug flow information and the like. Therefore, in the prior art, the existing scheme leads to a complicated test flow, the test takes much time in environment construction and software configuration, and the whole flow needs a tester to track and record the test result in the whole process and then determine whether to adjust the network traffic. Further influencing the picking up experience of the audience in the network live broadcast environment.
Further, the present application may first determine delay parameters at each viewer in a live webcast environment. First, the number of the audience members is not specifically limited in the present application, and may be, for example, one or more. That is, in the target live broadcast network, live broadcast can be performed in a one-to-one manner between the anchor and the audience, or live broadcast can be performed in a one-to-many manner between the anchor and the audience.
Furthermore, in the process of determining the audience-side delay parameter, the first time stamp of the video stream data sent by the anchor side and the second time stamp of the video stream data received by the audience side can be determined. It is understood that the first time stamp is used to represent a starting time point when the main broadcasting end transmits the video stream data, and the second time stamp is used to represent a receiving time point when the audience receives the video stream data. In other words, the longer the interval between the first timestamp and the second timestamp, the higher the corresponding delay parameter.
In one aspect, the generation manner of the first timestamp and the second timestamp is not specifically limited in the embodiments of the present application, and for example, the first timestamp and the second timestamp may be recorded by a main broadcasting end, or may be recorded by each corresponding first timestamp and second timestamp of a viewer end. The first timestamp and the second timestamp may also be recorded by the server.
In another way, the embodiment of the application can determine the delay parameter of the audience based on the first timestamp of the video stream data sent by the anchor end and the second timestamp of the video stream data received by the audience end in real time in the target live broadcast network. Or determining the delay parameter of the audience based on a first time stamp of the video stream data sent by the anchor end and a second time stamp of the video stream data received by the audience at preset time intervals in the target live broadcast network. In another mode, when it is detected that the network test instruction currently exists, the delay parameter of the viewer side may be determined according to the first time stamp and the second time stamp.
In addition, the present application also does not further limit the video stream data, that is, the embodiments of the present application may generate any video stream data by the anchor side and the viewer side. Such as video streaming data based on network games, video streaming data based on talent performances, and so on.
S102, determining the real-time operation capability of the audience terminal equipment according to the communication parameters of the audience terminal, and determining the current network quality of the audience terminal based on the real-time operation capability and the delay parameters of the audience terminal equipment.
Further, in order to ensure the communication experience of the viewer, after determining the corresponding delay parameter, the application needs to further determine the corresponding network quality. In the process of determining the network quality, the network quality needs to be determined according to the communication parameters corresponding to the operation capabilities of the user end devices. The communication parameter is not specifically limited in the present application, and may be, for example, one or more of software memory occupancy, CPU occupancy, memory occupancy ratio, CPU occupancy ratio, software FPS, uplink traffic consumption parameter, and downlink traffic consumption parameter of the viewer device.
The communication parameter is used to reflect the real-time operation capability of the user end device, that is, the higher the communication parameter is, the worse the real-time operation capability reflected by the communication parameter is, that is, the lower the network quality is. It can be understood that, taking the communication parameter as the CPU occupancy as an example, when the communication quality of the live broadcast network is poor, the CPU occupancy of the viewer device is increased due to network congestion and the like, so that the viewing experience of the viewer is worse.
In another way, in the embodiment of the present application, the real-time operation capability of the current device may also be determined according to the uplink traffic consumption parameter monitored in real time as a communication parameter, for example, when the uplink traffic consumption parameter is higher, that is, the real-time operation capability of the user end device is worse.
In one embodiment, the present application does not specifically limit how to determine the current network quality of the viewer-side according to the delay parameter and the communication parameter of the viewer-side. The current network quality may be determined, for example, for half the weight value of both of the mix ratios. The current network quality may also be determined for different weight values of the two in proportion.
And S103, when the current network quality of the audience is detected to be lower than a preset threshold value, distributing the flow of the preset bandwidth to the audience.
Further, after determining the current network quality of the audience, the method can select whether to allocate traffic to the corresponding audience according to the matching result of the current network quality of the audience and the preset threshold, and determine the value of the corresponding bandwidth if necessary.
It should be noted that the preset threshold is not specifically limited in the present application, and for example, the delay rate may be less than 3kb/s, the CPU occupancy rate is greater than 20%, the delay rate may also be less than 10kb/s, and the memory occupancy rate is greater than 50%.
According to the method and the device, after a delay parameter of a spectator end is determined based on a first timestamp of video stream data sent by a main broadcasting end and a second timestamp of the video stream data received by the spectator end under a target live broadcasting network, the current network quality of the operation capacity of equipment of the spectator end is determined according to the delay parameter and a communication parameter of the spectator end, and when the current network quality of the spectator end is detected to be lower than a preset threshold value, the flow of preset bandwidth is distributed to the spectator end. By applying the technical scheme of the application, when the network quality of a certain audience is detected to be not up to the standard according to the delay parameters of both live broadcasting parties and the equipment operation capacity of the audience, the flow of the corresponding bandwidth can be automatically distributed to the audience. Therefore, the problem that the watching experience of a user is influenced because the network bandwidth is adjusted only by manually testing the network communication smoothness in the prior art is solved.
Optionally, in a possible implementation manner of the present application, the communication parameter includes any one or more of the following parameters:
software memory occupancy rate, CPU occupancy rate, software FPS, uplink traffic consumption parameters, and downlink traffic consumption parameters.
Optionally, in a possible implementation manner of the present application, in S103 (when it is detected that the current network quality of the audience is lower than the preset threshold, allocating traffic of the preset bandwidth to the audience), the following steps may be performed:
acquiring historical communication traffic data corresponding to audience terminals with current network quality lower than a preset threshold value, and determining a first communication demand corresponding to the historical communication traffic data, wherein the first communication demand is used for reflecting a traffic value required by the audience terminals;
and distributing the flow of the preset bandwidth to the audience terminal based on the first communication demand.
Further, when determining to allocate the traffic of the corresponding preset bandwidth to the audience, the present application may determine the corresponding allocation amount based on the historical communication traffic data of the audience. For example, the higher the historical communication traffic data is, the higher the corresponding communication demand is, so that it can be determined that the value of the preset bandwidth allocated to the current time is also higher.
For example, when it is detected that the current network quality of the viewer is lower than the preset threshold, it may be obtained that, within one month, when the viewer is turned on the live network state last time, the historical communication traffic data required per minute is 10MB/s, and therefore, the embodiment of the present application may determine that the corresponding first communication requirement is also 10 MB/s. Further, when the current communication flow is detected to be 3MB/s, the value of the preset bandwidth can be calculated to be 7 MB/s. Then, the traffic corresponding to the bandwidth of 7MB/s can be distributed to the audience until the audience quits the live network.
According to the method and the device, the historical communication traffic data corresponding to the audience terminal with the current network quality lower than the preset threshold value is obtained, the corresponding communication demand is determined, and the traffic with the corresponding bandwidth is distributed to the audience terminal based on the communication demand. According to the technical scheme, whether the audience has larger communication requirements or not can be determined by acquiring the historical communication traffic data of the audience, so that whether more bandwidth traffic is allocated to the audience is determined. Thereby fully ensuring the live broadcast viewing experience of the user terminal.
Optionally, in a possible implementation manner of the present application, in S103 (when it is detected that the current network quality of the audience is lower than the preset threshold, allocating traffic of the preset bandwidth to the audience), the following steps may be performed:
acquiring a geographical area corresponding to a spectator terminal with the current network quality lower than a preset threshold;
and when the geographic area is determined to be in the preset area, distributing the flow of the preset bandwidth to the audience.
Further, when determining to allocate the traffic of the corresponding preset bandwidth to the audience, in yet another manner, the corresponding allocation amount may also be determined based on the geographical area location of the audience. For example, when it is determined that the geographic area where a certain audience is located in the preset area, the corresponding communication requirement may be higher, so that it may be determined that the value of the preset bandwidth allocated to the certain audience is higher.
For example, when it is detected that the current network quality of the audience is lower than a preset threshold, the location of the area where the audience is located may be obtained, and when it is determined that the location of the area is a scientific research park, bandwidth traffic corresponding to 100MB/s may be allocated to the area. Or, when it is detected that the current network quality of the audience is lower than a preset threshold, the location of the area where the audience is located may be obtained.
Similarly, the preset area is not specifically limited in the present application, and may be, for example, an area where a certain street is located, an area where a certain province and city are located, or the like.
The method comprises the steps of obtaining a geographic area corresponding to a spectator terminal with the current network quality lower than a preset threshold value; and when the geographic area is determined to be in the preset area, distributing the flow of the preset bandwidth to the audience. The technical scheme of the application can determine whether to allocate more bandwidth flow to the audience by acquiring whether the audience is located in a position area allowing the larger flow to be configured.
Optionally, in a possible implementation manner of the present application, in S103 (when it is detected that the current network quality of the audience is lower than the preset threshold, allocating traffic of the preset bandwidth to the audience), the following steps may be performed:
acquiring a client identifier corresponding to a spectator terminal with the current network quality lower than a preset threshold value, and determining a second communication requirement corresponding to the client identifier, wherein the second communication requirement is used for reflecting a flow value required by the client identifier;
and when the client terminal identification is determined to meet the preset condition, distributing the flow of the preset bandwidth to the audience terminal based on the second communication requirement.
Further, when determining to allocate the traffic of the corresponding preset bandwidth to the spectator, in another manner, the corresponding allocation amount may also be determined based on the client identifier of the spectator. For example, when it is determined that the client id of a certain viewer satisfies the large client id, the communication requirement corresponding to the certain viewer is likely to be higher, so that it may be determined that the value of the preset bandwidth allocated to the certain viewer is higher.
For example, when it is detected that the current network quality of the spectator is lower than a preset threshold, the client identifier of the spectator may be obtained, and when it is determined that the client identifier is an enterprise identifier, the client identifier may be allocated with a bandwidth traffic corresponding to 100 MB/s. Or, when detecting that the client id of the viewer corresponds to the personal id, the client id may be allocated bandwidth traffic corresponding to 10 MB/s.
Similarly, the client identifier is not specifically limited in the present application, and may correspond to an enterprise user or an individual user, or may correspond to users with different service levels, for example. According to the scheme, the client terminal identification corresponding to the audience terminal with the current network quality lower than the preset threshold value is obtained, and the corresponding communication requirement is determined; and when the client terminal identification is determined to meet the preset condition, distributing the flow of the preset bandwidth to the audience terminal. According to the technical scheme, whether the audience is an authorized user or not can be determined by obtaining the client identification of the audience, so that whether more bandwidth flow is distributed to the audience is determined.
Alternatively, in one possible implementation manner of the present application, in S103 (determining the delay parameter at the viewer end), the following steps may be performed:
acquiring a first time stamp and a second time stamp;
calculating a time difference value of the first time stamp and the second time stamp;
the time difference is used as a delay parameter at the viewer end.
Further, in the embodiment of the present application, in the process of determining the audience delay parameter, the first time stamp of the video stream data sent by the anchor terminal and the second time stamp of the video stream data received by the audience terminal may be used to determine. It is understood that the first time stamp is used to represent a starting time point when the main broadcasting end transmits the video stream data, and the second time stamp is used to represent a receiving time point when the audience receives the video stream data. In other words, the longer the time difference between the first timestamp and the second timestamp, the higher the corresponding delay parameter. And when the time difference value between the first time stamp and the second time stamp is smaller, the corresponding delay parameter is lower.
In one mode, in the embodiment of the present application, the anchor side may record the first timestamp and the second timestamp and calculate a time difference therebetween, or each corresponding viewer side first timestamp and second timestamp and calculate a time difference therebetween. The first time stamp and the second time stamp may also be recorded by the server and the time difference calculated.
Optionally, in a possible implementation manner of the present application, after S102 (determining the current network quality at the viewer end), the following steps may be implemented:
and displaying the current network quality of the audience in a visual form in a device display screen of the corresponding audience.
Furthermore, the purpose of automatically monitoring the live broadcast network is mainly achieved by the following four aspects, namely the first aspect: software network environment configuration functions can be tested: the tool supports custom configuration of the user test equipment network. After the tool is started, automatically checking equipment installation software, and displaying a software list; after the corresponding software is selected, the software network can be configured in a user-defined mode, and the software network comprises information such as bandwidth, uplink, downlink, network packet loss rate, network change time and the like. Also for the second aspect: the video stream delay comparison function between the audience side and the anchor side: the tool supports that a stream pushing timestamp is added to stream pushing video data of a software anchor terminal at regular intervals (configurable), and supports that when a viewer terminal monitors that the video data contains timestamp information, the viewer terminal synchronously acquires a viewing timestamp, takes 2 timestamp difference values as live broadcast platform delay, displays the live broadcast platform delay on user equipment, and records the stream pushing timestamp, the stream pulling timestamp and the delay information on local equipment. Also, for the third aspect: the audio and video stream information display function: through the analysis of audio and video stream data at a viewer end, the information of the audio and video stream of the display platform, including the audio and video frame rate, the resolution and the code rate, can be refreshed at regular time, a user can self-define the display position of the information on a screen, and all the audio and video stream data are recorded on local equipment. Finally, in the fourth aspect: the device performance display function can be tested: the tool monitors/refreshes and displays user equipment information in real time, wherein the user equipment information comprises software memory occupation, CPU occupation, memory occupation ratio, CPU occupation ratio, software FPS, uplink flow consumption and downlink flow consumption, and records the corresponding equipment information on local equipment.
By applying the technical scheme of the application, when the network quality of a certain audience is detected to be not up to the standard according to the delay parameters of both live broadcasting parties and the equipment operation capacity of the audience, the flow of the corresponding bandwidth can be automatically distributed to the audience. Therefore, the problem that the watching experience of a user is influenced because the network bandwidth is adjusted only by manually testing the network communication smoothness in the prior art is solved.
As shown in fig. 3, the present application further provides a network monitoring apparatus. Comprising an acquisition module 201, a determination module 202, a detection module 203, wherein,
an obtaining module 201, configured to determine a delay parameter of the viewer side based on a first timestamp and a second timestamp, where the first timestamp corresponds to a time point when the anchor side sends the video stream data, and the second timestamp corresponds to a time point when the viewer side receives the video stream data;
a determining module 202, configured to determine a real-time operation capability of the viewer-side device according to the communication parameter of the viewer side, and determine a current network quality of the viewer side based on the real-time operation capability of the viewer-side device and the delay parameter;
the detecting module 203 is configured to allocate traffic of a preset bandwidth to the spectator when it is detected that the current network quality of the spectator is lower than a preset threshold.
According to the method and the device, after a delay parameter of a spectator end is determined based on a first timestamp of video stream data sent by a main broadcasting end and a second timestamp of the video stream data received by the spectator end under a target live broadcasting network, the current network quality of the operation capacity of equipment of the spectator end is determined according to the delay parameter and a communication parameter of the spectator end, and when the current network quality of the spectator end is detected to be lower than a preset threshold value, the flow of preset bandwidth is distributed to the spectator end. By applying the technical scheme of the application, when the network quality of a certain audience is detected to be not up to the standard according to the delay parameters of both live broadcasting parties and the equipment operation capacity of the audience, the flow of the corresponding bandwidth can be automatically distributed to the audience. Therefore, the problem that the watching experience of a user is influenced because the network bandwidth is adjusted only by manually testing the network communication smoothness in the prior art is solved.
In another embodiment of the present application, the communication parameters include at least one of software memory occupancy, CPU occupancy, software FPS, uplink traffic consumption parameters, and downlink traffic consumption parameters.
In another embodiment of the present application, the obtaining module 201 further includes:
an obtaining module 201, configured to obtain historical communication traffic data corresponding to a spectator whose current network quality is lower than a preset threshold, and determine a first communication requirement corresponding to the historical communication traffic data, where the first communication requirement is used for reflecting a traffic value required by the spectator;
the obtaining module 201 is configured to allocate traffic of a preset bandwidth to the audience based on the first communication requirement.
In another embodiment of the present application, the obtaining module 201 further includes:
an obtaining module 201, configured to obtain a geographic area corresponding to a spectator whose current network quality is lower than a preset threshold;
the obtaining module 201 is configured to allocate traffic of a preset bandwidth to the audience when it is determined that the geographic area is located in the preset area.
In another embodiment of the present application, the determining module 202 further includes:
a determining module 202, configured to obtain a client identifier corresponding to a spectator whose current network quality is lower than a preset threshold, and determine a second communication requirement corresponding to the client identifier, where the second communication requirement is used for reflecting a traffic value required by the second communication requirement;
and the determining module 202 is configured to, when it is determined that the client identifier meets the preset condition, allocate traffic of a preset bandwidth to the audience based on the second communication requirement.
In another embodiment of the present application, the determining module 202 further includes:
a determining module 202 configured to obtain a first timestamp, and a second timestamp;
a determining module 202 configured to calculate a time difference between the first time stamp and the second time stamp;
a determining module 202 configured to use the time difference value as a delay parameter of the viewer.
In another embodiment of the present application, the determining module 202 further includes:
and the determining module 202 is configured to visually present the current network quality of the audience in the display screen of the device of the corresponding audience.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium, such as a memory, including instructions executable by an electronic device processor to perform the method of network monitoring described above, the method comprising: determining a delay parameter of a spectator end based on a first time stamp and a second time stamp, wherein the first time stamp corresponds to a time point when the video stream data is sent by the anchor end, and the second time stamp corresponds to a time point when the video stream data is received by the spectator end; determining the real-time operation capability of the audience terminal equipment according to the communication parameters of the audience terminal, and determining the current network quality of the audience terminal based on the real-time operation capability and the delay parameters of the audience terminal equipment; and when the current network quality of the audience is detected to be lower than a preset threshold value, distributing the flow of the preset bandwidth to the audience. Optionally, the instructions may also be executable by a processor of the electronic device to perform other steps involved in the exemplary embodiments described above. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided an application/computer program product including one or more instructions executable by a processor of an electronic device to perform the above-described method of network monitoring, the method comprising: determining a delay parameter of a spectator end based on a first time stamp and a second time stamp, wherein the first time stamp corresponds to a time point when the video stream data is sent by the anchor end, and the second time stamp corresponds to a time point when the video stream data is received by the spectator end; determining the real-time operation capability of the audience terminal equipment according to the communication parameters of the audience terminal, and determining the current network quality of the audience terminal based on the real-time operation capability and the delay parameters of the audience terminal equipment; and when the current network quality of the audience is detected to be lower than a preset threshold value, distributing the flow of the preset bandwidth to the audience. Optionally, the instructions may also be executable by a processor of the electronic device to perform other steps involved in the exemplary embodiments described above.
Fig. 4 is an exemplary diagram of the computer device 30. Those skilled in the art will appreciate that the schematic diagram 4 is merely an example of the computer device 30 and does not constitute a limitation of the computer device 30 and may include more or less components than those shown, or combine certain components, or different components, e.g., the computer device 30 may also include input output devices, network access devices, buses, etc.
The Processor 302 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor 302 may be any conventional processor or the like, the processor 302 being the control center for the computer device 30 and connecting the various parts of the overall computer device 30 using various interfaces and lines.
Memory 301 may be used to store computer readable instructions 303 and processor 302 may implement various functions of computer device 30 by executing or executing computer readable instructions or modules stored within memory 301 and by invoking data stored within memory 301. The memory 301 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the computer device 30, and the like. In addition, the Memory 301 may include a hard disk, a Memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Memory Card (Flash Card), at least one disk storage device, a Flash Memory device, a Read-Only Memory (ROM), a Random Access Memory (RAM), or other non-volatile/volatile storage devices.
The modules integrated by the computer device 30 may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by hardware related to computer readable instructions, which may be stored in a computer readable storage medium, and when the computer readable instructions are executed by a processor, the steps of the method embodiments may be implemented.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A method of network monitoring, comprising:
determining a delay parameter of the audience based on a first time stamp and a second time stamp, wherein the first time stamp corresponds to a time point when the video stream data is sent by the main broadcasting end, and the second time stamp corresponds to a time point when the video stream data is received by the audience;
determining the real-time operation capability of the audience terminal equipment according to the communication parameters of the audience terminal, and determining the current network quality of the audience terminal based on the real-time operation capability of the audience terminal equipment and the delay parameters;
and when the current network quality of the audience is detected to be lower than a preset threshold value, distributing the flow of the preset bandwidth to the audience.
2. The method of claim 1, wherein the communication parameters include at least one of software memory usage, CPU usage, software FPS, uplink traffic consumption parameters, and downlink traffic consumption parameters.
3. The method of claim 1, wherein the allocating traffic of a preset bandwidth to the spectator, when the presence of the spectator is detected, and the current network quality is lower than a preset threshold, comprises:
acquiring historical communication traffic data corresponding to the audience with the current network quality lower than the preset threshold value, and determining a first communication demand corresponding to the historical communication traffic data, wherein the first communication demand is used for reflecting a traffic value required by the audience;
and distributing the flow of preset bandwidth to the audience terminal based on the first communication demand.
4. The method as claimed in claim 1 or 3, wherein the allocating traffic of a preset bandwidth to the spectator terminal when the current network quality of the spectator terminal is detected to be lower than a preset threshold value comprises:
acquiring a geographical area corresponding to the audience with the current network quality lower than a preset threshold;
and when the geographic region is determined to be located in a preset region, distributing the flow of a preset bandwidth to the audience.
5. The method of claim 4, wherein the allocating traffic of a preset bandwidth to the spectator, when the presence of the spectator is detected, and the current network quality is lower than a preset threshold, comprises:
acquiring a client identifier corresponding to the audience with the current network quality lower than the preset threshold value, and determining a second communication requirement corresponding to the client identifier, wherein the second communication requirement is used for reflecting a flow value required by the client identifier;
and when the client side identification is determined to meet the preset condition, distributing the flow of the preset bandwidth to the audience side based on the second communication requirement.
6. The method of claim 1, wherein said determining the viewer-side delay parameter comprises:
acquiring the first timestamp and the second timestamp;
calculating a time difference between the first time stamp and the second time stamp;
and taking the time difference value as a delay parameter of the audience.
7. The method of claim 1, wherein after determining the current network quality of the viewer side, further comprising:
and displaying the current network quality of the audience in a visual mode in a device display screen of the corresponding audience.
8. An apparatus for network monitoring, comprising:
an obtaining module configured to determine a delay parameter of the audience based on a first timestamp and a second timestamp, where the first timestamp corresponds to a time point when the anchor sends the video stream data, and the second timestamp corresponds to a time point when the audience receives the video stream data;
a determining module configured to determine a real-time operation capability of the viewer-side device according to the communication parameter of the viewer side, and determine a current network quality of the viewer side based on the real-time operation capability of the viewer-side device and the delay parameter;
the detection module is set to distribute the flow of the preset bandwidth to the audience when the current network quality of the audience is detected to be lower than the preset threshold.
9. An electronic device, comprising:
a memory for storing executable instructions; and the number of the first and second groups,
a processor for display with the memory to execute the executable instructions to perform the operations of the method of network monitoring of any of claims 1-7.
10. A computer-readable storage medium storing computer-readable instructions that, when executed, perform the operations of the method of network monitoring of any of claims 1-7.
CN202011036206.1A 2020-09-27 2020-09-27 Network monitoring method, device, electronic equipment and medium Pending CN112203102A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011036206.1A CN112203102A (en) 2020-09-27 2020-09-27 Network monitoring method, device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011036206.1A CN112203102A (en) 2020-09-27 2020-09-27 Network monitoring method, device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN112203102A true CN112203102A (en) 2021-01-08

Family

ID=74007445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011036206.1A Pending CN112203102A (en) 2020-09-27 2020-09-27 Network monitoring method, device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN112203102A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719875A (en) * 2009-12-15 2010-06-02 杭州华三通信技术有限公司 Method, system and device for adjusting bandwidth of MPLS TE tunnel
CN103619068A (en) * 2013-12-09 2014-03-05 中国联合网络通信集团有限公司 Method for distributing access bandwidth and network equipment
CN104253761A (en) * 2013-06-28 2014-12-31 华为技术有限公司 Method and device for bandwidth linkage control
US20160295539A1 (en) * 2015-04-05 2016-10-06 Qualcomm Incorporated Conference audio management
CN109067607A (en) * 2018-11-07 2018-12-21 网宿科技股份有限公司 A kind of method and apparatus adjusting nominal bandwidth
CN110690999A (en) * 2019-10-11 2020-01-14 腾讯科技(深圳)有限公司 Bandwidth allocation method, device and equipment based on block chain and storage medium
CN111181875A (en) * 2018-11-12 2020-05-19 中移(杭州)信息技术有限公司 Bandwidth adjusting method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719875A (en) * 2009-12-15 2010-06-02 杭州华三通信技术有限公司 Method, system and device for adjusting bandwidth of MPLS TE tunnel
CN104253761A (en) * 2013-06-28 2014-12-31 华为技术有限公司 Method and device for bandwidth linkage control
CN103619068A (en) * 2013-12-09 2014-03-05 中国联合网络通信集团有限公司 Method for distributing access bandwidth and network equipment
US20160295539A1 (en) * 2015-04-05 2016-10-06 Qualcomm Incorporated Conference audio management
CN109067607A (en) * 2018-11-07 2018-12-21 网宿科技股份有限公司 A kind of method and apparatus adjusting nominal bandwidth
CN111181875A (en) * 2018-11-12 2020-05-19 中移(杭州)信息技术有限公司 Bandwidth adjusting method and device
CN110690999A (en) * 2019-10-11 2020-01-14 腾讯科技(深圳)有限公司 Bandwidth allocation method, device and equipment based on block chain and storage medium

Similar Documents

Publication Publication Date Title
CN108924582B (en) Video recording method, computer readable storage medium and recording and playing system
US9449088B2 (en) System and method for collecting handheld test and measurement video quality information
CN105550899B (en) Media delivery service and method on intelligent terminal
CN106161219A (en) Message treatment method and device
KR101671861B1 (en) The Split Screen Digital Signage System and Method for Services through Split Screen Digital Signage System
CN106231367B (en) Beautifying processing method and device
CN110263276B (en) Message distribution method, device, equipment and storage medium
CN107197355B (en) Bullet screen display method and device
CN109299369A (en) A kind of the determination method, apparatus and server of recommending data
CN112511849A (en) Game display method, device, equipment, system and storage medium
JP2004120493A (en) Method and program for distributing event information
CN111104551A (en) Live broadcast room label determination method and device, storage medium and electronic equipment
CN112003664A (en) Method and equipment for issuing emergency broadcast information through smart television
KR20130131988A (en) Interactive live broadcasting system and method
CN108650520B (en) Video live broadcast control method, related equipment and computer storage medium
CN114817698A (en) Information pushing method and device, information display method and device, equipment and medium
CN112203102A (en) Network monitoring method, device, electronic equipment and medium
CN107332914B (en) Terminal display method and device
KR102126525B1 (en) System for synchronization advertising contents by streaming and additional service
CN115914512A (en) Live screenshot method, device, equipment and storage medium
CN111131777B (en) Viewing method and device for video network monitoring
CN110366035B (en) Frame rate control method, apparatus, computer device and computer-readable storage medium
CN108024032A (en) Image enhancement processing method, TV, server and computer-readable recording medium
CN108156529B (en) Data display method, device and system
CN107124650B (en) Method and device for downloading grade icon

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

Application publication date: 20210108

RJ01 Rejection of invention patent application after publication