CN105704189B - Correlation method, device and system between upper layer link and lower layer link - Google Patents

Correlation method, device and system between upper layer link and lower layer link Download PDF

Info

Publication number
CN105704189B
CN105704189B CN201410708141.9A CN201410708141A CN105704189B CN 105704189 B CN105704189 B CN 105704189B CN 201410708141 A CN201410708141 A CN 201410708141A CN 105704189 B CN105704189 B CN 105704189B
Authority
CN
China
Prior art keywords
link
layer link
application layer
service layer
service
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
CN201410708141.9A
Other languages
Chinese (zh)
Other versions
CN105704189A (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.)
ZTE Corp
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410708141.9A priority Critical patent/CN105704189B/en
Priority to PCT/CN2015/086841 priority patent/WO2016082589A1/en
Publication of CN105704189A publication Critical patent/CN105704189A/en
Application granted granted Critical
Publication of CN105704189B publication Critical patent/CN105704189B/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
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a correlation method between an upper link and a lower link, wherein the lower link which bears the upper link and provides service for the upper link is a service layer link, the upper link which applies the lower link and realizes the function of the upper link through the lower link is an application layer link, and the method also comprises the following steps: generating a corresponding link number when an application layer link is generated, and storing the link number of the application layer link into an application layer link number field; recording all service layer links providing services for the application layer links, and storing link numbers of the service layer links into a service layer link set field; and flooding application layer link related information to the whole network through a flooding message, wherein the application layer link related information comprises the application layer link number field and the service layer link set field. The invention discloses an association device and an association system between an upper link and a lower link.

Description

Correlation method, device and system between upper layer link and lower layer link
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, and a system for associating an upper link with a lower link.
Background
In the field of communications, links for transmitting signals often have a hierarchical concept, with lower links and also upper links based on lower links. One lower link can serve multiple upper links at the same time, one upper link can also contain multiple lower links at the same time, the upper and lower links have a many-to-many relationship, and the corresponding relationship is often used. For example, when it is required to know which lower links are included in an upper link, it is required to query the corresponding relationship between the upper and lower links; when it is necessary to know which upper links a certain lower link serves, it is also necessary to query the correspondence between the upper and lower links.
How this correspondence is recorded or implemented, the following is usually adopted in the prior art:
one or more database tables are specially maintained, and the tables are used for recording the corresponding relation of the upper layer link and the lower layer link. The prior art has the disadvantage that the table needs to be maintained by a set of separate mechanisms, including a notification mechanism and a storage mechanism, for example, the corresponding relationship needs to be notified to each member in the topology through flooding or other manners; each member needs to maintain one or more database tables to store such correspondence, and thus, implementation is complicated.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a method, an apparatus, and a system for associating an upper link and a lower link.
The invention provides a correlation method between an upper link and a lower link, which is characterized in that the lower link which bears the upper link and provides service for the upper link is a service layer link, the upper link which applies the lower link and realizes the function of the upper link through the lower link is an application layer link, and the method also comprises the following steps:
generating a corresponding link number when an application layer link is generated, and storing the link number of the application layer link into an application layer link number field;
recording all service layer links providing services for the application layer links, and storing link numbers of the service layer links into a service layer link set field;
and flooding application layer link related information to the whole network through a flooding message, wherein the application layer link related information comprises the application layer link number field and the service layer link set field.
Preferably, before generating the application layer link, the method further includes:
generating a link number of a service layer link for providing service for the application layer link, and storing the link number of the service layer link into a service layer link number field;
and flooding service layer link related information to the whole network through a flooding message, wherein the service layer link related information comprises the service layer link number field.
Preferably, the generating the link number includes:
when a service layer link or an application layer link is generated, node IDs at two ends of the link are compared, and one end of the node ID meeting a preset condition is selected;
and respectively selecting preset bytes from the node IP and the node ID at the selected end and combining the bytes to generate the link number.
The invention also provides a correlation method between the upper link and the lower link, the lower link which bears the upper link and provides service for the upper link is a service layer link, the upper link which applies the lower link and realizes the function of the layer link through the lower link is an application layer link, the method also comprises:
receiving a flooding message of an application layer link, and locally recording relevant information of the application layer link carried in the flooding message; the application layer link related information comprises an application layer link number field and a service layer link set field, wherein the application layer link number field records the link number of the application layer link, and the service layer link set field records the link numbers of all service layer links providing service for the application layer link;
and updating the locally stored service layer link related information according to the locally recorded application layer link related information.
Preferably, before receiving the flooding message of the application layer link, the method further comprises:
receiving a flooding message of a service layer link, and locally recording service layer link related information carried in the flooding message; the service layer link related information comprises a service layer link number field;
and adding an application layer link set field in the locally recorded service layer link related information.
Preferably, updating the locally stored service layer link related information according to the locally recorded application layer link related information includes:
reading link numbers of all service layer links from service layer link set fields of the locally recorded application layer link related information;
according to the read link numbers of all the service layer links, the link numbers of the matched service layer links are sequentially searched in the service layer link fields of all the service layer link related information which is locally stored;
reading the link number of the application layer link from the application layer link number field of the locally recorded application layer link related information, and sequentially adding the read link number of the application layer link into the application layer link set field of the service layer link related information where the link number of the matched service layer link is located.
The invention also provides a device for correlating the upper link and the lower link, which bears the upper link, and the lower link which provides service for the upper link is a service layer link; the application lower layer link, the upper layer link which realizes the function of the layer link through the lower layer link is the application layer link, the device includes:
the link generation module is used for generating an application layer link and generating a corresponding link number;
the first data processing module is used for storing the link number of the application layer link into an application layer link number field; the system is also used for recording all service layer links providing services for the application layer links, and storing the link numbers of the service layer links into a service layer link set field;
and the data sending module is used for flooding the application layer link related information to the whole network through a flooding message, wherein the application layer link related information comprises the application layer link number field and the service layer link set field.
Preferably, the first and second liquid crystal films are made of a polymer,
the link generation module is further configured to generate a service layer link providing a service for the application layer link and generate a corresponding link number before generating the application layer link;
the first data processing module is further configured to store the link number of the service layer link in a service layer link number field;
the data sending module is further configured to flood service layer link related information to the whole network through a flooding message, where the service layer link related information includes the service layer link number field.
Preferably, the first and second liquid crystal films are made of a polymer,
the link generation module is further used for comparing node IDs at two ends of the link when a service layer link or an application layer link is generated, and selecting one end of the link, wherein the node ID meets a preset condition; and respectively selecting preset bytes from the node IP and the node ID at the selected end and combining the bytes to generate the link number.
The invention also provides a device for correlating the upper link and the lower link, which bears the upper link, and the lower link which provides service for the upper link is a service layer link; the application lower layer link, the upper layer link which realizes the function of the layer link through the lower layer link is the application layer link, the device includes:
the data receiving module is used for receiving the flooding message of the application layer link;
the second data processing module is used for locally recording the relevant information of the application layer link carried in the flooding message; updating the locally stored service layer link related information according to the locally recorded application layer link related information;
the application layer link related information comprises an application layer link number field and a service layer link set field, wherein the application layer link number field records the link number of the application layer link, and the service layer link set field records the link numbers of all service layer links providing service for the application layer link.
Preferably, the first and second liquid crystal films are made of a polymer,
the data receiving module is further configured to receive a flooding message of the service layer link;
the second data processing module is further configured to locally record service layer link related information carried in the flooding message; adding an application layer link set field in the locally recorded service layer link related information;
the service layer link related information comprises a service layer link number field.
Preferably, the first and second liquid crystal films are made of a polymer,
the second data processing module is further configured to read link numbers of all service layer links from a service layer link set field of the locally recorded information about the application layer links; according to the read link numbers of all the service layer links, the link numbers of the matched service layer links are sequentially searched in the service layer link fields of all the service layer link related information which is locally stored; reading the link number of the application layer link from the application layer link number field of the locally recorded application layer link related information, and sequentially adding the read link number of the application layer link into the application layer link set field of the service layer link related information where the link number of the matched service layer link is located.
Preferably, the apparatus further comprises: and the storage module is used for storing the application layer link related information and the service layer link related information.
The present invention further provides an association system between upper and lower links, which includes the association apparatus between upper and lower links according to any one of claims 7 to 9, and the association apparatus between upper and lower links according to any one of claims 10 to 13.
The embodiment of the invention provides a method, a device and a system for associating upper and lower layer links, based on the existing flooding mechanism, only adding special fields in the original flooding message can record the association between an application layer link and all service layer links providing service for the application layer link; based on the received flooding message, the association between the service layer link and all the application links of the services provided by the service layer link can be recorded only by adding special fields in the local storage, so that no additional flooding mechanism is needed, no special table is needed, no special and complete mapping relation needs to be maintained, and the association between the application layer link and the service layer link can be simply realized.
Drawings
Fig. 1 is a flowchart of a method for associating upper and lower links according to an embodiment of the present invention;
fig. 2 is a flowchart of an association method between upper and lower links according to a second embodiment of the present invention;
fig. 3 is a flowchart of an association method between upper and lower links according to a third embodiment of the present invention;
fig. 4 is a flowchart of an association method between upper and lower links according to a fourth embodiment of the present invention;
fig. 5 is a schematic diagram illustrating an association method between upper and lower links according to a fifth embodiment of the present invention;
fig. 6 is a structural diagram of an association apparatus between upper and lower links according to a sixth embodiment of the present invention;
fig. 7 is a diagram of an association apparatus between upper and lower links according to a seventh embodiment of the present invention
Fig. 8 is a diagram of an associated system between upper and lower links according to an eighth embodiment of the present invention.
Detailed Description
The technical solution of the present invention is further elaborated below with reference to the drawings and the specific embodiments.
Example one
In order to reflect the relationship between the upper link and the lower link more, in the embodiment of the invention, the lower link which bears the upper link and provides service for the upper link is used as the service layer link; and taking the upper link which uses the lower link and realizes the function of the link of the layer through the lower link as the application link. The method for associating upper and lower links provided in this embodiment is shown in fig. 1, and includes:
step 101, generating a corresponding link number when generating an application layer link, and storing the link number of the application layer link into an application layer link number field.
And 102, recording all service layer links providing services for the application layer links, and storing the link numbers of the service layer links into a service layer link set field.
Step 103, flooding the application layer link related information to the whole network through a flooding message, wherein the application layer link related information comprises the application layer link number field and the service layer link set field.
In the manner provided by this embodiment, the flooding message is extended, and a special field is added to record the application layer link related information. The format of the expanded flooding message is shown in table 1:
Figure GDA0002224693130000061
TABLE 1
The application layer link number field, the application layer link other attribute information field, and the service layer link set field shown in table 1 are extended fields, and the information recorded in these three fields may be collectively referred to as application layer link related information.
Wherein, the application layer link number field records the link number of the generated application layer link, and the service layer link set field records the link numbers of all service layer links providing service for the generated application layer link. Through these extended fields, the association between the application layer link and the service layer link is simply implemented on the sending node side.
Example two
Before generating the application layer link, that is, before the step 101, the method for associating between upper and lower layers provided in this embodiment, as shown in fig. 2, further includes:
step 201, generating a service layer link providing service for an application layer link and generating a corresponding link number, and storing the link number of the service layer link into a service layer link number field.
Step 202, flooding service layer link related information to the whole network through a flooding message, wherein the service layer link related information comprises a service layer link number field.
In this embodiment, the flooding message is extended, and a special field is added to record the service layer link related information. The format of the expanded flooding message is shown in table 2:
Figure GDA0002224693130000071
TABLE 2
The service layer link number field and the service layer link other attribute information field shown in table 2 are extended fields, and the information recorded in these two fields may be collectively referred to as service layer link related information. Wherein the service layer link number field records the link number of the generated service layer link.
After the service layer link is generated and the flooding of the relevant information of the service layer link is completed, the application layer link may be generated and the above step 101 and 103 are executed, which is not described herein again.
The first and second embodiments described above mainly describe the association between the upper and lower links from the aspect of the sending node, that is, the association between the upper and lower links is recorded by adding a special field in the original flooding message.
It should be noted that, to implement the association between the upper and lower links, it is also necessary to ensure that each time a link is generated, the generated corresponding link number is unique across the entire network. A service layer link or an application layer link can be uniquely identified by a link number.
The link number may be generated according to the following rules:
1. when a service layer link or an application layer link is generated, the node IDs at two ends of the link are compared, and one end of the node ID meeting the preset condition is selected (so that the forward link and the reverse link can be ensured to use the same link number).
Here, the preset condition may be: the end with the large node ID is selected or the end with the small node ID is selected, and it is assumed that the end with the large node ID is selected in this embodiment.
2. And respectively selecting preset bytes from the node IP and the node ID at the selected end and combining the bytes to generate the link number.
For example, the middle 2 bytes of the node IP at the selected end and the first 2 bytes of the node ID are taken to form 4 bytes of data, which is used as the link number of the link, so that the uniqueness of the whole network can be ensured.
Of course, the link number is not limited to the above node information and the selected byte, as long as the formed link number is guaranteed to be unique in the whole network.
EXAMPLE III
Corresponding to the flooding message of the service layer link sent by the sending node in the second embodiment, the association method between the upper layer link and the lower layer link is shown in fig. 3, and further includes:
step 301, receiving a flooding message of a service layer link, and locally recording service layer link related information carried in the flooding message.
Corresponding to the second embodiment, the service layer link related information locally recorded here includes a service layer link number field and other attribute information fields of the service layer link, and may adopt the format shown in table 3:
TABLE 3
Wherein the service layer link number field records the link number of the generated service layer link.
Step 302, adding an application layer link set field in the locally recorded service layer link related information.
In order to record the association between the service layer link and the application layer link providing the service, a new field needs to be added to the locally recorded service layer link related information: an application layer linkset field. The format of the service layer link related information in the expanded local record is shown in table 4:
Figure GDA0002224693130000091
TABLE 4
Through the update of the subsequent flow, the application layer link set field records the link codes of all the application layer links provided by the service layer link.
When receiving a flooding message, the receiving node records the service layer link related information in the format shown in table 4 locally.
Example four
After the step 302, the method for associating between upper and lower links provided by this embodiment as shown in fig. 4 further includes:
step 401, receiving a flooding message of an application layer link, and locally recording relevant information of the application layer link carried in the flooding message.
In a first embodiment, the locally recorded application layer link related information includes an application layer link number field and a service layer link set field (including other attribute information fields of the application layer link), and may adopt a format as shown in table 5:
Figure GDA0002224693130000092
TABLE 5
Wherein, the application layer link number field records the link number of the generated application layer link, and the service layer link set field records the link numbers of all service layer links providing service for the generated application layer link.
When receiving a flooding message, the receiving node records the relevant information of the application layer link in the flooding message to the local in the format. The association between the application layer link and all the service layer links providing services for the application layer link can be simply realized by adopting the field record mode.
Step 402, updating the locally stored service layer link related information according to the locally recorded application layer link related information.
Firstly, reading the link numbers of all service layer links from the service layer link set field of the locally recorded application layer link related information (refer to table 5);
secondly, according to the read link numbers of all the service layer links, the link numbers of the matched service layer links (the matching is the same) are sequentially searched in the service layer link fields (refer to table 4) of all the service layer link related information stored locally;
finally, the link number of the application layer link is read from the application layer link number field of the locally recorded application layer link related information (refer to table 5), and the read link number of the application layer link is sequentially added to the application layer link set field of the service layer link related information where the link number of the matched service layer link is located (refer to table 4).
The third embodiment and the fourth embodiment describe the association manner between the upper layer link and the lower layer link mainly from the aspect of the receiving node, that is, the association between the upper layer link and the lower layer link is recorded through the fields of the locally stored application layer link related information and service layer link related information.
The association method between the upper layer link and the lower layer link provided in the first to the fourth embodiments of the present invention is based on the existing flooding mechanism, and only adds a special field in the original flooding message to record the association between the application layer link and all the service layer links providing services for the application layer link; based on the received flooding message, the association between the service layer link and all the application links of the services provided by the service layer link can be recorded only by adding special fields in the local storage, so that no additional flooding mechanism is needed, no special table is needed, no special and complete mapping relation needs to be maintained, and the association between the application layer link and the service layer link can be simply realized.
EXAMPLE five
The association process provided by the embodiment of the present invention is described below by a specific embodiment, as shown in fig. 5, including:
step 501, a service layer link between nodes AB is newly generated in the topology, and the link number of the service layer link is 1. Through flooding, each node in the whole network will know and locally record the link related information of the service layer, as shown in table 6:
Figure GDA0002224693130000111
TABLE 6
Step 502, a service layer link between the nodes BC is newly generated in the topology, and the link number of the service layer link is 2. Through flooding, each node in the whole network will know and locally record the link related information of the service layer, as shown in table 7:
Figure GDA0002224693130000112
TABLE 7
In step 503, a service layer link between the nodes AC is newly generated in the topology, and the link number of the service layer link is 11.
In step 504, the numbers of the service layer links No. 1 and No. 2 that provide services for the newly generated application layer link No. 11 are recorded, that is, 1 and 2 are recorded in the service layer link set field of the link No. 11.
Step 505, flooding the link related information of application layer No. 11 to the whole network, and through the flooding, each node of the whole network will learn and locally record the link related information of the application layer, as shown in table 8:
Figure GDA0002224693130000113
TABLE 8
Step 506, each node of the whole network reads the link numbers of two service layer links from the locally recorded 11 application layer link related information: 1 and 2.
Step 507, each node searches for the link numbers 1 and 2 in the local service layer link set field, and adds the link number 11 to the local application layer link set field associated with the link numbers 1 and 2, respectively.
Then the service layer link related information locally stored by each node is updated as shown in table 9:
Figure GDA0002224693130000114
Figure GDA0002224693130000121
TABLE 9
The table 9 shows the relevant information of the plurality of service layer links stored in one node only visually, and in each node, the relevant information of each service layer link can be stored independently without integrating the relevant information of all the service layer links through a special table.
Thus, each node in the whole network can know that the 11 # application layer link passes through the 1 # and 2 # service layer links. The No. 1 service layer link is the No. 11 application layer link service, and the No. 2 service layer link is the No. 11 application layer link service.
EXAMPLE six
In order to implement the association method between the upper link and the lower link provided in the first and second embodiments, an embodiment of the present invention further provides an apparatus, which is suitable for each node device in the entire network, as shown in fig. 6, the apparatus includes:
a link generation module 11, configured to generate an application layer link and generate a corresponding link number;
a first data processing module 12, configured to store a link number of the application layer link into an application layer link number field; the system is also used for recording all service layer links providing services for the application layer links, and storing the link numbers of the service layer links into a service layer link set field;
and a data sending module 13, configured to flood application layer link related information to the whole network through a flooding message, where the application layer link related information includes the application layer link number field and the service layer link set field.
The link generating module 11 is further configured to generate a service layer link providing a service for the application layer link before generating the application layer link, and generate a corresponding link number;
the first data processing module 12 is further configured to store the link number of the service layer link into a service layer link number field;
the data sending module 13 is further configured to flood service layer link related information to the whole network through a flooding message, where the service layer link related information includes the service layer link number field.
The link generation module 11 is further configured to compare node IDs at two ends of a link when a service layer link or an application layer link is generated, and select one end of the link, where the node ID meets a preset condition; and respectively selecting preset bytes from the node IP and the node ID at the selected end and combining the bytes to generate the link number.
EXAMPLE seven
In order to implement the association method between the upper link and the lower link provided in the third and fourth embodiments, an embodiment of the present invention further provides an apparatus, which is suitable for each node device in the entire network, as shown in fig. 7, the apparatus includes:
a data receiving module 14, configured to receive a flooding message of an application layer link;
a second data processing module 15, configured to locally record application layer link related information carried in the flooding message; updating the locally stored service layer link related information according to the locally recorded application layer link related information;
the application layer link related information comprises an application layer link number field and a service layer link set field, wherein the application layer link number field records the link number of the application layer link, and the service layer link set field records the link numbers of all service layer links providing service for the application layer link.
The data receiving module 14 is further configured to receive a flooding message of a service layer link;
the second data processing module 15 is further configured to locally record service layer link related information carried in the flooding message; adding an application layer link set field in the locally recorded service layer link related information;
the service layer link related information comprises a service layer link number field.
The second data processing module 15 is further configured to read link numbers of all service layer links from a service layer link set field of the locally recorded information about the application layer links; according to the read link numbers of all the service layer links, the link numbers of the matched service layer links are sequentially searched in the service layer link fields of all the service layer link related information which is locally stored; reading the link number of the application layer link from the application layer link number field of the locally recorded application layer link related information, and sequentially adding the read link number of the application layer link into the application layer link set field of the service layer link related information where the link number of the matched service layer link is located.
The device also includes: a storage module 16, configured to store the application layer link related information and the service layer link related information.
Example eight
As shown in fig. 8, this embodiment provides an association system between lower layer links, including the apparatuses provided in the sixth and seventh embodiments, which can be applied to each node device in the whole network.
It should be noted that the link generating module 11, the first data Processing module 12, the data sending module 13, the data receiving module 14, the second data Processing module 15, and the storage module 16 may be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), or a Programmable logic array (FPGA) of a node device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (14)

1. A method for associating upper and lower links, wherein a lower link that carries an upper link and provides service for the upper link is a service layer link, and an upper link that uses the lower link and realizes the function of the lower link is an application layer link, the method further comprising:
generating a corresponding link number when an application layer link is generated, and storing the link number of the application layer link into an application layer link number field;
recording all service layer links providing services for the application layer links, and storing link numbers of the service layer links into a service layer link set field;
and flooding application layer link related information to the whole network through a flooding message, wherein the application layer link related information comprises the application layer link number field and the service layer link set field.
2. The method of claim 1, wherein before generating the application layer link, the method further comprises:
generating a link number of a service layer link for providing service for the application layer link, and storing the link number of the service layer link into a service layer link number field;
and flooding service layer link related information to the whole network through a flooding message, wherein the service layer link related information comprises the service layer link number field.
3. The method for associating between upper and lower links according to claim 1 or 2, wherein the generating the link number includes:
when a service layer link or an application layer link is generated, node IDs at two ends of the link are compared, and one end of the node ID meeting a preset condition is selected;
and respectively selecting preset bytes from the node IP and the node ID at the selected end and combining the bytes to generate the link number.
4. A method for associating upper and lower links, wherein a lower link that carries an upper link and provides service for the upper link is a service layer link, and an upper link that uses the lower link and realizes the function of the lower link is an application layer link, the method further comprising:
receiving a flooding message of an application layer link, and locally recording relevant information of the application layer link carried in the flooding message; the application layer link related information comprises an application layer link number field and a service layer link set field, wherein the application layer link number field records the link number of the application layer link, and the service layer link set field records the link numbers of all service layer links providing service for the application layer link;
and updating the locally stored service layer link related information according to the locally recorded application layer link related information.
5. The method of associating between upper and lower links according to claim 4, wherein prior to receiving the flooding message for the application layer link, the method further comprises:
receiving a flooding message of a service layer link, and locally recording service layer link related information carried in the flooding message; the service layer link related information comprises a service layer link number field;
and adding an application layer link set field in the locally recorded service layer link related information.
6. The method of claim 5, wherein updating the locally stored service layer link related information according to the locally recorded application layer link related information comprises:
reading link numbers of all service layer links from service layer link set fields of the locally recorded application layer link related information;
according to the read link numbers of all the service layer links, the link numbers of the matched service layer links are sequentially searched in the service layer link fields of all the service layer link related information which is locally stored;
reading the link number of the application layer link from the application layer link number field of the locally recorded application layer link related information, and sequentially adding the read link number of the application layer link into the application layer link set field of the service layer link related information where the link number of the matched service layer link is located.
7. An association device between an upper link and a lower link is characterized in that the device bears the upper link, and the lower link providing service for the upper link is a service layer link; the application lower layer link, the upper layer link which realizes the function of the layer link through the lower layer link is the application layer link, the device includes:
the link generation module is used for generating an application layer link and generating a corresponding link number;
the first data processing module is used for storing the link number of the application layer link into an application layer link number field; the system is also used for recording all service layer links providing services for the application layer links, and storing the link numbers of the service layer links into a service layer link set field;
and the data sending module is used for flooding the application layer link related information to the whole network through a flooding message, wherein the application layer link related information comprises the application layer link number field and the service layer link set field.
8. The apparatus for associating between upper and lower links according to claim 7,
the link generation module is further configured to generate a service layer link providing a service for the application layer link and generate a corresponding link number before generating the application layer link;
the first data processing module is further configured to store the link number of the service layer link in a service layer link number field;
the data sending module is further configured to flood service layer link related information to the whole network through a flooding message, where the service layer link related information includes the service layer link number field.
9. The apparatus for associating between upper and lower links according to claim 7,
the link generation module is further used for comparing node IDs at two ends of the link when a service layer link or an application layer link is generated, and selecting one end of the link, wherein the node ID meets a preset condition; and respectively selecting preset bytes from the node IP and the node ID at the selected end and combining the bytes to generate the link number.
10. An association device between an upper link and a lower link is characterized in that the device bears the upper link, and the lower link providing service for the upper link is a service layer link; the application lower layer link, the upper layer link which realizes the function of the layer link through the lower layer link is the application layer link, the device includes:
the data receiving module is used for receiving the flooding message of the application layer link;
the second data processing module is used for locally recording the relevant information of the application layer link carried in the flooding message; updating the locally stored service layer link related information according to the locally recorded application layer link related information;
the application layer link related information comprises an application layer link number field and a service layer link set field, wherein the application layer link number field records the link number of the application layer link, and the service layer link set field records the link numbers of all service layer links providing service for the application layer link.
11. The apparatus for associating between upper and lower links according to claim 10,
the data receiving module is further configured to receive a flooding message of the service layer link;
the second data processing module is further configured to locally record service layer link related information carried in the flooding message; adding an application layer link set field in the locally recorded service layer link related information;
the service layer link related information comprises a service layer link number field.
12. The apparatus for associating between upper and lower links according to claim 11,
the second data processing module is further configured to read link numbers of all service layer links from a service layer link set field of the locally recorded information about the application layer links; according to the read link numbers of all the service layer links, the link numbers of the matched service layer links are sequentially searched in the service layer link fields of all the service layer link related information which is locally stored; reading the link number of the application layer link from the application layer link number field of the locally recorded application layer link related information, and sequentially adding the read link number of the application layer link into the application layer link set field of the service layer link related information where the link number of the matched service layer link is located.
13. The apparatus for associating between upper and lower links according to claim 10, further comprising: and the storage module is used for storing the application layer link related information and the service layer link related information.
14. An association system between upper and lower links, characterized in that the system comprises the association means between upper and lower links according to any one of claims 7 to 9 and the association means between upper and lower links according to any one of claims 10 to 13.
CN201410708141.9A 2014-11-27 2014-11-27 Correlation method, device and system between upper layer link and lower layer link Active CN105704189B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410708141.9A CN105704189B (en) 2014-11-27 2014-11-27 Correlation method, device and system between upper layer link and lower layer link
PCT/CN2015/086841 WO2016082589A1 (en) 2014-11-27 2015-08-13 Method, apparatus and system for associating upper layer link with lower layer link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410708141.9A CN105704189B (en) 2014-11-27 2014-11-27 Correlation method, device and system between upper layer link and lower layer link

Publications (2)

Publication Number Publication Date
CN105704189A CN105704189A (en) 2016-06-22
CN105704189B true CN105704189B (en) 2020-01-10

Family

ID=56073547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410708141.9A Active CN105704189B (en) 2014-11-27 2014-11-27 Correlation method, device and system between upper layer link and lower layer link

Country Status (2)

Country Link
CN (1) CN105704189B (en)
WO (1) WO2016082589A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966595B (en) * 2020-08-13 2024-04-05 安徽芯纪元科技有限公司 Method for positioning core in software debugging system and method for transmitting debugging message
CN112134739B (en) * 2020-09-24 2022-07-08 平安科技(深圳)有限公司 Link state tracking method and device, electronic equipment and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1688133A (en) * 2005-04-11 2005-10-26 西安电子科技大学 Resource utilization optimization method for transfer network
CN101640630A (en) * 2008-07-28 2010-02-03 华为技术有限公司 Notifying method for virtual link set, system and equipment
CN101908998A (en) * 2009-06-03 2010-12-08 华为技术有限公司 Path calculation method, path calculation unit and path calculation system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9634924B2 (en) * 2013-03-10 2017-04-25 Cisco Technology, Inc. Server-layer shared link risk group analysis to identify potential client-layer network connectivity loss

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1688133A (en) * 2005-04-11 2005-10-26 西安电子科技大学 Resource utilization optimization method for transfer network
CN101640630A (en) * 2008-07-28 2010-02-03 华为技术有限公司 Notifying method for virtual link set, system and equipment
CN101908998A (en) * 2009-06-03 2010-12-08 华为技术有限公司 Path calculation method, path calculation unit and path calculation system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
A multi-layer network model based on ITU-T G.805;Freek Dijkstra等;《Computer Networks 52(2008)》;20080313;第1927-1937页 *

Also Published As

Publication number Publication date
WO2016082589A1 (en) 2016-06-02
CN105704189A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
US10237295B2 (en) Automated event ID field analysis on heterogeneous logs
CN107219997B (en) Method and device for verifying data consistency
US9811554B2 (en) Assisting query and querying
CN105337941B (en) A kind of device identification providing method and device
SG11201809909RA (en) User permission data query method and apparatus, electronic device and medium
CN104079614B (en) The method and system obtained in order for distributed post ordering system message
CN109634932A (en) A kind of intelligence contract storage method and storage system
KR20190020105A (en) Method and device for distributing streaming data
CN102932336B (en) Terminal iidentification method and apparatus
US10223435B2 (en) Data transfer between multiple databases
CN108984639A (en) The data processing method and device of server cluster
CN105095263A (en) Generation method for card number and apparatus thereof
CN103281206A (en) System, method and device for determining connected relation
CN105930357B (en) Distributed file system and data node data storage processing method and device
CN105704189B (en) Correlation method, device and system between upper layer link and lower layer link
CN101576919B (en) Mark generating method and device
CN106844233A (en) A kind of router service data caching method and system based on Hash table
CN107977310B (en) Traversal test command generation method and device
CN103200029B (en) The label distribution of webmaster to PTN/IPRan equipment and the method for management
CN105683983B (en) Revocable land identification symbol
CN104618414B (en) A kind of implementation method of Distributed Services, service broker's device and distributed system
CN105988890A (en) Information backup method and device
Bonsma et al. Extremal graphs having no matching cuts
CN105095283A (en) Quasi-friend recommending method in social networking system and quasi-friend recommending system in social networking system
CN112084006B (en) Mirror image package processing method and device and electronic equipment

Legal Events

Date Code Title Description
C06 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