Multi-protocol coordinated communication method and system

By dividing the time into equal-long communication cycles in the multi-protocol communication module in the same device and assigning different time periods for signal transmission, the code error problem caused by signal overlap of modules is solved, and high-quality communication is achieved.

CN119363854BActive Publication Date: 2025-03-18NANJING INRICH TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411937500.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-03-18
Estimated Expiration
2044-12-26

AI Technical Summary

Technical Problem

The signals sent by multiple communication modules in the same device overlap at the air interface, resulting in code errors and communication quality degradation.

Method used

By dividing the time into equal-long communication cycles, and dividing it into a first time period, a second time period and a dynamic time period within each communication cycle, the first transmission module and the second transmission module respectively control to send signals in different time periods, and dynamically adjust the allocation of the dynamic time period according to the communication state.

Benefits of technology

It effectively avoids communication interference, improves communication quality, and matches the needs of actual communication resources, reducing communication delay.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119363854B_ABST
    Figure CN119363854B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of communication technology. In order to solve the technical problem that signals sent by two communication modules overlap at an air interface, a multi-protocol coordinated communication method and system are proposed. The method comprises: judging whether a first sending module and a second sending module are to perform communication work at the same time, wherein the two sending modules adopt different communication protocols; if yes, each communication cycle is divided into N time periods of equal length, and the N time periods of equal length include a first time period, a second time period and N‑2 dynamic time periods arranged in sequence, in each first time period, the first sending module is controlled to send a signal and the second sending module is not to send a signal, in each second time period, the second sending module is controlled to send a signal and the first sending module is not to send a signal, and in the N‑2 dynamic time periods of each communication cycle, one of the two sending modules is selectively controlled to send a signal and the other is not to send a signal according to the communication state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a multi-protocol coordinated communication method and system. Background Art

[0002] With the development of wireless communication technology, a variety of wireless communication protocols with their own characteristics have been developed and widely used. At present, it is common to apply the communication technologies of two protocols in the same scenario, which can combine the advantages of the two to achieve better application effects. For example, in the industrial Internet of Things, the long-distance transmission Lora communication can realize the remote control of industrial equipment, and remotely receive the operation data and environmental data of each industrial equipment, while the more secure wapi communication can process and encrypt these data and transmit them securely to the data center.

[0003] At present, for the above-mentioned solution of integrating the two communication protocols, considering factors such as space layout and cost, the two communication modules in the control terminal device are often designed on the same motherboard, or at least the two communication modules are close to each other because they are in the same device. In this case, the signals sent by the two communication modules will overlap at the air interface, causing bit errors and reducing communication quality. Summary of the invention

[0004] In order to solve the above technical problems, the present invention provides a multi-protocol coordinated communication method and system, which can effectively avoid communication interference and improve communication quality.

[0005] The technical solution adopted by the present invention is as follows:

[0006] A multi-protocol coordinated communication method comprises the following steps: determining whether a first sending module and a second sending module are to perform communication work at the same time, wherein the first sending module and the second sending module send signals to their respective corresponding receiving modules when performing communication work, and the first sending module and the second sending module are located in the same device but use different communication protocols; if the first sending module and the second sending module are to perform communication work at the same time, dividing the time into a plurality of communication cycles of equal length, and dividing each communication cycle into N time periods of equal length, wherein the N time periods of equal length include a first time period, a second time period and N-2 dynamic time periods arranged in sequence, and in each of the first time periods, controlling the first sending module to send a signal and the second sending module not to send a signal, in each of the second time periods, controlling the second sending module to send a signal and the first sending module not to send a signal, and in each of the N-2 dynamic time periods of the communication cycle, selectively controlling one of the first sending module and the second sending module to send a signal and the other not to send a signal according to the communication state, wherein N is an integer greater than 2.

[0007] In which, in each time period when the first sending module sends a signal, when encoding the signal sent, a start mark is added at the beginning of the time period in a first manner; in each time period when the second sending module sends a signal, when encoding the signal sent, a start mark is added at the beginning of the time period in a second manner, and the second manner is different from the first manner.

[0008] In the N-2 dynamic time periods of each communication cycle, one of the first sending module and the second sending module is selectively controlled to send a signal and the other is not to send a signal according to the communication status, specifically including: at the start time of each communication cycle, calculating the remaining sending time of the first sending module and the remaining sending time of the second sending module; judging whether the remaining sending time of the first sending module is greater than or equal to the remaining sending time of the second sending module; if so, controlling the first sending module to send a signal and the second sending module not to send a signal in the N-2 dynamic time periods of the communication cycle, otherwise controlling the second sending module to send a signal and the first sending module not to send a signal in the N-2 dynamic time periods of the communication cycle.

[0009] The remaining sending time is calculated according to the following formula:

[0010] t r = D / B

[0011] in, t r Indicates the remaining sending time of the first sending module, or the remaining sending time of the second sending module; D Indicates the data volume of data to be sent by the first sending module, or the data volume of data to be sent by the second sending module, in bits; B Indicates the bandwidth between the first sending module and the corresponding receiving module, or the bandwidth between the second sending module and the corresponding receiving module, in bits per second.

[0012] The first sending module and the second sending module respectively use the Lora protocol and the wapi protocol to communicate.

[0013] A multi-protocol coordinated communication system comprises a first sending module, a second sending module and a control module, wherein the control module is used to: determine whether the first sending module and the second sending module are to perform communication work at the same time, wherein the first sending module and the second sending module send signals to their respective corresponding receiving modules when performing communication work, and the first sending module and the second sending module are located in the same device but use different communication protocols; when the first sending module and the second sending module are to perform communication work at the same time, divide the time into a plurality of communication cycles of equal length, and divide each communication cycle into N time periods of equal length, wherein the N time periods of equal length include a first time period, a second time period and N-2 dynamic time periods arranged in sequence, and in each of the first time periods, control the first sending module to send a signal and the second sending module not to send a signal, control the second sending module to send a signal and the first sending module not to send a signal in each of the second time periods, and in each of the N-2 dynamic time periods of the communication cycle, selectively control one of the first sending module and the second sending module to send a signal and the other not to send a signal according to the communication state, wherein N is an integer greater than 2.

[0014] In which, in each time period when the first sending module sends a signal, when encoding the signal sent, a start mark is added at the beginning of the time period in a first manner; in each time period when the second sending module sends a signal, when encoding the signal sent, a start mark is added at the beginning of the time period in a second manner, and the second manner is different from the first manner.

[0015] The control module is specifically used to: calculate the remaining sending time of the first sending module and the remaining sending time of the second sending module at the beginning of each communication cycle; determine whether the remaining sending time of the first sending module is greater than or equal to the remaining sending time of the second sending module; if so, control the first sending module to send a signal and the second sending module not to send a signal within N-2 dynamic time periods of the communication cycle; otherwise, control the second sending module to send a signal and the first sending module not to send a signal within N-2 dynamic time periods of the communication cycle.

[0016] The control module calculates the remaining sending time according to the following formula:

[0017] t r = D / B

[0018] in, t rIndicates the remaining sending time of the first sending module, or the remaining sending time of the second sending module; D Indicates the data volume of data to be sent by the first sending module, or the data volume of data to be sent by the second sending module, in bits; B Indicates the bandwidth between the first sending module and the corresponding receiving module, or the bandwidth between the second sending module and the corresponding receiving module, in bits per second.

[0019] The first sending module and the second sending module respectively use the Lora protocol and the wapi protocol to communicate.

[0020] Beneficial effects of the present invention:

[0021] When communication modules of two protocols need to communicate simultaneously, the present invention divides time into communication cycles of equal length and divides each communication cycle into a first time period, a second time period, and at least one dynamic time period of equal length according to the timing. In the first time period and the second time period, the first sending module and the second sending module are respectively controlled to send a signal. In the dynamic time period, the first sending module or the second sending module is controlled to send a signal according to the communication state. Thus, by controlling the communication modules of the two protocols to work separately in timing, it is ensured that only one signal is sent at the same time, which can effectively avoid communication interference and improve communication quality; and by allocating the dynamic time period to a certain sending module according to the communication state, it can match the actual communication resource requirements; by setting each time period to be of equal length, it is convenient to synchronize signal transmission and reception; by setting the time period corresponding to the first sending module and the second sending module in each communication cycle, it is possible to ensure the basic communication requirements of each sending module, reduce communication delay, and ensure communication quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A flowchart of a multi-protocol coordinated communication method according to an embodiment of the present invention;

[0023] Figure 2 A schematic diagram of time period division according to an embodiment of the present invention;

[0024] Figure 3 The figure is a schematic diagram of signal coding according to a specific embodiment of the present invention. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] like Figure 1 As shown, the multi-protocol coordinated communication method of the embodiment of the present invention includes the following steps:

[0027] S1, determine whether the first sending module and the second sending module are to perform communication work at the same time, wherein the first sending module and the second sending module send signals to their respective corresponding receiving modules when performing communication work, and the first sending module and the second sending module are located in the same device, but use different communication protocols.

[0028] In a specific embodiment of the present invention, the first sending module and the second sending module may be located on a baseband board of a control terminal device in the industrial Internet of Things, and the first sending module and the second sending module may respectively use the Lora protocol and the wapi protocol for communication. The first sending module and the second sending module may each correspond to one or more receiving modules. For example, when the control terminal device simultaneously sends control instructions to multiple controlled devices through the first sending module, the first sending module corresponds to multiple receiving modules.

[0029] In one embodiment of the present invention, the communication work of the first sending module and the second sending module is controlled by the main control chip, that is, the main control chip can control the first sending module and the second sending module to start and stop the communication work according to the actual functional requirements of the control terminal device. Therefore, the main control chip can know whether the two need to perform communication work at the same time.

[0030] S2, if the first sending module and the second sending module are to perform communication work at the same time, then the time is divided into a plurality of communication cycles of equal length, and each communication cycle is divided into N time periods of equal length, the N time periods of equal length include the first time period, the second time period and N-2 dynamic time periods arranged in sequence, and in each first time period, the first sending module is controlled to send a signal and the second sending module is not to send a signal, in each second time period, the second sending module is controlled to send a signal and the first sending module is not to send a signal, and in each N-2 dynamic time period of each communication cycle, one of the first sending module and the second sending module is selectively controlled to send a signal and the other is not to send a signal according to the communication state. Wherein, N is an integer greater than 2.

[0031] If only one of the first sending module and the second sending module is to perform communication, the one to perform communication can be controlled in a conventional manner, for example, only the first sending module can be controlled to continuously send signals.

[0032] If the first sending module and the second sending module are to communicate at the same time, the two sending modules will interfere with each other when sending their respective signals at the same time. Figure 2 The time period shown in the figure, and selectively controlling the sending module to send a signal in any time period, can avoid such interference (t1, t2, and td in the figure represent the first time period, the second time period, and the dynamic time period, respectively).

[0033] The value of N is fixed for each communication cycle, and the N time periods are of equal length, that is, the length of each dynamic time period, the first time period, and the second time period are the same. In addition, each communication cycle is also of equal length, which ensures that all time periods are of equal length, so that the receiving module can obtain the time period information that will not change in advance, which is convenient for the synchronization of the receiving module and the corresponding sending module signal.

[0034] In one embodiment of the present invention, for each N-2 dynamic time period of a communication cycle, the remaining transmission time of the first transmission module and the remaining transmission time of the second transmission module can be calculated at the beginning of each communication cycle, and then it is determined whether the remaining transmission time of the first transmission module is greater than or equal to the remaining transmission time of the second transmission module. If so, the first transmission module is controlled to send a signal and the second transmission module is not to send a signal within the N-2 dynamic time periods of the communication cycle, otherwise, the second transmission module is controlled to send a signal and the first transmission module is not to send a signal within the N-2 dynamic time periods of the communication cycle.

[0035] The remaining sending time can be calculated according to the following formula:

[0036] t r = D / B

[0037] in, t r Indicates the remaining sending time of the first sending module, or the remaining sending time of the second sending module; D Indicates the data volume of data to be sent by the first sending module, or the data volume of data to be sent by the second sending module, in bits; B Indicates the bandwidth between the first sending module and the corresponding receiving module, or the bandwidth between the second sending module and the corresponding receiving module, in bits per second.

[0038] The amount of data to be sent by the first sending module or the second sending module D , may be the total amount of data to be sent by the first sending module or the second sending module that is currently known, or may be the amount of data to be sent by the first sending module or the second sending module in the current communication cycle that is planned according to a certain rule.

[0039] By judging the remaining sending time of the two sending modules and selecting the sending module with more remaining sending time to send signals within N-2 dynamic time periods, the time for the two sending modules to send signals is dynamically allocated by combining the data volume and transmission time, which can better match the actual communication resource requirements of each sending module and avoid the sending module with smaller resource requirements occupying communication time.

[0040] It should be understood that the value of N determines the total length of the dynamic time period in each cycle, that is, the length of time that can be dynamically allocated to a certain sending module in each communication cycle. The longer this length is, the faster the adjustment of the communication resource balance is. However, it should not be too long. If the total length of the dynamic time period is too long, over-adjustment will occur, communication delay will be large, and data loss or even signal interruption will occur due to exceeding the processing capacity or buffer limit of the system. Therefore, it can be set in advance in combination with the specific situation of the communication system in the embodiment of the present invention and the above-mentioned factors. In some preferred embodiments, N can be 3, 4 or 5.

[0041] The embodiment of the present invention can ensure the basic communication requirements of each sending module by setting time periods corresponding to the first sending module and the second sending module in each communication cycle, and avoid excessive communication delays or even communication failures caused by dynamically adjusting the communication time period.

[0042] According to the multi-protocol coordinated communication method of an embodiment of the present invention, when communication modules of two protocols need to communicate simultaneously, by dividing the time into communication cycles of equal length and dividing each communication cycle into a first time period, a second time period, and at least one dynamic time period of equal length in sequence, the first sending module and the second sending module are respectively controlled to send a signal in the first time period and the second time period, and the first sending module or the second sending module is controlled to send a signal in the dynamic time period according to the communication state. Thus, by controlling the communication modules of the two protocols to work separately in timing and ensuring that only one signal is sent at the same time, communication interference can be effectively avoided and communication quality can be improved; and, by allocating the dynamic time period to a certain sending module according to the communication state, the actual communication resource requirements can be matched; by setting each time period to be of equal length, the synchronization of signal transmission and reception is facilitated; by setting the time period corresponding to the first sending module and the second sending module in each communication cycle, the basic communication requirements of each sending module can be guaranteed, communication delay can be reduced, and communication quality can be guaranteed.

[0043] Furthermore, in one embodiment of the present invention, in each time period in which the first sending module sends a signal, when encoding the signal sent, a start mark is added at the beginning of the time period in a first manner; in each time period in which the second sending module sends a signal, when encoding the signal sent, a start mark is added at the beginning of the time period in a second manner, and the second manner is different from the first manner.

[0044] In a specific embodiment of the present invention, the first sending module uses a flag code as the starting codeword for encoding the signal sent by the first sending module in each time period in which the signal is sent, and the same is true for the second sending module, and the flag code of the signal sent by the first sending module is different from the flag code of the signal sent by the second sending module. The flag code is a code other than the signal coding, and is only used to mark the starting position of the time period. For example, taking N as 3 and the first sending module, the second sending module and the second sending module sending signals in the dynamic time periods of the first to third communication cycles, it is assumed that the flag code of the signal sent by the first sending module is 0 and the signal sent is signal one, and the flag code of the signal sent by the second sending module is 1 and the signal sent is signal two. Of course, in other embodiments, the flag codes of the two may also be other customized codes respectively. Then the encoding of the first sending module and the second sending module is as follows Figure 3 As shown, assuming that the code word of signal one in the first time period of the first communication cycle is 01100011, the code of the first sending module in the first time period of the first communication cycle is 001100011.

[0045] Therefore, by adding corresponding start marks at the beginning of different signal time periods, the receiving module can confirm the signal type and time. When the sending object of the dynamic time period is uncertain, the decoding is still simple and does not require a complex decoding algorithm. After the receiving module obtains the start mark through decoding, it can continue to receive and decode the signal. Even if the data transmission in the previous time period is erroneous, it will not affect the transmission of subsequent data.

[0046] In addition, it should be noted that in one embodiment of the present invention, if the first sending module and / or the second sending module performs full-duplex communication with the corresponding receiving module, the full-duplex communication is not implemented by time division multiplexing, but by other methods, such as dual-module design or frequency division multiplexing.

[0047] Corresponding to the multi-protocol coordinated communication method of the above embodiment, the present invention also proposes a multi-protocol coordinated communication system.

[0048] The multi-protocol coordinated communication system of the embodiment of the present invention includes a first sending module, a second sending module and a control module. The control module is used to: determine whether the first sending module and the second sending module are to perform communication work at the same time, wherein the first sending module and the second sending module send signals to the corresponding receiving modules when performing communication work, and the first sending module and the second sending module are located in the same device, but use different communication protocols; when the first sending module and the second sending module are to perform communication work at the same time, the time is divided into a plurality of equal-length communication cycles, and each communication cycle is divided into N equal-length time periods, and the N equal-length time periods include a first time period, a second time period and N-2 dynamic time periods arranged in sequence, and in each first time period, the first sending module is controlled to send a signal and the second sending module is not to send a signal, in each second time period, the second sending module is controlled to send a signal and the first sending module is not to send a signal, and in each N-2 dynamic time periods of each communication cycle, one of the first sending module and the second sending module is selectively controlled to send a signal and the other is not to send a signal according to the communication state, wherein N is an integer greater than 2.

[0049] In a specific embodiment of the present invention, the first sending module and the second sending module may be located on a baseband board of a control terminal device in the industrial Internet of Things, and the first sending module and the second sending module may respectively use the Lora protocol and the wapi protocol for communication. The first sending module and the second sending module may each correspond to one or more receiving modules. For example, when the control terminal device simultaneously sends control instructions to multiple controlled devices through the first sending module, the first sending module corresponds to multiple receiving modules.

[0050] In one embodiment of the present invention, the communication work of the first sending module and the second sending module is controlled by the control module, that is, the control module can control the first sending module and the second sending module to start and stop the communication work according to the actual functional requirements of the control terminal device, so the control module can know whether the two need to perform communication work at the same time. The control module can be a main control chip.

[0051] If only one of the first sending module and the second sending module needs to perform communication, the control module can control the party that needs to perform communication in a conventional manner, for example, only controlling the first sending module to continuously send signals.

[0052] If the first sending module and the second sending module are to communicate at the same time, the two sending modules will interfere with each other when sending their respective signals at the same time. Figure 2In the time periods shown, the control module selectively controls the sending module to send a signal in any time period, so as to avoid such interference (t1, t2, and td in the figure represent the first time period, the second time period, and the dynamic time period, respectively).

[0053] The value of N is fixed for each communication cycle, and the N time periods are of equal length, that is, the length of each dynamic time period, the first time period, and the second time period are the same. In addition, each communication cycle is also of equal length, which ensures that all time periods are of equal length, so that the receiving module can obtain the time period information that will not change in advance, which is convenient for the synchronization of the receiving module and the corresponding sending module signal.

[0054] In one embodiment of the present invention, for each N-2 dynamic time period of a communication cycle, the control module may calculate the remaining transmission time of the first transmission module and the remaining transmission time of the second transmission module at the start time of each communication cycle, and then determine whether the remaining transmission time of the first transmission module is greater than or equal to the remaining transmission time of the second transmission module. If so, the first transmission module is controlled to send a signal and the second transmission module is not to send a signal within the N-2 dynamic time periods of the communication cycle, otherwise, the second transmission module is controlled to send a signal and the first transmission module is not to send a signal within the N-2 dynamic time periods of the communication cycle.

[0055] The control module can specifically calculate the remaining sending time according to the following formula:

[0056] t r = D / B

[0057] in, t r Indicates the remaining sending time of the first sending module, or the remaining sending time of the second sending module; D Indicates the data volume of data to be sent by the first sending module, or the data volume of data to be sent by the second sending module, in bits; B Indicates the bandwidth between the first sending module and the corresponding receiving module, or the bandwidth between the second sending module and the corresponding receiving module, in bits per second.

[0058] The amount of data to be sent by the first sending module or the second sending module D , may be the total amount of data to be sent by the first sending module or the second sending module that is currently known, or may be the amount of data to be sent by the first sending module or the second sending module in the current communication cycle that is planned according to a certain rule.

[0059] By judging the remaining sending time of the two sending modules and selecting the sending module with more remaining sending time to send signals within N-2 dynamic time periods, the time for the two sending modules to send signals is dynamically allocated by combining the data volume and transmission time, which can better match the actual communication resource requirements of each sending module and avoid the sending module with smaller resource requirements occupying communication time.

[0060] It should be understood that the value of N determines the total length of the dynamic time period in each cycle, that is, the length of time that can be dynamically allocated to a certain sending module in each communication cycle. The longer this length is, the faster the adjustment of the communication resource balance is. However, it should not be too long. If the total length of the dynamic time period is too long, over-adjustment will occur, communication delay will be large, and data loss or even signal interruption will occur due to exceeding the processing capacity or buffer limit of the system. Therefore, it can be set in advance in combination with the specific situation of the communication system in the embodiment of the present invention and the above-mentioned factors. In some preferred embodiments, N can be 3, 4 or 5.

[0061] The embodiment of the present invention can ensure the basic communication requirements of each sending module by setting time periods corresponding to the first sending module and the second sending module in each communication cycle, and avoid excessive communication delays or even communication failures caused by dynamically adjusting the communication time period.

[0062] According to the multi-protocol coordinated communication system of the embodiment of the present invention, when communication modules of two protocols need to communicate at the same time, by dividing the time into communication cycles of equal length and dividing each communication cycle into a first time period, a second time period, and at least one dynamic time period of equal length in sequence, the first sending module and the second sending module are respectively controlled to send a signal in the first time period and the second time period, and the first sending module or the second sending module is controlled to send a signal in the dynamic time period according to the communication state. Thus, by controlling the communication modules of the two protocols to work separately in timing and ensuring that only one signal is sent at the same time, communication interference can be effectively avoided and communication quality can be improved; and, by allocating the dynamic time period to a certain sending module according to the communication state, the actual communication resource requirements can be matched; by setting each time period to be of equal length, the synchronization of signal transmission and reception is facilitated; by setting the time period corresponding to the first sending module and the second sending module in each communication cycle, the basic communication requirements of each sending module can be guaranteed, communication delay can be reduced, and communication quality can be guaranteed.

[0063] Furthermore, in one embodiment of the present invention, in each time period in which the first sending module sends a signal, when encoding the signal sent, a start mark is added at the beginning of the time period in a first manner; in each time period in which the second sending module sends a signal, when encoding the signal sent, a start mark is added at the beginning of the time period in a second manner, and the second manner is different from the first manner.

[0064] In a specific embodiment of the present invention, the first sending module uses a flag code as the starting codeword for encoding the signal sent by the first sending module in each time period in which the signal is sent, and the same is true for the second sending module, and the flag code of the signal sent by the first sending module is different from the flag code of the signal sent by the second sending module. The flag code is a code other than the signal coding, and is only used to mark the starting position of the time period. For example, taking N as 3 and the first sending module, the second sending module and the second sending module sending signals in the dynamic time periods of the first to third communication cycles, it is assumed that the flag code of the signal sent by the first sending module is 0 and the signal sent is signal one, and the flag code of the signal sent by the second sending module is 1 and the signal sent is signal two. Of course, in other embodiments, the flag codes of the two may also be other customized codes respectively. Then the encoding of the first sending module and the second sending module is as follows Figure 3 As shown, assuming that the code word of signal one in the first time period of the first communication cycle is 01100011, the code of the first sending module in the first time period of the first communication cycle is 001100011.

[0065] Therefore, by adding corresponding start marks at the beginning of different signal time periods, the receiving module can confirm the signal type and time. When the sending object of the dynamic time period is uncertain, the decoding is still simple and does not require a complex decoding algorithm. After the receiving module obtains the start mark through decoding, it can continue to receive and decode the signal. Even if the data transmission in the previous time period is erroneous, it will not affect the transmission of subsequent data.

[0066] In addition, it should be noted that in one embodiment of the present invention, if the first sending module and / or the second sending module performs full-duplex communication with the corresponding receiving module, the full-duplex communication is not implemented by time division multiplexing, but by other methods, such as dual-module design or frequency division multiplexing.

[0067] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. "Multiple" means two or more, unless otherwise clearly and specifically defined.

[0068] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0069] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0070] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0071] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0072] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0073] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0074] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0075] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0076] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A multi-protocol coordinated communication method, characterized in that: The following steps are involved: Determine whether a first sending module and a second sending module are to perform communication work at the same time, wherein the first sending module and the second sending module send signals to their respective corresponding receiving modules when performing communication work, and the first sending module and the second sending module are located in the same device but use different communication protocols; If the first sending module and the second sending module are to perform communication work at the same time, the time is divided into a plurality of communication cycles of equal length, and each communication cycle is divided into N time periods of equal length, wherein the N time periods of equal length include a first time period, a second time period and N-2 dynamic time periods arranged in sequence, and within each of the first time period, the first sending module is controlled to send a signal and the second sending module is not to send a signal, within each of the second time period, the second sending module is controlled to send a signal and the first sending module is not to send a signal, and within each of the N-2 dynamic time periods of the communication cycle, one of the first sending module and the second sending module is selectively controlled to send a signal and the other not to send a signal according to the communication state, wherein N is an integer greater than 2, In each time period when the first sending module sends a signal, when encoding the sent signal, a start mark is added at the beginning of the time period in a first manner; in each time period when the second sending module sends a signal, when encoding the sent signal, a start mark is added at the beginning of the time period in a second manner, and the second manner is different from the first manner. In the N-2 dynamic time periods of each communication cycle, one of the first sending module and the second sending module is selectively controlled to send a signal and the other is not to send a signal according to the communication status, specifically including: at the start time of each communication cycle, calculating the remaining sending time of the first sending module and the remaining sending time of the second sending module; judging whether the remaining sending time of the first sending module is greater than or equal to the remaining sending time of the second sending module; if so, controlling the first sending module to send a signal and the second sending module not to send a signal in the N-2 dynamic time periods of the communication cycle, otherwise controlling the second sending module to send a signal and the first sending module not to send a signal in the N-2 dynamic time periods of the communication cycle.

2. The multi-protocol coordinated communication method according to claim 1, characterized in that: The remaining sending time is calculated according to the following formula: t r = D / B in, t r Indicates the remaining sending time of the first sending module, or the remaining sending time of the second sending module; D Indicates the data volume of data to be sent by the first sending module, or the data volume of data to be sent by the second sending module, in bits; B Indicates the bandwidth between the first sending module and the corresponding receiving module, or the bandwidth between the second sending module and the corresponding receiving module, in bits per second.

3. The multi-protocol coordinated communication method according to claim 1, characterized in that: The first sending module and the second sending module respectively use the Lora protocol and the wapi protocol to communicate.

4. A multi-protocol coordinated communication system, characterized in that: It includes a first sending module, a second sending module and a control module, wherein the control module is used for: Determine whether a first sending module and a second sending module are to perform communication work at the same time, wherein the first sending module and the second sending module send signals to their respective corresponding receiving modules when performing communication work, and the first sending module and the second sending module are located in the same device but use different communication protocols; When the first sending module and the second sending module are to perform communication work at the same time, the time is divided into a plurality of communication cycles of equal length, and each communication cycle is divided into N time periods of equal length, wherein the N time periods of equal length include a first time period, a second time period and N-2 dynamic time periods arranged in sequence, and in each of the first time periods, the first sending module is controlled to send a signal and the second sending module is not to send a signal, in each of the second time periods, the second sending module is controlled to send a signal and the first sending module is not to send a signal, and in each of the N-2 dynamic time periods of the communication cycle, one of the first sending module and the second sending module is selectively controlled to send a signal and the other is not to send a signal according to the communication state, wherein N is an integer greater than 2, In each time period when the first sending module sends a signal, when encoding the sent signal, a start mark is added at the beginning of the time period in a first manner; in each time period when the second sending module sends a signal, when encoding the sent signal, a start mark is added at the beginning of the time period in a second manner, and the second manner is different from the first manner. The control module is specifically used to: calculate the remaining sending time of the first sending module and the remaining sending time of the second sending module at the beginning of each communication cycle; determine whether the remaining sending time of the first sending module is greater than or equal to the remaining sending time of the second sending module; if so, control the first sending module to send a signal and the second sending module not to send a signal within N-2 dynamic time periods of the communication cycle; otherwise, control the second sending module to send a signal and the first sending module not to send a signal within N-2 dynamic time periods of the communication cycle.

5. The multi-protocol coordinated communication system according to claim 4, characterized in that: The control module calculates the remaining sending time according to the following formula: t r = D / B in, t r Indicates the remaining sending time of the first sending module, or the remaining sending time of the second sending module; D Indicates the data volume of data to be sent by the first sending module, or the data volume of data to be sent by the second sending module, in bits; B Indicates the bandwidth between the first sending module and the corresponding receiving module, or the bandwidth between the second sending module and the corresponding receiving module, in bits per second.

6. The multi-protocol coordinated communication system according to claim 4, characterized in that: The first sending module and the second sending module respectively use the Lora protocol and the wapi protocol to communicate.

Citation Information

Patent Citations

  • Single transmitter-receiver set, radio communication equipment and radio communicating method thereof

    CN101069436A