CN108259332B - Message transmission method and system based on FSMP - Google Patents

Message transmission method and system based on FSMP Download PDF

Info

Publication number
CN108259332B
CN108259332B CN201611237549.8A CN201611237549A CN108259332B CN 108259332 B CN108259332 B CN 108259332B CN 201611237549 A CN201611237549 A CN 201611237549A CN 108259332 B CN108259332 B CN 108259332B
Authority
CN
China
Prior art keywords
node
current
fsmp
message
receiving end
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
CN201611237549.8A
Other languages
Chinese (zh)
Other versions
CN108259332A (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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201611237549.8A priority Critical patent/CN108259332B/en
Publication of CN108259332A publication Critical patent/CN108259332A/en
Application granted granted Critical
Publication of CN108259332B publication Critical patent/CN108259332B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • H04L49/3009Header conversion, routing tables or routing tags
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/44Distributed routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a message transmission method and system based on FSMP. The current node receives an FSMP message which is sent by a first node and encapsulates receiving end information; wherein the receiving end information includes: the receiving end mechanism code and the receiving end type; the current node analyzes the FSMP message header information to obtain the receiving end information, and determines the current node receiving the FSMP message or the next node connected with the current node as the current final receiving node according to the receiving end mechanism code; or, the current node analyzes the FSMP message header information to obtain the receiving end information, and determines the current node receiving the FSMP message as the current transfer node according to the receiving end mechanism code; the invention has good expandability and universality, and is particularly suitable for application scenes which need to support distribution and need flexible expansion facing to the increasing business.

Description

Message transmission method and system based on FSMP
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a system for message transmission based on FSMP.
Background
In the current information-oriented society, a System built for a certain Application is increasingly huge, and information interaction or data synchronization between sub-Application Systems (SAs) inside Application Systems (AS) or between different Application systems becomes very frequent.
On one hand, considering the most complex scenario (also ubiquitous scenario), multiple SAs may be logically or physically distributed, and multiple ASs may be in heterogeneous network environment, which brings considerable complexity to information interaction between systems. The intermediate systems that undertake communication between multiple ases and between internal SAs are also becoming exceptionally complex.
On the other hand, the intermediate system also considers the requirements of continuous expansion of application services and flexible diversity of data types, formats and the like.
Disclosure of Invention
The embodiment of the invention provides a message transmission method and a message transmission system based on FSMP, and the invention provides the following scheme:
the current node receives an FSMP message which is sent by a first node and encapsulates receiving end information; wherein the receiving end information includes: the receiving end mechanism code and the receiving end type;
the current node analyzes the head information of the FSMP message to obtain the receiving end information, and determines the current node receiving the FSMP message or the next node connected with the current node as the current final receiving node according to the receiving end mechanism code, wherein the next node connected with the current node is determined according to the route forwarding table of the current node;
or the like, or, alternatively,
the current node analyzes the FSMP message header information to obtain the receiving end information, and determines the current node receiving the FSMP message as a current transfer node according to the receiving end mechanism code;
when the current node or the next node connected with the current node is determined to be the current final receiving node, the current node or the next node connected with the current node acquires and analyzes the FSMP message to acquire an FSMP message sub-message;
and when the current node is determined to be the current transit node, the current node enables the current transit node to acquire the FSMP message.
According to the method, the current node acquires the mechanism service routing table information, and when the mechanism code of the receiving end is judged to be the same as the mechanism code of the current node according to the mechanism service routing table information, the current node or the next node connected with the current node is determined to be the current final receiving node;
and when the receiving end mechanism code is judged to be different from the mechanism code of the current node according to the mechanism service routing table information, determining that the current node is the current transfer node.
According to the method, when the receiving end mechanism code is judged to be the same as the mechanism code of the current node according to the mechanism service routing table information, and the type of the receiving end is the same as the type of the current node, the current node is determined to be the current final receiving node;
and when the receiving end mechanism code is judged to be the same as the mechanism code of the current node according to the mechanism service routing table information, and the type of the receiving end is different from that of the current node, determining that the next node connected with the current node is the current final receiving node.
According to the above method of the present invention, when it is determined that the current node is the current transit node, the current node causes the current transit node to obtain the FSMP packet, including:
the current transfer node analyzes the FSMP message header information to obtain the receiving end information, and determines a next node connected with the current transfer node to receive the FSMP message according to a route forwarding table of the current transfer node;
the next node analyzes the FSMP message header information to obtain the receiving end information, and when the next node which is connected with the current transfer node and receives the FSMP message is determined to be the next transfer node according to the receiving end mechanism code;
the current transfer node enables the next transfer node to obtain the FSMP message;
and the next transit node analyzes the FSMP message header information to obtain the receiving end information, and determines that the next node corresponding to the next transit node and receiving the FSMP message is a final receiving node or a next transit node according to the receiving end mechanism code and the type of the receiving end until the last node receiving the FSMP message is determined to be the final receiving node.
The above method according to the present invention comprises:
the current transfer node analyzes the FSMP message header information to obtain the receiving end information, and determines a next node connected with the current transfer node to receive the FSMP message according to a route forwarding table of the current transfer node;
the next node analyzes the FSMP message header information to obtain the receiving end information, and determines a next node connected with a current transfer node to receive the FSMP message or a next node connected with the next node as a final receiving node according to the receiving end mechanism code, wherein the next node connected with the next node is determined according to a routing forwarding table of the next node;
and the current transfer node enables the final receiving node to acquire and analyze the FSMP message so as to acquire the sub-message of the FSMP message.
According to another aspect of the present invention, there is also provided a system for FSMP-based message transmission, including:
a receiving module, which is used for receiving the FSMP message which is sent by the first node and is packaged with the receiving end information by the current node; wherein the receiving end information includes: the receiving end mechanism code and the receiving end type;
the analysis module is used for analyzing the head information of the FSMP message by the current node to acquire the receiving end information, and determining the current node receiving the FSMP message or the next node connected with the current node as the current final receiving node according to the receiving end mechanism code, wherein the next node connected with the current node is determined according to the route forwarding table of the current node;
or the like, or, alternatively,
the current node analyzes the FSMP message header information to obtain the receiving end information, and determines the current node receiving the FSMP message as a current transfer node according to the receiving end mechanism code;
an obtaining module, configured to, when it is determined that the current node or a next node connected to the current node is a current final receiving node, obtain and analyze the FSMP packet by the current node or the next node connected to the current node to obtain an FSMP packet sub-packet;
the obtaining module is further configured to, when it is determined that the current node is the current transit node, enable the current transit node to obtain the FSMP packet.
According to another aspect of the invention, the obtaining means is specifically configured to,
enabling the current node to acquire mechanism service routing table information, and determining the current node or a next node connected with the current node as a current final receiving node when judging that the mechanism code of the receiving end is the same as the mechanism code of the current node according to the mechanism service routing table information;
and when the receiving end mechanism code is judged to be different from the mechanism code of the current node according to the mechanism service routing table information, determining that the current node is the current transfer node.
According to another aspect of the invention, the obtaining means is specifically configured to,
when the receiving end mechanism code is judged to be the same as the mechanism code of the current node according to the mechanism service routing table information, and the type of the receiving end is the same as the type of the current node, determining the current node as a current final receiving node;
and when the receiving end mechanism code is judged to be the same as the mechanism code of the current node according to the mechanism service routing table information, and the type of the receiving end is different from that of the current node, determining that the next node connected with the current node is the current final receiving node.
According to another aspect of the invention, the obtaining means is specifically configured to,
enabling the current transfer node to analyze the FSMP message header information to obtain the receiving end information, and determining a next node connected with the current transfer node to receive the FSMP message according to a route forwarding table of the current transfer node;
enabling the next node to analyze the FSMP message header information to obtain the receiving end information, and determining that the next node connected with the current transfer node to receive the FSMP message is the next transfer node according to the receiving end mechanism code;
enabling the current transfer node to enable the next transfer node to acquire the FSMP message;
and the next transit node analyzes the FSMP message header information to obtain the receiving end information, and determines that the next node corresponding to the next transit node and receiving the FSMP message is a final receiving node or a next transit node according to the receiving end mechanism code and the type of the receiving end until the last node receiving the FSMP message is determined to be the final receiving node.
According to another aspect of the invention, the obtaining means is specifically configured to,
enabling the current transfer node to analyze the FSMP message header information to obtain the receiving end information, and determining a next node connected with the current transfer node to receive the FSMP message according to a route forwarding table of the current transfer node;
enabling the next node to analyze the FSMP message header information to obtain the receiving end information, and determining a next node connected with a current transfer node to receive the FSMP message or a next node connected with the next node as a final receiving node according to the receiving end mechanism code, wherein the next node connected with the next node is determined according to a routing forwarding table of the next node;
and enabling the current transfer node to enable the final receiving node to acquire and analyze the FSMP message so as to acquire the sub-message of the FSMP message.
As can be seen from the technical solutions provided by the embodiments of the present invention, in the embodiments of the present invention, a current node receives an FSMP message, which is sent by a first node and encapsulates receiving end information; wherein the receiving end information includes: the receiving end mechanism code and the receiving end type; the current node analyzes the head information of the FSMP message to obtain the receiving end information, and determines the current node receiving the FSMP message or the next node connected with the current node as the current final receiving node according to the receiving end mechanism code, wherein the next node connected with the current node is determined according to the route forwarding table of the current node; or, the current node analyzes the FSMP message header information to obtain the receiving end information, and determines the current node receiving the FSMP message as the current transfer node according to the receiving end mechanism code; when the current node or the next node connected with the current node is determined to be the current final receiving node, the current node or the next node connected with the current node acquires and analyzes the FSMP message to acquire an FSMP message sub-message; and when the current node is determined to be the current transit node, the current node enables the current transit node to acquire the FSMP message. The method of the invention supports intelligent routing. The FSMP uses a routing table bound with a structure identifier and a service type to automatically select a corresponding IP and a corresponding port so as to carry out intelligent routing; the system supports a distributed system, supports information interaction among single-layer distributed, multi-layer distributed and multiple ASs, and also can support information interaction between a certain AS and a certain specific SA in another AS; and the method has good expandability and universality, and is particularly suitable for application scenes which need to support distribution and need flexible expansion facing to the increasing business.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a processing flow chart of a method for FSMP-based message transmission according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an information interaction model between single-layer network application systems according to an embodiment of the present invention;
FIG. 3 is a second information interaction model between multi-level network distributed application systems according to an embodiment of the present invention;
fig. 4 is a system block diagram of a message transmission system based on FSMP according to a third embodiment of the present invention.
Detailed Description
For the convenience of understanding the embodiments of the present invention, the following description will be further explained by taking several specific embodiments as examples in conjunction with the drawings, and the embodiments are not to be construed as limiting the embodiments of the present invention.
Example one
The message transmission method based on FSMP is applied to information interaction or data synchronization between sub Application Systems (SA) in Application Systems (AS) or between different Application Systems (AS), and a Management System Gateway (MSG) is also adopted in the embodiment to undertake the functions of information interaction and data synchronization between heterogeneous distributed network Application systems; in the following application in this embodiment, the description of the node may be an application system AS, a sub-application system SA, or a management system gateway MSG; the specific steps of this example are shown in fig. 1:
step 11, the current node receives the FSMP message which is sent by the first node and encapsulates the receiving end information; wherein the receiving end information includes: the receiving end mechanism code and the receiving end type;
step 12, the current node analyzes the head information of the FSMP message to obtain the receiving end information, and determines the current node receiving the FSMP message or the next node connected with the current node as the current final receiving node according to the receiving end mechanism code;
specifically, the current node acquires mechanism service routing table information, and when the receiving end mechanism code is judged to be the same as the mechanism code of the current node according to the mechanism service routing table information, the current node or a next node connected with the current node is determined to be a current final receiving node;
determining a next node connected with the current node according to a route forwarding table of the current node;
more specifically, the present invention is to provide a novel,
step 121, when the receiving end mechanism code is judged to be the same as the mechanism code of the current node according to the mechanism service routing table information, and the type of the receiving end is the same as the type of the current node, determining that the current node is the current final receiving node;
and step 122, when the mechanism code of the receiving end is judged to be the same as the mechanism code of the current node according to the mechanism service routing table information, and the type of the receiving end is different from that of the current node, determining that the next node connected with the current node is the current final receiving node.
Step 13, when the current node or the next node connected with the current node is determined to be the current final receiving node, the current node or the next node connected with the current node acquires and analyzes the FSMP message to acquire an FSMP message sub-message;
or the like, or, alternatively,
step 14, the current node analyzes the head information of the FSMP message to obtain the receiving end information, and determines the current node receiving the FSMP message as the current transit node according to the receiving end mechanism code;
and step 15, when the current node is determined to be the current transit node, the current node enables the current transit node to acquire the FSMP message.
Specifically, the current node analyzes the head information of the FSMP message to obtain the receiving end information, and determines the current node receiving the FSMP message as a current transfer node according to the receiving end mechanism code;
specifically, when it is determined that the mechanism code of the receiving end is different from the mechanism code of the current node according to the mechanism service routing table information, it is determined that the current node is the current transit node.
When the current node is determined to be the current transit node, the current node enables the current transit node to acquire the FSMP packet, including:
step 151, the current transit node analyzes the FSMP message header information to obtain the receiving end information, and determines a next node connected to the current transit node to receive the FSMP message according to a route forwarding table of the current transit node;
step 152, the next node analyzes the FSMP message header information to obtain the receiving end information, and determines, according to the receiving end mechanism code, a next node connected to the current transit node to receive the FSMP message or a next node connected to the next node as a final receiving node, wherein the next node connected to the next node is determined according to a route forwarding table of the next node;
and the current transfer node enables the final receiving node to acquire and analyze the FSMP message so as to acquire the sub-message of the FSMP message.
Or the like, or, alternatively,
step 153, the next node analyzes the FSMP message header information to obtain the receiving end information, and when the next node connected to the current transit node to receive the FSMP message is determined to be the next transit node according to the receiving end mechanism code;
when the next node which is connected with the current transfer node and receives the FSMP message is determined to be the next transfer node of the current transfer node according to the receiving end mechanism code;
the current transfer node enables the next transfer node to obtain the FSMP message;
and the next transit node analyzes the FSMP message header information to obtain the receiving end information, and determines that the next node corresponding to the next transit node and receiving the FSMP message is a final receiving node or a next transit node according to the receiving end mechanism code and the type of the receiving end until the last node receiving the FSMP message is determined to be the final receiving node.
For convenience of understanding, the following example is given in this embodiment, and the following description takes an information interaction model between single-layer network application systems AS an example, where the single-layer network application system includes 3 AS nodes and 1 MSG node, the 3 AS nodes are respectively connected to the MSG node, and each AS and MSG are in the same layer network system, which is specifically shown in fig. 2;
for example, AS1 is used AS the sender of information and AS3 performs information interaction, that is, AS1 is the first node and AS3 is the receiver. The following steps are carried out:
executing the step 11, the first node AS1 packages the receiving end information into an FSMP message and sends the FSMP message to the MSG, wherein the receiving end is set AS AS 3;
executing the step 12, after the current node MSG receives the FSMP message, analyzing the protocol header and determining the receiver information, and determining the current node receiving the FSMP message or the next node connected with the current node as the current final receiving node according to the receiving end mechanism code;
the current node MSG judges whether the receiving end mechanism code in the FSMP message is the same as the self mechanism code;
the set receiving end is AS3, and AS2 and AS3 are both connected with the current node MSG, and according to the routing forwarding table of the current node MSG, the AS3 is determined to be the next node connected with the current node MSG, and the current node MSG judges whether the mechanism code of the AS3 at the receiving end in the FSMP message is the same AS the mechanism code of the current node MSG;
in this embodiment, if the mechanism code of the receiving end AS3 is the same AS the mechanism code of the current node MSG, but the type of the AS3 is different from the type of the current node MSG, it is determined that the next node AS3 connected to the current MSG is the final receiving node.
Example two
The embodiment also gives an example, which takes an information interaction model among distributed application systems of a multi-hierarchy network AS an example, in the multi-hierarchy network application system, AS1 is formed by SA1 and SA2 in a distributed manner; the MSG is formed by MSG1 and MSG2 in a distributed mode; the combination of nodes SA1, SA2 and MSG1, MSG2 and AS2 form a distributed architecture at different layer network levels. As shown in fig. 3 in detail;
for example, AS2 is used AS the sender of information and SA2 performs information interaction, that is, AS2 is the first node and SA2 is the receiver. The method comprises the following steps:
executing the step 11, the first node AS2 packages the receiving end information into an FSMP message and sends the FSMP message to the MSG1, wherein the receiving end is set AS SA 2;
after the step 14 is executed, after the current node MSG1 receives the FSMP message, the protocol header is parsed and the receiver information is determined, and the current node receiving the FSMP message is determined as the current transit node according to the receiving end mechanism code;
and step 15 is executed, and when the current node is determined to be the current transit node, the current node enables the current transit node to acquire the FSMP message.
The current node MSG1 judges whether the receiving end mechanism code in the FSMP message is the same as the self mechanism code; since the set receiving end is SA2, and the mechanism code of the receiving end is not the same as the mechanism code of the current node MSG1, it is determined that the current node MSG1 is the current transit node.
Then, the step 151 is executed, the current transit node analyzes the FSMP message header information to obtain the receiving end information, and a next node connected with the current transit node to receive the FSMP message is determined according to a route forwarding table of the current transit node;
analyzing the FSMP message header information by the current transit node MSG1 to obtain the receiving end SA2 information, and determining that the next node of the FSMP message is MSG2 according to a routing information table of the current transit node MSG 1;
then, the next node performs the step 152, analyzes the FSMP message header information to obtain the receiving end information, and determines, according to the receiving end mechanism code, a next node connected to the current transit node to receive the FSMP message or a next node connected to the next node as a current final receiving node;
the MSG2 obtains and analyzes the FSMP message header information to obtain the receiving end SA2 information, the next node connected with the node MSG2 and receiving the FSMP message is determined to be SA2 according to the routing information table of the next node MSG2, the receiving end SA2 mechanism code and the next node MSG2 mechanism code are the same, but the types of receivers of the receiving end SA2 and the next node MSG2 are different, and SA2 is determined to be the final receiving node.
EXAMPLE III
The embodiment provides a message transmission system based on FSMP, and a specific implementation structure thereof is shown in fig. 4, and may specifically include the following modules:
a receiving module 41, configured to enable a current node to receive an FSMP message, which is sent by a first node and encapsulates receiving end information; wherein the receiving end information includes: the receiving end mechanism code and the receiving end type;
an analyzing module 42, configured to analyze the FSMP packet header information by the current node to obtain the receiving end information, and determine, according to the receiving end mechanism code, that the current node receiving the FSMP packet or a next node connected to the current node is a current final receiving node, where the next node connected to the current node is determined according to a route forwarding table of the current node;
or the like, or, alternatively,
the current node analyzes the FSMP message header information to obtain the receiving end information, and determines the current node receiving the FSMP message as a current transfer node according to the receiving end mechanism code;
an obtaining module 43, configured to, when it is determined that the current node or a next node connected to the current node is a current final receiving node, obtain and analyze the FSMP packet by the current node or the next node connected to the current node to obtain an FSMP packet sub-packet;
the obtaining module is further configured to, when it is determined that the current node is the current transit node, enable the current transit node to obtain the FSMP packet.
The obtaining module 43 is specifically configured to,
enabling the current node to acquire mechanism service routing table information, and determining the current node or a next node connected with the current node as a current final receiving node when judging that the mechanism code of the receiving end is the same as the mechanism code of the current node according to the mechanism service routing table information;
and when the receiving end mechanism code is judged to be different from the mechanism code of the current node according to the mechanism service routing table information, determining that the current node is the current transfer node.
The obtaining module 43 is specifically configured to,
when the receiving end mechanism code is judged to be the same as the mechanism code of the current node according to the mechanism service routing table information, and the type of the receiving end is the same as the type of the current node, determining the current node as a current final receiving node;
and when the receiving end mechanism code is judged to be the same as the mechanism code of the current node according to the mechanism service routing table information, and the type of the receiving end is different from that of the current node, determining that the next node connected with the current node is the current final receiving node.
The obtaining module 43 is specifically configured to,
enabling the current transfer node to analyze the FSMP message header information to obtain the receiving end information, and determining a next node connected with the current transfer node to receive the FSMP message according to a route forwarding table of the current transfer node;
enabling the next node to analyze the FSMP message header information to obtain the receiving end information, and determining that the next node connected with the current transfer node to receive the FSMP message is the next transfer node according to the receiving end mechanism code;
enabling the current transfer node to enable the next transfer node to acquire the FSMP message;
and the next transit node analyzes the FSMP message header information to obtain the receiving end information, and determines that the next node corresponding to the next transit node and receiving the FSMP message is a final receiving node or a next transit node according to the receiving end mechanism code and the type of the receiving end until the last node receiving the FSMP message is determined to be the final receiving node.
The obtaining module 43 is specifically configured to,
enabling the current transfer node to analyze the FSMP message header information to obtain the receiving end information, and determining a next node connected with the current transfer node to receive the FSMP message according to a route forwarding table of the current transfer node;
enabling the next node to analyze the FSMP message header information to obtain the receiving end information, and determining a next node connected with a current transfer node to receive the FSMP message or a next node connected with the next node as a final receiving node according to the receiving end mechanism code, wherein the next node connected with the next node is determined according to a routing forwarding table of the next node;
and enabling the current transfer node to enable the final receiving node to acquire and analyze the FSMP message so as to acquire the sub-message of the FSMP message.
The specific process of using the system of the embodiment of the present invention to perform FSMP-based message transmission is similar to that of the foregoing method embodiment, and is not described here again.
In summary, in the embodiment of the present invention, the current node receives the FSMP packet encapsulated with the receiving end information, which is sent by the first node; wherein the receiving end information includes: the receiving end mechanism code and the receiving end type; the current node analyzes the head information of the FSMP message to obtain the receiving end information, and determines the current node receiving the FSMP message or the next node connected with the current node as the current final receiving node according to the receiving end mechanism code, wherein the next node connected with the current node is determined according to the route forwarding table of the current node; or, the current node analyzes the FSMP message header information to obtain the receiving end information, and determines the current node receiving the FSMP message as the current transfer node according to the receiving end mechanism code; when the current node or the next node connected with the current node is determined to be the current final receiving node, the current node or the next node connected with the current node acquires and analyzes the FSMP message to acquire an FSMP message sub-message; and when the current node is determined to be the current transit node, the current node enables the current transit node to acquire the FSMP message. The method of the invention supports intelligent routing. The FSMP uses a routing table bound with a structure identifier and a service type to automatically select a corresponding IP and a corresponding port so as to carry out intelligent routing; the system supports a distributed system, supports information interaction among single-layer distributed, multi-layer distributed and multiple ASs, and also can support information interaction between a certain AS and a certain specific SA in another AS; and the method has good expandability and universality, and is particularly suitable for application scenes which need to support distribution and need flexible expansion facing to the increasing business.
Those of ordinary skill in the art will understand that: the figures are merely schematic representations of one embodiment, and the blocks or flow diagrams in the figures are not necessarily required to practice the present invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for apparatus or system embodiments, since they are substantially similar to method embodiments, they are described in relative terms, as long as they are described in partial descriptions of method embodiments. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. A message transmission method based on FSMP is characterized by comprising the following steps:
the current node receives an FSMP message which is sent by a first node and encapsulates receiving end information; wherein the receiving end information includes: the receiving end mechanism code and the receiving end type;
the current node analyzes the head information of the FSMP message to obtain the receiving end information, and determines the current node receiving the FSMP message or the next node connected with the current node as the current final receiving node according to the receiving end mechanism code, wherein the next node connected with the current node is determined according to the route forwarding table of the current node; the current node acquires mechanism service routing table information, and when the receiving end mechanism code is judged to be the same as the mechanism code of the current node according to the mechanism service routing table information, the current node or the next node connected with the current node is determined to be the current final receiving node;
or the like, or, alternatively,
the current node analyzes the FSMP message header information to obtain the receiving end information, and determines the current node receiving the FSMP message as a current transfer node according to the receiving end mechanism code; when the receiving end mechanism code is judged to be different from the mechanism code of the current node according to the mechanism service routing table information, determining the current node as the current transfer node;
when the current node or the next node connected with the current node is determined to be the current final receiving node, the current node or the next node connected with the current node acquires and analyzes the FSMP message to acquire an FSMP message sub-message;
and when the current node is determined to be the current transit node, the current node enables the current transit node to acquire the FSMP message.
2. The method of claim 1, wherein the FSMP-based message transmission comprises:
when the receiving end mechanism code is judged to be the same as the mechanism code of the current node according to the mechanism service routing table information, and the type of the receiving end is the same as the type of the current node, determining the current node as a current final receiving node;
and when the receiving end mechanism code is judged to be the same as the mechanism code of the current node according to the mechanism service routing table information, and the type of the receiving end is different from that of the current node, determining that the next node connected with the current node is the current final receiving node.
3. The method according to claim 1, wherein when the current node is determined to be the current transit node, the current node enables the current transit node to obtain the FSMP packet, and the method comprises:
the current transfer node analyzes the FSMP message header information to obtain the receiving end information, and determines a next node connected with the current transfer node to receive the FSMP message according to a route forwarding table of the current transfer node;
the next node analyzes the FSMP message header information to obtain the receiving end information, and when the next node which is connected with the current transfer node and receives the FSMP message is determined to be the next transfer node according to the receiving end mechanism code;
the current transfer node enables the next transfer node to obtain the FSMP message;
and the next transit node analyzes the FSMP message header information to obtain the receiving end information, and determines that the next node corresponding to the next transit node and receiving the FSMP message is a final receiving node or a next transit node according to the receiving end mechanism code and the type of the receiving end until the last node receiving the FSMP message is determined to be the final receiving node.
4. The method of claim 1, wherein the FSMP-based message transmission comprises:
the next node analyzes the FSMP message header information to obtain the receiving end information, and determines a next node connected with a current transfer node to receive the FSMP message or a next node connected with the next node as a final receiving node according to the receiving end mechanism code, wherein the next node connected with the next node is determined according to a routing forwarding table of the next node;
and the current transfer node enables the final receiving node to acquire and analyze the FSMP message so as to acquire the sub-message of the FSMP message.
5. A system for FSMP based message transmission, comprising:
a receiving module, which is used for receiving the FSMP message which is sent by the first node and is packaged with the receiving end information by the current node; wherein the receiving end information includes: the receiving end mechanism code and the receiving end type;
the analysis module is used for analyzing the head information of the FSMP message by the current node to acquire the receiving end information, and determining the current node receiving the FSMP message or the next node connected with the current node as the current final receiving node according to the receiving end mechanism code, wherein the next node connected with the current node is determined according to the route forwarding table of the current node; enabling the current node to acquire mechanism service routing table information, and determining the current node or a next node connected with the current node as a current final receiving node when judging that the mechanism code of the receiving end is the same as the mechanism code of the current node according to the mechanism service routing table information;
an obtaining module, configured to, when it is determined that the current node or a next node connected to the current node is a current final receiving node, obtain and analyze the FSMP packet by the current node or the next node connected to the current node to obtain an FSMP packet sub-packet;
the obtaining module is further configured to, when it is determined that the current node is the current transit node, enable the current transit node to obtain the FSMP packet.
6. The FSMP-based message transmission system as claimed in claim 5, wherein the obtaining module is specifically configured to,
and when the receiving end mechanism code is judged to be different from the mechanism code of the current node according to the mechanism service routing table information, determining that the current node is the current transfer node.
7. The FSMP-based message transmission system as claimed in claim 6, wherein the obtaining module is specifically configured to,
when the receiving end mechanism code is judged to be the same as the mechanism code of the current node according to the mechanism service routing table information, and the type of the receiving end is the same as the type of the current node, determining the current node as a current final receiving node;
and when the receiving end mechanism code is judged to be the same as the mechanism code of the current node according to the mechanism service routing table information, and the type of the receiving end is different from that of the current node, determining that the next node connected with the current node is the current final receiving node.
8. The FSMP-based message transmission system as claimed in claim 6, wherein the obtaining module is specifically configured to,
enabling the current transfer node to analyze the FSMP message header information to obtain the receiving end information, and determining a next node connected with the current transfer node to receive the FSMP message according to a route forwarding table of the current transfer node;
enabling the next node to analyze the FSMP message header information to obtain the receiving end information, and determining that the next node connected with the current transfer node to receive the FSMP message is the next transfer node according to the receiving end mechanism code;
enabling the current transfer node to enable the next transfer node to acquire the FSMP message;
and the next transit node analyzes the FSMP message header information to obtain the receiving end information, and determines that the next node corresponding to the next transit node and receiving the FSMP message is a final receiving node or a next transit node according to the receiving end mechanism code and the type of the receiving end until the last node receiving the FSMP message is determined to be the final receiving node.
9. The FSMP-based message transmission system as claimed in claim 6, wherein the obtaining module is specifically configured to,
enabling the next node to analyze the FSMP message header information to obtain the receiving end information, and determining a next node connected with a current transfer node to receive the FSMP message or a next node connected with the next node as a final receiving node according to the receiving end mechanism code, wherein the next node connected with the next node is determined according to a routing forwarding table of the next node;
and enabling the current transfer node to enable the final receiving node to acquire and analyze the FSMP message so as to acquire the sub-message of the FSMP message.
CN201611237549.8A 2016-12-28 2016-12-28 Message transmission method and system based on FSMP Active CN108259332B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611237549.8A CN108259332B (en) 2016-12-28 2016-12-28 Message transmission method and system based on FSMP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611237549.8A CN108259332B (en) 2016-12-28 2016-12-28 Message transmission method and system based on FSMP

Publications (2)

Publication Number Publication Date
CN108259332A CN108259332A (en) 2018-07-06
CN108259332B true CN108259332B (en) 2021-04-02

Family

ID=62719793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611237549.8A Active CN108259332B (en) 2016-12-28 2016-12-28 Message transmission method and system based on FSMP

Country Status (1)

Country Link
CN (1) CN108259332B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394352A (en) * 2008-10-31 2009-03-25 华南理工大学 Routing method for uni-directional wireless self-organizing network based on loop clustering
CN101510897A (en) * 2009-03-30 2009-08-19 北京邮电大学 Addressing system and method for layering host identification based on superposition type DHT
CN101631134A (en) * 2008-07-14 2010-01-20 李�真 Network message exchange service manager for distributed type computing environment
CN102365841A (en) * 2009-03-09 2012-02-29 苹果公司 Push notification service
CN103414638A (en) * 2013-07-26 2013-11-27 华为技术有限公司 Message processing server and method and system for distributed message processing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1588230A4 (en) * 2003-01-10 2008-05-07 Nexaweb Technologies Inc System and method for network-based computing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631134A (en) * 2008-07-14 2010-01-20 李�真 Network message exchange service manager for distributed type computing environment
CN101394352A (en) * 2008-10-31 2009-03-25 华南理工大学 Routing method for uni-directional wireless self-organizing network based on loop clustering
CN102365841A (en) * 2009-03-09 2012-02-29 苹果公司 Push notification service
CN101510897A (en) * 2009-03-30 2009-08-19 北京邮电大学 Addressing system and method for layering host identification based on superposition type DHT
CN103414638A (en) * 2013-07-26 2013-11-27 华为技术有限公司 Message processing server and method and system for distributed message processing

Also Published As

Publication number Publication date
CN108259332A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN106789526B (en) method and device for connecting multiple system networks
US8903972B2 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
US20160173415A1 (en) Issuing method for forwarding adjacency link
US20110060830A1 (en) Method, system and device for device capabilities exchange
CN104348757A (en) Flow table interactive method, switch, and system
CN103139075B (en) A kind of message transmitting method and equipment
US6654350B1 (en) Method and apparatus for tracking a transaction across a multi-hop network
CN103533103A (en) Communication method and device based on network address translation
CN105099803A (en) Traffic identification method, application server, and network element equipment
CN104994022A (en) Message transmission method and service board
CN102647328B (en) A kind of label distribution method, equipment and system
CN112087381B (en) Method and device for realizing service function processing
US9913010B2 (en) Data processing method and apparatus
CN103716236A (en) Route calculation method based on IS-IS protocol and equipment
JP2024504466A (en) Packet forwarding methods, packet processing methods, and devices
CN102857574B (en) Information processing method and apparatus for Internet of Things
CN105763463A (en) Method and device for transmitting link detection message
CN105099802A (en) Traffic identification method, terminal, and network element equipment
CN108259332B (en) Message transmission method and system based on FSMP
CN101820391A (en) Route forwarding method used for IP network and network equipment
EP3016324B1 (en) Method and apparatus for establishing path on network
CN111147385A (en) Method and system for forwarding data plane of software defined data center network
CN103051484A (en) Method and system for processing session service and session border controller
CN103023783B (en) A kind of data transmission method and equipment based on DVPN
CN104767684A (en) Data transmission method and related device and communication system

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