Disclosure of Invention
The invention sets up the central communication module, user module, and several sub-communication modules, when the sub-communication module detects the goal user module near oneself, make the first communication unit of oneself establish communication connection with goal user module, the goal user module confirms the number of the collection units used according to the communication effect of the sub-communication module connected with oneself, also determine whether to resume the communication connection with the central communication module. The invention aims to reduce the communication cost.
The invention provides a microwave data transmitting and receiving method, which mainly comprises the following steps:
S1, setting a central communication module, wherein a user module positioned in a communication range of the central communication module is in communication connection with the central communication module, the user module comprises a plurality of distribution units and a plurality of collection units, a plurality of sub-communication modules are arranged at different positions close to the inner boundary of the communication range of the central communication module, and the sub-communication modules comprise a first communication unit and a second communication unit;
S2, when the first communication unit of the sub communication module is in a waiting condition, detecting the user module in the communication range of the central communication module, and under the condition that the target user module is detected, the sub communication module enables the first communication unit of the sub communication module to establish communication connection with the target user module;
S3, after a preset time interval, the target user module sends check information to a first communication unit of the sub communication module connected with the target user module, so that the first communication unit of the sub communication module connected with the target user module sends check data, the check result is obtained according to the check data, the target user module judges whether the check result is larger than a preset first check result threshold value, if yes, a first number of collecting units are used, if not, a second number of collecting units are used, whether the check result is larger than a preset second check result threshold value is continuously judged, if yes, the step is repeated, if not, the check information is sent to the first communication unit of the sub communication module connected with the target user module, the first communication unit of the sub communication module connected with the target user module sends the check data, the first check result is obtained according to the check data, meanwhile, the check information is sent to the center communication module, the center communication module sends the check data, and the second check result is obtained according to the check data;
s4, the target user module compares the second checking result with the first checking result, and communication connection with the central communication module is restored under the condition that the second checking result is larger than the first checking result.
As a preferable embodiment of the present invention, the second number is larger than the first number.
As a preferred embodiment of the present invention, the first inspection result threshold is greater than the second inspection result threshold.
As a preferred technical solution of the present invention, the step S2 includes the following steps:
s211, the sub-communication module acquires a frequency band corresponding to the user module when a first communication unit of the sub-communication module is in a waiting condition, and detects the acquired frequency band to obtain a detection result;
S212, judging whether the detection result is greater than a preset detection result threshold value by the sub-communication module, if not, continuously detecting a frequency band corresponding to a user module corresponding to the detection result by the sub-communication module, and if so, setting the user module corresponding to the detection result as a target user module by the sub-communication module, setting a first communication unit of the sub-communication module to be in a working condition, establishing communication connection with the target user module, and simultaneously, sending notification information to the central communication module by the sub-communication module through a second communication unit of the sub-communication module;
S213, the central communication module sends reminding information to a target user module close to the sub communication module sending notification information, and the target user module respectively sends detection information to the central communication module and a first communication unit of the sub communication module connected with the central communication module, so that the central communication module and the first communication unit respectively send comparison data, respectively obtain detection results corresponding to the central communication module and the first communication unit according to the comparison data, and send detection results corresponding to the central communication module and the first communication unit;
S214, the central communication module sends permission information to a second communication unit of the sub communication module connected with the target user module when the detection result corresponding to the central communication module is smaller than the detection result corresponding to a first communication unit of the sub communication module connected with the target user module, and otherwise sends rejection information to the second communication unit of the sub communication module connected with the target user module;
S215, under the condition that the permission information is received, the sub communication module connected with the target user module enables the first communication unit to continue to establish communication connection with the target user module, and under the condition that the rejection information is received, the sub communication module connected with the target user module sets the first communication unit to be in a waiting condition.
As a preferred technical solution of the present invention, the target user module sends microwave data to the sub-communication module when a communication connection is established with the sub-communication module, the sub-communication module receives the microwave data through its own first communication unit, and the target user module sends the microwave data to the central communication module when a communication connection is established with the central communication module.
As a preferred technical scheme of the present invention, based on different intervals between the central communication module and different sub communication modules, detection result thresholds of the different sub communication modules are set, and the larger the interval is, the larger the detection result threshold of the corresponding sub communication module is.
As a preferable technical solution of the present invention, in the S1, the method further includes classifying the plurality of sub-communication modules into different categories, and setting a rank value for each of the sub-communication modules in the different categories.
As a preferred technical solution of the present invention, the intervals between the different sub-communication modules belonging to the same category are smaller than a preset interval threshold.
As a preferred technical solution of the present invention, the step S2 further includes the following steps:
S221, the sub-communication module acquires a frequency band corresponding to the user module when a first communication unit of the sub-communication module is in a waiting condition, and detects the acquired frequency band to obtain a detection result;
S222, judging whether the detection result is larger than a preset detection result threshold value by the sub-communication module, checking whether notification messages from other sub-communication modules are received or not under the condition that the detection result is smaller than or equal to the preset detection result threshold value, continuously detecting a frequency band corresponding to a user module corresponding to the detection result under the condition that the detection result is not equal to the preset detection result threshold value, jumping to S224 under the condition that the detection result is larger than the preset detection result threshold value, and continuously carrying out the next step under the condition that the detection result is larger than the preset detection result threshold value;
S223, the sub communication module determines the sub communication module corresponding to the largest grade value in the category to which the sub communication module belongs, judges whether the sub communication module corresponding to the largest grade value is self, and jumps to S224 if yes, and sends a notification message to the sub communication module corresponding to the largest grade value through a second communication unit of the sub communication module if no, and ends all the steps;
S224, the sub-communication module regards the user module corresponding to the detection result as a target user module, sets a first communication unit of the sub-communication module to be in a working condition, establishes communication connection with the target user module, and simultaneously sends notification information to the center communication module through a second communication unit of the sub-communication module;
S225, the central communication module sends reminding information to a target user module close to the sub communication module sending notification information, and the target user module respectively sends detection information to the central communication module and a first communication unit of the sub communication module connected with the central communication module, so that the central communication module and the first communication unit respectively send comparison data, respectively obtain detection results corresponding to the central communication module and the first communication unit according to the comparison data, and send detection results corresponding to the central communication module and the first communication unit;
S226, the center communication module sends permission information to a second communication unit of the sub communication module connected with the target user module when the detection result corresponding to the center communication module is smaller than the detection result corresponding to a first communication unit of the sub communication module connected with the target user module, and otherwise sends rejection information to the second communication unit of the sub communication module connected with the target user module;
And S227, under the condition that the permission information is received, the sub-communication module connected with the target user module enables the first communication unit to continue to establish communication connection with the target user module, and under the condition that the rejection information is received, the sub-communication module connected with the target user module sets the first communication unit to be in a waiting condition.
The invention also provides a microwave data transmitting and receiving system, which mainly comprises the following modules:
the central communication module is used for carrying out communication connection with the user module positioned in the communication range of the central communication module;
The sub-communication module comprises a first communication unit and a second communication unit, and is used for carrying out detection processing on the user module positioned in the communication range of the central communication module when the first communication unit is in a waiting condition, and enabling the first communication unit to establish communication connection with the target user module when the target user module is detected;
The user module comprises a plurality of distributing units and a plurality of collecting units, wherein the distributing units are used for establishing communication connection with the central communication module, and are used for sending check information to the first communication unit of the sub communication module connected with the user module as a target user module, so that the first communication unit of the sub communication module connected with the user module sends comparison data, the check result is obtained according to the comparison data, whether the check result is larger than a preset first check result threshold value is judged, if yes, the collecting units with the first number are used, if no, the collecting units with the second number are used, whether the check result is larger than a preset second check result threshold value is continuously judged, if yes, the processing is repeated, if no, check information is sent to the first communication unit of the sub communication module connected with the user module, the sub communication module connected with the user module sends the comparison data according to the comparison data, the check information is obtained according to the comparison data, the second check result is compared with the first check result, and the communication result is restored between the center communication module and the communication result is restored under the condition that the second check result is larger than the first check result.
The invention has at least the following beneficial effects:
In the technical scheme, a central communication module is firstly arranged to enable a user module to be in communication connection with the central communication module, the user module comprises a plurality of collecting units, a plurality of sub communication modules are arranged at different positions close to the inner boundary of the communication range of the central communication module, the sub communication modules comprise a first communication unit and a second communication unit, then when the first communication unit of the sub communication module is in a waiting state, detection processing is conducted on the user module in the communication range of the central communication module, under the condition that a target user module is detected, the sub communication module enables the first communication unit of the sub communication module to be in communication connection with the target user module, secondly, after a preset time interval is passed, the target user module sends inspection information to the first communication unit of the sub communication module connected with the target user module to obtain an inspection result, under the condition that the inspection result is larger than a preset first inspection result threshold value is judged, under the condition that the inspection result is larger than the preset first inspection result threshold value is used, under the condition that the second number of the collection units are used, under the condition that the second number of inspection result is larger than the preset second inspection result is used, under the condition that the inspection result is not used, under the condition that the inspection result is larger than the preset second inspection result is continuously used, under the condition that the detection result is not used, under the condition that the detection result is larger than the first inspection result is obtained, the first communication result is sent to the first communication module, and the first communication module is connected with the first communication module to obtain the inspection result, and the inspection result is larger than the first communication result. The invention not only can reduce the communication cost of the target user module and the sub communication module, but also can improve the quality of wireless communication between the target user module and the sub communication module or the center communication module.
Detailed Description
For easy understanding, please refer to fig. 1, a method for transmitting and receiving microwave data in an embodiment of the present invention mainly includes the following steps:
S1, setting a central communication module, wherein a user module positioned in the communication range of the central communication module is in communication connection with the central communication module, the user module comprises a plurality of distribution units and a plurality of collection units, and a plurality of sub-communication modules are arranged at different positions close to the inner boundary of the communication range of the central communication module, and each sub-communication module comprises a first communication unit and a second communication unit;
s2, when the first communication unit of the sub communication module is in a waiting condition, detecting the user module in the communication range of the central communication module, and under the condition that the target user module is detected, the sub communication module enables the first communication unit of the sub communication module to establish communication connection with the target user module;
s3, after a preset time interval, the target user module sends check information to the first communication unit of the sub-communication module connected with the target user module, so that the first communication unit of the sub-communication module connected with the target user module sends comparison data, a check result is obtained according to the comparison data, the target user module judges whether the check result is larger than a preset first check result threshold value, if yes, the first number of collecting units are used, if not, the second number of collecting units are used, whether the check result is larger than a preset second check result threshold value is continuously judged, if yes, the step is repeated, if not, the check information is sent to the first communication unit of the sub-communication module connected with the target user module, so that the first communication unit of the sub-communication module connected with the target user module sends the comparison data, the first check result is obtained according to the comparison data, meanwhile, the center communication module sends the comparison data, and the second check result is obtained according to the comparison data;
S4, the target user module compares the second checking result with the first checking result, and when the second checking result is larger than the first checking result, the target user module restores communication connection with the central communication module;
Further, the second number is greater than the first number;
further, the first inspection result threshold is greater than the second inspection result threshold.
Specifically, in consideration of a certain communication cost generated when the user module transmits and receives microwave data, the communication cost may be the energy of the consumed battery, and in order to ensure normal communication and reduce the communication cost of the user module as much as possible, the above S1 to S4 are mainly proposed.
In the above S1, a central communication module is determined, the user module is located in a communication range of the central communication module and is simultaneously in communication connection with the central communication module, the user module may send microwave data to the central communication module, and then the central communication module continues to send the microwave data to a communication destination, wherein the user module includes a plurality of distributing units, and a plurality of receiving units, the receiving units are responsible for receiving the microwave data from the central communication module or a sub-communication module in the latter, the distributing units are responsible for sending the microwave data to the central communication module or the sub-communication module in the latter, and in addition, considering that a communication effect near a boundary of the communication range of the central communication module is poor, a plurality of sub-communication modules are provided at different positions near an inner boundary of the communication range of the central communication module, wherein the sub-communication module includes a first communication unit, and a second communication unit, the first communication unit is responsible for establishing communication connection with a target user module in the latter to transmit and receive the microwave data, and the second communication unit is responsible for establishing communication connection with the central communication module to transmit and receive the microwave data.
In S2 above, the sub-communication module performs the detection processing for the user modules located within the communication range of the central communication module when the own first communication unit is in the waiting condition, and if the target user module is detected, the sub-communication module establishes a communication connection between the own first communication unit and the target user module, and then the target user module and the first communication unit of the sub-communication module can communicate with each other, as will be described in detail below.
In S3, since the communication effect of the sub-communication module may change with time, for example, the communication effect may be deteriorated due to interference, weather change, etc., the target user module sets a time interval after a preset time interval has elapsed since the communication connection is established with the first communication unit of the sub-communication module, and sends inspection information to the first communication unit of the sub-communication module connected to itself, so that the first communication unit of the sub-communication module connected to itself sends comparison data, and thus the inspection result may be a reception intensity related to the comparison data, the target user module determines whether the inspection result is greater than a preset first inspection result threshold, the first inspection result threshold is set in an actual application scenario, if so, a first number of receiving units is used, and if so, a second number of receiving units is used, and it is required to be noted that the first number and the second number are set in an actual application scenario, and the second number is greater than the first number, so that the inspection result is greater than the first number of receiving units, and the second number of receiving units can be used to restore the communication module, and the communication effect can be restored to the target user module by the user module, and the communication module can be restored based on the communication module, and the communication can be ensured by the user module, and the communication module can restore the communication performance of the target user module, and the communication module can be restored, the target user module continues to judge whether the checking result is greater than a preset second checking result threshold value, the second checking result threshold value is set under the actual application scene, if yes, the target user module does not need to restore the communication connection with the central communication module, the step is repeatedly executed, if no, the target user module possibly needs to restore the communication connection with the central communication module, before restoring the communication connection, the target user module sends checking information to the first communication unit of the sub communication module connected with the target user module, so that the first communication unit of the sub communication module connected with the target user module sends comparison data, the first checking result is obtained according to the comparison data, and the checking information is also sent to the central communication module, so that the central communication module sends the comparison data, and according to the comparison data, the first checking result threshold value is greater than the second checking result threshold value, that is to say, when the target user module receives the comparison data sent by the first communication unit of the sub communication module connected with the target user module and the central communication module, the second number of the second communication unit is used, that is the target user module receives the comparison data of the two accurately.
In S4, the target user module compares the second inspection result with the first inspection result, and if the second inspection result is greater than the first inspection result, it indicates that the communication effect of the central communication module is better than that of the sub communication module connected to itself, so that the target user module resumes the communication connection with the central communication module and then transmits the microwave data to the central communication module, otherwise, the target user module does not resume the communication connection with the central communication module, and since the target user module accurately receives the comparison data transmitted by the first communication unit of the sub communication module connected to itself and the central communication module, the accuracy of the decision made as to whether to resume the communication connection with the central communication module can be ensured.
Further, the step S2 includes the following steps:
S211, acquiring a frequency band corresponding to the user module when a first communication unit of the sub-communication module is in a waiting condition, and detecting the acquired frequency band to obtain a detection result;
S212, judging whether the detection result is greater than a preset detection result threshold value by the sub-communication module, if not, continuously detecting a frequency band corresponding to the user module corresponding to the detection result by the sub-communication module, and if so, setting the user module corresponding to the detection result as a target user module by the sub-communication module, setting a first communication unit of the sub-communication module to be in a working condition, establishing communication connection with the target user module, and simultaneously sending notification information to the central communication module by the sub-communication module through a second communication unit of the sub-communication module;
s213, the central communication module sends reminding information to a target user module close to the sub communication module sending notification information, and the target user module respectively sends detection information to the central communication module and a first communication unit of the sub communication module connected with the central communication module, so that the central communication module and the first communication unit respectively send comparison data, respectively obtain detection results corresponding to the central communication module and the first communication unit according to the comparison data, and send detection results corresponding to the central communication module and the first communication unit;
S214, the central communication module sends permission information to the second communication unit of the sub communication module connected with the target user module when the detection result corresponding to the central communication module is smaller than the detection result corresponding to the first communication unit of the sub communication module connected with the target user module, and otherwise sends rejection information to the second communication unit of the sub communication module connected with the target user module;
S215, under the condition that the permission information is received, the sub-communication module connected with the target user module enables the first communication unit to continue to establish communication connection with the target user module, and under the condition that the rejection information is received, the sub-communication module connected with the target user module sets the first communication unit to be in a waiting condition.
Specifically, S2 is described in detail herein, and before the description is started, the distinction between the waiting situation and the operating situation of the first communication unit of the sub-communication module is described, where the first communication unit does not consume energy, and the energy is consumed when the first communication unit is in the operating situation.
In S211, when the first communication unit of the sub-communication module is in a waiting state, the sub-communication module acquires a frequency band corresponding to the user module, and detects the acquired frequency band, so as to obtain a detection result, where the detection result may be the receiving intensity on the acquired frequency band. In S212, the sub-communication module determines whether the detection result is greater than a preset detection result threshold, the detection result threshold is set in an actual application scenario, if the detection result threshold is less than or equal to a preset detection result threshold, the sub-communication module continues to detect a frequency band corresponding to the user module corresponding to the detection result, that is, the acquired frequency band, if the detection result is greater than or equal to the preset detection result threshold, the sub-communication module determines that the user module corresponding to the detection result is close to itself, so that the user module corresponding to the detection result is regarded as a target user module, a first communication unit of the sub-communication module is set to be in a working condition, and communication connection is established with the target user module, at this time, because the target user module is close to the sub-communication module and establishes communication connection with the sub-communication module, a good communication effect is easy to be obtained, and the sub-communication module also sends notification information to the center communication module through a second communication unit of the sub-communication module to notify that the first communication unit of the center communication module is already in a working condition. In S213, the central communication module sends the alert information to the target user module close to the sub communication module sending the notification information, and then the target user module sends the probe information to the central communication module and the first communication unit of the sub communication module connected to itself, where the probe information is the same as the check information, and the purpose is to make the two send the comparison data respectively, obtain the corresponding probe results of the two according to the comparison data of the two, and send the probe results of the two to the central communication module. In S214, if the detection result corresponding to the central communication module is smaller than the detection result corresponding to the first communication unit of the sub communication module connected to the target user module, the central communication module sends the grant information to the second communication unit of the sub communication module connected to the target user module, otherwise, the central communication module sends the rejection information to the second communication unit of the sub communication module connected to the target user module. In S215, if the sub-communication module connected to the target user module receives the grant information, that is, the communication effect of the sub-communication module connected to the target user module is better, the sub-communication module connected to the target user module enables the first communication unit thereof to continue to establish communication connection with the target user module, and if the sub-communication module connected to the target user module receives the reject information, that is, the communication effect of the central communication module is better, the sub-communication module connected to the target user module disconnects the communication between the first communication unit thereof and the target user module, and meanwhile, the first communication unit thereof is set to be in a waiting state, so that not only can energy consumption be reduced, but also communication cost can be reduced, microwave data can be prevented from being transmitted to the target user module through the first communication unit, and further, mutual communication between the target user module and the central communication module is prevented from being affected.
It should be noted that, S3 and S4 above are provided that the target ue module establishes a communication connection with the sub-communication module, and if the target ue module establishes a communication connection with the central communication module through S2 above, then the new S3 and the new S4 are as follows:
S3, after a preset time interval, the target user module sends check information to the central communication module, so that the central communication module sends comparison data, check results are obtained according to the comparison data, the target user module judges whether the check results are larger than a preset first check result threshold value, if yes, a first number of distribution units are used, if not, a second number of distribution units are used, whether the check results are larger than a preset second check result threshold value is continuously judged, if yes, the step is repeated, if not, the check information is sent to the central communication module, the central communication module sends the comparison data, the first check results are obtained according to the comparison data, meanwhile, the check information is sent to the first communication units of all the sub communication modules, the first communication units of all the sub communication modules send the comparison data, and different second check results are respectively obtained according to the comparison data;
S4, the target user module compares different second inspection results with the first inspection results, and if a plurality of second inspection results larger than the first inspection results exist, communication connection is established with the first communication unit of the sub communication module corresponding to the largest second inspection result.
Further, the target user module transmits microwave data to the sub-communication module when a communication connection is established with the sub-communication module, the sub-communication module receives the microwave data through the first communication unit thereof, and the target user module transmits the microwave data to the center communication module when a communication connection is established with the center communication module.
Specifically, if the target user module establishes a communication connection with the sub-communication module, microwave data is sent to the sub-communication module, where the microwave data is microwave data that the target user module wants to send to the communication destination, and the sub-communication module receives the microwave data through its own first communication unit and then forwards the microwave data to the communication destination through its own second communication unit, and if the target user module establishes a communication connection with the central communication module, then sends the microwave data to the central communication module, and then the central communication module forwards the microwave data to the communication destination.
Further, based on different intervals between the central communication module and different sub communication modules, the detection result threshold values of the different sub communication modules are set, and the larger the interval is, the larger the detection result threshold value of the corresponding sub communication module is.
Specifically, the larger the interval between the user module and the central communication module is, the larger the power of the user module when transmitting microwave data to the central communication module is, i.e. the more likely the user module approaches the boundary of the communication range of the central communication module, and the more likely the user module approaches the sub communication module, so that if the interval corresponding to the sub communication module is larger, the larger the detection result threshold of the sub communication module is set, and detection of the user module which is not actually close to the sub communication module as a target user module can be avoided.
Further, in the above step S1, the method further includes classifying the plurality of sub-communication modules into different categories, and setting a class value for each of the plurality of sub-communication modules in the different categories;
Further, the interval between different sub-communication modules belonging to the same category is smaller than a preset interval threshold.
Specifically, in the above S1 introduced above, the plurality of sub-communication modules are independent of each other, and in fact, the plurality of sub-communication modules may be divided into different categories, the intervals between the different sub-communication modules belonging to the same category are smaller than a preset interval threshold, a class value is set for each sub-communication module in the different categories, the larger the class value is, the better the corresponding sub-communication module with the larger class value should be used for wireless communication, and it should be noted that the class value of the sub-communication module is not fixed, and the setting method of the class value is not specifically limited in this embodiment.
Further, S2 further includes the following steps:
S221, the sub-communication module acquires a frequency band corresponding to the user module when a first communication unit of the sub-communication module is in a waiting condition, and detects the acquired frequency band to obtain a detection result;
S222, judging whether the detection result is larger than a preset detection result threshold value by the sub-communication module, checking whether notification messages from other sub-communication modules are received or not under the condition that the detection result is smaller than or equal to the preset detection result threshold value, continuously detecting a frequency band corresponding to a user module corresponding to the detection result under the condition that the detection result is not equal to the preset detection result threshold value, jumping to S224 under the condition that the detection result is larger than the preset detection result threshold value, and continuously carrying out the next step under the condition that the detection result is larger than the preset detection result threshold value;
S223, determining a sub-communication module corresponding to the largest grade value in the category to which the sub-communication module belongs, judging whether the sub-communication module corresponding to the largest grade value is self or not, if yes, jumping to S224, and if not, sending a notification message to the sub-communication module corresponding to the largest grade value through a second communication unit of the sub-communication module, and ending all the steps;
S224, the sub-communication module regards the user module corresponding to the detection result as a target user module, sets the first communication unit of the sub-communication module to be in a working condition, establishes communication connection with the target user module, and simultaneously sends notification information to the center communication module through the second communication unit of the sub-communication module;
S225, the central communication module sends reminding information to a target user module close to the sub communication module sending notification information, and the target user module respectively sends detection information to the central communication module and a first communication unit of the sub communication module connected with the central communication module, so that the central communication module and the first communication unit respectively send comparison data, respectively obtain detection results corresponding to the central communication module and the first communication unit according to the comparison data of the central communication module and the first communication unit, and sends detection results corresponding to the central communication module and the first communication unit;
S226, the central communication module sends permission information to the second communication unit of the sub communication module connected with the target user module when the detection result corresponding to the central communication module is smaller than the detection result corresponding to the first communication unit of the sub communication module connected with the target user module, and otherwise sends rejection information to the second communication unit of the sub communication module connected with the target user module;
S227, under the condition that the permission information is received, the sub-communication module connected with the target user module enables the first communication unit to continue to establish communication connection with the target user module, and under the condition that the rejection information is received, the sub-communication module connected with the target user module sets the first communication unit to be in a waiting condition.
Specifically, another case of S2 described above will be described in detail here on the premise that classification processing is performed for a plurality of sub-communication modules. In S221, when the first communication unit of the sub-communication module is in a waiting state, the sub-communication module acquires a frequency band corresponding to the user module, and detects the acquired frequency band to obtain a detection result. In S222, the sub-communication module determines whether the detection result is greater than a preset detection result threshold, where the detection result threshold is the same as the detection result threshold, and if it is less than or equal to the detection result threshold, it checks whether an announcement message from another sub-communication module is received, and if not, continues to detect a frequency band corresponding to the user module corresponding to the detection result, that is, the acquired frequency band, and if yes, jumps to the next step, and if yes, continues to the next step. In S223, the sub-communication module determines the sub-communication module corresponding to the largest rank value among the categories to which the sub-communication module belongs, determines whether the sub-communication module corresponding to the largest rank value is itself, and if yes, jumps to the next step, and if no, sends a notification message to the sub-communication module corresponding to the largest rank value through the second communication unit of the sub-communication module itself, and ends all the steps. In S224, the sub-communication module regards the user module corresponding to the detection result as the target user module, sets the first communication unit thereof to be in a working condition, establishes communication connection with the target user module, and sends notification information to the central communication module through the second communication unit thereof. Since the S225 to S227 are the same as the S213 to S215, the description thereof will not be repeated. The above method ensures that in a plurality of closely spaced sub-communication modules, only the first communication unit of one sub-communication module is always set to the working condition, and if the first communication units of a plurality of closely spaced sub-communication modules are set to the working condition at the same time, the wireless communications of the plurality of closely spaced sub-communication modules will affect each other.
The foregoing describes a microwave data transmitting and receiving method in the embodiment of the present invention, and the following describes a microwave data transmitting and receiving system in the embodiment of the present invention, referring to fig. 2, the microwave data transmitting and receiving system in the embodiment of the present invention includes the following modules:
the central communication module is used for carrying out communication connection with the user module positioned in the communication range of the central communication module;
The sub-communication module comprises a first communication unit and a second communication unit, and is used for carrying out detection processing on the user module positioned in the communication range of the central communication module when the first communication unit is in a waiting condition, and enabling the first communication unit to establish communication connection with the target user module when the target user module is detected;
The user module comprises a plurality of distributing units and a plurality of collecting units, wherein the distributing units are used for establishing communication connection with the central communication module, and are used for sending check information to the first communication unit of the sub communication module connected with the user module as a target user module, so that the first communication unit of the sub communication module connected with the user module sends comparison data, the check result is obtained according to the comparison data, whether the check result is larger than a preset first check result threshold value is judged, if yes, the collecting units with the first number are used, if no, the collecting units with the second number are used, whether the check result is larger than a preset second check result threshold value is continuously judged, if yes, the processing is repeated, if no, check information is sent to the first communication unit of the sub communication module connected with the user module, the sub communication module connected with the user module sends the comparison data according to the comparison data, the check information is obtained according to the comparison data, the second check result is compared with the first check result, and the communication result is restored between the center communication module and the communication result is restored under the condition that the second check result is larger than the first check result.
It will be clear to those skilled in the art that, for convenience and brevity of description, the system described above and the specific working process of the modules may refer to the corresponding process in the foregoing method embodiment, which is not repeated here.
While the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that the foregoing embodiments may be modified or equivalents may be substituted for some of the features thereof, and that the modifications or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the invention.