This application claims priority to Chinese patent application No. 201810522656.8, entitled “ICN packet forwarding method,” filed on May 28, 2018, which is incorporated herein by reference.
The present invention relates to the field of network technology and communication technology, in particular to an ICN packet forwarding method.
Movement of a terminal may cause changes of IP addresses in an existing Internet system. Information-centric networking (ICN) has a core concept that the name is separated from the address, and adopts a naming mechanism of ICN, in which each entity in the network obtains a location-independent unique identifier of the entity as its name, and by dynamically binding the name of the entity and the current network address of the entity, the problem of IP address changes during communication may be solved.
A current routing solution that supports hop-by-hop forwarding and binding features after a network address can buffer before forward received packet data, and supports rebinding a network address based on the entity name, in an attempt to achieve an optimum association state between a terminal and a network, so as to better guarantee the service continuity. However, an existing solution lacks timely perception of the movement and change of the location of a network entity and cannot effectively support applications with high requirements on time delay control and service continuity.
A technical problem to be solved by the present invention is: after a network entity in a communication process changes its current network address due to movement, how to quickly trigger a network device responsible for the routing and forwarding its packet, look up and acquire the current new address after movement of the network entity, and modify a packet address to the new address before forwarding. By timely adjusting the destination address of the packet to be forwarded, the success rate of packet delivery is improved to ensure the continuity of mobile service sessions.
To achieve the above objective, the present invention provides an ICN packet forwarding method, including:
step 1) maintaining, by a network forwarding device, a network entity ID association state table, which is used for recording a state of the binding relationship between a network entity ID and a network address to which the network entity is associatively bound; after a network address binding relationship of the network entity changes due to location movement thereof, adding or updating, by the network forwarding device, a record of the network entity in the network entity ID association state table according to notification information of the network entity; and
step 2) upon receipt of an ICN packet, by the network forwarding device, determining whether the ICN packet needs to be processed, according to information of the current network entity ID association state table; if yes, forwarding after processing the ICN packet; otherwise, directly forwarding the packet.
As an improvement of the above-mentioned method, the step 1) specifically includes:
step 101) after the network address binding relationship of the network entity changes due to location movement thereof, acquiring, by the network forwarding device, the notification information of the change of the binding relationship between the network entity and its network address, wherein the notification information at least contains the network entity ID, which is used for identifying a change of the bound network address due to movement of the current location; and
step 102) generating, by the network forwarding device, a new record based on the network entity ID carried in the notification information; if there is no record of the network entity in the network entity ID association state table, adding the new record to the network entity ID association state table; if a record related to the ID already exists in the network entity ID association state table, updating the existing record with new record values for this time, wherein the content of each record in the network entity ID association state table includes but is not limited to the network entity ID.
As an improvement of the above-mentioned method, the step 2) specifically includes the following steps:
step 201) acquiring a destination network entity ID from the ICN packet to be forwarded;
step 202) in the network entity ID association state table, looking up an entry record that matches the destination network entity ID; if there is no such entry record, proceeding to step 204); and if there is such an entry record, proceeding to step 203);
step 203) performing pre-processing before forwarding of the ICN packet; and
step 204) forwarding, by the network forwarding device, the packet according to the destination network address (NA) in the ICN packet by using a route forwarding mechanism.
As an improvement of the above-mentioned method, the pre-processing before forwarding in the step 203) includes but is not limited to modifying the packet, that is, modifying the destination network address in the ICN packet to a newly bound or other network address value after movement corresponding to the destination network entity ID, acquired from an external system.
As an improvement of the above-mentioned method, the method further includes steps of maintaining the network entity ID association state table, specifically including:
step S1) adding a record to or updating a record in the network entity ID association state table, wherein the content of the record further includes setting a time parameter value related to the current time;
step S2) setting a time parameter value related to the current time for a matched entry record in the network entity ID association state table in the step 202; and
step S3) monitoring the time parameter value corresponding to each record in the ID association state table, and for a record in which the time parameter value deviates from the current time by more than a set time threshold, determining the record to be a timeout invalid record, and deleting record from the ID association state table.
As an improvement of the above-mentioned method, the step of maintaining the network entity ID association state table further includes: acquiring specified network entity ID information through a mechanism of receiving an external interface packet, and deleting a record corresponding to the ID from the ID association state table.
The present invention has the following advantages:
In view of the continuity requirement of communication service sessions in mobile scenarios, the present invention discloses a method for triggering pre-processing before forwarding of an ICN packet, in which based on change information of an address binding relationship reflecting entity location movement, and information of the ICN packet, a network entity ID association state table is generated and updated to guide the triggering of a network forwarding device to perform pre-processing before forwarding of the ICN packet, thereby improving the success rate of packet delivery and improving the performance of data service.
Now, the present invention is further described in conjunction with the accompanying drawings.
As shown in
The ICN packet has a characteristic that the packet carries both a destination network entity ID and a destination network address NA, and a destination network entity ID value is always kept unchanged during transmission of the packet. The network entity ID refers to information that uniquely identifies a network entity regardless of the network address, including but not limited to using existing identification information of an existing system, or its unidirectional conversion calculation value, or a combination of the above information, etc.; the network address refers to network-routable address information indicating the location of the entity, including but not limited to using an IP addresses, a point of attachment addresses or other information. The time parameter refers to the time when the current record is generated, or the time when the packet, which contains the network entity ID and a bound network address value before movement, was received last time. The encapsulation format of the packet of the notification information of the change of the binding relationship between the network entity and its network address may be either ICN packet encapsulation, or packet encapsulation based on IP or other existing network protocol, and is customized according to an actual implementation requirement.
The maintenance of the local ID association state table mainly includes the following procedures:
(1) Addition of a record in the ID association status table
The notification information of the change of the binding relationship between the network entity and its network address due to movement of the entity's location may be propagated in the form of a packet within the network through an edge network forwarding device. The notification information at least contains the network entity ID, which represents the network entity whose bound network address is changed due to movement of the current location; in addition, the notification information may also or may not include a bound network address NA before movement corresponding to the network entity. The specific packet format, propagation method, and propagation range of the notice information are not limited herein.
Each network forwarding device may perform propagation accordingly to obtain the notification information of the change of the binding relationship between the network entity and its network address, and construct a new record to add to the ID association state table according to a network entity ID value carried therein.
The time parameter of the new record constructed here may be set to a certain amount related to the current time. If the received notification information also contains a bound network address NA value corresponding to the ID before movement, it is used as a bound network address before movement in this new record, otherwise, a specific value is used as the bound network address before movement in this new record.
If a record related to the ID already exists in the ID association state table, then according to the above-mentioned method for generating the values in the new record, all values such as the bound network address before the movement and the time parameter in the ID record are updated and replaced.
(2) Use and update of the ID association state table
The use and update process of the ID association state table is combined with the process of determining whether pre-processing before packet forwarding needs to be triggered. As shown in
(a) If the bound network address value before movement is same as the destination network address NA acquired from the current ICN packet to be forwarded, it indicates that the ICN packet just needs triggering of a pre-processing operation before forwarding; meanwhile, the corresponding time parameter in the ID record should be updated to a certain amount related to the current time.
(b) If the bound network address value before movement is a specific value, it indicates that there is no need to match the bound network address value before movement this time, and a pre-processing operation before forwarding should be unconditionally triggered for the ICN packet of the ID; meanwhile, the bound network address value before movement should be changed from the specific value to the destination network address NA acquired from the current ICN packet to be forwarded, and the corresponding time parameter in the ID record should be updated to a certain amount related to the current time.
(c) If the bound network address value before movement is not a specific value and is different from the destination network address NA acquired from the current ICN packet to be forwarded, it indicates that the ICN packet does not need pre-processing before forwarding at the device, and may be forwarded directly.
(3) Deletion of a record in the ID association state table
A record in the table may be deleted through a timeout mechanism. That is, the network forwarding device monitors the time parameter value corresponding to each record in the ID association state table. For a record in which the time parameter value deviates from the current time by more than a set time threshold, it is determined to be a timeout invalid record, and the record is deleted from the ID association state table.
As an improvement of the above method, it is also possible to acquire specified network entity ID information through a mechanism of receiving an external interface packet or the like to delete a record corresponding to the ID from the ID association state table.
(4) Parameter extension of the ID association state table
According to the actual application scenario, the definition and use of a parameter of the ID association state table may be expanded, and the extended parameter is passed when pre-processing before forwarding is triggered for the packet.
Finally, it should be noted that the above embodiments are only used for describing instead of limiting the technical solutions of the present invention. Although the present invention is described in detail with reference to the embodiments, persons of ordinary skill in the art should understand that modifications or equivalent substitutions of the technical solutions of the present invention do not depart from the spirit and scope of the technical solutions of the present invention, and should be encompassed within the scope of the claims of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
201810522656.8 | May 2018 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2018/121494 | 12/17/2018 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2019/227902 | 12/5/2019 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
9049251 | Ravindran et al. | Jun 2015 | B2 |
20130227166 | Ravindran et al. | Aug 2013 | A1 |
20150172413 | Yoneda | Jun 2015 | A1 |
20160087876 | Fan et al. | Mar 2016 | A1 |
20170034055 | Ravindran | Feb 2017 | A1 |
20180034905 | Sato | Feb 2018 | A1 |
20180242186 | Muscariello | Aug 2018 | A1 |
20180287940 | Westphal | Oct 2018 | A1 |
20190081890 | Ravindran | Mar 2019 | A1 |
20190199628 | Amin | Jun 2019 | A1 |
20190230167 | Laari | Jul 2019 | A1 |
20190297014 | Azgin | Sep 2019 | A1 |
20200050627 | Satou | Feb 2020 | A1 |
Number | Date | Country |
---|---|---|
103369065 | Oct 2013 | CN |
104137509 | Nov 2014 | CN |
106973013 | Jul 2017 | CN |
108063717 | May 2018 | CN |
2018006042 | Jan 2018 | WO |
Entry |
---|
Mar. 7, 2019 International Search Report issued in International Patent Application No. PCT/CN2018/121494. |
Number | Date | Country | |
---|---|---|---|
20210067443 A1 | Mar 2021 | US |