CN113691641A - Data packet transmission conversion method, internet and data packet processing equipment - Google Patents

Data packet transmission conversion method, internet and data packet processing equipment Download PDF

Info

Publication number
CN113691641A
CN113691641A CN202011443006.8A CN202011443006A CN113691641A CN 113691641 A CN113691641 A CN 113691641A CN 202011443006 A CN202011443006 A CN 202011443006A CN 113691641 A CN113691641 A CN 113691641A
Authority
CN
China
Prior art keywords
address
segment
data packet
network
field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011443006.8A
Other languages
Chinese (zh)
Inventor
毛健荣
归宇
罗火香
归嘉勉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Shijinzhi Network Co ltd
Original Assignee
Zhejiang Shijinzhi Network Co ltd
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 Zhejiang Shijinzhi Network Co ltd filed Critical Zhejiang Shijinzhi Network Co ltd
Priority to CN202011443006.8A priority Critical patent/CN113691641A/en
Publication of CN113691641A publication Critical patent/CN113691641A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/604Address structures or formats
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/69Types of network addresses using geographic information, e.g. room number

Abstract

The invention discloses a data packet transmission conversion method, an internet and data packet processing equipment.A node acquires a data packet with a self-defined network address, wherein the network address comprises an interface address, and the interface address carries an IPv6 address identifier; and the sending node acquires the interface address, forwards the data packet according to the interface address information, and if the IPv6 address identifier is detected, executes the subsequent operation of the data packet by adopting the IPv6 protocol parameter corresponding to the destination terminal. The technical scheme solves the problem of compatibility with other network protocols.

Description

Data packet transmission conversion method, internet and data packet processing equipment
Technical Field
The invention relates to the technical field of internet, in particular to a data packet transmission conversion method, an internet and data packet processing equipment.
Technical Field
Nowadays, the internet has become an indispensable important part in our daily life, and after the internet is accessed, the internet in china has undergone rapid development and achieved great achievements, but the problems of free network application and information security are more obvious. There are more limitations in terms of network security and network application freedom. At present, the internet of vehicles, the internet of things, intelligent cities and the like which are vigorously developed in China are all established on the basis of the internet. Therefore, there is also a great risk: the resolution of the domain name is stopped, and the whole network is paralyzed due to the limited access of the special network. In addition to the hidden dangers in the aspects of network ownership and safety, the economic expenditure generated by the internet is also huge, and with the coming of the era of the internet of things, the IP addresses and the international export flow cost required by China will also rise greatly due to the introduction of electronic tags, 4G and 5G mobile terminals. The current internet network ownership limit is still large, and the application freedom is relatively weak.
Disclosure of Invention
The invention provides a data packet transmission conversion method, an internet and data packet processing equipment for solving the conversion problem under different network address modes.
In order to solve the problems, the invention adopts the following technical scheme:
a data packet transmission conversion method is characterized in that a node acquires a data packet with a self-defined network address, wherein the network address comprises an interface address, and the interface address carries an IPv6 address identifier; and the sending node acquires the interface address, forwards the data packet according to the interface address information, and if the IPv6 address identifier is detected, executes the subsequent operation of the data packet by adopting the IPv6 protocol parameter corresponding to the destination terminal.
Optionally, the customized network address structure is divided into 7 segments, where segment 1 defines an address category, segment 2 defines a country code, segment 3 defines a region code, segment 4 defines an operator code, segment 5 defines an operator customized code, segment 6 defines a user ID, and segment 7 defines a user interface address;
and the user interface address carries an IPv6 address identifier, identifies the IPv6 address identifier, converts the network transmission address into the IPv6 address, and sends a data packet to a destination terminal corresponding to the IPv6 address.
Optionally, the network address structure includes 232 bits, the 1 st field is an 8-bit field, the 2 nd field is an 8-bit field, the 3 rd field is a 16-bit field, the 4 th field is an 8-bit field, the 5 th field is a 16-bit field, the 6 th field is a 48-bit field, and the 7 th field is a 128-bit field.
Optionally, segment 2 is set to have different values to access different transmission addresses, including corresponding aggregated global anycast address values, corresponding link local anycast address values, corresponding site local anycast address values, corresponding multicast address values, and corresponding aggregatable global anycast address values.
Optionally, among the 7 segments constituting the network address, the 1 st segment to the 5 th segment are decimal values, the 6 th segment is a character string value, and each segment is separated by a one-sided brace symbol.
Optionally, in the 7 th segment, the user interface address segment adopts a hexadecimal value of IPv6 or a top-off hexadecimal value.
Optionally, when the 7 segments forming the network address are all 0, the network address is used as an unspecified address; when the 1 st segment to the 6 th segment in the 7 segments forming the network address are 0 and the 7 th segment is 1, the network address is used as a return address, and the node with the return address is used for sending a data packet to the node.
The invention also discloses an internet, which transmits the data packet by the data packet transmission conversion method.
The invention also discloses a network data packet processing device which is characterized by comprising a receiver, a memory and a processor,
comprises a receiving module used for receiving data packets;
the processor identifies the header information of the data packet, extracts the network address information in the header information, and executes the operation of forwarding the data packet according to whether the network address information carries the IPv6 address identifier.
The invention has the following beneficial effects:
1) the technical scheme expands the network address capacity and increases the network address length to 232 bits so as to support more network address hierarchies, more addressable nodes and simpler automatic address configuration.
2) The technical scheme of the patent improves a network address structure into 7 segments, wherein, segment 1 defines an address category, segment 2 defines a country code, segment 3 defines a region code, segment 4 defines an operator code, segment 5 defines an operator self-defined code, segment 6 defines a user ID, and segment 7 defines a user interface address; the fields for identifying the country code, the regional code, the operator code, the unified credit code or the country organization code or the personal identification number are added, the fields are unified and gathered in the network address, a new identifier is added in the original network address, and more network address information is realized.
3) In the improved network address of the technical scheme, the 7 th segment of user interface address carries an IPv6 address identifier, the IPv6 address identifier is identified, the network transmission address is converted into the IPv6 address, and a data packet is sent to a destination terminal corresponding to the IPv6 address. The method and the device realize effective and quick conversion mode in the application scenes of two network addresses and transmit the data packet to the required IPv6 address.
4) The patent realizes the comprehensive address distinguishing function by binding the network address with individuals, companies and countries one by one.
5) The patent distinguishes 7 fields of the network address through { }, has a clear structure and an obvious marking function, and is more favorable for docking in the network address resolution process.
These features and advantages of the present invention will be disclosed in more detail in the following detailed description of the invention. The best mode or means of the present invention will be described in detail, but the present invention is not limited thereto. In addition, each of these features, elements and components appearing hereinafter is a plurality and different symbols or numerals are labeled for convenience of representation, but all represent components of the same or similar construction or function.
Detailed Description
The technical solutions of the embodiments of the present invention are explained and illustrated below, but the following embodiments are only preferred embodiments of the present invention, and not all of them. Based on the embodiments in the embodiment, those skilled in the art can obtain other embodiments without creative efforts, which belong to the protection scope of the present invention.
Reference in the specification to "one embodiment" or "an example" means that a particular feature, structure or characteristic described in connection with the embodiment itself may be included in at least one embodiment of the patent disclosure. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment.
Example one
A data packet transmission conversion method is characterized in that a node acquires a data packet with a self-defined network address, wherein the network address comprises an interface address, and the interface address carries an IPv6 address identifier; and the sending node acquires the interface address, forwards the data packet according to the interface address information, and if the IPv6 address identifier is detected, executes the subsequent operation of the data packet by adopting the IPv6 protocol parameter corresponding to the destination terminal.
The network address structure is divided into 7 segments, wherein, segment 1 defines type prefix (address category), segment 2 defines country (country code), segment 3 defines region (region code), segment 4 defines operator code, segment 5 defines top level operator (operator code), segment 6 defines user ID, and segment 7 defines user interface address; the network address structure comprises 232 bits, wherein a 1 st field is an 8-bit field, a 2 nd field is an 8-bit field, a 3 rd field is a 16-bit field, a 4 th field is an 8-bit field, a 5 th field is a 16-bit field, a 6 th field is a 48-bit field, and a 7 th field is a 128-bit field.
Then, after the 7 th segment is modified to 128 bits, the conversion of the IPv6 mode can be implemented, that is, the user interface address carries an IPv6 address identifier, the IPv6 address identifier is identified, the network transport address is converted into the IPv6 address, and the data packet is sent to the destination terminal corresponding to the IPv6 address.
Optionally, segment 2 is set to have different values to access different transmission addresses, including corresponding aggregated global anycast address values, corresponding link local anycast address values, corresponding site local anycast address values, corresponding multicast address values, and corresponding aggregatable global anycast address values.
Optionally, among the 7 segments constituting the network address, the 1 st segment to the 5 th segment are decimal values, the 6 th segment is a character string value, and each segment is separated by a one-sided brace symbol.
The preferred text string canonical address form adopted in this embodiment is as follows, without limitation to other forms:
among the 7 segments constituting the network address, the 1 st segment to the 5 th segment are decimal values, the 6 th segment is a character string value, and each segment is separated by a one-sided brace symbol, for example, the network address is: a { b { c { d { f { g, wherein:
a is a decimal value of an 8-bit address segment representing a type prefix for identifying an address class.
b is a decimal value of an 8-bit address field representing a country code for being identified as a country, for example a chinese code of 1 may be defined.
c is a decimal value of a 16-bit address field representing a regional code within a country hierarchy for a regional code identified as the country based on identifying the country code, for example, the shanghai code may be defined as 21.
d is a decimal value of an 8-bit address field representing an operator code within a national hierarchy for being identified as a specific operator, e.g., a chinese telecom code of 1, a chinese unicom code of 3, etc.
e is a decimal value of a 16-bit address field representing an operator definition for operator-defined encoding.
f is a string value of a 48-bit address field, which may include numbers and upper and lower case english letters, representing a user ID, which may be an organization, company, natural person, etc. The network address has an address prefix, the length of which is the decimal value that makes up the address prefix.
g is the hexadecimal of a 128-bit address field, which may also be identified by a hyphen hexadecimal to represent the user interface address. The user interface address may be an interface address in IPv6 mode.
Optionally, in the 7 th segment, the user interface address segment adopts a hexadecimal value of IPv6 or a top-off hexadecimal value.
For example: the network address of a server of a company may be identified as:
1{1{21{1{1000{310107{2000::1。
when the 8 th bit in the type prefix is 1 and the address type is an aggregatable global unicast address, the 2 nd section forming the unicast address is used for distinguishing and aggregating different country regions, and the 3 rd section forming the unicast address is used for aggregating management regions of a single country;
when the 8 th bit in the type prefix is 2, the address type is a link local unicast address, when the address type is the link local unicast address, the 2 nd to 5 th sections of the unicast address are 0, the 6 th section only uses the last 32 bits, and the other bits of the 6 th section are 0; all interfaces need to have at least one link local unicast address.
When the 8 th bit in the type prefix is 3, the address type is a site local unicast address. When the address type is a site local unicast address, all of the 2 nd to 6 th sections of the unicast address are customized.
When the 8 th bit in the type prefix is 4, the address type is a multicast address.
When bit 8 in the type prefix is 5, the address type is an aggregatable global anycast address.
The unicast address assigned to each interface has an interface identifier, and when the address type is a link local unicast address or a site local unicast address, the interface identifier is 32 bits in the last 32 th and 7 th sections of the 6 th section of the unicast address, constituting an IEEE EUI-64 format, and when the u position of the IEEE EUI-64 is 0, the interface identifier has a meaning of a local scope, and when the u position of the IEEE EUI-64 is 1, the interface identifier has a meaning of a global scope. The motivation for using the u-position when forming interface identifiers is to facilitate the system administrator to manually configure a locally scoped interface identifier when a hardware token is not available, i.e., in the case of a serial link, tunnel endpoint, etc. The interface identifier should be unique on its link, possibly to a wide extent, and in many cases one interface identifier is the same as the link layer address of its interface, the same interface identifier may be used on multiple interfaces on a single node, the global uniqueness of the interface identifier is not affected by the same interface identifier on multiple interfaces of a single node, or the global uniqueness of each unicast address is created by the interface identifier.
The network address has an address prefix, the length of which is the decimal value that makes up the address prefix. This embodiment also discloses a representation manner of the address prefix of the network address:
address/prefix length;
wherein the prefix length is a decimal value that constitutes a prefix identifying a length of leftmost consecutive address bits of the network address.
For example:
200 length prefix of somebody's unicast address:
1{1{21{1{1000{310107 can be represented in the following format:
1{1{21{1{1000{310107/200, the entire network address may be abbreviated as:
1{1{21{1{1000{310107{2000::1/200。
in assigning network addresses, if an address contains a long string of 0 bits, then using "{ }" indicates that there are multiple sets of 0 values. The nodes receive and transmit data packets according to the network addresses of the interfaces, and the nodes with the return addresses are used for sending the data packets to the nodes. The return address is not assigned to any logistics interface.
For example:
when the 1 st segment to the 6 th segment in the 7 segments forming the network address are 0 and the 7 th segment is 1, the network address is used as a return address, and the node with the return address is used for sending a data packet to the node:
0{0{0{0{0{0{1: return address, which may be denoted as {6} 1;
when the 7 segments constituting the network address are all 0, the network address is taken as an unspecified address:
0{0{0{0{0{0{0: the address is not indicated and may be denoted as 7.
Unspecified addresses cannot be allocated to any node, one application of unspecified addresses is to add an unspecified address to the source address field of a transmitted packet at the time of initialization of the host, before the host does not get its own address. Unspecified addresses cannot be used in packets as destination addresses nor in routing headers of the network.
Example two
The embodiment provides an internet, and the internet transmits a data packet by using the data packet transmission conversion method.
The present embodiments also provide a network packet processing device comprising a receiver, a memory and a processor,
comprises a receiving module used for receiving data packets;
the processor identifies the header information of the data packet, extracts the network address information in the header information, and executes the operation of forwarding the data packet according to whether the network address information carries the IPv6 address identifier.
The above are merely specific embodiments of the present invention, but the scope of the present invention is not limited thereto. It will be appreciated by those skilled in the art that the present invention includes, but is not limited to, those described in the foregoing detailed description. Any modification which does not depart from the functional and structural principles of the present invention is intended to be included within the scope of the claims.

Claims (9)

1. A data packet transmission conversion method is characterized in that a node acquires a data packet with a self-defined network address, wherein the network address comprises an interface address, and the interface address carries an IPv6 address identifier; and the sending node acquires the interface address, forwards the data packet according to the interface address information, and if the IPv6 address identifier is detected, executes the subsequent operation of the data packet by adopting the IPv6 protocol parameter corresponding to the destination terminal.
2. The method of claim 1, wherein the customized network address structure is divided into 7 segments, wherein segment 1 defines address category, segment 2 defines country code, segment 3 defines region code, segment 4 defines operator code, segment 5 defines operator customized code, segment 6 defines user ID, and segment 7 defines user interface address;
and the user interface address carries an IPv6 address identifier, identifies the IPv6 address identifier, converts the network transmission address into the IPv6 address, and sends a data packet to a destination terminal corresponding to the IPv6 address.
3. The method as claimed in claim 2, wherein the network address structure comprises 232 bits, the 1 st field is an 8-bit field, the 2 nd field is an 8-bit field, the 3 rd field is a 16-bit field, the 4 th field is an 8-bit field, the 5 th field is a 16-bit field, the 6 th field is a 48-bit field, and the 7 th field is a 128-bit field.
4. The method as claimed in claim 2, wherein the segment 2 is set to different values to access different transport addresses, including corresponding aggregate global anycast address value, corresponding link local anycast address value, corresponding site local anycast address value, corresponding multicast address value, and corresponding aggregate global anycast address value.
5. A method as claimed in claim 3, wherein the 7 segments forming the network address have decimal values in 1 st to 5 th segments and character string values in 6 th segment, and each segment is separated by a one-sided brace symbol.
6. The method as claimed in claim 5, wherein in the 7 th segment, the user interface address segment adopts hexadecimal value of IPv6 or a common hexadecimal value.
7. A packet transmission conversion method according to claim 3, wherein when the 7 segments constituting the network address are all 0, the network address is used as an unspecified address; when the 1 st segment to the 6 th segment in the 7 segments forming the network address are 0 and the 7 th segment is 1, the network address is used as a return address, and the node with the return address is used for sending a data packet to the node.
8. An internet, characterized in that the internet transmits data packets by a data packet transmission conversion method according to any one of claims 1 to 7.
9. A network packet processing device comprising a receiver, a memory and a processor,
comprises a receiving module used for receiving data packets;
the processor identifies the header information of the data packet, extracts the network address information in the header information, and executes the operation of forwarding the data packet according to whether the network address information carries the IPv4 address identifier.
CN202011443006.8A 2020-12-11 2020-12-11 Data packet transmission conversion method, internet and data packet processing equipment Pending CN113691641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011443006.8A CN113691641A (en) 2020-12-11 2020-12-11 Data packet transmission conversion method, internet and data packet processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011443006.8A CN113691641A (en) 2020-12-11 2020-12-11 Data packet transmission conversion method, internet and data packet processing equipment

Publications (1)

Publication Number Publication Date
CN113691641A true CN113691641A (en) 2021-11-23

Family

ID=78576163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011443006.8A Pending CN113691641A (en) 2020-12-11 2020-12-11 Data packet transmission conversion method, internet and data packet processing equipment

Country Status (1)

Country Link
CN (1) CN113691641A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1293403A (en) * 2000-11-30 2001-05-02 谢建平 General scheme for assigning addresses to networked computers by decimal algorithm
CN102035899A (en) * 2009-09-24 2011-04-27 中兴通讯股份有限公司 Method and device for determining addresses in IPv6 (internet protocol version 6) based LAN (local area network)
CN102769560A (en) * 2003-12-29 2012-11-07 英特尔公司 Method and device for anycast addressing for internet protocol version six
US20140181274A1 (en) * 2012-12-10 2014-06-26 Guillaume Yves Bernard BAZIN System and method for ip network semantic label storage and management
CN110913031A (en) * 2019-11-15 2020-03-24 西安居正知识产权运营管理有限公司 IPv6 network address configuration method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1293403A (en) * 2000-11-30 2001-05-02 谢建平 General scheme for assigning addresses to networked computers by decimal algorithm
CN102769560A (en) * 2003-12-29 2012-11-07 英特尔公司 Method and device for anycast addressing for internet protocol version six
CN102035899A (en) * 2009-09-24 2011-04-27 中兴通讯股份有限公司 Method and device for determining addresses in IPv6 (internet protocol version 6) based LAN (local area network)
US20140181274A1 (en) * 2012-12-10 2014-06-26 Guillaume Yves Bernard BAZIN System and method for ip network semantic label storage and management
CN110913031A (en) * 2019-11-15 2020-03-24 西安居正知识产权运营管理有限公司 IPv6 network address configuration method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张千里等: "IPv6地址结构标准化研究综述", 《计算机学报》 *
李国彬: "新一代网络协议IPv6的地址分析", 《电脑知识与技术(学术交流)》 *

Similar Documents

Publication Publication Date Title
JP5776337B2 (en) Packet conversion program, packet conversion apparatus, and packet conversion method
CN100409217C (en) Internetwork protocol address distribution equipment and method
CN102090025B (en) Network system with initiator subnetwork communication and communication method
CN112039920B (en) Communication method, communication device, electronic device and storage medium
CN1277373C (en) Method for transmitting user position information in network communication system
CN102035899A (en) Method and device for determining addresses in IPv6 (internet protocol version 6) based LAN (local area network)
CN108093095A (en) Address character string with short name word is converted to the method and device of IPv6 addresses
US7948916B2 (en) Method and apparatus for discovering topology information in a network
CN1185831C (en) Method for managing users in wide hand city network
CN113141338B (en) Message generation method, processing method and device
CN113691641A (en) Data packet transmission conversion method, internet and data packet processing equipment
CN113691643A (en) Data packet transmission conversion method, internet and data packet processing equipment
KR101052913B1 (en) Network system and method for allocating IPv6 address
CN107241457A (en) A kind of method for realizing network end-to-end communication
CN113709268A (en) Network random on-demand addressing method and its interconnected network
Cisco Apple Talk
WO2002044903A1 (en) An universal assigning method for the networking computer to assign computer's address with full decimal algorithm
US20120224504A1 (en) Alternate structure with improved technologies for computer communication and data transfers
KR100846014B1 (en) METHOD OF CONFIGURING IPv6 LINK-LOCAL ADDRESSES USING PSEUDO EUI-64 IDENTIFIERS IRRESPECTIVE OF TYPE OF PHYSICAL MEDIA
CN113709267A (en) Network unicast addressing method and internet thereof
CN113691642A (en) Network multicast addressing method and its interconnected network
JPH08163173A (en) Packet transmission method
KR100538156B1 (en) Method of exchanging packets using IPv4 packet's option field between IPv6 host and IPv4 host
JP3626743B2 (en) Packet transfer apparatus, packet transfer method, and packet transfer program
WO2009151310A1 (en) System and method for representing internet protocol version 6 (ipv6) addresses

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20211123

RJ01 Rejection of invention patent application after publication