Summary of the invention
The present invention is based on the above problems, proposes a kind of new data communication technology, can make content center net
Each node in network only retains the shortest resource path of length, so that the excessive occupancy to bandwidth resources is helped avoid,
And accelerate acquisition of the node to resource.
In view of this, being located in content center network, the data communication the invention proposes a kind of data communications equipment
Equipment includes: information generating unit, and any one resource for possessing for the data communications equipment generates corresponding resource
Information, the resource information include mark, link directional information and any node of any one resource apart from the resource
Path length;Information transmitting unit, for resource information described in other node broadcasts into the content center network.
In the technical scheme, for the resource information of any one resource, it is added to present node (i.e. described any section
Point) and the resource between path length, i.e., when present node needs to obtain the resource, the hop count of required experience.It is logical
Cross setting path length, enable other nodes for receiving the resource information recognize between present node and resource away from
From to can determine specifically which node to initiate request to according to path length when needing to obtain the resource.Due to current
Node possesses the resource, thus the path length in corresponding resource information is 0;Other nodes (it is assumed that node A) are if connect
When receiving the resource information that present node (it is assumed that node B) and another node (it is assumed that node C) are sent, due to B pairs of node
The path length answered is 0, i.e. node B possesses the resource, and the corresponding path length of node C is d(d > 0), i.e. node C itself
Do not possess the resource, need to obtain and forward resource at other nodes, such as node B, therefore, node A is by section
Point B, which is issued, to be requested, and not a node C, can be obtained corresponding resource as early as possible, not only saved the time, but also help to reduce to bandwidth
Occupancy.
In the above-mentioned technical solutions, it is preferable that the resource information further include: the effective time of any one resource, then institute
It states information transmitting unit to be also used to: before the effective time expires, retransmitting the resource information.
In the technical scheme, by the way that effective time is arranged, so that the owning side of resource is according to negotiation (due to resource information
In include the effective time, be equivalent to and perform negotiation between sender and recipient) good time interval or time point (have
The effect time) resource information is sent repeatedly, to realize the update to resource information.
By the transmission repeatedly to resource information, it is equivalent to and is maintained between the sender and recipient of resource information
The occurrence of " heartbeat detection " disconnects or when other situations so that sender occurs, and recipient can recognize in time,
And it makes a response as early as possible, for example delete the resource information, or delete the link directional information that this resource is directed toward the sender.
In any of the above-described technical solution, it is preferable that further include: Table edit unit, for the resource information to be added
It adds in the fib table of any node, and by broadcasting the fib table, to broadcast the resource information.
In the technical scheme, can be by the way that resource information be added in fib table, and fib table is directly transmitted, so that working as
There are when multiple interest, it is only necessary to a fib table is sent, without repeatedly sending the corresponding resource letter of each interest respectively
Breath.
In any of the above-described technical solution, it is preferable that further include: any one of described resource includes: resource data and/or net
Network interface resource.
In any of the above-described technical solution, it is preferable that further include: requesting processing is received for obtaining to correspond to
Solicited message resource data, or execute the solicited message using the network interface resources;Data transmission unit is used for
The resource data for corresponding to the solicited message is returned to the sender of the solicited message, or utilizes the network interface resources
Result data after executing the solicited message.
In the technical scheme, resource data can be specific data or file etc., when some node requests the resource
When data, the resource data can be directly returned.
Resource data can also be network interface resources, such as Wireless LAN (such as WIFI) interface resource, wireless shifting
Dynamic communication network (4G network such as the 3G networks such as such as GPRS 2G network, WCDMA, LTE etc.) interface resource, due to content center net
In network may there is only part of nodes to have above-mentioned network interface resources, then other nodes can be by above-mentioned part of nodes
Request is initiated, to share network interface resources.It specifically, such as can be by by the network operation needed to be implemented or needing to access
Network address be sent to above-mentioned part of nodes, to execute the network operation by these nodes or access the network address, and
Operating result or the linked contents of network address are returned into requesting party, to complete using the node with network interface resources as net
The operating process of network agency.
The invention also provides a kind of data communications methods, comprising: any node in content center network is directed to itself
Any one resource possessed, generates corresponding resource information, and the resource information includes the mark of any one resource, link direction
The path length of information and any node apart from the resource;Other into the content center network of any node
Resource information described in node broadcasts.
In the technical scheme, for the resource information of any one resource, it is added to present node (i.e. described any section
Point) and the resource between path length, i.e., when present node needs to obtain the resource, the hop count of required experience.It is logical
Cross setting path length, enable other nodes for receiving the resource information recognize between present node and resource away from
From to can determine specifically which node to initiate request to according to path length when needing to obtain the resource.Due to current
Node possesses the resource, thus the path length in corresponding resource information is 0;Other nodes (it is assumed that node A) are if connect
When receiving the resource information that present node (it is assumed that node B) and another node (it is assumed that node C) are sent, due to B pairs of node
The path length answered is 0, i.e. node B possesses the resource, and the corresponding path length of node C is d(d > 0), i.e. node C itself
Do not possess the resource, need to obtain and forward resource at other nodes, such as node B, therefore, node A is by section
Point B, which is issued, to be requested, and not a node C, can be obtained corresponding resource as early as possible, not only saved the time, but also help to reduce to bandwidth
Occupancy.
In the above-mentioned technical solutions, it is preferable that the resource information further include: the effective time of any one resource;And
Before the effective time expires, the resource information is retransmitted.
In the technical scheme, by the way that effective time is arranged, so that the owning side of resource is according to negotiation (due to resource information
In include the effective time, be equivalent to and perform negotiation between sender and recipient) good time interval or time point (have
The effect time) resource information is sent repeatedly, to realize the update to resource information.
By the transmission repeatedly to resource information, it is equivalent to and is maintained between the sender and recipient of resource information
The occurrence of " heartbeat detection " disconnects or when other situations so that sender occurs, and recipient can recognize in time,
And it makes a response as early as possible, for example delete the resource information, or delete the link directional information that this resource is directed toward the sender.
In any of the above-described technical solution, it is preferable that further include: the resource information is added to any node
In fib table, and by broadcasting the fib table, to broadcast the resource information.
In the technical scheme, can be by the way that resource information be added in fib table, and fib table is directly transmitted, so that working as
There are when multiple interest, it is only necessary to a fib table is sent, without repeatedly sending the corresponding resource letter of each interest respectively
Breath.
In any of the above-described technical solution, it is preferable that any one of described resource includes: resource data and/or network interface
Resource.
In any of the above-described technical solution, it is preferable that further include: obtain the number of resources for corresponding to the solicited message received
According to, or utilize the network interface resources execution solicited message;It is returned to the sender of the solicited message and corresponds to institute
The resource data of solicited message is stated, or executes the result data after the solicited message using the network interface resources.
In the technical scheme, resource data can be specific data or file etc., when some node requests the resource
When data, the resource data can be directly returned.
Resource data can also be network interface resources, such as Wireless LAN (such as WIFI) interface resource, wireless shifting
Dynamic communication network (4G network such as the 3G networks such as such as GPRS 2G network, WCDMA, LTE etc.) interface resource, due to content center net
In network may there is only part of nodes to have above-mentioned network interface resources, then other nodes can be by above-mentioned part of nodes
Request is initiated, to share network interface resources.It specifically, such as can be by by the network operation needed to be implemented or needing to access
Network address be sent to above-mentioned part of nodes, to execute the network operation by these nodes or access the network address, and
Operating result or the linked contents of network address are returned into requesting party, to complete using the node with network interface resources as net
The operating process of network agency.
The invention also provides a kind of data communications equipment, are located in content center network, the data communications equipment packet
Include: information receiving unit, for receiving the resource information from any node, the resource information includes at least one resource
Identify, be directed toward path length of the first the link directional information and any node of any node apart from the resource;Letter
Storage unit is ceased, for storing the resource information.
In the technical scheme, for the resource information of any one resource, it is added to present node (i.e. described any section
Point) and the resource between path length, i.e., when present node needs to obtain the resource, the hop count of required experience.It is logical
Cross setting path length so that the node (such as data communications equipment) for receiving the resource information can recognize present node with
The distance between resource can be determined specifically to which node (when depositing according to path length thus when needing to obtain the resource
When multiple nodes all have sent the resource information corresponding to same resource) initiate request.
In the above-mentioned technical solutions, it is preferable that further include: information selecting section, for receiving the same item money of direction
In the case where a plurality of resource information in source, the corresponding shortest resource information of path length is selected, so that the information stores list
Member is stored.
In the technical scheme, when receive it is from multiple nodes, corresponding to same item resource resource information when, lead to
The comparison to path length is crossed, so that the acquisition to resource can be realized via shortest path length, helps to reduce to band
The occupancy of wide resource, and improve the acquisition efficiency to resource.
Certainly, identical if there is the path length for including in multiple resource informations and all most short, then it can store simultaneously
The corresponding resource information of all shortest path lengths, to enhance reliability.
In any of the above-described technical solution, it is preferable that the resource information further include: the first of at least one of described resource
Effective time and the data communications equipment further include: information process unit, for when the information receiving unit is described
First effective time expire after when not receiving the more new information of the resource information yet, delete the resource information.
In the technical scheme, by the way that effective time is arranged, so that the sender of resource information is according to negotiation (due to resource
Include the effective time in information, be equivalent to and perform negotiation between sender and recipient) good time interval or time
Point (effective time) sends resource information repeatedly, to realize the update to resource information.
By the transmission repeatedly to resource information, it is equivalent to and is maintained between the sender and recipient of resource information
The occurrence of " heartbeat detection " disconnects or when other situations so that sender occurs, and recipient can recognize in time,
And it makes a response as early as possible, for example delete the resource information, or delete the link directional information that this resource is directed toward the sender.
In any of the above-described technical solution, it is preferable that further include: information compiling unit, for first link to be referred to
It is the second link directional information for being directed toward the data communications equipment to information editing, and the first path length is compiled as
Second path length of described at least one described resource of data communications equipment distance, to obtain edited resource information;Letter
Transmission unit is ceased, for edited resource information described in remaining node broadcasts into the content center network.
In the technical scheme, since the distance between node is not necessarily all identical, so that some node is having sent resource
When information, only a part node can be received, and other nodes can not then receive the resource information;Thus by by receiving
Node to resource information sends resource information again, and by the transmission repeatedly between multiple levels, so that in whole network
All nodes know about the presence of the resource.
On the one hand, directional information is linked by editor, so that each receiving the node of edited resource information: only needing
It is concerned about the sender of the edited resource information, without understanding the real owner of resource, i.e., only needs to this
Sender's direct request resource of edited resource information helps to drop without being concerned about the repeating process wherein undergone
The low requirement to resources requesting party;On the other hand, by edit path length, so that each receiving edited resource information
Node: can recognize the distance between sender and resource of the edited resource information, so as to receive it is multiple
It when resource information, can therefrom make a choice, help to reduce bandwidth occupancy, improve the acquisition efficiency of resource.
In any of the above-described technical solution, it is preferable that the information receiving unit comes from any node for receiving
Fib table, the edited resource information is located in the fib table;And the information transmitting unit is also used to: by the volume
Resource information after volume is added in the fib table of the data communications equipment, and by broadcasting the fib table, to broadcast the volume
Resource information after volume.
In the technical scheme, can be by the way that resource information be added in fib table, and fib table is directly transmitted, so that working as
There are when multiple interest, it is only necessary to a fib table is sent, without repeatedly sending the corresponding resource letter of each interest respectively
Breath.
In any of the above-described technical solution, it is preferable that the edited resource information further include: at least one of described money
Second effective time in source;And the information transmitting unit is also used to: before second effective time expires, being sent out again
Send the edited resource information.
In the technical scheme, by the way that effective time is arranged, so that the sender of resource information is according to negotiation (due to resource
Include the effective time in information, be equivalent to and perform negotiation between sender and recipient) good time interval or time
Point (effective time) sends resource information repeatedly, to realize the update to resource information.
By the transmission repeatedly to resource information, it is equivalent to and is maintained between the sender and recipient of resource information
The occurrence of " heartbeat detection " disconnects or when other situations so that sender occurs, and recipient can recognize in time,
And it makes a response as early as possible, for example delete the resource information, or delete the link directional information that this resource is directed toward the sender.
Wherein, the first effective time and the second effective time can be identical, can also be set according to the actual situation by node
It is set to difference, for example the second effective time can be greater than for the first effective time.
In any of the above-described technical solution, it is preferable that at least one of described resource includes: that resource data and/or network connect
Mouth resource.
In any of the above-described technical solution, it is preferable that the information receiving unit is also used to: receiving other nodes to described
The solicited message of at least one resource;The information transmitting unit is also used to: Xiang Suoshu any node forwards the solicited message,
And the corresponding data that any node returns is forwarded to the sender of the solicited message.
In the technical scheme, the node between the requesting party in resource and the owner of resource is equivalent to the two
Between communication relay, pass through the forwarding to solicited message and corresponding resource, it is ensured that the smooth execution of resource request.
In any of the above-described technical solution, it is preferable that the corresponding data of the return includes: corresponding to the solicited message
Resource data, or the result data after the solicited message is executed using the network interface resources.
In the technical scheme, resource data can be specific data or file etc., when some node requests the resource
When data, the resource data can be directly returned.
Resource data can also be network interface resources, such as Wireless LAN (such as WIFI) interface resource, wireless shifting
Dynamic communication network (4G network such as the 3G networks such as such as GPRS 2G network, WCDMA, LTE etc.) interface resource, due to content center net
In network may there is only part of nodes to have above-mentioned network interface resources, then other nodes can be by above-mentioned part of nodes
Request is initiated, to share network interface resources.It specifically, such as can be by by the network operation needed to be implemented or needing to access
Network address be sent to above-mentioned part of nodes, to execute the network operation by these nodes or access the network address, and
Operating result or the linked contents of network address are returned into requesting party, to complete using the node with network interface resources as net
The operating process of network agency.
The invention also provides a kind of data communications methods, comprising: any node reception in content center network comes from
The resource information of other nodes, the resource information include the mark of at least one resource, other nodes described in direction first
Link the path length of directional information and other nodal distances resource;Store the resource information.
In the technical scheme, for the resource information of any one resource, it is added to present node (i.e. described any section
Point) and the resource between path length, i.e., when present node needs to obtain the resource, the hop count of required experience.It is logical
Cross setting path length so that the node (such as data communications equipment) for receiving the resource information can recognize present node with
The distance between resource can be determined specifically to which node (when depositing according to path length thus when needing to obtain the resource
When multiple nodes all have sent the resource information corresponding to same resource) initiate request.
In the above-mentioned technical solutions, it is preferable that further include: when receiving a plurality of resource information for being directed toward same item resource
When, it selects and stores the corresponding shortest resource information of path length.
In the technical scheme, when receive it is from multiple nodes, corresponding to same item resource resource information when, lead to
The comparison to path length is crossed, so that the acquisition to resource can be realized via shortest path length, helps to reduce to band
The occupancy of wide resource, and improve the acquisition efficiency to resource.
Certainly, identical if there is the path length for including in multiple resource informations and all most short, then it can store simultaneously
The corresponding resource information of all shortest path lengths, to enhance reliability.
In any of the above-described technical solution, it is preferable that the resource information further include: the first of at least one of described resource
Effective time;And any node does not receive the update letter of the resource information yet after first effective time expires
When breath, the resource information is deleted.
In the technical scheme, by the way that effective time is arranged, so that the sender of resource information is according to negotiation (due to resource
Include the effective time in information, be equivalent to and perform negotiation between sender and recipient) good time interval or time
Point (effective time) sends resource information repeatedly, to realize the update to resource information.
By the transmission repeatedly to resource information, it is equivalent to and is maintained between the sender and recipient of resource information
The occurrence of " heartbeat detection " disconnects or when other situations so that sender occurs, and recipient can recognize in time,
And it makes a response as early as possible, for example delete the resource information, or delete the link directional information that this resource is directed toward the sender.
In any of the above-described technical solution, it is preferable that further include: any node links directional information for described first
It is compiled as being directed toward the second link directional information of the data communications equipment, and the first path length is compiled as the number
According to second path length of at least one described resource of communication equipment distance, to obtain edited resource information;It is described any
Edited resource information described in remaining node broadcasts of node into the content center network.
In the technical scheme, since the distance between node is not necessarily all identical, so that some node is having sent resource
When information, only a part node can be received, and other nodes can not then receive the resource information;Thus by by receiving
Node to resource information sends resource information again, and by the transmission repeatedly between multiple levels, so that in whole network
All nodes know about the presence of the resource.
On the one hand, directional information is linked by editor, so that each receiving the node of edited resource information: only needing
It is concerned about the sender of the edited resource information, without understanding the real owner of resource, i.e., only needs to this
Sender's direct request resource of edited resource information helps to drop without being concerned about the repeating process wherein undergone
The low requirement to resources requesting party;On the other hand, by edit path length, so that each receiving edited resource information
Node: can recognize the distance between sender and resource of the edited resource information, so as to receive it is multiple
It when resource information, can therefrom make a choice, help to reduce bandwidth occupancy, improve the acquisition efficiency of resource.
In any of the above-described technical solution, it is preferable that further include: any node is received from other nodes
Fib table, the edited resource information are located in the fib table;And the edited resource information is added to described
In the fib table of any node, and by broadcasting the fib table, to broadcast the edited resource information.
In the technical scheme, can be by the way that resource information be added in fib table, and fib table is directly transmitted, so that working as
There are when multiple interest, it is only necessary to a fib table is sent, without repeatedly sending the corresponding resource letter of each interest respectively
Breath.
In any of the above-described technical solution, it is preferable that the edited resource information further include: at least one of described money
Second effective time in source;And any node retransmits the editor before second effective time expires
Resource information afterwards.
In the technical scheme, by the way that effective time is arranged, so that the sender of resource information is according to negotiation (due to resource
Include the effective time in information, be equivalent to and perform negotiation between sender and recipient) good time interval or time
Point (effective time) sends resource information repeatedly, to realize the update to resource information.
By the transmission repeatedly to resource information, it is equivalent to and is maintained between the sender and recipient of resource information
The occurrence of " heartbeat detection " disconnects or when other situations so that sender occurs, and recipient can recognize in time,
And it makes a response as early as possible, for example delete the resource information, or delete the link directional information that this resource is directed toward the sender.
Wherein, the first effective time and the second effective time can be identical, can also be set according to the actual situation by node
It is set to difference, for example the second effective time can be greater than for the first effective time.
In any of the above-described technical solution, it is preferable that at least one of described resource includes: that resource data and/or network connect
Mouth resource.
In any of the above-described technical solution, it is preferable that further include: remaining node is come at least one of described when receiving
When the solicited message of resource, the solicited message, and the respective counts that other described nodes are returned are forwarded to other described nodes
According to the sender for being forwarded to the solicited message.
In the technical scheme, the node between the requesting party in resource and the owner of resource is equivalent to the two
Between communication relay, pass through the forwarding to solicited message and corresponding resource, it is ensured that the smooth execution of resource request.
In any of the above-described technical solution, it is preferable that the corresponding data of the return includes: corresponding to the solicited message
Resource data, or the result data after the solicited message is executed using the network interface resources.
In the technical scheme, resource data can be specific data or file etc., when some node requests the resource
When data, the resource data can be directly returned.
Resource data can also be network interface resources, such as Wireless LAN (such as WIFI) interface resource, wireless shifting
Dynamic communication network (4G network such as the 3G networks such as such as GPRS 2G network, WCDMA, LTE etc.) interface resource, due to content center net
In network may there is only part of nodes to have above-mentioned network interface resources, then other nodes can be by above-mentioned part of nodes
Request is initiated, to share network interface resources.It specifically, such as can be by by the network operation needed to be implemented or needing to access
Network address be sent to above-mentioned part of nodes, to execute the network operation by these nodes or access the network address, and
Operating result or the linked contents of network address are returned into requesting party, to complete using the node with network interface resources as net
The operating process of network agency.
By above technical scheme, each node in content center network can be made only to retain the shortest money of length
Source path to help avoid the excessive occupancy to bandwidth resources, and accelerates acquisition of the node to resource.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also
To be implemented using other than the one described here other modes, therefore, the present invention is not limited to following public specific realities
Apply the limitation of example.
Based in contents of the present invention central site network, being the network structure being mutually made of multiple network nodes, wherein needle
Whether a certain resource is possessed to each network node, two classes can be classified as:
1, possess the node of resource (i.e. above-mentioned certain resources).Such node is needed due to owned resource
The function of realization includes: to broadcast the resource information of itself possessed resource, in order to which phase is requested and obtained to other nodes
The resource answered;Information in response to the request of other nodes, in transfer resource data or execution request.
2, there is no the node of resource (i.e. above-mentioned certain resources).Such node itself does not possess resource, thus needs
The function of realization includes: to receive the resource information of other nodes publication;Forward resource information;Issue resource request;It receives and turns
Send out the resource request of other nodes;Receive and forward the implementing result of resource data or the information in request.
Certainly, it should be pointed out that since a node is difficult to possess all types of resources, thus for any one
The resource that node possesses belongs to the node of above-mentioned Class1, and is directed to the no resource of the node, belongs to again above-mentioned
The node of type 2 needs to determine the type of some node as the case may be, to determine the function of realization required for the node
Energy.
Two above-mentioned class difference nodes will be directed to respectively below, be introduced and illustrated in detail in conjunction with attached drawing.
One, possess the node of resource
Fig. 1 shows the schematic flow diagram of data communications method according to an embodiment of the invention.
As shown in Figure 1, data communications method according to an embodiment of the invention, comprising: step 102, content center
Any node in network is directed to owned any one resource, generates corresponding resource information, the resource information includes
Path length of the mark, link directional information and any node of any one resource apart from the resource;Step 104, described
Resource information described in other node broadcasts of any node into the content center network.
In the technical scheme, for the resource information of any one resource, it is added to present node (i.e. described any section
Point) and the resource between path length, i.e., when present node needs to obtain the resource, the hop count of required experience.It is logical
Cross setting path length, enable other nodes for receiving the resource information recognize between present node and resource away from
From to can determine specifically which node to initiate request to according to path length when needing to obtain the resource.Due to current
Node possesses the resource, thus the path length in corresponding resource information is 0;Other nodes (it is assumed that node A) are if connect
When receiving the resource information that present node (it is assumed that node B) and another node (it is assumed that node C) are sent, due to B pairs of node
The path length answered is 0, i.e. node B possesses the resource, and the corresponding path length of node C is d(d > 0), i.e. node C itself
Do not possess the resource, need to obtain and forward resource at other nodes, such as node B, therefore, node A is by section
Point B, which is issued, to be requested, and not a node C, can be obtained corresponding resource as early as possible, not only saved the time, but also help to reduce to bandwidth
Occupancy.
In the above-mentioned technical solutions, it is preferable that the resource information further include: the effective time of any one resource;And
Before the effective time expires, the resource information is retransmitted.
In the technical scheme, by the way that effective time is arranged, so that the owning side of resource is according to negotiation (due to resource information
In include the effective time, be equivalent to and perform negotiation between sender and recipient) good time interval or time point (have
The effect time) resource information is sent repeatedly, to realize the update to resource information.
By the transmission repeatedly to resource information, it is equivalent to and is maintained between the sender and recipient of resource information
The occurrence of " heartbeat detection " disconnects or when other situations so that sender occurs, and recipient can recognize in time,
And it makes a response as early as possible, for example delete the resource information, or delete the link directional information that this resource is directed toward the sender.
In any of the above-described technical solution, it is preferable that further include: the resource information is added to any node
In fib table, and by broadcasting the fib table, to broadcast the resource information.
In the technical scheme, can be by the way that resource information be added in fib table, and fib table is directly transmitted, so that working as
There are when multiple interest, it is only necessary to a fib table is sent, without repeatedly sending the corresponding resource letter of each interest respectively
Breath.
In any of the above-described technical solution, it is preferable that any one of described resource includes: resource data and/or network interface
Resource.
In any of the above-described technical solution, it is preferable that further include: obtain the number of resources for corresponding to the solicited message received
According to, or utilize the network interface resources execution solicited message;It is returned to the sender of the solicited message and corresponds to institute
The resource data of solicited message is stated, or executes the result data after the solicited message using the network interface resources.
In the technical scheme, resource data can be specific data or file etc., when some node requests the resource
When data, the resource data can be directly returned.
Resource data can also be network interface resources, such as Wireless LAN (such as WIFI) interface resource, wireless shifting
Dynamic communication network (4G network such as the 3G networks such as such as GPRS 2G network, WCDMA, LTE etc.) interface resource, due to content center net
In network may there is only part of nodes to have above-mentioned network interface resources, then other nodes can be by above-mentioned part of nodes
Request is initiated, to share network interface resources.It specifically, such as can be by by the network operation needed to be implemented or needing to access
Network address be sent to above-mentioned part of nodes, to execute the network operation by these nodes or access the network address, and
Operating result or the linked contents of network address are returned into requesting party, to complete using the node with network interface resources as net
The operating process of network agency.
Each node in content center network, actually one or cluster communication equipment, then the present invention also proposes
Data communications equipment corresponding to above-mentioned data communications method.
Fig. 2 shows the schematic block diagrams of data communications equipment according to an embodiment of the invention.
As shown in Fig. 2, data communications equipment according to an embodiment of the invention, is located in content center network, institute
Stating data communications equipment 200 includes: information generating unit 202, any one for possessing for the data communications equipment 200
Resource, generates corresponding resource information, and the resource information includes the mark of any one resource, links directional information and described
The path length of the one nodal distance resource;Information transmitting unit 204, for other nodes into the content center network
Broadcast the resource information.
In the technical scheme, for the resource information of any one resource, it is added to present node (i.e. described any section
Point) and the resource between path length, i.e., when present node needs to obtain the resource, the hop count of required experience.It is logical
Cross setting path length, enable other nodes for receiving the resource information recognize between present node and resource away from
From to can determine specifically which node to initiate request to according to path length when needing to obtain the resource.Due to current
Node possesses the resource, thus the path length in corresponding resource information is 0;Other nodes (it is assumed that node A) are if connect
When receiving the resource information that present node (it is assumed that node B) and another node (it is assumed that node C) are sent, due to B pairs of node
The path length answered is 0, i.e. node B possesses the resource, and the corresponding path length of node C is d(d > 0), i.e. node C itself
Do not possess the resource, need to obtain and forward resource at other nodes, such as node B, therefore, node A is by section
Point B, which is issued, to be requested, and not a node C, can be obtained corresponding resource as early as possible, not only saved the time, but also help to reduce to bandwidth
Occupancy.
In the above-mentioned technical solutions, it is preferable that the resource information further include: the effective time of any one resource, then institute
It states information transmitting unit 204 to be also used to: before the effective time expires, retransmitting the resource information.
In the technical scheme, by the way that effective time is arranged, so that the owning side of resource is according to negotiation (due to resource information
In include the effective time, be equivalent to and perform negotiation between sender and recipient) good time interval or time point (have
The effect time) resource information is sent repeatedly, to realize the update to resource information.
By the transmission repeatedly to resource information, it is equivalent to and is maintained between the sender and recipient of resource information
The occurrence of " heartbeat detection " disconnects or when other situations so that sender occurs, and recipient can recognize in time,
And it makes a response as early as possible, for example delete the resource information, or delete the link directional information that this resource is directed toward the sender.
In any of the above-described technical solution, it is preferable that further include: Table edit unit 206 is used for the resource information
It is added in the fib table of any node, and by broadcasting the fib table, to broadcast the resource information.
In the technical scheme, can be by the way that resource information be added in fib table, and fib table is directly transmitted, so that working as
There are when multiple interest, it is only necessary to a fib table is sent, without repeatedly sending the corresponding resource letter of each interest respectively
Breath.
In any of the above-described technical solution, it is preferable that further include: any one of described resource includes: resource data and/or net
Network interface resource.
In any of the above-described technical solution, it is preferable that further include: requesting processing 208 is received for obtaining to correspond to
The resource data of the solicited message arrived, or the solicited message is executed using the network interface resources;Data transmission unit
210, for the resource data to the sender of solicited message return corresponding to the solicited message, or utilize the network
Interface resource executes the result data after the solicited message.
In the technical scheme, resource data can be specific data or file etc., when some node requests the resource
When data, the resource data can be directly returned.
Resource data can also be network interface resources, such as Wireless LAN (such as WIFI) interface resource, wireless shifting
Dynamic communication network (4G network such as the 3G networks such as such as GPRS 2G network, WCDMA, LTE etc.) interface resource, due to content center net
In network may there is only part of nodes to have above-mentioned network interface resources, then other nodes can be by above-mentioned part of nodes
Request is initiated, to share network interface resources.It specifically, such as can be by by the network operation needed to be implemented or needing to access
Network address be sent to above-mentioned part of nodes, to execute the network operation by these nodes or access the network address, and
Operating result or the linked contents of network address are returned into requesting party, to complete using the node with network interface resources as net
The operating process of network agency.
Two, the not no node of resource
Fig. 3 shows the schematic flow diagram of data communications method according to another embodiment of the invention.
As shown in figure 3, data communications method according to another embodiment of the invention, comprising: step 302, in content
Any node in heart network receives the resource information from other nodes, and the resource information includes the mark of at least one resource
Know, be directed toward the first link directional information of other nodes and the path length of other nodal distances resource;Step
304, store the resource information.
In the technical scheme, for the resource information of any one resource, it is added to present node (i.e. described any section
Point) and the resource between path length, i.e., when present node needs to obtain the resource, the hop count of required experience.It is logical
Cross setting path length so that the node (such as data communications equipment) for receiving the resource information can recognize present node with
The distance between resource can be determined specifically to which node (when depositing according to path length thus when needing to obtain the resource
When multiple nodes all have sent the resource information corresponding to same resource) initiate request.
In the above-mentioned technical solutions, it is preferable that further include: when receiving a plurality of resource information for being directed toward same item resource
When, it selects and stores the corresponding shortest resource information of path length.
In the technical scheme, when receive it is from multiple nodes, corresponding to same item resource resource information when, lead to
The comparison to path length is crossed, so that the acquisition to resource can be realized via shortest path length, helps to reduce to band
The occupancy of wide resource, and improve the acquisition efficiency to resource.
Certainly, identical if there is the path length for including in multiple resource informations and all most short, then it can store simultaneously
The corresponding resource information of all shortest path lengths, to enhance reliability.
In any of the above-described technical solution, it is preferable that the resource information further include: the first of at least one of described resource
Effective time;And any node does not receive the update letter of the resource information yet after first effective time expires
When breath, the resource information is deleted.
In the technical scheme, by the way that effective time is arranged, so that the sender of resource information is according to negotiation (due to resource
Include the effective time in information, be equivalent to and perform negotiation between sender and recipient) good time interval or time
Point (effective time) sends resource information repeatedly, to realize the update to resource information.
By the transmission repeatedly to resource information, it is equivalent to and is maintained between the sender and recipient of resource information
The occurrence of " heartbeat detection " disconnects or when other situations so that sender occurs, and recipient can recognize in time,
And it makes a response as early as possible, for example delete the resource information, or delete the link directional information that this resource is directed toward the sender.
In any of the above-described technical solution, it is preferable that further include: any node links directional information for described first
It is compiled as being directed toward the second link directional information of the data communications equipment, and the first path length is compiled as the number
According to second path length of at least one described resource of communication equipment distance, to obtain edited resource information;It is described any
Edited resource information described in remaining node broadcasts of node into the content center network.
In the technical scheme, since the distance between node is not necessarily all identical, so that some node is having sent resource
When information, only a part node can be received, and other nodes can not then receive the resource information;Thus by by receiving
Node to resource information sends resource information again, and by the transmission repeatedly between multiple levels, so that in whole network
All nodes know about the presence of the resource.
On the one hand, directional information is linked by editor, so that each receiving the node of edited resource information: only needing
It is concerned about the sender of the edited resource information, without understanding the real owner of resource, i.e., only needs to this
Sender's direct request resource of edited resource information helps to drop without being concerned about the repeating process wherein undergone
The low requirement to resources requesting party;On the other hand, by edit path length, so that each receiving edited resource information
Node: can recognize the distance between sender and resource of the edited resource information, so as to receive it is multiple
It when resource information, can therefrom make a choice, help to reduce bandwidth occupancy, improve the acquisition efficiency of resource.
In any of the above-described technical solution, it is preferable that further include: any node is received from other nodes
Fib table, the edited resource information are located in the fib table;And the edited resource information is added to described
In the fib table of any node, and by broadcasting the fib table, to broadcast the edited resource information.
In the technical scheme, can be by the way that resource information be added in fib table, and fib table is directly transmitted, so that working as
There are when multiple interest, it is only necessary to a fib table is sent, without repeatedly sending the corresponding resource letter of each interest respectively
Breath.
In any of the above-described technical solution, it is preferable that the edited resource information further include: at least one of described money
Second effective time in source;And any node retransmits the editor before second effective time expires
Resource information afterwards.
In the technical scheme, by the way that effective time is arranged, so that the sender of resource information is according to negotiation (due to resource
Include the effective time in information, be equivalent to and perform negotiation between sender and recipient) good time interval or time
Point (effective time) sends resource information repeatedly, to realize the update to resource information.
By the transmission repeatedly to resource information, it is equivalent to and is maintained between the sender and recipient of resource information
The occurrence of " heartbeat detection " disconnects or when other situations so that sender occurs, and recipient can recognize in time,
And it makes a response as early as possible, for example delete the resource information, or delete the link directional information that this resource is directed toward the sender.
Wherein, the first effective time and the second effective time can be identical, can also be set according to the actual situation by node
It is set to difference, for example the second effective time can be greater than for the first effective time.
In any of the above-described technical solution, it is preferable that at least one of described resource includes: that resource data and/or network connect
Mouth resource.
In any of the above-described technical solution, it is preferable that further include: remaining node is come at least one of described when receiving
When the solicited message of resource, the solicited message, and the respective counts that other described nodes are returned are forwarded to other described nodes
According to the sender for being forwarded to the solicited message.
In the technical scheme, the node between the requesting party in resource and the owner of resource is equivalent to the two
Between communication relay, pass through the forwarding to solicited message and corresponding resource, it is ensured that the smooth execution of resource request.
In any of the above-described technical solution, it is preferable that the corresponding data of the return includes: corresponding to the solicited message
Resource data, or the result data after the solicited message is executed using the network interface resources.
In the technical scheme, resource data can be specific data or file etc., when some node requests the resource
When data, the resource data can be directly returned.
Resource data can also be network interface resources, such as Wireless LAN (such as WIFI) interface resource, wireless shifting
Dynamic communication network (4G network such as the 3G networks such as such as GPRS 2G network, WCDMA, LTE etc.) interface resource, due to content center net
In network may there is only part of nodes to have above-mentioned network interface resources, then other nodes can be by above-mentioned part of nodes
Request is initiated, to share network interface resources.It specifically, such as can be by by the network operation needed to be implemented or needing to access
Network address be sent to above-mentioned part of nodes, to execute the network operation by these nodes or access the network address, and
Operating result or the linked contents of network address are returned into requesting party, to complete using the node with network interface resources as net
The operating process of network agency.
Similarly, the invention also provides the data communications equipment for corresponding to above-mentioned data communications method.
Fig. 4 shows the schematic block diagram of data communications equipment according to another embodiment of the invention.
As shown in figure 4, data communications equipment 400 according to another embodiment of the invention, is located at content center network
In, the data communications equipment 400 includes: information receiving unit 402, for receiving the resource information from any node, institute
It states mark that resource information includes at least one resource, be directed toward the first link directional information of any node and described any
The path length of the nodal distance resource;Information memory cell 404, for storing the resource information.
In the technical scheme, for the resource information of any one resource, it is added to present node (i.e. described any section
Point) and the resource between path length, i.e., when present node needs to obtain the resource, the hop count of required experience.It is logical
Cross setting path length so that the node (such as data communications equipment) for receiving the resource information can recognize present node with
The distance between resource can be determined specifically to which node (when depositing according to path length thus when needing to obtain the resource
When multiple nodes all have sent the resource information corresponding to same resource) initiate request.
In the above-mentioned technical solutions, it is preferable that further include: information selecting section 406, for receiving the same item of direction
In the case where a plurality of resource information of resource, the corresponding shortest resource information of path length is selected, for information storage
Unit 404 is stored.
In the technical scheme, when receive it is from multiple nodes, corresponding to same item resource resource information when, lead to
The comparison to path length is crossed, so that the acquisition to resource can be realized via shortest path length, helps to reduce to band
The occupancy of wide resource, and improve the acquisition efficiency to resource.
Certainly, identical if there is the path length for including in multiple resource informations and all most short, then it can store simultaneously
The corresponding resource information of all shortest path lengths, to enhance reliability.
In any of the above-described technical solution, it is preferable that the resource information further include: the first of at least one of described resource
Effective time and the data communications equipment 400 further include: information process unit 408, for working as the information receiving unit
402, when not receiving the more new information of the resource information yet after first effective time expires, delete the resource information.
In the technical scheme, by the way that effective time is arranged, so that the sender of resource information is according to negotiation (due to resource
Include the effective time in information, be equivalent to and perform negotiation between sender and recipient) good time interval or time
Point (effective time) sends resource information repeatedly, to realize the update to resource information.
By the transmission repeatedly to resource information, it is equivalent to and is maintained between the sender and recipient of resource information
The occurrence of " heartbeat detection " disconnects or when other situations so that sender occurs, and recipient can recognize in time,
And it makes a response as early as possible, for example delete the resource information, or delete the link directional information that this resource is directed toward the sender.
In any of the above-described technical solution, it is preferable that further include: information compiling unit 410, for described first to be linked
Directional information is compiled as being directed toward the second link directional information of the data communications equipment 400, and by the first path length
It is compiled as second path length of the data communications equipment 400 apart from least one of described resource, to obtain edited money
Source information;Information transmitting unit 412, for edited resource described in remaining node broadcasts into the content center network
Information.
In the technical scheme, since the distance between node is not necessarily all identical, so that some node is having sent resource
When information, only a part node can be received, and other nodes can not then receive the resource information;Thus by by receiving
Node to resource information sends resource information again, and by the transmission repeatedly between multiple levels, so that in whole network
All nodes know about the presence of the resource.
On the one hand, directional information is linked by editor, so that each receiving the node of edited resource information: only needing
It is concerned about the sender of the edited resource information, without understanding the real owner of resource, i.e., only needs to this
Sender's direct request resource of edited resource information helps to drop without being concerned about the repeating process wherein undergone
The low requirement to resources requesting party;On the other hand, by edit path length, so that each receiving edited resource information
Node: can recognize the distance between sender and resource of the edited resource information, so as to receive it is multiple
It when resource information, can therefrom make a choice, help to reduce bandwidth occupancy, improve the acquisition efficiency of resource.
In any of the above-described technical solution, it is preferable that the information receiving unit 402 comes from any section for receiving
The fib table of point, the edited resource information are located in the fib table;And the information transmitting unit 412 is also used to: will
The edited resource information is added in the fib table of the data communications equipment, and by broadcasting the fib table, with broadcast
The edited resource information.
In the technical scheme, can be by the way that resource information be added in fib table, and fib table is directly transmitted, so that working as
There are when multiple interest, it is only necessary to a fib table is sent, without repeatedly sending the corresponding resource letter of each interest respectively
Breath.
In any of the above-described technical solution, it is preferable that the edited resource information further include: at least one of described money
Second effective time in source;And the information transmitting unit 412 is also used to: before second effective time expires, weight
Newly send the edited resource information.
In the technical scheme, by the way that effective time is arranged, so that the sender of resource information is according to negotiation (due to resource
Include the effective time in information, be equivalent to and perform negotiation between sender and recipient) good time interval or time
Point (effective time) sends resource information repeatedly, to realize the update to resource information.
By the transmission repeatedly to resource information, it is equivalent to and is maintained between the sender and recipient of resource information
The occurrence of " heartbeat detection " disconnects or when other situations so that sender occurs, and recipient can recognize in time,
And it makes a response as early as possible, for example delete the resource information, or delete the link directional information that this resource is directed toward the sender.
Wherein, the first effective time and the second effective time can be identical, can also be set according to the actual situation by node
It is set to difference, for example the second effective time can be greater than for the first effective time.
In any of the above-described technical solution, it is preferable that at least one of described resource includes: that resource data and/or network connect
Mouth resource.
In any of the above-described technical solution, it is preferable that the information receiving unit 402 is also used to: receiving other nodes pair
The solicited message of at least one of described resource;The information transmitting unit 412 is also used to: being asked described in the forwarding of Xiang Suoshu any node
Information is sought, and the corresponding data that any node returns is forwarded to the sender of the solicited message.
In the technical scheme, the node between the requesting party in resource and the owner of resource is equivalent to the two
Between communication relay, pass through the forwarding to solicited message and corresponding resource, it is ensured that the smooth execution of resource request.
In any of the above-described technical solution, it is preferable that the corresponding data of the return includes: corresponding to the solicited message
Resource data, or the result data after the solicited message is executed using the network interface resources.
In the technical scheme, resource data can be specific data or file etc., when some node requests the resource
When data, the resource data can be directly returned.
Resource data can also be network interface resources, such as Wireless LAN (such as WIFI) interface resource, wireless shifting
Dynamic communication network (4G network such as the 3G networks such as such as GPRS 2G network, WCDMA, LTE etc.) interface resource, due to content center net
In network may there is only part of nodes to have above-mentioned network interface resources, then other nodes can be by above-mentioned part of nodes
Request is initiated, to share network interface resources.It specifically, such as can be by by the network operation needed to be implemented or needing to access
Network address be sent to above-mentioned part of nodes, to execute the network operation by these nodes or access the network address, and
Operating result or the linked contents of network address are returned into requesting party, to complete using the node with network interface resources as net
The operating process of network agency.
Fig. 5 shows the illustrative view of functional configuration of the data communications equipment of embodiment according to the present invention.
As shown in figure 5, the data communications equipment of embodiment according to the present invention includes: routing module, memory module, interest
Request module, FIB update module etc..Wherein, routing module is used for: broadcast and reception interest, and to the information or number received
It is used according to other modules be processed for;Memory module is used for: muchly inside being stored in CS(Content Store as far as possible
Storage area) in the data content that receives of caching;Interest tracing module is used for: when receiving interest request, increasing by one in PIT table
Item record, when to search or receive data matched with the interest, returns to interest requesting party in time;FIB update module
For: FIB is updated at regular intervals, and adds new content directional information, and deletes the list item more than effective time, is realized
Maintenance to effective content.
Fig. 6 shows the data communication schematic diagram between network node according to an embodiment of the invention.
As shown in fig. 6, in a specific embodiment, it is assumed that node A, B, C and D in content center network are chosen,
Wherein, each node safeguards itself a fib table respectively.
Possess the resource for a certain resource " 1.mpg ", such as A and D, and B and C are then without the resource.
1) interest " 1.mpg " is added in the fib table of itself by A, and is provided with Link and is directed toward itself.
2) when fib table of the A to itself is broadcasted, B and C are received, and update the fib table of itself, i.e.,
For interest " 1.mpg ", B and C add the interest and corresponding Link in the fib table of itself respectively, i.e. direction A.
3) B and C sends the fib table of itself, so that B is when receiving the fib table of C transmission, it is thus understood that be directed to interest
" 1.mpg ", another Link are to be directed toward C, similarly make C when receiving the fib table of B transmission, it is thus understood that another Link is
It is directed toward B.
4) interest " 1.mpg " is added in the fib table of itself by D, and is provided with Link and is directed toward itself.
5) when fib table of the D to itself is broadcasted, C is received, and update the fib table of itself, that is, is directed to
Interest " 1.mpg ", C add the interest and corresponding Link in the fib table of itself, i.e. direction D.
Therefore, the resource of the interest can be obtained from A or C for interest " 1.mpg ", B, C can be obtained from A, B or D
Take the resource of the interest.
However, since each node is only concerned the fib table received, and resource is not indicated in fib table specifically
Physical location so that node can not determine that the path being directed toward from which Link is most easily, so as to lead to following ask
Topic:
1, such as node C can just obtain resource when via A or D with a step, and when via B, then it needs to be obtained from B to A
Afterwards, it is transmitted to C, i.e., obtains resource by two steps.
2, B and C, which exists to intersect, obtains resource, may cause the iterative cycles between B and C and sends request, causing can not be true
It is positive to obtain resource.
To solve the above-mentioned problems, invention introduces new fib table structure, specifically, Fig. 7 is shown according to the present invention
One embodiment fib table structural schematic diagram.
As shown in fig. 7, each single item includes interest (or interest name) in fib table, Link, (arrival meets the interest to hop count
The path length that data source is passed through) and four information of effective time, wherein hop count and effective time are the FIB of traditional CCN network
Do not have in table.When a node possesses certain part of content and is ready to share, it adds one in the fib table of oneself, will be interior
Hold name as interest name, Link is directed toward oneself, and expression possesses this part of content.The fib table of node broadcasts oneself, neighbours receive
After broadcast, interest name is write down, and Link is directed toward broadcaster, is stored in the fib table of oneself.When all nodes are all by desired sharing
Content is stored in fib table, then the broadcast and update of some numbers, just establishes a topology about these contents in network,
Each node is aware that when needing certain part of content, which node can forward the request of this interest to obtain content to.
By the record to hop count, so that it only retains when a node receives the fib table information that multiple neighbours send
The least direction Link of hop count;Wherein, if there is multiple directions Link are all that hop count is least, retain all.Section each in this way
What point retained in fib table is all to obtain certain shortest direction of targets of interest data path, on the one hand facilitates to reduce to network
On the other hand the occupancy of bandwidth then can recycle Link to avoid occurring multiple nodes in network under same interest, for example avoid
The circulating phenomenon between node B and C in Fig. 6.
By the record to effective time, each Link contains effective time information, each node timing in fib table
The fib table of oneself is broadcasted, effective time if more than receives some Link not yet and is directed toward the new fib table that node is sent, then
Delete this Link.After some node or some connection disconnect in this way, after variation a period of time of bring content topology information
It can be perceived by other nodes.Specifically, effective time can be 2-3 times of broadcast fib table interval.
It should be noted that the type of resource can there are many kinds of, for example can be number of resources as shown in Figure 6 and Figure 7
According to that is, the data file etc. of " 1.mpg ", resource owner are put into fib table using video file name as interest, and timing
Broadcast.By the broadcast several times and update of its neighbour, in network, all nodes, which can all be known, expects that this part of resource should be to which
A little nodes issue request, i.e. Link to those nodes.Any human hair for wanting this part of resource goes out interest request, by turning several times
Hair, final resource owner will receive this and request and pass video file back.It is passed back on the way in file, each node can be by
Cache module is cached into CS.
Further, it is also possible to be network interface resources, such as WIFI interface, 3G network interface.If only one in network
Or several nodes possess 3G online resource, and want to share it, then " 3G " is stored in fib table simultaneously by these nodes as interest name
Broadcast, as long as interest name possesses " 3G " prefix, will all match " 3G " wherein " 3G " is set as a keyword.When a node
It needs Internet to service, such as accesses google homepage, it can issue the interest request of entitled " 3G/google.com ", matching
The list item of interest entitled " 3G " in fib table, this interest can be finally transmitted to the node (source 3G) for possessing network interface on 3G.3G
Source can be used as online agency, access google homepage, and the page is returned to initial online requestor.
In order to verify the feasibility and reliability of the content center network under the present invention, the present invention is based on the progress of CCNx platform
Simulated experiment, simulated environment are the content center network under the wireless environment that 6 virtual machines as shown in Figure 8 are constituted.Phase
They can receive the fib table of other side's broadcast and the data of transmission to the machine representative to connect, to be used to simulate wireless environment
In two machines distance it is close enough.A node possesses content, and the time interval of oneself fib table of each node broadcasts is 1 second, has
Imitating the time is 2 seconds.
In first simulated experiment, A in Fig. 8, B, C are taken, tetra- nodes of D, D is as content requestor, B and C as routing
It is responsible for the content file that forwarding interest request and is sent back to, i.e. D there are two paths to obtain content file.And it is issued in A emerging
After interest request, B, C node can be held from network interruption in turn every 10 seconds, and restore connection after disconnecting 5 seconds.Statistics is different total
Disconnection times are to the influence the time required to D acquisition complete file, as shown in Figure 9, it can be seen that routing is disconnected to transmission time
Very little is influenced, illustrates to be flexible based on CCN network of the invention, it can with Automatic-searching one in change of network environment
Walking along the street diameter and the path for ignoring disconnection.
In second simulated experiment, topology information is as shown in figure 8, in addition to A and C, B, D, E, and content is added in F node in turn
Requestor, and all the elements requestor can be simultaneously emitted by content interest request in each experiment.Count the variation of requestor's quantity
After starting request 30 seconds, the variation of data total flow in network, and compare CCN network and IP-based TCP transmission agreement.Such as
Shown in Figure 10, as requestor's quantity increases, the growth rate ratio TCP of the data total flow of CCN network increasess slowly, this explanation
The caching of CCN network can effectively reduce the flow of data path.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, the invention proposes a kind of wireless telecom equipment and
A kind of wireless communications method can make each node in content center network only retain the shortest resource path of length,
To help avoid the excessive occupancy to bandwidth resources, and accelerate acquisition of the node to resource.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.