CN107071011B - A kind of network data communication method based on cloud - Google Patents

A kind of network data communication method based on cloud Download PDF

Info

Publication number
CN107071011B
CN107071011B CN201710196876.1A CN201710196876A CN107071011B CN 107071011 B CN107071011 B CN 107071011B CN 201710196876 A CN201710196876 A CN 201710196876A CN 107071011 B CN107071011 B CN 107071011B
Authority
CN
China
Prior art keywords
cloud
data
thresholding
message
name
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.)
Active
Application number
CN201710196876.1A
Other languages
Chinese (zh)
Other versions
CN107071011A (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.)
Changshu Institute of Technology
Original Assignee
Changshu Institute of Technology
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 Changshu Institute of Technology filed Critical Changshu Institute of Technology
Priority to CN201710196876.1A priority Critical patent/CN107071011B/en
Publication of CN107071011A publication Critical patent/CN107071011A/en
Application granted granted Critical
Publication of CN107071011B publication Critical patent/CN107071011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The present invention provides a kind of network data communication method based on cloud, the network includes backbone network and access network, and backbone network includes backbone router;Accessing network includes more than one couple in router, access node and user equipment;Couple in router and access node are fixed equipment and position is immovable, and the position of user equipment can move.Provided implementation method quickly can correctly obtain service data to user through the invention, shorten the delay and cost for obtaining service data, service quality is improved, present invention can apply to the fields such as big data acquisition and road conditions monitoring, are with a wide range of applications.

Description

A kind of network data communication method based on cloud
Technical field
The present invention relates to a kind of data communications method more particularly to a kind of network data communication methods based on cloud.
Background technique
In recent years, many research work are dedicated to cloud, to allow users to quick obtaining network service.With network skill The development of art, cloud can become following and provide the one mode of service.Currently, the implementation pattern of cloud is realized by broadcasting, because This delay and cost are all bigger;User is difficult to obtain data from apart from nearest cloud member, further increases data communication Delay;In addition, the mobile handoff of cloud member can cause the inconsistency of forwarding table that can not correctly obtain number so as to cause user Required data must be obtained by request for data again according to, user, be further reduced network service, are increased communication delay.
Therefore, how to reduce cloud and the hot issue of the delay and cost of service as Recent study is provided.
Summary of the invention
Goal of the invention: a kind of based on cloud the technical problem to be solved by the present invention is in view of the deficiencies of the prior art, provide Network data communication method.The present invention realizes cloud in such a way that unicast replaces broadcast, so that reducing cloud provides service Delay and cost, to effectively improve network service performance.
Technical solution: the invention discloses a kind of network data communication method based on cloud, the network includes backbone network With access network, backbone network includes backbone router;Access network include more than one couple in router, access node and User equipment;Couple in router and access node are fixed equipment and position is immovable, and the position of user equipment can move; The topological structure for accessing the fixed equipment in network is tree, wherein leaf node is access node, root node and centre Node is couple in router;Access node has a wireless interface and a wireline interface, and wireline interface is used to connect father node, Wireless interface for connecting user equipment, jump with user equipment one reachable by access node;Access the root node and backbone network of network In backbone router connection, two access networks by backbone network realization communication;User equipment passes through apart from oneself jump model Access node in enclosing realizes communication, and an access node and the user equipment by access node realization communication constitute one A data title-domain, a data title-domain by the data name domain access node name prefix unique identification;One use Family equipment both can be used as the supplier of data, can also be used as the consumer of data;
A type of data are defined by a data name, and a data name is by name prefix and title ID structure At name prefix is divided into more than two levels, if the name prefix of an intermediate node or leaf node is by p layers of structure At, p > 1, the name prefix of the father node of intermediate node or leaf node is constituted by q layers, q > 1, p > q, then intermediate node or Preceding q layers of the name prefix of person's leaf node are equal to the name prefix of the father node of oneself;Such as in data name Video.movie.comedy/NO1, name prefix video.movie.comedy points are three levels, and title ID is NO1;It connects Enter each couple in router in network or access node by a name prefix unique identification, and each intermediate node or leaf Child node inherits the name prefix of its father node, such as a couple in router video.movie.comedy haves three layers before network Sew, then its father node there are 2 layer network prefix video.movie, wherein first two layers of network prefix is identical;
User equipment, access node, couple in router or backbone router realize data communication by message;Access net The type of message thresholding that network gives out information is 1;The type of message thresholding that backbone network gives out information is 2;Cloud creation message disappears Ceasing type thresholding is 3;The type of message thresholding that cloud creates response message is 4;Cloud creation confirmation message type of message thresholding be 5;The type of message thresholding of cloud handover request is 6;The type of message thresholding that cloud deletes message is 7;The message class of cloud request message Type thresholding is 8;The type of message thresholding of cloud response message is 9;
It accesses network and backbone network and communication is realized by forwarding table, the forwarding-table item of a forwarding table is by network prefix domain It is constituted with the interface domain domain Liang Ge;
Access Web Publishing message, backbone network give out information, cloud creation message, cloud delete message, cloud request message by Two domains in data name domain and message type field are constituted;
Cloud creates response message, cloud creation confirmation message, cloud handover request, cloud response message by data name domain, message Type field and three, domain of load domain are constituted;
Intermediate node or leaf node in access network establish forwarding table by following processes:
Step 101: starting;
Step 102: intermediate node or leaf node construct an access Web Publishing message, access Web Publishing message Name prefix in data name domain is the name prefix for identifying the intermediate node and leaf node, and name ID is 0, type of message Thresholding is 1, and intermediate node and leaf node send the access Web Publishing message from the interface being connected with father node;
Step 103: father node from the intermediate node and the interface f that is connected of leaf node that send access Web Publishing message After receiving access Web Publishing message, a forwarding-table item is created in forwarding table, the name prefix domain of forwarding-table item is to connect Enter network give out information in name prefix, interface thresholding be f;
Step 104: terminating;
After root node, intermediate node or leaf node in access network receive access Web Publishing message, look into first Forwarding table is seen, if the name prefix thresholding of at least one forwarding-table item and the name prefix in access Web Publishing message Matching degree is higher than the matching degree of the name prefix in oneself name prefix and message, then selects name prefix matching degree Highest forwarding-table item, and the access Web Publishing message received is forwarded from the interface domain of the forwarding-table item;Otherwise, then from The interface that father node or backbone router are connected forwards the access Web Publishing message received;The matching degree refers to two A name prefix is compared since first place, and consecutive identical digit is more, it was demonstrated that the matching degree of the two name prefixes is higher.
The above process can establish forwarding table quickly to which user being capable of data needed for quick obtaining.
In the method for the invention, the forwarding table establishment process of the backbone network is as follows:
Step 201: starting;
Step 202: the root node for accessing network constructs a backbone network and gives out information, the number that backbone network gives out information It is the name prefix of oneself according to the name prefix in title-domain, name ID is 0, type of message 2;
Step 203: root node sends the backbone network from the interface that backbone router is connected and gives out information;
Step 204: backbone router receives after backbone network gives out information from the interface f1 of oneself, judges in forwarding table With the presence or absence of the forwarding-table item that name prefix domain is name prefix during backbone network gives out information and interface thresholding is f1, if deposited , step 206 is executed, it is no to then follow the steps 205;
Step 205: backbone router creates a forwarding-table item, and the name prefix domain of the forwarding-table item is backbone network publication Name prefix in message, interface thresholding are f1, are then connected from each of other than interface f1 with other backbone router Interface forwarding backbone network give out information, execute step 204;
Step 206: terminating.
The above process can establish forwarding table quickly to which user being capable of data needed for quick obtaining.
In the method for the invention, a type of data are generated by an access cloud, and the access cloud is by defining the type The data name of type data defines, and can generate, saves and provide user equipment or the access of data defined in access cloud Node is known as cloud member;
Access cloud is saved and is provided the data that access cloud defines using cloud storage table, and a cloud storage list item includes three Domain: data name domain, data field and life span domain;Wherein data name domain is used to define a type of data, data Domain is used to store the data of this type, and life span is used to define the life time of this kind of data, when life time decays to 0, then the cloud storage list item is deleted from cloud storage table automatically;
Data consumer obtains data using concordance list and Aggregation Table;Concordance list is used to save the letter of access cloud member Breath, the polymerization that Aggregation Table is requested for realizing cloud;Index list item is made of data name domain, interface domain and life cycle domain;When Life time decays to 0, then the index list item is deleted from concordance list automatically;It polymerize list item by data name domain and interface domain structure At;
It is NP1 in the name prefix of data name N1, title ID is NID1, and the data that data name N1 is defined are C1, number It is T1 according to the maximum lifetime of C1, access node CAP1 is located in the ND1 of data name domain, and access node CAP1 is by name prefix NP1 mark;Data C1 can be divided into n partial data, and the union of n partial data is equal under conditions of data C1, n value Include 20 collection for natural number, such as a TV play, this TV play can be divided into 20 parts, and a collection is used as a part Data;
If access node CAP1 is uniquely to have permission the access node for generating data C1, access node CAP1 passes through creation Cloud AC1 is accessed to create data C1, access cloud AC1 is defined by data name N1, then it includes following for creating the process of data C1 Step:
Step 301: starting;
Step 302: access node CAP1 sends cloud by wireless interface and creates message, and the title-domain that cloud creates message is number According to title N1, type of message thresholding is 3;
Step 303: if the user equipment for receiving cloud creation message is capable of providing the part of data C1 or data C1 Data then return to a cloud and create response message, and the data name which creates response message is N1, and type of message thresholding is 4, Loading thresholding is the data provided;
Step 304: access node CAP1 receives the cloud that the data name thresholding of all returns is N1 and creates response message Afterwards, the load thresholding of cloud creation response message is executed and operates to be built into data C1, create a cloud in cloud storage table Storage item, in the cloud storage list item, data name thresholding is N1, and data thresholding is C1, and life span thresholding is T1;Access section Oneself is sent cloud creation confirmation message, cloud wound labeled as the cloud member of access cloud AC1, while by wireless interface by point CAP1 The data name for building confirmation message is N1, and type of message thresholding is 5, and load thresholding is data C1, life span T1;
Step 305: after user equipment receives cloud creation confirmation message, a cloud is created in cloud storage table and stores list item, it should In cloud storage list item, data name thresholding is N1, and data thresholding is C1, and life span thresholding is T1;User equipment marks oneself It is denoted as the cloud member of access cloud AC1;
Step 306: terminating;
If the life span of data C1 decays to 0, the cloud that data name thresholding is N1 is deleted from cloud storage table and is deposited List item is stored up, access node CAP1 creates data C1 by executing step 301~step 306 again.
The above process can create data quickly to which user being capable of data needed for quick obtaining.
In the method for the invention, user equipment D3 is the cloud member for accessing cloud AC1, is capable of providing data C1, data name The access node of domain ND2 is referred to as CAP2, and access node CAP2 is identified by name prefix NP2, if user equipment D3 is from data name Domain ND1 is claimed to be moved to data name domain ND2, then executing following mobile handoff operations:
Step 401: starting;
Step 402: user equipment D3 sends cloud handover request to access node CAP2, and the title thresholding of cloud handover request is N1, type of message thresholding are 6, and load thresholding is data C1 and saves the life span thresholding in the cloud storage list item of data C1 T2;
Step 403: after access node CAP2 receives cloud handover request from wireless interface w, checking that concordance list judges whether to deposit In the index list item that data name thresholding is N1, if it does, step 409 is carried out, it is no to then follow the steps 404;
Step 404: access node CAP2 creates an index list item, and the data name thresholding of the index list item is N1, connects Mouth thresholding is w, and life span is the life span in the cloud handover request received;Access node CAP2 is connect from father node Interface forward the cloud handover request;
Step 405: father node receives cloud handover request from the interface f2 of oneself, checks that concordance list judges whether there is data Title thresholding is the index list item of N1, if it does, step 406 is carried out, it is no to then follow the steps 407;
Step 406: the interface f2 of oneself is added to the interface domain for the index list item that data name thresholding is N1 by father node In, execute step 409;
Step 407: father node creates an index list item, and the data name thresholding of the index list item is N1, interface thresholding For f2, life span is the life span in the cloud handover request received, if father node is the root node for accessing network, Step 409 is executed, it is no to then follow the steps 408;
Step 408: father node forwards the cloud handover request from the interface that the father node with oneself is connect, and executes step 405;
Step 409: terminating;
After user equipment D3 executes mobile handoff, beacon frame is periodically sent, beacon frame load is data name N1;
Access node periodically sends beacon frame, and beacon frame load is the name prefix for identifying oneself;
The above process can ensure the correctness routed to which user quickly can correctly obtain required data.
If access node CAP2 does not receive the beacon frame that load is data name N1 at the appointed time, under executing It states concordance list and updates step:
Step 501: starting;
Step 502: access node CAP2 deletes the index list item that data name is N1 from concordance list, connects from father node The interface connect sends cloud and deletes message, and data name domain is N1, message type field 7;
Step 503: father node receives cloud from the interface f3 of oneself and deletes message, checks that data name thresholding is in concordance list The index list item of N1, and interface f3 is deleted from the interface domain of the index list item, if the interface thresholding is sky, carry out step 504, it is no to then follow the steps 506;
Step 504: father node deletes the index list item that data name thresholding is N1, judges whether oneself is root node, such as Fruit is to then follow the steps 506, no to then follow the steps 505;
Step 505: father node forwards the cloud to delete message from the interface that the father node with oneself is connect, and executes step 503;
Step 506: terminating.
The above process can update concordance list correctly quickly to which user quickly can correctly obtain required data.
In the method for the invention, it is located in title-domain ND2 in user equipment D6, the access node of title-domain ND2 is CAP2, data C2 are defined by data name N2, under conditions of the name prefix of data name N2 is NP2, if access node CAP2 is defined by name prefix NP2 or access node CAP2 has data name thresholding for the index list item of N2 in concordance list, So user equipment D6 then obtains data C2 according to following processes:
Step 601: starting;
Step 602: user equipment D6 creates a cloud request message, and data name thresholding is N2, and type of message thresholding is 8, access node CAP2 is sent by cloud request message;
Step 603: wireless interface f of the access node CAP2 from oneselfLAfter receiving cloud request message, created in Aggregation Table One polymerization list item, the data name thresholding of the polymerization list item are N2, and interface thresholding is fL
Step 604: access node CAP2 judges whether only have an item data title thresholding for the Aggregation Table of N2 in Aggregation Table , if so, carrying out step 605, otherwise carry out step 608;
Step 605: judging whether access node CAP2 is identified by name prefix NP2, if so, carrying out step 606, otherwise Execute step 607;
Step 606: if access node CAP2 is no in cloud storage table to save data C2, thening follow the steps 301~306 Create data C2;Then access node CAP2 creates a cloud response message, and wherein data name thresholding is N2, message type field Value is 9, is loaded as data C2, the life cycle of data C2, as the life span thresholding of the cloud storage list item of preservation data C2, Then step 608 is executed;
Step 607: access node CAP2 forwards the cloud request message received from wireless interface, is capable of providing data C2's After cloud member receives the cloud request message, a cloud response message is created, wherein data name thresholding is N2, message type field Value is 9, loads the life cycle for data C2 and data C2, as the life span domain of the cloud storage list item of preservation data C2 Value, is then sent to access node CAP2 for cloud response message;
Step 608: after access node CAP2 is created or received cloud response message, being for each data name thresholding The polymerization list item of N1, access node CAP2 are proceeded as follows: forwarding the cloud response message from the interface domain of the polymerization list item, so The polymerization list item is deleted from Aggregation Table afterwards;
Step 609: after user equipment D6 receives cloud response message, a cloud storage list item is created in cloud storage table, it should The data name thresholding of cloud storage list item is N2, and data thresholding is C2, and life span thresholding is the existence week in cloud response message Time value, user equipment D6 are converted to cloud member;
Step 610: judging whether access node CAP2 is identified by name prefix NP2, if so, executing step 612, otherwise Execute step 611;
Step 611: user equipment D6 executes step 401~409;
Step 612: terminating.
The above process can ensure that user quickly correctly obtains required data.
In the method for the invention, user equipment D4 is located in title-domain ND2, and the access node of title-domain ND2 is CAP2, Data C1 is defined by data name N1, and the name prefix of data name N1 is NP1, and access node CAP2 is determined by name prefix NP2 Justice, access node CAP1 are defined with name prefix NP1, if access node CAP2 does not have the data name thresholding to be in concordance list The index list item of N1, then user equipment D4 then obtains data C1 according to following processes:
Step 701: starting;
Step 702: user equipment D4 creates a cloud request message, and wherein data name thresholding is N1, message type field Value is 8, loads as sky, then sends access node CAP2 for cloud request message;
Step 703: wireless interface f of the access node CAP2 from oneselfLAfter receiving cloud request message, created in Aggregation Table One polymerization list item, the data name thresholding of the polymerization list item are N1, and interface thresholding is fL
Step 704: access node CAP2 judges whether only have an item data title thresholding for the Aggregation Table of N1 in Aggregation Table , if so, carrying out step 705, otherwise carry out step 716;
Step 705: access node CAP2 forwards cloud request message from the interface connecting with father node;
Step 706: couple in router or access node receive cloud request message from the interface f4 of oneself, in Aggregation Table One polymerization list item of middle creation, the data name thresholding of the polymerization list item are N1, and interface thresholding is f4
Step 707: judgement receives the couple in router of cloud request message or access node judge in Aggregation Table whether An only item data title thresholding is the polymerization list item of N1, if so, carrying out step 708, otherwise carries out step 716;
Step 708: if couple in router receives cloud request message and do not have the data name thresholding to be in concordance list The index list item of N1, thens follow the steps 709, no to then follow the steps 711;
Step 709: the couple in router for receiving cloud request message checks forwarding table, if at least one forwarding-table item Name prefix thresholding and name prefix NP1 matching degree be greater than oneself name prefix and name prefix NP1 matching journey Degree, then select the maximum forwarding-table item of name prefix matching degree, then disappears from the interface domain of forwarding-table item forwarding cloud request Breath;Otherwise, cloud request message is forwarded from the interface connecting with father node, matching degree refers to be compared since highest order, continuously Identical digit is more, it was demonstrated that matching degree is higher;
Step 710: the couple in router for receiving cloud request message executes step 706;
Step 711: if it is N1 that couple in router, which receives cloud request message and has data name thresholding in concordance list, Index list item, then follow the steps 712, it is no to then follow the steps 713;
Step 712: receiving couple in router the connecing from the index list item that data name thresholding is N1 of cloud request message Mouth domain forwards cloud request message, executes step 706;
Step 713: if it is N1's that access node, which receives cloud request message and has data name thresholding in concordance list, List item is indexed, thens follow the steps 714, it is no to then follow the steps 715;
Step 714: the access node for receiving cloud request message is asked from the cloud that the forwarding of the interface domain of forwarding-table item receives Seek message, be capable of providing data C1 cloud member receive the cloud request message after, create a cloud response message, wherein data Title thresholding is N1, and type of message thresholding is 9, loads the life cycle for data C1 and data C1, as preservation data C1 Cloud storage list item life span thresholding, cloud response message is then sent to the access node, executes step 716;
Step 715: if the access node for receiving cloud request message is no in cloud storage table to save data C1, holding Row step 301~306 creation data C1;Then access node creates a cloud response message, and wherein data name thresholding is N1, Type of message thresholding is 9, loads the life cycle for data C1 and data C1, as saves the cloud storage list item of data C1 Life span thresholding;
Step 716: if couple in router or access node create or receive cloud response message, thening follow the steps 717, it is no to then follow the steps 718;
Step 717: couple in router or access node are directed to the polymerization that each data name thresholding in Aggregation Table is N1 List item proceeds as follows: forwarding the cloud response message from the interface domain of the polymerization list item, it is poly- that this is then deleted from Aggregation Table List item is closed, step 716 is executed;
Step 718: after user equipment D4 receives cloud response message, a cloud storage list item is created in cloud storage table, it should The data name thresholding of cloud storage list item is N1, and data thresholding is C1, and life span thresholding is the existence week in cloud response message Time value, user equipment D4 are converted to cloud member, execute step 401~409;
Step 719: terminating.
The above process can ensure that user quickly correctly obtains required data.
The utility model has the advantages that the present invention provides a kind of network data communication method based on cloud, user is mentioned through the invention The implementation method of confession quickly can correctly obtain service data, shorten the delay and cost for obtaining service data, improve Service quality, present invention can apply to the fields such as big data acquisition and road conditions monitoring, are with a wide range of applications.
Detailed description of the invention
The present invention is done with reference to the accompanying drawings and detailed description and is further illustrated, of the invention is above-mentioned And/or otherwise advantage will become apparent.
Fig. 1 establishes forwarding table flow diagram to be of the present invention.
Fig. 2 establishes backbone network forwarding table flow diagram to be of the present invention.
Fig. 3 is creation data flow diagram of the present invention.
Fig. 4 is mobile handoff flow diagram of the present invention.
Fig. 5 is update concordance list schematic diagram of the present invention.
Fig. 6 is acquisition local data process schematic diagram of the present invention.
Fig. 7 is acquisition teledata flow diagram of the present invention.
Specific embodiment:
The present invention provides a kind of network data communication method based on cloud, user through the invention provided by realization side Method quickly can correctly obtain service data, shorten the delay and cost for obtaining service data, improve service quality, this Invention can be applied to the fields such as big data obtains and road conditions monitor, and be with a wide range of applications.
Fig. 1 establishes forwarding table flow diagram to be of the present invention.The network includes backbone network and access network, bone Dry net includes backbone router;Accessing network includes more than one couple in router, access node and user equipment;Access Router and access node are fixed equipment and position is immovable, and the position of user equipment can move;It accesses in network The topological structure of fixed equipment is tree, wherein leaf node is access node, and root node and intermediate node are access road By device;Access node has a wireless interface and a wireline interface, and for connecting father node, wireless interface is used for wireline interface User equipment is connected, access node is jumped reachable with user equipment one;Access the backbone routing in the root node and backbone network of network Device connection, two access networks are realized by backbone network and are communicated;User equipment passes through the access section in oneself jump range Point realizes communication, and an access node and the user equipment by access node realization communication constitute a data name Domain, a data title-domain by the data name domain access node name prefix unique identification;One user equipment both may be used Using the supplier as data, the consumer of data can also be used as;
A type of data are defined by a data name, and a data name is by name prefix and title ID structure At name prefix is divided into more than two levels, such as video.movie.comedy/NO1 in data name, name prefix Video.movie.comedy points are three levels, and title ID is NO1;If the name of an intermediate node or leaf node Prefix is constituted by p layers, p > 1, and the name prefix of the father node of intermediate node or leaf node is constituted by q layers, q > 1, p > q, that Preceding q layers of the name prefix of intermediate node or leaf node are equal to the name prefix of the father node of oneself;It accesses in network Each couple in router or access node by a name prefix unique identification, and each intermediate node or leaf node after Hold the name prefix of its father node, such as a couple in router video.movie.comedy haves three layers network prefix, then it Father node have 2 layer network prefix video.movie, wherein first two layers of network prefix is identical;
User equipment, access node, couple in router or backbone router realize data communication by message;Access net The type of message thresholding that network gives out information is 1;The type of message thresholding that backbone network gives out information is 2;Cloud creation message disappears Ceasing type thresholding is 3;The type of message thresholding that cloud creates response message is 4;Cloud creation confirmation message type of message thresholding be 5;The type of message thresholding of cloud handover request is 6;The type of message thresholding that cloud deletes message is 7;The message class of cloud request message Type thresholding is 8;The type of message thresholding of cloud response message is 9;
It accesses network and backbone network and communication is realized by forwarding table, the forwarding-table item of a forwarding table is by network prefix domain It is constituted with the interface domain domain Liang Ge;
Access Web Publishing message, backbone network give out information, cloud creation message, cloud delete message, cloud request message by Two domains in data name domain and message type field are constituted;
Cloud creates response message, cloud creation confirmation message, cloud handover request, cloud response message by data name domain, message Type field and three, domain of load domain are constituted;
Intermediate node or leaf node in access network establish forwarding table by following processes:
Step 101: starting;
Step 102: intermediate node or leaf node construct an access Web Publishing message, access Web Publishing message Name prefix in data name domain is the name prefix for identifying the intermediate node and leaf node, and name ID is 0, type of message Thresholding is 1, and intermediate node and leaf node send the access Web Publishing message from the interface being connected with father node;
Step 103: father node from the intermediate node and the interface f that is connected of leaf node that send access Web Publishing message After receiving access Web Publishing message, a forwarding-table item is created in forwarding table, the name prefix domain of forwarding-table item is to connect Enter network give out information in name prefix, interface thresholding be f;
Step 104: terminating;
After root node, intermediate node or leaf node in access network receive access Web Publishing message, look into first Forwarding table is seen, if the name prefix thresholding of at least one forwarding-table item and the name prefix in access Web Publishing message Matching degree is higher than the matching degree of the name prefix in oneself name prefix and message, then selects name prefix matching degree Highest forwarding-table item, and the access Web Publishing message received is forwarded from the interface domain of the forwarding-table item;Otherwise, then from The interface that father node or backbone router are connected forwards the access Web Publishing message received;The matching degree refers to two A name prefix is compared since first place, and consecutive identical digit is more, it was demonstrated that the matching degree of the two name prefixes is higher.
The above process can establish forwarding table quickly to which user being capable of data needed for quick obtaining.
Fig. 2 establishes backbone network forwarding table flow diagram to be of the present invention.The forwarding table of the backbone network is established Process is as follows:
Step 201: starting;
Step 202: the root node for accessing network constructs a backbone network and gives out information, the number that backbone network gives out information It is the name prefix of oneself according to the name prefix in title-domain, name ID is 0, type of message 2;
Step 203: root node sends the backbone network from the interface that backbone router is connected and gives out information;
Step 204: backbone router receives after backbone network gives out information from the interface f1 of oneself, judges in forwarding table With the presence or absence of the forwarding-table item that name prefix domain is name prefix during backbone network gives out information and interface thresholding is f1, if deposited , step 206 is executed, it is no to then follow the steps 205;
Step 205: backbone router creates a forwarding-table item, and the name prefix domain of the forwarding-table item is backbone network publication Name prefix in message, interface thresholding are f1, are then connected from each of other than interface f1 with other backbone router Interface forwarding backbone network give out information, execute step 204;
Step 206: terminating.
The above process can establish forwarding table quickly to which user being capable of data needed for quick obtaining.
Fig. 3 is creation data flow diagram of the present invention.A type of data are generated by an access cloud, should Access cloud is defined by the data name for defining this type data, can generate, saves and provide data defined in access cloud User equipment or access node be known as cloud member;
Access cloud is saved and is provided the data that access cloud defines using cloud storage table, and a cloud storage list item includes three Domain: data name domain, data field and life span domain;Wherein data name domain is used to define a type of data, data Domain is used to store the data of this type, and life span is used to define the life time of this kind of data, when life time decays to 0, then the cloud storage list item is deleted from cloud storage table automatically;
Data consumer obtains data using concordance list and Aggregation Table;Concordance list is used to save the letter of access cloud member Breath, the polymerization that Aggregation Table is requested for realizing cloud;Index list item is made of data name domain, interface domain and life cycle domain;When Life time decays to 0, then the index list item is deleted from concordance list automatically;It polymerize list item by data name domain and interface domain structure At;
It is NP1 in the name prefix of data name N1, title ID is NID1, and the data that data name N1 is defined are C1, number It is T1 according to the maximum lifetime of C1, access node CAP1 is located in the ND1 of data name domain, and access node CAP1 is by name prefix NP1 mark;Data C1 can be divided into n partial data, and the union of n partial data is equal under conditions of data C1, n value Include 20 collection for natural number, such as a TV play, this TV play can be divided into 20 parts, and a collection is used as a part Data;
If access node CAP1 is uniquely to have permission the access node for generating data C1, access node CAP1 passes through creation Cloud AC1 is accessed to create data C1, access cloud AC1 is defined by data name N1, then it includes following for creating the process of data C1 Step:
Step 301: starting;
Step 302: access node CAP1 sends cloud by wireless interface and creates message, and the title-domain that cloud creates message is number According to title N1, type of message thresholding is 3;
Step 303: if the user equipment for receiving cloud creation message is capable of providing the part of data C1 or data C1 Data then return to a cloud and create response message, and the data name which creates response message is N1, and type of message thresholding is 4, Loading thresholding is the data provided;
Step 304: access node CAP1 receives the cloud that the data name thresholding of all returns is N1 and creates response message Afterwards, the load thresholding of cloud creation response message is executed and operates to be built into data C1, create a cloud in cloud storage table Storage item, in the cloud storage list item, data name thresholding is N1, and data thresholding is C1, and life span thresholding is T1;Access section Oneself is sent cloud creation confirmation message, cloud wound labeled as the cloud member of access cloud AC1, while by wireless interface by point CAP1 The data name for building confirmation message is N1, and type of message thresholding is 5, and load thresholding is data C1, life span T1;
Step 305: after user equipment receives cloud creation confirmation message, a cloud is created in cloud storage table and stores list item, it should In cloud storage list item, data name thresholding is N1, and data thresholding is C1, and life span thresholding is T1;User equipment marks oneself It is denoted as the cloud member of access cloud AC1;
Step 306: terminating;
If the life span of data C1 decays to 0, the cloud that data name thresholding is N1 is deleted from cloud storage table and is deposited List item is stored up, access node CAP1 creates data C1 by executing step 301~step 306 again.
The above process can create data quickly to which user being capable of data needed for quick obtaining.
Fig. 4 is mobile handoff flow diagram of the present invention.User equipment D3 is the cloud member for accessing cloud AC1, energy Data C1 is enough provided, the access node of data name domain ND2 is CAP2, and access node CAP2 is identified by name prefix NP2, if User equipment D3 is moved to data name domain ND2 from data name domain ND1, then executing following mobile handoff operations:
Step 401: starting;
Step 402: user equipment D3 sends cloud handover request to access node CAP2, and the title thresholding of cloud handover request is N1, type of message thresholding are 6, and load thresholding is data C1 and saves the life span thresholding in the cloud storage list item of data C1 T2;
Step 403: after access node CAP2 receives cloud handover request from wireless interface w, checking that concordance list judges whether to deposit In the index list item that data name thresholding is N1, if it does, step 409 is carried out, it is no to then follow the steps 404;
Step 404: access node CAP2 creates an index list item, and the data name thresholding of the index list item is N1, connects Mouth thresholding is w, and life span is the life span in the cloud handover request received;Access node CAP2 is connect from father node Interface forward the cloud handover request;
Step 405: father node receives cloud handover request from the interface f2 of oneself, checks that concordance list judges whether there is data Title thresholding is the index list item of N1, if it does, step 406 is carried out, it is no to then follow the steps 407;
Step 406: the interface f2 of oneself is added to the interface domain for the index list item that data name thresholding is N1 by father node In, execute step 409;
Step 407: father node creates an index list item, and the data name thresholding of the index list item is N1, interface thresholding For f2, life span is the life span in the cloud handover request received, if father node is the root node for accessing network, Step 409 is executed, it is no to then follow the steps 408;
Step 408: father node forwards the cloud handover request from the interface that the father node with oneself is connect, and executes step 405;
Step 409: terminating;
After user equipment D3 executes mobile handoff, beacon frame is periodically sent, beacon frame load is data name N1;
Access node periodically sends beacon frame, and beacon frame load is the name prefix for identifying oneself;
The above process can ensure the correctness routed to which user quickly can correctly obtain required data.
Fig. 5 is update concordance list schematic diagram of the present invention.If access node CAP2 is not received at the appointed time The beacon frame for being data name N1 to load then executes following concordance lists and updates step:
Step 501: starting;
Step 502: access node CAP2 deletes the index list item that data name is N1 from concordance list, connects from father node The interface connect sends cloud and deletes message, and data name domain is N1, message type field 7;
Step 503: father node receives cloud from the interface f3 of oneself and deletes message, checks that data name thresholding is in concordance list The index list item of N1, and interface f3 is deleted from the interface domain of the index list item, if the interface thresholding is sky, carry out step 504, it is no to then follow the steps 506;
Step 504: father node deletes the index list item that data name thresholding is N1, judges whether oneself is root node, such as Fruit is to then follow the steps 506, no to then follow the steps 505;
Step 505: father node forwards the cloud to delete message from the interface that the father node with oneself is connect, and executes step 503;
Step 506: terminating.
The above process can update concordance list correctly quickly to which user quickly can correctly obtain required data.
Fig. 6 is acquisition local data process schematic diagram of the present invention.It is located in title-domain ND2 in user equipment D6, The access node of title-domain ND2 is CAP2, and data C2 is defined by data name N2, and the name prefix of data name N2 is NP2's Under the conditions of, if access node CAP2 is defined by name prefix NP2 or access node CAP2 has data name in concordance list Thresholding is the index list item of N2, then user equipment D6 then obtains data C2 according to following processes:
Step 601: starting;
Step 602: user equipment D6 creates a cloud request message, and data name thresholding is N2, and type of message thresholding is 8, access node CAP2 is sent by cloud request message;
Step 603: wireless interface f of the access node CAP2 from oneselfLAfter receiving cloud request message, created in Aggregation Table One polymerization list item, the data name thresholding of the polymerization list item are N2, and interface thresholding is fL
Step 604: access node CAP2 judges whether only have an item data title thresholding for the Aggregation Table of N2 in Aggregation Table , if so, carrying out step 605, otherwise carry out step 608;
Step 605: judging whether access node CAP2 is identified by name prefix NP2, if so, carrying out step 606, otherwise Execute step 607;
Step 606: if access node CAP2 is no in cloud storage table to save data C2, thening follow the steps 301~306 Create data C2;Then access node CAP2 creates a cloud response message, and wherein data name thresholding is N2, message type field Value is 9, is loaded as data C2, the life cycle of data C2, as the life span thresholding of the cloud storage list item of preservation data C2, Then step 608 is executed;
Step 607: access node CAP2 forwards the cloud request message received from wireless interface, is capable of providing data C2's After cloud member receives the cloud request message, a cloud response message is created, wherein data name thresholding is N2, message type field Value is 9, loads the life cycle for data C2 and data C2, as the life span domain of the cloud storage list item of preservation data C2 Value, is then sent to access node CAP2 for cloud response message;
Step 608: after access node CAP2 is created or received cloud response message, being for each data name thresholding The polymerization list item of N1, access node CAP2 are proceeded as follows: forwarding the cloud response message from the interface domain of the polymerization list item, so The polymerization list item is deleted from Aggregation Table afterwards;
Step 609: after user equipment D6 receives cloud response message, a cloud storage list item is created in cloud storage table, it should The data name thresholding of cloud storage list item is N2, and data thresholding is C2, and life span thresholding is the existence week in cloud response message Time value, user equipment D6 are converted to cloud member;
Step 610: judging whether access node CAP2 is identified by name prefix NP2, if so, executing step 612, otherwise Execute step 611;
Step 611: user equipment D6 executes step 401~409;
Step 612: terminating.
The above process can ensure that user quickly correctly obtains required data.
Fig. 7 is acquisition teledata flow diagram of the present invention.User equipment D4 is located in title-domain ND2, name The access node of domain ND2 is referred to as CAP2, and data C1 is defined by data name N1, and the name prefix of data name N1 is NP1, access Node CAP2 is defined by name prefix NP2, and access node CAP1 is defined with name prefix NP1, if access node CAP2 is in rope Drawing does not have data name thresholding in table be the index list item of N1, then user equipment D4 then obtains data C1 according to following processes:
Step 701: starting;
Step 702: user equipment D4 creates a cloud request message, and wherein data name thresholding is N1, message type field Value is 8, loads as sky, then sends access node CAP2 for cloud request message;
Step 703: wireless interface f of the access node CAP2 from oneselfLAfter receiving cloud request message, created in Aggregation Table One polymerization list item, the data name thresholding of the polymerization list item are N1, and interface thresholding is fL
Step 704: access node CAP2 judges whether only have an item data title thresholding for the Aggregation Table of N1 in Aggregation Table , if so, carrying out step 705, otherwise carry out step 716;
Step 705: access node CAP2 forwards cloud request message from the interface connecting with father node;
Step 706: couple in router or access node receive cloud request message from the interface f4 of oneself, in Aggregation Table One polymerization list item of middle creation, the data name thresholding of the polymerization list item are N1, and interface thresholding is f4
Step 707: judgement receives the couple in router of cloud request message or access node judge in Aggregation Table whether An only item data title thresholding is the polymerization list item of N1, if so, carrying out step 708, otherwise carries out step 716;
Step 708: if couple in router receives cloud request message and do not have the data name thresholding to be in concordance list The index list item of N1, thens follow the steps 709, no to then follow the steps 711;
Step 709: the couple in router for receiving cloud request message checks forwarding table, if at least one forwarding-table item Name prefix thresholding and name prefix NP1 matching degree be greater than oneself name prefix and name prefix NP1 matching journey Degree, then select the maximum forwarding-table item of name prefix matching degree, then disappears from the interface domain of forwarding-table item forwarding cloud request Breath;Otherwise, cloud request message is forwarded from the interface connecting with father node, matching degree refers to be compared since highest order, continuously Identical digit is more, it was demonstrated that matching degree is higher;
Step 710: the couple in router for receiving cloud request message executes step 706;
Step 711: if it is N1 that couple in router, which receives cloud request message and has data name thresholding in concordance list, Index list item, then follow the steps 712, it is no to then follow the steps 713;
Step 712: receiving couple in router the connecing from the index list item that data name thresholding is N1 of cloud request message Mouth domain forwards cloud request message, executes step 706;
Step 713: if it is N1's that access node, which receives cloud request message and has data name thresholding in concordance list, List item is indexed, thens follow the steps 714, it is no to then follow the steps 715;
Step 714: the access node for receiving cloud request message is asked from the cloud that the forwarding of the interface domain of forwarding-table item receives Seek message, be capable of providing data C1 cloud member receive the cloud request message after, create a cloud response message, wherein data Title thresholding is N1, and type of message thresholding is 9, loads the life cycle for data C1 and data C1, as preservation data C1 Cloud storage list item life span thresholding, cloud response message is then sent to the access node, executes step 716;
Step 715: if the access node for receiving cloud request message is no in cloud storage table to save data C1, holding Row step 301~306 creation data C1;Then access node creates a cloud response message, and wherein data name thresholding is N1, Type of message thresholding is 9, loads the life cycle for data C1 and data C1, as saves the cloud storage list item of data C1 Life span thresholding;
Step 716: if couple in router or access node create or receive cloud response message, thening follow the steps 717, it is no to then follow the steps 718;
Step 717: couple in router or access node are directed to the polymerization that each data name thresholding in Aggregation Table is N1 List item proceeds as follows: forwarding the cloud response message from the interface domain of the polymerization list item, it is poly- that this is then deleted from Aggregation Table List item is closed, step 716 is executed;
Step 718: after user equipment D4 receives cloud response message, a cloud storage list item is created in cloud storage table, it should The data name thresholding of cloud storage list item is N1, and data thresholding is C1, and life span thresholding is the existence week in cloud response message Time value, user equipment D4 are converted to cloud member, execute step 401~409;
Step 719: terminating.
The above process can ensure that user quickly correctly obtains required data.
Embodiment 1
Based on the simulation parameter of table 1, the present embodiment simulates the network data communication method in the present invention, and performance evaluation is such as Under: when user velocity is constant, with the increase of cloud number of members, distribution area is more extensive, therefore obtains the delay of service data All decline therewith with cost.The average retardation that vehicle node obtains service data is 60ms, average cost 7.5.
1 simulation parameter of table
The present invention provides a kind of thinkings of network data communication method based on cloud, implement the side of the technical solution There are many method and approach, the above is only a preferred embodiment of the present invention, it is noted that for the common skill of the art For art personnel, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications Also it should be regarded as protection scope of the present invention.The available prior art of each component part being not known in the present embodiment is realized.

Claims (6)

1. a kind of network data communication method based on cloud, which is characterized in that the network includes backbone network and access network, bone Dry net includes backbone router;Accessing network includes more than one couple in router, access node and user equipment;Access Router and access node are fixed equipment and position is immovable, and the position of user equipment can move;It accesses in network The topological structure of fixed equipment is tree, wherein leaf node is access node, and root node and intermediate node are access road By device;Access node has a wireless interface and a wireline interface, and for connecting father node, wireless interface is used for wireline interface User equipment is connected, access node is jumped reachable with user equipment one;Access the backbone routing in the root node and backbone network of network Device connection, two access networks are realized by backbone network and are communicated;User equipment passes through the access section in oneself jump range Point realizes communication, and an access node and the user equipment by access node realization communication constitute a data name Domain, a data title-domain by the data name domain access node name prefix unique identification;One user equipment both may be used Using the supplier as data, the consumer of data can also be used as;
A type of data are defined by a data name, and a data name is made of name prefix and title ID, name Prefix is claimed to be divided into more than two levels;If the name prefix of an intermediate node or leaf node is constituted by p layers, p > 1, The name prefix of the father node of intermediate node or leaf node is constituted by q layers, q > 1, p > q, then intermediate node or leaf Preceding q layers of the name prefix of node are equal to the name prefix of the father node of oneself;Access network in each couple in router or Person's access node is by a name prefix unique identification, and before each intermediate node or leaf node inherit the title of its father node Sew;
User equipment, access node, couple in router or backbone router realize data communication by message;Access network hair The type of message thresholding of cloth message is 1;The type of message thresholding that backbone network gives out information is 2;The message class of cloud creation message Type thresholding is 3;The type of message thresholding that cloud creates response message is 4;The type of message thresholding that cloud creates confirmation message is 5;Cloud The type of message thresholding of handover request is 6;The type of message thresholding that cloud deletes message is 7;The message type field of cloud request message Value is 8;The type of message thresholding of cloud response message is 9;
It accesses network and backbone network and communication is realized by forwarding table, the forwarding-table item of a forwarding table by network prefix domain and connects The mouth domain domain Liang Ge is constituted;
Access Web Publishing message, backbone network give out information, cloud creation message, cloud delete message, cloud request message by data Two domains of title-domain and message type field are constituted;
Cloud creates response message, cloud creation confirmation message, cloud handover request, cloud response message by data name domain, type of message Domain and three, domain of load domain are constituted;
Intermediate node or leaf node in access network establish forwarding table by following processes:
Step 101: starting;
Step 102: intermediate node or leaf node construct an access Web Publishing message, access the data of Web Publishing message Name prefix in title-domain is the name prefix for identifying the intermediate node and leaf node, and title ID is 0, type of message thresholding It is 1, intermediate node and leaf node send the access Web Publishing message from the interface being connected with father node;
Step 103: father node is received from the interface f being connected with the intermediate node and leaf node for sending access Web Publishing message To after access Web Publishing message, a forwarding-table item is created in forwarding table, the name prefix domain of forwarding-table item is access net Network give out information in name prefix, interface thresholding be f;
Step 104: terminating;
After root node, intermediate node or leaf node in access network receive access Web Publishing message, first looks at and turn It delivers, if the matching of the name prefix thresholding of at least one forwarding-table item and the name prefix in access Web Publishing message Degree is higher than the matching degree of the name prefix in oneself name prefix and message, then selects name prefix matching degree highest Forwarding-table item, and forward the access Web Publishing message that receives from the interface domain of the forwarding-table item;Otherwise, then it is saved from father The interface that point or backbone router are connected forwards the access Web Publishing message received;The matching degree refers to two names Prefix is claimed to compare since first place, consecutive identical digit is more, it was demonstrated that the matching degree of the two name prefixes is higher.
2. a kind of network data communication method based on cloud according to claim 1, which is characterized in that the backbone network Forwarding table establishment process it is as follows:
Step 201: starting;
Step 202: the root node for accessing network constructs a backbone network and gives out information, the data name that backbone network gives out information Name prefix in domain is referred to as the name prefix of oneself, and title ID is 0, and type of message thresholding is 2;
Step 203: root node sends the backbone network from the interface that backbone router is connected and gives out information;
Step 204: backbone router receives after backbone network gives out information from the interface f1 of oneself, judge in forwarding table whether There are the forwarding-table items that name prefix domain is name prefix during backbone network gives out information and interface thresholding is f1, if it does, Step 206 is executed, it is no to then follow the steps 205;
Step 205: backbone router creates a forwarding-table item, and the name prefix domain of the forwarding-table item gives out information for backbone network In name prefix, interface thresholding be f1, then connect from each of other than interface f1 with what other backbone router were connected Mouth forwarding backbone network gives out information, and executes step 204;
Step 206: terminating.
3. a kind of network data communication method based on cloud according to claim 2, which is characterized in that a type of number It is generated according to by an access cloud, which is defined by the data name for defining this type data, can generate, save and mention It is known as cloud member for the user equipment or access node of data defined in access cloud;
Access cloud is saved and is provided the data that access cloud defines using cloud storage table, and a cloud storage list item includes three domains: Data name domain, data field and life span domain;Wherein data name domain is used to define a type of data, and data field is used In the data of storage this type, life span is used to define the life time of this kind of data, when life time decays to 0, then The cloud storage list item is deleted from cloud storage table automatically;
Data consumer obtains data using concordance list and Aggregation Table;Concordance list is used to save the information of access cloud member, gathers Close the polymerization that table is requested for realizing cloud;Index list item is made of data name domain, interface domain and life cycle domain;When life Between decay to 0, then the index list item is deleted from concordance list automatically;Polymerization list item is made of data name domain and interface domain;
It is NP1 in the name prefix of data name N1, title ID is NID1, and the data that data name N1 is defined are C1, data C1 Maximum lifetime be T1, access node CAP1 is located in the ND1 of data name domain, and access node CAP1 is by name prefix NP1 Mark;Data C1 can be divided into n partial data, and the union of n partial data is equal under conditions of data C1, and n value is Natural number;
If access node CAP1 is uniquely to have permission the access node for generating data C1, access node CAP1 passes through creation access Cloud AC1 creates data C1, and access cloud AC1 defines by data name N1, then create the process of data C1 the following steps are included:
Step 301: starting;
Step 302: access node CAP1 sends cloud by wireless interface and creates message, and the title-domain that cloud creates message is data name Claim N1, type of message thresholding is 3;
Step 303: if the user equipment for receiving cloud creation message is capable of providing the partial data of data C1 or data C1, It then returns to a cloud and creates response message, the data name which creates response message is N1, and type of message thresholding is 4, load Thresholding is the data provided;
Step 304:, will after access node CAP1 receives the cloud creation response message that the data name thresholding of all returns is N1 The load thresholding of cloud creation response message executes and operates to be built into data C1, creates a cloud storage table in cloud storage table , in the cloud storage list item, data name thresholding is N1, and data thresholding is C1, and life span thresholding is T1;Access node CAP1 By oneself labeled as the cloud member of access cloud AC1, while cloud is sent by wireless interface and creates confirmation message, cloud creation confirmation The data name of message is N1, and type of message thresholding is 5, and load thresholding is data C1, life span T1;
Step 305: after user equipment receives cloud creation confirmation message, creating a cloud in cloud storage table and store list item, which deposits It stores up in list item, data name thresholding is N1, and data thresholding is C1, and life span thresholding is T1;Oneself is labeled as by user equipment The cloud member of access cloud AC1;
Step 306: terminating;
If the life span of data C1 decays to 0, the cloud storage table that data name thresholding is N1 is deleted from cloud storage table , access node CAP1 creates data C1 by executing step 301~step 306 again.
4. a kind of network data communication method based on cloud according to claim 1, which is characterized in that user equipment D3 is The cloud member for accessing cloud AC1, is capable of providing data C1, and the access node of data name domain ND2 is CAP2, access node CAP2 by Name prefix NP2 mark, if user equipment D3 is moved to data name domain ND2 from data name domain ND1, executes following Mobile handoff operation:
Step 401: starting;
Step 402: user equipment D3 sends cloud handover request to access node CAP2, and the title thresholding of cloud handover request is N1, Type of message thresholding is 6, and load thresholding is data C1 and saves the life span thresholding T2 in the cloud storage list item of data C1;
Step 403: after access node CAP2 receives cloud handover request from wireless interface w, checking that concordance list judges whether there is number The index list item for being N1 according to title thresholding, if it does, step 409 is carried out, it is no to then follow the steps 404;
Step 404: access node CAP2 creates an index list item, and the data name thresholding of the index list item is N1, interface domain Value is w, and life span is the life span in the cloud handover request received;Access node CAP2 connects from what is connect with father node Mouth forwards the cloud handover request;
Step 405: father node receives cloud handover request from the interface f2 of oneself, checks that concordance list judges whether there is data name Thresholding is the index list item of N1, if it does, step 406 is carried out, it is no to then follow the steps 407;
Step 406: the interface f2 of oneself is added in the interface domain for the index list item that data name thresholding is N1 by father node, is held Row step 409;
Step 407: father node creates an index list item, and the data name thresholding of the index list item is N1, and interface thresholding is f2, Life span is the life span in the cloud handover request received, if father node is the root node for accessing network, is executed Step 409, no to then follow the steps 408;
Step 408: father node forwards the cloud handover request from the interface that the father node with oneself is connect, and executes step 405;
Step 409: terminating;
After user equipment D3 executes mobile handoff, beacon frame is periodically sent, beacon frame load is data name N1;
Access node periodically sends beacon frame, and beacon frame load is the name prefix for identifying oneself;
If access node CAP2 does not receive the beacon frame that load is data name N1 at the appointed time, following ropes are executed Draw table and update step:
Step 501: starting;
Step 502: access node CAP2 deletes the index list item that data name is N1 from concordance list, from what is connect with father node Interface sends cloud and deletes message, and data name domain is N1, and type of message thresholding is 7;
Step 503: father node receives cloud from the interface f3 of oneself and deletes message, checks that data name thresholding is N1's in concordance list List item is indexed, and deletes interface f3 from the interface domain of the index list item, if the interface thresholding is sky, carries out step 504, it is no Then follow the steps 506;
Step 504: father node deletes the index list item that data name thresholding is N1, judges whether oneself is root node, if so, Then follow the steps 506, it is no to then follow the steps 505;
Step 505: father node forwards the cloud to delete message from the interface that the father node with oneself is connect, and executes step 503;
Step 506: terminating.
5. a kind of network data communication method based on cloud according to claim 4, which is characterized in that in user equipment D6 In title-domain ND2, the access node of title-domain ND2 is CAP2, and data C2 is defined by data name N2, data name N2's Under conditions of name prefix is NP2, if access node CAP2 is defined by name prefix NP2 or access node CAP2 is being indexed Having data name thresholding in table is the index list item of N2, then user equipment D6 then obtains data C2 according to following processes:
Step 601: starting;
Step 602: user equipment D6 creates a cloud request message, and data name thresholding is N2, and type of message thresholding is 8, will Cloud request message is sent to access node CAP2;
Step 603: wireless interface f of the access node CAP2 from oneselfLAfter receiving cloud request message, one is created in Aggregation Table It polymerize list item, the data name thresholding of the polymerization list item is N2, and interface thresholding is fL
Step 604: access node CAP2 judges whether only have an item data title thresholding for the polymerization list item of N2 in Aggregation Table, such as Fruit is to carry out step 605, otherwise carries out step 608;
Step 605: judging whether access node CAP2 is identified by name prefix NP2, if so, carrying out step 606, otherwise execute Step 607;
Step 606: if access node CAP2 is no in cloud storage table to save data C2, thening follow the steps 301~306 creations Data C2;Then access node CAP2 creates a cloud response message, and wherein data name thresholding is N2, and type of message thresholding is 9, it loads as data C2, the life cycle of data C2, as the life span thresholding of the cloud storage list item of preservation data C2, then Execute step 608;
Step 607: access node CAP2 forwards the cloud request message that receives from wireless interface, be capable of providing the cloud of data C2 at After member receives the cloud request message, a cloud response message is created, wherein data name thresholding is N2, and type of message thresholding is 9, the life cycle for data C2 and data C2, as the life span thresholding of the cloud storage list item of preservation data C2 are loaded, Then cloud response message is sent to access node CAP2;
Step 608: being N1's for each data name thresholding after access node CAP2 is created or received cloud response message Polymerize list item, access node CAP2 proceeds as follows: forwarding the cloud response message from the interface domain of the polymerization list item, then from The polymerization list item is deleted in Aggregation Table;
Step 609: after user equipment D6 receives cloud response message, a cloud storage list item is created in cloud storage table, which deposits The data name thresholding for storing up list item is N2, and data thresholding is C2, and life span thresholding is value life cycle in cloud response message, User equipment D6 is converted to cloud member;
Step 610: judging whether access node CAP2 is identified by name prefix NP2, if so, executing step 612, otherwise execute Step 611;
Step 611: user equipment D6 executes step 401~409;
Step 612: terminating.
6. a kind of network data communication method based on cloud according to claim 5, which is characterized in that user equipment D4 In title-domain ND2, the access node of title-domain ND2 is CAP2, and data C1 is defined by data name N1, the name of data name N1 Prefix is referred to as NP1, and access node CAP2 is defined by name prefix NP2, and access node CAP1 is defined with name prefix NP1, if It is the index list item of N1 that access node CAP2 does not have data name thresholding in concordance list, then user equipment D4 is then according to following Process obtains data C1:
Step 701: starting;
Step 702: user equipment D4 creates a cloud request message, and wherein data name thresholding is N1, and type of message thresholding is 8, it loads as sky, then sends access node CAP2 for cloud request message;
Step 703: wireless interface f of the access node CAP2 from oneselfLAfter receiving cloud request message, one is created in Aggregation Table It polymerize list item, the data name thresholding of the polymerization list item is N1, and interface thresholding is fL
Step 704: access node CAP2 judges whether only have an item data title thresholding for the polymerization list item of N1 in Aggregation Table, such as Fruit is to carry out step 705, otherwise carries out step 716;
Step 705: access node CAP2 forwards cloud request message from the interface connecting with father node;
Step 706: couple in router or access node receive cloud request message from the interface f4 of oneself, create in Aggregation Table A polymerization list item is built, the data name thresholding of the polymerization list item is N1, and interface thresholding is f4
Step 707: the couple in router or access node that judgement receives cloud request message judge whether only have in Aggregation Table One item data title thresholding is the polymerization list item of N1, if so, carrying out step 708, otherwise carries out step 716;
Step 708: if it is N1's that couple in router, which receives cloud request message and do not have data name thresholding in concordance list, List item is indexed, thens follow the steps 709, it is no to then follow the steps 711;
Step 709: the couple in router for receiving cloud request message checks forwarding table, if the name of at least one forwarding-table item Matching degree of the name prefix with name prefix NP1 for claiming prefix thresholding and the matching degree of name prefix NP1 to be greater than oneself, then The maximum forwarding-table item of name prefix matching degree is selected, then forwards cloud request message from the interface domain of the forwarding-table item;It is no Then, cloud request message is forwarded from the interface connecting with father node;
Step 710: the couple in router for receiving cloud request message executes step 706;
Step 711: if it is the rope of N1 that couple in router, which receives cloud request message and has data name thresholding in concordance list, Draw list item, thens follow the steps 712, it is no to then follow the steps 713;
Step 712: the interface domain for the index list item that the couple in router for receiving cloud request message is N1 from data name thresholding Cloud request message is forwarded, step 706 is executed;
Step 713: if it is the index of N1 that access node, which receives cloud request message and has data name thresholding in concordance list, List item, thens follow the steps 714, no to then follow the steps 715;
Step 714: the access node for receiving cloud request message requests to disappear from the cloud that the forwarding of the interface domain of forwarding-table item receives Breath, be capable of providing data C1 cloud member receive the cloud request message after, create a cloud response message, wherein data name Thresholding is N1, and type of message thresholding is 9, loads the life cycle for data C1 and data C1, as saves the cloud of data C1 Then cloud response message is sent to the access node by the life span thresholding of storage item, execute step 716;
Step 715: if the access node for receiving cloud request message is no in cloud storage table to save data C1, executing step Rapid 301~306 creation data C1;Then access node creates a cloud response message, and wherein data name thresholding is N1, message Type thresholding is 9, loads the life cycle for data C1 and data C1, the as existence of the cloud storage list item of preservation data C1 Time thresholding;
Step 716: if couple in router or access node create or receive cloud response message, 717 are thened follow the steps, It is no to then follow the steps 718;
Step 717: couple in router or access node are directed to the polymerization list item that each data name thresholding in Aggregation Table is N1 It proceeds as follows: forwarding the cloud response message from the interface domain of the polymerization list item, the Aggregation Table is then deleted from Aggregation Table , execute step 716;
Step 718: after user equipment D4 receives cloud response message, a cloud storage list item is created in cloud storage table, which deposits The data name thresholding for storing up list item is N1, and data thresholding is C1, and life span thresholding is value life cycle in cloud response message, User equipment D4 is converted to cloud member, executes step 401~409;
Step 719: terminating.
CN201710196876.1A 2017-03-29 2017-03-29 A kind of network data communication method based on cloud Active CN107071011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710196876.1A CN107071011B (en) 2017-03-29 2017-03-29 A kind of network data communication method based on cloud

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710196876.1A CN107071011B (en) 2017-03-29 2017-03-29 A kind of network data communication method based on cloud

Publications (2)

Publication Number Publication Date
CN107071011A CN107071011A (en) 2017-08-18
CN107071011B true CN107071011B (en) 2019-08-30

Family

ID=59618048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710196876.1A Active CN107071011B (en) 2017-03-29 2017-03-29 A kind of network data communication method based on cloud

Country Status (1)

Country Link
CN (1) CN107071011B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395509B (en) * 2017-08-28 2019-08-30 常熟理工学院 A kind of data communications method based on Internet of Things
CN111901391A (en) * 2017-08-30 2020-11-06 王梅 Method and system for data exchange between devices in different data domains
CN107947992B (en) * 2017-12-06 2020-07-28 常熟理工学院 Rapid big data communication method
CN108449274B (en) * 2018-03-21 2019-11-05 常熟理工学院 A kind of data-centered future network implementation method
CN109067903B (en) * 2018-08-29 2021-06-29 郑州云海信息技术有限公司 Cloud platform cascade system
CN109089293B (en) * 2018-10-24 2020-09-04 常熟理工学院 Route communication realization method for future mobile network
CN109768893B (en) * 2019-03-04 2021-06-18 常熟理工学院 High-efficiency big data network data communication implementation method
CN110071918B (en) * 2019-04-19 2020-10-09 北京那镁克科技有限公司 Data communication method and device based on hybrid cloud
CN110769479B (en) * 2019-09-20 2021-02-26 常熟理工学院 High-efficiency new-generation wireless network communication method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605084B (en) * 2009-06-29 2011-09-21 北京航空航天大学 Method and system for processing virtual network messages based on virtual machine
CN102075591A (en) * 2010-12-21 2011-05-25 华为技术有限公司 Method, device and system for acquiring media access control address
US9781036B2 (en) * 2015-07-28 2017-10-03 Lenovo Enterprise Solutions (Singapore) Pte. Ltd Emulating end-host mode forwarding behavior
CN105871641B (en) * 2016-06-08 2018-11-09 常熟理工学院 A kind of data capture method based on cloud
CN106507428B (en) * 2016-10-19 2019-05-07 常熟理工学院 A kind of data communications method of future mobile network

Also Published As

Publication number Publication date
CN107071011A (en) 2017-08-18

Similar Documents

Publication Publication Date Title
CN107071011B (en) A kind of network data communication method based on cloud
CN106973105B (en) A kind of vehicle-mounted cloud data communications method based on location information
CN104254070B (en) WiFi cut-in method, intelligent terminal and routing device
CN103891355B (en) A kind of method of service register and discovery, equipment and system
CN109068350A (en) A kind of autonomous network selection system and method for the terminal of Wireless Heterogeneous Networks
CN107071010B (en) A kind of network data communication method based on vehicle-mounted cloud
CN109257789A (en) A kind of vehicle-mounted network data communication means based on multi-hop cluster
CN106911570B (en) A kind of reliable network data communication method
CN106453090A (en) Communication method taking data as center
CN107360027A (en) The distribution method, apparatus and intelligent appliance of a kind of intelligent appliance
CN106453640B (en) A kind of communication means of intelligence car networking
CN107872810A (en) A kind of ZigBee intelligent networkings method
CN106506368B (en) A kind of data communication implementation method Internet-based
CN107426800A (en) Reduce the method, apparatus and smart card of power consumption of terminal
CN106973017A (en) A kind of quick network data communication method
CN109246785A (en) A kind of implementation method of future mobile network
CN106358242A (en) Access load balance method and system
CN105282829B (en) A kind of method and wireless sound box connecting network
CN104641679B (en) A kind of shunt method and equipment, system of wireless network
CN110234156A (en) A kind of method and apparatus of network selection
CN107508927A (en) A kind of future car networked data communication method based on cloud
CN102811076B (en) Bluetooth connecting method
CN105264833B (en) A kind of service path calculation method and device
CN108429673B (en) A kind of quick Future Data network implementation approach
CN106714269A (en) Access method for edge AP (Access Point) in wireless network and system thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant