[go: up one dir, main page]

CN104836811A - Communication port multiplexing method keeping transmission data integrity - Google Patents

Communication port multiplexing method keeping transmission data integrity Download PDF

Info

Publication number
CN104836811A
CN104836811A CN201510273262.XA CN201510273262A CN104836811A CN 104836811 A CN104836811 A CN 104836811A CN 201510273262 A CN201510273262 A CN 201510273262A CN 104836811 A CN104836811 A CN 104836811A
Authority
CN
China
Prior art keywords
multiplexing
media stream
data
communication port
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510273262.XA
Other languages
Chinese (zh)
Inventor
程家明
周志祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WUHAN XINGTU XINKE ELECTRONIC CO Ltd
Original Assignee
WUHAN XINGTU XINKE ELECTRONIC 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 WUHAN XINGTU XINKE ELECTRONIC CO Ltd filed Critical WUHAN XINGTU XINKE ELECTRONIC CO Ltd
Priority to CN201510273262.XA priority Critical patent/CN104836811A/en
Publication of CN104836811A publication Critical patent/CN104836811A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a communication port multiplexing method keeping transmission data integrity. The method includes: (1) a receiving end program sends on-demand request instructions to a sending end program in a TCP mode, and receiving objects are created at the same time; (2) the sending end program creates sending objects after analyzing the on-demand request instructions, the sending objects send media stream data to the receiving end program in an RTP data packet format, and the receiving end program distinguishes different media stream data according to multiplexing ID numbers and then sends to the corresponding receiving objects. The sending end performs multipath data transmission at the same physical port, the receiving end receives multipath forwarded data at the same communication port, multipath data is distinguished through multiplexing IDs, the problem that a shortage of communication ports in use in video conference and video command scenes causes data and signaling transmission congestions and media data loss is solved, integrity of media stream data is kept at the same time, and the problem of image frame loss caused by media stream data loss is avoided.

Description

A kind of duplex method for communication port keeping transmission data integrity
Technical field
The present invention relates to a kind of duplex method for communication port keeping transmitting data integrity.
Background technology
All use streaming media server to carry out the forwarding transmission of Media Stream in the business such as video directing, video conference, come transmission of video or other Media Streams based on realtime transmission protocol RTP, need to take the communication port on RTP data transmission port and ordinary meaning, user's a large amount of program request headend equipment or simultaneously and multiple terminal carry out video conference, need streaming media server to take mass communication port to carry out batch forwarding media flow data.And in actual scene application, the communication port negligible amounts for transfer of data that user side provides and port numbers have been fixed, actual scene application demand can not be met.And other service processes often can occur video conferencing system running takies this communication port to carry out signalling use, it is nervous that this situation can cause communication port to use, and causes data, signalling to block and the problem such as media data loss.Therefore need a kind of new data transfer communications port operation technique of exploitation to meet the demand.
RTP(RTP), RTP is divided in transport layer, and it is based upon on UDP.The same with udp protocol, in order to realize its real-time transfer function, RTP also has fixing packing forms, and RTP is used for as real-time Transmission provides temporal information and stream synchronously end to end.
Summary of the invention
The present invention proposes a kind of duplex method for communication port keeping transmitting data integrity, the method is that transmitting terminal carries out multichannel data transmission on same physical port, receiving terminal receives multichannel forwarding data in same communication port, multichannel data is distinguished by multiplexing ID, can solve the incomplete problem of loss of transmitted data with this.
The present invention realizes particular by following technical scheme:
Keep the duplex method for communication port transmitting data integrity, comprising:
(1) sender terminal sends program request request instruction to receiver terminal in Transmission Control Protocol mode, creates simultaneously and receives object;
(2) receiver terminal creates sending object after resolving order request instruction, and sending object sends media stream data to sender terminal with RTP data packet format, the reception object that sender terminal is issued.
Further, when the communication port usage quantity of receiver terminal and sender terminal is unrestricted, the multiplexing function of close port; When the communication port usage quantity of receiver terminal and sender terminal is limited, open multiplexed port function.
Further, when opening multiplexed port function: sender terminal creates a multiplexing ID pond, and the inside deposits multiplexing No. ID, and sender terminal often sends an order request instruction and all gets one multiplexing No. ID from multiplexing ID pond; Receiver terminal creates sending object according to multiplexing No. ID and adds in media stream data by multiplexing No. ID, sending object sends media stream data to sender terminal with RTP data packet format, sender terminal distinguishes different media stream datas according to multiplexing No. ID, then issues and receives object accordingly.
Further, when sender terminal receives the media stream data that receiver terminal sends with RTP data packet format, each road media stream data is with multiplexing No. ID, sender terminal extracts multiplexing No. ID of the road media stream data received, and extract multiplexing No. ID and carry out mating with from receiving in object and contrast, receive the media stream data of identical multiplexing No. ID of object reception and send to user terminal, multiplexing ID is used to complete rear sender terminal and is put back to multiplexing ID pond.
Further, the media stream data of RTP data packet format be RTP head in standard RTP packet and between UDP head containing multiplexing No. ID, do not destroy the integrality of media stream data.
The beneficial effect that the present invention produces is:
(1) be applicable to the data transmission applications scene that the less and communication port numbers of communication port has been fixed, meet user's a large amount of program request head end video source device or simultaneously and multiple terminal carry out the use scenes of video conference;
(2) use communication port flexibly, make communication port keep the smooth state of transfer of data, avoid signalling obstructing problem;
(3) keep the RTP packet integrality of transmitting media flow data, avoid media stream data to lose the image frame losing problem caused.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is present system frame diagram;
The control flow chart of Fig. 2 sender terminal
The control flow chart of Fig. 3 receiver terminal.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As in Fig. 1 ~ 3, a kind of duplex method for communication port keeping transmission data integrity, comprising:
(1) sender terminal sends program request request instruction to receiver terminal in Transmission Control Protocol mode, creates simultaneously and receives object, specifically comprise the following steps:
A, sender terminal are supplied to user terminal interface, and interface comprises multiplexed port function;
B, when the communication port usage quantity of receiver terminal and sender terminal is unrestricted, the multiplexing function of close port; When the communication port usage quantity of receiver terminal and sender terminal is limited, open multiplexed port function.
When opening multiplexed port function: sender terminal creates a multiplexing ID pond, the inside deposits multiplexing No. ID, sender terminal often sends an order request instruction and all gets one multiplexing No. ID from multiplexing ID pond, now order request instruction is the instruction of multiplex mode order request, parameter comprises: receiving port number, program request channel number, control ID, multiplexing ID, transmission format protocol and receiving terminal Synchronization Source, the reception object simultaneously created, parameter comprises: receive IP address, receiving terminal communication port numbers, multiplexing No. ID; Multiplexing No. ID only comprises a sequence number, and do unique identification use and utilize multiplexing No. ID, each communication port can receive the corresponding multi-path media flow data of multiple order request instruction, uses multiplexing No. ID to carry out differentiation use; When multiplexed port function is not opened, order request order parameter comprises: receiving port number, program request channel number, control ID, transmission format protocol and receiving terminal Synchronization Source; Receive image parameter and comprise reception IP address, receiving terminal communication port numbers;
(2) receiver terminal creates sending object after resolving order request instruction, and sending object sends media stream data to sender terminal with RTP data packet format, and the reception object that sender terminal is issued, specifically comprises the following steps:
I, receiver terminal receive instruction when being the instruction of multiplex mode order request, and multiplexed port function is opened, receiver terminal uses the multiplexing No. ID establishment sending object of resolving the instruction of multiplex mode order request and obtaining, and now sending object parameter comprises: send IP address, transmitting terminal communication port numbers, media flow transmission channel number, multiplexing ID;
When the instruction that receiver terminal receives is order request instruction, no matter whether multiplexed port function opens, and the sending object parameter that receiver terminal creates comprises: send IP address, transmitting terminal communication port numbers, media flow transmission channel number; Now sending object sends media stream data to sender terminal with standard RTP data packet format, and sender terminal is sent to corresponding reception object according to IP address and communication port numbers;
Multiplexing No. ID adds in RTP packet according to multiplexing No. ID sending object created by II, receiver terminal, and RTP data packet format is: the RTP head in standard RTP packet and between UDP head containing multiplexing No. ID, do not destroy the integrality of media stream data;
When III, sender terminal receive the media stream data that transmitting terminal sends with RTP data packet format (comprising multiplexing No. ID), the RTP packet of each media stream data front end, road is with multiplexing No. ID, sender terminal extracts multiplexing No. ID of the road media stream data received, and extract multiplexing No. ID and carry out mating with from receiving in object and contrast, identical reception object reception media stream data also sends to user terminal, and multiplexing ID is used to complete rear sender terminal and is put back to multiplexing ID pond.
Video conference can be solved by said method, the operational communication port negligible amounts of user side in video directing scene, the problem that multi-user's video conference business uses can not be met, it is a kind of method being kept communication port facile transport media stream data based on RTP host-host protocol by multiplexing ID mark, the identification of media stream data is reused and is solved the not enough problem of communication port with this, the incomplete problem of loss of transmitted data is solved by special RTP data packet format, keep the integrality of media stream data simultaneously, media stream data is avoided to lose the image frame losing problem caused.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1. keep the duplex method for communication port transmitting data integrity, it is characterized in that, comprising:
(1) sender terminal sends program request request instruction to receiver terminal in Transmission Control Protocol mode, creates simultaneously and receives object;
(2) receiver terminal creates sending object after resolving order request instruction, and sending object sends media stream data to sender terminal with RTP data packet format, the reception object that sender terminal is issued.
2. a kind of maintenance as claimed in claim 1, transmits the duplex method for communication port of data integrity, it is characterized in that, when the communication port usage quantity of receiver terminal and sender terminal is unrestricted, and the multiplexing function of close port; When the communication port usage quantity of receiver terminal and sender terminal is limited, open multiplexed port function.
3. a kind of duplex method for communication port keeping transmission data integrity as claimed in claim 2, it is characterized in that, when opening multiplexed port function: sender terminal creates a multiplexing ID pond, the inside deposits multiplexing No. ID, and sender terminal often sends an order request instruction and all gets one multiplexing No. ID from multiplexing ID pond; Receiver terminal creates sending object according to multiplexing No. ID and adds in media stream data by multiplexing No. ID, sending object sends media stream data to sender terminal with RTP data packet format, sender terminal distinguishes different media stream datas according to multiplexing No. ID, then issues and receives object accordingly.
4. a kind of duplex method for communication port keeping transmission data integrity as claimed in claim 3, it is characterized in that, when sender terminal receives the media stream data that receiver terminal sends with RTP data packet format, each road media stream data is with multiplexing No. ID, sender terminal extracts multiplexing No. ID of the road media stream data received, and extract multiplexing No. ID and carry out mating with from receiving in object and contrast, receive the media stream data of identical multiplexing No. ID of object reception and send to user terminal, multiplexing ID is used to complete rear sender terminal and is put back to multiplexing ID pond.
5. a kind of duplex method for communication port keeping transmission data integrity as claimed in claim 3, it is characterized in that, the media stream data of RTP data packet format be RTP head in standard RTP packet and between UDP head containing multiplexing No. ID, do not destroy the integrality of media stream data.
CN201510273262.XA 2015-05-26 2015-05-26 Communication port multiplexing method keeping transmission data integrity Pending CN104836811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510273262.XA CN104836811A (en) 2015-05-26 2015-05-26 Communication port multiplexing method keeping transmission data integrity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510273262.XA CN104836811A (en) 2015-05-26 2015-05-26 Communication port multiplexing method keeping transmission data integrity

Publications (1)

Publication Number Publication Date
CN104836811A true CN104836811A (en) 2015-08-12

Family

ID=53814447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510273262.XA Pending CN104836811A (en) 2015-05-26 2015-05-26 Communication port multiplexing method keeping transmission data integrity

Country Status (1)

Country Link
CN (1) CN104836811A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454072A (en) * 2017-07-28 2017-12-08 中国人民解放军信息工程大学 A kind of control methods of multichannel data content and device
CN107846379A (en) * 2016-09-18 2018-03-27 中兴通讯股份有限公司 A kind of video conferencing system middle port multiplexing method and server
CN112350792A (en) * 2020-09-27 2021-02-09 福建新大陆通信科技股份有限公司 Emergency broadcast data forwarding multiplexing method
CN114531606A (en) * 2022-02-22 2022-05-24 重庆紫光华山智安科技有限公司 Method, system and equipment for generating packaged video data to be transmitted and transmitting video

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005006598A1 (en) * 2003-07-11 2005-01-20 Samsung Electronics Co., Ltd. Synchronization method and system for transmitting voice data in a mobile communication system
CN1783877A (en) * 2004-11-30 2006-06-07 Ut斯达康通讯有限公司 Method for passing through network address switching device and fire-proof wall of real time communication data stream
CN101132366A (en) * 2007-09-17 2008-02-27 杭州华三通信技术有限公司 Method and communication appliance for transmitting live transmission protocol message
CN103166959A (en) * 2013-02-28 2013-06-19 东北大学 Control system and control method of multipath real-time transmission

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005006598A1 (en) * 2003-07-11 2005-01-20 Samsung Electronics Co., Ltd. Synchronization method and system for transmitting voice data in a mobile communication system
CN1783877A (en) * 2004-11-30 2006-06-07 Ut斯达康通讯有限公司 Method for passing through network address switching device and fire-proof wall of real time communication data stream
CN101132366A (en) * 2007-09-17 2008-02-27 杭州华三通信技术有限公司 Method and communication appliance for transmitting live transmission protocol message
CN103166959A (en) * 2013-02-28 2013-06-19 东北大学 Control system and control method of multipath real-time transmission

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107846379A (en) * 2016-09-18 2018-03-27 中兴通讯股份有限公司 A kind of video conferencing system middle port multiplexing method and server
CN107846379B (en) * 2016-09-18 2021-09-07 中兴通讯股份有限公司 Port multiplexing method and server in a video conference system
CN107454072A (en) * 2017-07-28 2017-12-08 中国人民解放军信息工程大学 A kind of control methods of multichannel data content and device
CN107454072B (en) * 2017-07-28 2020-04-17 中国人民解放军信息工程大学 Comparison method and device for multi-channel data content
CN112350792A (en) * 2020-09-27 2021-02-09 福建新大陆通信科技股份有限公司 Emergency broadcast data forwarding multiplexing method
CN112350792B (en) * 2020-09-27 2023-05-30 福建新大陆通信科技股份有限公司 Emergency broadcast data forwarding multiplexing method
CN114531606A (en) * 2022-02-22 2022-05-24 重庆紫光华山智安科技有限公司 Method, system and equipment for generating packaged video data to be transmitted and transmitting video
CN114531606B (en) * 2022-02-22 2023-04-11 重庆紫光华山智安科技有限公司 Method, system and equipment for generating packaged video data to be transmitted and transmitting video

Similar Documents

Publication Publication Date Title
CN101540652A (en) Terminal heterogeneous self-matching transmission method of multi-angle video Flow
CN104836811A (en) Communication port multiplexing method keeping transmission data integrity
WO2008016846A3 (en) Systems and methods for sar-capable quality of service
WO2008018065A3 (en) Video conferencing over ip networks
US20060225118A1 (en) Methods and systems for providing Internet protocol video over a multicast bonded group
EP2731331A1 (en) Media transmission method and system based on telepresence
US20140169562A1 (en) Method and system for dynamically establishing encrypted tunnels on constrained-band networks
WO2014033729A3 (en) A system, method, and platform, for embedding video feeds captured during a surgery, with multimedia data, in real-time
GB2359209A (en) Apparatus and methods for video distribution via networks
CN103796324B (en) A kind of bandwidth allocation apparatus and method
JP2008048410A (en) Method of transmitting alternative stream signal for adaptive stream selection
ATE338429T1 (en) METHOD FOR DISTRIBUTING REAL-TIME DATA STREAMS OVER A MULTIMEDIA NETWORK AND SWITCHING DEVICE AND MULTIMEDIA NETWORK
FI107681B (en) Method and apparatus for transmitting information to a DVB network
FR2929789B1 (en) METHOD FOR MANAGING MECHANISMS FOR IMPROVING TRANSMISSION OF DATA STREAMS ON TUNNEL, COMPUTER PROGRAM PRODUCT, CORRESPONDING STORAGE MEDIUM AND TUNNEL HEAD
CN101547341B (en) Method and device for realizing intercommunication of video monitoring system and video service system
KR101278632B1 (en) Method for performing data transport over a serial bus using internet protocol and apparatus for use in the method
CN101489090B (en) Method, apparatus and system for multipath media stream transmission and reception
CN103347207A (en) Method for rapidly switching IPTV multi-cast channels
CN101977306B (en) Two-way video monitoring method and system
CN102957631A (en) Preprocessing method and three kinds of facilities based on preprocessing method
CN102497445A (en) Data transmission method and apparatus thereof
US10425667B2 (en) Network layer transport of video characteristics for use by network function in a service function chain
CN117201737A (en) Video stream cascade transmission method and system based on upper and lower video monitoring platforms
CN103945333A (en) Group call service data transmission method
CN107465742B (en) Distribution equipment and method for realizing asymmetric service by UDP tunnel technology

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150812