CN110505300A - A kind of Novel chain type Proxy Method that IP network is mixed with name data network - Google Patents

A kind of Novel chain type Proxy Method that IP network is mixed with name data network Download PDF

Info

Publication number
CN110505300A
CN110505300A CN201910787610.3A CN201910787610A CN110505300A CN 110505300 A CN110505300 A CN 110505300A CN 201910787610 A CN201910787610 A CN 201910787610A CN 110505300 A CN110505300 A CN 110505300A
Authority
CN
China
Prior art keywords
network
packet
name
data
data packet
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
CN201910787610.3A
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.)
Sun Yat Sen University
National Sun Yat Sen University
Original Assignee
National Sun Yat Sen University
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 National Sun Yat Sen University filed Critical National Sun Yat Sen University
Priority to CN201910787610.3A priority Critical patent/CN110505300A/en
Publication of CN110505300A publication Critical patent/CN110505300A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Abstract

The invention belongs to computer network field, the Novel chain type Proxy Methods mixed more particularly, to a kind of IP network with name data network, comprising: step S1: establish first network;The first network is name data network;Step S2: first network realizes chain type agency;Step S3: establishing the second network, and first network and the second network carry out data interaction;Second network is name data network or TCP/IP network, if the second network is TCP/IP network, has middleware between first network and the second network, for converting to data packet.Setting up for middleware of the present invention makes TCP/IP network and name data network can be carried out information exchange, realizes and applies to name data network among chain type agency.

Description

A kind of Novel chain type Proxy Method that IP network is mixed with name data network
Technical field
The invention belongs to computer network fields, mix more particularly, to a kind of IP network with name data network Novel chain type Proxy Method.
Background technique
As the application of Internet is more and more wider, the safety problem of Internet respective services becomes more and more prominent, The more and more users personal privacy information of exposure, network environment of a safety during online become increasingly important. As bridge --- the proxy server of connection Internet and Intranet, it is mainly used for forwarding the network access of user to ask It asks, controls the behavior of user, decision is carried out to the request received, user's request is filtered according to filtering rule.Agency Server acts on behalf of IP address, can be pretended the safety so as to improve network to the real IP address of user.It is high The agency of quality has very big benefit to network security, and computer is obtained to be invaded and harassed against virus, and privacy information is able to be protected.
Chain type agency, i.e., the multiple agent process of different proxy servers.In single agency service, proxy server energy The IP address of client and the IP address that is accessing enough are grasped, and can be seen between the website that is accessing with plaintext shape All flows of formula exchange.Once proxy server is inherently insincere by hacker attack or agency service provider , the privacy that just will use family leaks, and causes the loss for being difficult to retrieve.Using chain type, agency can prevent problems, because It for data packet is repeatedly acted on behalf of by a series of different proxy servers, avoids user information and concentrate on a certain agency In server, the risk of user information leakage is reduced, privacy of user is protected.In addition, chain type agency also can be well solved The problem of cannot being adapted between network hardware equipment.Under complex network situation, especially the access of long term distance, data packet are past It is past to need by multiple routers, and the router of different vendor is usually that cannot be connected directly, at this time chain type agency is logical Forwarding of the different proxy servers to data packet is crossed, can successfully solve the problems, such as be adapted between multiple equipment.But with Increasing for number is acted on behalf of, the path of agency is progressively longer, and chain type agency starts the problem for having occurred in many performances, such as responds Overlong time, proxy path unmanageable etc..Existing some optimization methods are all that mode carries out end to end around IP network, are had It is improved from unpacking/package method a bit, some are optimized in terms of proxy path, however these methods are not all from root It is solved the problems, such as on this.
It names data network (Named Data Network, NDN), referred to as Future network architectures.It is concerned about no longer It is the source of data, but the content of data, it does not need source and destination binding, but is transmitted and divided according to content Hair, basic element are the data contents with name, and being different from IP network framework is with the communication at IP address identification both ends. Name data network can effectively solve the problems, such as that chain type proxy response overlong time, path are complicated, but fall on a large scale in the short time Ground deployment, and the idea of IP network framework and unrealistic is replaced completely.Therefore need at present it is a kind of can will name data network fortune For the method among chain type agency.
Summary of the invention
To solve the above-mentioned problems, the present invention provides a kind of Novel chain type agency that IP network is mixed with name data network Method, this method can apply to name data network among chain type agency.
The technical solution adopted by the present invention is that:
A kind of Novel chain type Proxy Method that IP network is mixed with name data network, comprising:
Step S1: first network is established;
The first network is name data network;
Step S2: first network realizes chain type agency;
Step S3: establishing the second network, and first network and the second network carry out data interaction;
Second network is name data network or TCP/IP network, if the second network is TCP/IP network, first There is middleware, for converting to data packet between network and the second network.
Firstly, establishing two networks, because chain type agent capabilities can be improved in name data network, one of them must be Name data network.Then, realization chain type agency in data network is being named, by naming the characteristic of data network to make chain type generation Reason is optimized.Name data network characteristic is broadly divided into two o'clock: (1) naming data network without using IP agreement, with TCP/IP Network is different, and name data network does not use IP agreement, therefore the chain type agency of data network is named not need as TCP/IP Network chain type agency equally data packet is unpacked, the operation of package, can be directly forwarded by proxy server, significantly Shorten the response time of chain type agency;(2) it is transmitted and is distributed according to content, what name data network was concerned about is no longer several According to source, but the content of data is different from the TCP/IP network architecture with the communication mode at IP address identification both ends, name Sending and receiving without source and destination binding for data network data, after first time agency service, names data Router in network can also cache Data packet, will when having the Interest packet of identical name to reach router later Data packet is directly returned, router is not needed and further forwards, the path for acting on behalf of chain type is effectively optimized, and is further shortened Response time.Finally, making the name data network for realizing chain type agency and the second network connection, if the second network is name data Network, two networks can be directly attached, and otherwise if TCP/IP network, then need to establish a middleware to two networks Data mutually converted.In the present solution, the second network is TCP/IP network, the setting up of middleware make TCP/IP network with Name data network can be carried out information exchange, realizes and applies to name data network among chain type agency.
Further, the step S2 includes:
The end step S2.1:client issues Interest packet;
Step S2.2: transmitting Interest packet in name data network, if reaching router, executes step S2.3, if Proxy server is reached, step S2.10 is executed, if reaching destination server, executes step S2.11;
The caching of step S2.3:Interest packet and router carries out prefix matching, names identical Data packet if it exists, Step S2.6 is executed, it is no to then follow the steps S2.4;
Step S2.4: it checks in interest table undetermined and names identical list item with the presence or absence of with Interest packet, hold if it exists Row step S2.7, it is no to then follow the steps S2.5;
Step S2.5: forwarding Interest packet according to forwarding information table, and establish corresponding list item in interest table undetermined, Execute step S2.2;
Step S2.6: returning to Data packet, executes step S2.12;
Step S2.7: interface corresponding with Interest packet is added in the list item of interest table undetermined, and is no longer forwarded Interest packet waits the arrival of Data packet, executes step S2.8;
Whether step S2.8: regular check Data packet reaches router, executes step S2.9 if reaching, no to then follow the steps S2.8;
Step S2.9:Data packet reaches router, deletes corresponding list item in interest table undetermined, and Data packet is delayed It deposits, executes step S2.12;
Step S2.10:Interest packet/Data packet reaches proxy server, inquiry forwarding table see prefix matching whether at Function executes step S2.2 if succeeding and being Interest packet;If succeeding and being Data packet, step S2.12 is executed;If unsuccessful It is then discarded into the Interest packet/Data packet come, without agency, terminates process;
Step S2.11:Interest packet reach destination server, destination server carry out to the abstract part in name into Row checks, sees whether meet integrality, returns to Data packet if meeting, the Interest packet of arrival is otherwise abandoned, without generation Reason terminates process;
Step S2.12: Data packet is transmitted in name data network;If reaching router, step S2.8 is executed;If reaching Proxy server executes step S2.10;If reaching client, step S2.13 is executed;
Step S2.13:Data packet returns to client, and agency terminates.
Further, the middleware includes: physical layer, link layer, conversion layer.
Specifically, since two networks can not be directly connected to, to realize information exchange between the two, middleware is needed Data are converted, conversion process is process of the data packet by middleware, and data packet needs to first pass through physical layer, link Layer, conversion layer are unpacked, then Reseal into the packet format of corresponding network.
Further, the middleware, which convert to the data packet of first network and the second network, includes:
IP data packet is converted to the Interest packet of name data network;
The Data packet of name data network is converted to IP data packet.
Further, the IP data packet is converted to the process of Interest packet of name data network and includes:
Step S3.11:IP data packet reaches middleware, by physical layer, is first unpacked by link layer and enters conversion layer, conversion Layer preserves the source address information in network layer packet header;
Step S3.12: carrying out the analysis of application to the request packet, then will be in request header if dynamic resource Userid field and uri are combined the name as Interest packet, if static resource, then directly using uri as The name of Interest packet;
Step S3.13: searching mapping table, and corresponding list item if it exists executes step S3.14, otherwise by the name with Source address information is established mapping relations and is saved, and step S3.14 is executed;
Step S3.14: it is obtained in name data network using the message part that the name Reseals request packet Interest packet.
Specifically, data form the process of IP data packet are as follows: firstly, source host sends the data to application layer, application layer Message transmissions are formed to transport layer plus necessary control information to data, and then, the data received are added this layer by transport layer Control information form message segment, be transferred to network layer, network layer forms datagram plus the control information of this layer, is transferred to chain Road floor.Datagram is assembled framing by link layer, and physical layer is transferred in the form of bit stream, finally, the IP data packet formed Physical layer is left to be transmitted in an ip network.
IP data packet is converted into the process of Interest packet are as follows: IP data packet by IP network transmit reach middleware after, It first passes around physical layer and enters link layer, then unpacked again by link layer and enter conversion layer, conversion layer wraps packet networks layer The source address information (IP address and port numbers) of head (Hn) saves, and the analysis for then carrying out application (determines the money of data packet Source Type), if the resource of request is static resource (such as Today's news etc. resource) unrelated with user identity, directly by http Name of the uri as Interest packet in request;When Interest packet requested resource be dynamic resource (such as account letter The resources relevant to user identity such as breath), then the Userid and uri group in http request head is combined into<userid>:<uri>'s Name form names Interest packet, finally names to establish to map with source address information before by obtained Interest packet and close It is and is stored in mapping table, and Interest packet is generated according to the value that resource property sets each field, generation Interest packet, which enters in name data network, to be transmitted.
Further, the Data packet of the name data network is converted to the process of IP data packet and includes:
Step S3.21: naming the Data packet of data network to reach middleware, by physical layer, first by link layer unpack into Enter conversion layer, conversion layer obtains the name of the response bag;
Step S3.22: middleware inquires mapping table according to name, obtains source address information;
Step S3.23: response bag is packaged again using source address information to obtain IP data packet, while deleting mapping Corresponding list item in relation table.
Specifically, destination host is obeyed the order after a data network receives Interest packet, needs to return data to source host, The process of data formation Data packet are as follows: firstly, destination host sends data to application layer, application layer is message biography data mart modeling To transport layer and network layer, transport layer and network layer are packaged the message of application layer by the way of name, the number of formation It is transferred to link layer according to report, datagram is assembled framing by link layer, is transferred to physical layer, is eventually formed Data packet and is left physical layer It is transmitted in name data network.
Data packet is converted into the process of IP data packet are as follows: when the Data packet of return reaches middleware by name data network When, the mapping table established before needing to inquire obtains the relevant information of source address, solves to the Data packet of name data network The encapsulation that the source address information for recycling inquiry to obtain after packet carries out transport layer and network layer to the message part of application layer obtains IP data packet, while the corresponding list item in mapping table is deleted, it is transmitted using entering in IP network after link layer packaging, most After reach source host, so far IP network and name data network an interactive process terminate.
Further, the ApplicationParameters field of the Interest packet is the message portion of IP data packet Point.
Further, Interest packet CanbePrefix field if it exists, then Interest packet is named as Data The prefix of name is wrapped, otherwise the name of Interest packet is identical as the name of Data packet.
CanbePrefix field is nonessential field, if is existed mainly by the desired data content of Interest packet It determines, when (such as real-time news) that desired data content is desirably accurate, real-time is high, so that it may be arranged, if only It is desirable to inquire the not high content of some relevant, requirement of real-time (such as development of computer history etc.), then can be not provided with.
Further, Interest packet MustbeFresh field if it exists, then router can be read in Interest packet The Data packet of middle storage, otherwise can not read.
MustbeFresh field is nonessential field, if is existed mainly by the desired data content of Interest packet It determines, when (such as real-time news) that desired data content is desirably accurate, real-time is high, so that it may be arranged, if only It is desirable to inquire the not high content of some relevant, requirement of real-time (such as development of computer history etc.), then can be not provided with.
Further, the data packet of the name data network uses TLV said shank.
Compared with prior art, the invention has the benefit that
(1) setting up for middleware makes TCP/IP network and name data network can be carried out information exchange.
(2) it realizes and applies to name data network among chain type agency, the response time for acting on behalf of chain type greatly contracts It is short, optimize the performance of chain type agency.
Detailed description of the invention
Fig. 1 is that the chain type of the invention based on name data network acts on behalf of flow chart;
Fig. 2 interacts schematic diagram with IP network, name data network for middleware of the invention;
Fig. 3 is that IP data packet of the invention is converted to Interest packet flow chart;
Fig. 4 is that Data packet of the invention is converted to IP data packet flow chart;
Fig. 5 is Interest packet field list of the invention;
Fig. 6 is Data packet field list of the invention.
Specific embodiment
Attached drawing of the present invention only for illustration, is not considered as limiting the invention.It is following in order to more preferably illustrate Embodiment, the certain components of attached drawing have omission, zoom in or out, and do not represent the size of actual product;For art technology For personnel, the omitting of some known structures and their instructions in the attached drawings are understandable.
Embodiment
The present embodiment provides the Novel chain type Proxy Methods that a kind of IP network is mixed with name data network, comprising:
Step S1: first network is established;
The first network is name data network;
Step S2: first network realizes chain type agency;
Step S3: establishing the second network, and first network and the second network carry out data interaction;
Second network is name data network or TCP/IP network, if the second network is TCP/IP network, first There is middleware, for converting to data packet between network and the second network.
Firstly, establishing two networks, because chain type agent capabilities can be improved in name data network, one of them must be Name data network.Then, realization chain type agency in data network is being named, by naming the characteristic of data network to make chain type generation Reason is optimized.Name data network characteristic is broadly divided into two o'clock: (1) naming data network without using IP agreement, with TCP/IP Network is different, and name data network does not use IP agreement, therefore the chain type agency of data network is named not need as TCP/IP Network chain type agency equally data packet is unpacked, the operation of package, can be directly forwarded by proxy server, significantly Shorten the response time of chain type agency;(2) it is transmitted and is distributed according to content, what name data network was concerned about is no longer several According to source, but the content of data is different from the TCP/IP network architecture with the communication mode at IP address identification both ends, name Sending and receiving without source and destination binding for data network data, after first time agency service, names data Router in network can also cache Data packet, will when having the Interest packet of identical name to reach router later Data packet is directly returned, router is not needed and further forwards, the path for acting on behalf of chain type is effectively optimized, and is further shortened Response time.Finally, making the name data network for realizing chain type agency and the second network connection, if the second network is name data Network, two networks can be directly attached, and otherwise if TCP/IP network, then need to establish a middleware to two networks Data mutually converted.In embodiment, the second network is TCP/IP network, the setting up of middleware make TCP/IP network with Name data network can be carried out information exchange, realizes and applies to name data network among chain type agency.
Fig. 1 is that the chain type of the invention based on name data network acts on behalf of flow chart, as shown, the step S2 packet It includes:
The end step S2.1:client issues Interest packet;
Step S2.2: transmitting Interest packet in name data network, if reaching router, executes step S2.3, if Proxy server is reached, step S2.10 is executed, if reaching destination server, executes step S2.11;
The caching of step S2.3:Interest packet and router carries out prefix matching, names identical Data packet if it exists, Step S2.6 is executed, it is no to then follow the steps S2.4;
Step S2.4: it checks in interest table undetermined and names identical list item with the presence or absence of with Interest packet, hold if it exists Row step S2.7, it is no to then follow the steps S2.5;
Step S2.5: forwarding Interest packet according to forwarding information table, and establish corresponding list item in interest table undetermined, Execute step S2.2;
Step S2.6: returning to Data packet, executes step S2.12;
Step S2.7: interface corresponding with Interest packet is added in the list item of interest table undetermined, and is no longer forwarded Interest packet waits the arrival of Data packet, executes step S2.8;
Whether step S2.8: regular check Data packet reaches router, executes step S2.9 if reaching, no to then follow the steps S2.8;
Step S2.9:Data packet reaches router, deletes corresponding list item in interest table undetermined, and Data packet is delayed It deposits, executes step S2.12;
Step S2.10:Interest packet/Data packet reaches proxy server, inquiry forwarding table see prefix matching whether at Function executes step S2.2 if succeeding and being Interest packet;If succeeding and being Data packet, step S2.12 is executed;If unsuccessful It is then discarded into the Interest packet/Data packet come, without agency, terminates process;
Step S2.11:Interest packet reach destination server, destination server carry out to the abstract part in name into Row checks, sees whether meet integrality, returns to Data packet if meeting, the Interest packet of arrival is otherwise abandoned, without generation Reason terminates process;
Step S2.12: Data packet is transmitted in name data network;If reaching router, step S2.8 is executed;If reaching Proxy server executes step S2.10;If reaching client, step S2.13 is executed;
Step S2.13:Data packet returns to client, and agency terminates.
Further, the middleware includes: physical layer, link layer, conversion layer.
Specifically, since two networks can not be directly connected to, to realize information exchange between the two, middleware is needed Data are converted, conversion process is process of the data packet by middleware, and data packet needs to first pass through physical layer, link Layer, conversion layer are unpacked, then Reseal into the packet format of corresponding network.
Fig. 2 interacts schematic diagram with IP network, name data network for middleware of the invention, as shown, the centre Part carries out conversion to the data packet of first network and the second network
IP data packet is converted to the Interest packet of name data network;
The Data packet of name data network is converted to IP data packet.
Fig. 3 is that IP data packet of the invention is converted to Interest packet flow chart, as shown, the IP data packet is converted The process of Interest packet to name data network includes:
Step S3.11:IP data packet reaches middleware, by physical layer, is first unpacked by link layer and enters conversion layer, conversion Layer preserves the source address information in network layer packet header;
Step S3.12: carrying out the analysis of application to the request packet, then will be in request header if dynamic resource Userid field and uri are combined the name as Interest packet, if static resource, then directly using uri as The name of Interest packet;
Step S3.13: searching mapping table, and corresponding list item if it exists executes step S3.14, otherwise by the name with Source address information is established mapping relations and is saved, and step S3.14 is executed;
Step S3.14: it is obtained in name data network using the message part that the name Reseals request packet Interest packet.
Specifically, data form the process of IP data packet are as follows: firstly, source host sends the data to application layer, application layer Message transmissions are formed to transport layer plus necessary control information to data, and then, the data received are added this layer by transport layer Control information form message segment, be transferred to network layer, network layer forms datagram plus the control information of this layer, is transferred to chain Road floor.Datagram is assembled framing by link layer, and physical layer is transferred in the form of bit stream, finally, the IP data packet formed Physical layer is left to be transmitted in an ip network.
IP data packet is converted into the process of Interest packet are as follows: IP data packet by IP network transmit reach middleware after, It first passes around physical layer and enters link layer, then unpacked again by link layer and enter conversion layer, conversion layer wraps packet networks layer The source address information (IP address and port numbers) of head (Hn) saves, and the analysis for then carrying out application (determines the money of data packet Source Type), if the resource of request is static resource (such as Today's news etc. resource) unrelated with user identity, directly by http Name of the uri as Interest packet in request;When Interest packet requested resource be dynamic resource (such as account letter The resources relevant to user identity such as breath), then the Userid and uri group in http request head is combined into<userid>:<uri>'s Name form names Interest packet, finally names to establish to map with source address information before by obtained Interest packet and close It is and is stored in mapping table, and Interest packet is generated according to the value that resource property sets each field, generation Interest packet, which enters in name data network, to be transmitted.
Fig. 4 is converted to IP data packet flow chart for Data packet of the invention, as shown, the name data network The process that Data packet is converted to IP data packet includes:
Step S3.21: naming the Data packet of data network to reach middleware, by physical layer, first by link layer unpack into Enter conversion layer, conversion layer obtains the name of the response bag;
Step S3.22: middleware inquires mapping table according to name, obtains source address information;
Step S3.23: response bag is packaged again using source address information to obtain IP data packet, while deleting mapping Corresponding list item in relation table.
Specifically, destination host is obeyed the order after a data network receives Interest packet, needs to return data to source host, The process of data formation Data packet are as follows: firstly, destination host sends data to application layer, application layer is message biography data mart modeling To transport layer and network layer, transport layer and network layer are packaged the message of application layer by the way of name, the number of formation It is transferred to link layer according to report, datagram is assembled framing by link layer, is transferred to physical layer, is eventually formed Data packet and is left physical layer It is transmitted in name data network.
Data packet is converted into the process of IP data packet are as follows: when the Data packet of return reaches middleware by name data network When, the mapping table established before needing to inquire obtains the relevant information of source address, solves to the Data packet of name data network The encapsulation that the source address information for recycling inquiry to obtain after packet carries out transport layer and network layer to the message part of application layer obtains IP data packet, while the corresponding list item in mapping table is deleted, it is transmitted using entering in IP network after link layer packaging, most After reach source host, so far IP network and name data network an interactive process terminate.
Fig. 5 is Interest packet field list of the invention, as shown in the figure, it is known that each field definition;
Fig. 6 is Data packet field list of the invention, as shown in the figure, it is known that each field definition;
Further, the ApplicationParameters field of the Interest packet is the message portion of IP data packet Point.
Further, Interest packet CanbePrefix field if it exists, then Interest packet is named as Data The prefix of name is wrapped, otherwise the name of Interest packet is identical as the name of Data packet.
CanbePrefix field is nonessential field, if is existed mainly by the desired data content of Interest packet It determines, when (such as real-time news) that desired data content is desirably accurate, real-time is high, so that it may be arranged, if only It is desirable to inquire the not high content of some relevant, requirement of real-time (such as development of computer history etc.), then can be not provided with.
Further, Interest packet MustbeFresh field if it exists, then router can be read in Interest packet The Data packet of middle storage, otherwise can not read.
MustbeFresh field is nonessential field, if is existed mainly by the desired data content of Interest packet It determines, when (such as real-time news) that desired data content is desirably accurate, real-time is high, so that it may be arranged, if only It is desirable to inquire the not high content of some relevant, requirement of real-time (such as development of computer history etc.), then can be not provided with.
Further, the data packet of the name data network uses TLV said shank.
Obviously, the above embodiment of the present invention is only intended to clearly illustrate technical solution of the present invention example, and It is not the restriction to a specific embodiment of the invention.It is all made within the spirit and principle of claims of the present invention Any modifications, equivalent replacements, and improvements etc., should all be included in the scope of protection of the claims of the present invention.

Claims (10)

1. the Novel chain type Proxy Method that a kind of IP network is mixed with name data network, which is characterized in that the described method includes:
Step S1: first network is established;
The first network is name data network;
Step S2: first network realizes chain type agency;
Step S3: establishing the second network, and first network and the second network carry out data interaction;
Second network is name data network or TCP/IP network, if the second network is TCP/IP network, first network There is middleware between the second network, for converting to data packet.
2. the Novel chain type Proxy Method that a kind of IP network according to claim 1 is mixed with name data network, special Sign is that the step S2 includes:
The end step S2.1:client issues Interest packet;
Step S2.2: transmitting Interest packet in name data network, if reaching router, executes step S2.3, if reaching Proxy server executes step S2.10, if reaching destination server, executes step S2.11;
The caching of step S2.3:Interest packet and router carries out prefix matching, names identical Data packet if it exists, executes Step S2.6, it is no to then follow the steps S2.4;
Step S2.4: it checks in interest table undetermined and names identical list item with the presence or absence of with Interest packet, execute step if it exists Rapid S2.7, it is no to then follow the steps S2.5;
Step S2.5: Interest packet is forwarded according to forwarding information table, and establishes corresponding list item in interest table undetermined, is executed Step S2.2;
Step S2.6: returning to Data packet, executes step S2.12;
Step S2.7: interface corresponding with Interest packet is added in the list item of interest table undetermined, and no longer forwards Interest Packet waits the arrival of Data packet, executes step S2.8;
Whether step S2.8: regular check Data packet reaches router, executes step S2.9 if reaching, no to then follow the steps S2.8;
Step S2.9:Data packet reaches router, deletes corresponding list item in interest table undetermined, and Data packet is cached, Execute step S2.12;
Step S2.10:Interest packet/Data packet reaches proxy server, and inquiry forwarding table sees whether prefix matching succeeds, if Succeed and be Interest packet, executes step S2.2;If succeeding and being Data packet, step S2.12 is executed;It is abandoned if unsuccessful Interest packet/Data packet of arrival terminates process without agency;
Step S2.11:Interest packet reaches destination server, and destination server examine to the abstract part in name It looks into, sees whether meet integrality, return to Data packet if meeting, otherwise abandon the Interest packet of arrival, without agency, knot Line journey;
Step S2.12: Data packet is transmitted in name data network;If reaching router, step S2.8 is executed;If reaching agency Server executes step S2.10;If reaching client, step S2.13 is executed;
Step S2.13:Data packet returns to client, and agency terminates.
3. the Novel chain type Proxy Method that a kind of IP network according to claim 1 is mixed with name data network, special Sign is that the middleware includes: physical layer, link layer, conversion layer.
4. the Novel chain type Proxy Method that a kind of IP network according to claim 3 is mixed with name data network, special Sign is that the middleware carries out conversion to the data packet of first network and the second network and includes:
IP data packet is converted to the Interest packet of name data network;
The Data packet of name data network is converted to IP data packet.
5. the Novel chain type Proxy Method that a kind of IP network according to claim 4 is mixed with name data network, special Sign is that the process that the IP data packet is converted to the Interest packet of name data network includes:
Step S3.11:IP data packet reaches middleware, by physical layer, is first unpacked by link layer and enters conversion layer, conversion layer will Source address information in network layer packet header preserves;
Step S3.12: the analysis of application is carried out to the request packet, if dynamic resource then by the Userid word in request header Section is combined the name as Interest packet with uri, if static resource, then directly using uri as Interest packet Name;
Step S3.13: searching mapping table, if it exists corresponding list item, executes step S3.14, otherwise by the name and source Location information is established mapping relations and is saved, and step S3.14 is executed;
Step S3.14: the Interest in name data network is obtained using the message part that the name Reseals request packet Packet.
6. the Novel chain type Proxy Method that a kind of IP network according to claim 4 is mixed with name data network, special Sign is that the process that the Data packet of the name data network is converted to IP data packet includes:
Step S3.21: naming the Data packet of data network to reach middleware, by physical layer, is first entered by link layer unpacking and is turned Layer is changed, conversion layer obtains the name of the response bag;
Step S3.22: middleware inquires mapping table according to name, obtains source address information;
Step S3.23: response bag is packaged again using source address information to obtain IP data packet, while deleting mapping relations Corresponding list item in table.
7. the Novel chain type Proxy Method that a kind of IP network according to claim 5 is mixed with name data network, special Sign is that the ApplicationParameters field of the Interest packet is the message part of IP data packet.
8. the Novel chain type Proxy Method that a kind of IP network according to claim 5 is mixed with name data network, special Sign is, Interest packet CanbePrefix field if it exists, then Interest packet be named as the name of Data packet before Sew, otherwise the name of Interest packet is identical as the name of Data packet.
9. the Novel chain type Proxy Method that a kind of IP network according to claim 5 is mixed with name data network, special Sign is, Interest packet MustbeFresh field if it exists, then Interest packet can be read stores in router Otherwise Data packet can not be read.
10. the Novel chain type Proxy Method that a kind of IP network according to claim 1 is mixed with name data network, special Sign is that the data packet of the name data network uses TLV said shank.
CN201910787610.3A 2019-08-23 2019-08-23 A kind of Novel chain type Proxy Method that IP network is mixed with name data network Pending CN110505300A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910787610.3A CN110505300A (en) 2019-08-23 2019-08-23 A kind of Novel chain type Proxy Method that IP network is mixed with name data network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910787610.3A CN110505300A (en) 2019-08-23 2019-08-23 A kind of Novel chain type Proxy Method that IP network is mixed with name data network

Publications (1)

Publication Number Publication Date
CN110505300A true CN110505300A (en) 2019-11-26

Family

ID=68589319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910787610.3A Pending CN110505300A (en) 2019-08-23 2019-08-23 A kind of Novel chain type Proxy Method that IP network is mixed with name data network

Country Status (1)

Country Link
CN (1) CN110505300A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464667A (en) * 2020-03-20 2020-07-28 北京信息科技大学 Method and system for realizing named data network communication based on IP network
CN114501068A (en) * 2022-04-07 2022-05-13 鹏城实验室 Video live broadcast method, architecture, system and computer readable storage medium
CN115580666A (en) * 2022-12-12 2023-01-06 中国科学技术大学 IP-NDN intercommunication method, system, equipment and storage medium for content access

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227341A (en) * 2014-06-30 2016-01-06 帕洛阿尔托研究中心公司 For the system and method by content center network management devices
CN107634935A (en) * 2017-08-11 2018-01-26 北京大学深圳研究生院 A kind of content management-control method, device and the storage medium of NDN and IP UNEs
US10103986B2 (en) * 2013-07-31 2018-10-16 Huawei Technologies Co., Ltd. Method, apparatus and system for determining content acquisition path and processing request

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10103986B2 (en) * 2013-07-31 2018-10-16 Huawei Technologies Co., Ltd. Method, apparatus and system for determining content acquisition path and processing request
CN105227341A (en) * 2014-06-30 2016-01-06 帕洛阿尔托研究中心公司 For the system and method by content center network management devices
CN107634935A (en) * 2017-08-11 2018-01-26 北京大学深圳研究生院 A kind of content management-control method, device and the storage medium of NDN and IP UNEs

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈璐: "命名数据网络移动性机制研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464667A (en) * 2020-03-20 2020-07-28 北京信息科技大学 Method and system for realizing named data network communication based on IP network
CN111464667B (en) * 2020-03-20 2022-08-26 北京信息科技大学 Method and system for realizing named data network communication based on IP network
CN114501068A (en) * 2022-04-07 2022-05-13 鹏城实验室 Video live broadcast method, architecture, system and computer readable storage medium
CN115580666A (en) * 2022-12-12 2023-01-06 中国科学技术大学 IP-NDN intercommunication method, system, equipment and storage medium for content access
CN115580666B (en) * 2022-12-12 2023-03-10 中国科学技术大学 IP-NDN intercommunication method, system, equipment and storage medium for content access

Similar Documents

Publication Publication Date Title
US8176164B1 (en) Method and system for managing network traffic
US9380008B2 (en) Method and apparatus for high-speed processing of structured application messages in a network device
US8799403B2 (en) Caching content and state data at a network element
US8412838B1 (en) Method of and system for analyzing the content of resource requests
US7962582B2 (en) Enforcing network service level agreements in a network element
US5673322A (en) System and method for providing protocol translation and filtering to access the world wide web from wireless or low-bandwidth networks
US7509431B2 (en) Performing message and transformation adapter functions in a network element on behalf of an application
US8533308B1 (en) Network traffic management through protocol-configurable transaction processing
CN110505300A (en) A kind of Novel chain type Proxy Method that IP network is mixed with name data network
RU2660635C2 (en) Method and apparatus for controlling service chain of service flow
WO2006073740A2 (en) Interpreting an application message at a network element using sampling and heuristics
US11196833B1 (en) Proxy server synchronizer
US20130212159A1 (en) Method, Apparatus and System for Intercepted Triggering of Execution of Internet Services
CN103460676A (en) Flow routing protocol by querying a remote server
US20120331551A1 (en) Detecting Phishing Attempt from Packets Marked by Network Nodes
CN110149235A (en) A kind of tree network agency plant for supporting multi-user and multiple network protocol, dynamic extending
CN104756462B (en) For carrying out the method and system of TCP TURN operation after restricted firewall
US7689648B2 (en) Dynamic peer network extension bridge
CN102223266A (en) Method and device for detecting protocol agent
CN114710560A (en) Data processing method and system, proxy equipment and terminal equipment
CN106572121B (en) A kind of auditing method and device of VPN data
US11330074B2 (en) TCP (transmission control protocol) fast open for classification acceleration of cache misses in a network processor
Li et al. Protocol Analysis Method Based on State Machine
EP1551142A1 (en) A gateway for coupling of passive and active networks
EP3525412A1 (en) Improved connectionless data transport protocol

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191126