CN114301883B - Anti-streaming method for national standard equipment video stream based on UDP protocol transmission - Google Patents

Anti-streaming method for national standard equipment video stream based on UDP protocol transmission Download PDF

Info

Publication number
CN114301883B
CN114301883B CN202111637409.0A CN202111637409A CN114301883B CN 114301883 B CN114301883 B CN 114301883B CN 202111637409 A CN202111637409 A CN 202111637409A CN 114301883 B CN114301883 B CN 114301883B
Authority
CN
China
Prior art keywords
platform
national standard
port
standard equipment
equipment
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
Application number
CN202111637409.0A
Other languages
Chinese (zh)
Other versions
CN114301883A (en
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.)
China Telecom Fufu Information Technology Co Ltd
Original Assignee
China Telecom Fufu Information 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 China Telecom Fufu Information Technology Co Ltd filed Critical China Telecom Fufu Information Technology Co Ltd
Priority to CN202111637409.0A priority Critical patent/CN114301883B/en
Publication of CN114301883A publication Critical patent/CN114301883A/en
Application granted granted Critical
Publication of CN114301883B publication Critical patent/CN114301883B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The invention discloses an anti-streaming method of national standard equipment video stream based on UDP protocol transmission.A platform carries media stream information, sends a cutoff signaling to the national standard equipment through SIP service and waits for the reply of the national standard equipment; the platform judges whether the national standard equipment reply is normal or not based on the returned result; the platform sends a cutoff request to the PSS service if normal; ending the flow breaking process and recording the abnormal log of the flow breaking if abnormal, and marking the media stream information as the available state to be confirmed; the PSS service receives the interruption request, starts monitoring when the port mark to be closed is unreleased, and sends an alarm notice to the platform when media stream data is sent to the port after the equipment is interrupted; if the equipment is successfully cut off, the platform is informed to delete the media stream information; the platform pushes the abnormal information to the operation and maintenance platform, and the operation and maintenance platform informs relevant operation and maintenance personnel to confirm and maintain the situation. The invention effectively avoids the streaming phenomenon, and ensures that each port has only one path of stream access.

Description

Anti-streaming method for national standard equipment video stream based on UDP protocol transmission
Technical Field
The invention relates to the technical field of national standard platform application, in particular to an anti-streaming method of national standard equipment video stream based on UDP protocol transmission.
Background
In the application of the national standard (GB/T28181) platform, transmission by using TCP protocol is not required before version 2016, so that most of old equipment only supports UDP protocol push flow, and streaming conditions under UDP protocol with higher occurrence frequency exist. When playing a real-time video or recording video of one device, the streaming phenomenon that two different pictures are intermittently and alternately displayed exists in one video device, and the root cause is that two video devices use UDP protocol to push streams to the same port of a media service at the same time. Meanwhile, if one of the following conditions is satisfied, a streaming problem in which pictures are continuously switched may occur.
SSRC value: the SDP content carried in the SIP message body in the networking system should conform to the related requirements of IETF RFC 2327, and should have a partial field, where the y value in the field is what we commonly say an SSRC value, that is, a 10-bit number carried by national standard equipment when transmitting a video stream,
the prior art has the following problems: firstly, when the equipment has a problem and receives the SSRC sent by the platform, the SSRC information is returned without the national standard requirement; secondly, the judged identification y value (SSRC) of the device flow uniqueness is lost in the sip transmission process; thirdly, the platform and the equipment both have a processing mechanism for sending out SSRC values, but because of a firewall or a BRAS and other network elements, the SSRC is deleted; fourthly, stream data pushed by the UDP protocol has no fixed channel and is unstable.
Disclosure of Invention
The invention aims to solve the streaming phenomenon that two different frames of one video intermittently display alternately when one device is playing real-time video or recording video, and provides the streaming prevention method for the national standard device video stream based on UDP protocol transmission, which adjusts the current national standard device flow break flow and combines the alarm notification capability of an operation and maintenance platform, thereby reducing the streaming occurrence probability caused by the reasons of manufacturer baseline national standard device or objective network environment to the greatest extent.
The technical scheme adopted by the invention is as follows:
the streaming prevention method of the national standard equipment video stream based on UDP protocol transmission comprises the following steps:
step 1, a platform carries media stream information, sends a cutoff signaling to national standard equipment through SIP service, and waits for the reply of the national standard equipment;
step 2, the platform receives the reply information and judges whether the reply of the national standard equipment is normal or not based on the returned result; if yes, the platform sends a cutoff request to the PSS service, and step 3 is executed; otherwise, judging that the reply is abnormal, ending the flow break process, recording the flow break abnormal log, and marking the media stream information as the available state to be confirmed;
step 3, the PSS receives the interruption request, starts monitoring when the port mark to be closed is unreleased, and monitors and judges whether media stream data is sent to the port after the equipment is interrupted; if yes, judging that the equipment cut-off using the port to push is not effective, sending an alarm notification to the platform and executing the step 4; otherwise, the equipment is successfully cut off, and the platform is informed to delete the media stream information;
and step 4, pushing the abnormal information to an operation and maintenance platform by the platform, and informing relevant operation and maintenance personnel to confirm and maintain the situation by the operation and maintenance platform.
Further, in step 2, when the platform does not receive the reply information of the national standard device within the waiting set time, the platform determines that the reply is abnormal, ends the flow break process and records the flow break abnormal log, and simultaneously keeps the media stream information in an available state.
Further, in the step 3, when no stream data is received within 3 minutes, judging that the equipment is successfully shut down; when the port still receives stream data push after 3 minutes, it is determined that the device disconnection using the port push is not effective.
Further, in step 3, when the PSS service is restarted during operation, the UDP port that has been monitored before restarting will restart monitoring, and the relevant port with video stream data is marked as a state that is not accessible by other devices.
Further, in step 3, when the PSS service does not release the port mark to be closed, the processing result of the interruption request is synchronously fed back to the SIP service, and the SIP service determines whether the interruption request is successfully sent; if yes, marking the streaming media without confirmation; otherwise, ending the flow break process and recording the abnormal log of the flow break, and marking the media stream information as to-be-confirmed.
Further, in step 4, the relevant operation and maintenance personnel are notified by a short message or other means.
The invention adopts the technical scheme and has the following beneficial effects: 1. the streaming phenomenon can be effectively avoided. And ensuring that each port has only one path of flow access, and if the port still receives the flow data, not releasing the port for flow reception of other equipment. 2. It is easier to trace back the problem. The platform can manage and control the abnormal information of the whole flow, and can more quickly locate equipment and problem reasons for the problems.
Drawings
The invention is described in further detail below with reference to the drawings and detailed description;
fig. 1 is a flow chart of a method for preventing streaming of a national standard device video stream based on UDP protocol transmission according to the present invention.
Detailed Description
For the purposes, technical solutions and advantages of the embodiments of the present application, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
As shown in fig. 1, the invention discloses a method for preventing streaming of national standard equipment video stream based on UDP protocol transmission, comprising the following steps:
step 1, a platform carries media stream information, sends a cutoff signaling to national standard equipment through SIP service, and waits for the reply of the national standard equipment;
step 2, the platform receives the reply information and judges whether the reply of the national standard equipment is normal or not based on the returned result; if yes, the platform sends a cutoff request to the PSS service, and step 3 is executed; otherwise, judging that the reply is abnormal, ending the flow break process, recording the flow break abnormal log, and marking the media stream information as the available state to be confirmed;
step 3, the PSS receives the interruption request, starts monitoring when the port mark to be closed is unreleased, and monitors and judges whether media stream data is sent to the port after the equipment is interrupted; if yes, judging that the equipment cut-off using the port to push is not effective, sending an alarm notification to the platform and executing the step 4; otherwise, the equipment is successfully cut off, and the platform is informed to delete the media stream information;
and step 4, pushing the abnormal information to an operation and maintenance platform by the platform, and informing relevant operation and maintenance personnel to confirm and maintain the situation by the operation and maintenance platform.
Further, in step 2, when the platform does not receive the reply information of the national standard device within the waiting set time, the platform determines that the reply is abnormal, ends the flow break process and records the flow break abnormal log, and simultaneously keeps the media stream information in an available state.
Further, in the step 3, when no stream data is received within 3 minutes, judging that the equipment is successfully shut down; when the port still receives stream data push after 3 minutes, it is determined that the device disconnection using the port push is not effective.
Further, in step 3, when the PSS service is restarted during operation, the UDP port that has been monitored before restarting will restart monitoring, and the relevant port with video stream data is marked as a state that is not accessible by other devices.
Further, in step 3, when the PSS service does not release the port mark to be closed, the processing result of the interruption request is synchronously fed back to the SIP service, and the SIP service determines whether the interruption request is successfully sent; if yes, marking the streaming media without confirmation; otherwise, ending the flow break process and recording the abnormal log of the flow break, and marking the media stream information as to-be-confirmed.
Further, in step 4, the relevant operation and maintenance personnel are notified by a short message or other means.
The invention adopts the technical scheme and has the following beneficial effects: 1. the streaming phenomenon can be effectively avoided. And ensuring that each port has only one path of flow access, and if the port still receives the flow data, not releasing the port for flow reception of other equipment. 2. It is easier to trace back the problem. The platform can manage and control the abnormal information of the whole flow, and can more quickly locate equipment and problem reasons for the problems.
It will be apparent that the embodiments described are some, but not all, of the embodiments of the present application. Embodiments and features of embodiments in this application may be combined with each other without conflict. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the detailed description of the embodiments of the present application is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.

Claims (4)

1. The streaming prevention method of the national standard equipment video stream based on UDP protocol transmission is characterized by comprising the following steps of: the method comprises the following steps:
step 1, a platform carries media stream information, sends a cutoff signaling to national standard equipment through SIP service, and waits for the reply of the national standard equipment;
step 2, the platform receives the reply information and judges whether the reply of the national standard equipment is normal or not based on the returned result; if yes, the platform sends a cutoff request to the PSS service, and step 3 is executed; otherwise, judging that the reply is abnormal, ending the flow break process, recording the flow break abnormal log, and marking the media stream information as the available state to be confirmed;
step 3, the PSS receives the interruption request, starts monitoring when the port mark to be closed is unreleased, and monitors and judges whether media stream data is sent to the port after the equipment is interrupted; if yes, judging that the equipment cut-off using the port to push is not effective, sending an alarm notification to the platform and executing the step 4; otherwise, the equipment is successfully cut off, and the platform is informed to delete the media stream information; specifically, in step 3, when the PSS service is restarted during the operation, the UDP port that has been monitored before restarting will restart the monitoring, and the relevant port having video stream data is marked as a state that is not accessible by other devices;
when the PSS service does not release the port mark to be closed, synchronous feedback of the processing result of the flow breaking request to the SIP service, and the SIP service judges whether the flow breaking request is successfully sent or not; if yes, marking the streaming media without confirmation; otherwise, ending the flow break process and recording the flow break abnormal log, and marking the media stream information as to-be-confirmed;
and step 4, pushing the abnormal information to an operation and maintenance platform by the platform, and informing relevant operation and maintenance personnel to confirm and maintain the situation by the operation and maintenance platform.
2. The method for preventing streaming of national standard equipment video stream based on UDP protocol transmission as set forth in claim 1, wherein: in step 2, when the platform does not receive the reply information of the national standard equipment within the waiting set time, judging that the reply is abnormal, ending the flow break process and recording the flow break abnormal log, and simultaneously keeping the media stream information in an available state.
3. The method for preventing streaming of national standard equipment video stream based on UDP protocol transmission as set forth in claim 2, wherein: in the step 3, when no stream data is received within 3 minutes, judging that the equipment is successfully cut off; when the port still receives stream data push after 3 minutes, it is determined that the device disconnection using the port push is not effective.
4. The method for preventing streaming of national standard equipment video stream based on UDP protocol transmission as set forth in claim 1, wherein: and step 4, notifying relevant operation and maintenance personnel through a short message or other modes.
CN202111637409.0A 2021-12-29 2021-12-29 Anti-streaming method for national standard equipment video stream based on UDP protocol transmission Active CN114301883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111637409.0A CN114301883B (en) 2021-12-29 2021-12-29 Anti-streaming method for national standard equipment video stream based on UDP protocol transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111637409.0A CN114301883B (en) 2021-12-29 2021-12-29 Anti-streaming method for national standard equipment video stream based on UDP protocol transmission

Publications (2)

Publication Number Publication Date
CN114301883A CN114301883A (en) 2022-04-08
CN114301883B true CN114301883B (en) 2023-07-04

Family

ID=80971571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111637409.0A Active CN114301883B (en) 2021-12-29 2021-12-29 Anti-streaming method for national standard equipment video stream based on UDP protocol transmission

Country Status (1)

Country Link
CN (1) CN114301883B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102934459A (en) * 2010-06-10 2013-02-13 捷讯研究有限公司 Method and system to release internet protocol (ip) multimedia subsystem (ims), session initiation protocol (sip), ip-connectivity access network (ip-can) and radio access network (ran) networking resources when ip television (iptv) session is paused

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547143B (en) * 2008-03-28 2012-10-03 华为技术有限公司 Method and device for switching streaming media service
TWI376923B (en) * 2008-07-24 2012-11-11 Ind Tech Res Inst One-way media streaming system and method thereof
US9007972B2 (en) * 2011-07-01 2015-04-14 Intel Corporation Communication state transitioning control
EP2761927A4 (en) * 2011-09-30 2015-08-12 Intel Corp Methods to transport internet traffic over multiple wireless networks simultaneously
CN104519369B (en) * 2014-12-24 2017-07-07 天津市天安怡和信息技术有限公司 Solve the method based on many streaming media server crossfire phenomenons of udp protocol
US10142432B2 (en) * 2017-02-08 2018-11-27 Qualcomm Incorporated Redirection of a session initiation protocol invite
CN112653700B (en) * 2020-12-23 2022-11-01 武汉烽火众智数字技术有限责任公司 Website video communication method based on WEBRTC

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102934459A (en) * 2010-06-10 2013-02-13 捷讯研究有限公司 Method and system to release internet protocol (ip) multimedia subsystem (ims), session initiation protocol (sip), ip-connectivity access network (ip-can) and radio access network (ran) networking resources when ip television (iptv) session is paused

Also Published As

Publication number Publication date
CN114301883A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
US9094200B2 (en) Method, apparatus and system for sending and receiving a media stream
US8134926B2 (en) Method for monitoring and reporting events by media gateways
RU2357367C2 (en) Method of monitoring state of media gateway controller, installed in media gateway
KR101680868B1 (en) Apparatus and method for controlling data transmition in an wireless communication system
CN105264843B (en) Managing pending acknowledgement packets in a communication device
JP2008543189A (en) Data unit relay device and control method thereof
US7307955B2 (en) Method and equipment for lossless packet delivery to a mobile terminal during handover
US8667124B2 (en) Method, apparatus, and system for notifying real-time streaming protocol events
JP2008538269A (en) A method for dubbing voice messages in the form of text messages in packet communication networks.
US20220329512A1 (en) Method and Apparatus for Updating Route Information, Computer Device, and Storage Medium
CN114301883B (en) Anti-streaming method for national standard equipment video stream based on UDP protocol transmission
US10470233B2 (en) RLC delivery failure resolution
CN102412983B (en) Reporting method for equipment alarm
US9077722B2 (en) Method and system for controlling the restart traffic in a telecommunication network
WO2017181867A1 (en) Method of acquiring video descriptor file, content distribution server, set-top box, and system
EP1438812A2 (en) Method and packet switched communication network with enhanced session establishment
CN111163040B (en) Renegotiated session reestablishment method and device
CN111356017A (en) Video monitoring network equipment keep-alive method and device
KR101486100B1 (en) Voice and data convergence management system
US6657971B1 (en) ISDN PRI loop detection and correction
JP2003244228A (en) Stream distribution device and method, stream distribution program and recording medium having the same program recorded thereon
WO2016155246A1 (en) Method and device for processing keep-alive message
WO2013023341A1 (en) Service processing method, baseband processing chip and terminal
JP2004153305A (en) Method for evading abundant generation of "state notifying message" in voice processing apparatus and abundant generation evasion system of "state notifying message" in voice processing apparatus
WO2009000123A1 (en) Method for a media gateway controller controlling a media gateway preempting circuit source

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant