CN1391380A - Gateway of wireless transmission layer - Google Patents
Gateway of wireless transmission layer Download PDFInfo
- Publication number
- CN1391380A CN1391380A CN01118697.6A CN01118697A CN1391380A CN 1391380 A CN1391380 A CN 1391380A CN 01118697 A CN01118697 A CN 01118697A CN 1391380 A CN1391380 A CN 1391380A
- Authority
- CN
- China
- Prior art keywords
- atp
- gateway
- transport layer
- host
- udp
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 75
- 238000004891 communication Methods 0.000 claims description 22
- 230000006978 adaptation Effects 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 10
- 238000013507 mapping Methods 0.000 description 22
- 238000005516 engineering process Methods 0.000 description 14
- 230000007246 mechanism Effects 0.000 description 10
- 230000003139 buffering effect Effects 0.000 description 9
- 230000007704 transition Effects 0.000 description 8
- 238000013519 translation Methods 0.000 description 8
- 238000007726 management method Methods 0.000 description 7
- 238000012795 verification Methods 0.000 description 7
- 238000013461 design Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 239000000047 product Substances 0.000 description 6
- 230000004044 response Effects 0.000 description 6
- 238000003860 storage Methods 0.000 description 5
- 206010011878 Deafness Diseases 0.000 description 4
- 230000006399 behavior Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 239000003795 chemical substances by application Substances 0.000 description 3
- 238000010791 quenching Methods 0.000 description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 3
- RTZKZFJDLAIYFH-UHFFFAOYSA-N Diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 101001094649 Homo sapiens Popeye domain-containing protein 3 Proteins 0.000 description 1
- 101000608234 Homo sapiens Pyrin domain-containing protein 5 Proteins 0.000 description 1
- 101000578693 Homo sapiens Target of rapamycin complex subunit LST8 Proteins 0.000 description 1
- 235000012364 Peperomia pellucida Nutrition 0.000 description 1
- 240000007711 Peperomia pellucida Species 0.000 description 1
- 102100027802 Target of rapamycin complex subunit LST8 Human genes 0.000 description 1
- 206010052428 Wound Diseases 0.000 description 1
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000033228 biological regulation Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000003034 coal gas Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 238000002203 pretreatment Methods 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 238000012958 reprocessing Methods 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A gateway of wireless transmission layer is disclosed, which is based on ATP over UDP/IPV4, ATP over Multi-Access serial and open ATP/IPv6 techniques. It features that the wireless network environment is adapted on transmission layer, the gateway function is realized on the transmission layer and different transmission environments can be distinguished. It can provide reliable stream transmission service with brand-new congestion control and retransmission on error.
Description
The invention belongs to the gateway of wireless transmission layer in the IT technical field, especially provide under a kind of wireless communication environments much more steady, and can support based on the conventional the Internet of IPv4 and based on the transmission service network of the high-performance intercommunication between the second generation the Internet of IPv6 than TCP.
Universal day by day along with the internet, getting online without being tethered to a cable becomes a great direction gradually.The wireless telecommunications Packet Error Rate is than the obvious height of wire communication.Traditional on the internet, the application more than 90% all is based on TCP transmission service, resembles most widely used HTTP (WEB browses), SMTP (email delivery), and POP3 and IMAPv4 (Email access) etc. use TCP transmission service.But the packet loss that do not distinguish TCP packet loss that the wrong bag of physical circuit caused and network congestion are caused when finding packet loss, can dwindle the window that blocks up, prolong the packet loss message and retransmit the time, greatly reduce transmission rate.Theoretical Calculation and practical experience show that all under the wireless transmission environment, Packet Error Rate one raises, and the network application access performance just significantly reduces.Resemble the third generation wireless communication networks that some have been disposed, though theoretic communication speed can reach 144Kbps, but in fact can only reach the lasting average speed of 30-50Kbps, cause this to make us the reason of discontented effect, except because wireless network is a kind of shared medium, in fact mainly be because TCP can not accomplish smooth transport during in the face of the packet loss phenomenon.
A kind of important new technology of wireless networking is bluetooth (Bluetooth) technology.Bluetooth technology requires its support software should make every effort to simple as a kind of low-power consumption, low cost, short-distance wireless communication technology.Attempt to adopt embedded ICP/IP protocol stack to drive bluetooth wireless interface traditionally, but the ICP/IP protocol stack is to design in order to adapt to complex network environment, many overheads (overhead) are arranged, the cost that Bluetooth technology is saved on wireless transmission, often the superior performance that is needed by operation ICP/IP protocol stack inevitably, engulf than the microprocessor and the operating system nucleus of large storage capacity, violated the original intention of Bluetooth technology design.
Because the appearance of Bluetooth technology, it is very feasible that Smart Home becomes.For example the wireless long-distance meter-reading of ammeter, water meter, gas meter is permitted the toll collector and is left resident family alone, just can obtain the use amount data of coal gas and water power, do not resemble simultaneously three tables that use smart card (IC) technology yet, in case subscription rate exhausts, just cut off the water supply by force, cut off the power supply, bring great inconvenience to resident family.
Meanwhile, because rolling up of intelligent home network, intelligence mobile device use increase rapidly, each home intelligent equipment or intelligent mobile device all need at least one IP address, the problem of conventional the Internet IPv4 address wretched insufficiency clearly put people at the moment.Second generation the Internet based on IPv6 efficiently solves this problem, generally acknowledges it is the approach that networking in the future must be used.
But existing intelligent house network system, be at most to realize gateway function in network layer (ISO/OSI reference model the 3rd layer), can't support traditional IPv4 and new IPv6 simultaneously on the one hand, as previously mentioned its design original intention has been violated in the use of Bluetooth technology on the other hand, had a strong impact on popularizing of intelligent house network system.
It with VoIP the application of the media delivery class such as audio frequency, video stream application, audio frequency, video interactive on the Internet of representative, correctness to institute's transmission of media data does not have harsh requirement, do not require that each segment data all can not lose yet, but require data to keep order relatively, be the precedence relationship of the message that receives of recipient's upper layer application, should to send the precedence relationship of message of data consistent with transmit leg.Because the use of wavelet transformation technology such as (Wavelet Transform), media delivery class application surface still can keep to data transmission fault or when losing user's sense of hearing or visual effect not being produced continuous or serious baneful influence, and the correctness that this class is used the media data transmission requires more loose.And the correctness standard that traditional TCP transmission service is provided by contrast is too harsh, and expense is excessive, and UDP transmission service then can not guarantee the sequencing of message.
Address the above problem, must design a brand-new transport layer protocol, this New Deal not only can be used on existing internet, and in the face of IPv6 optimization, also want to carry out protocol stack at specific physical link or data link such as bluetooth communication and simplify, must be applicable to the wireless transmission environment especially.In addition, the needs that will use according to the media delivery class also, and based on the reality of the higher wireless transmission environment of error rate, provide and TCP or UDP quality transport layer services all inequality.
Therefore, the objective of the invention is to, keeping the not slotting (Play that promptly uses of wireless telecommunications, withoutPlug and Pray) characteristic simultaneously, provide under a kind of wireless communication environments than TCP steady the transmission service of Duoing, in protocol stack design and realization, the low-cost advantage of blue tooth wireless communication in the wireless communication technique class is not wasted simultaneously, and can supports based on the conventional the Internet of IPv4 and based on the high-performance intercommunication between the second generation the Internet of IPv6.
Other purpose of the present invention is, the transmission service that is provided is to the TCP compatibility that keeps down, and the generation that faces down Internet protocol IP v6 optimizes.In compatible TCP transmission service, also to provide not the check data accuracy but the blank that TCP and UDP stay is filled up in the transmission service of assurance order and bounded delay.The product of being realized will have outstanding performance, and good expandability is controlled cost easily, is convenient to dispose use.
Gateway of wireless transmission layer involved in the present invention, be based on ATP over UDP/IPv4 and ATPover Multi-Access-Serial (serial communication of multiple access) technology, and open ATP/IPv6 technology, adapt to the wireless Internet access environment from transport layer (ISO/OSI reference model the 4th layer), and at transport layer realization gateway function, can treat different transmission environments with a certain discrimination,, be optimized as wireless connections.
ATP over UDP/IPv4 perhaps is called for short ATP
*UDP is on the transmission of the User Datagram Protoco (UDP) UDP on the IPv4 service, to realize asymmetric host-host protocol ATP in existing internet ICP/IP protocol group.
ATP over Muti-Access-Serial directly drives has the serial of multiple access ability or the physical interface of sata compatible, transmit the ATP protocol massages, provide reliable flow transmission service as TCP, but expense is little a lot, is very suitable for requiring embedded environment cheaply.
ATP/IPv6 is a kind of open technique of together developing with the present invention, and at the transmission control protocol TCP on the compatible existing internet of application layer, the generation that faces down simultaneously Internet protocol IP v6 optimizes.It provides reliable flow transmission service as TCP to ATP under default mode, but uses brand-new the block up control and the retransmission mechanism of makeing mistakes, and has greatly promoted the service behaviour under the wireless environment.Simultaneously, it also keeps message sequence but does not guarantee data correctness, also do not guarantee that message does not have the transmission service of losing, and is applicable to the application of multimedia transmission class for upper layer application provides.
Below in conjunction with drawings and Examples technical scheme of the present invention is described in detail.
Fig. 1 represents the system construction drawing of gateway of wireless transmission layer of the present invention;
Fig. 2 represents ATP in the system configuration of gateway of wireless transmission layer shown in Figure 1
*UDP, i.e. the program structure of ATPover UDP/IPv4 transmission service is provided with figure;
Fig. 3 represents the structural representation of transport layer transponder in the system configuration of gateway of wireless transmission layer shown in Figure 1.
In the structural representation of gateway of wireless transmission layer of the present invention shown in Figure 1, dotted line with interior be key modules and the annexation thereof of gateway of wireless transmission layer, described module comprises: wireless ethernet (11), serial infrared port/fast infrared wave point (12), Bluetooth interface (13), Tiny TCP/IPv4 (14), ATP/IPv6 protocol stack (15), IrDA agreement (16), ATP overMulti-Access-Serial (17), ATP*UDP (18), transport layer transponder (19), Web Server (29), smart machine control agent (21), 10/100Mbps self adaptation Ethernet interface (22), RS422/485 serial line interface (23). The embedding that does not mark among the figure also is set in gateway Processor and embedded OS enter to decline. That gateway of wireless transmission layer can connect beyond the dotted line Subscriber equipment, and the relation between these equipment and the gateway of wireless transmission layer. Actual can the company The equipment that connects is not limited to several shown in the figure. Wherein, ATP over Multi-Access-Serial (17), ATP*UDP (18) and transport layer transponder (19) are the main wounds of system of the present invention New point. Whole Integrated design also is the innovative point of system of the present invention.
ATP shown in Fig. 2 presentation graphs 1*UDP (18), namely ATP over UDP/IPv4 passes The program structure of defeated service. Among the figure, be respectively its chief component function from label (181 to 188) Module, module (189) are to comprise to contain buffering area at interior TCB (transmit control block). Fine line institute What connect is the service relation between the adjacent layer in the network architecture.
Described functional module (181-188) is respectively: connects to set up and consults control (181), Connect to stop consult control (182), preliminary treatment and post processing: compression, encryption, segmentation, merger, Deciphering and decompress(ion) (183) are selected the certainty response protocol, contain: flow-control, window sliding control System, buffer management, response bitmap management (184), verification and processing (185) retransmit fast Agreement (186), timer management and overtime control (187) are blocked up to evade and (are assisted with route system Do) (188).
The structural representation of transport layer transponder (19) in Fig. 3 presentation graphs 1. In the drawings in the dotted line, Shown in the label (191,194,196 and 197) is the inter-process subprogram of transponder (19), And label (192,193 and 195) is the inner structured data of transponder (19). Beyond the dotted line be With associated each layer various network services of transport layer transponder (19). Wherein each label is represented Subprogram and structured data be respectively: transport layer address manager (191), message analysis device (194), DNS-ALG (DNS ALG) (196), transport layer header converter (197), And transport layer address mapping table (the corresponding table of NAT-PT) (192), dynamic mapping transport layer address Pond (193) and transition status record sheet (195).
Introduce in further detail technology contents of the present invention below in conjunction with accompanying drawing.
As shown in Figure 1, gateway of wireless transmission layer (hereinafter to be referred as gateway) by the wireless communication interface module (11, 12,13), wire communication interface module (22,23), ATP over UDP/IPv4 software module (18), ATP over Multi-Access-Serial software module (17), transport layer message repeating device (19) and intelligence Can equipment control agent software module (21), and the embedding that does not clearly indicate among the figure processing that declines Device (containing EEPROM module, RAM module) and embedded OS form.
Described embedded microprocessor comprises EEPROM module and RAM module, is system The hardware foundation of program operation. The general chips such as single-chip microcomputer get final product on the use market. Microprocessor Operation embedded OS and other software module are carried out wireless and wire communication interface module Control, deal with data is carried out user instruction. EEPROM be used for depositing embedded OS and Other software program module. Random access storage device RAM then is the needed resource of working procedure.
Support that the TCP/IPv4 protocol stack (14) of existing the Internet, the ATP/IPv6 protocol stack (15) of supporting to connect Next Generation Internet (IPv6 the Internet), infrared data access IrDA agreement (16) kernel module that drives infrared interface and embedded WEB server (20) are respectively the necessary component of embedded OS.Embedded OS is selected WinCE, PalmOS, and PSOS, VxWorks or built-in Linux are realized, are the popular embedded OS that can obtain immediately on the market.Which kind of operating system actual product selects, then according to different product types is decided with the application scenario is different.Support device drives kernel module, the device drives kernel module of Ethernet interface, the 802.11b of bluetooth wireless interface to drive kernel module and RS-232 in the operating system nucleus in addition, the EIA-422/485 serial interface devices drives kernel module.
Among the figure, ATP/IPv6 protocol stack (15) is based on the operating system nucleus module that the ATP on IPv6 and the IPv6 realizes.ATP on the IPv6 is a kind of open technique of together developing with this patent product, and at the transmission control protocol TCP on the compatible existing internet of application layer, the generation that faces down simultaneously Internet protocol IP v6 optimizes.These technology contents are not within the protection range of present patent application.
Label (11), (12), the built-in wireless communication interface module of (13) signal gateway.According to the actual product model, can, but be not limited to, from interfaces such as blue tooth wireless communication interface module (13), infrared serial line interface/fast infrared line interface (12), 802.11b (11)/802.11a wireless lan interfaces, LMDS zone multiple spot data, services interface or the connection of orthogonal sequence spread spectrum radio, select configuration.
Label (22), the built-in wire communication interface module of (23) signal gateway.According to the actual product model, can, but be not limited to, from 10/100Mbps self adaptation ether interface module (22), Gigabit Ethernet module, EIA422/485 serial interface module (23), HDSL2, VDSL selects configuration among the CableModem.The Ethernet optical fiber interface can be used for realizing FTIH, and Fiber to the home.
Smart machine control agent (21) software module is the smart machine control agent software module of system according to the application scenario configuration, their serviced devices (20) drive, drive serial line interface (23) by ATP overMulti-Access-Serial software module (17), and set up with relevant devices and to get in touch, it is diagnosed and controls, and report the result to WEB server (20), make the user can adopt the B/S application structure, final control appliance and obtain information.
Described ATP over Muti-Access-Serial software module (17) is according to embedded environment requirement cheaply, the ATP protocol package is directly transmitted on serial with multiple access ability or sata compatible interface, eliminated the expense of PPP and IP layer, provide reliable flow transmission service as TCP, upper layer application DLL (dynamic link library) form and SOCK_STREAM are in full accord.
Its operation principle is:
(1) directly utilize the input and output control of physical interface, realize one can multiple access data link layer.
(2) adopt three-way handshake, consult and coupling maximum message segment length, transmission and reception buffering area, and initial sequence number.Transmission and reception buffering area one by mutual consent just no longer change.As long as the size of buffering area can be held maximum message segment.
(3) close connection and use immediate mode, without any pilot process.
(4) use a kind of special 32 cyclic check codes (CRC)-Fire code (Fire Code), generator polynomial is (X
21+ 1) (X
11+ X
2+ 1), can correct one section and be no more than the continuous mistake of 11 (containing) and detect two sections continuous mistakes that are no more than 11 as verification mode.The generation of check code, error correction or error detection should use hardware to realize.
(5) upper layer application can consult to use the mode of sharing key, and message transmission is carried out encryption.
(6) the transmission buffering area only after the certainty of receiving the other side is replied, could continue to accept the requirement that the local terminal upper layer application sends data.Only the recipient beam back that negativity is replied and the sequence of message unanimity in, the message in the retransmission buffer.If wherein hardware has been examined wrong and can not error correction the time, the recipient must beam back the negativity response immediately.
(7) do not carry out any block up control or transmission rate adjustment.
(8) use simple timeout mechanism, comprising: when connecting, the retry of SYN message; In the data transfer, as can not receive the other side and appoint message, the recipient regularly sends negativity to far-end and replys, and informs also to be used to sequence of message that transmit leg do not receive as yet number notify the transmit leg upper layer application simultaneously, and this machine is working properly.
Described ATP over UDP/IPv4 protocol stack (18) abbreviates ATP as
*UDP, it increases asymmetric host-host protocol (ATP) encapsulation based on the transmission of the UDP on IPv4 service, provides reliable flow transmission service as TCP, but changed the block up control and the retransmission mechanism of makeing mistakes of TCP, greatly promoted the service behaviour under the wireless environment.
As shown in Figure 2, ATP
*UDP (18) has following several functional parts: connect the negotiation control (181) of setting up; The negotiation control (182) of connection termination; The transmission pre-treatment of message and reception reprocessing comprise compression, encryption, segmentation, merger, deciphering and the decompression (183) of load; Select certainty response protocol (184), contain flow control, window Sliding Control, buffer management and response bitmap management function; Verification and processing (185) are to realize error detection function; The quick retransmission protocol (186) that the recipient supervises; Timer management and overtime control (187); Block up and evade management (188); And transmit control block (TCB) (189).
ATP
*Function and the route system cooperation of evading of blocking up of UDP (18) realizes, it particularly is exactly agreement automaton identification ICMP Source Quench signal, it is internet control information agreement " information source is flame-out " command message, rely on this message of identification, rather than, decide and when should reduce transmission rate according to the packet loss situation.Because this message is only getting congestion or the router Shi Caihui that breaks down occurs, and packet loss can be because the physical circuit status transmission is not good, for example in the wireless transmission environment, so do the network transmission efficiency that can obviously improve under the wireless transmission environment like this.
The complete content of transmit control block (containing buffering area) TCB (189) comprises: connection status contains local terminal and the other side transport layer address separately; Send window, transmission buffering area; Receive window, reception buffering area; The response bitmap; The time wheel of timer.
Its operation principle is:
(1) not having the service of the message transmissions of connection based on UDP realizes.These are different with TCP or ATP/IPv6, and they are based on, and the network message transmitting-receiving service of IP layer realizes.
When (2) connecting, adopt the three-way handshake the same with TCP, this is comprising the selection of initial sequence number.
(3) connection closed (graceful close) during elegant mode adopts the ternary condition assembled state the same with ATP conversion.This ternary condition is: the termination connection request FIN message of receiving far-end; Receive the bind command of closing of local terminal upper layer application; Internal state shows that all data messages of far-end all have been received and have beamed back by protocol requirement and replied.
(4) take the timeout mechanism the same, comprising with ATP: when connecting at regular intervals retry send and not obtain the request that the connects SYN message that certainty is replied; After connecting foundation, in the packet sending and receiving process, when can not receive remote signaling, send negativity at regular intervals and reply; In the packet sending and receiving process, the space has appearred in the receive window, and this space is then beamed back negativity to transmit leg and is replied if can not be filled at certain hour; Far-end send to stop connection request, does not obtain within a certain period of time that certainty is replied, just quick closedown connects by force; Receive that far-end stops connection request but can not get space data message in the receive window within a certain period of time, just quick closedown connects by force; To the local terminal upper layer application submit close connection request, within a certain period of time do not obtain the connection closed order of upper layer application, just close connection by force; Receive the ICMP that low layer is submitted " Source Quench " signal and reduce after the transmission rate, no longer comprehend regular period (" Deaf Time subsequently " do the deaf time) and in other " Source Quench " signal etc.
(5) use improved sliding window protocol, coordinate the buffering area coupling of receiving-transmitting sides and control flow end to end.The improvement that general sliding window is done is that system dynamically adjusts window size according to sending needs and resource status.Particularly,, just receive before in the end a bag is received, just permit both sides and reduce window size if the certainty of first bag of send window is replied exactly; Not so, as long as still have the available free resource, just strengthen window size, thereby reach optimum transmission performance.
(6) under the default mode, start retransmission mechanism.Beam back negativity by the receive direction transmit leg by timing mechanism and reply, urge the timely repeating transmission of transmit leg can not be midway by data check or the message of losing because of various reasons.Data check has directly utilized the Checksum field of UDP.Upper layer application, for example the media delivery class is used, and ATP can be set
*The UDP retransmission mechanism of stopping using.At this time, ATP does not carry out verification to data, for each message of receiving, behind a short period interval of waiting for by the upper layer application appointment, just with this message and before received and still no delivery attempted give the message of upper layer application, the sending order by number embodying by sequence of message is submitted to upper layer application, and, whether the message of losing is arranged promptly no matter whether the sequence of message centre is gapped.
(7) do not use TCP or TCP close friend's the controlling mechanism of blocking up, and take prevention mechanism (" the Cooperative Congestion Avoidance that blocks up that cooperates with route system ").Particularly, when being exactly initialization, select a rational middling speed transmission rate, the flow control configuration of lower-level services is depended in the selection of this speed: keep one and send credit line in process of transmitting, message of every transmission just deducts message size with this transmission credit line; Every certain hour interval of crossing according to current control transmission rate, adds a value for the transmission credit line, and this value equals current control transmission rate and multiply by this time interval; Whenever the value of credit line has surpassed total size of send window, add up with regard to the timing that stops to send credit line; And first message in window full whenever send window obtains negativity and replys and enter re-transmission, just will send the credit line zero clearing, and the timing of restarting the transmission credit line simultaneously adds up; Under the mode of operation that retransmission mechanism is closed, whenever receiving a message, postpone the regular hour, with in this message and the receive window still no delivery attempted give the message of upper layer application, be submitted to upper layer application by sending order, simultaneously slide receiving window; Whenever receiving that one connects corresponding ICMP " SourceQuench " signal with this, and do not exist again " Deaf Time " in, just current control transmission rate is reduced by half, enter simultaneously " Deaf Time " overtime successively decreasing (Count Down).
Described transport layer message transponder (19) is used to provide the intercommunication between IPv6 network (second generation the Internet) and the IPv4 network (internet), and supports the network of ATP and the intercommunication between the traditional TCP/IP network.It is handled to be the transport layer message, comprises ATP over IPv6, TCP overIPv6, UDP over IPv6, TCP over IPv4, ATP over UDP/IPv4 and UDP overIPv4.
The structure of transport layer transponder in Fig. 3 presentation graphs 1, wherein, described transport layer address manager (191), it is used for the transport layer address search service from the outside, search those and be arranged in the IPv4 network and the transport layer address of having distributed the network service of IPv6 address, these services mainly are the network services that those transport layer protocols have used ATP/IPv6.Be that service on the IPv4 network of TCP or UDP does not generally need to search the IPv6 address for transport layer protocol, as long as handle by the IPv6 address format of compatible IPv4 address.Transport layer address manager (191) also is responsible for searching those and is arranged in the IPv6 network and the transport layer address of having distributed the network service of IPv4 address, comprises that these serve employed transport layer protocol (TCP or UDP), IPv4 address and transport layer port number.Lookup result exists in the transport layer address mapping table.Transport layer address manager (191) generally will and DNS-ALG (DNS ALG) (196) cooperating.
Has a transport layer address mapping table (192) in transport layer transponder inside.Described transport layer address is one polynary group, its component comprise the 3rd layer protocol version (IPv4 or IPv6), IP address, upper-layer protocol (ATP, TCP, UDP or other), upper-layer protocol port numbers (only to TCP, UDP or ATP
*UDP is meaningful).Transport layer address mapping table (192) has been put down in writing IPv6 address, transport layer protocol (ATP, TCP or UDP) and port numbers (ATP does not have port numbers), and the corresponding relation between IPv4 address, transport layer protocol and the port numbers.Transport layer address mapping table (192) is being deposited all static NAT-PT conversion, and buffer memory system's transport layer address mapping of normal use recently, comprise the employed transport layer map addresses of all transport layer services that are in forwarding state, and pooled NAT-PT conversion.Each is two transport layer addresses in the table, the compatibility of transport layer protocol before and after these two transport layer addresses must keep shining upon.ATP or TCP on the regulation IPv6 go up TCP or ATP with IPv4
*UDP is compatible, and vice versa; In addition, also compatible between the identical transport layer protocol.Other all is incompatible.Inconsistent of the transport layer protocol that do not have in the transport layer address mapping table (192).
Dynamic mapping transport layer address pool (193) in the described transport layer transponder, it is used to support the dynamic assignment of NAT-PT transport layer address.
Message analysis device (194) in the described transport layer transponder, it is according to the header content of each message and inner transition status record, next step action of decision systems.
Transition status record sheet (195) in the described transport layer transponder, it is used for the transition status record, and being has that the transport layer protocol ATP of connection or TCP's act on behalf of connection status, perhaps the transport layer address transition situation of UDP or TCP.
The ALG (DNS-ALG) (196) of the domain name mapping service in the described transport layer transponder, it accepts the DNS name resolution request in the IPv6 message, with the IPv4 address of Internet resources in the IPv4 network, translates into compatible IPv6 address, returns to the user.Simultaneously, it also accepts the DNS name resolution request in the IPv4 message, with the IPv6 address of Internet resources in the IPv6 network, corresponds to predetermined IPv4 address.Wherein, the translation from the IPv4 address to the IPv6 address is man-to-man; Correspondence from the IPv6 address to the IPv4 address generally is many-to-one, also need add port numbers by upper layer application, and could set up IPv4 transport layer address (TCP address or UDP address) (for ATP, is exactly the IPv6 address to IPv6 transport layer address; For TCP address or UDP address, add port numbers) corresponding one by one.
Transport layer header converter (197) in the described transport layer transponder, when using NAT-PT, it is with the transport layer address in the transport layer header of the message received, according to the transport layer address mapping relation, be transformed into new address, and by the transport layer verification and calculating means, recomputate the verification sum, again message is sent by amended destination IP addresses.Except that the transport layer verification, the part that transport layer header is revised comprises information source IP address, information source port, destination IP addresses and stay of two nights port.
Storage forwarding queue (198) in the described transport layer transponder, when the storage of using transport layer was transmitted, its buffer memory (comprised TCP, ATP from the transport layer automaton that receives message
*UDP and ATP/IPv6) load data submitted, be submitted to transport layer automaton according to the FIFO order again by the transition status recording prescribed, send to the transport layer address of same transition status record defined.
Its operation principle is such:
At first, message analysis device (194) is intercepted and captured (not signal among the figure three) internetwork layer message from IPv4 or IPv6 internetwork layer transmitting-receiving service, and according to whether corresponding forwarding state record is arranged in the information source transport layer address retrieval system.If existing forwarding state record then according to existing forwarding state record and the control information in the message, is done appropriate processing.Being treated to of forwarding state recording prescribed is following one of several:
(1) load in the transport layer message as needs, is appropriately made to information source by the transport layer protocol requirement and to be replied, and payload content is sent storage forwarding queue (198), and another transport layer protocol requirement mode by correspondence sends again.
(2) use network address translation to add port translation (NAT-PT), and handle by transport layer header converter (197).
(3) abandon this transport layer message of i.e. filtering.
(4) close connection, and elimination forwarding state record.
If also do not have the forwarding state record corresponding in the system, the then following work of system with this message:
(1) if this message information source transport layer protocol is the ATP on the IPv6, then according to stay of two nights transport layer address search transport layer address mapping table.If found one, its transport layer protocol is TCP, then creates the forwarding state record, handles ATP over IPv6 and transmits to TCP over IPv4 message.If find one, its transport layer protocol is ATP
*UDP then creates the forwarding state record, carries out ATP over IPv6 and transmits to the message of ATP over UDP/IPv4.As one of non-said circumstances, just handle by the 3rd layer of route switching.
(2) if this message information source transport layer protocol is the TCP on the IPv6, then according to stay of two nights transport layer address search transport layer address mapping table.If find one, its transport layer protocol is TCP, then carries out the network address and port translation (NAT-PT) under the TCP.If find one, its transport layer protocol is ATP
*UDP then creates the forwarding state record, handles TCP overIPv6 and transmits to the message of ATP over UDP/IPv4.As one of non-said circumstances, just handle by the 3rd layer of route switching.
When searching the transport layer address mapping table, the item of being found may be a dynamically mapping item, and promptly the transport layer address after the mapping is not clear and definite.At this moment need from the dynamic mapping address of transport layer pond (193), to obtain an idle transport layer address, the transport layer address before the displacement transformation, this displacement is filled up in the transition status record, is used for later forwarding and handles.
(3), check then whether the application layer port is DNS if this message information source transport layer protocol is the UDP on the IPv6.If then DNS-ALG (ALG of domain name mapping service) behavior work is pressed by system.If not, system searching transport layer address mapping table then; If find one, then carry out the network address and port translation (NAT-PT) under the UDP, otherwise just handle by the 3rd layer of route switching.
(4) if message information source transport layer protocol is the TCP on the IPv4, then according to stay of two nights transport layer address search transport layer address mapping table.If find one, its transport layer protocol is TCP, then carries out the network address and port translation (NAT-PT) under the TCP.If find one, its transport layer protocol is ATP, and the state recording that then connects carries out TCP over IPv4 and transmits to the message between the ATP over IPv6.If not one of said circumstances, then handle by the 3rd layer of route switching.
(5), and judge that according to port numbers upper layer application used ATP if message information source transport layer protocol is the UDP on the IPv4
*UDP is then according to stay of two nights transport layer address search transport layer address mapping table.If find one, its transport layer protocol is ATP, and the state recording that then connects carries out ATP over UDP/IPv4 and transmits to the message between the ATP over IPv6.If find one, its transport layer protocol is TCP, and the state recording that then connects carries out ATP over UDP/IPv4 and transmits to the message between the ATP over IPv6.If not one of said circumstances, then handle by the 3rd layer of route switching.
In the IPv4 message,,, can judge whether this port has distributed to use ATP then according to port numbers if transport layer protocol is UDP
*The upper layer application of UDP is if then transport layer protocol is ATP just
*UDP.
(6), check then whether its application layer port is DNS if message information source transport layer protocol is the UDP on the IPv4.If then the behavior work of DNS-ALG is pressed by system.If not, then search the transport layer address mapping table; If find one, then carry out the network address and port translation (NAT-PT) under the UDP, otherwise just handle by the 3rd layer of route switching.
(7), then handle by the 3rd layer of route switching if not one of said circumstances.
Between IPv4 network and IPv6 network, native system does not carry out at the network address translation beyond TCP or the UDP message.
Embodiment
The control agent software module of ATP over Multi-Access-Serial software module and relevant devices has been installed on one: one home computer of example.By USB USB, bluetooth transceiver of connection.Use the WEB server of browser access home computer, driving arrangement control agent software module, this software module drives ATP over Multi-Access-Serial software module again, drive bluetooth transceiver by USB again, used the intelligent home device foundation of bluetooth wireless interface and ATP over Multi-Access-Serial protocol massages form to get in touch with same, transmit user instruction and obtain equipment state, realize control and status enquiry.
The one cover gateway of wireless transmission layer of the present invention of two: one tame mobile wireless service on net merchants (Mobile ISP) of example configuration, there is the operating system of high performance processor and jumbo RAM, optimization inside, configuration ATP over UDP/IPv4 adapter software module and transport layer transponder software module.Subscriber equipment has been to use WAP mobile phone, PDA, portable computer of GPRS or 3G mobile Internet access etc., with be the ATP/IPv6 protocol stack, perhaps still use the TCP/IPv4 protocol stack, but increased ATP over UDP/IPv4 software module, transport layer exchange by this gateway, with the conventional the Internet information resources website in the cable network or do not use ATP protocol of I Pv6 website to connect, obtain information resources.
Three: one office building Intranets of example (Intranet) are gone up the gateway of wireless transmission layer of the playscript with stage directions invention of internal configurations, in have single-chip microcomputer, embedded OS, ASIC to realize the transport layer transponder realized of ATP/IPv6, ASIC the ATP over UDP/IPv4, the ASIC that the realize TCP/IPv4, the ASIC that realize, integrated 802.11b wireless access points and 10/100Mbps Ethernet interface.The user holds the portable computer that the 802.11b network interface is installed and ATP overUDP/IPv4 or ATP/IPv6 protocol stack have been installed equally, connects with gateway, reliably, stably visits Enterprise Information Resources.
The cover gateway of wireless transmission layer of the present invention that four: one industrial enterprises of example install, in single-chip microcomputer, embedded OS, IrDA interface, bluetooth wireless interface, EIA-422/485 serial line interface are arranged, in the building of residential quarter, the Based Intelligent Control agent software module of WEB server, relevant industrial equipment.The professional sets up by IrDA interface or bluetooth wireless interface and gateway and gets in touch, and control is connected on the industrial equipment on the EIA-422/485 bus.
Claims (9)
1. gateway of wireless transmission layer, it is characterized in that described gateway comprises following module and annexation thereof, described module comprises: wireless ethernet (11), serial infrared port/fast infrared wave point (12), Bluetooth interface (13), Tiny TCP/IPv4 (14), ATP/IPv6 protocol stack (15), IrDA agreement (16), ATP overMulti-Access-Serial (17), ATP
*UDP (18), transport layer transponder (19), Web server (29), smart machine control agent (21), 10/100Mbps self adaptation Ethernet interface (22), RS422/485 serial line interface (23), embedded microprocessor and embedded OS also are set in described gateway, wherein, a class has wireless communication interface, wire communication interface, used the asymmetric host-host protocol (ATP) on the UDP or directly drives the transport-layer gateway or the 4th layer switch of multiple access tandem type interface (Multi-Access-Serial) asymmetric host-host protocol.
2. gateway as claimed in claim 1 is characterized in that having asymmetric host-host protocol (ATP) software or the ASIC module of direct driving multiple access tandem type interface, and transport layer (ISO/OSI reference model the 4th layer) transponder.
3. gateway as claimed in claim 2 is characterized in that driving bluetooth (Bluetooth) or other short distance low cost radio frequency wireless communication interface with asymmetric host-host protocol (ATP).
4. gateway as claimed in claim 2 is characterized in that driving serial infrared ray or fast infrared (SIR/FIR) wireless communication interface with asymmetric host-host protocol (ATP).
5. gateway as claimed in claim 2, it is characterized in that with asymmetric host-host protocol (ATP) but drive the EIA-422/485 balance serial line interface that daisy chain or bus mode connect, the perhaps non-equilibrium serial line interface of RS232.
6. gateway as claimed in claim 1 is characterized in that supporting the TCP/IPv4 protocol stack, and moves asymmetric host-host protocol (ATP over UDP/IPv4) on UDP.
7. gateway as claimed in claim 6 is characterized in that on 802.11/802.11b wireless ethernet communication interface, operation ATP over UDP/IPv4.
8. gateway as claimed in claim 1, it is characterized in that having used asymmetric host-host protocol ATP, no matter be ATP/IPv6 or ATP over is UDP/IPv4, connect the IPv4 network simultaneously, no matter be internet (Internet) or Intranet (intranet), with the IPv6 network,, and use transport layer to exchange the transport-layer gateway of serving as between the two (Layer 4Gateway) no matter be Next Generation Internet or home network.
9. gateway as claimed in claim 1, it is characterized in that employed asymmetric host-host protocol software module, no matter be the asymmetric host-host protocol on the multiple access serial line interface, or the asymmetric host-host protocol on the User Datagram Protoco (UDP) UDP, with transport layer reflecting software module, install and operate on the all-purpose computer, no matter be Hand Personal Computer, home computer, Industrial PC Computer or commercial server, use built-in or carry out wireless connections, insert IPv4 or IPv6 network by USB or IEEE 1394 external bluetooth or infrared radio communication receiving/transmission devices.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN01118697.6A CN1391380A (en) | 2001-06-11 | 2001-06-11 | Gateway of wireless transmission layer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN01118697.6A CN1391380A (en) | 2001-06-11 | 2001-06-11 | Gateway of wireless transmission layer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1391380A true CN1391380A (en) | 2003-01-15 |
Family
ID=4663375
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN01118697.6A Pending CN1391380A (en) | 2001-06-11 | 2001-06-11 | Gateway of wireless transmission layer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1391380A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100396053C (en) * | 2003-07-25 | 2008-06-18 | 华为技术有限公司 | A method for switching IPv6 island in IPv6 network |
CN102130858A (en) * | 2011-03-23 | 2011-07-20 | 东莞中山大学研究院 | Method for realizing home gateway based on Bluetooth |
CN102316520A (en) * | 2011-08-30 | 2012-01-11 | 中国北车股份有限公司大连电力牵引研发中心 | RS422-general packet radio service (GPRS) communication gateway, data processing method and system |
CN103078761A (en) * | 2011-10-25 | 2013-05-01 | 中兴通讯股份有限公司 | Method for enhancing communication stability of security system, security network elements and security system |
CN101322378B (en) * | 2005-12-01 | 2014-06-04 | 高通股份有限公司 | Concurrent internet protocol connectivity to an access terminal and a tethered device |
-
2001
- 2001-06-11 CN CN01118697.6A patent/CN1391380A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100396053C (en) * | 2003-07-25 | 2008-06-18 | 华为技术有限公司 | A method for switching IPv6 island in IPv6 network |
CN101322378B (en) * | 2005-12-01 | 2014-06-04 | 高通股份有限公司 | Concurrent internet protocol connectivity to an access terminal and a tethered device |
CN102130858A (en) * | 2011-03-23 | 2011-07-20 | 东莞中山大学研究院 | Method for realizing home gateway based on Bluetooth |
CN102316520A (en) * | 2011-08-30 | 2012-01-11 | 中国北车股份有限公司大连电力牵引研发中心 | RS422-general packet radio service (GPRS) communication gateway, data processing method and system |
CN103078761A (en) * | 2011-10-25 | 2013-05-01 | 中兴通讯股份有限公司 | Method for enhancing communication stability of security system, security network elements and security system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2436147C2 (en) | Improved wireless usb protocol and usb hub | |
FI120073B (en) | A method, device, product, and system for network communication | |
US7526577B2 (en) | Multiple offload of network state objects with support for failover events | |
US7050437B2 (en) | Wire speed reassembly of data frames | |
US7685287B2 (en) | Method and system for layering an infinite request/reply data stream on finite, unidirectional, time-limited transports | |
US8090859B2 (en) | Decoupling TCP/IP processing in system area networks with call filtering | |
US8018929B2 (en) | Expanded transmission control protocol, methods of operation and apparatus | |
US20070247395A1 (en) | Communications multiplexing with packet-communication networks | |
WO2016187813A1 (en) | Data transmission method and device for photoelectric hybrid network | |
JP2005502225A (en) | Gigabit Ethernet adapter | |
KR20010043790A (en) | Tcp/ip/ppp modem | |
CN101436978A (en) | Method for authentic data transmission using UDP protocol | |
CN102067569A (en) | Method and apparatus for managing data services in a multi-processor computing environment | |
CN103795632A (en) | Data message transmission method, related equipment and system | |
CN1954574A (en) | Unified infrastructure over Ethernet | |
WO2004017219A1 (en) | Apparatus and method for transmit transport protocol termination | |
CN103905510B (en) | The processing method and background server of a kind of data packet | |
CN110830434A (en) | Universal transparent proxy method | |
EP1515511B1 (en) | Multiple offload of network state objects with support for failover events | |
CN101064667A (en) | Method for monitoring and adjusting universal routing package tunnel state | |
CN1391380A (en) | Gateway of wireless transmission layer | |
CN103379130A (en) | Network access system and method based on application layer data | |
EP3382984A1 (en) | Techniques for network multicasting with buffering | |
US20080056263A1 (en) | Efficient transport layer processing of incoming packets | |
US20080040494A1 (en) | Partitioning a Transmission Control Protocol (TCP) Control Block (TCB) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C57 | Notification of unclear or unknown address | ||
DD01 | Delivery of document by public notice |
Addressee: Zhu Hanqiang Document name: Notice of publication of application for patent for invention |
|
C57 | Notification of unclear or unknown address | ||
DD01 | Delivery of document by public notice |
Addressee: Zhu Hanqiang Document name: Notification before expiration of term |
|
C57 | Notification of unclear or unknown address | ||
DD01 | Delivery of document by public notice |
Addressee: Zhu Hanqiang Document name: Deemed as a notice of withdrawal |
|
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |