CN111083208B - Network structure, message sending method and receiving method between network elements in network - Google Patents

Network structure, message sending method and receiving method between network elements in network Download PDF

Info

Publication number
CN111083208B
CN111083208B CN201911223143.8A CN201911223143A CN111083208B CN 111083208 B CN111083208 B CN 111083208B CN 201911223143 A CN201911223143 A CN 201911223143A CN 111083208 B CN111083208 B CN 111083208B
Authority
CN
China
Prior art keywords
message
node
network
sent
network element
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
CN201911223143.8A
Other languages
Chinese (zh)
Other versions
CN111083208A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201911223143.8A priority Critical patent/CN111083208B/en
Publication of CN111083208A publication Critical patent/CN111083208A/en
Priority to PCT/CN2020/128267 priority patent/WO2021109821A1/en
Priority to EP20895106.1A priority patent/EP4044558A4/en
Priority to US17/780,886 priority patent/US20230014379A1/en
Priority to JP2022531575A priority patent/JP7447263B2/en
Application granted granted Critical
Publication of CN111083208B publication Critical patent/CN111083208B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a network structure, a message sending method and a message receiving method among network elements in the network. The message sending method comprises the following steps: when a network element in the serial network receives a front node forwarding message sent by a previous network element, if the network element needs to send a message to be sent by a local node, judging whether the message to be sent by the local node can be superposed with the front node forwarding message; wherein the network element is an intermediate network element of the serial network; if so, overlapping the message to be transmitted of the node with the message forwarded by the front node to obtain a message forwarded by the node; and sending the node forwarding message to the next network element of the network elements. By adopting the technical scheme, the intermediate network element in the serial network only needs to receive the forwarding message once (namely the forwarding message of the front node sent by the previous network element) and send the forwarding message once (namely the forwarding message of the node), so that the power consumption of each intermediate network element in the process of receiving and sending the message can be saved.

Description

Network structure, message sending method and receiving method between network elements in network
[ technical field ] A method for producing a semiconductor device
The present application relates to the field of network communication technologies, and in particular, to a network structure, a method for sending a packet between network elements in a network, and a method for receiving a packet.
[ background of the invention ]
With the rapid development of wireless broadband technology, a plurality of devices can be jointly networked, and each node device in the networked network is called a network element. The network elements can be directly or indirectly connected through physical technologies such as wireless, power lines, network cables and the like. Fig. 1 is a schematic diagram of a conventional serial networking network structure.
Referring to fig. 1, the serial network includes a network element N1, a network element N2, and a network element N3. The network element N1 and the network element N2 establish a direct connection, the network element N2 and the network element N3 establish a direct connection, the two direct connections may be a wireless connection (for example, through radio frequency communication) or a wired connection (for example, through a power line or a network cable), and the network element N1 and the network element N3 establish an indirect connection through the network element N2. In the network elements N1, N2 and N3, the same protocol stack (e.g., TCP/IP protocol stack, etc.) must be used between the two directly connected network elements.
Taking the message received by the network element N3 as an example:
receiving a message 1 sent by a network element 1: if the network element N1 wants to send the message 1 to the network element N3, the network element N2 forwards the message to the network element N3, and the network element N3 needs to receive the message 1 sent by the primary node N1 no matter whether the network between the network element N1 and the network element N3 is a serial network as shown in fig. 1 or other complex mesh networks.
Receiving a message 2 sent by the network element 2: if the network element N2 needs to send the message 2 to the network element 3, the message 2 is directly sent to the network element 3, and the network element N3 needs to receive the message 2 sent by the network element N2 once no matter whether the network between the network element N2 and the network element N3 is a serial network as shown in fig. 1 or other complicated mesh networks.
If the time tolerance of the message 1 and the message 2 reaching the network element 3 is within the range that the network element 3 can receive, the network element 3 needs to receive the messages twice, which will cause the receiving module of the network element 3 to work twice. If the network element 3 and the network element 2 are connected wirelessly (for example, wi-Fi connection), the network element 3 needs to receive the Wi-Fi radio frequency signal twice. If the network element 3 is a battery-powered terminal device (e.g. a handset), this may cause the network element 3 to consume two received power, especially when the handset itself is in some specific power saving state, since receiving two messages may cause the handset to wake up twice, and the power consumption may be very significant. In addition, in order to forward the message 1 to the network element 3, the network element 2 itself also sends the message 2 to the network element 3, which may cause the network element 2 to send the message twice, and power consumption caused by sending the message twice is also unacceptable for part of battery devices.
[ summary of the invention ]
In view of this, embodiments of the present application provide a network structure, a method for sending and receiving a message between network elements in a network, and a receiving method, so as to solve a problem in the prior art that power consumption is large in a process of sending and receiving a message between network elements in a serial networking.
In one aspect, an embodiment of the present application provides a method for sending a packet between network elements in a network, where the network includes a serial network, and the method includes: when a network element in the serial network receives a front node forwarding message sent by a previous network element, if the network element needs to send a message to be sent by a local node, judging whether the message to be sent by the local node can be superposed with the front node forwarding message; wherein the network element is an intermediate network element of the serial network; if so, overlapping the message to be transmitted of the node with the message forwarded by the front node to obtain a message forwarded by the node; and sending the forwarding message of the node to the next network element of the network elements.
In a possible design, the determining whether the message to be sent by the node can be superimposed with the message forwarded by the previous node includes:
judging whether the sending time of the message to be sent of the node and the message forwarded by the front node after superposition meets the receiving time tolerance range of the next network element of the network element;
and if the receiving time tolerance range is met, determining that the message to be sent of the node can be superposed with the message forwarded by the front node.
In a possible design, if the receiving time tolerance range is not satisfied, the message to be sent by the node and the message forwarded by the previous node are sent to a next network element of the network element respectively.
In a possible design, the superimposing the message to be transmitted by the node and the forwarding message of the previous node to obtain the forwarding message of the node includes:
determining a superposition mode according to the message type and the message length of the message to be sent by the node and the message forwarded by the front node; and superposing the message to be transmitted of the node and the message forwarded by the previous node according to the superposition mode to obtain the message forwarded by the node.
In a possible design, the determining a superposition manner according to the message type and the message length of the message to be sent by the node and the message forwarded by the previous node includes:
if the message types of the message to be sent of the node and the message forwarded by the previous node are different, and the message lengths of the message to be sent of the node and the message forwarded by the previous node are different, overlapping the message to be sent of the node and the message forwarded by the previous node according to a first overlapping mode to obtain the message forwarded by the node.
In one possible design, the first superposition mode is a superposition mode of a message type + a message length + message data.
In a possible design, the determining, according to the message type and the message length of the message to be sent by the current node and the message forwarded by the previous node, the superimposing method includes: if the message types of the message to be sent of the local node and the message forwarded by the previous node are different, but the message lengths of the message to be sent of the local node and the message forwarded by the previous node are the same, overlapping the message to be sent of the local node and the message forwarded by the previous node according to a second overlapping mode to obtain the message forwarded by the local node.
In one possible design, the second overlay mode is a message type + overlay mode of message data.
In a possible design, the determining a superposition manner according to the message type and the message length of the message to be sent by the node and the message forwarded by the previous node includes:
if the message types of the message to be sent by the local node and the message forwarded by the previous node are the same, but the message lengths of the message to be sent by the local node and the message forwarded by the previous node are different, overlapping the message to be sent by the local node and the message forwarded by the previous node according to a third overlapping mode to obtain the message forwarded by the local node.
In one possible design, the third superposition manner is a superposition manner of the message length + the message data.
In a possible design, the determining a superposition manner according to the message type and the message length of the message to be sent by the node and the message forwarded by the previous node includes:
if the message types of the message to be sent of the local node and the message forwarded by the previous node are the same and the message lengths of the message to be sent of the local node and the message forwarded by the previous node are the same, overlapping the message to be sent of the local node and the message forwarded by the previous node according to a fourth overlapping mode to obtain the message forwarded by the local node.
In one possible design, the fourth superposition mode is a superposition mode of the message data and the message data.
In one possible design, the method further includes: when a network element in the serial network receives a front node forwarding message sent by a previous network element, if the network element does not have a message to be sent by the node, the network element superimposes a null data message and the front node forwarding message to obtain the node forwarding message; and sending the forwarding message of the node to the next network element of the network elements.
On the other hand, an embodiment of the present application further provides a method for receiving a packet between network elements in a network, where the network includes a serial network, and the method includes: when a tail node network element in the serial network receives a front node forwarding message sent by a previous network element, determining a superposition mode of the front node forwarding message; wherein, the front node forwarding message is sent to the tail node network element by a message sending method between network elements in the network; decapsulating the forward message of the front node based on the decapsulation mode matched with the superposition mode to respectively obtain message data in the forward message sent by other network elements in the serial network; wherein the other network elements are network elements in the serial network except for the tail node network element.
In another aspect, an embodiment of the present application further provides a network structure, including a serial network, where the serial network includes a head node network element, a plurality of intermediate network elements, and a tail node network element, which are connected in sequence; the intermediate network element sequentially transmits the forwarding message of the node to the tail node network element according to the message transmission method among the network elements in the network; and the tail node network element decapsulates the local node forwarding message sent by the previous network element according to the message receiving method among the network elements in the network, so as to respectively obtain message data in the forwarding messages sent by other network elements in the serial network.
Compared with the prior art, the technical scheme at least has the following beneficial effects:
according to the method for sending the message between the network elements in the network provided by the embodiment of the application, in the serial network in the network architecture, the intermediate network element (except for the first node network element and the tail node network element in the serial network) receives the front node forwarding message sent by the previous network element, and if the intermediate network element needs to send the message to be sent of the node, the message to be sent of the node and the front node forwarding message are overlapped to obtain the forwarding message of the node, and then the forwarding message of the node is sent to the next network element of the intermediate network element. By adopting the message sending method, the intermediate network element in the serial network only needs to receive the forwarding message once (namely, the forwarding message of the front node sent by the previous network element) and send the forwarding message once (namely, the forwarding message of the node), so that the power consumption of each intermediate network element in the process of receiving and sending the message can be saved.
Further, when the message to be sent by the node is superimposed on the message forwarded by the previous node, the superimposing mode is determined according to the message types of the message to be sent by the node and the message forwarded by the previous node, and the space of the message forwarded by the node obtained after the superimposing can be reduced by using the superimposing mode under the condition that the message types of the message to be sent by the node and the message forwarded by the previous node are the same and/or the message lengths of the message to be sent by the node and the message forwarded by the previous node are the same.
According to the method for receiving messages between network elements in a network element provided in the embodiment of the present application, a tail node network element (i.e., a network element that finally receives a message) in a serial network only needs to receive a forwarding message (i.e., a front node forwarding message sent by a previous network element of the tail node network element) once, and decapsulate the forwarding message according to a superposition manner of the front node forwarding message, so as to respectively obtain message data in the forwarding messages sent by other network elements except the tail node network element in the serial network. By adopting the message receiving method, the tail node network element in the serial network can obtain the message data in the forwarding messages sent by other network elements only by receiving the forwarding messages once and performing decapsulation once, so that the power consumption of the tail node network element in the process of receiving the messages and decapsulating the messages is saved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a network structure of a conventional serial networking.
Fig. 2 is a flowchart illustrating a specific embodiment of a method for sending a message between network elements in a network according to an embodiment of the present application;
fig. 3 is a schematic network structure diagram of a serial network to which the message sending method between network elements in the network shown in fig. 2 is applied;
fig. 4A is a message schematic diagram of a message superposition manner in a message sending method between network elements in a network according to an embodiment of the present application;
fig. 4B is a message schematic diagram of another message superposition manner in the method for sending a message between network elements in a network according to the embodiment of the present application;
fig. 4C is a message schematic diagram of another message superposition manner in the message sending method between network elements in the network according to the embodiment of the present application;
fig. 4D is a message schematic diagram of another message superposition manner in the message sending method between network elements in the network according to the embodiment of the present application;
fig. 5 is a flowchart illustrating a specific embodiment of a method for receiving a packet between network elements in a network according to an embodiment of the present application.
[ detailed description ] A
For better understanding of the technical solutions of the present application, the following detailed descriptions of the embodiments of the present application are provided with reference to the accompanying drawings.
It should be understood that the embodiments described are only a few embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The network structure suitable for the technical scheme of the application comprises a star topology network, a bus topology network, a ring topology network and a tree topology network. The star topology network consists of a central node and all sites connected to the central node through point-to-point links; the bus type topology network adopts a single transmission line as a transmission medium, and all stations are directly connected to the transmission medium (namely a bus) through corresponding hardware interfaces; the ring topology network forms a closed ring by point-to-point links; the tree topology network is evolved from a bus topology network, and has at least one root with branches and a plurality of sub-branches.
After a plurality of devices are networked according to the network structure, the device of each node in the network is called a network element. As wireless communication technology develops, devices in various network structures may be connected by wired or wireless communication.
In any of the above network configurations, part of the network is typically a serial network (e.g., the network configuration shown in fig. 1). The technical scheme of the application is mainly suitable for message sending and receiving modes among network elements in serial networks of various network structures.
Fig. 2 is a flowchart illustrating a specific embodiment of a method for sending a packet between network elements in a network according to an embodiment of the present application. Referring to fig. 2, the method includes the steps of:
step 201, when a network element in the serial network receives a front node forwarding message sent by a previous network element, if the network element needs to send a message to be sent by a local node, determining whether the message to be sent by the local node can be overlapped with the front node forwarding message; wherein the network element is an intermediate network element of the serial network;
step 202, if yes, overlapping the message to be sent of the node with the message forwarded by the front node to obtain a message forwarded by the node;
step 203, sending the forwarding packet of the node to the next network element of the network elements.
As described above, the message sending method between network elements in the network according to this embodiment is applicable to a serial network in the network. For the convenience of understanding the present embodiment, a simple description of the serial network applied to the present embodiment is provided.
Fig. 3 is a schematic diagram of a network structure of a serial network to which the method for sending a message between network elements in the network shown in fig. 2 is applied. Referring to fig. 3, the serial network includes j network elements connected in sequence, which are network element N1, network element N2, network element N3, network element N4, \8230 \ 8230;, network element Nj-1, and network element Nj, respectively. Wherein the specific number of j can be determined according to the number of nodes of the serial network in practical application. In the serial network shown in fig. 3, network element N1 is a head node network element, network element N2, network element N3, \ 8230 \ 8230;, network element Nj-1 is a middle network element, and network element Nj is a tail node network element. In the serial network, if the network element N2 needs to send a message to the network element Nj, the message sent by the network element N2 needs to sequentially pass through the network element N3, the network element N4, \8230, the network element 8230, and the network element Nj-1 before reaching the network element Nj.
In this embodiment, the main body of execution of each step is an intermediate network element in a serial network. The message sending method described in this embodiment is described below by taking the network element N3 in fig. 3 as an intermediate network element as an example.
In step 201, when a network element in the serial network receives a previous node forwarding packet sent by a previous network element, if the network element needs to send a message to be sent by the current node, it is determined whether the message to be sent by the current node can be superimposed on the previous node forwarding packet.
With reference to fig. 2 and fig. 3, the network element N3 receives a previous node forwarding packet sent by the network element N2 (i.e., a previous network element of the network element N3), and if the network element N3 also has a local node to-be-sent packet that needs to be sent, it is determined whether the local node to-be-sent packet can be superimposed on the previous node forwarding packet.
Specifically, the steps include:
step 2011, determining whether the sending time after the message to be sent by the node is superimposed with the message forwarded by the previous node meets the receiving time tolerance range of the next network element of the network element;
step 2012, if the receiving time tolerance range is satisfied, it is determined that the message to be sent by the node can be superimposed with the message forwarded by the previous node.
Those skilled in the art understand that, in order to ensure the communication efficiency between network elements in the network, each network element needs to set the longest time range for receiving a message (i.e. the receiving time tolerance range) during the message transmission process. With continued reference to fig. 3, for example, the reception time tolerance range of the network element 4 is set to be less than or equal to 20ms (i.e., the longest reception time tolerance range does not exceed 20 ms). The network element 3 needs to determine whether the sending time after the message to be sent of the node is superimposed on the message forwarded by the previous node is less than or equal to 20ms, that is, whether the receiving time tolerance range of the network element 4 (that is, the next network element of the network element 3) is satisfied.
If yes, the message to be sent by the node is superimposed with the message forwarded by the previous node to obtain a message forwarded by the node.
Specifically, if the receiving time tolerance range is met, it is determined that the message to be sent by the node can be superimposed with the message forwarded by the previous node, and the message forwarded by the node is obtained after the superimposition.
In this embodiment, the present step includes:
step 2021, determining a superposition mode according to the message type and the message length of the message to be sent of the node and the message forwarded by the front node;
step 2022, overlapping the message to be sent of the node with the message forwarded by the previous node according to the overlapping manner to obtain a message forwarded by the node.
As understood by those skilled in the art, a message is a unit of data exchanged and transmitted in a network, and the message contains a message (or data) to be sent. The message types and message lengths of different messages may also be different according to different service types. In this embodiment, the specific stacking manner is determined according to the difference between the message type and the message length of the message to be sent by the local node and the message forwarded by the front node.
These stacking means are described in detail below with reference to specific embodiments.
Superposition mode one
Fig. 4A is a message schematic diagram of a message superposition manner in a message sending method between network elements in a network according to an embodiment of the present application.
Referring to fig. 4A, the message type of the forward message of the front node is type value 11, the message length is 16bit, and the message data is 0101111001110110; the message type of the message to be sent by the node is a type value of 16, the message length is 32 bits, and the message data is 01011110011101100101111001110110.
It can be seen that the message types of the message to be sent by the local node and the message forwarded by the previous node are different, and the message lengths of the message to be sent by the local node and the message forwarded by the previous node are also different, so that the message to be sent by the local node and the message forwarded by the previous node are superimposed according to a first superimposing manner to obtain the message forwarded by the local node.
Specifically, the first superposition mode is a superposition mode of a message Type (Type, T for short), a message Length (L for short), and a message data (Value, V for short), that is, in the superposition process, respective message types, message lengths, and message data in the message to be sent of the node and the message forwarded by the previous node are reserved, and the message to be sent of the node and the message forwarded by the previous node are superposed in the superposition mode of T + L + V to obtain the message forwarded by the node, where a message structure of the message forwarded by the node is shown in fig. 4A.
Superposition mode two
Fig. 4B is a message schematic diagram of another message superposition manner in the method for sending a message between network elements in a network according to the embodiment of the present application.
Referring to fig. 4B, the message type of the forwarding packet of the front node is type value 11, the message length is 16 bits, and the message data is 0101111001110110; the message type of the message to be sent by the node is a type value of 16, the message length is 16 bits, and the message data is 1000011001101110.
It can be seen that the message types of the message to be sent by the local node and the message forwarded by the previous node are different, but the message lengths of the message to be sent by the local node and the message forwarded by the previous node are the same, so that the message to be sent by the local node and the message forwarded by the previous node are superimposed according to a second superimposing manner to obtain the message forwarded by the local node.
Specifically, the second superposition mode is a superposition mode of a message type (T) + message data (V), that is, in the superposition process, since the message lengths are the same (that is, a default value), the message length of the superimposed local node forwarding message may be saved, only the respective message types and message data in the local node to-be-sent message and the previous node forwarding message are retained, and the local node to-be-sent message and the previous node forwarding message are superimposed in the T + V superposition mode to obtain the local node forwarding message, where a message structure of the local node forwarding message is as shown in fig. 4B.
Superposition mode three
Fig. 4C is a message schematic diagram of another message superposition manner in the message sending method between network elements in the network according to the embodiment of the present application.
Referring to fig. 4C, the message type of the forwarding packet of the front node is type value 11, the message length is 16 bits, and the message data is 0101111001110110; the message type of the message to be sent by the node is type value 11, the message length is 32bit, and the message data is 01011110011101100101111001110110.
It can be seen that the message types of the message to be sent by the local node and the message forwarded by the previous node are the same, but the message lengths of the message to be sent by the local node and the message forwarded by the previous node are different, so that the message to be sent by the local node and the message forwarded by the previous node are superimposed according to a third superimposing method to obtain the message forwarded by the local node.
Specifically, the third superimposing mode is a superimposing mode of the message length (L) + the message data (V), that is, in the superimposing process, since the message types are the same (that is, the default type value), the message type of the superimposed local node forwarding message may be omitted, only the respective message lengths and message data in the local node to-be-sent message and the previous node forwarding message are retained, and the local node to-be-sent message and the previous node forwarding message are superimposed in the L + V superimposing mode to obtain the local node forwarding message, where a message structure of the local node forwarding message is as shown in fig. 4C.
Superposition mode four
Fig. 4D is a message schematic diagram of another message superposition manner in the message sending method between network elements in the network according to the embodiment of the present application.
Referring to fig. 4, the message type of the forwarding packet of the front node is type value 11, the message length is 16 bits, and the message data is 0101111001110110; the message type of the message to be sent by the node is 11, the message length is 16 bits, and the message data is 0101001011100111.
It can be seen that the message types of the message to be sent by the local node and the message forwarded by the previous node are the same, and the message lengths of the message to be sent by the local node and the message forwarded by the previous node are also the same, so that the message to be sent by the local node and the message forwarded by the previous node are superimposed according to a fourth superimposing manner to obtain the message forwarded by the local node.
Specifically, the fourth superposition mode is a superposition mode of the message data (V) + the message data (V), that is, in the superposition process, since the message types are the same (that is, the default type value) and the message lengths are the same (that is, the default value), the message types and the message lengths of the superimposed local node forwarding messages can be omitted, only the respective message data in the local node forwarding message and the previous node forwarding message are retained, and the local node forwarding message and the previous node forwarding message are superimposed in the V + V superposition mode to obtain the local node forwarding message, where the message structure of the local node forwarding message is as shown in fig. 4D.
In the above four superposition modes, except for the first superposition mode, the other three superposition modes have the same message type and/or message length as the message forwarded by the front node and the message to be sent by the local node, so that the message type and/or message length of the message forwarded by the local node obtained after superposition is omitted, and the space occupied by the message forwarded by the local node is reduced.
On the contrary, if the determination result in the step 2011 is negative, that is, the sending time after the message to be sent of the node and the forwarding message of the previous node are superimposed does not meet the receiving time tolerance range, it is determined that the message to be sent of the node and the forwarding message of the previous node cannot be superimposed, in this case, one processing manner is to send the message to be sent of the node and the forwarding message of the previous node to the next network element of the network element respectively.
Further, in this embodiment, the method further includes the following steps:
when a network element in the serial network receives a front node forwarding message sent by a previous network element, if the network element does not have a message to be sent by the node, the network element superimposes a null data message and the front node forwarding message to obtain the node forwarding message.
And sending the node forwarding message to the next network element of the network elements.
Specifically, if the network element itself does not have a local node to-be-transmitted packet that needs to be transmitted, when receiving a front node forwarding packet transmitted by a previous network element, the final tail node network element may be decapsulated correctly, so that the network element superimposes an empty data packet with the front node forwarding packet to obtain the local node forwarding packet. The empty data message is a message with empty message data.
In the superposition process, because the message types and the message lengths of the null data message and the forwarding message of the previous node are different, the null data message and the forwarding message of the previous node can be superposed according to the implementation mode of the first superposition mode to obtain the forwarding message of the current node.
It should be noted that, in this embodiment, since only one message type and message length are usually used in one serial network, after the intermediate network element determines the overlapping manner of the forward message of the front node and the message to be sent of the local node, each intermediate network element in the entire serial network overlaps the forward message of the front node and the message to be sent of the local node in the overlapping manner.
It can be seen that, with the packet sending method between network elements in the network provided in this embodiment, an intermediate network element in a serial network only needs to receive a forwarding packet (that is, a previous node forwarding packet sent by a previous network element) once, and send a forwarding packet (that is, a local node forwarding packet) once. Therefore, the power consumption of each intermediate network element in the process of receiving and sending the message can be saved.
Fig. 5 is a flowchart illustrating a specific embodiment of a method for receiving a packet between network elements in a network according to an embodiment of the present application.
Referring to fig. 5, the packet receiving method includes:
step 501, when a tail node network element in the serial network receives a front node forwarding message sent by a previous network element, determining a superposition mode of the front node forwarding message; the front node forwarding message is sent to the tail node network element according to a message sending method between network elements in the network;
502, decapsulating the front node forwarding message based on the decapsulation mode matched with the superposition mode to obtain message data in forwarding messages sent by other network elements in the serial network respectively; wherein the other network elements are network elements in the serial network except for the tail node network element.
It should be noted that, in this embodiment, an execution main body of each step of the packet receiving method is a tail node network element in a serial network. Continuing to refer to the schematic network structure diagram of the serial network shown in fig. 3, where the network element Nj is a tail node network element of the serial network, and when the network element Nj receives a previous node forwarding packet sent by a previous network element (i.e., network element Nj-1), determining a superposition manner of the previous node forwarding packet. As described above, in a serial network, only one message superposition mode is usually adopted, so that the message superposition mode adopted from the network element N2 to the network element Nj-2 can be determined according to the superposition mode adopted by the front node to forward the message sent by the network element Nj-1.
Further, after determining the overlay mode, the tail node network element decapsulates the forward message based on a decapsulation mode matched with the overlay mode, so as to obtain message data in the forward message sent by other network elements in the serial network.
Specifically, with reference to fig. 3, the network element Nj receives a forward node packet sent by the network element Nj-1, and decapsulates the forward node packet according to a decapsulation mode matched with the determined superimposition mode. As can be known from the embodiment of the method for sending a message between network elements in a network, the previous node forwarding message sent by the network element Nj-1 includes all forwarding messages to be sent to the network element Nj from each of the network elements N1 to Nj-1 in a serial network, and the messages are the previous node forwarding messages sent by the network element Nj-1 obtained by superimposing the messages according to the superimposing method described in the embodiment of the method for sending a message.
Therefore, the network element Nj is used as a tail node network element in the serial network, and after decapsulating the received forward message of the front node sent by the network element Nj-1, message data in the forward message to be sent by each of the network elements N1 to Nj-1 can be obtained.
It can be seen that, with the packet receiving method provided in this embodiment, the tail node network element in the serial network also needs to receive the forwarded packet only once and perform decapsulation once to obtain the message data in the forwarded packets sent by other network elements in the serial network, thereby saving power consumption of the tail node network element in the processes of receiving the packet and decapsulating the packet.
The embodiment of the application also provides a network structure which can be a star topology network, a bus topology network, a ring topology network and a tree topology network. The network structure comprises a serial network, wherein the serial network comprises a head node network element, a plurality of intermediate network elements and a tail node network element which are sequentially connected; the intermediate network element sequentially transmits the forwarding message of the node to the tail node network element according to the message transmission method among the network elements in the network; and the tail node network element decapsulates the received local node forwarding message sent by the previous network element according to the message receiving method among the network elements in the network, so as to respectively obtain message data in the forwarding messages sent by other network elements in the serial network.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely a relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (13)

1. A method for sending messages between network elements in a network, wherein the network comprises a serial network, is characterized by comprising the following steps:
when a network element in the serial network receives a front node forwarding message sent by a previous network element, if the network element needs to send a message to be sent by a local node, judging whether the sending time after the message to be sent by the local node and the front node forwarding message are superposed meets the receiving time tolerance range of a next network element of the network element; if the receiving time tolerance range is met, determining that the message to be sent of the node can be superposed with the message forwarded by the front node; wherein the network element is an intermediate network element of the serial network;
if so, overlapping the message to be transmitted of the node with the message forwarded by the front node to obtain a message forwarded by the node;
when a network element in the serial network receives a front node forwarding message sent by a previous network element, if the network element does not have a message to be sent by the node, the network element superimposes a null data message and the front node forwarding message to obtain the node forwarding message;
and sending the forwarding message of the node to the next network element of the network elements.
2. The method according to claim 1, wherein if the receiving time tolerance range is not satisfied, the message to be sent by the local node and the message forwarded by the previous node are sent to a next network element of the network elements, respectively.
3. The method as claimed in claim 1, wherein said overlapping the message to be sent from the local node and the message forwarded from the previous node to obtain the message forwarded from the local node comprises:
determining a superposition mode according to the message type and the message length of the message to be sent by the node and the message forwarded by the front node;
and superposing the message to be transmitted of the node and the message forwarded by the front node according to the superposition mode to obtain the message forwarded by the node.
4. The method according to claim 3, wherein the determining the superposition manner according to the message type and the message length of the message to be sent by the current node and the message forwarded by the previous node comprises:
if the message types of the message to be sent of the node and the message forwarded by the previous node are different, and the message lengths of the message to be sent of the node and the message forwarded by the previous node are different, overlapping the message to be sent of the node and the message forwarded by the previous node according to a first overlapping mode to obtain the message forwarded by the node.
5. The method of claim 4, wherein the first overlay mode is an overlay mode of message type + message length + message data.
6. The method according to claim 3, wherein the determining the superposition manner according to the message type and the message length of the message to be sent by the current node and the message forwarded by the previous node comprises:
if the message types of the message to be sent by the local node and the message forwarded by the previous node are different, but the message lengths of the message to be sent by the local node and the message forwarded by the previous node are the same, overlapping the message to be sent by the local node and the message forwarded by the previous node according to a second overlapping mode to obtain the message forwarded by the local node.
7. The method of claim 6, wherein the second overlay is a message type + message data overlay.
8. The method as claimed in claim 3, wherein said determining the overlay manner according to the message type and the message length of the message to be sent by the local node and the message forwarded by the previous node comprises:
if the message types of the message to be sent of the local node and the message forwarded by the front node are the same, but the message lengths of the message to be sent of the local node and the message forwarded by the front node are different, overlapping the message to be sent of the local node and the message forwarded by the front node according to a third overlapping mode to obtain the message forwarded by the local node.
9. The method of claim 8, wherein the third overlay manner is a message length + overlay manner of message data.
10. The method according to claim 3, wherein the determining the superposition manner according to the message type and the message length of the message to be sent by the current node and the message forwarded by the previous node comprises:
if the message types of the message to be sent of the local node and the message forwarded by the previous node are the same and the message lengths of the message to be sent of the local node and the message forwarded by the previous node are the same, overlapping the message to be sent of the local node and the message forwarded by the previous node according to a fourth overlapping mode to obtain the message forwarded by the local node.
11. The method of claim 10, wherein the fourth overlay mode is a message data + message data overlay mode.
12. A method for receiving messages between network elements in a network, wherein the network comprises a serial network, is characterized by comprising the following steps:
when a tail node network element in the serial network receives a front node forwarding message sent by a previous network element, determining a superposition mode of the front node forwarding message; wherein, the front node forwarding message is sent to the tail node network element according to the message sending method between network elements in the network according to any one of claims 1 to 11;
decapsulating the front-node forwarding message based on the decapsulation mode matched with the superposition mode to respectively obtain message data in forwarding messages sent by other network elements in the serial network; and the other network elements are network elements except a tail node network element and a head node network element in the serial network.
13. A network is characterized by comprising a serial network, wherein the serial network comprises a head node network element, a plurality of middle network elements and a tail node network element which are connected in sequence;
the intermediate network element sequentially sends the forwarding message of the node to the tail node network element according to the message sending method between the network elements in the network of any one of the claims 1 to 11;
the tail node network element decapsulates the forward message of the front node sent by the previous network element according to the message receiving method between network elements in the network as claimed in claim 12, so as to obtain the message data in the forward messages sent by other network elements in the serial network, respectively.
CN201911223143.8A 2019-12-03 2019-12-03 Network structure, message sending method and receiving method between network elements in network Active CN111083208B (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CN201911223143.8A CN111083208B (en) 2019-12-03 2019-12-03 Network structure, message sending method and receiving method between network elements in network
PCT/CN2020/128267 WO2021109821A1 (en) 2019-12-03 2020-11-12 Network structure, method for sending packet between network elements in network, and receiving method
EP20895106.1A EP4044558A4 (en) 2019-12-03 2020-11-12 Network structure, method for sending packet between network elements in network, and receiving method
US17/780,886 US20230014379A1 (en) 2019-12-03 2020-11-12 Network Structure and Method for Sending/Receiving Packet Between Network Elements in Network
JP2022531575A JP7447263B2 (en) 2019-12-03 2020-11-12 Network structures and methods for transmitting/receiving packets between network elements within a network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911223143.8A CN111083208B (en) 2019-12-03 2019-12-03 Network structure, message sending method and receiving method between network elements in network

Publications (2)

Publication Number Publication Date
CN111083208A CN111083208A (en) 2020-04-28
CN111083208B true CN111083208B (en) 2022-10-28

Family

ID=70312861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911223143.8A Active CN111083208B (en) 2019-12-03 2019-12-03 Network structure, message sending method and receiving method between network elements in network

Country Status (5)

Country Link
US (1) US20230014379A1 (en)
EP (1) EP4044558A4 (en)
JP (1) JP7447263B2 (en)
CN (1) CN111083208B (en)
WO (1) WO2021109821A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083208B (en) * 2019-12-03 2022-10-28 华为技术有限公司 Network structure, message sending method and receiving method between network elements in network

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7606267B2 (en) * 2004-12-10 2009-10-20 Cisco Technology, Inc. Reducing the sizes of application layer messages in a network element
JP4343212B2 (en) 2006-11-27 2009-10-14 ファナック株式会社 Data transmission / reception method
CN101026566A (en) * 2007-02-13 2007-08-29 华为技术有限公司 Method, system and device for increasing access device service bandwidth
CN100589448C (en) * 2007-06-22 2010-02-10 中兴通讯股份有限公司 Method for realizing data package compression/decompression
CN101252534B (en) * 2008-03-28 2010-06-02 清华大学 Method for improving mobile self-organizing network communication capacity through link layer message combination
CN101415276A (en) * 2008-11-24 2009-04-22 中兴通讯股份有限公司 Method and equipment for sending and receiving data
JP5393528B2 (en) 2010-02-22 2014-01-22 三菱電機株式会社 Communication apparatus and program
EP2466803B1 (en) 2010-12-15 2013-04-17 Siemens Aktiengesellschaft Method for data transmission in an automation system using dynamic frame packing
CN103379046A (en) * 2012-04-20 2013-10-30 唐漫宇 Method for improving message sending efficiency through IP message combining and splitting technology
CN103139222B (en) * 2013-03-19 2016-12-28 成都卫士通信息产业股份有限公司 A kind of IPSEC tunneling data transmission method and device
CN105577566A (en) * 2014-10-24 2016-05-11 中兴通讯股份有限公司 Message gathering transmission method, device and system
CN110224914B (en) 2015-03-30 2021-04-27 罗克韦尔自动化技术公司 Method and system for data aggregation in industrial communication protocols
CN106375233B (en) * 2015-11-09 2019-11-15 北京智谷技术服务有限公司 Data transmission method and data transmission device
CN106817726A (en) * 2015-11-27 2017-06-09 中兴通讯股份有限公司 Data message sends the processing method and processing device for receiving
CN109819524B (en) * 2017-11-22 2021-04-09 华为技术有限公司 Message processing method and device
US11368873B2 (en) * 2017-12-15 2022-06-21 Huawei Technologies Co., Ltd. Method and system of packet aggregation
US20190044889A1 (en) * 2018-06-29 2019-02-07 Intel Corporation Coalescing small payloads
CN109120687B (en) * 2018-08-09 2020-07-24 深圳市腾讯网络信息技术有限公司 Data packet transmitting method, device, system, equipment and storage medium
CN109831267B (en) * 2019-02-26 2020-10-27 武汉海晟科讯科技有限公司 Cascade synchronous data acquisition and transmission system based on PTP (precision time protocol)
CN111083208B (en) * 2019-12-03 2022-10-28 华为技术有限公司 Network structure, message sending method and receiving method between network elements in network

Also Published As

Publication number Publication date
JP2023504430A (en) 2023-02-03
CN111083208A (en) 2020-04-28
EP4044558A1 (en) 2022-08-17
US20230014379A1 (en) 2023-01-19
EP4044558A4 (en) 2022-10-19
WO2021109821A1 (en) 2021-06-10
JP7447263B2 (en) 2024-03-11

Similar Documents

Publication Publication Date Title
US10104717B2 (en) Generic client for communication devices
JP6014279B2 (en) Method, device and routing system for network virtualization data transmission
EP2412129B1 (en) Redundant host connection in a routed network
US9420518B2 (en) Layer-3 mesh connectivity of wireless local networks
US20020186667A1 (en) Communication in a bidirectional ring network with single-direction receiving
CN111740899A (en) ARP request message forwarding method, cross-device link aggregation group and network device
US7773570B2 (en) Method and system for transmitting/receiving signal in wireless local network mesh communication system
CN112532756B (en) Interface expansion method, device and system
US10298416B2 (en) Method and system for converting a broadcast packet to a unicast packet at an access point
CN112671642A (en) Message forwarding method and device
JP2005210199A (en) Inter-terminal connection method in radio network
CN112491687A (en) Method and device for processing message
CN103200283A (en) Multi-relay wireless communication system and method for realizing IP (Internet Protocol)-based air interface for same
CN111083208B (en) Network structure, message sending method and receiving method between network elements in network
US9503276B2 (en) Method and system to reduce wireless network packets for centralised layer two network
US20200137671A1 (en) Wifi Network, and Networking Method Therefor and Data Transmission Method Therein
CN106059885A (en) Method and system for processing CAPWAP message by wireless controller
CN101272326A (en) Method for packet transmission by polymerization link and communication equipment thereof
WO2022179437A1 (en) Data transmission method, and communication apparatus
JP2016511948A (en) Shared media bridging
CN106034078B (en) Method and system for reducing DR change of PIM protocol
CN114338852B (en) Method for encapsulating data packet based on Thread protocol to obtain IEEE802.11 physical frame
CN103166853A (en) Method and device of data transmission
JPH02143759A (en) Routing information update processing system
CN112714076B (en) Interconnected communication system and method

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