Communication method, communication device, computing device and storage medium

CN119497978APending Publication Date: 2025-02-21SIEMENS AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280098062.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-09-05
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

In Industrial Wireless LAN (IWLAN), the existing iPRP protocol leads to unnecessary waste of resources and low data throughput during redundant data transmission, especially the lack of coordination mechanism between two redundant links, resulting in The transmission of redundant data packets is unnecessary and inefficient.

Method used

Introduce the sending timing condition of redundant data copies. By adding priority tags to data packets, high-priority copies are sent first, and low-priority copies are discarded after receiving acknowledgment messages. If the sending fails, low-priority copies are sent to ensure Data transfer successful.

Benefits of technology

Reduce unnecessary redundant transmission, improve data throughput, and ensure the transmission of low-priority copies when high-priority copies fail to be sent, maximizing the use of wireless resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119497978A_ABST
    Figure CN119497978A_ABST
Patent Text Reader

Abstract

The invention relates to a communication method, communication equipment, computing equipment and a storage medium. The method comprises the steps that a first transmitting end and a second transmitting end respectively receive a first copy and a second copy of the same data packet from a data source, the first copy is provided with a label with a high priority, the second copy is provided with a label with a low priority, the first transmitting end transmits the first copy to a first receiving end, and the second transmitting end keeps the second copy; after receiving the confirmation message from the first receiving end, the first sending end sends a successful message indicating successful sending to the second sending end, and the second sending end discards the second copy when receiving the successful message; and if the first sending end does not receive the'acknowledgement message 'in the first preset time period, a'failure message' indicating that sending fails is sent to the second sending end, and the second sending end sends a second copy to the second receiving end when receiving the'failure message '.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method, communication device, computing device and storage medium Technical Field

[0001] The present disclosure generally relates to the field of communication technology, and more particularly, to a communication method, a communication device, a computing device, and a storage medium. Background Art

[0002] The ongoing digital transformation in the industrial sector would be impossible without modern communication technologies. To provide companies with the optimal infrastructure for exchanging all types of data, a series of specialized Industrial Wireless LAN (IWLAN) products have been developed. These products feature unique enhancements to meet the specific requirements of industrial Wi-Fi within control cabinets, indoors, and outdoors, such as iPRP (Industrial Parallel Redundancy Protocol) and iPCF (Industrial Point Coordination Function).

[0003] iPRP is an extension of PRP (Parallel Redundancy Protocol) for wireless data transmission via IWLAN. iPRP enables high-availability, redundant, uninterrupted, and low-latency connections in wireless networks. It is based on duplicating Layer 2 frames over two independent (redundant) wireless links.

[0004] Figure 1 shows a simplified diagram of an IWLAN communication system using the iPRP protocol. In this system, all access points AP1 and AP2 and client STA 1A and STA 1B iPRP is enabled, or other features with similar functions for achieving redundancy are enabled. 1A and STA 1B A pair of redundant WLAN client devices are connected to the same terminal device 101-1 (e.g., a typical Profinet IO (PNIO) device) via a "redundancy box 102-1" and therefore send / receive the same layer 2 traffic to / from their respective access points (AP1 and AP2). 2A and STA 2B The same is true for the terminal device 101-2, which is connected to the terminal device 101-2 through the redundancy box 102-2.

[0005] For simplicity, it is assumed here that both pairs of redundant clients are served by the same pair of access points, AP1 and AP2. (In practice, since clients can roam freely in a larger wireless network, the mapping of clients to access points can be more complex and change over time.) As a further simplification, it can be assumed that all traffic is periodic PNIO traffic and that all data frames have the same duration.

[0006] In an actual IWLAN network, multiple APs may belong to different LAN networks, each terminal device may be deployed with one or two WLAN clients, and there will be more complex correspondence between APs and clients.

[0007] Summary of the Invention

[0008] A brief overview of the present invention is provided below to provide a basic understanding of certain aspects of the present invention. It should be understood that this overview is not an exhaustive overview of the present invention. It is not intended to identify key or important aspects of the present invention, nor is it intended to limit the scope of the present invention. Its purpose is simply to present certain concepts in a simplified form as a prelude to the more detailed description discussed later.

[0009] In view of this, the present disclosure proposes a communication method, which introduces some additional conditions for the sending timing of redundant data copies on the basis of the existing iPRP communication method.

[0010] According to one aspect of the present disclosure, a communication method of a redundant communication system is provided, wherein the redundant communication system includes a first transmitting end, a second transmitting end, a first receiving end, a second receiving end, and a data source, wherein:

[0011] The first transmitting end and the second transmitting end respectively receive a first copy and a second copy of the same data packet from the data source, wherein the first copy has a high priority label and the second copy has a low priority label,

[0012] The first sending end sends the first copy to the first receiving end, and the second sending end retains the second copy;

[0013] After receiving the "confirmation message" from the first receiving end, the first sending end sends a "success message" to the second sending end indicating successful sending, and the second sending end discards the second copy upon receiving the "success message";

[0014] If the first sending end does not receive the "confirmation message" within the first predetermined time period, it sends a "failure message" indicating a sending failure to the second sending end. When the second sending end receives the "failure message", it sends the second copy to the second receiving end.

[0015] In this way, unnecessary redundant transmission can be reduced and data throughput can be improved; at the same time, even if the first copy fails to be sent, the second copy can be guaranteed to be sent to the receiving end.

[0016] Optionally, in an example of the above aspect, the method further includes:

[0017] If the second sending end receives neither the "success message" nor the "failure message" within a second predetermined time period, the second sending end sends the second copy to the second receiving end.

[0018] In this way, even in the event of packet loss, the normal transmission of data copies can be guaranteed.

[0019] Optionally, in an example of the above aspect, the communication mode between the first transmitting end and the first receiving end and the communication mode between the second transmitting end and the second receiving end include any one of WiFi, 5G, and wired communication.

[0020] In this way, the communication method according to the present disclosure can be adopted between redundant links that adopt any two communication modes.

[0021] Optionally, in an example of the above aspect, the labels of the first copy and the second copy are pre-marked by at least one of the following methods:

[0022] Marking the first sending end as a primary sending end, marking the copies of data packets sent to and from the primary sending end as high priority, marking the second sending end as a secondary sending end, and marking the copies of data packets sent to and from the secondary sending end as low priority;

[0023] Mark the first sender and the second sender as an "odd" sender and an "even" sender, respectively. When the number of the data packet is odd, the copy from and to the "odd" sender is marked as a high priority, and the copy from and to the "even" sender is marked as a low priority, and vice versa.

[0024] For the copies of the same data packet, one of them is randomly marked with a low priority and the other is marked with a low priority.

[0025] In this way, two copies of the same data packet can be marked in different ways according to different network conditions and communication requirements.

[0026] According to another aspect of the present disclosure, there is provided a communication method, comprising:

[0027] The sender receives a copy of the data packet from the data source.

[0028] checking whether the copy is tagged as high priority or low priority;

[0029] In case the copied tag is high priority:

[0030] The sending end sends the copy to the corresponding receiving end;

[0031] After receiving the "confirmation message" from the receiving end, the sending end sends a "success message" indicating successful sending to another sending end having another copy of the same data packet;

[0032] If the sending end does not receive the "confirmation message" within a predetermined time period, a "failure message" indicating a sending failure is sent to the other sending end;

[0033] In case the copied tag is low priority:

[0034] The sending end retains the copy;

[0035] When the sending end receives a "success message" from another sending end having another copy of the same data packet, the sending end discards the copy, and when the sending end receives a "failure message" from the other sending end, the sending end sends the copy to the corresponding receiving end;

[0036] If the sending end receives neither the "success message" nor the "failure message" within a predetermined time period, the sending end sends the copy to the corresponding receiving end.

[0037] According to another aspect of the present disclosure, there is provided a communication device, comprising:

[0038] a receiving unit configured to receive a copy of the data packet from the data source,

[0039] a priority determination unit configured to check whether the copied tag is of high priority or low priority;

[0040] Transceiver unit,

[0041] In a case where the copied tag has a high priority, the transceiver unit is configured to:

[0042] Sending the copy to the corresponding receiving end;

[0043] After receiving the "confirmation message" from the receiving end, sending a "success message" indicating successful transmission to another transmitting end having another copy of the same data packet;

[0044] If no "confirmation message" is received within a predetermined time period, a "failure message" indicating a sending failure is sent to the other sending end;

[0045] In a case where the copied tag has a low priority, the transceiver unit is configured to:

[0046] retaining said copy;

[0047] upon receiving a “success message” from another sending end having another copy of the same data packet, discarding the copy, and upon receiving a “failure message” from the other sending end, sending the copy to the corresponding receiving end;

[0048] If neither the "success message" nor the "failure message" is received within a predetermined time period, the copy is sent to the corresponding receiving end.

[0049] According to another aspect of the present disclosure, a computing device is provided, comprising: at least one processor; and a memory coupled to the at least one processor, the memory being configured to store instructions that, when executed by the at least one processor, enable the processor to perform the method described above.

[0050] According to another aspect of the present disclosure, a non-transitory machine-readable storage medium is provided, which stores executable instructions. When the instructions are executed, the machine is caused to perform the method described above.

[0051] According to another aspect of the present disclosure, a computer program is provided, comprising computer-executable instructions, which, when executed, cause at least one processor to perform the method described above.

[0052] According to another aspect of the present disclosure, a computer program product is provided, which is tangibly stored on a computer-readable medium and includes computer-executable instructions that, when executed, cause at least one processor to perform the method described above.

[0053] According to the communication method and communication device disclosed herein, redundant copies of data packets are not sent until the result of the first attempt on one of the links is obtained. This solution avoids unnecessary redundancy to the greatest extent possible, fully utilizes valuable wireless resources, and significantly improves data throughput. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The above and other purposes, features and advantages of the present invention will be more easily understood by referring to the following description of the embodiments of the present invention in conjunction with the accompanying drawings. The components in the accompanying drawings are only for illustrating the principles of the present invention. In the accompanying drawings, the same or similar technical features or components will be represented by the same or similar reference numerals. In the accompanying drawings:

[0055] FIG1 is a simplified schematic diagram of an IWLAN communication system using the iPRP protocol in the prior art;

[0056] FIG2 is a simplified schematic diagram of a communication system that performs communication using a communication method according to an embodiment of the present disclosure;

[0057] FIG3 is a flowchart of an exemplary process of a communication method according to an embodiment of the present disclosure;

[0058] FIG4 is a flowchart of an exemplary process of a communication method performed at a transmitting end according to another embodiment of the present disclosure;

[0059] FIG5 is a block diagram showing an exemplary configuration of a communication device for executing the communication method shown in FIG4 ; and

[0060] FIG6 shows a block diagram of a computing device for implementing a communication method according to an embodiment of the present disclosure.

[0061] The accompanying drawings are numerals as follows:

[0062] AP1, AP2: Access points 101-1, 101-2: Terminal devices

[0063] STA 1A STA 1B STA 2A STA 2B : Clients 102-1, 102-2: Redundant boxes

[0064] 200: Communication System 201: Data Source

[0065] 203-1: First transmitter 203-2: Second transmitter

[0066] 204-1: First receiving end 204-2: Second receiving end

[0067] 205-1: First copy 205-2: Second copy

[0068] 300: Communication method S302, S304, S306, S308, S310: Steps

[0069] 400: Communication method S402, S404, S406, S408: Steps

[0070] 500: Communication device 502: Receiving unit

[0071] 504: Priority determination unit 506: Transceiver unit

[0072] 600: Computing device 602: Processor

[0073] 604: Memory DETAILED DESCRIPTION

[0074] The subject matter described herein will now be discussed with reference to example embodiments. It should be understood that discussing these embodiments is intended only to enable those skilled in the art to better understand and implement the subject matter described herein, and is not intended to limit the scope of protection, applicability, or examples set forth in the claims. The functions and arrangements of the elements discussed may be changed without departing from the scope of protection of this disclosure. Various examples may omit, replace, or add various processes or components as needed. For example, the described method may be performed in an order different from the described order, and various steps may be added, omitted, or combined. In addition, features described relative to some examples may also be combined in other examples.

[0075] As used herein, the term "including" and its variations are open terms meaning "including but not limited to". The term "based on" means "based at least in part on". The terms "one embodiment" and "an embodiment" mean "at least one embodiment". The term "another embodiment" means "at least one other embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other definitions may be included below, whether explicit or implicit. Unless the context clearly indicates otherwise, the definition of a term is consistent throughout the specification.

[0076] In the traditional iPRP communication method of WLAN, a fundamental feature of iPRP is that after an access point (AP) receives confirmation of the successful transmission of a downlink data packet, it notifies the redundant access point of the successful transmission, so that the redundant access point can remove the corresponding data packet from its transmit queue, avoiding wasted time and radio resources due to duplicate transmission. However, by default, there is no coordination mechanism or time synchronization between access points. Therefore, when two access points send and receive data to / from a client (STA), the following two data transmission patterns may occur.

[0077] The first is that the two copies of the same data packet are sent without time overlap. This feature will cause the data to be sent by the access point AP. A Successfully transmitted, thus being accessed by the access point AP B Discard, so AP B Another possibility is that the transmission of two copies of the same data packet overlaps in time. In this case, the above situation cannot be achieved because the other copy of the same data packet has been transmitted on the redundant link before the transmission on the first link is completed.

[0078] In traditional iPRP, redundant data packet transmission can occur at any time on the access point (AP) or client (STA). Based on the above analysis, if the AP's data transmission behavior can be coordinated, unnecessary redundant transmission can be reduced and data throughput can be improved.

[0079] For traditional iPRP, the communication process is as follows.

[0080] On the transmitting side, a PRP Box (redundancy box) replicates each packet and sends it to the corresponding AP on each LAN. On the receiving side, when a copy of a packet is successfully received, an acknowledgment is sent to the sender. If it has already been received, the other copy of the same packet is ignored. Furthermore, if the other copy has not yet been sent, the sender stops sending and deletes the packet after receiving the acknowledgment. Since both APs or STAs responsible for sending the same packet are constantly sending data, wasting radio resources is inevitable if both transmissions are successful.

[0081] To efficiently utilize radio resources and improve data throughput, this disclosure proposes a communication method that introduces additional transmission time dependencies between redundant packets in iPRP. While this disclosure uses a WLAN communication system as an example, those skilled in the art will appreciate that any system employing redundancy mechanisms for communication can employ this communication method to reduce unnecessary redundant transmissions and improve data throughput, not limited to WLAN communication systems.

[0082] The communication method and apparatus according to the embodiments of the present disclosure will be described below with reference to the accompanying drawings.

[0083] The communication method according to the present disclosure is implemented in a communication system that utilizes a redundant mechanism for communication. Figure 2 shows a simplified schematic diagram of the redundant communication system. In Figure 2, the communication system 200 includes a first transmitter 203-1, a second transmitter 203-2, a first receiver 204-1, a second receiver 204-2, and a data source 201. The second transmitter is a redundant transmitter for the first transmitter, and the second receiver is a redundant receiver for the first receiver. The same data from the data source is replicated into two copies 205-1 and 205-2. For example, the two copies of data can be replicated using a hardware PRP Box (redundancy box). The method of the present disclosure does not specify how the two copies of data are replicated and will not be described in detail here. The first copy 205-1 is transmitted between the first transmitter and the first receiver, and a second copy 205-2 is transmitted between the second transmitter and the second receiver, if necessary. In Figure 2, only a pair of redundant transmitting ends and receiving ends in a communication system is used as an example to illustrate the communication method according to the present disclosure. In an actual communication system, any number of pairs of transmitting ends and receiving ends may be included, and each pair of transmitting ends and receiving ends may communicate with each other using the communication method according to the present disclosure.

[0084] In an industrial wireless LAN, the data source can be any terminal device in the industrial field, such as PLCs, AGVs, gateways, and other devices. In this case, the transmitter is the client and the receiver is the server or cloud. The data source can also be a server. In this case, the transmitter is the access point and the receiver is the client. That is, in the method disclosed herein, the transmitter can be the uplink transmitter or the downlink transmitter, and the other end of the communication is the receiver. For simplicity, Figure 2 only marks the basic components in the steps of implementing the method of the present invention.

[0085] FIG3 is a flow chart of an exemplary process of a communication method 300 according to an embodiment of the present disclosure. Execution steps of the communication method 300 according to an embodiment of the present disclosure will be described in detail below with reference to FIG3 .

[0086] First, in step S302, the first transmitting end and the second transmitting end respectively receive the first copy and the second copy of the same data packet from the data source, wherein the first copy has a high-priority label and the second copy has no label or has a low-priority label.

[0087] In the method disclosed herein, a tag is added to the copy of the data packet to distinguish the priorities of the two copies. In the following steps, the copy with higher priority is sent first, while the copy with lower priority is not sent temporarily.

[0088] Specifically, the copy of the data may be tagged in one of the following ways.

[0089] Method 1: Two senders connected to the same terminal device are predefined as a "primary" sender and a "secondary" sender. Data copies sent to and from the "primary" sender are labeled "primary," while data copies sent to and from the "secondary" sender are labeled "secondary." Unlabeled data is optional.

[0090] The "Primary" label here indicates that this copy has a high priority, while another copy of the same data has a low priority.

[0091] This allows the "master" clients to be better distributed across different networks to avoid load imbalance between networks. For example, STA1B, STA2A, and STA3A can be selected as the "master" transmitters.

[0092] Method 2: Two senders connected to the same terminal device are predefined as an "odd" sender and an "even" sender. When the packet number from the terminal device is odd, the copy of the data sent to the "odd" sender and the copy of the data from the "even" sender are labeled "primary", while the other copy is labeled "secondary". When the packet number is even, the copy of the data sent to the "even" sender and the copy of the data from the "even" client are labeled "primary", while the other copy is labeled "secondary".

[0093] When there are few end devices in the network and each end device requires high throughput, this method is more efficient and can fully utilize the two links to transmit two independent data streams simultaneously.

[0094] Method 3: Label one copy "primary" and the other "secondary" in a random manner.

[0095] In the above method, hardware (such as a PRP Box) is used to tag the copy of the data before the data from the data source is sent to the sender. Alternatively, the following method can be used, that is, the PRP Box does not mark the "primary / secondary" label, but the sender can determine the label category based on predefined global rules implemented in all senders.

[0096] An example is:

[0097] Two senders connected to the same data source are predefined as an "even" sender and an "odd" sender. When the packet number is even, the copy of the data sent to and from the "even" client is labeled "primary," while the other copy is labeled "secondary." When the packet number is odd, the copy of the data sent to and from the "odd" client is labeled "primary," while the other copy is labeled "secondary."

[0098] In the method according to the present disclosure, there is no limitation on the specific way of adding labels to the two copies of the data packet, as long as the two copies can be distinguished, so that one sender sends a copy of the data, while the other sender temporarily does not send a copy of the data.

[0099] For ease of explanation, in this specification, the copy with the highest priority is referred to as the first copy, the sender that sends the first copy is referred to as the first sender, the copy with the lowest priority is referred to as the second copy, and the sender that sends the second copy is referred to as the second sender. It should be understood that the terms "first sender" and "second sender" do not refer to specific senders, nor do the terms "first copy" and "second copy" refer to specific copies.

[0100] In step S304, the first sending end sends the first copy to the first receiving end, and the second sending end retains the second copy.

[0101] That is, the copy marked as high priority (first copy) is sent by the first sending end to the corresponding first receiving end, while the copy of the same data packet with low priority (second copy) is retained by the second sending end and not sent.

[0102] In step S306, after receiving the "confirmation message" from the first receiving end, the first sending end sends a "success message" indicating successful sending to the second sending end, and the second sending end discards the second copy upon receiving the "success message".

[0103] That is, when the first sending end successfully sends the first copy of the data to the first receiving end, the second sending end discards the second copy and does not send it.

[0104] In step S308, if the first sending end does not receive a "confirmation message" within a first predetermined time period, a "failure message" indicating a sending failure is sent to the second sending end. When the second sending end receives the "failure message", it sends the second copy to the second receiving end.

[0105] That is, in the case that the first sending end fails to send, the second sending end sends the second copy to the second receiving end.

[0106] In this way, unnecessary redundant transmission can be reduced and data throughput can be improved; at the same time, even if the first copy fails to be sent, the second copy can be guaranteed to be sent to the receiving end.

[0107] In an example, the communication method 300 may further include step S310: if the second sending end receives neither the "success message" nor the "failure message" within a second predetermined time period, the second sending end sends the second copy to the second receiving end.

[0108] In this case, data loss may have occurred in a certain link. To ensure data transmission, if the second sending end does not receive any message within a second predetermined time period, the second copy is sent to the second receiving end.

[0109] The first predetermined time and the second predetermined time can be preset as needed, and the first predetermined time and the second predetermined time can be set to be equal or unequal.

[0110] In addition, if the data received from the data source does not have any tags, it will be sent according to the traditional PRP protocol sending method, which will not be detailed here.

[0111] The communication method between the first transmitting end and the first receiving end and the communication method between the second transmitting end and the second receiving end include any one of WiFi, 5G, and wired communication.

[0112] That is, the communication mode between the transmitter and the receiver can be wireless communication or wired communication; the communication modes between two pairs of transmitters and receivers can be the same or different.

[0113] FIG4 is a flow chart of an exemplary process of a communication method performed at a transmitting end according to an embodiment of the present disclosure. Referring to FIG4 , the operations performed at a transmitting end when the transmitting end receives a copy of a data packet are described below.

[0114] First, in step S402, the sending end receives a copy of the data packet from the data source.

[0115] Next, in step S404, it is checked whether the copied tag is a high priority or a low priority.

[0116] If the tag of the copy is high priority, perform the operation of step S406: the sending end sends the copy to the corresponding receiving end; after receiving the "confirmation message" from the receiving end, the sending end sends a "success message" indicating successful sending to another sending end having another copy of the same data packet; if the sending end does not receive the "confirmation message" within a predetermined time period, it sends a "failure message" indicating failure of sending to the other sending end.

[0117] If the label of the copy is low priority, perform the operation of step S408: the sending end retains the copy; when the sending end receives a "success message" from another sending end having another copy of the same data packet, the sending end discards the copy, and when the sending end receives a "failure message" from the other sending end, the copy is sent to the corresponding receiving end; if the sending end receives neither the "success message" nor the "failure message" within a predetermined time period, the sending end sends the copy to the corresponding receiving end.

[0118] FIG5 is a block diagram showing an exemplary configuration of a communication device 500 for executing the communication method shown in FIG4 . In FIG5 , the communication device 500 includes a receiving unit 502 , a priority determination unit 504 , and a transceiver unit 506 .

[0119] The receiving unit 502 is configured to receive a copy of a data packet from a data source.

[0120] The priority determination unit 504 is configured to check whether the copied tag is of high priority or low priority.

[0121] In the case that the copied tag has a high priority, the transceiver unit 506 is configured to:

[0122] Sending the copy to the corresponding receiving end;

[0123] After receiving the "confirmation message" from the receiving end, sending a "success message" indicating successful transmission to another transmitting end having another copy of the same data packet;

[0124] If no "confirmation message" is received within a predetermined time period, a "failure message" indicating a sending failure is sent to the other sending end;

[0125] In the case that the copied tag has a low priority, the transceiver unit 506 is configured to:

[0126] retaining said copy;

[0127] upon receiving a “success message” from another sending end having another copy of the same data packet, discarding the copy, and upon receiving a “failure message” from the other sending end, sending the copy to the corresponding receiving end;

[0128] If neither the "success message" nor the "failure message" is received within a predetermined time period, the copy is sent to the corresponding receiving end.

[0129] As an example, the various steps of the above-described communication method and the various modules and / or units of the above-described communication device can be implemented as software, firmware, hardware, or a combination thereof. In the case of implementation via software or firmware, a program constituting the software for implementing the above-described method can be installed from a storage medium or a network to a computing device having a dedicated hardware structure. When the various programs are installed, the computing device can perform various functions, etc.

[0130] It should be noted that the structure of the communication device 500 and its constituent units shown in FIG5 is merely exemplary, and those skilled in the art may modify the structural block diagram shown in FIG5 as needed.

[0131] The details of the operations and functions of the various parts of the communication method 400 and the communication device 500 may be the same as or similar to the relevant parts of the embodiment of the communication method of the present disclosure described with reference to Figures 1-3, and will not be described in detail here.

[0132] The key difference between the technical solution disclosed herein and existing iPRP solutions is that redundant copies of data packets are not sent until the result of the first attempt on one of the links is known. This solution minimizes unnecessary redundancy, fully utilizes valuable wireless resources, and significantly improves data throughput.

[0133] The communication method and the communication device according to the embodiments of the present disclosure are described above with reference to Figures 1 to 5. Each unit of the communication device described above can be implemented by hardware, software, or a combination of hardware and software.

[0134] 6 shows a block diagram of a computing device 600 for implementing a communication method according to an embodiment of the present disclosure. According to one embodiment, the computing device 600 may include at least one processor 602 that executes at least one computer-readable instruction (i.e., the aforementioned elements implemented in software form) stored or encoded in a computer-readable storage medium (i.e., memory 604).

[0135] In one embodiment, memory 604 stores computer-executable instructions that, when executed, enable at least one processor 602 to perform operations performed by the data relay device. Furthermore, memory 604 may also store computer-executable instructions that enable processor 602 to perform operations performed by the container management device.

[0136] It should be understood that the computer executable instructions stored in the memory 604, when executed, cause the at least one processor 602 to perform the various operations and functions described above in conjunction with Figures 1-5 in various embodiments of the present disclosure.

[0137] According to one embodiment, a non-transitory machine-readable medium is provided. The non-transitory machine-readable medium may have machine-executable instructions (i.e., the elements implemented in software above), which, when executed by a machine, causes the machine to perform the various operations and functions described above in conjunction with Figures 1-5 in various embodiments of the present disclosure.

[0138] According to one embodiment, a computer program is provided, including computer-executable instructions, which, when executed, enable at least one processor to perform the various operations and functions described above in conjunction with Figures 1-5 in various embodiments of the present disclosure.

[0139] According to one embodiment, a computer program product is provided, including computer-executable instructions, which, when executed, enable at least one processor to perform the various operations and functions described above in conjunction with Figures 1-5 in various embodiments of the present disclosure.

[0140] The specific embodiments described above in conjunction with the accompanying drawings describe exemplary embodiments, but do not represent all embodiments that can be implemented or fall within the scope of protection of the claims. The term "exemplary" used throughout this specification means "used as an example, instance or illustration" and does not mean "preferred" or "having advantages" over other embodiments. For the purpose of providing an understanding of the described technology, the specific embodiments include specific details. However, these technologies can be implemented without these specific details. In some instances, in order to avoid obscuring the concepts of the described embodiments, well-known structures and devices are shown in block diagram form.

[0141] The foregoing description of the present disclosure is provided to enable any person skilled in the art to implement or use the present disclosure. Various modifications to the present disclosure will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the scope of the present disclosure. Therefore, the present disclosure is not limited to the examples and designs described herein, but is intended to be consistent with the widest range of principles and novel features disclosed herein.

[0142] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A communication method of a redundant communication system, wherein the redundant communication system comprises a first transmitting end, a second transmitting end, a first receiving end, a second receiving end, and a data source, wherein: The first transmitting end and the second transmitting end respectively receive a first copy and a second copy of the same data packet from the data source, wherein the first copy has a high priority label and the second copy has a low priority label, The first sending end sends the first copy to the first receiving end, and the second sending end retains the second copy; After receiving the "confirmation message" from the first receiving end, the first sending end sends a "success message" to the second sending end indicating successful sending, and the second sending end discards the second copy upon receiving the "success message"; If the first sending end does not receive the "confirmation message" within the first predetermined time period, it sends a "failure message" indicating that the sending failed to the second sending end. When the second sending end receives the "failure message", it sends the second copy to the second receiving end.

2. The method of claim 1, further comprising: If the second sending end receives neither the “success message” nor the “failure message” within a second predetermined time period, the second sending end sends the second copy to the second receiving end.

3. The method according to claim 1 or 2, wherein The communication mode between the first transmitting end and the first receiving end and the communication mode between the second transmitting end and the second receiving end include any one of WiFi, 5G, and wired communication.

4. The method according to claim 1 or 2, wherein The labels of the first copy and the second copy are pre-marked by at least one of the following methods: Marking the first sending end as a primary sending end, marking the copies of data packets sent to and from the primary sending end as high priority, marking the second sending end as a secondary sending end, and marking the copies of data packets sent to and from the secondary sending end as low priority; The first sending end and the second sending end are marked as an "odd" sending end and an "even" sending end, respectively. When the number of the data packet is odd, the copy from and to the "odd" sending end is marked as a high priority, and the copy from and to the "even" sending end is marked as a low priority, and vice versa. For the copies of the same data packet, one of them is randomly marked with a low priority and the other is marked with a low priority.

5. A communication method, comprising: The sender receives a copy of the data packet from the data source. checking whether the copy is tagged as high priority or low priority; In case the copied tag is high priority: The sending end sends the copy to the corresponding receiving end; After receiving the "confirmation message" from the receiving end, the sending end sends a "success message" indicating successful sending to another sending end having another copy of the same data packet; If the sending end does not receive the "confirmation message" within a predetermined time period, a "failure message" indicating a sending failure is sent to the other sending end; In case the copied tag is low priority: The sending end retains the copy; When the sending end receives a "success message" from another sending end having another copy of the same data packet, the sending end discards the copy; when the sending end receives a "failure message" from the other sending end, the sending end sends the copy to the corresponding receiving end; If the sending end receives neither the “success message” nor the “failure message” within a predetermined time period, the sending end sends the copy to the corresponding receiving end.

6. A communication device (500), comprising: A receiving unit (502) is configured to receive a copy of a data packet from a data source, a priority determination unit (504), configured to check whether the copied tag is of high priority or low priority; a transceiver unit (506), In case the copied tag is of high priority, the transceiver unit (506) is configured to: Sending the copy to the corresponding receiving end; After receiving the "confirmation message" from the receiving end, sending a "success message" indicating successful transmission to another sending end having another copy of the same data packet; If no "confirmation message" is received within a predetermined time period, a "failure message" indicating a sending failure is sent to the other sending end; In case the copied tag is of low priority, the transceiver unit (506) is configured to: retaining said copy; When receiving a "success message" from another sending end having another copy of the same data packet, discarding the copy, and when receiving a "failure message" from the other sending end, sending the copy to the corresponding receiving end; If neither the “success message” nor the “failure message” is received within a predetermined time period, the copy is sent to the corresponding receiving end.

7. A computing device (600), comprising: at least one processor (602); as well as A memory (604) coupled to the at least one processor (602), the memory (604) being configured to store instructions, which, when executed by the at least one processor (602), cause the processor (602) to perform the method of claim 5.

8. A non-transitory machine-readable storage medium storing executable instructions, which, when executed, cause the machine to perform the method of claim 5.

9. A computer program product tangibly stored on a computer-readable medium and comprising computer-executable instructions that, when executed, cause at least one processor to perform the method of claim 5.