CN104796288A - Anycast communication method and device - Google Patents

Anycast communication method and device Download PDF

Info

Publication number
CN104796288A
CN104796288A CN201510163731.2A CN201510163731A CN104796288A CN 104796288 A CN104796288 A CN 104796288A CN 201510163731 A CN201510163731 A CN 201510163731A CN 104796288 A CN104796288 A CN 104796288A
Authority
CN
China
Prior art keywords
literary composition
appointing
report
locality
appoint
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.)
Granted
Application number
CN201510163731.2A
Other languages
Chinese (zh)
Other versions
CN104796288B (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 Efly Network Co Ltd
Original Assignee
Guangdong Efly Network 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 Efly Network Co Ltd filed Critical Guangdong Efly Network 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

An embodiment of the invention discloses an anycast communication method and device. The method includes: when an anycast message is received, checking whether the connection context of the anycast message is stored locally or not; if so, acquiring the anycast message; if not, forwarding the anycast message to next anycast equipment. By the anycast communication method and device, stateful communication during an anycast communication process is achieved.

Description

Appoint and broadcast the means of communication and device
Technical field
The embodiment of the present invention relates to technical field of network communication, particularly relates to a kind of and broadcasts the means of communication and device.
Background technology
The concept broadcasting (Anycast) is appointed to propose in RFC1546 at first and define.Appoint to broadcast and refer to, appointed by one on ip networks and broadcast the main frame that address designation one group provides special services, simultaneously service access side be indifferent to specifically which the platform main frame providing service, access appoints the message broadcasting address can be routed to any main frame in this group main frame by IP network.
Existing any casting is also indifferent to the specific address of the main frame providing service, does not also safeguard the context of communication process.Under the application scenarios of reality, any casting network needs to realize a kind of communication having state.What is called has the communication of state, refer in the process of communication client computer and server need to remember many about each other with their various request and response message, and the communication state of current time is relevant with response message with the various request before current time.But existing is broadcast communication is a kind of stateless communication, does not prop up the communication of held state.
Summary of the invention
For above-mentioned technical problem, embodiments providing a kind of appointing broadcasts the means of communication and device, has state communication to realize appointing broadcasting in communication process.
First aspect, embodiments provides a kind of and broadcasts the means of communication, comprising:
When report literary composition is taken office in reception, check whether this locality stores the link information that described is reported literary composition;
If this locality does not store described appointing and reports civilian link information, set up the link information reporting literary composition about described in this locality;
Check the local connection contextual information whether storing described report literary composition;
If this locality stores described appointing report civilian connection contextual information, then acquisition is described appoints the data reported in literary composition;
Otherwise, described report literary composition is forwarded to next and broadcasts equipment.
Second aspect, the embodiment of the present invention additionally provides a kind of and broadcasts communication device, comprising:
Connecting checking module, when reporting civilian for taking office in reception, checking whether this locality stores described link information of appointing report literary composition;
Connection establishment module, for when appointing the link information reporting literary composition described in local not storing, appoints the link information of reporting literary composition described in setting up in this locality;
Upper and lower file checking module, for checking the local connection contextual information whether storing described report literary composition;
Data acquisition module, for when appointing the connection contextual information reporting literary composition described in local storing, appoints the data reported in literary composition described in obtaining;
Data forwarding module, for when local do not store described appoint the connection contextual information reporting literary composition when, described is reported literary composition and is forwarded to next appointing and broadcasts equipment.
The means of communication and device are broadcast in appointing that the embodiment of the present invention provides, when taking office report literary composition by receiving, check the local connection contextual information whether storing described report literary composition, if this locality stores described appointing and reports civilian connection contextual information, then obtain described and report literary composition, otherwise, described is reported literary composition and is forwarded to next appointing and broadcasts equipment, have state communication to realize appointing broadcasting in communication process.
Accompanying drawing explanation
Fig. 1 broadcasts the flow chart of the means of communication appointing of providing of first embodiment of the invention;
Fig. 2 be second embodiment of the invention provide appoint the flow chart broadcasting the operation of data retransmission in the means of communication;
Fig. 3 broadcasts the structure chart of communication device appointing of providing of third embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not entire infrastructure.
First embodiment
Present embodiments provide a kind of technical scheme of appointing and broadcasting the means of communication.In this technical scheme, broadcast the means of communication for described and comprise: receive and take office when reporting literary composition, check that local whether storing describedly appoints the link information reporting literary composition; If this locality does not store described appointing and reports civilian link information, set up the link information reporting literary composition about described in this locality; Check the local connection contextual information whether storing described report literary composition; If this locality stores described appointing report civilian connection contextual information, then acquisition is described appoints the data reported in literary composition; Otherwise, described report literary composition is forwarded to next and broadcasts equipment.
See Fig. 1, broadcast the means of communication for described and comprise: operation 11 to operation 15.
In operation 11, receive and take office when reporting literary composition, check that local whether storing describedly appoints the link information reporting literary composition.
Appoint that to broadcast be for the class distributed server in user and network or any one in Service Access Point provide the network service of communication mode.In the present embodiment, in order to appointing of real standing state broadcasts communication, client node, when report literary composition is taken office in reception, first needs to check whether this locality stores the link information that described is reported literary composition.Described link information refers to what described client node was safeguarded, about the information of the communication connection that described client node and service end enabling communication between nodes use.Generally, described link information comprises client node and service end node and to carry out communicating the connection identifier number of used communication connection.
Concrete, described client node can be identified the link information that described is reported literary composition by connection identifier number.Further, when report literary composition is taken office in reception, described client node can read described connection identifier number of appointing in report literary composition, and searches the connection whether storing and identified by described connection identifier number in this locality.
Needs illustrate, described is reported literary composition can be that application layer appoints report literary composition, also can be that network layer appoints report literary composition.
In operation 12, if this locality does not store described appointing report civilian link information, set up the link information reporting literary composition about described in this locality.
Through reporting searching of the link information of literary composition to described, if do not find at client node the link information that described is reported literary composition, then described client node sets up the link information that described is reported literary composition in this locality.Concrete, can by appoint broadcast communication service end node between shake hands to set up and describedly appoint the link information reporting literary composition.
In operation 13, check and appoint the connection contextual information reporting literary composition described in local whether storing.
In order to appointing of real standing state broadcasts communication, described connection contextual information of appointing report literary composition must be stored at described client node place.Described connection contextual information refers to that client and service end carry out some state informations communicated.Such as, described connection contextual information can be the bag sequence number of the packet that the upper success of this communication connection receives, or the bag sequence number of the packet of this communication connection last time re-transmission.
Take office report literary composition when described client node receives, and after described in described client node place establishes is reported civilian link information, need inspection this locality whether to store described and report civilian connection contextual information.Concrete, described client node, by checking the buffer memory of self, checks whether described client node this locality stores by the connection contextual information of appointing report literary composition of connection identifier number mark.
In operation 14, if this locality stores described connection contextual information of appointing report literary composition, then obtain described data of appointing in report literary composition.
Through the inspection to local cache, if find, this locality of described client node stores described connection contextual information of appointing report literary composition, then illustrate that this client node is exactly described appointing report civilian destination node, so described client node obtains described data of appointing in report literary composition, appoint described in completing and report the transmission of literary composition in network.
Operate in 15, if this locality does not store the connection contextual information that described is reported literary composition, described report literary composition is forwarded to next and broadcasts equipment.
Through the inspection to local cache, if find, this locality of described client node does not store described connection contextual information of appointing report literary composition, then illustrate that this client node is not the described destination node reporting literary composition.Now, described report literary composition is forwarded to next and broadcasts equipment by described client node.Concrete, described client node can be broadcast network topological information according to appointing of storing of this locality and determine that next appointing broadcasts equipment, and described is reported literary composition and be forwarded to the described next one and appoint the equipment of broadcasting.
When the present embodiment takes office report literary composition by reception, check the local link information whether storing described report literary composition, if this locality does not store described appointing and reports civilian link information, the link information reporting literary composition about described is set up in this locality, check the local connection contextual information whether storing described report literary composition, if this locality stores described appointing and reports civilian connection contextual information, then obtain described data of appointing in report literary composition, if this locality does not store described appointing and reports civilian connection contextual information, described report literary composition is forwarded to next and broadcasts equipment, thus achieve to appoint to broadcast and have state communication in communication.
Second embodiment
The present embodiment, based on the above embodiment of the present invention, further provides and reports the civilian a kind of technical scheme being forwarded to the next one and appointing equipment of broadcasting by described.In this technical scheme, described is reported literary composition and be forwarded to next appointing and broadcast equipment and comprise: broadcast network topological information according to appointing of storing of this locality and determine that next appointing broadcasts equipment; To described next appoint broadcast described in device forwards appoint report literary composition.
See Fig. 2, described is reported literary composition and be forwarded to next appointing and broadcast equipment and comprise: operation 21 and operation 22.
In operation 21, broadcast network topological information according to appointing of storing of this locality and determine that next appointing broadcasts equipment.
When finding that this locality of client node does not store described contextual information of appointing report literary composition, appoint report literary composition not to be for the purpose of existing customer end node when node namely, described client node needs that the report literary composition received is forwarded to next and broadcasts equipment.
Appointing of receiving, is reported a literary composition be forwarded to next appoint broadcast equipment when, first need from the node network, determine that the described next one appoints the equipment of broadcasting.Concrete, what described client node stored according to this locality times broadcasts network topological information from the node network, determines that the described next one appoints the equipment of broadcasting.
Described network topological information refers to the information about whole topology of networks stored on described client node.Described network topological information can be IP zone data file, also can be route forwarding table.By checking described network topological information, described client node easily can learn the essential information of other nodes in the network residing for it, and other nodes are to the routing information of this node.Such as, other nodes can be the route distances of other nodes to this node to the routing information of this node.
In operation 22, appoint to broadcast described in device forwards to the described next one and appoint report literary composition.
After the next one determined in network appoints the equipment of broadcasting, appoint to broadcast described in device forwards to the described next one and appoint report literary composition.
The present embodiment is broadcast network topological information by appointing of storing according to this locality and is determined that next appointing broadcasts equipment, and appoints to broadcast to appoint described in device forwards to the described next one and report literary composition, thus achieves in office broadcasting in network and appoint to what have a state the forwarding broadcasting communication data.
3rd embodiment
Present embodiments provide a kind of technical scheme of appointing and broadcasting communication device.In this technical scheme, broadcast communication device for described and comprise: connect checking module 31, connection establishment module 32, up and down file checking module 33, data acquisition module 34 and data forwarding module 35.
When described connection checking module 31 reporting literary composition for taking office in reception, checking and appointing the link information reporting literary composition described in local whether storing.
Described connection establishment module 32, for when appointing the link information reporting literary composition described in local not storing, appoints the link information of reporting literary composition described in setting up in this locality;
Described upper and lower file checking module 33 is for checking the local connection contextual information whether storing described report literary composition.
Described data acquisition module 34, for when appointing the connection contextual information reporting literary composition described in local storing, appoints the data reported in literary composition described in obtaining.
Described data forwarding module 35 for when local do not store described appoint the connection contextual information reporting literary composition when, described is reported literary composition and is forwarded to next appointing and broadcasts equipment.
Further, described data forwarding module 35 comprises: object equipment determination submodule and message repeating submodule.
Described object equipment determination submodule is used for broadcasting network topological information according to appointing of storing of this locality and determines that next appointing broadcasts equipment.
Described message repeating submodule be used for described next appoint broadcast described in device forwards appoint report literary composition.
Further, described report literary composition comprises: network layer appoints report literary composition or application layer to appoint report literary composition.
Further, the described connection reporting literary composition is identified by the connection identifier number of setting.
Those of ordinary skill in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of computer installation, thus they storages can be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to the combination of any specific hardware and software.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, the same or analogous part between each embodiment mutually see.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, to those skilled in the art, the present invention can have various change and change.All do within spirit of the present invention and principle any amendment, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. appoint and broadcast means of communication, it is characterized in that, comprising:
When report literary composition is taken office in reception, check whether this locality stores the link information that described is reported literary composition;
If this locality does not store described appointing and reports civilian link information, set up the link information reporting literary composition about described in this locality;
Check the local connection contextual information whether storing described report literary composition;
If this locality stores described appointing report civilian connection contextual information, then acquisition is described appoints the data reported in literary composition;
Otherwise, described report literary composition is forwarded to next and broadcasts equipment.
2. method according to claim 1, is characterized in that, described is reported literary composition and is forwarded to next appointing and broadcasts equipment and comprise:
Broadcast network topological information according to appointing of storing of this locality and determine that next appointing broadcasts equipment;
Appoint to broadcast described in device forwards to the described next one and appoint report literary composition.
3. method according to claim 1 and 2, is characterized in that, reports literary composition for described and comprises: network layer appoints report literary composition or application layer to appoint report literary composition.
4. method according to claim 3, is characterized in that, the described connection reporting literary composition is identified by the connection identifier number of setting.
5. appoint and broadcast a communication device, it is characterized in that, comprising:
Connecting checking module, when reporting civilian for taking office in reception, checking whether this locality stores described link information of appointing report literary composition;
Connection establishment module, for when appointing the link information reporting literary composition described in local not storing, appoints the link information of reporting literary composition described in setting up in this locality;
Upper and lower file checking module, for checking the local connection contextual information whether storing described report literary composition;
Data acquisition module, for when appointing the connection contextual information reporting literary composition described in local storing, appoints the data reported in literary composition described in obtaining;
Data forwarding module, for when local do not store described appoint the connection contextual information reporting literary composition when, described is reported literary composition and is forwarded to next appointing and broadcasts equipment.
6. device according to claim 5, is characterized in that, described data forwarding module comprises:
Object equipment determination submodule, broadcasts network topological information for appointing of storing according to this locality and determines that next appointing broadcasts equipment;
Message repeating submodule, appoints report literary composition for appointing to the described next one to broadcast described in device forwards.
7. the device according to claim 5 or 6, is characterized in that, reports literary composition for described and comprises: network layer appoints report literary composition or application layer to appoint report literary composition.
8. device according to claim 7, is characterized in that, the described connection reporting literary composition is identified by the connection identifier number of setting.
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 true CN104796288A (en) 2015-07-22
CN104796288B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108513316A (en) * 2018-04-10 2018-09-07 电子科技大学 A kind of wireless network protocol performance modelling method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110029596A1 (en) * 2009-07-30 2011-02-03 At&T Intellectual Property I, L.P. Anycast Transport Protocol for Content Distribution Networks
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

Patent Citations (5)

* 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
US20110029596A1 (en) * 2009-07-30 2011-02-03 At&T Intellectual Property I, L.P. Anycast Transport Protocol for Content Distribution Networks
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
SHA YUAN,DING TANG,YINLONG LIU,SHUOTIAN BAI,TAO LIN: "Context-aware distributed service provisioning based on anycast for information-centric network", 《COMPUTER COMMUNICATION AND NETWORKS (ICCCN)》 *
李磊: "IPv6任播的分析与研究", 《微电子学与计算机》 *

Cited By (2)

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

Also Published As

Publication number Publication date
CN104796288B (en) 2018-04-27

Similar Documents

Publication Publication Date Title
RU2649939C2 (en) Method and device for scalable content routing and mobility in named data networks
KR20140009931A (en) Communication method of contents requester and contents provider for providing contents and real-time streaming contents in a contents centric network based on contents name
CN101771604B (en) Routing detection method, system and intermediate routing device
CN102075438B (en) unicast data frame transmission method and device
US10291510B2 (en) Topology structure discovery method and device
CN108282362B (en) Network topology generation method, device and equipment
US20150088995A1 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
CN107547283B (en) Management method and device of distributed aggregation group
US20180041570A1 (en) System, Apparatus and Method for Load Balancing
CN106330718A (en) Multicast message forwarding method and device
CN103618801A (en) Method, device and system for sharing P2P (Peer-to-Peer) resources
CN101616029A (en) A kind of method and system that realize discovering network topology
CN104022956A (en) Method and device for data message processing in location/ID separation protocol network
EP3136676A1 (en) Method, device and system for transmitting data
US11050655B2 (en) Route information distribution through cloud controller
CN103188153B (en) BFD file transmitting method and equipment on a kind of broadcasting network link
US20140317271A1 (en) Method and node apparatus for collecting information in content network based on information-centric networking
US10536368B2 (en) Network-aware routing in information centric networking
CN107276846B (en) Gateway disaster tolerance method, device and storage medium
CN105207909A (en) Method for transmitting information and network apparatus
CN106878973B (en) A kind of network identity mapping method and device
CN112615785B (en) Routing method and device of network data packet
CN101584192B (en) Node registering method
CN104796288A (en) Anycast communication method and device
CN104301221A (en) Message routing method and device

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