A kind of IPv4 electric power terminal inserts the method for IPv6 electric power data communication network
Technical field
The invention belongs to the electric power data communications field, a kind of method that inserts IPv6 electric power data communication network based on the IPv4 electric power terminal of map addresses and security constraint has been proposed, and Bindery security constraint, how the electric power terminal (for example electricity consumption acquisition terminal or the like) that solves band IPv4 address will insert electric power IPv6 data communication network in future.Method of the present invention is called for short MAS (MatchAddress with Security).
Background technology
The IP agreement is the core protocol of the Internet.Present widely used IPv4 agreement is in the design of phase at the end of the seventies in last century, and no matter from computer development itself or from internet scale and network transmission speed, IPv4 has been difficult to adapt to requirement.IPv4 address total amount is 2 32 powers promptly 4,294,967,296, the usefulness but 32 IPv4 address has been nowhere near, and the expert estimates that global ip v4 address resource will exhaust in 2012 years.
Adopting length is the IPv6 agreement of 128 IP addresses, can solve the difficult problem of IPv4 address shortage, and at aspects such as address capability, fail safe, network management, mobility and service quality tangible improvement be arranged.But IPv4 will be very long process to the IPv6 transition, need consider the existing investment of existing each network operation entity, and this comprises many aspects such as equipment investment, market investment, technological reserve, talents reserve.Have only networking technology and its corresponding scheme of protecting existing investment well, just can have better practicability.
Aspect operation useful life, all kinds of assets generation gap differences are huge in the power industry.For example, machinery/civil engineering class assets are 40 to 70 years, and the electric information assets are 20 to 30 years, and the communication device class assets are 8 to 10 years, and information equipment class assets are 4 to 5 years.The operation useful life aspect, electric power terminal will be higher than the electric power data communication network.Present electric power terminal all is based on the IPv4 agreement basically.So the IPv4 electric power terminal inserts the method for electric power IPv6 data communication network, has great demand in future.
At present, the method for IPv4 terminal accessing IP v6 data communication network comprises in the marginal router of terminal, dual stack of dual stack and the IPv6 data communication network and sets up the IPv4 tunnel.All there are cost height, technical sophistication, deficiency that the realization difficulty is big, and have address safety hidden danger.
Summary of the invention
The present invention proposes a kind of method that inserts IPv6 electric power data communication network based on the IPv4 electric power terminal of map addresses and security constraint.Referring to Fig. 1.
The definition address field is as follows.
A=[a
1?a
2?...?a
32]
A is an IPv4 address matrix vector in the formula, a
1a
2... a
32For 32 bit address of IPv4 electric power terminal are arranged from high to low.
B=[b
1?b
2?...?b
128]
B is an IPv6 address matrix vector in the formula, b
1b
2... b
128For 128 bit address of IPv6 electric power terminal are arranged from high to low.
Definition map addresses matrix is as follows.
Work as n=128, during m=32,
H is the map addresses matrix of IPv4 to IPv6, wherein h in the formula
11To h
32 128Be the element of IPv4 in the map addresses matrix H of IPv6 of 32 row 128 row;
H in the formula
-1Being the inverse matrix of H, also is the map addresses matrix of IPv6 to IPv4, wherein g
11To g
128 32Be the map addresses matrix H of the IPv6 of 128 row, 32 row to IPv4
-1Element in (being the inverse matrix of H).
Realize that the map addresses matrix relationship of electric power terminal from IPv4 to IPv6 is as follows,
B=AH
Realize that the map addresses matrix relationship of electric power terminal from IPv6 to IPv4 is as follows,
A=BH
-1
The address safety constraint is made of jointly two security domains, the one, electric power system class of business security domain (comprising electrical production category information, information system management information, marketing category information, the interactive category information of intelligent grid user etc.), the 2nd, electric power system geographic area security domain (comprise 4 levels: zone, province, city, county).
X=[x
1,x
2,x
3,x
4]
X is an electric power system class of business security domain matrix-vector
x
1, x
2, x
3, x
4Be respectively the security domain matrix-vector of electrical production category information, information system management information, marketing category information, the interactive category information of intelligent grid user etc.
Y=[y
1,y
2,y
3,y
4]
Y is an electric power system geographic area security domain
y
1, y
2, y
3, y
4Be respectively region class, provincial, city-level, at county level etc. security domain matrix-vector.
[X, Y] is address safety constraint matrix vector.
Be IPv4 address matrix vector based on map addresses and security constraint (MAS),
Be IPv6 address matrix vector based on map addresses and security constraint (MAS),
The present invention sends out the logic block-diagram of receiving both direction and sees Fig. 2 and Fig. 3.
The advantage of technical solution of the present invention is: future; after the transition of electric power data communication network is IPv6; the existing electric power asset of protection; need not change existing IPv4 terminal; use the present invention; safety; easy and realize following four kinds of application at low cost; the one, realize between IPv4 electric power terminal and the IPv6 electric power terminal exchanges data with communicate by letter; the 2nd, realize the IPv4 electric power terminal insert between IPv6 network and the IPv6 electric power terminal exchanges data with communicate by letter; the 3rd, realize that the IPv4 electric power terminal inserts the IPv6 network and finishes between the IPv4 electric power terminal exchanges data and communicate by letter, the 4th, realize between IPv4 electric power terminal and the IPv4 electric power terminal exchanges data with communicate by letter.
Description of drawings
The present invention is further described below in conjunction with accompanying drawing.
Fig. 1 is the flow chart of the inventive method;
Fig. 2 is one of logic block-diagram of the present invention;
Fig. 3 is two of a logic block-diagram of the present invention;
Fig. 4 is specific embodiments of the invention one;
Fig. 5 is specific embodiments of the invention two;
Fig. 6 is specific embodiments of the invention three;
Fig. 7 is a block diagram of describing role of the present invention from application point.
Embodiment
A kind of method that inserts IPv6 electric power data communication network based on the IPv4 electric power terminal of map addresses and security constraint: four kinds of embodiments are arranged.
The one, realize between IPv4 electric power terminal and the IPv6 electric power terminal exchanges data with communicate by letter, method of the present invention is near the IPv4 electric power terminal, concrete enforcement as shown in Figure 4.The IPv4 electric power terminal sends the process of data by method of the present invention: S1.1 → S1.2 of Fig. 1 → S1.3 → S1.4 →, the IPv4 electric power terminal receives the process of data by method of the present invention: S2.1 → S2.3 of Fig. 2 → S2.4 →.
The 2nd, realize the IPv4 electric power terminal insert between IPv6 network and the IPv6 electric power terminal exchanges data with communicate by letter, the close IPv4 electric power terminal of method of the present invention is specifically implemented referring to Fig. 5.The IPv4 electric power terminal sends the process of data by method of the present invention: S1.1 → S1.2 of Fig. 1 → S1.3 → S1.4 →, the IPv4 electric power terminal receives the process of data by method of the present invention: S2.1 → S2.3 of Fig. 2 → S2.4 →.
The 3rd, realize that the IPv4 electric power terminal inserts the IPv6 network and finishes between the IPv4 electric power terminal exchanges data and communicate by letter, method of the present invention is specifically implemented referring to Fig. 6 near the IPv4 electric power terminal at two ends.Among Fig. 6, the IPv4 electric power terminal of left end sends the process of data by method of the present invention: S1.1 → S1.2 of Fig. 1 → S1.3 → S1.4 →, receive the process of data by method of the present invention: S2.1 → S2.3 of Fig. 2 → S2.4 →.The same left end of process that the IPv4 electric power terminal of right-hand member transmits and receive data.
The 4th, realize between IPv4 electric power terminal and the IPv4 electric power terminal exchanges data with communicate by letter, under this kind situation, method of the present invention has only been used security constraint, does not need to carry out map addresses, the close IPv4 electric power terminal of method of the present invention.One end IPv4 electric power terminal sends the process of data by method of the present invention: S1.1 → S1.2 of Fig. 1 → S1.5 →, receive the process of data by method of the present invention: S2.1 → S2.2 of Fig. 2 →.The process that other end IPv4 electric power terminal transmits and receive data is identical with it.
Comprehensive above-mentioned four kinds of embodiments, certain IPv4 electric power terminal, the process that sends data by method of the present invention can be expressed as logic block Fig. 2, and the process that receives data by method of the present invention can be expressed as logic block Fig. 3.
Be the block diagram of describing role of the present invention from application point as shown in Figure 7, be mainly reflected in following four aspects from application point role of the present invention.Data communication services between the following information of electric power system specifically comprises control informations such as intelligent grid generating, transmission of electricity, power transformation, distribution, scheduling, also comprises information such as intelligent grid user interactive information and information system management, marketing.
The one, realize that the IP electric power terminal of power plant, transmission line, transformer station, power distribution network, electric dispatching office etc. connects data communication network by method of the present invention, finish data communication each other.
The 2nd, realize that distribution scheduling institute, marketing institute, electricity consumption user's etc. IP electric power terminal connects data communication network by method of the present invention, finish data communication each other.
The 3rd, realize that the IP electric power terminal of administrative departments such as management, marketing, finance connects data communication network by method of the present invention, finish data communication each other.
The 4th, realize preceding 3 kinds of situation IP electric power terminals between any two, connect data communication network by method of the present invention, finish data communication each other.
The example that uses method of the present invention to calculate is as follows.The address of certain IPv4 electric power terminal is 192.168.0.10, when sending packet, is mapped as the packet that the IPv6 address is fe80::280:92ff:fe00:1122 by method of the present invention, with exchanges data between IPv6 electric power terminal or the IPv6 network with communicate by letter.When receiving packet, be 192.168.0.10 by method of the present invention with the IPv6 map addresses of fe80::280:92ff:fe00:1122, and then realize the correct packet that receives.
The soluble concrete technical problem of the present invention is exemplified below.
By the present invention, can realize between IPv4 electric power terminal and the IPv6 electric power terminal exchanges data and communicate by letter, referring to Fig. 4.
By the present invention, can realize that the IPv4 electric power terminal inserts the IPv6 network, with exchanges data between the IPv6 electric power terminal with communicate by letter, referring to Fig. 5.
By the present invention, can realize that the IPv4 electric power terminal inserts the IPv6 network, finish between the IPv4 electric power terminal exchanges data and communicate by letter, referring to Fig. 6.
Invention has been described according to specific exemplary embodiment herein.It will be conspicuous carrying out suitable replacement to one skilled in the art or revise under not departing from the scope of the present invention.Exemplary embodiment only is illustrative, rather than to the restriction of scope of the present invention, scope of the present invention is by appended claim definition.