CN104796288B - The Anycast means of communication and device - Google Patents

The Anycast means of communication and device Download PDF

Info

Publication number
CN104796288B
CN104796288B CN201510163731.2A CN201510163731A CN104796288B CN 104796288 B CN104796288 B CN 104796288B CN 201510163731 A CN201510163731 A CN 201510163731A CN 104796288 B CN104796288 B CN 104796288B
Authority
CN
China
Prior art keywords
anycast
message
stored
connection
anycast message
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
CN201510163731.2A
Other languages
Chinese (zh)
Other versions
CN104796288A (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.)
Guangdong Ruijiang Cloud Computing Co Ltd
Original Assignee
Guangdong Ruijiang Cloud Computing 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 Guangdong Ruijiang Cloud Computing Co Ltd filed Critical Guangdong Ruijiang Cloud Computing Co Ltd
Priority to CN201510163731.2A priority Critical patent/CN104796288B/en
Publication of CN104796288A publication Critical patent/CN104796288A/en
Application granted granted Critical
Publication of CN104796288B publication Critical patent/CN104796288B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of Anycast means of communication and device.The Anycast means of communication include:When receiving Anycast message, the local connection contextual information for whether being stored with the Anycast message is checked;If the connection contextual information of the Anycast message is locally stored, the Anycast message is obtained;Otherwise, the Anycast message is forwarded to next Anycast equipment.The Anycast means of communication provided in an embodiment of the present invention and device realize the stateful communication in Anycast communication process.

Description

The Anycast means of communication and device
Technical field
The present embodiments relate to technical field of network communication, more particularly to a kind of Anycast means of communication and device.
Background technology
The concept of Anycast (Anycast) is initially proposed and defined in RFC1546.Anycast refers to, on ip networks The host of one group of offer special services is identified by an anycast address, while service access side is not relevant for providing the tool of service Which platform host body is, any host in this group of host can be routed to by IP network by accessing the message of anycast address.
Existing any casting is not relevant for providing the specific address of the host of service, does not also safeguard the upper and lower of communication process Text.Under actual application scenarios, any casting network needs to realize a kind of stateful communication.So-called stateful communication, Refer to that client computer is remembered many on believing each other with their various requests and response with server needs during communication Breath, and the communication state at current time and the various requests before current time are related with response message.However, existing It is a kind of stateless communication to broadcast communication, the not communication of branch held state.
The content of the invention
For above-mentioned technical problem, an embodiment of the present invention provides a kind of Anycast means of communication and device, to realize Anycast Stateful communication in communication process.
In a first aspect, an embodiment of the present invention provides a kind of Anycast means of communication, including:
When receiving Anycast message, the local link information for whether being stored with the Anycast message is checked;
If the local link information for not being stored with the Anycast message, is being locally created the connection on the Anycast message Information;
Check the local connection contextual information for whether being stored with the Anycast message;
If the connection contextual information of the Anycast message is locally stored, the data in the Anycast message are obtained;
Otherwise, the Anycast message is forwarded to next Anycast equipment.
Second aspect, the embodiment of the present invention additionally provide a kind of Anycast communication device, including:
Connection checks module, for when receiving Anycast message, checking locally whether be stored with the Anycast message Link information;
Connection establishment module, when the link information for locally ought not be stored with the Anycast message, is being locally created The link information of the Anycast message;
Context check module, for checking the local connection contextual information for whether being stored with the Anycast message;
Data acquisition module, for when the connection contextual information of the Anycast message is locally stored, obtaining institute State the data in Anycast message;
Data forwarding module, when the connection contextual information for locally ought not be stored with the Anycast message, by institute State Anycast message and be forwarded to next Anycast equipment.
The Anycast means of communication provided in an embodiment of the present invention and device, during by receiving Anycast message, checking local is It is no to be stored with the connection contextual information of the Anycast message, if the connection context letter of the Anycast message is locally stored Breath, then obtain the Anycast message, otherwise, the Anycast message be forwarded to next Anycast equipment, to realize that Anycast communicates During stateful communication.
Brief description of the drawings
Fig. 1 is the flow chart for the Anycast means of communication that first embodiment of the invention provides;
Fig. 2 is the flow chart that data forwarding operates in the Anycast means of communication that second embodiment of the invention provides;
Fig. 3 is the structure chart for the Anycast communication device that third embodiment of the invention provides.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just It illustrate only part related to the present invention rather than entire infrastructure in description, attached drawing.
First embodiment
Present embodiments provide a kind of technical solution of the Anycast means of communication.In the technical scheme, the Anycast communication Method includes:When receiving Anycast message, the local link information for whether being stored with the Anycast message is checked;If local do not deposit The link information of the Anycast message is contained, the link information on the Anycast message is being locally created;Whether check local It is stored with the connection contextual information of the Anycast message;If the connection contextual information of the Anycast message is locally stored, Then obtain the data in the Anycast message;Otherwise, the Anycast message is forwarded to next Anycast equipment.
Referring to Fig. 1, the Anycast means of communication include:11 are operated to operation 15.
In operation 11, when receiving Anycast message, the local link information for whether being stored with the Anycast message is checked.
Anycast is to provide to lead to for any one in a kind of distributed server or Service Access Point in user and network The network service of letter mode.In the present embodiment, in order to realize stateful Anycast communication, client node is receiving Anycast During message, it is necessary first to check the local link information for whether being stored with the Anycast message.The link information refers to described Client node safeguard, on the client node and service end node between communicated used in communication connection Information.Under normal circumstances, the link information carries out the used communication link that communicates including client node with service end node The connection identifier number connect.
Specifically, the client node can carry out the link information of the Anycast message by connection identifier number Identification.Further, when receiving Anycast message, the client node can read the connection mark in the Anycast message Knowledge number, and search whether to be stored with the connection identified by the connection identifier number locally.
Need what is illustrated, the Anycast message can be application layer Anycast message or network layer Anycast message.
In operation 12, if the local link information for not being stored with the Anycast message, is being locally created on the Anycast The link information of message.
By the lookup of the link information to the Anycast message, if not finding the Anycast report in client node Text link information, then the client node link information of the Anycast message is being locally created.Specifically, it can pass through Shaking hands between the service end node of Anycast communication establishes the link information of the Anycast message.
In operation 13, the local connection contextual information for whether being stored with the Anycast message is checked.
In order to realize stateful Anycast communication, the company of the Anycast message must be stored with the client node Connect context information.The connection contextual information refers to some status informations that client communicates with server-side.For example, It is described to connect the bag sequence number that contextual information be the data packet of the upper successful reception of this communication connection, or this communication The bag sequence number of the last data packet retransmitted of connection.
When the client node receives Anycast message, and the Anycast report is established at the client node , it is necessary to check the local connection contextual information for whether being stored with the Anycast message after the link information of text.Specifically, institute Client node is stated by checking the caching of itself, checks whether the client node is locally stored with and is marked by connection identifier number The connection contextual information of the Anycast message of knowledge.
In operation 14, if the connection contextual information of the Anycast message is locally stored, the Anycast message is obtained In data.
By the inspection to local cache, if finding the company that the Anycast message is locally stored of the client node Context information is connected, then it is exactly the destination node of the Anycast message to illustrate the client node, so the client node The data in the Anycast message are obtained, complete transmission of the Anycast message in network.
In operation 15, if the local connection contextual information for not being stored with the Anycast message, the Anycast message is turned It is sent to next Anycast equipment.
By the inspection to local cache, if finding, the local of the client node is not stored with the Anycast message Contextual information is connected, then it is not the destination node of the Anycast message to illustrate the client node.At this time, client's end segment The Anycast message is forwarded to next Anycast equipment by point.Specifically, the client node can be according to being locally stored Anycast network topological information determines next Anycast equipment, and the Anycast message is forwarded to next Anycast equipment.
When the present embodiment is by receiving Anycast message, the local connection letter for whether being stored with the Anycast message is checked Breath, if the local link information for not being stored with the Anycast message, is being locally created the link information on the Anycast message, Check and locally whether be stored with the connection contextual information of the Anycast message, if the connection of the Anycast message is locally stored Contextual information, then obtain the data in the Anycast message, if the local connection context for not being stored with the Anycast message Information, next Anycast equipment is forwarded to by the Anycast message, it is achieved thereby that the stateful communication in Anycast communication.
Second embodiment
The present embodiment is further provided based on the above embodiment of the present invention and is forwarded to the Anycast message A kind of technical solution of next Anycast equipment.In the technical scheme, the Anycast message is forwarded to next Anycast to set It is standby to include:Anycast network topological information according to being locally stored determines next Anycast equipment;Turn to next Anycast equipment Send out Anycast message described.
Referring to Fig. 2, the Anycast message is forwarded to next Anycast equipment includes:Operation 21 and operation 22.
In operation 21, next Anycast equipment is determined according to the Anycast network topological information being locally stored.
When the local for finding client node is not stored with the contextual information of the Anycast message, that is, the Anycast Message be not using existing customer end node as purpose node when, the Anycast message that the client node needs to receive turns It is sent to next Anycast equipment.
When the Anycast message received is forwarded to next Anycast equipment, it is necessary first to from the node in network really Fixed next Anycast equipment.Specifically, the client node according to the Anycast network topological information being locally stored from net Next Anycast equipment is determined in node in network.
The network topological information refers to the topological structure on whole network stored on the client node Information.The network topological information can be IP zone datas file or route forwarding table.By being opened up to the network Flutter checking for information, the client node can easily learn the essential information of other nodes in network residing for it, and Other nodes to this node routing information.Such as the routing information of other nodes to this node can be other nodes to this The route distance of node.
In operation 22, to Anycast message described in next Anycast device forwards.
After next Anycast equipment in network is determined, to Anycast report described in next Anycast device forwards Text.
The present embodiment according to the Anycast network topological information that is locally stored by determining next Anycast equipment, and to institute Anycast message described in next Anycast device forwards is stated, it is achieved thereby that to stateful Anycast communication data in Anycast network Forwarding.
3rd embodiment
Present embodiments provide a kind of technical solution of Anycast communication device.In the technical scheme, the Anycast communication Device includes:Connection checks module 31, connection establishment module 32, context check module 33, data acquisition module 34 and number According to forwarding module 35.
The connection checks that module 31 is used for when receiving Anycast message, checks locally whether be stored with the Anycast report The link information of text.
When link information of the connection establishment module 32 for locally ought not be stored with the Anycast message, in local Establish the link information of the Anycast message;
The context check module 33 is used to check the local connection context letter for whether being stored with the Anycast message Breath.
The data acquisition module 34 is used to when the connection contextual information of the Anycast message is locally stored, obtain Take the data in the Anycast message.
When connection contextual information of the data forwarding module 35 for locally ought not be stored with the Anycast message, The Anycast message is forwarded to next Anycast equipment.
Further, the data forwarding module 35 includes:Purpose equipment determination sub-module and message forwarding submodule.
The purpose equipment determination sub-module is used to determine next according to the Anycast network topological information being locally stored Broadcast equipment.
The message forwarding submodule is used for Anycast message described in next Anycast device forwards.
Further, the Anycast message includes:Network layer Anycast message or application layer Anycast message.
Further, the connection of the Anycast message is identified by the connection identifier number set.
Will be appreciated by those skilled in the art that above-mentioned each module of the invention or each step can use general meter Device is calculated to realize, they can be concentrated on single computing device, or are distributed in the network that multiple computing devices are formed On, alternatively, they can be realized with the program code that computer installation can perform, so as to be stored in storage Performed in device by computing device, they are either fabricated to each integrated circuit modules respectively or will be more in them A module or step are fabricated to single integrated circuit module to realize.In this way, the present invention be not restricted to any specific hardware and The combination of software.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with The difference of other embodiment, the same or similar part between each embodiment mutually referring to.
The foregoing is merely the preferred embodiment of the present invention, is not intended to limit the invention, for those skilled in the art For, the present invention can have various modifications and changes.All any modifications made within spirit and principles of the present invention, be equal Replace, improve etc., it should all be included in the protection scope of the present invention.

Claims (8)

  1. A kind of 1. Anycast means of communication, it is characterised in that including:
    When receiving Anycast message, the local link information for whether being stored with the Anycast message is checked;
    If the local link information for not being stored with the Anycast message, the connection letter on the Anycast message is being locally created Breath;
    Check the local connection contextual information for whether being stored with the Anycast message;
    If the connection contextual information of the Anycast message is locally stored, the data in the Anycast message are obtained;
    Otherwise, the Anycast message is forwarded to next Anycast equipment.
  2. 2. according to the method described in claim 1, it is characterized in that, the Anycast message is forwarded to next Anycast equipment bag Include:
    Anycast network topological information according to being locally stored determines next Anycast equipment;
    To Anycast message described in next Anycast device forwards.
  3. 3. method according to claim 1 or 2, it is characterised in that the Anycast message includes:Network layer Anycast message or Person's application layer Anycast message.
  4. 4. the according to the method described in claim 3, it is characterized in that, connection identifier that the connection of the Anycast message passes through setting Number it is identified.
  5. A kind of 5. Anycast communication device, it is characterised in that including:
    Connection checks module, for when receiving Anycast message, checking the local connection for whether being stored with the Anycast message Information;
    Connection establishment module, it is described being locally created when the link information for locally ought not be stored with the Anycast message The link information of Anycast message;
    Context check module, for checking the local connection contextual information for whether being stored with the Anycast message;
    Data acquisition module, for when the connection contextual information of the Anycast message is locally stored, obtaining described appoint Report the data in text;
    Data forwarding module, when the connection contextual information for locally ought not be stored with the Anycast message, described will appoint Report text and be forwarded to next Anycast equipment.
  6. 6. device according to claim 5, it is characterised in that the data forwarding module includes:
    Purpose equipment determination sub-module, for determining next Anycast equipment according to the Anycast network topological information being locally stored;
    Message forwards submodule, for Anycast message described in next Anycast device forwards.
  7. 7. the device according to claim 5 or 6, it is characterised in that the Anycast message includes:Network layer Anycast message or Person's application layer Anycast message.
  8. 8. device according to claim 7, it is characterised in that the connection identifier that the connection of the Anycast message passes through setting Number it is identified.
CN201510163731.2A 2015-04-08 2015-04-08 The Anycast means of communication and device Active CN104796288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510163731.2A CN104796288B (en) 2015-04-08 2015-04-08 The Anycast means of communication and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510163731.2A CN104796288B (en) 2015-04-08 2015-04-08 The Anycast means of communication and device

Publications (2)

Publication Number Publication Date
CN104796288A CN104796288A (en) 2015-07-22
CN104796288B true CN104796288B (en) 2018-04-27

Family

ID=53560816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510163731.2A Active CN104796288B (en) 2015-04-08 2015-04-08 The Anycast means of communication and device

Country Status (1)

Country Link
CN (1) CN104796288B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108513316B (en) * 2018-04-10 2021-05-14 电子科技大学 Wireless network protocol performance modeling method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998370A (en) * 2009-08-21 2011-03-30 中兴通讯股份有限公司 System and method for releasing local IP access connection
WO2011044729A1 (en) * 2009-10-14 2011-04-21 上海贝尔股份有限公司 Method and apparatus for checking anycast group configuration in communication network
CN102130813A (en) * 2010-01-15 2011-07-20 华为技术有限公司 Mehod, system and device for establishing pseudo wires
KR101066319B1 (en) * 2003-11-14 2011-09-20 삼성전자주식회사 Method for serving broadcast service in a mobile communication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8560597B2 (en) * 2009-07-30 2013-10-15 At&T Intellectual Property I, L.P. Anycast transport protocol for content distribution networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101066319B1 (en) * 2003-11-14 2011-09-20 삼성전자주식회사 Method for serving broadcast service in a mobile communication system
CN101998370A (en) * 2009-08-21 2011-03-30 中兴通讯股份有限公司 System and method for releasing local IP access connection
WO2011044729A1 (en) * 2009-10-14 2011-04-21 上海贝尔股份有限公司 Method and apparatus for checking anycast group configuration in communication network
CN102130813A (en) * 2010-01-15 2011-07-20 华为技术有限公司 Mehod, system and device for establishing pseudo wires

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Context-aware distributed service provisioning based on anycast for information-centric network;Sha Yuan,Ding Tang,Yinlong Liu,Shuotian Bai,Tao Lin;《Computer Communication and Networks (ICCCN)》;20140807;第1-8页 *
IPv6任播的分析与研究;李磊;《微电子学与计算机》;20040620;第21卷(第5期);第79-81页 *

Also Published As

Publication number Publication date
CN104796288A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
US9769072B2 (en) Method and apparatus for scalable content routing and mobility in named data networks
KR101154799B1 (en) Dns wildcard beaconing to determine client location and resolver load for global traffic load balancing
CN107925681A (en) The system and method that the load balance in network packet core system is defined for distributed software
CN106856434A (en) The method and apparatus of access request conversion
CN109818917B (en) Communication method and device thereof
CN101903872A (en) Method for determining network proximity for global traffic load balancing using passive TCP performance instrumentation
CN105704030A (en) System and method for distance-based interest forwarding
CN109639557A (en) Methods, devices and systems for network communication
CN104995902A (en) Methods and systems for seamless network communication between IPV4 and IPV6 devices
CN104160680A (en) Spoofing technique for transparent proxy caching
CN101771604B (en) Routing detection method, system and intermediate routing device
CN103618801A (en) Method, device and system for sharing P2P (Peer-to-Peer) resources
CN108881018A (en) For routing the method, system and device of DIAMETER message at DIAMETER signalling route device
CN104022956A (en) Method and device for data message processing in location/ID separation protocol network
CN109302437A (en) A kind of method and apparatus redirecting website
CN102984223A (en) Message sending method and network equipment and system
US10536368B2 (en) Network-aware routing in information centric networking
CN105207909A (en) Method for transmitting information and network apparatus
CN107211008A (en) Support double registration of the user equipment to IP multimedia subsystem
CN107277882A (en) A kind of data routing method, device and base station
CN104796288B (en) The Anycast means of communication and device
JP6378121B2 (en) Gateway apparatus and communication method
CN104125605B (en) A kind of implementation method and device for asking to set up WIFI connections
JP6567699B2 (en) Method and communication device for transmitting data
CN107682271B (en) Method and device for generating routing line

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 705-708, room two, No. 121, north south of the Five Ridges Avenue, Chancheng District, Guangdong, Foshan, 528000

Applicant after: GUANGDONG RUIJIANG CLOUD COMPUTING CO., LTD.

Address before: Chancheng District of Guangdong city of Foshan province south of the Five Ridges 528000 Avenue North 121 East International A District Office 7-8

Applicant before: Guangdong Efly Network Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant