TW201110646A - Cross-layer address mapping method for proxy mobile internet protocal - Google Patents

Cross-layer address mapping method for proxy mobile internet protocal Download PDF

Info

Publication number
TW201110646A
TW201110646A TW98130340A TW98130340A TW201110646A TW 201110646 A TW201110646 A TW 201110646A TW 98130340 A TW98130340 A TW 98130340A TW 98130340 A TW98130340 A TW 98130340A TW 201110646 A TW201110646 A TW 201110646A
Authority
TW
Taiwan
Prior art keywords
address
packet
source
record
destination
Prior art date
Application number
TW98130340A
Other languages
Chinese (zh)
Other versions
TWI395446B (en
Inventor
Yaw-Chung Chen
Wen-Kang Chia
Original Assignee
Univ Nat Chiao Tung
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 Univ Nat Chiao Tung filed Critical Univ Nat Chiao Tung
Priority to TW98130340A priority Critical patent/TWI395446B/en
Publication of TW201110646A publication Critical patent/TW201110646A/en
Application granted granted Critical
Publication of TWI395446B publication Critical patent/TWI395446B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

This invention discloses a cross-layer address mapping method for proxy mobile internet protocol (PMIP), capable of performing a fast cross-layer address mapping and resolution over proxy mobile IPv4. The cross-layer address mapping method in proxy mobile internet protocol includes a forwarding process for traffic from internal to external as well as from external to internal. Through this method most of the packets cut through the translation device directly, and there is no need to do any action for translation and re-encapsulation computing and relay, therefore it improves the efficiency of proxy mobile IPv4 (PMIP4) networks.

Description

201110646 六、發明說明: 【發明所屬之技術領域】 本發明係有關於一種行動用戶代理位址跨層對映方法, 尤指一種絕大部份情況下不需執行任何中繼轉送運算的行動 用戶代理位址跨層對映方法。 【先前技術】 網際網路(Internet)是將世界上的各種電腦,透過全球 各地的區域網路並使用一種稱為傳輸控制協定/網際網路 協定(Transmission Control Pr〇t〇c〇i/internet Pr〇t〇c〇1,簡 TCP/If)的鮮彳bit輯定連結而成,透侧際網路的連 接,讓不同地區或不同網路的使用者可以彼此交換資訊、 共用資源、且彼此相互通訊。 、 在現行的第四版IP(IP Version 4,簡稱IPv4)的定 議中’使用了 32位元的長度,敎址全球的所有網路裝 置’此裝置可以是電腦、印表機、路由器、交換哭ς !或ίΓ連,設備。只要擁有合法單位發放的π ^ 士 = f即月匕夠被直接參考當成網際網路上的 目:端以進行資料通訊;但ιρν4協定在 夺假: j網路裝置都是經由有線的連接固定在某_二=: 無線網路技術發展後,網路裝置可以賦予_ 、田 行無線的資料通訊。網路中的每個行動 ;^ ^進 望能在_的過程中仍繼續 t = @ 因此’無線行動環境必須提供行動性管理持 201110646 移動過程中所衍生的網路 (Handoff)對於無線行^轉換問題。行動換手 質會因射過財暫^路疋不可錢的。由於通訊的品 ill 口# /暫狳通矾而受到影響,為了確保更佳的 通I貝,—個平順無接縫的行動換丰太^保更仏的 外因為網路裝置的移動性=手方法疋必須的。另 再完全適用。因此必,2際網路之1Pv4協定不 容於目前iPvm-1讀無、_路魏設計一套相 , 、仃動網際網路協定(Mobile IP),使201110646 VI. Description of the Invention: [Technical Field] The present invention relates to a mobile user agent address cross-layer mapping method, and more particularly to an action user who does not need to perform any relay transfer operation in most cases. The proxy address cross-layer mapping method. [Prior Art] The Internet (Internet) is a network of all kinds of computers in the world, through a regional network around the world and uses a kind of transmission control protocol / Internet Protocol (Transmission Control Pr〇t〇c〇i / internet The 彳 彳 辑 〇 〇 , 简 TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP TCP Communicate with each other. In the current version 4 IP (IP Version 4, IPv4 for short), the 'use of 32-bit length, all the network devices around the world' can be computer, printer, router, Exchange crying! or Γ Γ, equipment. As long as there is a legal unit issued π ^ 士 = f that is enough to be directly referred to as the Internet: the purpose of the data communication; but ιρν4 agreement in the holiday: j network devices are fixed via a wired connection A _ two =: After the development of wireless network technology, the network device can give _, Tianxing wireless data communication. Every action in the network; ^ ^ Advance can continue in the process of _ t = @ So 'wireless action environment must provide mobility management holding 201110646 mobile network derived from the process (Handoff) for wireless lines ^ Conversion problem. The action is changed. The quality will not be money because of the financial crisis. Because the communication product ill mouth # / temporary 狳 矾 受到 受到 受到 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , The method of hand is a must. It is completely applicable. Therefore, the 1Pv4 agreement of the 2nd network is not allowed to be read by iPvm-1, and a set of phase is set up, and the Internet Protocol (Mobile IP) is activated.

=無=路環境能夠讓用戶在持續)J 斷地進订目__路上的資源存取。 目月’J所有的無線網路技術都將 理的解決方案,因為M iP視為订動官 以右一此問畔六— IP為第二層的網路協定,所 虚底譬如它必須配合修改與底層協定以及 t / 建W ^路由導致封包傳 題Μ Μ ^應用程式的支援不良、換手延遲等問 L 要的目的在於使移動節點_ile 對财^ 巾㈣時,健絲鱗與網路甚至與 對應即點(C〇rrespondent N〇de ; CN)間的連結。當應 動到新_域後,會向所在地的外地用戶代= No = road environment allows the user to continue to access the resource access on the __ road.目月'J all wireless network technology will be the solution, because M iP is regarded as the ordering officer to the right one to ask the six-IP as the second layer of the network agreement, the virtual bottom, such as it must cooperate Modifying the underlying agreement and t / building W ^ routing leads to the packet header Μ Μ ^ application support poor, handoff delay, etc. L The purpose of the purpose is to make the mobile node _ile to the money (four), The network even has a link to the corresponding point (C〇rrespondent N〇de; CN). When the new _ domain is activated, it will be sent to the local user of the location.

Agent ; FA)裝置要求料—個靖的轉純址(c_f address ; CoA) ’並且藉由它建立與本地位址的繫社 (Blnding)關係,使得送到本地用戶代理(Home Agent,η/) 裝置的封包能夠封裝在ιϊ>穿隧協定(IPTunnel)内,中繼轉 送到移動節點所在的CoA,完成整個換手的過程。 因應下一世代網際網路的IPv6協定已經被提出十多 年,Mobile IP依據lPv4與IPv6網路特性與功能的差 201110646 異’針對兩者分別定義了 Mobile IPv6(MIP6)與Mobile IPv4(MIP4)兩大類協定;Mobile IPv6 比 Mobile IPv4 架構 更加簡化、且傳送資料更有效率,認證與加密技術更加完 備,且能滿足大量的IP位址需求,主要優點還有:使用 芳鄰尋找(Neighbor Discovery)與自動定址(Aut0 Configuration)功能,取消FA、使用路徑最佳化來解決三 角路由、利用安全IP(IPSec)機制來滿足認證安全性等 等。一般認為MIP4在既有IPv4的整合上疊床架屋,具 有不少缺陷,勢必由MIP6結合IPv6的強大功能後,才 能獲得一個較完美的行動IP服務環境。 前述的主流Mobile IPv4/IPv6協定已經被指出相當多 的問題,其中最主要的是佈建成本的問題;由於在既有低 成本的行動用戶端設備上’整合複雜的MIP協定是很有 挑戰性的工作,因此近年來提出了另外一種代理行動 IP(Proxy Mobile IP ; PMIP)的新對策,此概念將 Mobile IP 方法分為用戶行動IP(Client Mobile IP ; CMIP)與代理行動 IP(Proxy Mobile IP ; PMIP)兩大類。前述習知MIp方法通 常即指CMIP而言,而CMiP中的Client字眼,如前所述 代表MN本身具備有Mobile IP之功能,即不需網路端的 額外設備輔助;換言之,既有網路路由裝置不須支援MIp 協定即可讓MIP網路運作。然而pMIp協定係假設_ 中沒有内建Mobile IP的通訊協定堆疊,此時必須要靠後 知網路的代理幫忙。其中行動代理(pr〇Xy Mobility Agent)’簡稱代理(Pr0Xy)為放置在網路中之設備,負責代 表MN向本地用戶代理(Home Agent,HA)裝置註冊與處理 其他有關MIP的行動管理事務’如此可讓不具備有MIp 201110646 此,而·也月b夠具備在無線行動網路中任意移動的功 ϊ木身u本身以及其上層的應用程式,甚至有可能不知 ίΐν1ΙΡ4Μ移動+ °目前ΡΜΠ>6的規範已經制定完成, PMIP4的規範仍在定義中。 凡Agent; FA) device requirements - a Jing's transfer to pure address (c_f address; CoA) ' and through it to establish a relationship with the status of the department (Blnding), so that it is sent to the local user agent (Home Agent, η / The device's packet can be encapsulated in the IPTunnel protocol, and the relay is forwarded to the CoA where the mobile node is located to complete the entire handover process. In response to the IPv6 agreement of the next generation Internet, which has been proposed for more than ten years, Mobile IP defines Mobile IPv6 (MIP6) and Mobile IPv4 (MIP4) according to the difference between lPv4 and IPv6 network features and functions. Two major types of agreements; Mobile IPv6 is more streamlined than Mobile IPv4 architecture, and the data transmission is more efficient, authentication and encryption technology is more complete, and can meet a large number of IP address requirements, the main advantages are: the use of Neighbor Discovery (Neighbor Discovery) and Automatic address (Aut0 Configuration) function, cancel FA, use path optimization to solve triangle routing, use secure IP (IPSec) mechanism to meet authentication security and so on. It is generally believed that MIP4 has many defects in the integration of existing IPv4. It is bound to be combined with the powerful functions of IPv6 to obtain a perfect mobile IP service environment. The aforementioned mainstream Mobile IPv4/IPv6 protocol has been pointed out to be quite a problem, the most important of which is the cost of deployment; it is very challenging to integrate complex MIP protocols on existing low-cost mobile client devices. In recent years, another new countermeasure for Proxy Mobile IP (PMIP) has been proposed. This concept divides the Mobile IP method into User Mobile IP (CMIP) and Proxy Mobile IP (Proxy Mobile IP). ; PMIP) two major categories. The aforementioned MIp method is usually referred to as CMIP, and the Client word in CMiP, as described above, represents that the MN itself has the function of Mobile IP, that is, no additional device assistance is required on the network side; in other words, there is network routing. The device does not need to support the MIp protocol to allow the MIP network to operate. However, the pMIp protocol assumes that there is no stack of communication protocols with built-in Mobile IP in _, and it is necessary to rely on the proxy of the network to help. The pr〇Xy Mobility Agent's proxy (Pr0Xy) is a device placed in the network and is responsible for registering and processing other MIP-related operations management transactions on behalf of the MN to the Home Agent (HA) device. This allows you to have MIp 201110646, but also has the ability to move anywhere in the wireless mobile network and its upper-layer applications, and may even not know ίΐν1ΙΡ4Μmoving + °current ΡΜΠ> The specification for 6 has been finalized and the specifications for PMIP4 are still being defined. Where

但預訂—世代的Ipv6定址方式必縣要再部署三 到五年:甚至更久’網際網路上的路由設備才有可能全面 更換或昇級為IPv6 ’在這段過渡期間内,嶋網路用戶 續採用IPv4協定為主;但是現有之MIp4環境,無 响疋CMIP4還是PMIP4的方法,都無可避免地必須面對 IPv4協定既有的包被,也就是定址空間不足的問題,在 CMIP4環境中’ MN若採用的是合法的正位址 ip) ’可能面臨移動到新的外地網路後,因IP位址不敷分 配,無法取得IP位址而造成網路不能連線之問題;以及 移動設備本身受限於運算能力、程式儲存空間、作業系統 薇商的通訊協定支援能力等,根本無法支援CMIP4協定 的問題。特別是在新定義的PMIP4環境中,MN在移動 到新的外地網路後是毋須更換CoA的,MN若採用的是 合法的IP位址(Public IP),一個資料通訊會談連接 (Session Connection),可能面臨資料封包來回都需要經過 HA中繼轉送;而FA、HA裝置在轉送過程中,繁複的位 址查表置換程序,往往造成效能瓶頸,而衍生出服務品質 問題;MN若採用的是私有的IP位址(Private IP),可能面 臨移動到新的外地網路後,與既有其它MN的私用IP位 址發生衝突的問題,事實上PMIP4行動網路無法採用私 有IP位址(Private IP)節賓IPv4位址的使用。以及無論何 種方法’ MN的第二層和第三層網路驅動程式,都還是得 7 201110646 =订相應的修訂以賊合_題。f知之ρΜιρ 實,例架構圖請參考圖二,其中存取路由器(Α:= 〇u er ’ AR)為無、線網路和有線網路的邊界路 ==#之_4主要為—在⑽網路第^層進行 播。k機制’且無法以私用IP位址提供服務的架 映二的用戶代理快速跨層位址對 可以直接、#、s /、可使大刀的封包在經過代理裝置時 二=的動作,進而提高行動代理ΙΡν4= 月匕將疋本發明所欲積極探討之處。 以解 決上糾—種㈣用戶代理恤跨雜映方法, 【發明内容】 繼 網 映方ί發戶代理位址跨層對 透通,需執行;:;:=:代=;可以直接 轉送的動作,於實睽應用中其it用==二对 路上並進喊細域理IPV4=iH财的⑽ 其包戶r位址跨層對映方法, 照表並用以轉行動用戶代理w 轉廷封包,該行動用戶代理位址對 201110646 自一内部網路界面接收一封包, 包含一來源埠號; ⑺樹f封包之表容(例如封包之第-層MAC層、第 :::層以及第三層TCP/UDp層之表頭内容)與該行 動用戶代理位址對照表比對;However, the reservation-generation Ipv6 addressing method will be deployed for another three to five years: even longer, the routing device on the Internet may be completely replaced or upgraded to IPv6. During this transition period, the network users continue The IPv4 protocol is the main one; however, the existing MIp4 environment, without the CMIP4 or PMIP4 method, must inevitably face the existing package of the IPv4 protocol, that is, the problem of insufficient address space, in the CMIP4 environment. If the MN uses the legal positive address ip) 'may be faced with the problem of the network being unable to connect due to the IP address being insufficiently allocated due to the IP address being insufficiently allocated to the new foreign network; and the mobile device It is limited by the computing power, the program storage space, and the communication protocol support capabilities of the operating system, and it is impossible to support the CMIP4 agreement. Especially in the newly defined PMIP4 environment, the MN does not need to replace the CoA after moving to the new foreign network. If the MN uses a legal IP address (Public IP), a data communication session connection (Session Connection) , may face data packets back and forth need to be transferred through the HA relay; and FA, HA devices in the transfer process, complex address table lookup replacement procedures, often cause performance bottlenecks, and derive service quality problems; MN if used The private IP address (Private IP) may face the problem of conflict with the private IP address of other MNs after moving to the new foreign network. In fact, the PMIP4 mobile network cannot use the private IP address ( Private IP) Use of the guest IPv4 address. And no matter what method MN's second and third layer network drivers, still have 7 201110646 = set the corresponding revision to the thief. f know ρΜιρ real, example architecture diagram, please refer to Figure 2, where the access router (Α:= 〇u er 'AR) is the border of the no, line network and wired network ==# _4 is mainly - in (10) The network layer is broadcasted. The k-mechanism' and the user agent that can't provide the service with the private IP address can quickly increase the cross-layer address pair, which can directly, #, s /, and can make the packet of the large knife pass the second action of the proxy device, thereby improving The action agent ΙΡν4= The month will be actively explored by the present invention. In order to solve the problem of the above-mentioned (four) user agent shirt cross-figure method, [invention content] After the network image of the agent, the address of the agent is cross-layered, and needs to be executed; :;:=: generation=; can be directly transferred Action, in the real application, its use == two on the road and shouting the fine domain IPV4=iH Cai (10) its account r address cross-layer mapping method, according to the table and used to transfer the user agent w turn the court package The mobile user agent address receives a packet from an internal network interface to 201110646, including a source nickname; (7) a f-packet description (eg, a packet-layer MAC layer, a ::: layer, and a third) The header content of the layer TCP/UDp layer) is compared with the mobile user agent address comparison table;

⑶如步W论之絲_容未_至少—筆紀錄 中筆紀錄相符時,則新增—筆關於該封包之該表 =7至該行動用戶代理位址對照表,其中根據 該來源埠號設定該新增紀錄之該外送來源 車號’並將該新增紀錄之該原始來料號奴為^ (4) ^中當f亥封包之該表頭内容與該至少一筆紀錄中(3) If the silk of the step W _ 容不_ at least - the pen record in the pen record coincides, then add - the pen on the packet of the table = 7 to the action user agent address comparison table, according to the source nickname Set the delivery source number of the newly added record' and the original incoming number of the newly added record is ^ (4) ^ The content of the header of the Zhonghai package and the at least one record

該封包之一表頭内容 兮箬“车錄衝大^ ’則隨機指派一外送來源埠號以更新 ^表、.己錄之該外送來源埠號封包之該來科號;以 及 ⑶發賴封包至—外部轉界面。 戶代理 位址膂若,封包之表頭内容與該行動用 或衝突,則可由彳-it 1則可直接將封包向外發送。若未相符 伺服器端尋制彳將必要資訊更新至封包的表頭與 鳊所維·仃動用戶代理位址對照表當中。 映方法2發,之行動用戶代理位址跨層對 &置上大部分的封包直接透通,而不需在 9 201110646 置何i立址置換運算、重新封裝以及中繼轉送 乍進而k回仃動用戶代理位址對映及解析的效率。 所附藉由訂的發明詳述及 【實施方式】 對映明之;t體實施例為一種行動用戶代理位址跨層 程序以二婦軸而外轉送 行動用;^位址跨層對映方法採用 少-筆紀錄,每戶代理位址對照表包含至 J二來包原始來源埠號、—外送來源璋 t目址、—來源1p位址、-目的砂位址以 自::=:第内=:首先執行步驟_ ’One of the contents of the header of the package 兮箬 "Car Recording Chong ^ ^" is randomly assigned an outgoing source nickname to update the ^ table, the recorded source number of the outgoing source nickname packet; and (3)封Package to - external transfer interface. If the header content of the packet conflicts with the action, the packet can be directly sent out by 彳-it 1. If the server does not match the server side更新 Update the necessary information to the header of the packet and the user's proxy address comparison table. The method 2 is sent, and the mobile user agent address is placed across the layer & most of the packets are directly transparent. Without the need to address the replacement operations, re-encapsulation, and relay forwarding at 9 201110646, the efficiency of user agent address mapping and parsing is swayed. The detailed description and implementation of the invention are provided. The method is a pair of embodiments; the t-body embodiment is a mobile user agent address cross-layer procedure for transferring the action to the second axis; the address cross-layer mapping method uses a small-pen record, and each agent address is compared. The table contains the original source nickname of J. Zhang t mesh source address, - 1p source address, - a self-purpose sand here :: =: = the second: First step _ '

該表頭_含有關第::::具= 施例中’第-封㈣表_容包含 L•於H =、-來源1P健、—目的地逆位㈣及-?的= 110646 接著’執行步驟S102, 該行動用戶代理位址對照表進行比對判 根據該第一封包之該表頭内容與 斷 ,一布― 職行挪遞,新增 =,:其咖二 =;;=新增 少-該第—封包之該表·容未與該至 :之紀錄至該行動用戶代理 ,之該外送來源埠號,並將該錄之該原始來源埠號 —_德,目I丨ΰΓ- 第—封包發送至外部網路界面 位: 紀! 设定為〇。♦言士 μ— . .J〜的 笛—u一 成上述从之後,則可執行步驟S1G8,將該 庫的兄明的疋’於此實施例中,此處步驟si04所相對 係指當該第-封包之該來源-C二: 來源1ρ位址、該第—封包之該目的地IP 4立 盘該_p恤,—封包之該來源埠號 之顧、始來源埠絲該第—封包之該目的地蜂號與 錢之該目的地賴不減時,㈣定為該第一封包之 該表碩内容未與該筆紀錄相符。 如衝^ ’即當該第-封包之該表勸容與該至少一筆紀 之—筆紀軸突’賴機餘—外送來科號,將該外 =源埠號並填人該行_戶代理位址對照表中該筆紀錄之 h外廷來料號,並以及該外送來源埠號更難第-封包之 該來,埠號。於另—實施射’亦可同時將該封包之其餘表 頭内容記錄至該行_戶代雜址朗表。t完成上述設定The header _ contains the relevant :::: with = in the example 'the first - (four) table _ capacity contains L · H =, - source 1P health, - destination inverse (four) and -? = 110646 then ' Step S102, the action user agent address comparison table is compared and judged according to the content of the header of the first packet, and a cloth-job line is moved, adding =,: its coffee 2 =;; = new Increased - the first-package of the table and the contents of the record to the mobile user agent, the source of the source, and the original source number of the record -_德,目I丨ΰΓ - The first packet is sent to the external network interface: Ji! Set to 〇. ♦ 士 μ — . . 〜 — — — — — — — — — — u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u The source of the first-package-C 2: the source 1 ρ address, the destination IP of the first packet, the _p-shirt, the source of the nickname of the packet, the source of the 埠 该When the destination bee and the money are not degraded, (4) the content of the first packet is not consistent with the record. Such as rush ^ 'that is, when the table of the first-packages admits to the at least one of the records - the pen axon 'Lai Yu Yu' - sent the number, the foreign = source nickname and fill the line _ household The agent address comparison table in the table of the h foreign court incoming number, and the delivery source nickname is more difficult to the first - packet, the nickname. Alternatively, the implementation of the shot can also be recorded to the bank's other miscellaneous list. t complete the above settings

-C π 201110646 網路界 =後’亦τ執行步驟議,將該第一封包發送至外部 ,特別說_是,此處步驟通所相 指的是,當該第一封包之來源MAC位址盘該斷所 中該筆紀錄之來源麗位址不相符== 弟一封包之來源IP彳紐與該筆紀錄之來源Ip位址、 封包之目的地IP位址與該筆紀錄之目的地Ip位址、“ 之植與鮮域之外絲料號(縣來源埠號為 號與該筆紀錄之原始來源埠號岌 來源皐#ϋ不為〇咖及該第—封包之目的地埠號虚該 錄之目的地報皆婦時,㈣定為#該第 内 容與該筆紀錄衝突。 匕之表頭内 另一方面 ,若步驟S102之比對判定為相符的話,則本發 =可逕行進碌驟遞’賴第—封包發送糾部網路界-C π 201110646 Network sector = after 'also τ execution step, send the first packet to the outside, especially _ Yes, here the step is related to, when the source MAC address of the first packet The source of the record in the branch does not match the address == The source IP of the packet and the source IP address of the record, the destination IP address of the packet and the destination Ip of the record Address, "plant and fresh field outside the wire number (counter source nickname for the number and the original source of the record 埠 岌 source 皋 #ϋ not for the 〇 及 该 该 该 该 该 该 该 该 该When the destination is reported as a woman, (4) is set to #This content conflicts with the record. On the other hand, if the comparison in step S102 is determined to be consistent, then the hair = can travel Suddenly 'Lai Di-Packet Send Correction Network

隨後’即可執行步驟S110,等待下一封包到達,以利下 一封包到達時可自_到步驟S卿。藉此完成本發明之由内 而外轉送程序。 。另一方面,如圖一 ,於此實施例中由外而内轉送 私序首先執行步驟S2GG,自-外部網路界面接收_第二封 包’此處之第二封包可與第—封包之架構類似。於此實施例 中’第二封包具有表頭内容’表頭内容可包含—來源埠號、 一來源MAC位址、-來源JP位址、一目的地正位址以及〆 目的地谭號。 12 201110646 接著’執行步驟S202,根據該第二封包之表頭内容與該 行動用戶代理位址對照表比對。 如未相符,即當該第二封包之該表頭内容未與該至少一 筆紀錄中之任一筆紀錄相符時,則執行步驟S204丟棄該第二 封包,並回應一錯誤訊息。 需特別注意的是,此處步驟S204所相對應的未相符判斷Then, step S110 can be performed, waiting for the next packet to arrive, so that the next packet can arrive from step _ to step S. Thereby, the internal transfer procedure of the present invention is completed. . On the other hand, as shown in FIG. 1, in this embodiment, the private sequence is forwarded from the outside to the first step S2GG, and the second packet is received from the external network interface, where the second packet can be combined with the first packet structure. similar. In this embodiment, the 'second packet has header content' header content may include - source nickname, a source MAC address, - source JP address, a destination positive address, and 目的地 destination tamper. 12 201110646 Next, step S202 is performed, and the header content of the second packet is compared with the mobile user agent address comparison table. If the content of the header of the second packet does not match any of the at least one record, step S204 is performed to discard the second packet and respond to an error message. It is necessary to pay special attention to the unconformity judgment corresponding to step S204 here.

係指當該第二封包之該來源IP位址與任一筆紀錄之該目的地 位址、該第二封包之該目的地Π>位址與該筆紀錄之該來源Ip 位址該苐一封包之該來源埠號與該筆紀錄之該原始來源蜂 旒或,第二封包之該目的地埠號與該筆紀錄之該目的地埠號 不相符時,即判定為當該第二封包之該表頭内容未與該筆 錄相符。 ' 么,如相符時,即當該第二封包之該表頭内容與該至少—筆 、’、己錄中之任-筆紀軸猶,職施 y址對照表中該筆紀錄之該原始來料二= 通2轉鱗之縣麵賴為G,則執行步 内容中的 料縣科毅新該第三封包之該表 二封包至__路界面。接她了步驟S212,發送該 另一方面’若經判斷該筆紀 則執行步驟S21G,以詩為枝不為0 封包之麵容縣來科號更新該第 I之該目的鱗號。並亦可接著執行步: 13 201110646 S212 面 發运該第二封包至該内部網路界 -封==214,等待下-封包到達,以利下 而内轉送程序 到步驟S200。藉此完成本發明之由外 /考曰一,圖一續示根據本 一 網路架構示意圖。本發明 例中的 可透過圖二辭之祕=_戶代理恤跨層對映方法 CN(即目的地)之確保移動節點圓與對應節點 位址訊連接關係。本發明之行動用戶代理 +的行喊理裝置腿 執行,並配合用戶代理裝置實現,用戶代^裝置可 ^ 用戶代理裝£ (HGme Α_,私)及外_戶代理裝 置(F〇reign Agem, FA),圖二中未繪示。 ㈣Ϊ圖:所示,行動代理裝置驗為跨層(Cr〇ss L神罔 之°又疋,在應用上可視其為第二層(Layer2)網路設傷, ,、行動代理裝置PMA本身分別連接於外部網路界面EXT與 内部網,界面INT之間,用以對應不同的移動節點(如圖二,中 的移動節點MN卜臟、刪3、議4等)與外界網路的連接 關係行動代理裝置PMA以橋接模式(Bridge Mode)連接至用 戶代理裝置執行任務,故用戶代理裝置本身不佔用任何IP位 址’行動代理裝置PMA的預設閘道(Default Gateway)亦指向 、掲路出口的路由設備AR,並透過路由設傷AR連接至網際網 路Internet’而不需指向用戶代理裝置。 具有本發明功能的用戶代理裝置不會置換任何Π»位址攔 位’因為移動節點MN已經直接使用了外部(合法)的公用Ip 201110646 位址了,所以完全不使用私有IP位址。 重覆使用同-個來源ip位址,因此内部網路益法使以正位 :來做為識別’所有封包將改以乙太網路_ 802.3)或無線網路(Wlreless LAN,咖8〇2⑴的48位元 位址取代IP位址做為唯一的識別方式;這設計的出發 點疋考1習知用戶代理裝置’對每—個經過的封包,都必須Means that the source IP address of the second packet and the destination address of any of the records, the destination address of the second packet, the address and the source IP address of the record, the packet If the source nickname and the original source of the record are or if the destination nickname of the second packet does not match the destination nickname of the record, the table is determined to be the second packet. The header content does not match the transcript. ' 么, if the match, that is, when the header content of the second packet and the at least - pen, ', the record of any of the pen-axis, the original record of the record in the table Incoming material 2 = pass 2 to the scale of the county face is G, then the implementation of the step content of the county county Ke Yixin the third package of the table two packets to the __ road interface. Then, in step S212, the other side is sent. If the sentence is judged, the step S21G is executed, and the face number of the first item is updated by the face number of the face of the poem which is not 0. And then step: 13 201110646 S212 The second packet is sent to the internal network boundary - seal == 214, waiting for the next - packet arrives, in order to facilitate the transfer process to step S200. Thereby, the external/examination of the present invention is completed, and FIG. 1 is continued according to the schematic diagram of the network architecture. In the example of the present invention, the secret of the second word of the figure can be used to ensure that the mobile node circle and the corresponding node address are connected. The mobile user agent of the mobile user agent of the present invention executes the leg and cooperates with the user agent device to implement the user agent device to install the user agent (HGme Α_, private) and the external agent device (F〇reign Agem, FA), not shown in Figure 2. (4) Cutout: As shown, the mobile agent device is tested as a cross-layer (Cr〇ss L 罔 罔 ° ° 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 疋 应用 应用 应用 应用 应用 应用 应用 应用 应用 应用 应用 应用 应用 应用Connected to the external network interface EXT and the internal network, between the interfaces INT, to correspond to the connection relationship between different mobile nodes (such as mobile node MN dirty, delete 3, discussion 4, etc.) and the external network The mobile agent device PMA is connected to the user agent device in a bridge mode to perform tasks, so the user agent device itself does not occupy any IP address. The default gateway of the mobile agent device PMA also points to the road exit. The routing device AR, and connects to the Internet through the route AR, does not need to point to the user agent device. The user agent device having the function of the present invention does not replace any Π»address block' because the mobile node MN has The external (legal) public Ip 201110646 address is used directly, so the private IP address is not used at all. The same source ip address is used repeatedly, so the internal network benefits are treated as positive: ' All packets will be changed to Ethernet (W 80) or wireless network (Wlreless LAN, 48 〇 2 (1) 48-bit address instead of IP address as the only way to identify; the starting point of this design is 1 User agent device 'for every pass packet must be

表核對絲源IP和來源埠的置換程序,並重新計算封 包仏查瑪值(CheekSum),這都要耗費大量的運算資源,在高 承载量_路裡,可能成為流量的在本發明架構下的 用戶代理裝置,每-個流經過的封包,仍必須經過相同的查 f查程序,但只有少量的封包需轉換其來源埠號(經解 ^式分析其機率約在〇〇〜纖之間),來源ιρ搁位則永 退不需要進行置換’此部分不需要置換Ip表頭内容的封包, 並不需要重新計算封包檢查碼值,也不t要重新將ιρ封包封 裝至MAC封包内’所以對用戶代理裝置本身或具有用戶代 理功能的路由器而言’其耗#的運算資源相對降低,在高承 載量的網路裡,肝代理裝置可麟近餘賴^(swi刪的 封包處理效能,較不減域量的_。而且由於不需要經 過一次位址置換的程序,移動節點MN發送的封包,在未移 動前即已經可以取得第-階段本發_效能提升;並且由於 不需要多經過-次查表檢查以及位址置換的程序,移動節點 MN發送的封包,在移動後即可以直接送至對應節點cn(即 本實施例中傳送之目的地)’不需要再如同習知pMIp4架構 中,還必須先送回本地用戶代理裝置HA進行查表檢查以及 位址置換的中繼程序,讓本發明的效能提升更為顯著。 至於這種針對埠號視需要才被置換的設計,其需要被置… 15 201110646 換的時機’取決於内部網路在兩台移動節點MN同-時間内 二線至外部網^—台對應節點CN,並使用其同一服料 咖,其内部隨機指派的來科,也正巧相同(重 覆)時,&才必綱後建立連線者的來源埠做置換的動作,重新 才曰派-^機產生的閒置埠號,並記錄於行動用戶代理位址 Γ表:ΓΓ封包還原對應,不至於轉送對映位址錯 亂,廷種來源埠號碰撞(Source p〇rt c〇llisi〇n)發生 理論上每兩台同時連接至外部同一台對應節點cThe table checks the replacement procedure of the silk source IP and the source ,, and recalculates the packet Che 仏 仏 值 (CheekSum), which consumes a lot of computing resources. In the high load capacity, it may become the traffic under the framework of the present invention. The user agent device, each packet passing through, must still go through the same check procedure, but only a small number of packets need to be converted to its source nickname (the solution is analyzed by the solution method. ), the source ιρ is a permanent retreat without replacement. 'This part does not need to replace the packet of the Ip header content, and does not need to recalculate the packet check code value, nor does it have to repackage the ιρ packet into the MAC packet. Therefore, for the user agent device itself or the router with the user agent function, the computing resources of the user's consumption are relatively reduced. In the high-capacity network, the liver agent device can be close to the network. _, and less than the amount of _. And because there is no need to go through an address replacement procedure, the packet sent by the mobile node MN can already obtain the first-stage _ performance boost before moving The packet sent by the mobile node MN can be directly sent to the corresponding node cn (ie, the destination of the transmission in this embodiment) after the mobile station does not need to go through the procedure of the check-up check and the address replacement. As in the conventional pMIp4 architecture, the local user agent device HA must first be sent back to the local user agent device HA for table lookup and address replacement, so that the performance improvement of the present invention is more significant. The design of the replacement, it needs to be set... 15 201110646 The timing of the change depends on the internal network in the two mobile nodes MN in the same time - the second line to the external network ^ - station corresponding node CN, and use the same service coffee, The internal randomly assigned comer, also happens to be the same (repeated), & must be established after the source of the connection, do the replacement action, re-send the idle nickname generated by the machine, and record In the mobile user agent address table: ΓΓ packet restore corresponding, not to transfer the mapping address is garbled, the source of the source nickname collision (Source p〇rt c〇llisi〇n) occurs theoretically every two stations are connected to the outside Same station Corresponding node c

^應間,只有1/216弱的機率,但實際上會視該網路使^ 的增加,或其一齊頻繁使用某特定主機 的機會(同時連接特定知名網站,衝突會較多),不過:田二 =網路早一網段(Segment)達到挪個移動節點顧的上限 异,估計也不超過1/256的機會(這是理想值,暫不考廣所有 機器都預設由同-來料號啟始傳送的狀況),換言Between the two, there is only a weak chance of 1/16, but in fact it will be regarded as an increase in the network, or the opportunity to use a specific host frequently (while connecting to a well-known website, there will be more conflicts), but: Tian Er = Network Early Segment (Segment) reached the upper limit of the mobile node, and it is estimated that it does not exceed the 1/256 chance (this is the ideal value, not for all machines are preset by the same - come The condition of the start number of the item), in other words

99%弱的連線會談(Sessi〇n)建立與其所屬去向或返回之資料封 包,都不須要執行位址置換動作,在PMIP4環境中,也 經由本地用戶代理裝置HA中繼,並以直接透通的模^ (Transparent mode)傳送’整個Ip封包只在經過本發明的用 代理裝置時’更換了 MAC表頭中的來源位址而已 ip封包而言則完全未被改變。 請參閱圖三,圖三繪示根據本發明之—具體實施例 動用戶代理封包轉送程序的示意圖。請―併參考圖二。 一個發送自内部網路MAC位址α的移動節點_之封包田(使 用IP位址A,在外部網路也是有效的),通過 用戶代理妓後,其封包麵完全未被魏,直接傳送^ 的主機Y ’囉的,域_的封包也未經置換,直接穿透 16 201110646 保持活動理^1 到主機α(Α);當這個會談仍舊 用重覆的!Ρ位i 有另一内部網路的主機万(一樣使 1使用F脸4 +也要跟外部網路的主機Y建立連線, 對來經過與行動用戶代理位址 別,故建立第1|記t =用來源埠號al的連線可以區 γ , 、’'、並將該封包直接傳送至目的主機 立與外部置換動作;當同樣來自内部主機γ企圖建 導致第三個發紅巧與第一筆記錄相衝突,將 達錯雜= ㈣達正確社機”而到 埠號置換為 動用戶代理的位心 部分封包的IP表頭:碼 =:=::改變,所以該 •讓内戶代理裝置的本身設計上,必須有效 實現有習知上的在本發明上必須 在經:動主機以ARP廣播封包尋找外部主機時, 程序,將麵㈣撕代理置換 :ΐ ^需再將此封包中的代表外部主機的來源mac Lc位If 戶代理内部⑽位址占,並將目的地 e遇原為α,如此原内部網路的詢問者主機就會以a. 17 201110646 線目WIf用戶代赠備的内部說位址,做為外部連 部網健’輯連線;料彡1辨量的,就是内 作,除非賊包’只娜卜部網路做上述轉送動 '、非有讓内糊路主機間允許其互相連線的考量外,否 W何移動節點雇所廣播的術封包,即不需要轉 =内部網路的移動節點讓以及實體連線埠(physieal㈣ 上,以避免移動節點MN偵測到圧位址重覆的錯誤。 請參關四,圖讀示本發明之—具體實施例中行動用 戶代理位址對照表LUTnew與習知技術中行動用戶代理位址 對照表LUTpri之比較圖。如圖四中所示,相較於習知技術的 仃動用戶代理健表LUTpfi可包含縣麵ιρ位址、 目的地ΠΜ立址、原始來源埠號、目的地埠號、外送來源正 位址以及外送來源埠麟攔位,其長度可為i8位元组 (Bytes) ’本發明的行動用戶代理位址對照表LUTnew可包含 原始來源IP位址、來源mac位址、目的地圧位址、原始來 源埠號、目的地埠號以及外送來源埠號等攔位,其長度可為 22位元組(Bytes)。此外,習知技術中行動用戶代理對照 表LUTpri需配合圖四中的地址解析協議(Address⑽姻如 Protocol,ARP)位址對照表LUTarp方能正常運作,該地址解 析協鐵位址對知表LUTarp符合普遍通用的地址解析協議,其 内容可包含原始來源IP位址以及來源MAC位址攔位,其長 度可為10位元組。請一併參考圖三。如前所述行動用戶代理 裝置在置換的過程中,内部將會動態建立一組行動用戶代理 位址對照表’簡稱位址對照表’其目的除了讓後續的資料封 包依循一致的置換方式外,並用於解析返回的IP封包,做為 判讀反轉置換邏輯之依據,所以當封包由内向外轉送時,必 18 201110646 須先檢查位址對照表中是否有該封包所屬之會談(Sessi〇n)圮 錄,若有則依循先前已分配的來源埠置換並轉送,若無則隨 機分配一組來源埠後,新增該筆記錄於位址對照表内^當= 包由外返回時,一樣要透過位址對照表的檢查程序,若^則 回復來源埠及ip位址至先前原始狀況並轉送之,若i則拒絕 該封包之轉送,並丟棄(Drop)之,這些都是發生在' Ip層 (Layer 3)的置換動作,#封包實際上送至網路連線界面時: ,然須要處理第三層(IP)和第二層繫結(Bindin幻的問 題,也就是透過地址解析協議位址對照表1^;1^和程序,由 IP位址查出相對應的MAC位址,經封裝後,該封包才能正 確送達目的地;因.此一個在網路第三層運作的習知行動用戶 代理裝置,封包轉送過程中至少有兩次查表的動作。 本發明的行動用戶代理裝置在轉送的過程中’一樣將會 動態建立-組行_戶代理裝置跨層健對照表,簡稱跨層 位址對照表’其目的及功效與習知的位址娜、表相同,但資 料結構卻不同,當封包由内向外轉送時,必須先檢查跨層位 址對知表疋否有該封包所屬之會談(Sessi〇n)記錄,若有則需 要,斷其為既有之會談記錄或發生衝突之狀況,若為既有之 會谈則直㈣送’若為發生触之狀況,舰齡配一組新 的外送來源埠號後,新增該筆記錄於跨層位址對照表内;當 =包由外向内時返回時,-樣要透過跨層位址對照表的檢查 程序’若有則需要依其記錄内容判斷其先前是否有經過置 換’若有貞彳回復外送來源埠號為原始來源埠號,及來源99% weak connection talks (Sessi〇n) do not need to perform address replacement actions for the data packets to which they belong or return. In the PMIP4 environment, they are also relayed via the local user agent device HA. The transparent mode transmits 'the entire Ip packet' only replaces the source address in the MAC header when passing the proxy device of the present invention and the ip packet is completely unchanged. Referring to FIG. 3, FIG. 3 is a schematic diagram of a mobile user agent packet forwarding procedure according to the present invention. Please - and refer to Figure 2. A packet sent from the internal network MAC address α to the mobile node _ (using IP address A, is also valid on the external network), after the user agent, its packet surface is completely untransmission, directly transmitted ^ The host Y '啰, the domain _ packet is also not replaced, directly penetrated 16 201110646 keep the activity ^1 to the host α (Α); when this talk is still repeated! i i has another internal network host 10,000 (the same as using 1 F face 4 + also to connect with the external network host Y, the pair and the mobile user agent address, so the first 1 | Remember t = the connection with the source nickname al can be γ, , '', and the packet is directly transmitted to the destination host and external replacement action; when the same from the internal host γ attempt to build a third red and The first record conflicts, it will be wrong = (four) up to the correct social machine" and the nickname is replaced by the IP header of the bit user part of the mobile user agent: code =:=:: change, so the • The design of the proxy device itself must be effectively implemented. In the present invention, when the mobile host searches for an external host by using the ARP broadcast packet, the program will replace the face (4) tear agent: ΐ ^ need to further encapsulate the packet The source of the external host in the mac Lc bit If the user agent internal (10) address occupied, and the destination e encountered the original α, so the original internal network of the interrogator host will be a. 17 201110646 line WIf user generation The internal address of the gift is used as the external link It is the internal work, unless the thief package 'only Nabu Department network to do the above transfer', does not allow the internal paste road host to allow them to connect to each other, no matter what mobile node employment The broadcast packet, that is, the mobile node of the internal network does not need to be transferred and the physical connection (physieal (4)) to avoid the error that the mobile node MN detects the address repetitive. Please refer to Figure 4 A comparison diagram of the mobile user agent address comparison table LUTnew and the mobile user agent address comparison table LUTpri in the prior art in the specific embodiment of the present invention. As shown in FIG. 4, the user is compared with the prior art. The agent health table LUTpfi can include the county ιρ address, the destination ΠΜ address, the original source nickname, the destination nickname, the outgoing source positive address, and the delivery source unicorn block, which can be i8 bits in length. Bytes 'The mobile user agent address comparison table LUTnew of the present invention may include the original source IP address, the source mac address, the destination address, the original source nickname, the destination nickname, and the outgoing source nickname. Such as the block, its length can be 22 bits (Bytes) In addition, in the prior art, the action user agent comparison table LUTpri needs to cooperate with the address resolution protocol (Address (10), such as protocol, ARP) address mapping table LUTarp in Figure 4 to operate normally, and the address resolves the iron address. The known LUTarp conforms to the universal address resolution protocol, and its content can include the original source IP address and the source MAC address block, and its length can be 10 bytes. Please refer to Figure 3. During the replacement process, the user agent device will dynamically establish a set of mobile user agent address comparison table 'abbreviated address comparison table' for the purpose of not only allowing subsequent data packets to follow a consistent replacement mode, but also for parsing the returned IP packet, as the basis for the interpretation of the reverse replacement logic, so when the packet is transferred from the inside to the outside, it must first check whether there is a conversation (Sessi〇n) of the packet in the address comparison table, if any Follow the previously assigned source 埠 replacement and transfer, if not, then randomly assign a set of sources ,, add the record in the address comparison table ^ When = package returns from outside , the same as the inspection procedure of the address comparison table, if ^ then reply the source ip and ip address to the original original status and forward it, if i reject the transfer of the packet, and discard (Drop), these are happening In the 'Ip layer (Layer 3) replacement action, #包包 actually sent to the network connection interface: , but need to deal with the third layer (IP) and the second layer of the tie (Bindin illusion, that is, through The address resolution protocol address comparison table 1 ^; 1 ^ and the program, the corresponding MAC address is detected by the IP address, after the package, the packet can be correctly delivered to the destination; because this one is in the third layer of the network The operation of the custom action user agent device, at least two lookup actions during the packet transfer process. The mobile user agent device of the present invention will be dynamically established in the process of forwarding - the group line_house agent device cross-layer health comparison table, referred to as the cross-layer address comparison table, its purpose and function and the known address The table is the same, but the data structure is different. When the packet is transferred from inside to outside, it is necessary to check the cross-layer address to know whether there is a meeting (Sessi〇n) record of the packet, and if so, break it. In the case of existing talks or conflicts, if it is an existing talk, then (4) send 'if the situation occurs, the ship age is matched with a new set of delivery source nicknames, add the record In the cross-layer address comparison table; when the = package returns from the outside to the inside, the sample inspection program through the cross-layer address comparison table, if necessary, it is necessary to judge whether it has been previously replaced according to its recorded content. There is a reply to the source of the source nickname as the original source nickname, and the source

MAC 位址為先前狀鋪送之,若無離絕_包之轉送, 並丟棄(Drop)之,這些都是發生在以祖〇層(Layer 2)處理的 跨層置換動作’當封包實際上送至網路連線界面時,即不須Η 19 201110646 要再處理第三層(IP)和第二層(mac)繫結的問題,在設計上可 考慮將地址解析協議位址對照表LUTarp和跨層位址對照表直 接整合為一,如圖四所示,習知位址對照表每筆記錄至少需 要個18 Bytes分別表示來源IP位址(32位元)、目地IP位址 (32位元)、本地來源埠號(16位元)、目地埠號(16位元)、外 部來源IP位址(32位元)、外部來源埠號(16位元)共六個棚 位;另外還需要ARP位址對照表表示本地IP位址(32位元) 和MAC位址(48位元)的對應。 另一方面,以本發明之跨層位址對照表的設計來看,每 筆δ己錄只需要16個Bytes分別表示還來源MAC位址(48位 兀)、目的地IP位址(32位元)、原始來源埠號位元)、目的 地埠號(16位元)、外送來源埠號(16位元)共五個攔位;外送 來源埠號攔位在大部分時間未發生衝突的狀況下是不需要使 用的(可填人0x00絲之),此外跨層位址賴表直接查 C位址雜达,衫雜娜條對絲的做第 ^立址的解析暨封縣作,事實上聊主 部分的解析,不必處理内部網路。因此 曰的置換效率都會較習知位址對照表方式為高。連心 層對:發戶代, 任何位址置換運算、重新封裝以及;不需執行 局行動用戶代理位址對映及解析的轉轉娜動作’進而提 清楚 藉由以上巍通實施狀科,騎望能更加 20 201110646The MAC address is pre-facilitated. If there is no detachment, and the packet is dropped, these are the cross-layer replacement actions that are processed in the Layer 2 layer. When the packet is actually When sending to the network connection interface, it is not necessary to Η 19 201110646 To deal with the third layer (IP) and the second layer (mac) tie problem, the address resolution protocol address comparison table LUTarp can be considered in design. The cross-layer address comparison table is directly integrated into one. As shown in FIG. 4, the conventional address comparison table requires at least 18 Bytes per record to represent the source IP address (32 bits) and the destination IP address (32). Bits), local source nickname (16-bit), destination nickname (16-bit), external source IP address (32-bit), external source nickname (16-bit), a total of six sheds; The ARP address mapping table is also required to represent the correspondence between the local IP address (32 bits) and the MAC address (48 bits). On the other hand, with the design of the cross-layer address comparison table of the present invention, only 16 Bytes are required for each δ record to indicate the source MAC address (48 bits) and the destination IP address (32 bits). Yuan), the original source nickname), the destination nickname (16-bit), the delivery source nickname (16-bit), a total of five blocks; the delivery source nickname block did not occur most of the time In the case of conflict, it is not required to be used (it can be filled in 0x00 silk). In addition, the cross-layer address is directly checked for the C-site address, and the analysis of the second place on the silk In fact, in fact, the main part of the analysis, do not have to deal with the internal network. Therefore, the replacement efficiency of 曰 is higher than that of the conventional address comparison table. Concentric layer: the originator, any address replacement operation, re-encapsulation, and the need to perform the action of the user agent address mapping and analysis of the transfer of the action" and then make clear that through the above implementation of the subject, Riding can be more 20 201110646

描述本發明之特徵與精神,而並非以上述所揭露的較佳具 體實施例來對本發明之範疇加以限制。相反地,其目的是 希望能涵蓋各種改變及具相等性的安排於本發明所欲申請 之專利範圍的範疇内。 21 201110646 【圖式簡單說明】 圖一 A繪示根據本發明之一具體實施例中由内而外轉送 程序的方法流程圖。 圖一 B繪示根據本發明之一具體實施例中由外而内轉送 程序的方法流程圖。 圖二繪示根據本發明之一具體實施例中的網路架構示意 圖。 圖三繪示根據本發明之一具體實施例中行動用戶代理封 包轉送程序的示意圖。 圖四繪不本發明之一具體實施例中行動用戶代理位址 對照表與習知技術中行動用戶代理位址龍表之比較圖。 【主要元件符號說明】 S100〜S214 :步驟The features and spirit of the present invention are described, and the scope of the present invention is not limited by the preferred embodiments disclosed herein. On the contrary, the intention is to cover various modifications and equivalents within the scope of the invention as claimed. 21 201110646 [Simultaneous Description of the Drawings] Figure 1A is a flow chart showing a method of transferring a program from the inside out in accordance with an embodiment of the present invention. Figure 1B is a flow chart showing a method for transferring a program from the outside to the inside in accordance with an embodiment of the present invention. 2 is a schematic diagram of a network architecture in accordance with an embodiment of the present invention. 3 is a schematic diagram of a mobile user agent packet forwarding procedure in accordance with an embodiment of the present invention. Figure 4 depicts a comparison of the mobile user agent address comparison table and the mobile user agent address dragon table in the prior art in one embodiment of the present invention. [Main component symbol description] S100~S214: Step

AR:路由設備 CN:對應節點 _4 :移動節點 Internet:網際網路 INT :内部網路界面 MN ' MN1、MN2 ' MN3、 PMA :行動代理裝置 EXT :外部網路界面 22 201110646 LUTarp :地址解析協議位址對照表AR: Routing device CN: Corresponding node _4: Mobile node Internet: Internet INT: Internal network interface MN 'MN1, MN2' MN3, PMA: Mobile agent device EXT: External network interface 22 201110646 LUTarp: Address resolution protocol Address comparison table

23twenty three

Claims (1)

201110646 、申請專利範圍: 1、 一種仃動用戶代理位址跨声 外轉送程序及—由外〉包含一由内而 中該由内而外崎梅號’其 界面接收-第-封包,該第-封包之 表碩内各包含一來源埠號; (1=^包之物-_行_戶代理位 ㈣=^2)中當該第—封包之該表頭 中之任一筆紀錄相符時 筆二 對照表,其中根據該表頭内容之該來 =, 增紀錄之該外送來源埠號n車叙定該新 來源埠號設定為〇 ; 、將该新增紀錄之該原始 ,、:錚步:r二:^ =::;r之該外送來源埠號及該= 發送該第—封包至—外部網路界面。 一、-來•位址; 24 2、 201110646 埠號。 3、 如申請專利範圍第2項所述之行動用戶代理位址跨層對映 方法,其中每一筆紀錄進一步包含一來源皿八匸位址、—來 源IP位址、一目的地IP位址以及一目的地埠號。201110646, the scope of application for patents: 1. A method for translating the user agent address trans-audio transfer and - from the outside > containing one from the inside to the inside and outside the Qimei number 'its interface receiving - the first packet, the first - Each of the headers of the packet contains a source nickname; (1=^包之物-_行_户代理位(四)=^2)) when any of the records in the header of the first packet matches a comparison table, wherein according to the content of the header, the additional source of the record is nickname n, the new source nickname is set to 〇; the original of the added record, 铮:r 2: ^ =::;r The outgoing source nickname and the = send the first packet to the external network interface. First, - come to the address; 24 2, 201110646 nickname. 3. The cross-layer mapping method of the mobile user agent address as described in claim 2, wherein each record further includes a source address, a source IP address, a destination IP address, and A destination nickname. 4、 如申凊專利範圍第3項所述之行動用戶代理位址快速跨層對 映及解析方法,其中於步驟(a2)中,當該第一封包之該&源 MAC位址與任一筆紀錄之該來#maC位址、該第一封包之 該來源IP位址與該筆紀錄之該來源Ip位址、該第一封包之該 目的地IP位址與該筆紀錄之該目的地正位址、該第一封包之 該來源蟑號與該筆紀錄之該外送來源卑號、該第一封包之 該來源碎號與該筆紀錄之該原始來源埠號或該第一封包之 該目=地槔號與該筆紀錄之該目的地埠號不相符時,即判定 為該第-封包之絲_容未與該筆紀錄相符。 5、 ^申請翻細第4項所述之行_戶代理位址快速跨 映及解析方法’其中於步驟㈣中,#該第—封包之該&源 第一=止與任—筆紀錄之該來源赚位址不相符,並且該 ^之該麵陳址與轉、崎找來賴>位址、該第 該目的地1恤址與該筆紀錄之該目的地ΠΜ立址°、該 第-源埠號與該筆紀錄之該外送來源埠號、該 該第源键該筆紀錄之該原始來源埠號以及 相符時,㈣與該筆紀錄找目的地埠號皆 突。 &‘該苐—封包之該表頭内容與該筆紀錄衝 層對映 6、如巾料觀圍第丨項所述之行軸戶代理位址跨 25 .1 201110646 方法,其中該由外而内轉送程序包含下列来 (bl)自一外部網路界面接收—第二封包二驟: 一表頭内容包含一目的地埠號; 一第—封包之 (b2)根據該第二封包之一表頭内容 址對照表比對; 乂、該仃動用戶代理位 (b3)如步驟_中當該第二封包之該表頭 -筆紀錄中之任-筆紀錄相符少 並回應一錯誤訊息;以及 乐—封包, 1如步驟㈣中當該第二封包之該表頭 任一筆紀錄相符時,若該筆紀錄Si二 第二封包之該表頭内容中的該目 來源淳號更新該第二封包之該表頭内容之該目的^ 號’並且發运該第二封包至勒部網路界面。 7、 8、 如申請專利範圍第6項所述之行動用 方法,其中該第二封包之兮 5層對映 :位址、-來酸位址一目 如:,利範圍第7項所述之行動用戶代理位址跨層對映 方、、’八中每-筆紀錄進—步包含一來源c位址、—來 源IP位址、一目的地Ip位址以及—目的地谭號。 „專利範圍第8項所述之行動用戶代理位址快 映及解析方法,其中於步驟㈣中,當該第二封包之該來^ 26 201110646 MAC位址與任-筆、姆之縣源眶^位址、該第二封包之 該來源IP位址與該筆紀錄之該來源正位址、該第二封包之該 目的地雖址與該筆紀錄之該目的地黯址、該第二封包之 的地埠號以及該第二封包 葦、、'己錄之5亥目的地位址、今篦-私— 位址與該筆紀錄之該來源ΠΜ立址、;包之该目的着 與該筆紀錄之該來源埠號 .與該筆紀錄之該目的地埠號不相符時目的料號 包之該表頭内容未與該筆紀錄相符。 疋為當該第二封4. A fast cross-layer mapping and parsing method for an action user agent address as described in claim 3, wherein in step (a2), when the & source MAC address of the first packet is The #maC address of the record, the source IP address of the first packet, the source IP address of the record, the destination IP address of the first packet, and the destination of the record The positive address, the source nickname of the first packet, the source of the delivery source, the source number of the first packet, the original source nickname of the record, or the first packet If the destination=land number does not match the destination nickname of the record, it is determined that the silk of the first packet does not match the record. 5, ^ application to refine the line 4 of the line _ household agent address fast cross-over and analysis method 'in which in step (four), # the first - the package of the &source; first = stop and any - pen record The source earned the address does not match, and the address of the face and the address of the transfer, the location of the address, the destination address of the first destination, and the destination of the record are located at the destination address, When the first-source nickname matches the original source nickname of the record, the original source nickname of the record of the first source key, and (4) the nickname of the record is found. & 'The 苐 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 封 6 6 6 6 6 6 The internal transfer program includes the following (bl) received from an external network interface - the second packet two steps: a header content containing a destination nickname; a first packet (b2) according to the second packet The header content comparison table is compared; 乂, the 用户 user agent bit (b3) is in step _ when the second packet of the header-pen record is less than the pen record and responds with an error message; And the music-package, 1 if the record of the header of the second packet matches in the step (4), if the record of the header of the second packet of the second record of the second record of the second record is updated, the second The destination number of the header content of the packet is 'and the second packet is shipped to the Lecha network interface. 7. The method of action according to item 6 of the patent application, wherein the second layer of the second packet is mapped: the address, the acid address is as follows: The mobile user agent address cross-layer mapping party, the 'eight-in-one-record entry step-- includes a source c address, a source IP address, a destination IP address, and a destination Tan number. „After the scope of the patent scope, the user agent address address mapping and parsing method, in step (4), when the second packet should come to ^ 26 201110646 MAC address and Ren-Pen, Mzhi County source 眶The address, the source IP address of the second packet, the source positive address of the record, the destination address of the second packet, the destination address of the record, and the second packet The number of the plaque and the second package 、, 'the recorded address of the 5 hai, the current 篦-private-address and the source 该 of the record, the purpose of the package The source of the record is nickname. The content of the header of the destination item number package does not match the record when the destination nickname of the record does not match. 2727
TW98130340A 2009-09-09 2009-09-09 Cross-layer address mapping method for proxy mobile internet protocal TWI395446B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98130340A TWI395446B (en) 2009-09-09 2009-09-09 Cross-layer address mapping method for proxy mobile internet protocal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98130340A TWI395446B (en) 2009-09-09 2009-09-09 Cross-layer address mapping method for proxy mobile internet protocal

Publications (2)

Publication Number Publication Date
TW201110646A true TW201110646A (en) 2011-03-16
TWI395446B TWI395446B (en) 2013-05-01

Family

ID=44836337

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98130340A TWI395446B (en) 2009-09-09 2009-09-09 Cross-layer address mapping method for proxy mobile internet protocal

Country Status (1)

Country Link
TW (1) TWI395446B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI479932B (en) * 2011-06-16 2015-04-01 Mediatek Inc Signal transmitting method
TWI499260B (en) * 2011-03-25 2015-09-01 聯發科技股份有限公司 Method for converging a plurality of communication standards and method for transmitting the packet or the signal

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI741948B (en) * 2021-02-09 2021-10-01 康全電訊股份有限公司 Management system for network devices and management method network devices

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW490956B (en) * 1997-12-02 2002-06-11 Accton Technology Corp Forwarding priority control method of network switch
TW200607293A (en) * 2004-08-03 2006-02-16 Zyxel Communications Corp Method and system for dynamically assigning agent of mobile VPN

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI499260B (en) * 2011-03-25 2015-09-01 聯發科技股份有限公司 Method for converging a plurality of communication standards and method for transmitting the packet or the signal
US9485114B2 (en) 2011-03-25 2016-11-01 Mediatek Inc. MAC abstraction sub-layer and MAC table for a communication system and related communication device
TWI479932B (en) * 2011-06-16 2015-04-01 Mediatek Inc Signal transmitting method
US9185191B2 (en) 2011-06-16 2015-11-10 Mediatek Inc. Unified network architecture based on medium access control abstraction sub-layer

Also Published As

Publication number Publication date
TWI395446B (en) 2013-05-01

Similar Documents

Publication Publication Date Title
JP5497901B2 (en) Anonymous communication method, registration method, message sending / receiving method and system
US9622072B2 (en) Communication method, method for forwarding data message during the communication process and communication node thereof
CN107682900B (en) Data flow control method and related equipment and communication system
US8009614B2 (en) Mobile communications system conforming to mobile IP, and home agent, mobile node and method used in the mobile communications system
CN102025702B (en) Network based on identity and position separation frame, and backbone network and network element thereof
US7486670B2 (en) Method for packet communication and computer program stored on computer readable medium
EP2560331B1 (en) Method, apparatus and system of radio access
JP2011515945A (en) Method and apparatus for communicating data packets between local networks
US8724630B2 (en) Method and system for implementing network intercommunication
WO2011140843A1 (en) Method, apparatus and system for forwarding messages
WO2011044808A1 (en) Method and system for tracing anonymous communication
Kim et al. Mobile oriented future internet (MOFI): Architectural design and implementations
WO2011032447A1 (en) Method, system and communication terminal for implementing inter-communication between new network and internet
WO2011050676A1 (en) Anonymous communication method, registration and cancellation method, and access node
KR101901341B1 (en) Method and apparatus for supporting mobility of user equipment
US20110280187A1 (en) Provision of an end-to-end connection from a terminal unit to a network
TW201110646A (en) Cross-layer address mapping method for proxy mobile internet protocal
US20140378119A1 (en) Method and apparatus for configuring service settings for a mobile subscriber
WO2011044807A1 (en) Method for registration and communication of anonymous communication and transceiver system for data message
AU2003216164B2 (en) Optimization of point-to-point sessions
CN106506718B (en) IVI transition method and network system based on the pure IPv6 network of multiple NAT
CN101848195A (en) Light-weight dual-stack negotiation processing method and device, communication device and communication system
JP2014505387A (en) ID / locator separation network monitoring method and system
CN102546356B (en) Method and system capable of ensuring service quality of mobile nodes in logo network
JP5277093B2 (en) Method and system for establishing session between access points using SIP server

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees