CN109862436B - Streaming media signal distribution device and streaming media signal quality detection method - Google Patents
Streaming media signal distribution device and streaming media signal quality detection method Download PDFInfo
- Publication number
- CN109862436B CN109862436B CN201910256573.3A CN201910256573A CN109862436B CN 109862436 B CN109862436 B CN 109862436B CN 201910256573 A CN201910256573 A CN 201910256573A CN 109862436 B CN109862436 B CN 109862436B
- Authority
- CN
- China
- Prior art keywords
- streaming media
- media signal
- module
- stream media
- output module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a stream media signal distribution device which is placed in a hotel room and connected with stream media signal distribution devices placed in other hotel rooms in series through an original network cable, wherein the stream media signal distribution device is used for respectively forwarding received stream media signals to a decoding output module and a stream media signal output module through a stream media packet forwarding module, the decoding output module decodes the received stream media signals to form video and audio signals, outputs the video and audio signals to a television through a video interface to form program broadcasting, the stream media signal output module outputs the stream media signals to the next stream media signal distribution device, and the stream media signal output module is used for detecting the input stream media signals through repackaging and forwarding to form a relay of the signals, so that the quality of the signals can be ensured, whether the stream media signal transmission of the last node fails or not can be timely found, the failure point can be timely found, and the maintenance efficiency is improved.
Description
Technical Field
The present invention relates to video transmission technology, and in particular, to a streaming media signal distribution device and a streaming media signal quality detection method.
Background
When video systems of hotels, communities, industrial areas and the like expand, video signals need to be prolonged to a plurality of new receiving nodes after expansion. The video input signal may be extended to a plurality of new receiving nodes by cables, optical fibers or communication protocols, etc., and in order to ensure transmission quality, it is generally necessary to install a video signal amplifier, an optical relay extender, digital cable modulation or a video signal IP multicast form. In this way, its independent wiring costs are high, and the network equipment support required for IP multicast and the expertise required for fault localization. Especially as distribution points continue to increase, equipment and network upgrade difficulties and maintenance costs will grow uncontrollably rapidly.
The video input signal can also be prolonged to a plurality of new receiving nodes by adopting a streaming media mode, and the video input signal is transmitted by adopting the streaming media mode in an IP network protocol encapsulation mode. The advantage of this approach is that it can span different types of network segments, such as ethernet, mobile data networks. However, the system still needs professional network engineers to configure and maintain, the technical requirements of configuration and maintenance personnel are high, the system does not have the functions of discovering and detecting the fault nodes, and when a fault occurs, the system needs professional technicians to detect and determine the fault nodes, so that the maintenance work efficiency is low, the fault time is overlong, and the user experience is affected.
Disclosure of Invention
The invention aims to provide a streaming media signal distribution device and a streaming media signal quality detection method which can ensure the quality of streaming media signals and take the functions of relay and forwarding into consideration.
A streaming media signal distribution apparatus, comprising:
the streaming media signal input module is used for receiving the streaming media signal sent by the streaming media distributing device or the streaming media signal source and forwarding the streaming media signal to the streaming media packet forwarding module;
the streaming media packet forwarding module receives the streaming media signal sent by the streaming media signal input module and forwards the received streaming media signal to the decoding output module; simultaneously receiving an instruction of a system control management module, and controlling to send the received streaming media signal to a streaming media signal output module according to the received instruction;
the streaming media signal output module is used for outputting the received streaming media signal;
the decoding output module is used for receiving the streaming media signal of the streaming media packet forwarding module, decoding the streaming media signal and outputting the decoded streaming media signal;
the system control management module is used for setting the parameters of the streaming media signals, sending instructions to the streaming media packet forwarding module and controlling the output signals of the decoding output module; and the streaming media signal quality detection module is used for detecting the quality of the streaming media signal received by the streaming media signal input module.
After receiving the streaming media signal, the streaming media signal input module carries out package through the streaming media signal package forwarding module and then forwards the package to the decoding output module and the streaming media signal output module respectively, wherein the decoding output module decodes and outputs the received streaming media signal to the streaming media playing equipment for playing, and the streaming media signal output module can continuously output the streaming media signal as a streaming media signal source of the next streaming media signal distribution device.
When a new receiving node is increased in capacity, the streaming media signal distribution device is used for connecting the streaming media signal input module to the streaming media transmission line of the original node, the decoding output module of the streaming media signal distribution device can be connected with streaming media playing equipment such as a television to play streaming media programs, and the streaming media signal output module can continuously output streaming media signals; the output module is connected with the next stream media signal distribution device again, and the stream media signal packet forwarding device is used for repackaging and forwarding, so that a signal relay can be formed, and the quality of the stream media signal is ensured while the stream media model is transmitted to a new receiving node. Meanwhile, the novel receiving nodes can be connected in series by the distributing device, the equipment is simple, the connection is convenient, and the professional requirement on operators is low.
The streaming media signal distribution device of the invention can also be provided with a streaming media signal quality detection module for detecting the quality of the streaming media signal received by the streaming media signal input module.
Meanwhile, an alarm device can be arranged, and when the streaming media signal quality detection module detects that the streaming media signal quality is abnormal, the system control management module can control the alarm device to alarm.
By setting the streaming media signal quality detection module to detect the input streaming media signal, whether the streaming media signal transmission of the last node fails or not can be found timely, the failure point can be found timely, the maintenance efficiency is improved, the professional requirement on maintenance and detection is reduced, and the maintenance is simpler and more convenient.
Through setting up alarm device, can be when stream media signal transmission breaks down, the warning is instructed to can more audio-visual instruction fault location, further convenient maintenance operation.
A method for detecting the quality of a streaming media signal comprises the following steps:
a. initializing a counter c for calculating the trend of the transmission failure; initializing a variable lasts for reserving a last rate comparison result, wherein the variable lasts is used for confirming the difference between the current rate comparison result and the last rate comparison result;
b. obtaining the coding rate mv of the streaming media from the configuration file; obtaining an average rate av of the media stream at a specified interval from the media stream input port;
c. reading the value of lasts, and judging whether av is smaller than mv twice continuously according to mv and av values of the current sampling period; if av < mv is twice consecutively, the transmission failure trend counter c is decremented by 1; if c is 0 after the decrease, generating a transmission quality alarm and resetting c to an initial value; if av > mv twice successively, c is increased by 1, and when c reaches a value twice as high as the initial value, the value is reset to the initial value; if the comparison result reserved by lasts and the comparison result of the current sampling period av and mv are different, namely one is av < mv and the other is av > mv, the value of c is not modified;
d. after the operation is completed, storing an av and mv comparison result of the current sampling period in lasts; and then returns to step b.
The invention relates to a stream media signal quality detection method, which comprises the steps of comparing a coding rate mv of stream media obtained from a configuration file with an average rate av of a media stream at a designated interval obtained from a media stream input port; and judging whether the streaming media transmission quality is abnormal or not by judging whether the continuous av is smaller than mv in adjacent sampling periods, and alarming. The whole process does not need to analyze each audio/video streaming media packet and does not need to carry out complex calculation on video streaming parameters in streaming media signals, thereby greatly reducing hardware resources required by a detection algorithm.
Drawings
Fig. 1 is a block diagram of the streaming media signal distribution device.
Fig. 2 is a schematic diagram of node connection formed by connecting the streaming media signal distribution devices in series.
Detailed Description
As shown in fig. 1, the streaming media signal distribution apparatus includes:
the streaming media signal input module is used for receiving the streaming media signal sent by the streaming media distributing device or the streaming media signal source and forwarding the streaming media signal to the streaming media packet forwarding module;
the streaming media packet forwarding module receives the streaming media signal sent by the streaming media signal input module and forwards the received streaming media signal to the decoding output module; simultaneously receiving an instruction of a system control management module, and controlling to send the received streaming media signal to a streaming media signal output module according to the received instruction;
the streaming media signal output module is used for outputting the received streaming media signal;
the decoding output module is used for receiving the streaming media signal of the streaming media packet forwarding module, decoding the streaming media signal and outputting the decoded streaming media signal;
the system control management module is used for setting the parameters of the streaming media signals, sending instructions to the streaming media packet forwarding module and controlling the output signals of the decoding output module;
and the streaming media signal quality detection module is used for detecting the quality of the streaming media signal received by the streaming media signal input module.
The streaming media signal distribution device also comprises a streaming media signal quality detection module for detecting the quality of the streaming media signal received by the streaming media signal input module, and an alarm indicator for prompting the quality defect of the streaming media signal, wherein the system control management module receives the detection result of the transmission quality detection module to control the alarm indicator.
As shown in fig. 2, the streaming media signal distribution device is serially connected one by one to form a node connection network, the streaming media signal distribution device is used as a network transmission node 2 to receive a streaming media signal set as a signal source of a video input node 1, and then the streaming media signal is transmitted to a streaming media terminal where the network transmission node 2 is located, so that the streaming media signal is forwarded to the next network transmission node 2 while the streaming media signal is played.
The two network transmission nodes 2 can be connected through a wired network such as an ethernet network, or can be connected through a wireless network such as a WiFi or 4G/5G data network.
By setting the streaming media signal quality detection module to detect the input streaming media signal, whether the streaming media signal transmission of the last node fails or not can be timely found, the failure point is timely found, and the maintenance efficiency is improved.
The streaming media signal input module and the streaming media signal output module may be the same physical network interface, such as an RJ-45 ethernet port, and are distinguished by an internal port number.
The physical interface corresponding to the streaming media signal input module and the streaming media signal output module can also be of different types, for example, the input is RJ-45 Ethernet, and the output is WIFI wireless local area network.
The system control management module can transmit the fault state to the downstream node through the streaming media signal output module; the downstream node indicates that the upstream node fails through an alarm device, such as in a manner of alternately flashing traffic lights.
The system control management module can specify the decoding module to output a specified static alarm picture when the node or an upstream node thereof fails.
A method for detecting the quality of a stream media signal comprises the following specific steps:
a. initializing an integer type transmission fault trend counter variable c, wherein the initial value is n; initializing a variable lasts of a comparison result of a last cycle input media stream rate mv and media stream average rate av of a boolean type, wherein the initial value is true;
b. obtaining the number of media streams input by the current node and the coding rate of the current node, and calculating the total input media stream rate mv; obtaining an average rate av of the media stream at a specified interval from the media stream input port;
c. judging whether av is smaller than mv or not twice continuously, if yes, subtracting 1 from c until c=0, generating a transmission quality alarm, if av is greater than mv twice continuously, adding 1 from c until c=2n, and resetting c=n; otherwise, the value of c is unchanged;
d. and c, saving the comparison result of the current av and mv to lasts, and returning to the step b.
The method for detecting the quality of the streaming media signal comprises the steps of comparing the coding rate mv of streaming media obtained from a configuration file with the average rate av of the streaming media at a specified interval obtained from a streaming media input port; and judging whether the streaming media transmission quality is abnormal or not by judging whether the continuous av is smaller than mv in adjacent sampling periods, and alarming. The whole process does not need to analyze each audio/video streaming media packet and does not need to carry out complex calculation on video streaming parameters in streaming media signals, thereby greatly reducing hardware resources required by a detection algorithm.
The initial value of c is mainly used for carrying out smoothing processing on the frequency of the alarm, wherein the initial value of c is preferably 5, so that the alarm signal can be triggered only when quality detection problems occur in 5 sampling periods, and the alarm triggering time is prevented from being excessively prolonged.
The specific interval in step c is not particularly limited, because the reading object of the alarm is a person, if the alarm is to be confirmed to be true within 60s after the fault occurs, the trend counter variable is selected to be 5, if the interval is taken for 10s, 6 judgments will be made within 60s, which satisfies the number of sampling times for judging the quality of a continuous video signal, and how to select the best parameters is mainly considering the chip computing performance and cost factors selected by the device.
Claims (3)
1. A streaming media signal distribution apparatus, comprising:
the streaming media signal input module is used for receiving the streaming media signal sent by the streaming media distributing device or the streaming media signal source and forwarding the streaming media signal to the streaming media packet forwarding module;
the streaming media packet forwarding module receives the streaming media signal sent by the streaming media signal input module, forwards the received streaming media signal to the decoding output module, and simultaneously receives an instruction of the system control management module, and controls the received streaming media signal to be sent to the streaming media signal output module according to the received instruction;
the streaming media signal output module is used for outputting the received streaming media signal;
the decoding output module is used for receiving the streaming media signal of the streaming media packet forwarding module, decoding the streaming media signal and outputting the decoded streaming media signal;
the system control management module is used for setting the parameters of the streaming media signals, sending instructions to the streaming media packet forwarding module and controlling the output signals of the decoding output module;
the streaming media signal quality detection module is used for detecting the quality of the streaming media signal received by the streaming media signal input module;
the method for detecting the quality of the streaming media signal by the streaming media signal quality detection module specifically comprises the following steps:
a. initializing a counter c for calculating the trend of the transmission failure; initializing a reserved last rate comparison
The variable lasts of the fruit is used for confirming the speed comparison result adopted at this time and the difference of the last time;
b. obtaining the coding rate mv of the streaming media from the configuration file; obtaining an average rate av of the media stream at a specified interval from the media stream input port;
c. reading the value of lasts, and judging whether av is smaller than mv twice continuously according to mv and av values of the current sampling period; if av < mv is twice consecutively, the transmission failure trend counter c is decremented by 1; if c is 0 after the decrease, generating a transmission quality alarm and resetting c to an initial value; if av > mv twice successively, c is increased by 1, and when c reaches a value twice as high as the initial value, the value is reset to the initial value; if the comparison result reserved by lasts and the comparison result of the current sampling period av and mv are different, and one is av < mv and the other is av > mv, the value of c is not changed;
d. after the operation is completed, storing an av and mv comparison result of the current sampling period in lasts; and then returns to step b.
2. The streaming media signal distribution device according to claim 1, wherein: and an alarm device is also arranged, and when the streaming media signal quality detection module detects that the streaming media signal quality is abnormal, the system control management module controls the alarm device to alarm.
3. The streaming media signal distribution apparatus according to claim 1, wherein the initial value of the transmission failure trend counter variable c is 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910256573.3A CN109862436B (en) | 2019-04-01 | 2019-04-01 | Streaming media signal distribution device and streaming media signal quality detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910256573.3A CN109862436B (en) | 2019-04-01 | 2019-04-01 | Streaming media signal distribution device and streaming media signal quality detection method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109862436A CN109862436A (en) | 2019-06-07 |
CN109862436B true CN109862436B (en) | 2023-05-09 |
Family
ID=66902678
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910256573.3A Active CN109862436B (en) | 2019-04-01 | 2019-04-01 | Streaming media signal distribution device and streaming media signal quality detection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109862436B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111050157A (en) * | 2019-12-23 | 2020-04-21 | 安徽海豚新媒体产业发展有限公司 | IPTV program list distribution detection system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5892881A (en) * | 1997-07-17 | 1999-04-06 | Kokusai Denshin Denwa Kabushiki Kaisha | Method and apparatus for transmitting dubbing data of digital VTR |
CN1589009A (en) * | 2004-07-19 | 2005-03-02 | 张铭 | Method and device for realizing real video frequency request under two-way network |
CN101267542A (en) * | 2008-02-01 | 2008-09-17 | 深圳创维-Rgb电子有限公司 | VoD system and its implementation method |
CN101583025A (en) * | 2009-06-11 | 2009-11-18 | 中兴通讯股份有限公司 | Streaming media playing method and device |
CN202103780U (en) * | 2010-10-20 | 2012-01-04 | 深圳市台电实业有限公司 | Multimedia digital conference system |
-
2019
- 2019-04-01 CN CN201910256573.3A patent/CN109862436B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5892881A (en) * | 1997-07-17 | 1999-04-06 | Kokusai Denshin Denwa Kabushiki Kaisha | Method and apparatus for transmitting dubbing data of digital VTR |
CN1589009A (en) * | 2004-07-19 | 2005-03-02 | 张铭 | Method and device for realizing real video frequency request under two-way network |
CN101267542A (en) * | 2008-02-01 | 2008-09-17 | 深圳创维-Rgb电子有限公司 | VoD system and its implementation method |
CN101583025A (en) * | 2009-06-11 | 2009-11-18 | 中兴通讯股份有限公司 | Streaming media playing method and device |
CN202103780U (en) * | 2010-10-20 | 2012-01-04 | 深圳市台电实业有限公司 | Multimedia digital conference system |
Also Published As
Publication number | Publication date |
---|---|
CN109862436A (en) | 2019-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101800693B (en) | Method for managing data transmission in moca network and coaxial cable network | |
CN101013953B (en) | Network rotameter station and service | |
US20160182394A1 (en) | Method for Transmitting Data in a Communication Network of an Industrial Automation System and Coupling Communication Device | |
CN108880926B (en) | Server monitoring method and device | |
CN103209318B (en) | A kind of web camera | |
CN108282671B (en) | Streaming media data transmission method | |
CN110493351B (en) | Video networking access method, device, equipment and storage medium | |
CN101510844B (en) | Multimedia code stream transmission method and system and management server | |
CN110401565B (en) | Offline warning method and device | |
CN108401227A (en) | A kind of method and system for establishing connectionless mesh networks routing | |
CN109862436B (en) | Streaming media signal distribution device and streaming media signal quality detection method | |
CN109167959B (en) | Video acquisition equipment, system and video signal transmission method | |
US8902793B2 (en) | Method and system for a low-complexity spanning tree algorithm in communication networks | |
CN113692019A (en) | Wireless networking method and terminal of power Internet of things | |
CN108966018A (en) | A kind of video broadcasting method and device based on view networking | |
CN108124158A (en) | Multimedia terminal and the data processing method of multimedia terminal | |
US11290371B2 (en) | Methods and apparatuses for path selection in a packet network | |
CN102970251A (en) | Networking method and networking device | |
CN111131840B (en) | Method and device for switching network of video service system | |
CN113179428A (en) | Method, device, system and storage medium for optimizing streaming media transmission link | |
CN104734884B (en) | A kind of GOOSE communication means and device | |
CN100512129C (en) | End-to-end information transmission method and system | |
CN108429705A (en) | A kind of link bandwidth assignment method and device | |
CN112995068B (en) | Data transmission method, device and system | |
CN110365930B (en) | Data processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB03 | Change of inventor or designer information |
Inventor after: Li Zhibin Inventor after: Wu Songtao Inventor before: Li Zhibin |
|
CB03 | Change of inventor or designer information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |