Video code rate monitoring method and device, computer equipment and storage medium

By monitoring the traffic on each port of the video writing server, obtaining and analyzing the bit rate data of the monitoring equipment, the problem of inability to effectively monitor the video bit rate in the prior art is solved, and accurate monitoring and abnormal judgment of the video bit rate is achieved.

CN119854486AInactive Publication Date: 2025-04-18E SURFING VISION TECHNOLOGY CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202510330891.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-20
Publication Date
2025-04-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art cannot effectively monitor the video code rate, resulting in the inability to accurately determine whether the video code rate is abnormal.

Method used

By monitoring the traffic on each port of the video writing server, obtaining the traffic data information of each monitoring device, determining the first code rate data in the preset historical period, analyzing the standard code rate status, and comparing the actual code rate status acquired in real time with the standard code rate status to determine whether it is abnormal.

Benefits of technology

Effective monitoring of video code rate is realized, and it can accurately determine whether the code rate status is abnormal, solving the problem that the video code rate cannot be effectively monitored in the prior art.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854486A_ABST
    Figure CN119854486A_ABST
Patent Text Reader

Abstract

The invention relates to a video code rate monitoring method and device, computer equipment and a storage medium, and the method comprises the steps: carrying out the traffic monitoring of each port of a video writing server, and obtaining the traffic data information of each monitoring equipment connected with each port; based on the traffic data information of each monitoring device, determining first code rate data of each monitoring device in a preset historical period; based on the first code rate data of each monitoring device, determining a standard code rate state of the monitoring device; and comparing the real-time acquired actual code rate state of the monitoring equipment with the standard code rate state, and judging whether the actual code rate state is abnormal or not according to a comparison result. According to the video code rate monitoring method and device, the problem that the video code rate cannot be effectively monitored is solved, and the video code rate is effectively monitored.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of video surveillance technology, and in particular to a video bit rate monitoring method, device, computer equipment and storage medium. Background Art

[0002] In the current video surveillance business, there is a general lack of accurate monitoring methods for the business traffic of real-time video storage sources. The existing bit rate monitoring method is relatively simple and mechanical, and only compares the configured value with the actual value. However, due to network fluctuations and the influence of the device's own screen dynamics, the bit rate range pushed by each device in real time is different. The above bit rate monitoring method cannot effectively monitor the video bit rate.

[0003] With regard to the problem that the video bit rate cannot be effectively monitored in the related technologies, no effective solution has been proposed yet. Summary of the invention

[0004] In this embodiment, a video bit rate monitoring method, apparatus, computer equipment and storage medium are provided to solve the problem that the video bit rate cannot be effectively monitored in the related art.

[0005] In a first aspect, a video bit rate monitoring method is provided in this embodiment, and the method includes: Performing flow monitoring on each port of the video writing server to obtain flow data information of each monitoring device connected to each of the ports; Based on the traffic data information of each monitoring device, determine the first bit rate data of each monitoring device in a preset historical period; Determining a standard bit rate state of each monitoring device based on the first bit rate data of each monitoring device; The actual bit rate state of the monitoring device acquired in real time is compared with the standard bit rate state, and whether the actual bit rate state is abnormal is determined according to the comparison result.

[0006] In some embodiments, the flow monitoring of each port of the video writing server to obtain the flow data information of each monitoring device connected to each port includes: Based on a preset polling mechanism, a plurality of monitoring devices connected to each of the ports of the video writing server are polled and queried to obtain the flow data information of each monitoring device.

[0007] In some embodiments, the polling query is performed on the plurality of monitoring devices connected to the ports of the video writing server based on a preset polling mechanism to obtain the flow data information of each monitoring device, including: Dividing the plurality of monitoring devices connected to the ports of the video writing server into a plurality of groups; Based on the preset polling mechanism, each monitoring device in each group is polled and queried to obtain the flow data information of each monitoring device.

[0008] In some embodiments, determining the first bit rate data of each monitoring device in a preset historical period based on the traffic data information of each monitoring device includes: Extracting the second bit rate data of each monitoring device in the historical period from the traffic data information of each monitoring device; The second bit rate data is preprocessed to obtain the first bit rate data of each of the monitoring devices in the preset historical period.

[0009] In some embodiments, determining the standard bit rate state of the monitoring device based on the first bit rate data of each monitoring device includes: The first bit rate data of each monitoring device is analyzed to obtain the standard bit rate state of the monitoring device; the standard bit rate state includes the standard bit rate fluctuation range and the standard average bit rate of the monitoring device within the preset historical period.

[0010] In some embodiments, comparing the actual bit rate state of the monitoring device acquired in real time with the standard bit rate state includes: Based on a preset time interval, the actual bit rate state of the monitoring device in the corresponding time period is acquired in real time; the actual bit rate state includes the actual bit rate fluctuation range and the actual average bit rate of the monitoring device in the corresponding time period; The actual bit rate state is compared with the standard bit rate state.

[0011] In some embodiments, judging whether the actual bit rate state is abnormal according to the comparison result includes: When the difference between the actual bit rate state and the standard bit rate state is less than or equal to the preset threshold, determining that the actual bit rate state is normal; When the difference between the actual bit rate state and the standard bit rate state is greater than a preset threshold, the actual bit rate state is determined to be abnormal, and an alarm is triggered.

[0012] In a second aspect, a video bit rate monitoring device is provided in this embodiment, and the device includes: A monitoring module is used to monitor the flow of each port of the video writing server and obtain the flow data information of each monitoring device connected to each port; A statistical module, used to determine the first bit rate data of each monitoring device in a preset historical period based on the traffic data information of each monitoring device; an analysis module, configured to determine a standard bit rate state of the monitoring device based on the first bit rate data of each monitoring device; The judgment module is used to compare the actual bit rate state of the monitoring device obtained in real time with the standard bit rate state, and judge whether the actual bit rate state is abnormal according to the comparison result.

[0013] In a third aspect, a computer device is provided in this embodiment, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the video bit rate monitoring method described in the first aspect when executing the computer program.

[0014] In a fourth aspect, a storage medium is provided in this embodiment, on which a computer program is stored, and when the program is executed by a processor, the video bit rate monitoring method described in the first aspect is implemented.

[0015] Compared with the related art, the video bit rate monitoring method, device, computer equipment and storage medium provided in this embodiment monitor the traffic of each port of the video writing server to obtain the traffic data information of each monitoring device connected to each port; based on the traffic data information of each monitoring device, determine the first bit rate data of each monitoring device in a preset historical period; based on the first bit rate data of each monitoring device, determine the standard bit rate state of the monitoring device; compare the actual bit rate state of the monitoring device obtained in real time with the standard bit rate state, and judge whether the actual bit rate state is abnormal according to the comparison result, thereby solving the problem of being unable to effectively monitor the video bit rate and realizing effective monitoring of the video bit rate.

[0016] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings: Figure 1 This is a hardware structure block diagram of a terminal device of a video bit rate monitoring method provided by an embodiment of the present application; Figure 2 is a flow chart of a video bit rate monitoring method provided by an embodiment of the present application; Figure 3It is a flowchart of a video bit rate monitoring method provided by an embodiment of the present application; Figure 4 is a flow chart of a method for extracting bit rate data provided by an embodiment of the present application; Figure 5 is a flow chart of a bit rate data comparison method provided by an embodiment of the present application; Figure 6 is a flow chart of a video bit rate monitoring method provided by a preferred embodiment of the present application; Figure 7 It is a structural block diagram of a video bit rate monitoring device provided in one embodiment of the present application.

[0018] In the figure: 102, processor; 104, memory; 106, transmission device; 108, input and output device; 10, monitoring module; 20, statistical module; 30, analysis module; 40, judgment module. DETAILED DESCRIPTION

[0019] In order to more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments.

[0020] Unless otherwise defined, the technical terms or scientific terms involved in this application shall have the general meaning understood by people with general skills in the technical field to which this application belongs. The words "one", "a", "the", "these" and the like in this application do not indicate a quantitative limitation, and they may be singular or plural. The terms "include", "comprise", "have" and any variants thereof involved in this application are intended to cover non-exclusive inclusions; for example, a process, method and system, product or device comprising a series of steps or modules (units) is not limited to the listed steps or modules (units), but may include unlisted steps or modules (units), or may include other steps or modules (units) inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" may mean: A exists alone, A and B exist at the same time, and B exists alone. Generally, the character " / " indicates that the objects associated with each other are in an "or" relationship. The terms "first", "second", "third", etc. in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0021] The method embodiment provided in this embodiment can be executed in a terminal, a computer or a similar computing device. For example, running on a terminal, Figure 1 FIG. 1 is a hardware structure diagram of a terminal of the video bit rate monitoring method of this embodiment. Figure 1 As shown, the terminal may include one or more ( Figure 1 Only one is shown in the figure) processor 102 and memory 104 for storing data, wherein processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA. The above terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0022] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the video bit rate monitoring method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0023] The transmission device 106 is used to receive or send data via a network. The above network includes a wireless network provided by a communication provider of the terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.

[0024] In this embodiment, a video bit rate monitoring method is provided. Figure 2 is a flow chart of the video bit rate monitoring method of this embodiment. Figure 2 As shown, the process includes the following steps: Step S210, monitoring the flow of each port of the video writing server to obtain flow data information of each monitoring device connected to each port; Step S220, determining first bit rate data of each monitoring device within a preset historical period based on the traffic data information of each monitoring device; Step S230, determining a standard bit rate state of each monitoring device based on the first bit rate data of each monitoring device; Step S240, comparing the actual bit rate state of the monitoring device obtained in real time with the standard bit rate state, and judging whether the actual bit rate state is abnormal according to the comparison result.

[0025] Specifically, Figure 3 As shown, the bitrate monitoring component is distributedly deployed at each video writing point, and the traffic of each port of the video writing server is monitored to obtain the traffic data information of each monitoring device connected to different ports, which is usually collected from the Internet Protocol Camera (IPC). The traffic data information includes the total traffic volume of video transmission in each time period, the bitrate data of the video transmission of the monitoring device, etc., and the acquired traffic data information is transmitted to the bitrate analysis component in real time. It should be noted that when each monitoring device transmits video data to the same writing point, the transmission ports used by each monitoring device are different.

[0026] Furthermore, the second bit rate data of each monitoring device in the historical period is extracted from the traffic data information of each monitoring device. The historical period can be set according to the demand, for example, set to the past day or week. The second bit rate data is pre-processed by screening, filtering and data fusion to obtain the first bit rate data of each monitoring device in the preset historical period. The bit rate data refers to the number of data bits transmitted per unit time during data transmission.

[0027] Afterwards, the first bit rate data of each monitoring device is analyzed to obtain a standard bit rate state of the monitoring device, where the standard bit rate state includes a standard bit rate fluctuation range and a standard average bit rate of the monitoring device within a preset historical period.

[0028] In the actual bit rate monitoring process, based on the preset time interval, the actual bit rate status of the monitoring device in the corresponding time period is obtained in real time. The actual bit rate status includes the actual bit rate fluctuation range and the actual average bit rate of the monitoring device in the corresponding time period, and the actual bit rate status is compared with the same category parameters in the standard bit rate status. According to the comparison result, it is determined whether the actual bit rate status is abnormal. If the difference between the actual bit rate status and the standard bit rate status is less than or equal to the preset threshold, the actual bit rate status is determined to be normal. Otherwise, the actual bit rate status is determined to be abnormal, and an alarm is triggered through the video service control component, and pushed to the corresponding service platform for processing. Among them, the bit rate status includes the bit rate fluctuation range, average bit rate, and bit rate change frequency, etc., which are not limited here.

[0029] Exemplarily, when the bit rate state includes a bit rate fluctuation range and an average bit rate, the calculated actual bit rate fluctuation range is compared with the standard bit rate fluctuation range to determine whether the difference between the actual bit rate fluctuation range and the standard bit rate fluctuation range is less than or equal to a first preset threshold, and the calculated actual average bit rate is compared with the standard average bit rate to determine whether the difference between the actual average bit rate and the standard average bit rate is less than or equal to a second preset threshold. If the difference between the actual bit rate fluctuation range and the standard bit rate fluctuation range is less than or equal to the first preset threshold, and the difference between the actual average bit rate and the standard average bit rate is less than or equal to the second preset threshold, the actual bit rate state is determined to be normal. It should be noted that the above-mentioned comparison between the actual bit rate fluctuation range and the standard bit rate fluctuation range refers to the situation where the actual bit rate fluctuation range is not within the standard bit rate fluctuation range. If the actual bit rate fluctuation range is within the standard bit rate fluctuation range, for example, the standard bit rate fluctuation range is 2Mbps to 4Mbps, and the actual bit rate fluctuation range is 2.5Mbps to 3.5Mbps, it indicates that the actual bit rate fluctuation range is normal.

[0030] In addition, this embodiment sets a unified service interface for providing functions such as bit rate query, bit rate summary analysis, and monitoring traffic operation management. Among them, bit rate query refers to supporting users to query video bit rate information according to a preset time range, such as supporting the query of bit rate within a time period in hours, and supporting a maximum time range query in days, so as to meet the time accuracy requirements for bit rate data query in different scenarios; bit rate summary analysis refers to generating bit rate report data within a specific time range, which is used to reflect the change of bit rate within the corresponding time period, and provides strong support for in-depth analysis of video traffic stability, evaluation of video transmission quality, and optimization of network resource configuration, so that operation and maintenance personnel or relevant decision makers can accurately grasp the fluctuation trend of video data traffic; monitoring traffic operation management refers to the monitoring equipment connected to the access point, and the system provides complete operation management functions, covering the monitoring start, pause, and delete operations of the operation and the operation status query function, so that users can flexibly control the execution status of the monitoring task of each camera, obtain the progress of the operation in real time, and ensure the efficient operation and management of the monitoring system, so that the monitoring strategy can be flexibly adjusted according to actual needs to meet the needs of diverse business scenarios.

[0031] In the current video surveillance business, there is a general lack of accurate monitoring methods for the business traffic of real-time video storage sources. The existing bit rate monitoring method is relatively simple and mechanical, and only compares the configured value with the actual value. However, due to network fluctuations and the influence of the device's own screen dynamics, the bit rate range pushed by each device in real time is different. The above bit rate monitoring method cannot effectively monitor the video bit rate.

[0032] Compared with the prior art, the present application monitors the flow of each port of the video writing server to obtain the flow data information of each monitoring device connected to each port; based on the flow data information of each monitoring device, the first bit rate data of each monitoring device in the preset historical period is determined; based on the first bit rate data of each monitoring device, the standard bit rate state of the monitoring device is determined; the actual bit rate state of the monitoring device obtained in real time is compared with the standard bit rate state, and whether the actual bit rate state is abnormal is determined according to the comparison result. Based on this, by analyzing and obtaining the bit rate state of the monitoring device in the historical period, and taking the bit rate state in the historical period as the standard bit rate state, the actual bit rate state of the monitoring device obtained by real-time monitoring is compared with the standard bit rate state, and whether the real-time bit rate state is abnormal is accurately determined, which solves the problem of being unable to effectively monitor the video bit rate, and realizes effective monitoring of the video bit rate, so that it can more accurately cooperate with the business side to dynamically adjust the business, or timely feedback and handle customer problems, improve the security and stability of the business, and improve the customer's business perception.

[0033] In some embodiments, the step S210 of monitoring the flow of each port of the video writing server to obtain the flow data information of each monitoring device connected to each port includes the following steps: Based on a preset polling mechanism, multiple monitoring devices connected to each port of the video writing server are polled and queried to obtain the flow data information of each monitoring device.

[0034] Specifically, a polling mechanism is pre-set, and multiple monitoring devices connected to each port of the video writing server are polled and queried in an orderly manner according to the polling rules indicated by the polling mechanism to obtain the flow data information of each monitoring device. The polling rules include information such as the starting order of polling, the query interval time, and the data collection content.

[0035] It should be noted that different ports are connected to monitoring devices distributed in different areas and performing different monitoring tasks. During the polling process, different monitoring devices connected to each port are accessed in turn according to a predetermined order. For each monitoring device, a query request is sent to it through a specific communication protocol and interface to obtain the traffic data information of the device.

[0036] In this embodiment, a corresponding polling mechanism is set according to actual application requirements. For example, there are multiple monitoring devices in the target area, distributed in different areas such as office buildings, parking lots, and park roads. Each monitoring device is connected to the video writing server through a different port. The current polling mechanism is set to query all monitoring devices every 5 minutes. The polling order can be set according to the distribution area, port number size, monitoring device number size, etc., so as to use an orderly polling method to ensure that each monitoring device can obtain the corresponding traffic data information within the demand cycle, avoiding omissions or repeated queries.

[0037] Through this embodiment, based on a preset polling mechanism, multiple monitoring devices connected to each port of the video writing server are polled and queried to obtain flow data information of each monitoring device, thereby using the polling query mechanism for monitoring to improve monitoring efficiency.

[0038] In some embodiments, based on a preset polling mechanism, multiple monitoring devices connected to each port of the video writing server are polled to obtain flow data information of each monitoring device, including the following steps: Divide a plurality of monitoring devices connected to the ports of the video writing server into a plurality of groups; Based on the preset polling mechanism, each monitoring device in each group is polled to obtain the flow data information of each monitoring device.

[0039] Specifically, based on a preset strategy, multiple monitoring devices connected to each port of the video writing server are divided into multiple groups. The preset strategy can be set according to the number of monitoring devices, the regional distribution of monitoring devices, the functional type of monitoring devices, etc., and according to the polling rules indicated by the preset polling mechanism, each monitoring device in each group is polled to obtain the flow data information of each monitoring device. At the same time, each group adopts parallel query to improve the efficiency of the polling operation. Among them, the polling rules include information such as the starting order of polling, the query interval time, and the data collection content.

[0040] Exemplarily, each port of the video writing server is connected to 10,000 monitoring devices, which are divided into 10 independent groups based on 1,000 monitoring devices. The 1,000 monitoring devices in each group are polled according to the polling rules, and the polling query work of the 10 groups is executed simultaneously.

[0041] Through this embodiment, multiple monitoring devices connected to each port of the video writing server are divided into multiple groups. Based on a preset polling mechanism, each monitoring device in each group is polled and queried to obtain the traffic data information of each monitoring device. In this way, a concurrent management mechanism based on polling operations is adopted for monitoring, which effectively shortens the overall query time and improves monitoring efficiency.

[0042] In some of the embodiments, Figure 4 As shown, the first bit rate data of each monitoring device in a preset historical period is determined based on the traffic data information of each monitoring device in step S220, including the following steps: Step S221, extracting the second bit rate data of each monitoring device in the historical period from the traffic data information of each monitoring device; Step S222: pre-process the second bit rate data to obtain the first bit rate data of each monitoring device in a preset historical period.

[0043] Specifically, after acquiring the flow data information of each monitoring device, the second bit rate data of each monitoring device in the historical period is extracted from the flow data information of each monitoring device. For example, the bit rate data of the video transmission of each monitoring device in the past day is extracted.

[0044] Furthermore, the second bit rate data of each monitoring device is preprocessed to obtain the first bit rate data of the monitoring device within the preset historical period, and the preprocessing includes data screening, data filtering, data fusion and other operations. Among them, data screening is used to determine the effective time period in which the bit rate value actually exists within the historical period, and to filter out the bit rate data of the monitoring device within the effective time period from the second bit rate data. For example, if the past day is taken as the historical period, and the opening period of monitoring device A is from 8 am to 6 pm, then 8 am to 6 pm is the effective time period, and the bit rate data of monitoring device A within 8 am to 6 pm is filtered out from the second bit rate data; data filtering is used to perform operations such as outlier removal and duplicate value deletion on the bit rate data obtained by screening, so as to avoid abnormal bit rates affecting the subsequent standard bit rate state setting; data fusion refers to integrating the screened and filtered second bit rate data to generate the first bit rate data of the monitoring device within the preset historical period.

[0045] Through this embodiment, the second bit rate data of each monitoring device in the historical period is extracted from the traffic data information of each monitoring device, and the second bit rate data is preprocessed to obtain the first bit rate data of each monitoring device in the preset historical period, so as to preprocess the obtained bit rate basic data to ensure the accuracy of subsequent bit rate data analysis results.

[0046] In some embodiments, determining the standard bit rate state of the monitoring device based on the first bit rate data of each monitoring device in step S230 includes the following steps: The first bit rate data of each monitoring device is analyzed to obtain a standard bit rate state of the monitoring device; the standard bit rate state includes a standard bit rate fluctuation range and a standard average bit rate of the monitoring device within a preset historical period.

[0047] Specifically, data analysis is performed on the first bit rate data of each monitoring device to calculate the standard bit rate fluctuation range and standard average bit rate of the monitoring device within a preset historical period. The standard bit rate fluctuation range is used to measure the degree of change of the bit rate of the monitoring device within the preset historical period, and the standard average bit rate is used to reflect the average level of the bit rate of the monitoring device under normal working conditions.

[0048] The above standard bit rate fluctuation range can be the minimum and maximum values ​​of the bit rate of the monitoring device in a preset historical period, or the bit rate fluctuation range can be determined by the standard deviation of statistical data. In addition, all bit rate data in a time period within a preset historical period are averaged to obtain a standard average bit rate, for example, using an arithmetic average, a weighted average, or other algorithm. It should be noted that this embodiment does not specifically limit the calculation method of the standard bit rate fluctuation range and the standard average bit rate.

[0049] Through this embodiment, the first bit rate data of each monitoring device is analyzed to obtain the standard bit rate status of the monitoring device; the standard bit rate status includes the standard bit rate fluctuation range and the standard average bit rate of the monitoring device within a preset historical period, providing a more accurate reference basis for actual bit rate status monitoring.

[0050] In some of the embodiments, Figure 5 As shown, the actual bit rate state of the monitoring device obtained in real time is compared with the standard bit rate state in step S240, including the following steps: Step S241, based on a preset time interval, obtaining in real time the actual bit rate status of the monitoring device in the corresponding time period; the actual bit rate status includes the actual bit rate fluctuation range and the actual average bit rate of the monitoring device in the corresponding time period; Step S242: compare the actual bit rate state with the standard bit rate state.

[0051] Specifically, in the actual bit rate monitoring process, the traffic data information of the monitoring device in the current time period is obtained in real time according to the preset time interval. Based on the traffic data information obtained in real time, the actual bit rate state of the monitoring device is analyzed and calculated. The actual bit rate state includes the actual bit rate fluctuation range and the actual average bit rate of the monitoring device in the current time period. The actual bit rate state is compared with the same category parameters in the standard bit rate state to determine whether the actual bit rate fluctuation range and the average bit rate are within a reasonable range.

[0052] Exemplarily, with half an hour as the preset time interval, the traffic data information of the monitoring device in the current time period is obtained in real time, and the actual bit rate fluctuation range of the monitoring device is calculated to be 2.5Mbps to 3.5Mbps based on the traffic data information, and the actual average bit rate is 3.03Mbps.

[0053] Through this embodiment, based on the preset time interval, the actual bit rate state of the monitoring device in the corresponding time period is obtained in real time, and the actual bit rate state includes the actual bit rate fluctuation range and the actual average bit rate of the monitoring device in the corresponding time period. The actual bit rate state is then compared with the standard bit rate state to determine whether the actual bit rate state of the current device is a reasonable state.

[0054] In some of the embodiments, judging whether the actual bit rate state is abnormal according to the comparison result includes the following steps: When the difference between the actual bit rate state and the standard bit rate state is less than or equal to a preset threshold, the actual bit rate state is determined to be normal; When the difference between the actual bit rate state and the standard bit rate state is greater than a preset threshold, the actual bit rate state is determined to be abnormal and an alarm is triggered.

[0055] Specifically, the difference between the actual bit rate state and the standard bit rate state of the monitoring device is analyzed and calculated. When the difference between the actual bit rate state and the standard bit rate state is less than or equal to the preset threshold, the actual bit rate state is determined to be normal. When the difference between the actual bit rate state and the standard bit rate state is greater than the preset threshold, the actual bit rate state is determined to be abnormal, and an alarm is triggered and pushed to the corresponding business platform for processing. The business platform can dynamically adjust the video storage duration according to the actual bit rate status to ensure that it does not exceed the pre-set amount of user available space.

[0056] For example, in the past day, the standard bit rate fluctuation range of the monitoring device is 2Mbps to 4Mbps, the standard average bit rate size is 3Mbps, and the allowable difference between the upper limit of the actual fluctuation range and the upper limit of the standard fluctuation range is set to 0.4Mbps, the allowable difference between the lower limit of the actual fluctuation range and the lower limit of the standard fluctuation range is set to 0.4Mbps, and the allowable difference of the average bit rate is 0.4Mbps. If the actual bit rate fluctuation range of monitoring device A is calculated in real time to be 2.5Mbps to 3.5Mbps, and the actual average bit rate size is 3.03Mbps, then the actual bit rate status of monitoring device A is determined to be normal; if the actual bit rate fluctuation range of monitoring device B is calculated in real time to be 1.9Mbps to 4.5Mbps, and the actual average bit rate size is 3.3Mbps, then the actual bit rate status of monitoring device B is determined to be abnormal.

[0057] Through this embodiment, when the difference between the actual bit rate state and the standard bit rate state is less than or equal to the preset threshold, the actual bit rate state is determined to be normal. When the difference between the actual bit rate state and the standard bit rate state is greater than the preset threshold, the actual bit rate state is determined to be abnormal and an alarm is triggered, so as to accurately determine whether the current device bit rate is abnormal.

[0058] The present embodiment is described and illustrated below through preferred embodiments.

[0059] Figure 6 is a flow chart of the video bit rate monitoring method of the preferred embodiment, such as Figure 6 As shown, the video bit rate monitoring method includes the following steps: Step S610, dividing a plurality of monitoring devices connected to the ports of the video writing server into a plurality of groups; Step S620, based on a preset polling mechanism, polling and querying each monitoring device in each group to obtain flow data information of each monitoring device; Step S630, extracting the second bit rate data of each monitoring device in the historical period from the traffic data information of each monitoring device; Step S640, preprocessing the second bit rate data to obtain the first bit rate data of each monitoring device in a preset historical period; Step S650: Analyze the first bit rate data of each monitoring device to obtain the standard bit rate fluctuation range and the standard average bit rate of the monitoring device within a preset historical period.

[0060] Step S660, based on a preset time interval, obtaining in real time the actual bit rate fluctuation range and the actual average bit rate of the monitoring device in the corresponding time period; Step S670, comparing the standard bit rate fluctuation range and the standard average bit rate of the monitoring device with the actual bit rate fluctuation range and the actual average bit rate of the monitoring device; Step S680: If the actual bit rate fluctuation range and the actual average bit rate are within a reasonable range, it is determined that the current bit rate state of the monitoring device is normal; Step S690: If the actual bit rate fluctuation range and the actual average bit rate are not within a reasonable range, it is determined that the current bit rate state of the monitoring device is abnormal, and an alarm is triggered.

[0061] Through this embodiment, multiple monitoring devices connected to each port of the video writing server are divided into multiple groups. Based on a preset polling mechanism, each monitoring device in each group is polled and queried to obtain the traffic data information of each monitoring device. From the traffic data information of each monitoring device, the second bit rate data of each monitoring device in the historical period is extracted, and the second bit rate data is preprocessed to obtain the first bit rate data of each monitoring device in the preset historical period.

[0062] Furthermore, the first bit rate data of each monitoring device is analyzed to obtain the standard bit rate fluctuation range and standard average bit rate of the monitoring device in the preset historical period, and based on the preset time interval, the actual bit rate fluctuation range and actual average bit rate of the monitoring device in the corresponding time period are obtained in real time. The standard bit rate fluctuation range and standard average bit rate of the monitoring device are compared with the actual bit rate fluctuation range and actual average bit rate of the monitoring device. If the actual bit rate fluctuation range and the actual average bit rate are within a reasonable range, it is determined that the current bit rate state of the monitoring device is normal. If the actual bit rate fluctuation range and the actual average bit rate are not within a reasonable range, it is determined that the current bit rate state of the monitoring device is abnormal, and an alarm is triggered, which solves the problem of being unable to effectively monitor the video bit rate and realizes effective monitoring of the video bit rate.

[0063] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0064] In this embodiment, a video bit rate monitoring device is also provided, which is used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. The terms "module", "unit", "subunit", etc. used below can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0065] Figure 7 is a structural block diagram of the video bit rate monitoring device of this embodiment, such as Figure 7 As shown, the device comprises: The monitoring module 10 is used to monitor the flow of each port of the video writing server and obtain the flow data information of each monitoring device connected to each port; A statistical module 20, for determining first bit rate data of each monitoring device within a preset historical period based on the traffic data information of each monitoring device; An analysis module 30, configured to determine a standard bit rate state of each monitoring device based on the first bit rate data of each monitoring device; The judgment module 40 is used to compare the actual bit rate state of the monitoring device obtained in real time with the standard bit rate state, and judge whether the actual bit rate state is abnormal according to the comparison result.

[0066] Through the device provided in this embodiment, the traffic of each port of the video writing server is monitored to obtain the traffic data information of each monitoring device connected to each port; based on the traffic data information of each monitoring device, the first bit rate data of each monitoring device in a preset historical period is determined; based on the first bit rate data of each monitoring device, the standard bit rate state of the monitoring device is determined; the actual bit rate state of the monitoring device obtained in real time is compared with the standard bit rate state, and it is determined whether the actual bit rate state is abnormal based on the comparison result, which solves the problem of being unable to effectively monitor the video bit rate and realizes effective monitoring of the video bit rate.

[0067] In some of the embodiments, the monitoring module 10 is further used to poll multiple monitoring devices connected to the ports of the video writing server based on a preset polling mechanism to obtain the flow data information of each monitoring device.

[0068] In some of the embodiments, the monitoring module 10 is also used to divide multiple monitoring devices connected to the ports of the video writing server into multiple groups; based on a preset polling mechanism, poll each monitoring device in each group to obtain traffic data information of each monitoring device.

[0069] In some of the embodiments, the statistical module 20 is also used to extract the second bit rate data of each monitoring device in the historical period from the traffic data information of each monitoring device; pre-process the second bit rate data to obtain the first bit rate data of each monitoring device in the preset historical period.

[0070] In some of the embodiments, the analysis module 30 is further used to analyze the first bit rate data of each monitoring device to obtain a standard bit rate state of the monitoring device; the standard bit rate state includes a standard bit rate fluctuation range and a standard average bit rate of the monitoring device within a preset historical period.

[0071] In some of the embodiments, the judgment module 40 is also used to obtain in real time, based on a preset time interval, the actual bit rate status of the monitoring device in the corresponding time period; the actual bit rate status includes the actual bit rate fluctuation range and the actual average bit rate of the monitoring device in the corresponding time period; and compare the actual bit rate status with the standard bit rate status.

[0072] In some of the embodiments, the judgment module 40 is further used to determine that the actual bit rate state is normal when the difference between the actual bit rate state and the standard bit rate state is less than or equal to a preset threshold; when the difference between the actual bit rate state and the standard bit rate state is greater than the preset threshold, determine that the actual bit rate state is abnormal and trigger an alarm.

[0073] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0074] In this embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0075] Optionally, the computer device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0076] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program: S1, monitoring the flow of each port of the video writing server to obtain the flow data information of each monitoring device connected to each port; S2, determining first bit rate data of each monitoring device within a preset historical period based on the traffic data information of each monitoring device; S3, determining a standard bit rate state of the monitoring device based on the first bit rate data of each monitoring device; S4, comparing the actual bit rate state of the monitoring device obtained in real time with the standard bit rate state, and judging whether the actual bit rate state is abnormal according to the comparison result.

[0077] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and will not be repeated in this embodiment.

[0078] In addition, in combination with the video bit rate monitoring method provided in the above embodiments, a storage medium may be provided in this embodiment to implement the method. The storage medium stores a computer program; when the computer program is executed by a processor, any of the video bit rate monitoring methods in the above embodiments is implemented.

[0079] It should be understood that the specific embodiments described herein are only used to explain the application, rather than to limit it. Based on the embodiments provided in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of this application.

[0080] Obviously, the drawings are only some examples or embodiments of the present application. For ordinary technicians in the field, the present application can also be applied to other similar situations based on these drawings without creative work. In addition, it is understandable that although the work done in this development process may be complicated and lengthy, for ordinary technicians in the field, certain changes in design, manufacturing or production based on the technical content disclosed in this application are only conventional technical means and should not be regarded as insufficient content disclosed in this application.

[0081] The term "embodiment" in this application refers to a specific feature, structure or characteristic described in conjunction with the embodiment that can be included in at least one embodiment of the present application. The appearance of this phrase in various locations in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. It is clearly or implicitly understood by those of ordinary skill in the art that the embodiments described in this application can be combined with other embodiments without conflict.

[0082] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of patent protection. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the attached claims.

Claims

1. A video bit rate monitoring method, characterized in that: The method comprises: Performing flow monitoring on each port of the video writing server to obtain flow data information of each monitoring device connected to each of the ports; Based on the traffic data information of each monitoring device, determining the first bit rate data of each monitoring device within a preset historical period; Determining a standard bit rate state of each monitoring device based on the first bit rate data of each monitoring device; The actual bit rate state of the monitoring device acquired in real time is compared with the standard bit rate state, and whether the actual bit rate state is abnormal is determined according to the comparison result.

2. The video bit rate monitoring method according to claim 1, characterized in that: The flow monitoring of each port of the video writing server to obtain the flow data information of each monitoring device connected to each port includes: Based on a preset polling mechanism, a plurality of monitoring devices connected to each of the ports of the video writing server are polled and queried to obtain the flow data information of each monitoring device.

3. The video bit rate monitoring method according to claim 2, characterized in that: The method of performing polling query on the plurality of monitoring devices connected to the ports of the video writing server based on the preset polling mechanism to obtain the flow data information of each monitoring device includes: Dividing the plurality of monitoring devices connected to the ports of the video writing server into a plurality of groups; Based on the preset polling mechanism, each monitoring device in each group is polled and queried to obtain the flow data information of each monitoring device.

4. The video bit rate monitoring method according to claim 1, characterized in that: The determining, based on the flow data information of each monitoring device, first bit rate data of each monitoring device in a preset historical period includes: Extracting the second bit rate data of each monitoring device in the historical period from the traffic data information of each monitoring device; The second bit rate data is preprocessed to obtain the first bit rate data of each of the monitoring devices in the preset historical period.

5. The video bit rate monitoring method according to claim 1, characterized in that: The determining, based on the first bit rate data of each monitoring device, a standard bit rate state of the monitoring device includes: The first bit rate data of each monitoring device is analyzed to obtain the standard bit rate state of the monitoring device; the standard bit rate state includes the standard bit rate fluctuation range and the standard average bit rate of the monitoring device within the preset historical period.

6. The video bit rate monitoring method according to claim 1, characterized in that: The comparing the actual bit rate state of the monitoring device acquired in real time with the standard bit rate state includes: Based on a preset time interval, the actual bit rate state of the monitoring device in the corresponding time period is acquired in real time; the actual bit rate state includes the actual bit rate fluctuation range and the actual average bit rate of the monitoring device in the corresponding time period; The actual bit rate state is compared with the standard bit rate state.

7. The video bit rate monitoring method according to claim 1, characterized in that: The determining whether the actual bit rate state is abnormal according to the comparison result includes: When the difference between the actual bit rate state and the standard bit rate state is less than or equal to the preset threshold, determining that the actual bit rate state is normal; When the difference between the actual bit rate state and the standard bit rate state is greater than a preset threshold, the actual bit rate state is determined to be abnormal, and an alarm is triggered.

8. A video bit rate monitoring device, characterized in that: The device comprises: A monitoring module is used to monitor the flow of each port of the video writing server and obtain the flow data information of each monitoring device connected to each port; A statistical module, used to determine the first bit rate data of each monitoring device in a preset historical period based on the traffic data information of each monitoring device; an analysis module, configured to determine a standard bit rate state of the monitoring device based on the first bit rate data of each monitoring device; The judgment module is used to compare the actual bit rate state of the monitoring device obtained in real time with the standard bit rate state, and judge whether the actual bit rate state is abnormal according to the comparison result.

9. A computer device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps of the video bit rate monitoring method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the video bit rate monitoring method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Video monitoring method and system based on code rate mutation

    CN103024352A

  • Abnormal flow detection method and device, computer equipment and storage medium

    CN110086649A

  • Operation and maintenance system and operation and maintenance method suitable for video monitoring equipment

    CN111970484A

  • Equipment state monitoring method and device, equipment and computer readable storage medium

    CN114328102A

  • Platform side data alarm method and device, monitoring equipment and readable storage medium

    CN115174354A