CN104580287B - Data communications equipment and data communications method - Google Patents

Data communications equipment and data communications method Download PDF

Info

Publication number
CN104580287B
CN104580287B CN201310481463.XA CN201310481463A CN104580287B CN 104580287 B CN104580287 B CN 104580287B CN 201310481463 A CN201310481463 A CN 201310481463A CN 104580287 B CN104580287 B CN 104580287B
Authority
CN
China
Prior art keywords
resource
information
node
resource information
data
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.)
Expired - Fee Related
Application number
CN201310481463.XA
Other languages
Chinese (zh)
Other versions
CN104580287A (en
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.)
Peking University
Original Assignee
Peking University
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University, Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University
Priority to CN201310481463.XA priority Critical patent/CN104580287B/en
Publication of CN104580287A publication Critical patent/CN104580287A/en
Application granted granted Critical
Publication of CN104580287B publication Critical patent/CN104580287B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of data communications equipment, in content center network, the data communications equipment includes: information generating unit, any one resource for possessing for the data communications equipment, corresponding resource information is generated, the resource information includes the path length of the mark of any one resource, link directional information and any node apart from the resource;Information transmitting unit, for resource information described in other node broadcasts into the content center network.The invention also provides corresponding data communications methods.According to the technical solution of the present invention, each node in content center network can be made only to retain the shortest resource path of length, to help avoid the excessive occupancy to bandwidth resources, and accelerate acquisition of the node to resource.

Description

Data communications equipment and data communications method
Technical field
The present invention relates to fields of communication technology, in particular to a kind of data communications equipment and a kind of data communication side Method.
Background technique
Information centre's network (ICN, Information-Centric Network) also known as content center network (CCN, Content-Centric Network), using content as transmission basis, IP is no longer passed through to obtain content by name.It is interior Its advantage can be given full play in the network environment of self-organizing by holding central site network, and the communication between (movement) node only depends on The content that they need, rather than a determining path of calculated in advance is depended on as IP network to be connected to a section Point.In the content in heart network, node is only identified with Host name, and no longer needs IP address, and data can be appointed What nodal cache, to be re-used in the future.
Specifically, each node in content center network generates a corresponding interest to a resource, by the interest It is recorded in the FIB(Forwarding Information Base of itself) in table, if the resource is all for the node, the section Point also generates a link directional information for the interest, i.e. Link information shows that the node can when Link information is directed toward the node To obtain the resource;Link information and interest are stored in association in fib table by the node, and are broadcasted to content center network In other nodes.
If after present node receives the fib table of other nodes transmission, the node is by the interest in the fib table received (interest not having in the fib table of itself) is added in the fib table of itself, and generates corresponding Link letter for newly added interest Breath, the Link information are directed toward present node, show that present node can be used for obtaining the resource, then send modified FIB Table.
By the broadcast of information between the node of multiple levels, so that both know about can be from which for all nodes in network Resource needed for being obtained at node, and each node only needs to be concerned about the node of upper and lower level adjacent thereto, is not necessarily to Recognize resource actually location.
As it can be seen that when some node receives the fib table of other nodes transmission, the Link of some interest in the fib table Information is all directed to the sender's of the fib table, however the sender might not possess specific resource data;Therefore, such as When some node of fruit wishes to obtain some interest corresponding resource, need to its upper level (fib table that node A is sent from node B In when knowing the interest, node B is the even higher level of node of node A) node sends acquisition request, and when even higher level of node is not gathered around When having the resource data, layer-by-layer superior forwarding acquisition request is needed, until when some node really possesses the resource, then successively Resource data is forwarded to junior.
However, when some node receives the fib table that multiple nodes are sent simultaneously, and when all pointing to same resource, the section Point can not determine which node really possesses the resource, can not also determine which nodal distance possess the resource node it is closer (hop count is less), so that the transmission process of resource is very blindly, it is likely that cause the waste to bandwidth resources, and consume more More time.
Therefore, the distance between each node and resource how to be identified, to obtain money under least hop count Source data becomes a technical problem to be solved urgently.
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.
Detailed description of the invention
Fig. 1 shows the schematic flow diagram of data communications method according to an embodiment of the invention;
Fig. 2 shows the schematic block diagrams of data communications equipment according to an embodiment of the invention;
Fig. 3 shows the schematic flow diagram of data communications method according to another embodiment of the invention;
Fig. 4 shows the schematic block diagram of data communications equipment according to another embodiment of the invention;
Fig. 5 shows the illustrative view of functional configuration of the data communications equipment of embodiment according to the present invention;
Fig. 6 shows the data communication schematic diagram between network node according to an embodiment of the invention;
Fig. 7 shows the structural schematic diagram of fib table according to an embodiment of the invention;
Fig. 8 shows the structural schematic diagram of content center network according to an embodiment of the invention;
Fig. 9 is the pass in the content center network of embodiment illustrated in fig. 8, between resource downloading time and routing disconnection times Join schematic diagram;
Figure 10 is the requestor of data total flow and resource in network in the content center network of embodiment illustrated in fig. 8 Association schematic diagram between quantity.
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.

Claims (16)

1. a kind of data communications equipment, it is located in content center network, which is characterized in that the data communications equipment includes:
Information generating unit, any one resource for possessing for the data communications equipment, generates corresponding resource information, The resource information includes the path length of the mark of any one resource, link directional information and any node apart from the resource Degree;
Information transmitting unit, for resource information described in other node broadcasts into the content center network;
Any one of described resource includes: resource data and/or network interface resources;
The data communications equipment further include:
Requesting processing, for obtaining the resource data for corresponding to the solicited message received, or the utilization network interface Resource executes the solicited message;
Data transmission unit, for returning to the resource data for corresponding to the solicited message to the sender of the solicited message, Or the result data after the solicited message is executed using the network interface resources;
Table edit unit for the resource information to be added in the fib table of the data communications equipment, and passes through broadcast The fib table, to broadcast the resource information.
2. data communications equipment according to claim 1, which is characterized in that the resource information further include: any one money The effective time in source, then the information transmitting unit is also used to:
Before the effective time expires, the resource information is retransmitted.
3. a kind of data communications method characterized by comprising
Any node in content center network is directed to owned any one resource, generates corresponding resource information, described Resource information includes the path length of the mark of any one resource, link directional information and any node apart from the resource;
Resource information described in other node broadcasts of any node into the content center network;
Further include:
The resource data for corresponding to the solicited message received is obtained, or executes the request using the network interface resources and believes Breath;
The resource data for corresponding to the solicited message is returned to the sender of the solicited message, or utilizes the network interface Resource executes the result data after the solicited message;
Any one of described resource includes: resource data and/or network interface resources.
4. data communications method according to claim 3, which is characterized in that the resource information further include:
The effective time of any one resource;And
Before the effective time expires, the resource information is retransmitted.
5. data communications method according to claim 3 or 4, which is characterized in that further include:
The resource information is added in the fib table of any node, and by broadcasting the fib table, described in broadcast Resource information.
6. a kind of data communications equipment, it is located in content center network, which is characterized in that the data communications equipment includes:
Information receiving unit, for receiving the resource information from any node, the resource information includes at least one resource Mark, be directed toward first via path length of the first the link directional information and any node of any node apart from the resource Degree;
Information memory cell, for storing the resource information;
Information selecting section, for selecting corresponding in the case where receiving a plurality of resource information for being directed toward same item resource The shortest resource information of path length, so that the information memory cell is stored;
Information compiling unit, for being compiled as the first link directional information to be directed toward the second chain of the data communications equipment It connects directional information, and the first path length is compiled as the of at least one of the described resource of the data communications equipment distance Two path lengths, to obtain edited resource information;
Information transmitting unit, for edited resource information described in remaining node broadcasts into the content center network.
7. data communications equipment according to claim 6, which is characterized in that the resource information further include: it is described at least First effective time of one resource and the data communications equipment further include:
Information process unit, for not receiving the money yet after expiring first effective time when the information receiving unit When the more new information of source information, the resource information is deleted.
8. data communications equipment according to claim 6 or 7, which is characterized in that the edited resource information is also wrapped It includes: the second effective time of at least one of described resource;And
The information transmitting unit is also used to: before second effective time expires, retransmitting the edited money Source information.
9. data communications equipment according to claim 6 or 7, which is characterized in that at least one of described resource includes: resource Data and/or network interface resources;
The information receiving unit is also used to: receiving other nodes to the solicited message of at least one of described resource;The information Transmission unit is also used to: Xiang Suoshu any node forwards the solicited message, and the corresponding data that any node is returned It is forwarded to the sender of the solicited message;
Wherein, the corresponding data of the return includes: the resource data corresponding to the solicited message, or is connect using the network Mouth resource executes the result data after the solicited message.
10. a kind of data communications method characterized by comprising
Any node in content center network receives the resource information from other nodes, and the resource information includes at least one The path of first link directional information of other nodes described in the mark of resource, direction and other nodal distances resource Length;
Store the resource information;
When receiving a plurality of resource information for being directed toward same item resource, selects and store the corresponding shortest resource of path length Information;
Any node refers to the second link that the first link directional information is compiled as being directed toward the data communications equipment Second path length of the data communications equipment apart from least one of described resource is compiled as to information, and by first path length Degree, to obtain edited resource information;
Edited resource information described in remaining node broadcasts of any node into the content center network.
11. data communications method according to claim 10, which is characterized in that the resource information further include:
First effective time of at least one of described resource;And
Any node is deleted when not receiving the more new information of the resource information yet after first effective time expires The resource information.
12. data communications method described in 0 or 11 according to claim 1, which is characterized in that further include:
Any node receives the fib table from other nodes, and the edited resource information is located at the fib table In;And
The edited resource information is added in the fib table of any node, and by broadcasting the fib table, with wide Broadcast the edited resource information.
13. data communications method described in 0 or 11 according to claim 1, which is characterized in that the edited resource information is also Include:
Second effective time of at least one of described resource;And
Any node retransmits the edited resource information before second effective time expires.
14. data communications method described in 0 or 11 according to claim 1, which is characterized in that at least one of described resource includes:
Resource data and/or network interface resources.
15. data communications method according to claim 14, which is characterized in that further include:
When receiving from solicited message of remaining node at least one of described resource, to described in the forwarding of other described nodes Solicited message, and the corresponding data that other described nodes return is forwarded to the sender of the solicited message.
16. data communications method according to claim 15, which is characterized in that the corresponding data of the return includes:
Corresponding to the resource data of the solicited message, or the knot after the solicited message is executed using the network interface resources Fruit data.
CN201310481463.XA 2013-10-15 2013-10-15 Data communications equipment and data communications method Expired - Fee Related CN104580287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310481463.XA CN104580287B (en) 2013-10-15 2013-10-15 Data communications equipment and data communications method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310481463.XA CN104580287B (en) 2013-10-15 2013-10-15 Data communications equipment and data communications method

Publications (2)

Publication Number Publication Date
CN104580287A CN104580287A (en) 2015-04-29
CN104580287B true CN104580287B (en) 2019-05-28

Family

ID=53095466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310481463.XA Expired - Fee Related CN104580287B (en) 2013-10-15 2013-10-15 Data communications equipment and data communications method

Country Status (1)

Country Link
CN (1) CN104580287B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040471B (en) * 2017-04-01 2020-03-24 中南大学 Direction sensing forwarding method, device and system based on NDN (named data networking) network architecture
CN107369319B (en) * 2017-06-06 2019-12-10 中国科学院信息工程研究所 method and device for acquiring road condition information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103068002A (en) * 2012-12-27 2013-04-24 重庆邮电大学 Efficient routing method of high rate-wireless personal area network (HR-WPAN) mesh network
CN103078796A (en) * 2013-01-28 2013-05-01 杭州华三通信技术有限公司 Routing calculation method and equipment
CN103179037A (en) * 2012-12-13 2013-06-26 清华大学 Data transmission method of content-centric datacenter network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7457286B2 (en) * 2003-03-31 2008-11-25 Applied Micro Circuits Corporation Accelerating the shortest path problem

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179037A (en) * 2012-12-13 2013-06-26 清华大学 Data transmission method of content-centric datacenter network
CN103068002A (en) * 2012-12-27 2013-04-24 重庆邮电大学 Efficient routing method of high rate-wireless personal area network (HR-WPAN) mesh network
CN103078796A (en) * 2013-01-28 2013-05-01 杭州华三通信技术有限公司 Routing calculation method and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
未来网络之内容中心网络的挑战和应用;张行功等;《电信科学》;20130831(第8期);正文第1-8页,图9-12

Also Published As

Publication number Publication date
CN104580287A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
Li et al. ECCN: Orchestration of edge-centric computing and content-centric networking in the 5G radio access network
CN104919758B (en) A kind of method and the network equipment by residing in the implementation of the network equipment in business domains
CN104618237A (en) TCP/UDP (Transmission Control Protocol/User Datagram Protocol)-based wide area network acceleration system and method
US10097447B2 (en) Method, apparatus, and system for transmitting data
CN105791169A (en) Switch transmission control method, switch transmitting method and related equipment in SDN (Software Defined Network)
CN105959354A (en) Load scheduling method and load scheduling system of streaming media service
CN104506537B (en) P2P system node selection method
CN113300955A (en) Method, system and equipment for determining paths between nodes in content distribution network
Obaid Critical research on the novel progressive, JOKER an opportunistic routing protocol technology for enhancing the network performance for multimedia communications
CN104580287B (en) Data communications equipment and data communications method
Belblidia et al. Part-whole dissemination of large multimedia contents in opportunistic networks
CN106507415B (en) A kind of content caching and network cooperating method of mobile network-oriented
Ye et al. PIoT: Programmable IoT using information centric networking
Anastasiades et al. Content discovery in wireless information-centric networks
WO2012029248A1 (en) Data transfer system
CN101222410B (en) Neighborhood-resource discovering method, device and system
CN101237412B (en) Packet delivery and route selection method
Nasir et al. Fast content delivery using a testbed-based information-centric network
CN105657570A (en) Resource transmission method and device for caching platform
KR20120020344A (en) Terminal, intermediate node and method of commnication thereof
JP2021503747A (en) Coupling redirect method and device
CN103731506B (en) A kind of content injection method, the first business service node and content distributing network
CN102035894B (en) Distance-based state synchronization method
CN104780468B (en) Stream medium data method of reseptance, stream media system and the node apparatus in stream media system
JP5803924B2 (en) Data transfer system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220627

Address after: 100871 No. 5, the Summer Palace Road, Beijing, Haidian District

Patentee after: Peking University

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Address before: 100871 No. 5, the Summer Palace Road, Beijing, Haidian District

Patentee before: Peking University

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230412

Address after: 100871 No. 5, the Summer Palace Road, Beijing, Haidian District

Patentee after: Peking University

Address before: 100871 No. 5, the Summer Palace Road, Beijing, Haidian District

Patentee before: Peking University

Patentee before: New founder holdings development Co.,Ltd.

Patentee before: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190528