TWI663856B - Network resource allocation server and network resource allocation method - Google Patents
Network resource allocation server and network resource allocation method Download PDFInfo
- Publication number
- TWI663856B TWI663856B TW106125247A TW106125247A TWI663856B TW I663856 B TWI663856 B TW I663856B TW 106125247 A TW106125247 A TW 106125247A TW 106125247 A TW106125247 A TW 106125247A TW I663856 B TWI663856 B TW I663856B
- Authority
- TW
- Taiwan
- Prior art keywords
- resource allocation
- terminal device
- network
- network resource
- packet
- Prior art date
Links
Abstract
本揭露提供了一種網路資源分配伺服器,以分配網路資源至終端裝置。網路資源分配伺服器具有通訊單元、儲存單元及處理單元。通訊單元接收來自終端裝置的資源分配請求封包。儲存單元儲存封包前處理模組及資源指派模組,並由處理單元存取執行。於通訊單元接收來自終端裝置的資源分配請求封包後並於資源分配請求封包被拆裝前,封包前處理模組擷取資源分配請求封包以獲取終端裝置的裝置資訊,並依據裝置資訊決定對應終端裝置的網路資源。資源指派模組依據裝置資訊及網路資源的資訊分配網路資源至終端裝置。本揭露另提供相應的網路資源分配方法。The disclosure provides a network resource allocation server for allocating network resources to terminal devices. The network resource allocation server has a communication unit, a storage unit, and a processing unit. The communication unit receives a resource allocation request packet from the terminal device. The storage unit stores the packet pre-processing module and the resource assignment module, and is accessed and executed by the processing unit. After the communication unit receives the resource allocation request packet from the terminal device and before the resource allocation request packet is disassembled, the packet preprocessing module retrieves the resource allocation request packet to obtain the device information of the terminal device, and determines the corresponding terminal according to the device information. Device's network resources. The resource assignment module allocates network resources to the terminal device according to the device information and the information of the network resources. This disclosure also provides corresponding network resource allocation methods.
Description
本揭露是有關於一種網路資源分配技術,且特別是有關於一種網路資源分配伺服器及網路資源分配方法。The disclosure relates to a network resource allocation technology, and more particularly to a network resource allocation server and a network resource allocation method.
為了因應網際網路通訊協定第4版(Internet Protocol version 4,IPv4)與網際網路通訊協定第6版(Internet Protocol version 6,IPv6)轉換的過渡期,現有的網路架構多採用雙堆疊方式,以同時支援IPv4與IPv6。並且,為了能夠自動配發IPv4與IPv6的位址,針對IPv4與IPv6的標準所設計的動態主機設定協定第四版(Dynamic Host Configuration Protocol version 4,DHCPv4)與動態主機設定協定第六版(Dynamic Host Configuration Protocol version 6,DHCPv6)也同時應用於網路架構中。In order to cope with the transition period between the conversion of Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6), the existing network architecture adopts a dual-stack method. To support both IPv4 and IPv6. In addition, in order to be able to automatically distribute IPv4 and IPv6 addresses, Dynamic Host Configuration Protocol version 4 (DHCPv4) and Dynamic Host Configuration Protocol version 6 (Dynamic Host Configuration Protocol version 4) designed for IPv4 and IPv6 standards Host Configuration Protocol version 6 (DHCPv6) is also applied to the network architecture.
然而,在配發IP位址時,DHCPv4是依據終端裝置的媒體存取控制位址(Media Access Control Address,MAC位址)配發IPv4,DHCPv6是依據終端裝置的DHCP唯一識別符(DHCP Unique Identifier,DUID)配發IPv6。雖然同一台終端裝置經由配發IPv4與IPv6後,都可以順利的在IPv4與IPv6的架構下運行,然由於配發的依據並不相同,同一台終端裝置的IPv4與IPv6並沒有任何關聯性,因而導致管理不便。因此,如何提升管理的效率為本領域技術人員所致力的課題。However, when allocating IP addresses, DHCPv4 is allocating IPv4 based on the media access control address (MAC address) of the terminal device, and DHCPv6 is based on the DHCP Unique Identifier of the terminal device. , DUID) allot IPv6. Although the same terminal device can be successfully run under the IPv4 and IPv6 architectures after allocating IPv4 and IPv6, because the basis for the allocation is not the same, IPv4 and IPv6 of the same terminal device have no correlation. This leads to inconvenience in management. Therefore, how to improve the efficiency of management is a subject devoted by those skilled in the art.
本揭露提供一種網路資源分配伺服器及網路資源分配方法,以分配網路資源至終端裝置,以使終端裝置在不同網路環境下使用相互對應網路資源。The disclosure provides a network resource allocation server and a network resource allocation method for allocating network resources to terminal devices so that the terminal devices use mutually corresponding network resources under different network environments.
本揭露的一實施例中,網路資源分配伺服器具有通訊單元、儲存單元以及處理單元,通訊單元和儲存單元分別耦接於處理單元。通訊單元接收來自終端裝置的資源分配請求封包。儲存單元儲存多個模組,並由處理單元存取並執行上述多個模組。多個模組中,至少具有封包前處理模組及資源指派模組。封包前處理模組於通訊單元接收來自終端裝置的資源分配請求封包後,並於資源分配請求封包被拆裝前,擷取資源分配請求封包,以獲取終端裝置的裝置資訊。封包前處理模組並依據裝置資訊決定對應終端裝置的網路資源。資源指派模組依據裝置資訊及封包前處理模組決定的網路資源的資訊分配網路資源至終端裝置。In an embodiment of the present disclosure, the network resource allocation server has a communication unit, a storage unit, and a processing unit, and the communication unit and the storage unit are respectively coupled to the processing unit. The communication unit receives a resource allocation request packet from the terminal device. The storage unit stores a plurality of modules, and the processing unit accesses and executes the plurality of modules. Among the multiple modules, there are at least a pre-packet processing module and a resource assignment module. The packet preprocessing module receives the resource allocation request packet from the terminal device after the communication unit, and before the resource allocation request packet is disassembled, retrieves the resource allocation request packet to obtain the device information of the terminal device. The pre-packet processing module determines network resources corresponding to the terminal device according to the device information. The resource assignment module allocates network resources to the terminal device according to the device information and the information of the network resources determined by the packet pre-processing module.
本揭露的一實施例中,網路資源分配方法具有步驟接收來自終端裝置的資源分配請求封包。於資源分配請求封包被拆裝前,擷取來自終端裝置的資源分配請求封包,以獲取終端裝置的裝置資訊。依據裝置資訊決定對應終端裝置的網路資源。依據裝置資訊及網路資源的資訊分配網路資源至終端裝置。In an embodiment of the present disclosure, the network resource allocation method has a step of receiving a resource allocation request packet from a terminal device. Before the resource allocation request packet is disassembled, the resource allocation request packet from the terminal device is retrieved to obtain the device information of the terminal device. Determine the network resources corresponding to the terminal device based on the device information. Allocate network resources to terminal devices based on device information and network resource information.
基於上述,本揭露提供的網路資源分配伺服器及網路資源分配方法中會在資源分配請求封包被拆裝,並由資源指派模組指派網路資源前攔截終端裝置所傳送的資源分配請求封包。藉此,網路資源分配伺服器可以依據封包夾帶的裝置資訊指派對應的網路資源,以使同一台終端裝置在不同網路環境下使用相關連的網路資源,提升網路管理的便利性。Based on the above, in the network resource allocation server and network resource allocation method provided in this disclosure, the resource allocation request transmitted by the terminal device is intercepted before the resource allocation request packet is disassembled, and the resource allocation module assigns the network resource. Packet. In this way, the network resource allocation server can assign corresponding network resources according to the device information carried in the packet, so that the same terminal device can use related network resources in different network environments, and improve the convenience of network management. .
為讓本揭露的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present disclosure more comprehensible, embodiments are described below in detail with reference to the accompanying drawings.
圖1是本揭露一實施例的網路資源分配伺服器的架構圖。請參照圖1,本揭露的網路資源分配伺服器100是用以分配網路資源至終端裝置10,以使終端裝置10可以利用被分配的網路資源接上網路。在本揭露的一實施例中,網路資源分配伺服器100例如為具有動態主機設定協定第四版(Dynamic Host Configuration Protocol version 4,DHCPv4)與動態主機設定協定第六版(Dynamic Host Configuration Protocol version 6,DHCPv6)的伺服器主機。網路資源例如為網際網路協定位址第4版(Internet Protocol version 4,IPv4)、網際網路協定位址第6版(Internet Protocol version 6,IPv6)。終端裝置10為可基於至少一種網路協定(例如,網際網路協定(Internet Protocol;IP)、傳輸控制協定(Transmission Control Protocol;TCP)、使用者資料包協定(User Datagram Protocol;UDP)等)進行資料傳輸或連接至網際網路的裝置,例如:手機、電腦、筆記型電腦、平板電腦、可上網的家電。FIG. 1 is a structural diagram of a network resource allocation server according to an embodiment of the disclosure. Referring to FIG. 1, the network resource allocation server 100 disclosed herein is used to allocate network resources to the terminal device 10 so that the terminal device 10 can use the allocated network resources to connect to the network. In an embodiment of the present disclosure, the network resource allocation server 100 includes, for example, a dynamic host configuration protocol version 4 (DHCPv4) and a dynamic host configuration protocol version 6 (Dynamic Host Configuration Protocol version 6). 6, DHCPv6) server host. The network resources are, for example, Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6). The terminal device 10 can be based on at least one network protocol (for example, Internet Protocol (IP), Transmission Control Protocol (TCP), User Datagram Protocol (UDP), etc.) Devices that transfer data or connect to the Internet, such as mobile phones, computers, laptops, tablets, and Internet-enabled appliances.
網路資源分配伺服器100具有通訊單元110、儲存單元120以及處理單元130。通訊單元110執行傳送及接收訊號。通訊單元110可為支援IEEE 802.3/ab/u/x/z乙太網路(Ethernet)、全球行動通信(Global System for Mobile Communication,GSM)系統、個人手持式電話系統(Personal Handy-phone System,PHS)、分碼多重存取(Code Division Multiple Access,CDMA)系統、無線相容認證(Wireless Fidelity,WiFi)系統、全球互通微波存取(Worldwide Interoperability for Microwave Access,WiMAX)系統、第三代無線通訊技術(3G)、長期演進技術(Long Term Evolution, LTE)、專用短距通訊技術(Dedicated Short Range Communication, DSRC)的其中之一或其組合的通訊晶片。The network resource allocation server 100 includes a communication unit 110, a storage unit 120, and a processing unit 130. The communication unit 110 performs transmitting and receiving signals. The communication unit 110 may be an IEEE 802.3 / ab / u / x / z Ethernet, Global System for Mobile Communication (GSM) system, or a Personal Handy-phone System. PHS), Code Division Multiple Access (CDMA) system, Wireless Fidelity (WiFi) system, Worldwide Interoperability for Microwave Access (WiMAX) system, third generation wireless One or a combination of communication technology (3G), Long Term Evolution (LTE), and Dedicated Short Range Communication (DSRC).
儲存單元120可以是任何型態的固定或可移動隨機存取記憶體(random access memory,RAM)、唯讀記憶體(read-only memory,ROM)、快閃記憶體(flash memory)或類似元件或上述元件的組合。在本實施例中,儲存單元120用以儲存封包前處理模組122、資源指派模組124以及預處理模組126等軟體程式、執行上述模組時所需的資料以及供處理單元130執行的各類程式碼。此外,儲存單元120亦記錄了資源分配表。封包前處理模組122、資源指派模組124及預處理模組126所執行的功能,以及資源分配表的內容將稍後詳述。The storage unit 120 may be any type of fixed or removable random access memory (RAM), read-only memory (ROM), flash memory, or similar elements. Or a combination of the above. In this embodiment, the storage unit 120 is used to store software programs such as the pre-packet processing module 122, the resource assignment module 124, and the pre-processing module 126, the data required when executing the above modules, and the processing units 130 to execute All kinds of code. In addition, the storage unit 120 also records a resource allocation table. The functions performed by the pre-packet processing module 122, the resource assignment module 124, and the pre-processing module 126, and the content of the resource allocation table will be described in detail later.
處理單元130與通訊單元110及儲存單元120連接。處理單元130例如為中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位信號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuit,ASIC)或其他類似元件或上述元件的組合。在本實施例中,處理單元130存取並執行儲存單元120中記錄的模組,並執行網路資源分配的作業。The processing unit 130 is connected to the communication unit 110 and the storage unit 120. The processing unit 130 is, for example, a central processing unit (CPU), or other programmable general purpose or special purpose microprocessor (Microprocessor), digital signal processor (DSP), or programmable Controller, application specific integrated circuit (ASIC) or other similar components or a combination of the above components. In this embodiment, the processing unit 130 accesses and executes the modules recorded in the storage unit 120, and performs a network resource allocation operation.
在同時使用IPv4與IPv6的網路架構中,由於DHCPv4是依據終端裝置的媒體存取控制位址(Media Access Control Address,MAC位址)配發IPv4,DHCPv6是依據終端裝置的DHCP唯一識別符(DHCP Unique Identifier,DUID)配發IPv6。舉例來說,一般封包的標頭結構(header)具有符合開放式系統互連通訊參考模型(Open System Interconnection Reference Model,OSI)的多個訊框(frame)。各種訊框及其記載的內容為本領域具有通常知識者能依據一般通常知識理解的內容,於此即不贅述。在一般的網路資源分配伺服器中,當通訊單元接收到封包的時候,處理單元會先解開資料鏈結層(Data Link Layer)的訊框,接著解開網路層(Network Layer)的訊框,最後再根據封包所記載的終端裝置的識別資訊(例如:MAC地址或DHCP唯一識別符(DHCP Unique Identifier,DUID))配發IP。In a network architecture that uses both IPv4 and IPv6, since DHCPv4 allocates IPv4 based on the media access control address (MAC address) of the terminal device, DHCPv6 is based on the DHCP unique identifier of the terminal device ( DHCP Unique Identifier (DUID). For example, the header structure of a general packet has multiple frames conforming to the Open System Interconnection Reference Model (OSI). The various frames and their recorded contents are the contents that those with ordinary knowledge in the field can understand based on the general ordinary knowledge, and will not be repeated here. In a general network resource allocation server, when a communication unit receives a packet, the processing unit first unlocks the data link layer (Data Link Layer) frame, and then unlocks the network layer (Network Layer). Message frame, and finally distribute IP based on the identification information of the terminal device (for example: MAC address or DHCP Unique Identifier (DUID)) recorded in the packet.
然而,由於DHCPv4與DHCPv6配發IP位址的依據並不相同,因此,同一台終端裝置被配發的IPv4與IPv6並沒有任何關聯性。為了提高管理的效率,在本揭露中設置了封包前處理模組122、資源指派模組124以及預處理模組126,以使同一台終端裝置10所配發的IPv4及IPv6位址產生實質的關聯性。於下文中將詳述封包前處理模組122、資源指派模組124以及預處理模組126所執行的任務以及詳細的執行方法。However, because DHCPv4 and DHCPv6 allocate IP addresses on different basis, there is no correlation between IPv4 and IPv6 allocated to the same terminal device. In order to improve the management efficiency, a packet pre-processing module 122, a resource assignment module 124, and a pre-processing module 126 are provided in this disclosure, so that the IPv4 and IPv6 addresses allocated by the same terminal device 10 generate substantial information. Relevance. The tasks performed by the packet pre-processing module 122, the resource assignment module 124, and the pre-processing module 126 and detailed execution methods will be described in detail below.
圖2為本揭露一實施例的網路資源分配方法的流程圖。請同時參照圖1與圖2,在本揭露的一實施例中,處理單元130會持續地運行封包前處理模組122與資源指派模組124。於步驟S201中,通訊單元110接收到來自終端裝置10的資源分配請求封包。此資源分配請求封包是以廣播的方式發送至網路資源分配伺服器100,以向網路資源分配伺服器100索取連網所需的資源(如:IPv6位址)。如何以廣播的方式向網路資源分配伺服器100發送資源分配請求封包為本領域具有通常知識者所熟知的技術,於此即不贅述。FIG. 2 is a flowchart of a network resource allocation method according to an embodiment of the disclosure. Please refer to FIG. 1 and FIG. 2 at the same time. In an embodiment of the present disclosure, the processing unit 130 continuously runs the packet pre-processing module 122 and the resource assignment module 124. In step S201, the communication unit 110 receives a resource allocation request packet from the terminal device 10. The resource allocation request packet is sent to the network resource allocation server 100 in a broadcast manner, so as to request the network resource allocation server 100 for resources required for networking (such as an IPv6 address). How to send a resource allocation request packet to the network resource allocation server 100 in a broadcast manner is a technique well-known to those having ordinary knowledge in the art, and is not repeated here.
於步驟S203,封包前處理模組122會於封包被拆裝前,擷取資源分配請求封包,以獲取終端裝置的裝置資訊。具體來說,封包前處理模組122會於封包的資料鏈結層訊框被拆裝前,先攔截此資源分配請求封包。藉此,封包前處理模組122可以讀取資料連結層訊框以及網路層訊框所夾帶的資訊,以獲取終端裝置10的裝置資訊。例如,封包前處理模組122可以由資料鏈結層訊框獲取終端裝置10的MAC位址。此外,封包前處理模組122也會擷取終端裝置10的DUID。In step S203, the packet pre-processing module 122 retrieves the resource allocation request packet before the packet is disassembled to obtain the device information of the terminal device. Specifically, the packet pre-processing module 122 intercepts the resource allocation request packet before the data link layer frame of the packet is disassembled. In this way, the packet pre-processing module 122 can read the information carried by the data link layer frame and the network layer frame to obtain the device information of the terminal device 10. For example, the packet pre-processing module 122 may obtain the MAC address of the terminal device 10 from the data link layer frame. In addition, the packet pre-processing module 122 also retrieves the DUID of the terminal device 10.
於封包前處理模組122獲取了裝置資訊後,於步驟S205中,封包前處理模組122即可依據裝置資訊決定對應終端裝置的網路資源。在本揭露的實施例中,此網路資源為IPv6位址。After the pre-packet processing module 122 obtains the device information, in step S205, the pre-packet processing module 122 can determine the network resources corresponding to the terminal device according to the device information. In the embodiment of the present disclosure, the network resource is an IPv6 address.
具體來說,儲存單元120中儲存了資源分配表。此資源分配表記載了多個終端裝置的DUID、MAC位址以及IPv4位址,每一個DUID對應至不同的終端裝置。資源分配表的內容與格式例如為表一所記載的格式與內容,然資源分配表所記載的內容與格式會依據實際的需求進行設計,本揭露並不限於此。
在本實施例中,當封包前處理模組122攔截了來自終端裝置10的封包,並經由步驟S201、S203獲取此封包的來源端的MAC位址為「AA:BB:CC:AA:BB:CC」。此時,封包前處理模組122會依據MAC位址查找資源分配表,以獲取對應此MAC位址的終端裝置10所使用的IPv4位址為「101.101.101.101」。接著,封包前處理模組122會依據終端裝置10的IPv4位址決定配發給終端裝置10的IPv6位址。在本實施例中,封包前處理模組122所配發的IPv6位址的後綴為終端裝置10的IPv4位址,即「101.101.101.101」。配發的IPv6位址例如:「2001:4200:1000:1000:1000:1000:101.101.101.101」。須說明的是,IPv6位址的前綴會根據網路資源分配伺服器能夠配發的IP池(Pooling)有所改變,本揭露不限於此。In this embodiment, when the packet pre-processing module 122 intercepts the packet from the terminal device 10, and obtains the MAC address of the source end of the packet through steps S201 and S203 as "AA: BB: CC: AA: BB: CC ". At this time, the packet pre-processing module 122 searches the resource allocation table according to the MAC address to obtain that the IPv4 address used by the terminal device 10 corresponding to the MAC address is "101.101.101.101". Then, the packet pre-processing module 122 determines the IPv6 address allocated to the terminal device 10 according to the IPv4 address of the terminal device 10. In this embodiment, the suffix of the IPv6 address allocated by the packet pre-processing module 122 is the IPv4 address of the terminal device 10, that is, "101.101.101.101". For example, the assigned IPv6 address is "2001: 4200: 1000: 1000: 1000: 1000: 1000: 101.101.101.101". It should be noted that the prefix of the IPv6 address will change according to the IP pool that the network resource allocation server can allocate, and this disclosure is not limited to this.
於封包前處理模組122決定配發給終端裝置10的網路資源為IPv6位址「2001:4200:1000:1000:1000:1000:101.101.101.101」後,封包前處理模組122則會將網路資源為上述位址的資訊,以及此終端裝置10的裝置資訊發送給資源指派模組124。接著,於步驟S207,資源指派模組124會依據裝置資訊及網路資源的資訊分配網路資源至終端裝置10。舉例來說,封包前處理模組122會指示資源指派模組124分配IPv6位址「2001:4200:1000:1000:1000:1000:101.101.101.101」至DUID為「AA-BB-AA-CC-AA-DD-AA-EE-AA-FF-AA-FF-AA-FF」的終端裝置10。基此,網路管理者可以直接透過IPv6的位址以及IPv4的位址得知此兩個IP位址是對應至同一台終端裝置10。After the pre-packet processing module 122 determines that the network resource allocated to the terminal device 10 is an IPv6 address "2001: 4200: 1000: 1000: 1000: 1000: 1000: 101.101.101.101", the pre-packet processing module 122 will The network resource is the information of the above address and the device information of the terminal device 10 is sent to the resource assignment module 124. Next, in step S207, the resource assignment module 124 allocates network resources to the terminal device 10 according to the device information and the information of the network resources. For example, the packet pre-processing module 122 instructs the resource assignment module 124 to assign an IPv6 address "2001: 4200: 1000: 1000: 1000: 1000: 1000: 101.101.101.101" to a DUID of "AA-BB-AA-CC- AA-DD-AA-EE-AA-FF-AA-FF-AA-FF "terminal device 10. Based on this, the network administrator can know directly that the two IP addresses correspond to the same terminal device 10 through the IPv6 address and the IPv4 address.
在本揭露另一實施例中,於步驟S205,封包前處理模組122亦可以決定配發至終端裝置10的IPv6位址的後綴為終端裝置10的MAC位址,即「AA:BB:CC:AA:BB:CC」。配發的IPv6位址例如為:「2001:4200:1000:1000:1000:AA:BB:CC:AA:BB:CC」。若以MAC位址配發IPv6時,封包前處理模組122不必透過資源分配表,即可依據攔截的封包所提供的裝置資訊配置網路資源。網路管理者可以直接透過IPv6的位址找到對應的終端裝置10,並根據終端裝置10的IPv4位址得知此被分配的IPv6位址與終端裝置10的IPv4位址都是對應到相同的終端裝置10。In another embodiment of the present disclosure, in step S205, the pre-packet processing module 122 may also determine that the suffix of the IPv6 address allocated to the terminal device 10 is the MAC address of the terminal device 10, that is, "AA: BB: CC : AA: BB: CC ". The assigned IPv6 address is, for example, "2001: 4200: 1000: 1000: 1000: AA: BB: CC: AA: BB: CC". When IPv6 is allocated using a MAC address, the packet pre-processing module 122 can configure network resources according to the device information provided by the intercepted packet without using a resource allocation table. The network manager can directly find the corresponding terminal device 10 through the IPv6 address, and knows that the assigned IPv6 address and the IPv4 address of the terminal device 10 are the same according to the IPv4 address of the terminal device 10 Terminal 装置 10。 The terminal device 10.
在本揭露又一實施例中,於步驟S205,封包前處理模組122還可以決定配發給終端裝置10的IPv6位址的後綴為終端裝置10的MAC位址與IPv4位址的混合,例如:「2001:4200:1000:AA:BB:CC:AA:BB:CC:101.101.101.101」。In another embodiment of the present disclosure, in step S205, the pre-packet processing module 122 may further determine that the suffix of the IPv6 address allocated to the terminal device 10 is a mixture of the MAC address of the terminal device 10 and the IPv4 address, for example, : "2001: 4200: 1000: AA: BB: CC: AA: BB: CC: 101.101.101.101".
圖3為本揭露一實施例的網路資源分配方法的預處理流程圖。請同時參照圖1與圖3,在本實施例中,更選擇性的設置了預處理模組126。在網路資源分配伺服器100完全運作前,預處理模組126會先進行封包探測,並於步驟S301,透過位址解析協定(Address Resolution Protocol,ARP)發起位址詢問請求至終端裝置10,以找到與此網路資源分配伺服器100相連的終端裝置10的IPv4位址以及其對應的MAC位址。並且於步驟S303中,預處理模組126可以把終端裝置10的IPv4位址及其對應的MAC位址記錄於資源分配表中,以供後續封包前處理模組122查找與使用。FIG. 3 is a pre-processing flowchart of a network resource allocation method according to an embodiment of the disclosure. Please refer to FIG. 1 and FIG. 3 at the same time. In this embodiment, a pre-processing module 126 is more selectively provided. Before the network resource allocation server 100 is fully operational, the pre-processing module 126 first performs packet detection, and in step S301, initiates an address query request to the terminal device 10 through the Address Resolution Protocol (ARP). To find the IPv4 address of the terminal device 10 connected to the network resource allocation server 100 and its corresponding MAC address. In step S303, the pre-processing module 126 can record the IPv4 address of the terminal device 10 and its corresponding MAC address in the resource allocation table for subsequent packet pre-processing module 122 to find and use.
此外,若封包前處理模組122於查找資源分配表時沒有找到對應被攔截封包的MAC位址及IPv4位址,此時,預處理模組126亦會透過位址解析協定更新資源分配表。In addition, if the packet pre-processing module 122 does not find the MAC address and IPv4 address corresponding to the intercepted packet when searching the resource allocation table, the pre-processing module 126 also updates the resource allocation table through the address resolution protocol.
綜上所述,本揭露提供的網路資源分配伺服器及網路資源分配方法會攔截終端裝置所傳送的資源分配請求封包,並依據裝置資訊配置網路資源,以使同一台終端裝置在不同網路環境下使用相關連的網路資源,提升網路管理的便利性。In summary, the network resource allocation server and network resource allocation method provided in this disclosure will intercept the resource allocation request packet sent by the terminal device, and configure the network resources according to the device information, so that the same terminal device may Use related network resources in a network environment to improve the convenience of network management.
雖然本揭露已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本揭露的保護範圍當視後附的申請專利範圍所界定者為準。Although the present disclosure has been disclosed above by way of example, it is not intended to limit the present invention. Any person with ordinary knowledge in the technical field can make some modifications and retouching without departing from the spirit and scope of the present invention. The scope of protection of this disclosure shall be determined by the scope of the attached patent application.
10‧‧‧終端裝置10‧‧‧Terminal device
100‧‧‧網路資源分配伺服器100‧‧‧ Network Resource Allocation Server
110‧‧‧通訊單元 110‧‧‧ communication unit
120‧‧‧儲存單元 120‧‧‧Storage unit
122‧‧‧封包前處理模組 122‧‧‧packet pre-processing module
124‧‧‧資源指派模組 124‧‧‧Resource Assignment Module
126‧‧‧預處理模組 126‧‧‧Pretreatment module
130‧‧‧處理單元 130‧‧‧processing unit
S201~S207‧‧‧網路資源分配方法的步驟 Steps of S201 ~ S207‧‧‧Network Resource Allocation Method
S301~S303‧‧‧網路資源分配方法的預處理步驟 S301 ~ S303‧ preprocessing steps of network resource allocation method
圖1為本揭露一實施例的網路資源分配伺服器的架構圖。 圖2為本揭露一實施例的網路資源分配方法的流程圖。 圖3為本揭露一實施例的網路資源分配方法的預處理步驟流程圖。FIG. 1 is a structural diagram of a network resource allocation server according to an embodiment of the disclosure. FIG. 2 is a flowchart of a network resource allocation method according to an embodiment of the disclosure. FIG. 3 is a flowchart of preprocessing steps of a network resource allocation method according to an embodiment of the disclosure.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106125247A TWI663856B (en) | 2017-07-27 | 2017-07-27 | Network resource allocation server and network resource allocation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106125247A TWI663856B (en) | 2017-07-27 | 2017-07-27 | Network resource allocation server and network resource allocation method |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201911827A TW201911827A (en) | 2019-03-16 |
TWI663856B true TWI663856B (en) | 2019-06-21 |
Family
ID=66590149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW106125247A TWI663856B (en) | 2017-07-27 | 2017-07-27 | Network resource allocation server and network resource allocation method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI663856B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200301861A (en) * | 2002-01-08 | 2003-07-16 | Hewlett Packard Co | Method and apparatus for identifying a digital image and for accessing the digital image over a network |
CN1574835A (en) * | 2003-06-06 | 2005-02-02 | 日立通讯技术株式会社 | Ip address translator and packet transfer apparatus |
CN103167058A (en) * | 2013-04-02 | 2013-06-19 | 深圳市共进电子股份有限公司 | Method for acquiring Internet protocol version 6 (IPv6) prefix by adopting internet control message protocol version 6 (ICMPv6) to generate client address |
US8528068B1 (en) * | 2002-07-26 | 2013-09-03 | Purple Communications, Inc. | Method of authenticating a user on a network |
TWM554679U (en) * | 2017-07-27 | 2018-01-21 | 飛泓科技股份有限公司 | Network resource allocation server |
-
2017
- 2017-07-27 TW TW106125247A patent/TWI663856B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200301861A (en) * | 2002-01-08 | 2003-07-16 | Hewlett Packard Co | Method and apparatus for identifying a digital image and for accessing the digital image over a network |
US8528068B1 (en) * | 2002-07-26 | 2013-09-03 | Purple Communications, Inc. | Method of authenticating a user on a network |
CN1574835A (en) * | 2003-06-06 | 2005-02-02 | 日立通讯技术株式会社 | Ip address translator and packet transfer apparatus |
CN103167058A (en) * | 2013-04-02 | 2013-06-19 | 深圳市共进电子股份有限公司 | Method for acquiring Internet protocol version 6 (IPv6) prefix by adopting internet control message protocol version 6 (ICMPv6) to generate client address |
TWM554679U (en) * | 2017-07-27 | 2018-01-21 | 飛泓科技股份有限公司 | Network resource allocation server |
Also Published As
Publication number | Publication date |
---|---|
TW201911827A (en) | 2019-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11659441B2 (en) | Load balance method and apparatus thereof | |
US9350814B2 (en) | Internet protocol connectivity over a service-oriented architecture bus | |
US9407701B2 (en) | Address family preference in multiple network interface environments | |
JP6715425B2 (en) | Device and method for assigning internetwork addresses | |
US9584467B2 (en) | Technique to delegate prefixes to Wi-Fi clients connected to mobile access point routers | |
US7930370B2 (en) | Method and system for remote configuration of managed nodes | |
WO2020253631A1 (en) | Configuration method, device, and system for ip address | |
US9807176B2 (en) | Method and apparatus for connection management | |
RU2656815C1 (en) | Method and device for network resource balancing | |
US11483280B2 (en) | Method of translating IP packet for tethering service, communication system and electronic device for performing the same | |
US20220286495A1 (en) | Domain Name Query Method and Related Device | |
US20210377211A1 (en) | Cross protocol association for internet addresses for metadata association systems and methods | |
US10084747B2 (en) | External address space compression | |
US20130332586A1 (en) | Providing ipv6 connectivity through shared external interfaces on electronic devices | |
KR20190062166A (en) | Communication system and method for network address translation | |
CN111010460A (en) | Domain name resolution method and device | |
TWI735633B (en) | Data transmission method, equipment, device and system | |
TWI663856B (en) | Network resource allocation server and network resource allocation method | |
WO2017202034A1 (en) | Data packet sending and receiving method and device, and electronic apparatus | |
JP6484166B2 (en) | Name resolution device, name resolution method, and name resolution program | |
TWM554679U (en) | Network resource allocation server | |
WO2016177185A1 (en) | Method and apparatus for processing media access control (mac) address | |
KR101709874B1 (en) | Ip address allocation method and ip address allocation server for performing the method | |
US10862849B2 (en) | Address resolution system | |
TWI669930B (en) | Method and apparatus for network address analysis |