CN109286675A - FC-AE-ASM Data Communication in Computer Networks method and system - Google Patents
FC-AE-ASM Data Communication in Computer Networks method and system Download PDFInfo
- Publication number
- CN109286675A CN109286675A CN201811195766.4A CN201811195766A CN109286675A CN 109286675 A CN109286675 A CN 109286675A CN 201811195766 A CN201811195766 A CN 201811195766A CN 109286675 A CN109286675 A CN 109286675A
- Authority
- CN
- China
- Prior art keywords
- node
- subscription
- theme
- asm
- publication
- 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
Links
- 230000006854 communication Effects 0.000 title claims abstract description 58
- 238000004891 communication Methods 0.000 title claims abstract description 57
- 238000000034 method Methods 0.000 title claims abstract description 55
- 239000000835 fiber Substances 0.000 claims abstract description 33
- 230000005540 biological transmission Effects 0.000 claims abstract description 24
- 239000004744 fabric Substances 0.000 claims description 7
- 239000013307 optical fiber Substances 0.000 abstract description 4
- 230000007246 mechanism Effects 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 16
- 238000009937 brining Methods 0.000 description 9
- 230000006855 networking Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 238000012217 deletion Methods 0.000 description 3
- 230000037430 deletion Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 239000008186 active pharmaceutical agent Substances 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000009432 framing Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/143—Termination or inactivation of sessions, e.g. event-controlled end of session
Abstract
The present invention relates to technical field of optical fiber communication.The embodiment of the present invention provides a kind of FC-AE-ASM Data Communication in Computer Networks method and system, wherein this method comprises: be obtained from the posting request of the first publication FC node, and parse the first issuing subject included in the posting request;Judgement subscribes in subject heading list and subscribes to theme with the presence or absence of the target to match with first issuing subject, wherein the subject heading list of subscribing to is used to count the subscription FC node and its requested subscription theme in fiber optic network;If it exists, then the ASM transceiver channel that subscription FC node creation corresponding to theme is used for transmission data is subscribed to based on the first publication FC node and the target.Distribution subscription mechanism is utilized as a result, dynamic is carried out to ASM communication channel and is brought together, realizes dynamic group net during node starts and operates.
Description
Technical field
The present invention relates to technical field of optical fiber communication, more particularly to a kind of FC-AE-ASM Data Communication in Computer Networks method and
System.
Background technique
FC-AE-ASM agreement is FC-AE (Fibre Channel-AvionicsEnvironment, optical-fibre channel aviation ring
Border) one of network upper-layer protocol, which is used to support various types of processors, sensor in optical-fibre channel aviation electronics environment
Determination, the communication of safety, low latency between display;The communication of FC-AE-ASM between each device node is by the channel ASM
It is controlled.Each ASM (anonymous subscription person's message, Anonymous Subscriber Message) channel is by FC-AE-ASM
Message ID (back abbreviation msgID) and SID (source FCID), the DID (purpose FCID) three in FC frame head in frame head is wanted
Element is constituted together, represents a kind of unidirectional traffic, each channel can carry a kind of data service.
FC-ASM is used in application in the current country, pre-defining on each node has an ASM transmission/reception logical
Road table, pre-defined in table with other node communications in whole system need it is all send and receive channel information, often
Channel is defined by msgID+SID+DID.These channels ASM are to configure in communication node start-up course, should
Configuration cannot dynamically modify Yi Dan loaded successfully.
Present inventor has found that above scheme in the prior art at least exists such as during practicing the application
Under defect: 1) networking is very not flexible: each equipment channel configuration data determine after, physical location cannot be modified, can only
It is inserted in fixed switch port, network topology node is fixed;2) configuration modification trouble: once some corresponding end of each equipment
Mouth goes wrong, it has to when modifying port, not only modify and be locally configured, while also to modify matching for multiple Correspondent Nodes
It sets.It is postponed in addition, modifying matching for each node, needs restarting systems ability effect, it is very inconvenient.
Summary of the invention
The purpose of the embodiment of the present invention is that a kind of FC-AE-ASM Data Communication in Computer Networks method and system are provided, at least
Solve the problems, such as that current FC-AE-ASM communication is only suitable for communication configuration caused by preparatory fixed networking and is difficult to modify.
To achieve the goals above, on the one hand the embodiment of the present invention provides a kind of FC-AE-ASM Data Communication in Computer Networks method,
It include: to be obtained from the posting request of the first publication FC node, and parse the first issuing subject included in the posting request;
Judgement subscribes in subject heading list and subscribes to theme with the presence or absence of the target to match with first issuing subject, wherein the subscription is led
Topic table is used to count the subscription FC node and its requested subscription theme in fiber optic network;If it exists, then it is based on described first
Publication FC node and the target subscribe to the ASM transceiver channel that subscription FC node creation corresponding to theme is used for transmission data.
Through the above technical solutions, proposing when for the node of request theme publication, parse in posting request
Issuing subject, and issuing subject is compared with the subscription theme for being used to count the node to pull subscription in fiber optic network, with
The target to match with publisher node is found in real time by theme matching and subscribes to node, to create ASM transceiver channel.By
This, realizes in FC-AE-ASM network, in response to request theme publication node and dynamic creation transceiver channel, solve
Problem dependent on preparatory solid-state networking and communication configuration modification difficulty in the prior art.
On the other hand the embodiment of the present invention provides a kind of FC-AE-ASM Data Communication in Computer Networks method, comprising: be obtained from first
The subscription request of FC node is subscribed to, and parses the first subscription theme included in the subscription request;Judge issuing subject table
In with the presence or absence of with the target issuing subject that matches of the first subscription theme, wherein the issuing subject table is for counting light
FC node and its requested issuing subject are issued in fibre web network;If it exists, then based on it is described first subscribe to FC node with it is described
Publication FC node creation corresponding to target issuing subject is used for transmission the ASM transceiver channel of data.
Through the above technical solutions, proposing when for the node for the theme registration that pulls subscription, subscription request is parsed
In subscription theme, and theme will be subscribed to and request the issuing subject of node issued to compare in fiber optic network with being used to count
It is right, to find the target publisher node to match with subscription node in real time by theme matching, so that it is logical to create ASM transmitting-receiving
Road.Hereby it is achieved that in FC-AE-ASM network, in response to requesting the node of theme subscription registration and dynamic creation is received and dispatched
Channel solves the problems, such as difficult dependent on preparatory solid-state networking and communication configuration modification in the prior art.
On the one hand the embodiment of the present invention provides a kind of FC-AE-ASM Data Communication in Computer Networks system, comprising: issuing subject obtains
Unit for being obtained from the posting request of the first publication FC node, and parses the first publication included in the posting request
Theme;Theme matching unit is subscribed to, is matched for judge to subscribe to whether there is in subject heading list with first issuing subject
Target subscribes to theme, wherein the subject heading list of subscribing to is used to count subscription FC node and its requested subscription in fiber optic network
Theme;First passage creating unit, for if it exists, then subscribing to theme institute based on the first publication FC node and the target
The corresponding ASM transceiver channel subscribed to the creation of FC node and be used for transmission data.
On the other hand the embodiment of the present invention provides a kind of FC-AE-ASM Data Communication in Computer Networks system, comprising: subscribe to theme and obtain
Take unit, the subscription for being obtained from the first subscription FC node is requested, and parse subscriptions request included in first order
Read theme;Issuing subject matching unit matches in issuing subject table with the presence or absence of with the first subscription theme for judging
Target issuing subject, wherein the issuing subject table issues FC node and its requested publication for counting in fiber optic network
Theme;Second channel creating unit, for if it exists, then subscribing to FC node and the target issuing subject institute based on described first
Corresponding publication FC node creation is used for transmission the ASM transceiver channel of data.
Above-mentioned FC-AE-ASM Data Communication in Computer Networks system and above-mentioned FC-AE-ASM Data Communication in Computer Networks method rise
The effect arrived is corresponding, therefore details are not described herein.
The other feature and advantage of the embodiment of the present invention will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
Attached drawing is to further understand for providing to the embodiment of the present invention, and constitute part of specification, under
The specific embodiment in face is used to explain the present invention embodiment together, but does not constitute the limitation to the embodiment of the present invention.Attached
In figure:
Figure 1A is the configuration diagram of solid-state networking in FC-AE-ASM network in presently relevant technology;
Figure 1B is the principle flow chart of solid-state networking in FC-AE-ASM network in presently relevant technology;
Fig. 2 be one embodiment of the invention FC-AE-ASM Data Communication in Computer Networks method in establish the flow chart of publication;
Fig. 3 be one embodiment of the invention FC-AE-ASM Data Communication in Computer Networks method in cancel the flow chart of publication;
Fig. 4 be one embodiment of the invention FC-AE-ASM Data Communication in Computer Networks method in establish the flow chart of subscription;
Fig. 5 is the flow chart that unsubscribes in the FC-AE-ASM Data Communication in Computer Networks method of one embodiment of the invention;
Fig. 6 A is that the framework in the creation channel ASM in the FC-AE-ASM Data Communication in Computer Networks method of one embodiment of the invention shows
It is intended to;
Fig. 6 B is that the process in the creation channel ASM in the FC-AE-ASM Data Communication in Computer Networks method of one embodiment of the invention is shown
It is intended to;
Fig. 7 A is that the framework in the deletion channel ASM in the FC-AE-ASM Data Communication in Computer Networks method of one embodiment of the invention shows
It is intended to;
Fig. 7 B is that the process in the deletion channel ASM in the FC-AE-ASM Data Communication in Computer Networks method of one embodiment of the invention is shown
It is intended to;
Fig. 8 is the simulated effect figure transmitted using the data of the embodiment of the present invention;
Fig. 9 is the structural block diagram of the FC-AE-ASM Data Communication in Computer Networks system of one embodiment of the invention;
Figure 10 is the structural block diagram of the FC-AE-ASM Data Communication in Computer Networks system of one embodiment of the invention.
Specific embodiment
It is described in detail below in conjunction with specific embodiment of the attached drawing to the embodiment of the present invention.It should be understood that this
Locate described specific embodiment and be merely to illustrate and explain the present invention embodiment, is not intended to restrict the invention embodiment.
The channel ASM is the channel link for carrying out communication using FC-AE-ASM agreement and needing to establish.(just as logical with TCP/IP
News need first to be established the link with socket equally, and only socket is bi-directional chaining, and ASM is one-way linkage here).Often
The channel ASM on a node is divided into sendaisle and two kinds of receiving channel.
It is the mode of solid-state networking in the FC-AE-ASM network in presently relevant technology as described in Figure 1A and 1B, often
What channel required just to be configured and defined in communication node start-up course by msgID+SID+DID, and configure once
After loading successfully, cannot dynamically it modify.
As shown in Figure 1B, which depict specific solid-state group network process, and each channel is by SID (source FCID)+DID (purpose
FCID)+message ID is formed, and wherein message ID is due to total system unique definition, so the keyword as table.
A record can be preceded by channel table first when creation under each channel, then allocates certain amount in advance to it
DMAbuffer, for send data or receive data.
When the upper layer application on node is wanted to send a block number evidence, calls transmission API, message ID and data can be specified
Content.Communication module can find the matched record of message ID in the local sendaisle list being configured, then
User data carries out tearing frame open, and fills in frame head according to the information in channel (SID+DID+message ID), then be put into DMAbuffer
It sends.
When the communication module of a node receives a frame, SID, DID and message ID can be taken out in frame, then
With carrying out matched and searched in the local receiving channel list being configured.This channel is had found, then the letter for including using channel
Multiple frames are formed complete user data by breath, and notify upper level applications " having data under the channel xxx ".If matching
Failure, then abandon this frame.
Certainly, the meaning in the channel ASM is other than tearing frame framing open, and there are also other functions, such as data redundancy etc., here
It does not detail.
In ASM communication system, each node both defines a sendaisle list and a receiving channel list.Creation
The process of ASM transceiver channel is exactly the process toward sendaisle list or receiving channel list addition record in fact.
In original ASM communication system, the data in the two lists are all static configurations, preparatory in the design phase
It has defined, cannot arbitrarily change below.As shown in Figure 1B, three node A, B and C needs communicate with each other, wherein every line is just
Quite with a channel.
Wherein, the sendaisle of node A is configured with:
SID | DID | Message ID |
0x10001 | 0x10002 | 1 |
0x10001 | 0x10002 | 2 |
0x10001 | 0x10003 | 7 |
The receiving channel of node A has:
SID | DID | Message ID |
0x10003 | 0x10001 | 8 |
0x10002 | 0x10001 | 3 |
The sendaisle of node B is configured with:
SID | DID | Message ID |
0x10002 | 0x10001 | 3 |
0x10002 | 0x10003 | 5 |
0x10002 | 0x10003 | 6 |
The receiving channel of node B is configured with:
SID | DID | Message ID |
0x10001 | 0x10002 | 1 |
0x10001 | 0x10002 | 2 |
0x10003 | 0x10002 | 4 |
The sendaisle of node C is configured with:
SID | DID | Message ID |
0x10003 | 0x10001 | 8 |
0x10003 | 0x10002 | 4 |
The receiving channel of node C has:
SID | DID | Message ID |
0x10001 | 0x10003 | 7 |
0x10002 | 0x10003 | 5 |
0x10002 | 0x10003 | 6 |
As described above, in presently relevant technology, just above-mentioned table is designed in advance before node starting, and
It is fixed and invariable in communication process, is primarily due to each address of node and all secures, once the ground of some node
Location becomes, it is necessary to modify all configurations having on the node of communication relations with it, otherwise just cannot achieve normal communication.
Therefore, on the one hand the embodiment of the present invention aims at the realization dynamic distribution in fiber optic network, dynamically to set up ASM
Transceiver channel, the SID+DID+message without being pre-configured with the above-mentioned receiving channel about node and sendaisle
ID。
As shown in Fig. 2, the FC-AE-ASM Data Communication in Computer Networks method of one embodiment of the invention, comprising:
S11, the posting request for being obtained from the first publication FC node, and parse the first publication included in the posting request
Theme.
About the subject of implementation of present invention method, the FC interchanger or FC node in fiber optic network can be
Card, such as can be and process flow is written in FC interchanger or FC node card by the method for programming, with by FC interchanger or
FC node card executes the dynamic in the embodiment of the present invention or the operation of real-time networking.
Wherein, issuing subject can be the information that can be identified for that publication FC node;In addition, the concrete type about theme,
It can be instruction FCID information (such as source FCID or purpose FCID), and also can also be other institute's customized settings in advance
Information (such as Topic1, Topic2 etc.), should not limit herein.
S12, judgement, which are subscribed in subject heading list, subscribes to theme with the presence or absence of the target to match with the first issuing subject, wherein should
Subject heading list is subscribed to be used to count the subscription FC node and its requested subscription theme in fiber optic network.
As an example, can be one FC section of every appearance in fiber optic network about the correlative detail for subscribing to subject heading list
Point, which issues, subscribes to request, is just determined as the FC node to subscribe to FC node, and the subscription theme in subscription request is ordered with this
FC node associated storage is read to subscribing in subject heading list, to realized in the subscription subject heading list to the subscription FC in fiber optic network
Node and its requested statistics for subscribing to theme.
S13, if it exists subscribes to the creation of FC node based on the first publication FC node and target and is used for transmission the ASM of data and receives
Send out channel.
In the present embodiment, FC node and its requested subscription theme are subscribed to by having counted all in fiber optic network
Subject heading list is subscribed to, realizes the matching subscribed in subject heading list to the first publication requested issuing subject of FC node, and can find
The corresponding target of first publication FC node subscribes to FC node, to be used for transmission subscribing to create between node and publisher node
The ASM transceiver channel of data.It does not need to complete static configuration before node starts as a result, but after a node turns, pass through hair
Request and table lookup are done dynamically the response to posting request, the subscription FC node corresponding to it are found, to realize sound
The dynamic group net that should be issued in theme.
In some embodiments, it can also be by the way that issuing subject table is arranged, to realize to the hair in fiber optic network
The statistics of cloth FC node and its requested issuing subject, such as parsing the first publication master included in the first posting request
After topic, the first publication FC node and the first issuing subject are updated to issuing subject table.
Propose in embodiments of the present invention by subscribe to and issue it is matched in the way of realize and be associated between FC node,
To establish ASM transceiver channel.It should be noted that the same FC node can be and not only be configured for issuing subject but also be configured for
Subscribe to theme, and can be while subscribing in a FC node multiple FC nodes and can also at the same to multiple nodes or other
Node issuing subject, to realize the associated effect in channel as shown in Figure 1A.
In some embodiments, about the creation process of ASM transceiver channel, can be by bring together topic list come
It completes, wherein brining topic list together for counting the FC node pair subscribed in fiber optic network with publication successful match, therefore can
With based on these FC nodes to updating (including create or delete) ASM transceiver channel;Such as it can be based on matched
One publication FC node and target subscribe to FC node and bring topic list together to update.In addition, can also be wrapped in brining topic list together
It includes with FC node to corresponding matched issuing subject and subscription theme.
In some embodiments, it can also be to apply and bring topic list together to realize and delete to the established channel ASM
It removes, with dynamic management group network process.Specifically, the process of cancellation publication as shown in Figure 3, comprising: S31, be obtained from the second hair
The cancellation posting request of cloth FC node, and parse the second issuing subject cancelled in posting request.S32, judgement bring theme column together
It whether there is the second issuing subject in table.S33, if it exists, it is determined that bring together corresponding with the second issuing subject in topic list
FC node pair.S34, FC node is deleted to corresponding ASM transceiver channel.Hereby it is achieved that being rung based on topic list is brought together
ASM transceiver channel should be deleted in cancellation posting request.
As shown in figure 4, the FC-AE-ASM Data Communication in Computer Networks method of one embodiment of the invention, comprising:
S41, the subscription request for being obtained from the first subscription FC node, and parse the first subscription master included in subscription request
Topic.
Wherein, subscribing to theme can be the information that can be identified for that subscription FC node;In addition, the concrete type about theme,
It can be instruction FCID information (such as source FCID or purpose FCID), and also can also be other institute's customized settings in advance
Information (such as Topic1, Topic2 etc.), should not limit herein.
S42, judge with the presence or absence of the target issuing subject to match with the first subscription theme in issuing subject table, wherein sending out
Cloth subject heading list issues FC node and its requested issuing subject for counting in fiber optic network.
As an example, the correlative detail about issuing subject table, can be one FC section of every appearance in fiber optic network
Point issue posting request, just by the FC node be determined as issue FC node, and by the posting request issuing subject and the hair
Cloth FC node associated storage is into issuing subject table, to realized in the issuing subject table to the publication FC in fiber optic network
The statistics of node and its requested issuing subject.
S43, if it exists then subscribes to the creation of publication FC node corresponding to FC node and target issuing subject based on first and uses
In the ASM transceiver channel of transmission data.
In the present embodiment, by having counted all publication FC nodes and its requested issuing subject in fiber optic network
Issuing subject table is realized in issuing subject table and subscribes to the requested matching for subscribing to theme of FC node to first, and can find
First, which subscribes to the corresponding target of FC node, issues FC node, to be used for transmission subscribing to create between node and publisher node
The ASM transceiver channel of data.It does not need to complete static configuration before node starts as a result, but after a node turns, pass through hair
Request and table lookup are done dynamically the response to request is subscribed to, and the publication FC node corresponding to it are found, to realize sound
It should be in the dynamic group net of theme subscription registration.
In some embodiments, it can also be and subject heading list subscribed to by setting, to realize to ordering in fiber optic network
FC node and its requested statistics for subscribing to theme are read, such as subscribes to the first subscription master included in request in parsing first
After topic, the first subscription FC node and the first subscription theme are updated to subscription subject heading list.
In some embodiments, about the creation process of ASM transceiver channel, can be by bring together topic list come
It completes, wherein brining topic list together for counting the FC node pair subscribed in fiber optic network with publication successful match, therefore can
With based on these FC nodes to updating (including create or delete) ASM transceiver channel;Such as it can be based on matched
One subscription FC node and target issue FC node and bring topic list together to update.In addition, can also be wrapped in brining topic list together
It includes with FC node to corresponding matched issuing subject and subscription theme.
In some embodiments, it can also be to apply and bring topic list together to realize and delete to the established channel ASM
It removes, with dynamic management group network process.Specifically, the process unsubscribed as shown in Figure 5, comprising: S51, be obtained from second and order
That reads FC node unsubscribes request, and parses second cancelled in posting request and subscribe to theme.S52, judgement bring theme column together
Theme is subscribed to the presence or absence of second in table.S53, if it exists, it is determined that bring in topic list that subscribe to theme with second corresponding together
FC node pair.S54, FC node is deleted to corresponding ASM transceiver channel.Hereby it is achieved that being rung based on topic list is brought together
Ying Yu unsubscribes request and deletes ASM transceiver channel.
It should be noted that Fig. 2-3 and 4-5 are described respectively for the sum under posting request under subscription request
Dynamic group net process, both group network process in no particular order, and also can also be while parallel carrying out, and belong to this hair
In bright protection scope.In embodiments of the present invention, by (subscribing to subject heading list, issuing subject table to three tables and brining theme together
List) attended operation, can realize in fiber optic network subscribe to request and posting request response, thus dynamic establish and
ASM transceiver channel is deleted, and easy to operate.
In embodiments of the present invention, user is operated by upper layer application, and only need to be concerned about data (or theme) itself and
Without the physical configuration information for being concerned about each node.In addition, in a network after node replacement switch port, channel configuration data and
Code does not have to any modification yet, and the communication channel on each node still can according to need dynamic and add or delete, for section
Function migration is all very convenient between point upper module dynamically load and node.
As shown in Figure 6 A and 6B, the channel ASM is created in the FC-AE-ASM Data Communication in Computer Networks method of one embodiment of the invention
Principle example, be firstly introduced into a background system, this background system can be located on FC interchanger or some node card
On.Three tables are defined in background system: issuing subject table subscribes to subject heading list and brings successful topic list together.Each communication
Node can apply for the registration of to background system at any time, and (theme publication applies and theme with theme is subscribed to for the issuing subject that oneself is needed
Subscribe to application sequence in no particular order).Background system carries out theme matching: such as while handling theme publication and subscription registration
Fruit finds new issuing subject name subscription subject identical or new with some subject in subscription subject heading list in issuing subject table
Some subject is identical, then it is assumed that success is brought together, otherwise it is assumed that brining failure together.Issuing subject is only recorded in the theme for brining failure together
Table is subscribed in subject heading list, continues to bring together for subsequent;For brining successful theme together, then messageID is distributed for it,
And successful result notice will be brought together to related node, the latter receives and dispatches according to the ASM that these information dynamic creations communication needs
Channel.After ASM transceiver channel creates successfully, the application on node can be carried out data communication.Node passes through publication as a result,
Theme carries out data transmission, carries out data receiver by subscribing to theme, the transmitting-receiving of data is completed in a manner of subscribing to and issue
Operation.
As shown in figs. 7 a-b, the original in the channel ASM is deleted in the FC-AE-ASM Data Communication in Computer Networks of one embodiment of the invention
Example is managed, after node no longer needs to communicate using some theme, the process for cancelling publish/subscribe can be initiated.The process is such as
Under: cancellation request is initiated by node, background system receives after request to be deleted from publish/subscribe table and brining together in successful list first
Then corresponding record notifies interdependent node to delete corresponding ASM data channel.After node receives channel deletion notice, from ASM
Relevant channel is deleted in transceiver channel.
In embodiments of the present invention, the decoupling to gap marker msgID is realized, that is, user does not have to be concerned about FC- again
AE-ASM agreement, user do not have to specify defined message ID in ASM agreement again when calling the API of sending and receiving data, but straight
It connects using subject, is achieved that during bottom communication and has been automatically performed at the mapping between subject and message ID
Reason and dynamic allocation.It can be matched at any time as needed when needing to register theme, issuing subject and subscribing to theme as a result,
It sets, and can also be with cancel register when unwanted.
As shown in figure 8, being sharp in same PC machine using the simulated effect figure that the data of the embodiment of the present invention are transmitted
The case where being communicated with each other with two device nodes that two sub- card molds are intended.Wherein, a node Topic_1, Topic_2,
Topic_3 is issued, and is subscribed to Topic_4, Topic_5, Topic_6, another node Topic_4,
Topic_5, Topic_6 are issued, and are subscribed to Topic_1, Topic2, Topic_3.Later, the two nodes are brought together
After success, two nodes carry out the transmission of picture, Wave data, character data on these issuing subjects respectively, and in addition one
End can be received and be shown by subscribing to theme.It has been proved as a result, using distribution subscription mechanism, it is right in background system
ASM communication channel carries out dynamic and brings together, to realize the reliability of data transmission.
As shown in figure 9, the FC-AE-ASM Data Communication in Computer Networks system 60 of one embodiment of the invention, comprising:
Issuing subject acquiring unit 601 for being obtained from the posting request of the first publication FC node, and parses the publication
First issuing subject included in request;
Theme matching unit 602 is subscribed to, whether there is and the first issuing subject phase for judging to subscribe in subject heading list
Matched target subscribes to theme, wherein the subscription subject heading list is for counting the subscription FC node in fiber optic network and its being requested
Subscription theme;
First passage creating unit 603, for if it exists, then being subscribed to based on the first publication FC node and the target
Subscription FC node creation corresponding to theme is used for transmission the ASM transceiver channel of data.
Such as Figure 10, the FC-AE-ASM Data Communication in Computer Networks system 70 of one embodiment of the invention, comprising:
Theme acquiring unit 701 is subscribed to, the subscription for being obtained from the first subscription FC node is requested, and parses the subscription
First subscribes to theme included in request;
Issuing subject matching unit 702 subscribes to theme phase with the presence or absence of with described first in issuing subject table for judging
Matched target issuing subject, wherein the issuing subject table issues FC node and its requested for counting in fiber optic network
Issuing subject;
Second channel creating unit 703, for if it exists, then subscribing to FC node based on described first and the target being issued
Publication FC node creation corresponding to theme is used for transmission the ASM transceiver channel of data.
More details of FC-AE-ASM Data Communication in Computer Networks system about the embodiment of the present invention are referred to close above
In the description of the details of embodiment of the method, and technical effect identical or corresponding with above-mentioned embodiment of the method can be obtained, therefore
It does not just repeat herein.
The optional embodiment of the embodiment of the present invention is described in detail in conjunction with attached drawing above, still, the embodiment of the present invention is simultaneously
The detail being not limited in above embodiment can be to of the invention real in the range of the technology design of the embodiment of the present invention
The technical solution for applying example carries out a variety of simple variants, these simple variants belong to the protection scope of the embodiment of the present invention.
It is further to note that specific technical features described in the above specific embodiments, in not lance
In the case where shield, it can be combined in any appropriate way.In order to avoid unnecessary repetition, the embodiment of the present invention pair
No further explanation will be given for various combinations of possible ways.
It will be appreciated by those skilled in the art that implementing the method for the above embodiments is that can pass through
Program is completed to instruct relevant hardware, which is stored in a storage medium, including some instructions are used so that single
Piece machine, chip or processor (processor) execute all or part of the steps of each embodiment the method for the application.And it is preceding
The storage medium stated includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-On1y Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), magnetic or disk.
In addition, any combination can also be carried out between a variety of different embodiments of the embodiment of the present invention, as long as it is not
The thought of the embodiment of the present invention is violated, equally should be considered as disclosure of that of the embodiment of the present invention.
Claims (10)
1. a kind of FC-AE-ASM Data Communication in Computer Networks method, comprising:
It is obtained from the posting request of the first publication FC node, and parses the first issuing subject included in the posting request;
Judgement subscribes in subject heading list and subscribes to theme with the presence or absence of the target to match with first issuing subject, wherein described order
Subject heading list is read for counting subscription FC node and its requested subscription theme in fiber optic network;
If it exists, then the creation of subscription FC node corresponding to theme is subscribed to based on the first publication FC node and the target to use
In the ASM transceiver channel of transmission data.
2. according to the method described in claim 1, wherein, parsing the first publication master included in first posting request
After topic, this method further include:
Issuing subject table is updated based on the first publication FC node and first issuing subject, wherein the issuing subject table
For counting publication FC node and its requested issuing subject in fiber optic network.
3. according to the method described in claim 1, wherein, described subscribed to based on the first publication FC node and the target is led
Subscription FC node creation corresponding to topic is used for transmission the ASM transceiver channel of data and includes:
FC node updates are subscribed to based on the first publication FC node and the target and bring topic list together, wherein described bring master together
Topic list is used to count subscribes to and the FC node pair of publication successful match and the hair to match corresponding to it in fiber optic network
Cloth theme and subscription theme;And
Based on the FC node pair that the subscription brought together in topic list and publication match, update is used for transmission data
ASM transceiver channel.
4. according to the method described in claim 3, wherein, this method further include:
It is obtained from the cancellation posting request of the second publication FC node, and parses the second publication master in the cancellation posting request
Topic;
It is brought together described in judgement in topic list with the presence or absence of second issuing subject;And
If it exists, it is determined that described to bring FC node pair corresponding with second issuing subject in topic list together;
The FC node is deleted to corresponding ASM transceiver channel.
5. a kind of FC-AE-ASM Data Communication in Computer Networks method, comprising:
It is obtained from the subscription request of the first subscription FC node, and parses the first subscription theme included in the subscription request;
Judge with the presence or absence of the target issuing subject to match with the first subscription theme in issuing subject table, wherein the hair
Cloth subject heading list issues FC node and its requested issuing subject for counting in fiber optic network;
If it exists, then the creation of publication FC node corresponding to FC node and the target issuing subject is subscribed to based on described first to use
In the ASM transceiver channel of transmission data.
6. according to the method described in claim 5, wherein, subscribing to the first subscription master included in request parsing described first
After topic, this method further include:
FC node and described first is subscribed to based on described first and subscribes to theme update subscription subject heading list, wherein the subscription subject heading list
For counting subscription FC node and its requested subscription theme in fiber optic network.
7. according to the method described in claim 5, wherein, described issued based on the first subscription FC node and the target is led
Publication FC node creation corresponding to topic is used for transmission the ASM transceiver channel of data and includes:
Topic list is brought together based on the first subscription FC node and target publication FC node updates, wherein described bring master together
Topic list is used to count subscribes to and the FC node pair of publication successful match and the hair to match corresponding to it in fiber optic network
Cloth theme and subscription theme;And
Based on the FC node pair that the subscription brought together in topic list and publication match, update is used for transmission data
ASM transceiver channel.
8. according to the method described in claim 7, wherein, this method further include:
Second for being obtained from the request that unsubscribes of the second subscription FC node, and being unsubscribed in request described in parsing subscribes to master
Topic;
It is brought together described in judgement in topic list and subscribes to theme with the presence or absence of described second;And
If it exists, it is determined that described to bring FC node pair corresponding with the second subscription theme in topic list together;
The FC node is deleted to corresponding ASM transceiver channel.
9. a kind of FC-AE-ASM Data Communication in Computer Networks system, comprising:
Issuing subject acquiring unit for being obtained from the posting request of the first publication FC node, and parses in the posting request
The first issuing subject for being included;
Theme matching unit is subscribed to, for judging to subscribe in subject heading list with the presence or absence of the mesh to match with first issuing subject
Mark subscribes to theme, wherein the subject heading list of subscribing to is for counting subscription FC node and its requested subscription master in fiber optic network
Topic;
First passage creating unit, for if it exists, then subscribing to theme institute based on the first publication FC node and the target
The corresponding ASM transceiver channel subscribed to the creation of FC node and be used for transmission data.
10. a kind of FC-AE-ASM Data Communication in Computer Networks system, comprising:
Theme acquiring unit is subscribed to, the subscription for being obtained from the first subscription FC node is requested, and is parsed in the subscription request
Included first subscribes to theme;
Issuing subject matching unit, for judging in issuing subject table with the presence or absence of the mesh to match with the first subscription theme
Issuing subject is marked, wherein the issuing subject table issues FC node and its requested publication master for counting in fiber optic network
Topic;
Second channel creating unit, for if it exists, then subscribing to FC node and the target issuing subject institute based on described first
Corresponding publication FC node creation is used for transmission the ASM transceiver channel of data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811195766.4A CN109286675B (en) | 2018-10-15 | 2018-10-15 | FC-AE-ASM network data communication method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811195766.4A CN109286675B (en) | 2018-10-15 | 2018-10-15 | FC-AE-ASM network data communication method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109286675A true CN109286675A (en) | 2019-01-29 |
CN109286675B CN109286675B (en) | 2022-02-18 |
Family
ID=65176808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811195766.4A Active CN109286675B (en) | 2018-10-15 | 2018-10-15 | FC-AE-ASM network data communication method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109286675B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070150934A1 (en) * | 2005-12-22 | 2007-06-28 | Nortel Networks Ltd. | Dynamic Network Identity and Policy management |
CN101170557A (en) * | 2006-10-27 | 2008-04-30 | 国际商业机器公司 | Access control within a publish/subscribe system |
US20100250677A1 (en) * | 2009-03-31 | 2010-09-30 | International Business Machines Corporation | Subscriber device and subscription management that supports real-time communication |
CN102033743A (en) * | 2010-09-02 | 2011-04-27 | 西安赛斐软件科技有限公司 | System and method for expanding model driving development capability by applying plug-in |
CN102710593A (en) * | 2012-03-19 | 2012-10-03 | 北京邮电大学 | Method, device and system for publishing message in graph mashup |
CN104301237A (en) * | 2014-10-13 | 2015-01-21 | 湖北交通职业技术学院 | Data subscription and distribution method applicable to delay-tolerant and disconnection-tolerant network |
CN105610981A (en) * | 2016-02-29 | 2016-05-25 | 湖南高至科技有限公司 | Quick operational information transfer platform |
CN106452918A (en) * | 2016-11-23 | 2017-02-22 | 北京润科通用技术有限公司 | Communication method and system for avionics network system |
CN108040034A (en) * | 2017-11-15 | 2018-05-15 | 中国航空无线电电子研究所 | Distributing real communication middleware |
-
2018
- 2018-10-15 CN CN201811195766.4A patent/CN109286675B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070150934A1 (en) * | 2005-12-22 | 2007-06-28 | Nortel Networks Ltd. | Dynamic Network Identity and Policy management |
CN101170557A (en) * | 2006-10-27 | 2008-04-30 | 国际商业机器公司 | Access control within a publish/subscribe system |
US20100250677A1 (en) * | 2009-03-31 | 2010-09-30 | International Business Machines Corporation | Subscriber device and subscription management that supports real-time communication |
CN102033743A (en) * | 2010-09-02 | 2011-04-27 | 西安赛斐软件科技有限公司 | System and method for expanding model driving development capability by applying plug-in |
CN102710593A (en) * | 2012-03-19 | 2012-10-03 | 北京邮电大学 | Method, device and system for publishing message in graph mashup |
CN104301237A (en) * | 2014-10-13 | 2015-01-21 | 湖北交通职业技术学院 | Data subscription and distribution method applicable to delay-tolerant and disconnection-tolerant network |
CN105610981A (en) * | 2016-02-29 | 2016-05-25 | 湖南高至科技有限公司 | Quick operational information transfer platform |
CN106452918A (en) * | 2016-11-23 | 2017-02-22 | 北京润科通用技术有限公司 | Communication method and system for avionics network system |
CN108040034A (en) * | 2017-11-15 | 2018-05-15 | 中国航空无线电电子研究所 | Distributing real communication middleware |
Non-Patent Citations (1)
Title |
---|
付中培等: "付中培等", 《现代电子技术》 * |
Also Published As
Publication number | Publication date |
---|---|
CN109286675B (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20150006555A1 (en) | Message Publishing and Subscribing Method and Apparatus | |
CN103916277B (en) | The method and apparatus that realization does not interrupt forwarding service when restarting | |
US11936755B2 (en) | Systems and methods for determining a destination location for transmission of packetized data in a network system based on an application server attribute | |
CN109756559A (en) | The building and application method of Embedded airborne system distributed data distribution service | |
CN109150638A (en) | A kind of route management method and device | |
CN112333733B (en) | Network connection establishing method and electronic equipment | |
CN109672632A (en) | FC-AE-ASM Data Communication in Computer Networks method and system | |
CN109076019A (en) | Addressing for customer rs premise LAN extension | |
CN112540773B (en) | Cloud game installation method and device, electronic equipment and storage medium | |
CN108965094A (en) | A kind of virtual machine network connection method and device | |
CN103888508A (en) | Services and management layer for diverse data connections | |
US7769007B2 (en) | Method of providing multicast services in virtual private LAN | |
CN101409632B (en) | Transmission method, system and apparatus for remote procedure call command | |
CN109286675A (en) | FC-AE-ASM Data Communication in Computer Networks method and system | |
EP3468286A1 (en) | Method, device and system for data transmission, physical residential gateway and access node | |
CN101309154B (en) | Datagram sending method, sending apparatus and transmission system | |
CN105979405A (en) | Method and device for accessing video device | |
US20140287787A1 (en) | Connection System and Method to Dynamically Create and Collect a Group of Contextual Contacts | |
CN112422397B (en) | Service forwarding method and communication device | |
CN109491615A (en) | A kind of arbitration system based on cluster storage system | |
JP2007116449A (en) | Network communication system and communication apparatus and program used for the communication system | |
CN107547684A (en) | A kind of IPv6 address distribution methods and device | |
CN110830477B (en) | Service identification method, device, gateway, system and storage medium | |
US8719344B2 (en) | Flexible address provisioning across subnets and VRFs | |
CN105991450A (en) | MAC address table updating method and device |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240111 Address after: Floor 12, Building 5, No. 18 Qingjiang South Road, Gulou District, Nanjing City, Jiangsu Province, 210000 Patentee after: NANJING QUANXIN CABLE TECHNOLOGY Co.,Ltd. Address before: 201103 room 110, building 3, 1128 Wuzhong Road, Minhang District, Shanghai Patentee before: SHANGHAI SAIZHI INFORMATION TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |