Communication time slice distribution method, device and system and computer readable storage medium

By dynamically adjusting communication time slices based on signal strength and loss rate, the method addresses inefficiencies in battery pack communication, ensuring all nodes can communicate efficiently and optimizing resource utilization.

CN119212093APending Publication Date: 2024-12-27SUNWODA MOBILITY ENERGY TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411305881.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

Existing communication methods in battery packs for new energy vehicles are inflexible and time-consuming, with fixed communication cycles leading to inefficiencies when some slave nodes fail to communicate within the allocated time, resulting in wasted time and reduced resource utilization.

Method used

A method and system that dynamically adjusts the number of communication time slices for each slave node based on signal strength and loss rate, allowing for flexible allocation of communication resources to ensure efficient communication by reallocating time slices to nodes with poor communication quality.

Benefits of technology

This approach enhances communication efficiency by reducing waiting times and improving resource utilization, ensuring that all nodes can communicate effectively within adjusted time slots, thereby optimizing the communication process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119212093A_ABST
    Figure CN119212093A_ABST
Patent Text Reader

Abstract

The invention discloses a communication time slice distribution method, device and system and a computer readable storage medium, the method relates to a master node and N slave nodes which are in communication connection with each other in a wireless communication system, in each communication time period, each slave node is provided with I communication time slices, and each communication time slice communicates once, the method comprises the following steps: before a master node performs wireless communication with N slave nodes, calculating a communication parameter value of each slave node; if the communication parameter value is within the parameter range value, the number of the communication time slices of the slave nodes is not adjusted; and if the communication parameter value is not within the parameter range value, adjusting the number of the communication time slices of the slave nodes. According to the invention, the communication time of the master and slave nodes can be reasonably allocated, the problem of long-time waiting or insufficient communication time is avoided, the resource utilization rate of time and the communication flexibility are improved, the communication duration is shortened, and the communication efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the vigorous development of the new energy industry, the cascade application of battery packs is becoming more and more important, which can improve the recycling efficiency of battery packs, optimize the cost of batteries and reduce the environmental pollution caused by the disassembly of battery packs. For example, there will be multiple battery packs in series and parallel in the battery PACK carried by new energy vehicles to meet the voltage and power requirements of new energy vehicles.

[0003] In order to reasonably allocate the time and cycle of communication detection, the commonly used method is: by setting the detection device end as the master node, setting each battery in the battery pack as a slave node, and setting a fixed communication cycle for each slave node. During this cycle, the slave node can communicate with the master node multiple times, so that the detection device end of the master node can determine the status of the battery pack of the slave node through communication information during the communication cycle, so that the battery pack forms an integrated structure.

[0004] However, the commonly used methods have the following technical problems: During the communication process, since the communication cycle of each slave node is still pre-set and the duration of the communication cycle is also fixed; if the communication quality of a slave node is good, it can complete the communication with the master node once, but it still needs to wait for the entire communication cycle to detect the next slave node; and if the communication quality of a slave node is poor, the slave node cannot complete the communication with the master node within the allocated communication cycle. At this time, there will be a problem that a slave node fails to communicate in this communication cycle, and the master node cannot get data. The whole process is not only inflexible, but also time-consuming, and the utilization rate of the time cycle is not high. Summary of the invention

[0005] The present invention provides a method, device, system and computer-readable storage medium for allocating communication time slices, and the method can solve one or more of the above-mentioned technical problems.

[0006] A first aspect of an embodiment of the present invention provides a method for allocating communication time slices, which is used for time slice allocation of a multi-node wireless communication system. The method involves a master node and N slave nodes that are mutually communicatively connected in the wireless communication system. In each communication time period, each slave node is provided with I communication time slice, and each communication time slice communicates once. The method comprises:

[0007] Before the master node respectively performs wireless communication with the N slave nodes, respectively calculates a communication parameter value of each slave node, wherein the communication parameter value includes at least one of a signal strength value and a signal loss rate;

[0008] Determining whether the communication parameter value is within a preset parameter range value, wherein the preset parameter range value includes at least one of a preset signal strength value and a preset signal loss rate;

[0009] If the communication parameter value is within the parameter range, the number of communication time slices of the slave node is not adjusted;

[0010] If the communication parameter value is not within the parameter range, the number of communication time slices of the slave node is adjusted.

[0011] In a possible implementation manner of the first aspect, the communication parameter value is: a signal strength value, and the parameter range value is: a preset signal strength value;

[0012] The adjusting the number of communication time slices of the slave node includes:

[0013] If the signal strength value is greater than a preset first strength value, a first strength adjustment amount is calculated according to a preset first coefficient parameter and I, and the number of communication time slices of the slave node is reduced according to the first strength adjustment amount;

[0014] If the signal strength value is less than a preset second strength value, a second strength adjustment amount is calculated according to a preset second coefficient parameter and I, and the number of communication time slices of the slave node is increased according to the second strength adjustment amount;

[0015] The preset first intensity value is the maximum value of the intensity range, and the preset second intensity value is the minimum value of the intensity range.

[0016] In a possible implementation manner of the first aspect, the preset first coefficient parameter includes: a first intensity coefficient and a second intensity coefficient;

[0017] The calculating the first intensity adjustment amount according to the preset first coefficient parameter and I includes:

[0018] Calculate the ratio of I to the first intensity coefficient to obtain a first intensity ratio; if the first intensity ratio is not an integer, extend the first intensity ratio to the next integer to obtain a first intensity adjustment amount; if the first intensity ratio is an integer, use the first intensity ratio as the first intensity adjustment amount;

[0019] or;

[0020] The difference between I and the second intensity coefficient is calculated to obtain a first intensity adjustment amount.

[0021] In a possible implementation manner of the first aspect, the preset second coefficient parameter includes: a third intensity coefficient and a fourth intensity coefficient;

[0022] The calculating the second intensity adjustment amount according to the preset second coefficient parameter and I includes:

[0023] Calculate the ratio of I to the third intensity coefficient to obtain a second intensity ratio; if the second intensity ratio is not an integer, extend the second intensity ratio to the previous integer to obtain a second intensity adjustment amount; if the second intensity ratio is an integer, use the second intensity ratio as the second intensity adjustment amount;

[0024] or;

[0025] The second intensity adjustment amount is obtained by calculating the sum of I and the fourth intensity coefficient.

[0026] In a possible implementation manner of the first aspect, the communication parameter value is: a signal loss rate, and the parameter range value is: a preset signal loss rate;

[0027] The adjusting the number of communication time slices of the slave node includes:

[0028] If the signal loss rate is less than the preset first loss rate, a first loss adjustment amount is calculated according to the preset third coefficient parameter and I, and the number of communication time slices of the slave node is reduced according to the first loss adjustment amount;

[0029] If the signal loss rate is greater than a preset second loss rate, a second loss adjustment amount is calculated according to a preset fourth coefficient parameter and I, and the number of communication time slices of the slave node is increased according to the second loss adjustment amount;

[0030] Among them, the preset first loss rate is the minimum value of the loss range value, and the preset second loss rate is the maximum value of the loss range value.

[0031] In a possible implementation manner of the first aspect, the preset third coefficient parameter includes: a first loss coefficient and a second loss coefficient;

[0032] The calculating the first loss adjustment amount according to the preset third coefficient parameter and I includes:

[0033] Calculate the ratio of I to the first loss coefficient to obtain a first loss ratio; if the first loss ratio is not an integer, then postpone the first loss ratio to the next integer to obtain a first loss adjustment amount; if the first loss ratio is an integer, then take the first loss ratio as the first loss adjustment amount;

[0034] or;

[0035] Calculate the difference between I and the second loss coefficient to obtain the first loss adjustment amount.

[0036] In a possible implementation manner of the first aspect, the preset fourth coefficient parameter includes: a third loss coefficient and a fourth loss coefficient;

[0037] The calculating the second loss adjustment amount according to the preset fourth coefficient parameter and I includes:

[0038] Calculate the ratio of I to the third loss coefficient to obtain a second loss ratio; if the second loss ratio is not an integer, then the second loss ratio is deferred to the previous integer value to obtain a second loss adjustment amount; if the second loss ratio is an integer, then the second loss ratio is used as the second loss adjustment amount;

[0039] or;

[0040] Calculate the sum of I and the fourth loss coefficient to obtain the second loss adjustment amount.

[0041] A second aspect of an embodiment of the present invention provides a communication time slice allocation device for time slice allocation of a multi-node wireless communication system, wherein the device involves a master node and N slave nodes that are mutually communicatively connected in the wireless communication system, each of the slave nodes is provided with I communication time slice, and each of the communication time slices communicates once, and the device comprises:

[0042] A parameter calculation module, used for respectively calculating a communication parameter value of each of the slave nodes before the master node respectively communicates wirelessly with the N slave nodes, wherein the communication parameter value includes at least one of a signal strength value and a signal loss rate;

[0043] A parameter range determination module, used to determine whether the communication parameter value is within a corresponding parameter range value, wherein the preset parameter range value includes at least one of a preset signal strength value and a preset signal loss rate;

[0044] A non-adjustment time slice module, configured to not adjust the number of communication time slices of the slave node if the communication parameter value is within the parameter range;

[0045] The time slice adjustment module is used to adjust the number of communication time slices of the slave node if the communication parameter value is not within the parameter range.

[0046] In a possible implementation manner of the second aspect, the communication parameter value is: a signal strength value, and the parameter range value is: a preset signal strength value;

[0047] The adjusting the number of communication time slices of the slave node includes:

[0048] If the signal strength value is greater than a preset first strength value, a first strength adjustment amount is calculated according to a preset first coefficient parameter and I, and the number of communication time slices of the slave node is reduced according to the first strength adjustment amount;

[0049] If the signal strength value is less than a preset second strength value, a second strength adjustment amount is calculated according to a preset second coefficient parameter and I, and the number of communication time slices of the slave node is increased according to the second strength adjustment amount;

[0050] The preset first intensity value is the maximum value of the intensity range, and the preset second intensity value is the minimum value of the intensity range.

[0051] In a possible implementation manner of the second aspect, the preset first coefficient parameter includes: a first intensity coefficient and a second intensity coefficient;

[0052] The calculating the first intensity adjustment amount according to the preset first coefficient parameter and I includes:

[0053] Calculate the ratio of I to the first intensity coefficient to obtain a first intensity ratio; if the first intensity ratio is not an integer, extend the first intensity ratio to the next integer to obtain a first intensity adjustment amount; if the first intensity ratio is an integer, use the first intensity ratio as the first intensity adjustment amount;

[0054] or;

[0055] The difference between I and the second intensity coefficient is calculated to obtain a first intensity adjustment amount.

[0056] In a possible implementation manner of the second aspect, the preset second coefficient parameter includes: a third intensity coefficient and a fourth intensity coefficient;

[0057] The calculating the second intensity adjustment amount according to the preset second coefficient parameter and I includes:

[0058] Calculate the ratio of I to the third intensity coefficient to obtain a second intensity ratio; if the second intensity ratio is not an integer, extend the second intensity ratio to the previous integer to obtain a second intensity adjustment amount; if the second intensity ratio is an integer, use the second intensity ratio as the second intensity adjustment amount;

[0059] or;

[0060] The second intensity adjustment amount is obtained by calculating the sum of I and the fourth intensity coefficient.

[0061] In a possible implementation manner of the second aspect, the communication parameter value includes: a signal loss rate, and the parameter range value includes: a loss range value;

[0062] The adjusting the number of communication time slices of the slave node includes:

[0063] If the signal loss rate is less than the preset first loss rate, a first loss adjustment amount is calculated according to the preset third coefficient parameter and I, and the number of communication time slices of the slave node is reduced according to the first loss adjustment amount;

[0064] If the signal loss rate is greater than a preset second loss rate, a second loss adjustment amount is calculated according to a preset fourth coefficient parameter and I, and the number of communication time slices of the slave node is increased according to the second loss adjustment amount;

[0065] Among them, the preset first loss rate is the minimum value of the loss range value, and the preset second loss rate is the maximum value of the loss range value.

[0066] In a possible implementation manner of the second aspect, the preset third coefficient parameter includes: a first loss coefficient and a second loss coefficient;

[0067] The calculating the first loss adjustment amount according to the preset third coefficient parameter and I includes:

[0068] Calculate the ratio of I to the first loss coefficient to obtain a first loss ratio; if the first loss ratio is not an integer, then postpone the first loss ratio to the next integer to obtain a first loss adjustment amount; if the first loss ratio is an integer, then take the first loss ratio as the first loss adjustment amount;

[0069] or;

[0070] Calculate the difference between I and the second loss coefficient to obtain the first loss adjustment amount.

[0071] In a possible implementation manner of the second aspect, the preset fourth coefficient parameter includes: a third loss coefficient and a fourth loss coefficient;

[0072] The calculating the second loss adjustment amount according to the preset fourth coefficient parameter and I includes:

[0073] Calculate the ratio of I to the third loss coefficient to obtain a second loss ratio; if the second loss ratio is not an integer, then the second loss ratio is deferred to the previous integer value to obtain a second loss adjustment amount; if the second loss ratio is an integer, then the second loss ratio is used as the second loss adjustment amount;

[0074] or;

[0075] Calculate the sum of I and the fourth loss coefficient to obtain the second loss adjustment amount.

[0076] The third aspect of an embodiment of the present invention provides a communication time slice allocation system, which is applicable to the communication time slice allocation method as described above, and the system includes: a master node and N slave nodes, each of the slave nodes is provided with I communication time slice.

[0077] Compared with the prior art, the communication time slice allocation method, device, system, electronic device and computer-readable storage medium provided by the embodiment of the present invention have the following beneficial effects: the present invention can calculate the communication parameter value of each slave node before the master node respectively communicates with N slave nodes wirelessly; then adjust the number of communication time slices of each slave node according to the size of the communication parameter value, so that the master node can wirelessly communicate with each slave node according to the adjusted number of communication time slices. In this way, the communication time of the master and slave nodes can be reasonably allocated, avoiding the problem of long waiting time or insufficient communication time, improving the resource utilization rate of time and communication flexibility, shortening the communication time, and improving communication efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] Figure 1 It is a flow chart of a method for allocating communication time slices provided by one embodiment of the present invention;

[0079] Figure 2 is a schematic diagram of a wireless communication multi-node network provided by an embodiment of the present invention;

[0080] Figure 3 It is a schematic diagram of communication between master and slave nodes in a wireless communication network provided by an embodiment of the present invention;

[0081] Figure 4 It is a schematic diagram of a communication time slice of a slave node in a wireless communication network provided by an embodiment of the present invention;

[0082] Figure 5 is an operation flow chart of adjusting a communication time slice according to a signal strength value provided by an embodiment of the present invention;

[0083] Figure 6 is an operation flow chart of adjusting the communication time slice according to the signal loss rate provided by one embodiment of the present invention;

[0084] Figure 7 is an operation flow chart of the remaining time slice allocation provided by an embodiment of the present invention;

[0085] Figure 8 It is an operation flow chart of a method for allocating communication time slices provided by one embodiment of the present invention;

[0086] Fig. 9 It is a structural schematic diagram of a communication time slice allocation device provided by one embodiment of the present invention;

[0087] Fig.10 It is a structural diagram of a communication time slice allocation system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0088] 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.

[0089] In order to solve the above problems, a communication time slice allocation method, device, system, electronic device and computer-readable storage medium provided in an embodiment of the present application will be introduced and explained in detail through the following specific embodiments.

[0090] Reference Figure 1 , showing a flow chart of a method for allocating communication time slices provided by an embodiment of the present invention.

[0091] The method can be used for time slot allocation in a multi-node wireless communication system. The method involves a master node and N slave nodes that are interconnected in the wireless communication system. In each communication time period, each slave node is provided with I communication time slot, and each communication time slot communicates once.

[0092] Reference Figure 2-4 , respectively showing a schematic diagram of a wireless communication multi-node network provided by an embodiment of the present invention, a schematic diagram of a wireless communication network master-slave node communication provided by an embodiment of the present invention, and a schematic diagram of a wireless communication network slave node communication time slice provided by an embodiment of the present invention.

[0093] Specifically, it may involve one wireless communication master node and N wireless communication slave nodes. The slave node is a node of a battery in a battery pack, referred to as a slave node.

[0094] like Figure 3 , which is a schematic diagram of the communication between the master and slave nodes of the wireless communication network. The wireless communication network includes a master node and N slave nodes, where the value of N is at least 2. The N wireless communication slave nodes complete the wireless communication with the wireless communication master node in turn, and the above communication process is repeated periodically, thereby completing the communication of the entire wireless communication network.

[0095] like Figure 4 , each slave node is allocated I communication time slices, the master and slave nodes will complete a wireless communication within I communication time slices, each communication time slice can communicate once, a total of I times. Figure 4 For example, I can be 4.

[0096] Wherein, as an example, the method for allocating the communication time slice may include:

[0097] S11. Before the master node respectively performs wireless communication with the N slave nodes, a communication parameter value of each slave node is calculated, wherein the communication parameter value includes at least one of a signal strength value and a signal loss rate.

[0098] In one embodiment, in wireless communication, the communication quality of different nodes varies. In this case, the communication parameter value of each slave node can be determined first, and the communication quality of the slave node can be determined by the communication parameter value, and then the communication time slices of the slave node can be reallocated according to the communication quality. Under the condition that the wireless communication quality varies, the communication time slices of the slave nodes with better communication quality can be allocated to the slave nodes with poor communication quality, so that the slave nodes with poor quality have more time to connect with the master node.

[0099] Based on the current communication quality, wireless communication can be completed within a time slot less than the allocated time slot, which can improve the wireless communication efficiency of the system. At the same time, based on the current communication quality, the excess time slots of slave nodes with good communication quality can be allocated to slave nodes with poor communication quality, which can reasonably utilize communication resources and improve communication efficiency.

[0100] S12. Determine whether the communication parameter value is within a preset parameter range value, where the preset parameter range value includes at least one of a preset signal strength value and a preset signal loss rate.

[0101] In one embodiment, the communication parameter value may include a signal strength value and a signal loss rate. The signal strength value may be an RSSI value, which may also be called a receiving sensitivity, or in layman's terms, the received signal strength. The signal loss rate may be a per value, which may be the loss of the optical signal transmitted per unit length.

[0102] Different parameter range values ​​can be used for different communication parameter values, and then the number of communication time slices of each slave node is adjusted according to the comparison result between the communication parameter value and the parameter range value, so that the master node can communicate wirelessly with each slave node according to the adjusted number of communication time slices.

[0103] S13: If the communication parameter value is within the parameter range, the number of communication time slices of the slave node is not adjusted.

[0104] In one embodiment, if the communication parameter value is within the parameter range, for example, the signal strength value is within the corresponding preset parameter range, or the signal loss rate is within the corresponding preset parameter range, it indicates that the communication quality between the master node and the slave node is relatively stable, and the number of communication time slices of the slave node may not be adjusted.

[0105] S14: If the communication parameter value is not within the parameter range, adjust the number of communication time slices of the slave node.

[0106] In one embodiment, if the communication parameter value is not within the parameter range, for example, the signal strength value is not within the corresponding preset parameter range, or the signal loss rate is not within the corresponding preset parameter range. This indicates that the communication quality between the master node and the slave node may be relatively good or relatively poor. If it is relatively good, the number of communication time slices of the slave node can be appropriately reduced. On the contrary, if it is relatively poor, the number of communication time slices of the slave node can be appropriately increased.

[0107] Reference Figure 5 , shows an operation flow chart of adjusting the communication time slice according to the signal strength value provided by an embodiment of the present invention.

[0108] In one embodiment, the communication parameter value is: a signal strength value, and the parameter range value includes: a preset signal strength value.

[0109] In order to dynamically average the signal strength value, as an example, the adjusting the number of communication time slices of the slave node may include the following sub-steps:

[0110] S21. If the signal strength value is greater than a preset first strength value, a first strength adjustment quantity is calculated according to a preset first coefficient parameter and I, and the number of communication time slices of the slave node is reduced according to the first strength adjustment quantity.

[0111] S22. If the signal strength value is less than a preset second strength value, a second strength adjustment amount is calculated according to a preset second coefficient parameter and I, and the number of communication time slices of the slave node is increased according to the second strength adjustment amount.

[0112] The preset first intensity value is the maximum value of the intensity range, and the preset second intensity value is the minimum value of the intensity range.

[0113] The user can pre-set the first intensity value and the second intensity value, and the first intensity value and the second intensity value can be adjusted according to actual needs. The first intensity value is greater than the second intensity value, and the intensity range value can be obtained by setting the first intensity value and the second intensity value.

[0114] It can be determined whether the signal strength value is within the strength range. If the signal strength value is greater than the preset first strength value, it means that the communication quality of the slave node is good. The first strength adjustment quantity is calculated according to the preset first coefficient parameter and I, and the number of communication time slices of the slave node is reduced according to the first strength adjustment quantity.

[0115] Specifically, the number of communication time slices of the slave node may be adjusted to a first strength adjustment number.

[0116] Similarly, if the signal strength value is less than the preset second strength value, indicating that the communication quality of the slave node is poor, the second strength adjustment quantity can be calculated according to the preset second coefficient parameter and I, and the number of communication time slices of the slave node can be increased according to the second strength adjustment quantity. Specifically, the second strength adjustment number of communication time slices can be increased based on the existing number of communication time slices of the slave node.

[0117] In one embodiment, the preset first coefficient parameter includes: a first intensity coefficient and a second intensity coefficient.

[0118] Reference Figure 5 , the step of calculating the first intensity adjustment amount according to the preset first coefficient parameter and I may include the following sub-steps:

[0119] S211, calculating the ratio of I to the first intensity coefficient to obtain a first intensity ratio, if the first intensity ratio is not an integer, then extending the first intensity ratio to the next integer to obtain a first intensity adjustment amount, if the first intensity ratio is an integer, then taking the first intensity ratio as the first intensity adjustment amount;

[0120] or;

[0121] S212: Calculate the difference between I and the second intensity coefficient to obtain a first intensity adjustment amount.

[0122] Specifically, if the signal strength value is greater than a preset first strength value, the ratio of I to the preset first strength coefficient may be calculated to obtain a first strength ratio, and when the first strength ratio is not an integer, the first strength ratio is postponed to the next integer value, and the number of communication time slices of the slave node is adjusted according to the postponed first strength ratio. If the first strength ratio is an integer, the first strength ratio is used as the first strength adjustment amount.

[0123] For example, assuming I=3, the preset first strength coefficient is 2, and I / 2 can be calculated. It is calculated that I / 2=1.5, and 1.5 can be deferred to the next integer value to get 2, and then the number of communication time slices of the slave node is adjusted from 3 to 2. For another example, assuming I=6, the preset first strength coefficient is 2, and I / 2 can be calculated. It is calculated that 6 / 2=3, 3 is an integer value, and the number of communication time slices of the slave node can be adjusted from 6 to 3.

[0124] Or; calculate the difference between I and the second intensity coefficient to obtain the first intensity adjustment amount.

[0125] For example, assuming that I=3 and the preset second strength coefficient is 2, the first strength adjustment quantity can be calculated to be 3-2=1, and the number of communication time slices of the slave node can be adjusted from 3 to 1.

[0126] In one embodiment, the preset second coefficient parameters include: a third intensity coefficient and a fourth intensity coefficient.

[0127] As an example, the step of calculating the second intensity adjustment amount according to the preset second coefficient parameter and I may include the following sub-steps:

[0128] S221, calculating the ratio of I to the third intensity coefficient to obtain a second intensity ratio, if the second intensity ratio is not an integer, extending the second intensity ratio to the previous integer value to obtain a second intensity adjustment amount, if the second intensity ratio is an integer, taking the second intensity ratio as the second intensity adjustment amount;

[0129] or;

[0130] S222. Calculate the sum of I and the fourth intensity coefficient to obtain a second intensity adjustment amount.

[0131] If the signal strength value is less than the preset second strength value, it means that the communication quality of the slave node is poor. The ratio of I to the third strength coefficient can be calculated to obtain the second strength ratio. When the second strength ratio is not an integer, it is postponed to the previous integer value, and then the number of communication time slices of the slave node is adjusted according to the sum of the postponed second strength ratio and I.

[0132] For example, assuming I=3 and the third strength coefficient is 2, I / 2 can be calculated. It is calculated that I / 2=1.5, and 1.5 can be postponed to the previous integer value to obtain the second strength adjustment number of 1, and then the sum of the postponed second strength adjustment number and I is calculated, specifically 3+1=4, and the number of communication time slices from the node is adjusted from 3 to 4. For another example, assuming I=6 and the preset third strength coefficient is 2, I / 2 can be calculated. It is calculated that 6 / 2=3, the second strength adjustment number is 3, which is an integer value and does not need to be postponed. The sum of the second strength adjustment number and I can be calculated, specifically 6+3=9, and the number of communication time slices from the node can be adjusted from 6 to 9.

[0133] Alternatively, if the signal strength value is less than the preset second strength value, it indicates that the communication quality of the slave node is poor, and the sum of I and the fourth strength coefficient is calculated to obtain the second strength adjustment quantity, and then the number of communication time slices of the slave node is adjusted according to the second strength adjustment quantity.

[0134] For example, assuming I=3 and the preset fourth strength coefficient is 2, the sum of I and the preset fourth strength coefficient can be calculated, and the second strength adjustment quantity is calculated to obtain 3+2=5, and the number of communication time slices of the slave node can be adjusted from 3 to 5.

[0135] For the above example, if the signal strength value is greater than the preset second strength value and the signal strength value is less than the preset first strength value, the number of communication time slices of the slave node is not adjusted.

[0136] Reference Figure 6 , shows an operational flow chart of adjusting the communication time slice according to the signal loss rate provided by an embodiment of the present invention.

[0137] In an optional embodiment, the communication parameter value is a signal loss rate, and the parameter range value includes: a preset signal loss rate.

[0138] In order to dynamically average the signal loss rate, as an example, the step of adjusting the number of communication time slices of the slave node may include the following sub-steps:

[0139] S31. If the signal loss rate is less than the preset first loss rate, a first loss adjustment quantity is calculated according to the preset third coefficient parameter and I, and the number of communication time slices of the slave node is reduced according to the first loss adjustment quantity.

[0140] S32. If the signal loss rate is greater than the preset second loss rate, the second loss adjustment amount is calculated according to the preset fourth coefficient parameter and I, and the number of communication time slices of the slave node is increased according to the second loss adjustment amount.

[0141] Among them, the preset first loss rate is the minimum value of the loss range value, and the preset second loss rate is the maximum value of the loss range value.

[0142] The user can pre-set the first loss rate and the second loss rate, and the first loss rate and the second loss rate can be adjusted according to actual needs. Among them, the first loss rate is smaller than the second loss rate, and the loss range value can be obtained by setting the first loss rate and the second loss rate.

[0143] It can be determined whether the signal loss rate is within the loss range value. If the signal loss rate is less than the preset first loss rate, it means that the communication quality of the slave node is good. The first loss adjustment quantity is calculated according to the preset third coefficient parameter and I, and the number of communication time slices of the slave node is reduced according to the first loss adjustment quantity.

[0144] Specifically, the number of communication time slices of the slave node may be adjusted to a first loss adjustment number.

[0145] Similarly, if the signal strength value is greater than the preset second loss rate, indicating that the communication quality of the slave node is poor, the second loss adjustment amount can be calculated according to the preset fourth coefficient parameter and I, and the number of communication time slices of the slave node can be increased according to the second loss adjustment amount. Specifically, the second loss adjustment amount of communication time slices can be increased based on the existing number of communication time slices of the slave node.

[0146] In one embodiment, the preset third coefficient parameter includes: a first loss coefficient and a second loss coefficient.

[0147] Reference Figure 6 , the calculation of the first loss adjustment amount according to the preset third coefficient parameter and I may include the following sub-steps:

[0148] S311. Calculate the ratio of I to the first loss coefficient to obtain a first loss ratio. If the first loss ratio is not an integer, postpone the first loss ratio to the next integer to obtain a first loss adjustment amount. If the first loss ratio is an integer, take the first loss ratio as the first loss adjustment amount.

[0149] or;

[0150] S312. Calculate the difference between I and the second loss coefficient to obtain a first loss adjustment amount.

[0151] Specifically, the numerical range of the signal loss rate can be determined. If the signal loss rate is less than the preset first loss rate, it means that the communication quality of the slave node is good. The ratio of I to the preset first loss coefficient can be calculated to obtain the first loss ratio. When the first loss ratio is not an integer, the first loss adjustment amount is obtained by delaying to the next integer value, and the number of communication time slices of the slave node is adjusted according to the first loss adjustment amount. If the first loss ratio is an integer, the first loss ratio is used as the first loss adjustment amount.

[0152] For example, assuming I=3, and the preset first loss coefficient is 2, the ratio of I to the preset first loss coefficient can be calculated. The first loss ratio is calculated to be I / 2=1.5. The first loss ratio is not an integer value. 1.5 can be deferred to the next integer value to get 2, and then the number of communication time slices of the slave node is adjusted from 3 to 2. For another example, assuming I=6, and the preset first loss coefficient is 2, the first loss ratio can be calculated to be 6 / 2=3. 3 is an integer value, and the number of communication time slices of the slave node can be adjusted from 6 to 3.

[0153] In order to allocate a fixed value for the signal loss rate, if the signal loss rate is less than the preset first loss rate, the difference between I and the preset second loss coefficient can be calculated to obtain the first loss adjustment amount, and then the number of communication time slices of the slave node is adjusted according to the first loss adjustment amount.

[0154] For example, assuming that I=3 and the preset second loss coefficient is 2, the first loss adjustment quantity can be calculated to be 3-2=1, and the number of communication time slices of the slave node can be adjusted from 3 to 1.

[0155] In one embodiment, the preset fourth coefficient parameter includes: a third loss coefficient and a fourth loss coefficient;

[0156] Reference Figure 6 , the calculation of the second loss adjustment amount according to the preset fourth coefficient parameter and I may include the following sub-steps:

[0157] S321. Calculate the ratio of I to the third loss coefficient to obtain a second loss ratio. If the second loss ratio is not an integer, the second loss ratio is postponed to the previous integer value to obtain a second loss adjustment amount. If the second loss ratio is an integer, the second loss ratio is used as the second loss adjustment amount.

[0158] or;

[0159] S321. Calculate the sum of I and the fourth loss coefficient to obtain a second loss adjustment amount.

[0160] Similarly, if the signal loss rate is greater than the preset second strength value, it means that the communication quality of the slave node is poor, and the ratio of I to the third loss coefficient can be calculated to obtain the second loss ratio. If the second loss ratio is not an integer value, the second loss ratio can be extended to the previous integer value to obtain the second loss adjustment amount, and the number of communication time slices of the slave node is adjusted according to the sum of the second loss adjustment amount and I. If the second loss ratio is an integer, the second loss ratio is used as the second loss adjustment amount.

[0161] For example, assuming I=3, and the preset third loss coefficient is 2, the second loss ratio can be calculated. The second loss ratio is calculated to be I / 2=1.5. The second loss ratio is not an integer value. 1.5 can be deferred to the previous integer value to get 1, and then the sum of the deferred second strength ratio and I is calculated, specifically 3+1=4, and the number of communication time slices from the node is adjusted from 3 to 4. For another example, assuming I=6, and the preset first loss coefficient is 2, the second loss ratio can be calculated to be 6 / 2=3, 3 is an integer value, and then the sum of the second loss ratio and I is directly calculated, specifically 6+3=9, and the number of communication time slices from the node can be adjusted from 6 to 9.

[0162] Similarly, if the signal loss rate is greater than the preset second loss rate, it means that the communication quality of the slave node is poor. The sum of I and the preset fourth loss coefficient can be calculated to obtain the loss sum value, and then the number of communication time slices of the slave node can be adjusted according to the loss sum value.

[0163] For example, assuming I=3 and the preset fourth strength coefficient is 2, the sum of I and the preset fourth strength coefficient can be calculated, and the loss sum is 3+2=5, and the number of communication time slices of the slave node can be adjusted from 3 to 5.

[0164] For the above example, if the signal loss rate is greater than the preset first loss rate and the signal loss rate is less than the preset second loss rate, the number of communication time slices of the slave node may not be adjusted.

[0165] Reference Figure 7 , shows an operational flow chart of remaining time slice allocation provided by an embodiment of the present invention.

[0166] In one embodiment, after the number of communication time slices of the slave node is readjusted, the master node can communicate wirelessly with the slave node. During the communication process, the master node may successfully communicate with the slave node within one communication time slice; it may also fail to communicate with the slave node within multiple communication time slices and then succeed once; it may also fail to communicate with the slave node within multiple communication time slices.

[0167] During the wireless communication process between the master node and the slave node, if the communication is successful, the entire communication time slice may not be used, and there may be remaining communication time slices. In order to further reasonably utilize the remaining communication time slices for subsequent use by the slave nodes, the method may further include the following steps as an example:

[0168] S15. When it is determined that the communication between the master node and the current slave node fails and the number of communication failures is equal to the number of communication time slices of the current slave node, multiple remaining time slices are obtained. The multiple remaining time slices are obtained by accumulating the remaining communication time slices of each of the previous slave nodes that have not communicated after the master node has successfully communicated with the previous slave node.

[0169] S16. Allocate the multiple remaining time slices to the current slave node, so that the master node can use the multiple remaining time slices to perform wireless communication with the current slave node.

[0170] S17: When it is determined that the master node fails in wireless communication with the current slave node using the multiple remaining time slices, trigger the master node to perform wireless communication with the next slave node of the current slave node.

[0171] Specifically, after re-adjusting the number of communication time slices of the slave nodes, each master node can communicate with the slave node, and when it is determined that the master node successfully communicates with the current slave node, the number of communications between the master node and the current slave node can be counted. For example, if the master node fails to communicate with the slave node for the first time and succeeds for the second time, the number of communications is 2.

[0172] If the value of the communication times is less than the number of communication time slices of the slave node, it means that the communication quality between the master node and the slave node is high, the communication times are small during the wireless communication process, and the slave node has not used up all the communication time slices, and there are communication time slices remaining. In order to reasonably use the remaining communication time slices, the remaining communication time slices can be unified and accumulated to form a set of remaining time slices.

[0173] When it is determined that the communication between the master node and the current slave node fails, the number of communications between the master node and the current slave node may also be counted. For example, if the master node and the slave node fail to communicate for the first time and the second time, the number of communication failures is 2.

[0174] It can be determined whether the number of communication failures is equal to the number of communication time slices of the current slave node. If the number of communication failures is equal to the number of communication time slices of the slave node, it means that the master node fails to communicate with the current slave node during the time corresponding to the communication time slice of the slave node. In order to enable the master node to establish communication with the current slave node, multiple remaining time slices are obtained. The multiple remaining time slices can be a number of communication time slices extracted from the set of previously constructed remaining time slices.

[0175] Specifically, after the master node successfully communicates with several previous slave nodes before the current slave node, the communication time slices are accumulated for each of the previous slave nodes during which no communication is performed.

[0176] Assuming that 10 communication time slices have been accumulated before, 10 communication time slices can be allocated to the current slave node, so that the master node can continue to communicate wirelessly with the current slave node during the time corresponding to the multiple remaining time slices.

[0177] If it is determined that the master node has failed to establish wireless communication with the current slave node using multiple remaining time slices, it means that the master node and the current slave node cannot establish communication within the time corresponding to the multiple remaining time slices. In order to avoid repeated processing on a slave node, the master node can be triggered to establish wireless communication with the next slave node of the current slave node.

[0178] In yet another optional embodiment, the number of remaining time slices to be extracted may also be adjusted according to actual needs, for example, only two are extracted each time to prevent a slave node with poor quality from using up all remaining time slices.

[0179] Reference Figure 8 , shows an operation flow chart of a method for allocating communication time slices provided by an embodiment of the present invention.

[0180] Specifically, the operation of the communication time slice allocation method may include the following steps:.

[0181] In the first step, the master node communicates with the slave node. The wireless communication system includes a master node and n slave nodes (n≥2).

[0182] In the second step, within each cycle, each slave node is allocated i time slices by default (depending on the system time allocation resources, the number of time slices is at least 2). Within each time slice, the slave node communicates with the master node.

[0183] The third step is that in the wireless communication system, when the communication quality of a slave node is poor, the master node can complete the communication with the slave node with poor communication quality by scheduling the time slices of other slave nodes with better communication quality.

[0184] The fourth step is that there are n slave nodes in the wireless communication system, and each slave node is allocated i time slices to complete the current communication between the master and slave nodes; when the communication quality of some slave nodes in the entire wireless communication system is good, not all i time slices will be used to complete the current communication between the master and slave nodes, and im time slices or in time slices are sufficient to support the completion of the current communication between the master and slave nodes; when the communication quality of some slave nodes is poor, the time slice of a slave node with good communication quality can be dynamically allocated to the slave node with poor communication quality through the master node scheduling, that is, when the wireless communication quality is poor, the current slave node can have i+m time slices or i+n time slices to complete the current communication between the master and slave nodes; by dynamically adjusting the allocated communication time slice of each slave node, the reliability of the wireless communication of the entire system is guaranteed.

[0185] In this embodiment, the embodiment of the present invention provides a method for allocating communication time slices, and its beneficial effect is that: the present invention can calculate the communication parameter value of each slave node before the master node respectively communicates with N slave nodes wirelessly; and then adjust the number of communication time slices of each slave node according to the size of the communication parameter value, so that the master node can wirelessly communicate with each slave node according to the adjusted number of communication time slices. In this way, the communication time of the master and slave nodes can be reasonably allocated, avoiding the problem of long waiting time or insufficient communication time, improving the resource utilization rate of time and communication flexibility, shortening the communication time, and improving communication efficiency.

[0186] The embodiment of the present invention also provides a communication time slice allocation device, see Fig. 9 , showing a schematic structural diagram of a communication time slice allocation device provided by an embodiment of the present invention.

[0187] The device is used for time slice allocation of a multi-node wireless communication system. The device involves a master node and N slave nodes that are interconnected in the wireless communication system. In each communication time period, each slave node is provided with I communication time slice, and each communication time slice communicates once.

[0188] Wherein, as an example, the communication time slice allocation device may include:

[0189] A parameter calculation module 901 is used to calculate the communication parameter value of each slave node before the master node respectively communicates wirelessly with the N slave nodes, wherein the communication parameter value is the strength value or loss rate of the communication process;

[0190] A parameter range determination module 902 is used to determine whether the communication parameter value is within a corresponding parameter range value;

[0191] The non-adjustment time slice module 903 is used for not adjusting the number of communication time slices of the slave node if the communication parameter value is within the parameter range value;

[0192] The time slice adjustment module 904 is used to adjust the number of communication time slices of the slave node if the communication parameter value is not within the parameter range.

[0193] Optionally, the communication parameter value includes: a signal strength value, and the parameter range value includes: a strength range value;

[0194] The adjusting the number of communication time slices of the slave node includes:

[0195] If the signal strength value is greater than a preset first strength value, a first strength adjustment amount is calculated according to a preset first coefficient parameter and I, and the number of communication time slices of the slave node is reduced according to the first strength adjustment amount;

[0196] If the signal strength value is less than a preset second strength value, a second strength adjustment amount is calculated according to a preset second coefficient parameter and I, and the number of communication time slices of the slave node is increased according to the second strength adjustment amount;

[0197] The preset first intensity value is the maximum value of the intensity range, and the preset second intensity value is the minimum value of the intensity range.

[0198] Optionally, the preset first coefficient parameter includes: a first intensity coefficient and a second intensity coefficient;

[0199] The calculating the first intensity adjustment amount according to the preset first coefficient parameter and I includes:

[0200] Calculate the ratio of I to the first intensity coefficient to obtain a first intensity ratio; if the first intensity ratio is not an integer, extend the first intensity ratio to the next integer to obtain a first intensity adjustment amount; if the first intensity ratio is an integer, use the first intensity ratio as the first intensity adjustment amount;

[0201] or;

[0202] The difference between I and the second intensity coefficient is calculated to obtain a first intensity adjustment amount.

[0203] Optionally, the preset second coefficient parameter includes: a third intensity coefficient and a fourth intensity coefficient;

[0204] The calculating the second intensity adjustment amount according to the preset second coefficient parameter and I includes:

[0205] Calculate the ratio of I to the third intensity coefficient to obtain a second intensity ratio; if the second intensity ratio is not an integer, extend the second intensity ratio to the previous integer to obtain a second intensity adjustment amount; if the second intensity ratio is an integer, use the second intensity ratio as the second intensity adjustment amount;

[0206] or;

[0207] The second intensity adjustment amount is obtained by calculating the sum of I and the fourth intensity coefficient.

[0208] Optionally, the communication parameter value includes: a signal loss rate, and the parameter range value includes: a loss range value;

[0209] The adjusting the number of communication time slices of the slave node includes:

[0210] If the signal loss rate is less than the preset first loss rate, a first loss adjustment amount is calculated according to the preset third coefficient parameter and I, and the number of communication time slices of the slave node is reduced according to the first loss adjustment amount;

[0211] If the signal loss rate is greater than a preset second loss rate, a second loss adjustment amount is calculated according to a preset fourth coefficient parameter and I, and the number of communication time slices of the slave node is increased according to the second loss adjustment amount;

[0212] Among them, the preset first loss rate is the minimum value of the loss range value, and the preset second loss rate is the maximum value of the loss range value.

[0213] Optionally, the preset third coefficient parameter includes: a first loss coefficient and a second loss coefficient;

[0214] The calculating the first loss adjustment amount according to the preset third coefficient parameter and I includes:

[0215] Calculate the ratio of I to the first loss coefficient to obtain a first loss ratio; if the first loss ratio is not an integer, then postpone the first loss ratio to the next integer to obtain a first loss adjustment amount; if the first loss ratio is an integer, then take the first loss ratio as the first loss adjustment amount;

[0216] or;

[0217] Calculate the difference between I and the second loss coefficient to obtain the first loss adjustment amount.

[0218] Optionally, the preset fourth coefficient parameter includes: a third loss coefficient and a fourth loss coefficient;

[0219] The calculating the second loss adjustment amount according to the preset fourth coefficient parameter and I includes:

[0220] Calculate the ratio of I to the third loss coefficient to obtain a second loss ratio; if the second loss ratio is not an integer, then the second loss ratio is deferred to the previous integer value to obtain a second loss adjustment amount; if the second loss ratio is an integer, then the second loss ratio is used as the second loss adjustment amount;

[0221] or;

[0222] The sum of I and the fourth loss coefficient is calculated to obtain a second loss adjustment amount.

[0223] The embodiment of the present invention also provides a communication time slice allocation system, see Fig.10 , showing a schematic diagram of the structure of a communication time slice allocation system provided by an embodiment of the present invention.

[0224] The communication time slice allocation system is applicable to the communication time slice allocation method as described in the above embodiment, wherein, as an example, the communication time slice allocation system may include:

[0225] A master node and N slave nodes, each of the slave nodes is provided with I communication time slice.

[0226] Those skilled in the art can clearly understand that, for the sake of convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0227] Furthermore, an embodiment of the present application also provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for allocating communication time slices as described in the above embodiment is implemented.

[0228] Furthermore, an embodiment of the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer-executable program, and the computer-executable program is used to enable a computer to execute the method for allocating communication time slices as described in the above embodiment.

[0229] It should be noted that the orientation or positional relationship indicated by the terms "upper", "lower", etc. is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the embodiments of the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. When an element such as a layer, region or substrate is referred to as being "on" or "above" another element, it can be directly on the other element, or there can also be an intermediate element. On the contrary, when an element is referred to as "directly on" or "above" another element, there is no intermediate element. It should also be understood that when an element is referred to as being "under" or "below" another element, it can be directly under or below the other element, or there can also be an intermediate element. On the contrary, when an element is referred to as being "directly under" or "below" another element, there is no intermediate element. Unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" 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, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0230] Those skilled in the art will appreciate that the embodiments of the present application may also provide computer program products. Therefore, the present application may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program codes.

[0231] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), apparatuses, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0232] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0233] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0234] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for allocating communication time slices, used for time slice allocation of a multi-node wireless communication system, the method involving a master node and N slave nodes in communication connection with each other in the wireless communication system, characterized in that: In each communication time period, each slave node is provided with 1 communication time slice, and each communication time slice communicates once, and the method comprises: Before the master node respectively performs wireless communication with the N slave nodes, respectively calculates a communication parameter value of each slave node, wherein the communication parameter value includes at least one of a signal strength value and a signal loss rate; Determining whether the communication parameter value is within a preset parameter range value, wherein the preset parameter range value includes at least one of a preset signal strength value and a preset signal loss rate; If the communication parameter value is within the parameter range, the number of communication time slices of the slave node is not adjusted; If the communication parameter value is not within the parameter range, the number of communication time slices of the slave node is adjusted.

2. The method for allocating communication time slices according to claim 1, characterized in that: The communication parameter value is: signal strength value, and the parameter range value is: preset signal strength value; The adjusting the number of communication time slices of the slave node includes: If the signal strength value is greater than a preset first strength value, a first strength adjustment amount is calculated according to a preset first coefficient parameter and I, and the number of communication time slices of the slave node is reduced according to the first strength adjustment amount; If the signal strength value is less than a preset second strength value, a second strength adjustment amount is calculated according to a preset second coefficient parameter and I, and the number of communication time slices of the slave node is increased according to the second strength adjustment amount; The preset first intensity value is the maximum value of the intensity range, and the preset second intensity value is the minimum value of the intensity range.

3. The method for allocating communication time slices according to claim 2, characterized in that: The preset first coefficient parameters include: a first intensity coefficient and a second intensity coefficient; The calculating the first intensity adjustment amount according to the preset first coefficient parameter and I includes: Calculate the ratio of I to the first intensity coefficient to obtain a first intensity ratio; if the first intensity ratio is not an integer, extend the first intensity ratio to the next integer to obtain a first intensity adjustment amount; if the first intensity ratio is an integer, use the first intensity ratio as the first intensity adjustment amount; or; The difference between I and the second intensity coefficient is calculated to obtain a first intensity adjustment amount.

4. The method for allocating communication time slices according to claim 2, characterized in that: The preset second coefficient parameters include: a third intensity coefficient and a fourth intensity coefficient; The calculating the second intensity adjustment amount according to the preset second coefficient parameter and I includes: Calculate the ratio of I to the third intensity coefficient to obtain a second intensity ratio; if the second intensity ratio is not an integer, extend the second intensity ratio to the previous integer to obtain a second intensity adjustment amount; if the second intensity ratio is an integer, use the second intensity ratio as the second intensity adjustment amount; or; The second intensity adjustment amount is obtained by calculating the sum of I and the fourth intensity coefficient.

5. The method for allocating communication time slices according to claim 1, characterized in that: The communication parameter value is: signal loss rate, and the parameter range value is: preset signal loss rate; The adjusting the number of communication time slices of the slave node includes: If the signal loss rate is less than the preset first loss rate, a first loss adjustment amount is calculated according to the preset third coefficient parameter and I, and the number of communication time slices of the slave node is reduced according to the first loss adjustment amount; If the signal loss rate is greater than a preset second loss rate, a second loss adjustment amount is calculated according to a preset fourth coefficient parameter and I, and the number of communication time slices of the slave node is increased according to the second loss adjustment amount; Among them, the preset first loss rate is the minimum value of the loss range value, and the preset second loss rate is the maximum value of the loss range value.

6. The method for allocating communication time slices according to claim 5, characterized in that: The preset third coefficient parameter includes: a first loss coefficient and a second loss coefficient; The calculating the first loss adjustment amount according to the preset third coefficient parameter and I includes: Calculate the ratio of I to the first loss coefficient to obtain a first loss ratio; if the first loss ratio is not an integer, then postpone the first loss ratio to the next integer to obtain a first loss adjustment amount; if the first loss ratio is an integer, then take the first loss ratio as the first loss adjustment amount; or; Calculate the difference between I and the second loss coefficient to obtain the first loss adjustment amount.

7. The method for allocating communication time slices according to claim 5, characterized in that: The preset fourth coefficient parameters include: a third loss coefficient and a fourth loss coefficient; The calculating the second loss adjustment amount according to the preset fourth coefficient parameter and I includes: Calculate the ratio of I to the third loss coefficient to obtain a second loss ratio; if the second loss ratio is not an integer, then the second loss ratio is deferred to the previous integer value to obtain a second loss adjustment amount; if the second loss ratio is an integer, then the second loss ratio is used as the second loss adjustment amount; or; Calculate the sum of I and the fourth loss coefficient to obtain the second loss adjustment amount.

8. A communication time slice allocation device for time slice allocation of a multi-node wireless communication system, the device involves a master node and N slave nodes that are mutually communicatively connected in the wireless communication system, characterized in that: In each communication time period, each slave node is provided with 1 communication time slice, and each communication time slice communicates once, and the device comprises: A parameter calculation module, used for respectively calculating a communication parameter value of each of the slave nodes before the master node respectively communicates wirelessly with the N slave nodes, wherein the communication parameter value includes at least one of a signal strength value and a signal loss rate; A parameter range determination module, used to determine whether the communication parameter value is within a corresponding parameter range value, wherein the preset parameter range value includes at least one of a preset signal strength value and a preset signal loss rate; A non-adjustment time slice module, configured to not adjust the number of communication time slices of the slave node if the communication parameter value is within the parameter range; The time slice adjustment module is used to adjust the number of communication time slices of the slave node if the communication parameter value is not within the parameter range.

9. A communication time slice allocation system, characterized in that: The communication time slice allocation system is applicable to the communication time slice allocation method as described in any one of claims 1-7, and the system comprises: a master node and N slave nodes, each of the slave nodes is provided with I communication time slice.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer-executable program, and the computer-executable program is used to enable a computer to execute the communication time slice allocation method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Communication time slice allocation method, apparatus and system, and computer-readable storage medium

    WO2026061082A1