CN102752291B - The data processing method of a kind of ALG and RTSP service system - Google Patents
The data processing method of a kind of ALG and RTSP service system Download PDFInfo
- Publication number
- CN102752291B CN102752291B CN201210205106.6A CN201210205106A CN102752291B CN 102752291 B CN102752291 B CN 102752291B CN 201210205106 A CN201210205106 A CN 201210205106A CN 102752291 B CN102752291 B CN 102752291B
- Authority
- CN
- China
- Prior art keywords
- data
- alg
- client
- server
- destination interface
- 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.)
- Expired - Fee Related
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides data processing method and the RTSP service system of a kind of ALG, described method comprises step: for received data, ALG only mates respectively to the object ip of these data and destination interface, match if described object ip and destination interface are connected with the expectation of current foundation, then forward it to the client of LAN side.In the embodiment of the present invention, ALG only mates the object ip carried in data and destination interface, and does not mate source ip, and thus no matter whether signal server is separated with data server, can connect to the expectation of setting up by successful match, thus data are correctly forwarded to the main frame of LAN side.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of ALG(ApplicationLayerGateway, ALG) data processing method and RTSP(RealTimeStreamingProtocol, real time streaming transport protocol) service system.
Background technology
ALG, mainly completes the process to application layer message.Under normal circumstances, NAT(NetworkAddressTranslation, network address translation) technology only changes the IP address in heading and port information, do not analyze the field in application layer data load.But some special agreements, may comprise IP address or port information in the data load of their messages, these contents effectively can not be changed by NAT, just may cause problem.Such as RTSP is completed jointly by control connection and data cube computation exactly, and the foundation of data cube computation is dynamically determined by the payload field information in control connection, this just needs ALG to complete the conversion of payload field information, and set up data channel according to these fields, to ensure the normal foundation that follow-up data connects.
As shown in Figure 1, signaling and data process by same server traditional RTSP service system.Concrete processing method is as shown in Figure 2: first, signaling and data server to be held consultation with client by ALG and are specified signaling and the port of ip, cpe of ip, cpe of data server to be respectively source ip, object ip, the destination interface expecting to be connected, set up data channel accordingly with client; Secondly, for the data of WAN-side to LAN side, its source of ALG ip, object ip, destination interface mate, and namely judge that whether these information are completely the same with the information of consulting to specify, just allow these data to be forwarded to the main frame of LAN side by cpe time completely the same.
But this processing mode of ALG cannot adapt to the novel RTSP that signal server is separated with data server and serve, and novel RTSP serving system architecture as shown in Figure 3.Because the source ip of data is no longer the ip of signal server in this new services, but the ip of a special data server, so for the data of WAN-side to LAN side, ALG cannot be matched foundation expectation when receiving these data connects, and finally it correctly can not be forwarded to the main frame of LAN side.
Summary of the invention
The object of the present invention is to provide data processing method and the RTSP service system of a kind of ALG, realize the support that ALG serves novel RTSP.
The object of the invention is to be achieved through the following technical solutions.
A data processing method of ALG, comprises step:
For received data, ALG mates respectively to the object ip of these data and destination interface, matches, then forward it to the client of LAN side if described object ip and destination interface are connected with the expectation of current foundation.
Serve for realizing traditional RTSP, said method also comprises: before receiving the data, ALG and signaling and data server are held consultation, and consult to determine that the WAN-side ip of cpe schedules to last object ip to be connected, the port of cpe schedules to last destination interface to be connected, set up data channel accordingly with client.
Serve for realizing novel RTSP, said method also comprises: before receiving the data, ALG and signal server are held consultation, and consult to determine that the WAN-side ip of cpe schedules to last object ip to be connected, the port of cpe schedules to last destination interface to be connected, set up data channel accordingly with client.
A kind of RTSP service system, comprises ALG and client,
Described ALG, for when receiving the data from data server, to be connected with the expectation of current foundation the object ip of these data and destination interface and to mate, being forwarded to the client of LAN side after the match is successful.
Serve for realizing traditional RTSP, said system also comprises signaling and data server;
Described ALG, also for before receiving the data from signaling and data server, hold consultation with signaling and data server, consult to determine that the WAN-side ip of cpe schedules to last object ip to be connected, the port of cpe schedules to last destination interface to be connected, set up data channel with client accordingly.
Serve for realizing novel RTSP, said system also comprises signal server and data server;
Described ALG, also for before receiving the data from data server, hold consultation with signal server, consult to determine that the WAN-side ip of cpe schedules to last object ip to be connected, the port of cpe schedules to last destination interface to be connected, set up data channel with client accordingly.
Compared with prior art, the embodiment of the present invention has following beneficial effect.
Only the object ip carried in data and destination interface are mated by ALG, and source ip is not mated, thus no matter whether signal server is separated with data server, can connect by successful match, thus data are correctly forwarded to the main frame of LAN side to the expectation of setting up.
Accompanying drawing explanation
Fig. 1 is traditional RTSP serving system architecture figure.
Fig. 2 is the data processing method flow chart of traditional ALG.
Fig. 3 is novel RTSP serving system architecture figure.
Fig. 4 is the data processing method flow chart of ALG in the embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 4, in the present embodiment, the data processing method of ALG comprises step.
401, signal server, ALG, client are held consultation, and consult to determine that the WAN-side ip of cpe schedules to last object ip to be connected, the port of cpe schedules to last destination interface to be connected, ALG accordingly negotiation result and client sets up data channel.
402, for the data from data server, ALG mates respectively to the object ip carried in these data and destination interface, matches, then these data are forwarded to the client of LAN side by the data channel set up if be connected with expectation.
In the Signalling exchange stage, ALG is the ip address that cannot know data server, thus set up expect to connect cannot the ip of specific data server as the source ip expecting to connect.Cannot the ip of specific data server, the expectation allowing data stream matches set up to ALG again connects, and the present invention just adopts this solution: ALG sets up the source ip expecting not specify matched data stream when connecting, the object ip of a matched data stream and destination interface.So no matter whether RTSP signal server is separated with data server, and the expectation can mating foundation connects, and is correctly forwarded to the main frame of LAN.
To sum up, said method is not only supported traditional RTSP service system but also is supported novel RTSP service system.In the present embodiment, in novel RTSP service system, ALG, for when receiving the data from data server, the object ip carried in these data and destination interface are connected with the expectation of current foundation and mate, and its source ip is not mated, be forwarded to the client of LAN side after the match is successful.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (2)
1. a data processing method of ALG, is characterized in that, the method comprising the steps of:
For the received data from data server, ALG mates respectively to the object ip of these data and destination interface, matches, then forward it to the client of LAN side if described object ip and destination interface are connected with the expectation of current foundation;
Before receiving the data, signaling data server, ALG and client are held consultation, and consult to determine that the WAN-side ip of cpe schedules to last object ip to be connected, the port of cpe schedules to last destination interface to be connected, set up data channel accordingly with client.
2. a RTSP service system, this system comprises ALG and client, it is characterized in that,
Described ALG, for when receiving the data from data server, to be connected with the expectation of current foundation the object ip of these data and destination interface and to mate, being forwarded to the client of LAN side after the match is successful;
This system also comprises signal server and data server;
Described ALG, also for before receiving data from data server, and signal server is held consultation, consult to determine the WAN-side ip of cpe schedule to last object ip to be connected, port schedule to last destination interface to be connected, set up data channel with client accordingly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210205106.6A CN102752291B (en) | 2012-06-21 | 2012-06-21 | The data processing method of a kind of ALG and RTSP service system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210205106.6A CN102752291B (en) | 2012-06-21 | 2012-06-21 | The data processing method of a kind of ALG and RTSP service system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102752291A CN102752291A (en) | 2012-10-24 |
CN102752291B true CN102752291B (en) | 2016-04-27 |
Family
ID=47032191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210205106.6A Expired - Fee Related CN102752291B (en) | 2012-06-21 | 2012-06-21 | The data processing method of a kind of ALG and RTSP service system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102752291B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111277727B (en) * | 2020-01-13 | 2022-04-05 | 天地伟业技术有限公司 | Method for heterogeneous processing of video data by multiple CPUs |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101013937A (en) * | 2007-02-08 | 2007-08-08 | 华为技术有限公司 | Method and apparatus for preventing media proxy from hacker attack |
CN101155053A (en) * | 2006-09-25 | 2008-04-02 | 华为技术有限公司 | Method and system for implementing multicast broadcasting service |
CN102172078A (en) * | 2008-10-01 | 2011-08-31 | 爱立信电话股份有限公司 | Method for enabling a home base station to choose between local and remote transportation of uplink data packets |
CN102415199A (en) * | 2009-04-23 | 2012-04-11 | 瑞典爱立信有限公司 | Local ip access through a femto base station |
-
2012
- 2012-06-21 CN CN201210205106.6A patent/CN102752291B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101155053A (en) * | 2006-09-25 | 2008-04-02 | 华为技术有限公司 | Method and system for implementing multicast broadcasting service |
CN101013937A (en) * | 2007-02-08 | 2007-08-08 | 华为技术有限公司 | Method and apparatus for preventing media proxy from hacker attack |
CN102172078A (en) * | 2008-10-01 | 2011-08-31 | 爱立信电话股份有限公司 | Method for enabling a home base station to choose between local and remote transportation of uplink data packets |
CN102415199A (en) * | 2009-04-23 | 2012-04-11 | 瑞典爱立信有限公司 | Local ip access through a femto base station |
Also Published As
Publication number | Publication date |
---|---|
CN102752291A (en) | 2012-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3208974A1 (en) | Power line carrier communication terminal control device, system and method | |
CN102970227B (en) | The method and apparatus of VXLAN message repeating is realized in ASIC | |
CN103430498B (en) | A kind of method, equipment and route system of transfer of data of network virtualization | |
CN110768817B (en) | Upgrading method and device for video networking terminal | |
US9648541B2 (en) | Apparatus and method for forwarding data based on software defined network in communication network | |
CN103702062A (en) | Audio and video communication method, device and system | |
WO2015123879A1 (en) | Method for realizing network virtualization and related device and communication system | |
CN108306986B (en) | Multi-type media data network address conversion traversing method, terminal and system | |
CN110035005B (en) | Data processing method and device | |
CN114885443B (en) | Multi-mode network control system and method supporting mobile access of terminal | |
CN104821909A (en) | Peer-to-peer data transmission method and system | |
CN103200068B (en) | A kind of based on customer service Multiple tunnel transmitting device | |
CN102857429B (en) | The method and apparatus of route is carried in TRILL network | |
CN110875914B (en) | Method and device for transmitting messages based on shared session link | |
CN101222437B (en) | Method and system for transparent transmission of BPDU packet in two-layer switching network | |
CN102752291B (en) | The data processing method of a kind of ALG and RTSP service system | |
WO2008037202A1 (en) | Method and apparatus for transmitting data | |
WO2015184780A1 (en) | Method, device, and system for processing information | |
CN102811149B (en) | A kind of for the double card headend equipment in video system and control method, system | |
CN102282886B (en) | Method, mobile terminal, device and system for implementing voice services | |
CN105827588B (en) | A kind of stream medium data dissemination system based on network driver layer | |
CN101753466A (en) | Method and device for transmitting wireless broadband service messages | |
EP3294006B1 (en) | Multilink-based data transmission method and device | |
JP5733473B2 (en) | Interworking apparatus, method, and program | |
CN102420835A (en) | Method for realizing real-time transport protocol (RTP) media stream agent in unified communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160427 Termination date: 20180621 |
|
CF01 | Termination of patent right due to non-payment of annual fee |