CN111131527A - Address generation and direct addressing technology and method based on identification - Google Patents
Address generation and direct addressing technology and method based on identification Download PDFInfo
- Publication number
- CN111131527A CN111131527A CN201811281620.1A CN201811281620A CN111131527A CN 111131527 A CN111131527 A CN 111131527A CN 201811281620 A CN201811281620 A CN 201811281620A CN 111131527 A CN111131527 A CN 111131527A
- Authority
- CN
- China
- Prior art keywords
- address
- identification
- network
- bits
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000005516 engineering process Methods 0.000 title abstract description 4
- 230000014509 gene expression Effects 0.000 claims description 6
- 230000008520 organization Effects 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims 1
- 241000282414 Homo sapiens Species 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/2542—Translation of Internet protocol [IP] addresses involving dual-stack hosts
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5046—Resolving address allocation conflicts; Testing of addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/686—Types of network addresses using dual-stack hosts, e.g. in Internet protocol version 4 [IPv4]/Internet protocol version 6 [IPv6] networks
Abstract
A technology and method for generating address and directly addressing based on identification can directly generate address by identification and support direct addressing (domain name resolution is not needed), and the realization mode is as follows: firstly, defining a mark according to a set rule, generating a hash value with a fixed length by the mark through a hash algorithm (such as SHA256), transcoding to generate a 16-system numerical value, and then generating an address of the mark according to a specific address coding mode (self-defined or reference, such as a common-generation hexadecimal representation method of IPV 6). The method is more convenient to understand and operate, and the hierarchical structure is greatly simplified.
Description
Technical Field
The invention relates to the technical field of computers and networks, in particular to an address generation and direct addressing technology and method based on identification
Background
Currently, the internet has entered into the aspects of human production and life, and becomes an important component of social ecological environment. However, the address structure of 32 bits, 4 segments and 8 bits defined by IPv4 protocol which has been run for nearly half a century and the addressing mode of centralized domain name resolution face a series of problems such as address exhaustion, resource waste (each connection needs to access a domain name server) and lack of autonomy and safety, which cannot meet the future development requirements and need to be updated urgently. For this reason, a series of solutions have been proposed internationally around the construction of next generation networks. Wherein the call is high and has entered into implementation mainly IPv6 and IPv 9. The difference between the two is mainly the difference between the address expression and the addressing mode.
The current address generation and network addressing mode set reflects two different technical routes: one is machine-oriented understanding, such as IPv4 and IPv 6; secondly, human-oriented understanding, IPv9 made a beneficial attempt in this regard by proposing decimal expressions that are convenient for human understanding. Because addressing needs the combination of a person and a computer, the other side of the addressing needs to be considered in both the modes, so that the IPv6 inherits the mode of IPv4 and solves the understanding problem of the person by binding the address and the domain name; IPv9 also needs to translate the decimal address into 2-ary code for machine understanding, and at the same time, the decimal code is interpreted into the identifier (domain name) it represents by means of a query center (equivalent to phase-change domain name resolution). Although the two have different lengths, the two are not satisfactory, and the most ideal mode is to solve the requirements of people and machines simultaneously by using one method on the premise of people oriented.
Disclosure of Invention
In view of the above, the present invention provides an address generation and addressing method based on identification (id). The method utilizes the characteristic that a hash algorithm can generate fixed-length numerical values from inputs of any length, hash calculation is carried out on id, and the result (Hid) is transcoded and encoded to generate an address, so that integration and normalization of identification and the address are realized.
In the new method, the size of the address space is directly related to the number of bits of the hash, nearly infinite address space can be obtained by lengthening the length of the number of bits (e.g. from 128 bits to 256 bits), and the probability of collision (different ids generate the same hash value) is lower (e.g. the collision probability of SHA256 is only 1.2 × 10)77). When the address space is large enough and the address can be directly generated by using the id, the management of the domain name and the address can be simplified into the management of the id, and the management is simple and direct. In addition, the id is an abstract expression of world everything used by human beings, the direct corresponding relation between the id and an address is constructed through hash calculation, the structure is simplified, the understanding channel between human and machine is unblocked, a socialization and intelligent network space system which is more scientific, reasonable, simple, convenient, efficient, safe and independent is constructed based on human-oriented, the 'everything interconnection' is realized, and a new channel is opened up.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 shows the principle and process of the present invention
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, it will be appreciated by those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The implementation steps of the invention are as follows:
a. firstly, defining id according to set rule, the id content can be name and code number of national department, organization (including international organization), unit, group or individual, also can be telephone number and network domain name, its expression form can be number, words (including various languages) and/or other symbols convenient for people to recognize, understand and memorize, its length can be defined according to the requirements (theoretically, it is not limited).
b. The id is passed through a hash algorithm (e.g., SHA256) to generate a hash value (Hid) of the identity. To prevent hash collision (which would result in address collision), a hash algorithm with a long number of bits and a low collision probability (e.g., SHA256) may be selected.
c. And transcoding the generated Hid to generate a 16-system numerical value, and generating the address of the id according to a custom or by means of an existing address coding mode (such as an overhead hexadecimal representation of IPv 6).
d. In the application with the requirement on the address length (for example, a short address is required), in order to maintain the consistency of the result, the problem is solved by taking the first n bits of the Hid transcoding (for example, taking the first 32 bits from the 64-bit result of the SHA256 as the address) on the premise that the hash algorithm is not changed.
In order to avoid the repeated id, the id can be registered and checked by establishing an identification registration management center, so that the uniqueness of the id is ensured; in order to prevent address collision, the center can record and check the duplicate of the address generated by the id; and can provide the function of back-checking id from address according to special requirements (such as safety and law enforcement).
The above-mentioned translation of the identification to the address is mainly done at the client. The user can calculate and generate the id address by inputting the correct id on the computing terminal (such as a computer, a smart phone and the like) embedded with the software functional module (such as embedded into a browser), and the user can directly connect to the appointed website through a local router or a gateway. If the user can not remember the exact id of the website, the user can inquire the related registration center, can log in a search engine (such as Baidu, Google and the like), and finds out the correct website id by an information inquiry mode or directly leads to a target website through an information link.
The invention adopts the following two compatible strategies for the existing networks, such as IPV4, IPV6 and IPV 9:
1) dual stack (multi-stack) mode of operation. The method is divided according to categories through a router or gateway device supporting double stacks or multiple stacks, and each path is passed without interference. To represent the difference, a category field of 1-5 bits (8-40 bits) may be added in front of the address, such as id to represent identity-based network, v4 to represent IPv4 network, v6 to represent IPv6 network, etc., default to id network.
2) Containing the mirror image approach. In the id network environment, the internet domain name is treated as a kind of id, and a user can generate different addresses by using a unit name and an originally familiar domain name at the same time and point to the same website or server with one station of double names (double addresses) or multiple names (multiple addresses) so as to cater to the use habit of the user.
The following is further illustrated by way of example:
if the user A wants to log in the united states website, the implementation steps are as follows:
1) user a inputs a chinese id on a computer terminal installed with a corresponding software module: "United nations";
2) the software module automatically performs SHA256 calculation on the id, generates Hid of the 'United nations' and generates the following 16-system numerical value sequence by transcoding:
afef8efe03f7e0107b7a2b7f4041d8fe23b4a9dad6edce603f958d6584a62b2f
3) the address directly corresponding to this id is generated with reference to the top-hat hexadecimal representation of IPV 6:
afef:8efe:03f7:e010:7b7a:2b7f:4041:d8fe:23b4:a9da:d6ed:
ce60:3f95:8d65:84a6:2b2f
if a short address is needed, the first n bits are taken, and if the first 32 bits are taken, the final address is:
afef:8efe:03f7:e010:7b7a:2b7f:4041:d8fe
4) after receiving the link request sent by the user A, the local dual-stack (multi-stack) router or gateway judges that the network type identifier is default, and directly guides the network type identifier into the id network to finish the addressing process.
When id addresses are generated by using Hid, all 0 or more 0 phenomena cannot occur in address grouping generally because hash values are distributed uniformly under normal conditions. Once present, preamble 0 may be omitted with reference to the provisions in the IPv6 protocol, and a 0 is used if the entire packet is 0, such as:
the method is as follows 2001: 0DB 8: 0000: 0023: 0008: 0800: 200C: 417A is reduced to:
2001:DB8:0:23:8:800:200C:417A
when in some extreme cases, the address contains a plurality of continuous all-0 bit groups, the continuous 0 bit group can also be compressed into' with reference to the relevant specification in the IPv6 protocol: : ". But to ensure the uniqueness of the address resolution, the following: : "can only occur once. For example:
mixing FF 01: 0: 0: 0: 0: 0: 0: 1101 reduces to FF 01: : 1101
Mixing the weight ratio of 0: 0: 0: 0: 0: 0: 0: 1 is simplified as follows: : 1
Mixing the weight ratio of 0: 0: 0: 0: 0: 0: 0: 0 is simplified as: : etc. of
The address expression method of the IPv6 is borrowed in the invention because the problems of the Internet mainly focus on the aspects of address allocation and domain name resolution, and the design of other parts still does not lose the scientificity and rationality nowadays, so the method provided by the invention can be used for perfecting the method without being pushed to the greatest extent. But doing so is also an inheritance and honor of previous work efforts.
The above description is only a preferred and non-limiting invention, and it is apparent that those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A technique and method for identification-based address generation and direct addressing is characterized by: the identification (id) defined according to the rule is input into a computing terminal (a computer, a smart phone and the like), the terminal generates a hash value with a fixed length through a built-in hash algorithm (such as SHA256), a 16-system numerical value is generated through transcoding, and then the address of the identification is generated through a specific address coding mode.
2. The method of claim 1, further comprising: the id content can be the name and code number of a country, an organization (including an international organization), a unit, a group or an individual, and can also be a telephone number, a network domain name and the like, the expression form of the id content can be numbers, characters (including various languages) and/or other symbols which are convenient for people to recognize, understand and remember, and the length of the id content can be determined according to needs (theoretically, the length is not limited).
3. The method of claim 1, wherein: and generating a hash value (Hid) of the id by using the id through a hash algorithm (such as SHA 256). To prevent hash collision (which would result in address collision), a hash algorithm with a long number of bits and a low collision probability (e.g., SHA256) may be selected.
4. A method according to claims 1 to 3, characterized in that: the Hid is transcoded to generate a 16-ary value and the identified address is generated either by customization or by means of existing address coding, such as the imposition of the sexagesimal notation of IPV 6.
5. The method as claimed in claims 1 to 4, wherein if there is a requirement for the length of the address (requiring a short address), in order to maintain the consistency of the result, the problem is solved by taking the first n bits of the Hid transcoding (e.g. taking the first 32 bits from the 64-bit result of SHA256 as the address) without changing the hash algorithm.
6. The method according to claims 1 to 5, characterized in that: in order to avoid the repeated id, the id can be registered and checked by establishing an identification registration management center, so that the uniqueness of the id is ensured.
7. The method according to claims 1 to 6, characterized in that: in order to prevent address collision, the center records and checks the address generated by the id; and can provide the function of back checking the user id from the address according to special requirements.
8. The method of claim 1, further comprising: the above id-to-address conversion is mainly done at the client. The user can calculate and generate the id address by inputting the correct id on the computing terminal (such as a computer, a smart phone and the like) embedded with the software functional module (such as embedded into a browser), and the user can directly connect to the appointed website through a local router or a gateway.
9. The method of claim 1, further comprising: the existing networks such as IPV4, IPV6 and IPV9 are compatibly processed by adopting a double-stack (multi-stack) operation mode. To represent the difference, a category field of 1-5 bits (8-40 bits) may be added in front of the address, such as id to represent identity-based network, v4 to represent IPv4 network, v6 to represent IPv6 network, etc., default to id network.
10. The method according to claims 1 and 9, characterized in that: the existing network is compatible through the containment mirroring mode. In the id network environment, the internet domain name is treated as a kind of id, and a user can generate different addresses by using a unit name and an originally familiar domain name at the same time and point to the same website or server with one station of double names (double addresses) or multiple names (multiple addresses) so as to cater to the use habit of the user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811281620.1A CN111131527A (en) | 2018-10-31 | 2018-10-31 | Address generation and direct addressing technology and method based on identification |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811281620.1A CN111131527A (en) | 2018-10-31 | 2018-10-31 | Address generation and direct addressing technology and method based on identification |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111131527A true CN111131527A (en) | 2020-05-08 |
Family
ID=70484946
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811281620.1A Pending CN111131527A (en) | 2018-10-31 | 2018-10-31 | Address generation and direct addressing technology and method based on identification |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111131527A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1514593A (en) * | 2003-08-06 | 2004-07-21 | 浙江大学 | Method of automatic forming IPV9 address and searching corresponding IP address and system |
CN102739502A (en) * | 2011-04-01 | 2012-10-17 | 中兴通讯股份有限公司 | Method for realizing network identification conversion, apparatus and system thereof |
CN102833360A (en) * | 2011-06-14 | 2012-12-19 | 普天信息技术研究院有限公司 | Method and device for automatically generating Internet protocol (IP) address of off-line terminal |
CN102882829A (en) * | 2011-07-11 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Transcoding method and system |
-
2018
- 2018-10-31 CN CN201811281620.1A patent/CN111131527A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1514593A (en) * | 2003-08-06 | 2004-07-21 | 浙江大学 | Method of automatic forming IPV9 address and searching corresponding IP address and system |
CN102739502A (en) * | 2011-04-01 | 2012-10-17 | 中兴通讯股份有限公司 | Method for realizing network identification conversion, apparatus and system thereof |
CN102833360A (en) * | 2011-06-14 | 2012-12-19 | 普天信息技术研究院有限公司 | Method and device for automatically generating Internet protocol (IP) address of off-line terminal |
CN102882829A (en) * | 2011-07-11 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Transcoding method and system |
US20140115050A1 (en) * | 2011-07-11 | 2014-04-24 | Tencent Technology (Shenzhen) Company Limited | Method And System For Transcoding |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10257160B2 (en) | Method and system for resolving internet of things heterogeneous identifiers | |
US8001272B2 (en) | Obtaining a valid international destination address | |
CN103248726B (en) | A kind of many reciprocity Internet of Things identification analytic method | |
KR20020082461A (en) | Network address server | |
CN103477613A (en) | Mapping private and public addresses | |
EP1234434B1 (en) | Network address server | |
CN110769080B (en) | Domain name resolution method, related product and computer readable storage medium | |
US9819641B2 (en) | Method of and a processing device handling a protocol address in a network | |
CN102035899A (en) | Method and device for determining addresses in IPv6 (internet protocol version 6) based LAN (local area network) | |
RU2005120234A (en) | SYSTEM AND METHOD FOR RESOLUTION OF NAMES | |
CN102439948B (en) | Determining the group address for an ethernet-based multicast communication | |
CN112291339A (en) | Global load balancing method and system based on cloud analysis | |
CN114244842B (en) | Secure resource scheduling method and device, electronic equipment and storage medium | |
CN114448936A (en) | IPv 6-based encoding traceable network transmission rule verification method | |
US9485214B2 (en) | Use of reversed DNS records for distributed mapping of asymmetric cryptographic keys to custom data | |
CN112866432A (en) | Domain name resolution method, system, electronic equipment and storage medium | |
CN111131527A (en) | Address generation and direct addressing technology and method based on identification | |
CN112995139A (en) | Trusted network, and construction method and construction system of trusted network | |
CN1152298C (en) | Overall complete decimal algorithm to allocate computer address for network computers | |
CN1293403A (en) | General scheme for assigning addresses to networked computers by decimal algorithm | |
CN114731338B (en) | System and method for controlling load of domain name system server | |
Ouyang et al. | Research and Realization of Home Region Authentication Server Resolution Mechanism | |
CA2378697A1 (en) | Network addressing system and method using telephone numbers | |
CN116156006A (en) | Service cataloging and analyzing method based on rule coding | |
KR20020007015A (en) | Addressing architecture and hierarchical routing method for IPv6 network using Postal code structure |
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: 20200508 |
|
RJ01 | Rejection of invention patent application after publication |