Multi-distributed photovoltaic equipment communication method and system based on backoff algorithm
By introducing the backoff algorithm and double random numbers in distributed photovoltaic equipment communication, the problem of conflict between equipment registration requests and other messages is solved, network fairness and service quality are achieved, and the problem of excessive double-end communication delay is avoided. This ensures the efficiency of access and information exchange of distributed photovoltaic equipment.
Patent Information
- Application Number
- CN202410656108.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-08-23
AI Technical Summary
After distributed photovoltaic equipment is connected to the power grid, information interaction and regulation between the devices are difficult to achieve, especially due to differences in communication protocols and data conflicts, which cause equipment registration requests to conflict with other messages, affecting system efficiency and service quality.
Adopt a multi-distributed photovoltaic equipment communication method based on a backoff algorithm, by setting a backoff time function model with fixed intervals and random jitter delays, combined with double random numbers and exponential backoff, to solve the problem of conflict between device registration requests and other messages, and ensure network fairness performance and service quality.
It effectively solves the collision problem of registration requests for multiple distributed photovoltaic equipment, avoids excessive double-end communication delay, ensures network fairness and service quality, and reduces packet loss rate.
Smart Images

Figure CN118540783A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of wireless network communication of new energy power generation systems, and more specifically, relates to a multi-distributed photovoltaic device communication method and system based on a backoff algorithm. Background Art
[0002] With the rapid development of distributed photovoltaics, after being connected to the power grid, low-voltage distributed photovoltaics present the characteristics of many "points" and "surfaces", and distributed photovoltaic equipment has great differences in communication protocols due to its manufacturers, voltage levels, technical differences, etc. Some equipment in the power system even adopts private protocols due to information security considerations, which makes it very difficult for the power grid to monitor and read the status of power equipment. After the distributed photovoltaics in the substation are connected, it is difficult to realize the information interaction process with the power grid, and it is even more difficult for the power grid to regulate the distributed photovoltaics.
[0003] Whether it is device access, identity recognition, network authentication or information encryption, when multiple distributed photovoltaic devices are connected, multiple photovoltaic distributed device terminals will appear accordingly, and data conflicts will inevitably occur when communicating with the fusion terminal. In this case, the application of targeted backoff algorithms becomes the key. Backoff Algorithm is an algorithm used to deal with conflicts or competition situations. It is usually used in computer networks and distributed systems to solve the competition problems that may arise when multiple nodes access shared resources at the same time. The core idea of the algorithm is that when a conflict occurs, the node will temporarily back off for a period of time before trying to access the resource to avoid continuous competition and conflict. This helps to reduce competition in the system and improve overall efficiency.
[0004] The main backoff algorithms currently include: 1) Binary Exponential Backoff Algorithm: When each conflict occurs, the waiting time will increase exponentially to reduce competition. 2) Linear Backoff Algorithm: After each conflict, the waiting time increases linearly to reduce the probability of conflict. 3) Exponential Backoff Algorithm: After each conflict, the waiting time increases exponentially to reduce the probability of conflict and balance the system load to a certain extent. These algorithms are all used to deal with conflicts and competition. Their main purpose is to reasonably adjust the access time when multiple nodes access shared resources to reduce conflicts and improve system performance. Summary of the invention
[0005] In order to solve the deficiencies in the prior art, the present invention provides a multi-distributed photovoltaic device communication method based on a backoff algorithm, which solves the problem of conflicts between device registration requests and other types of messages when the master-slave interaction of normal business and the registration interaction themselves have timing guarantees and priority orders.
[0006] The present invention adopts the following technical solution.
[0007] A first aspect of the present invention provides a multi-distributed photovoltaic device communication method based on a backoff algorithm, comprising the following steps:
[0008] Step 1: Under normal circumstances, the fusion terminal sets the polling time interval for the fusion terminal to send active requests to the photovoltaic distributed terminal to a first fixed interval, which is recorded as the first time parameter T1;
[0009] Step 2: according to the device registration request sent by the photovoltaic distributed terminal, the device registration result given by the fusion terminal and the fusion terminal authentication result given by the photovoltaic distributed terminal, a second fixed interval is set, which is recorded as the second time parameter T2;
[0010] Step 3: Based on the first time parameter T1 and the second time parameter T2, a backoff time function model is established by increasing the random jitter delay;
[0011] Step 4: According to the principle of minimum double-end packet loss rate of the fusion terminal and the photovoltaic distributed terminal, the initial parameters of the backoff time function model are obtained;
[0012] Step 5: When the photovoltaic distributed terminal collides with the fusion terminal in making device registration requests, the backoff time function model is triggered to generate the backoff time and execute the delay.
[0013] Preferably, the network topology of the fusion terminal and the photovoltaic distributed terminal is a half-duplex communication mode.
[0014] Preferably, in a half-duplex communication scenario and when the fusion terminal is normal, the ordinary active request sent by the fusion terminal is recorded as M1; the response of the photovoltaic distributed terminal is recorded as M2; after the registration of the photovoltaic distributed terminal devices is completed, the interval between the two messages is the fusion terminal polling interval, which is a fixed time and recorded as the first time parameter T1.
[0015] Preferably, the photovoltaic distributed terminal sends a device registration request to the fusion terminal, which is recorded as M3; the fusion terminal queries whether the device is legal in the cloud according to the device order number and feeds back the device registration result, which is recorded as M4; the photovoltaic distributed terminal performs registration authentication from the local information database and the server, and feeds back the authentication result to the fusion terminal, which is recorded as M5; the entire time for transmitting the results M3 to M5 is set to a fixed time, which is recorded as the second time parameter T2.
[0016] Preferably, when the photovoltaic distributed device terminal accesses the network and sends a request for device registration to the fusion terminal, the device state machine is first switched to the power-on state and the serial number, public key, and device state are transmitted, which is M3; then the fusion terminal queries whether there is device information locally, determines whether to query the legitimacy of the device in the cloud according to the device serial number, and performs encryption operations on it; at the same time, the organized device registration result and the terminal digital signature are returned together, and the fusion terminal sends the result to the photovoltaic distributed device terminal, which is M4. The above M3 to M4 process is recorded as the first process time parameter t1;
[0017] Then, the photovoltaic distributed device terminal confirms the digital signature of the fusion terminal identity in the local information database by decrypting the message, performs authentication on the server side and returns the above result to the fusion terminal, which is M5. The above process from M4 to M5 is recorded as the second process time parameter t2;
[0018] The entire time of transmitting the results M3 to M5 is set to a fixed time, recorded as the second time parameter T2, and expressed by the following formula:
[0019] T2=t1+t2 (1)
[0020] Where:
[0021] T2 is the second time parameter;
[0022] t1 is the first process time parameter;
[0023] t2 is the second process time parameter.
[0024] Preferably, the backoff time function model grows monotonically, has an upper bound, and is an exponential function growth model.
[0025] Preferably, the backoff time function model is specifically:
[0026]
[0027] in:
[0028] T b For retreat time;
[0029] T1 is the first time parameter, and T2 is the second time parameter;
[0030] random1(x1) represents the first random function, random2(x2) represents the second random function, x1 generates the upper limit of the first interval of random numbers, and x2 generates the upper limit of the second interval of random numbers.
[0031] Preferably, when a device authentication is not completed and the same photovoltaic distributed device terminal sends two or more registration requests, the backoff time is calculated and a delay is executed according to the backoff algorithm proposed in this application; or when a photovoltaic distributed device authentication is not completed and different photovoltaic distributed device terminals send two or more registration requests to the fusion terminal, the backoff time is calculated and a delay is executed according to the backoff algorithm proposed in this application.
[0032] Preferably, when the fusion terminal sends two active requests and a collision occurs, the backoff time is executed with the set third time parameter T3.
[0033] Preferably, the initial parameters include T1, T2, t1, and t2. In step 2, the entire time for transmitting the results M3 to M5 is set to a fixed time, recorded as the second time parameter T2. However, in order to reduce the packet loss rate, initial values are not assigned to t1 and t2. Here, initial values are set for t1 and t2 to ensure that they have known and controllable basic values during the backoff process.
[0034] ,Considering that the packet loss rate is reduced, no initial values are assigned to t1 and t2, here the initial values are set for t1 and t2 to ensure that they have known and controllable basic values during the backoff process.
[0035] The second aspect of the present invention provides a multi-distributed photovoltaic device communication system based on a backoff algorithm, comprising: a fusion terminal and a photovoltaic distributed terminal, wherein the multi-distributed photovoltaic device communication method based on a backoff algorithm is executed between the fusion terminal and the photovoltaic distributed terminal.
[0036] Compared with the prior art, the beneficial effects of the present invention include at least: the present invention provides a multi-distributed photovoltaic device communication method based on a backoff algorithm. First, the algorithm takes into account the access situation of multiple distributed photovoltaic devices, and can effectively solve the problem of device registration request collision of more distributed terminals. At the same time, the algorithm introduces the fusion of double random numbers and exponential backoff to avoid the problem of excessive backoff delay in two-way communication; secondly, the requests of both ends have timing guarantees, and are also based on the principle of minimum packet loss rate, thereby ensuring the fairness of the network and service quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0038] Figure 1 A flow chart of a multi-distributed photovoltaic device communication method based on a backoff algorithm proposed by the present invention;
[0039] Figure 2A schematic diagram of the polling process of the fusion terminal and the photovoltaic distributed terminal of the multi-distributed photovoltaic device communication method based on the backoff algorithm proposed in the present invention;
[0040] Figure 3 A schematic diagram of the registration process of the fusion terminal and the photovoltaic distributed terminal device in the multi-distributed photovoltaic device communication method based on the backoff algorithm proposed in the present invention;
[0041] Figure 4 This is a schematic diagram of a specific implementation of the multi-distributed photovoltaic device communication method based on the backoff algorithm proposed in the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The described embodiments are only embodiments of a part of the present invention, not all embodiments. Based on the spirit of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present invention.
[0043] like Figure 1 As shown, embodiment 1 of the present invention provides a multi-distributed photovoltaic device communication method based on a backoff algorithm, comprising the following steps:
[0044] like Figure 2 As shown, in step 1, under normal circumstances, the fusion terminal sets the polling time interval for the fusion terminal to send active requests to the photovoltaic distributed terminal to a first fixed interval, which is recorded as the first time parameter T1.
[0045] The network topology of the fusion terminal and photovoltaic distributed terminal is half-duplex communication mode.
[0046] Since the master-slave interaction and registration interaction of normal business have their own timing guarantees, and there is also a priority order between these two types of messages, in engineering practice only device registration requests will conflict with other types of messages.
[0047] Other types include registration response, deregistration request, and deregistration response.
[0048] In the half-duplex communication scenario and when the fusion terminal is normal, the ordinary active request sent by the fusion terminal is recorded as M1; the response of the photovoltaic distributed terminal is recorded as M2; after the registration of the photovoltaic distributed terminal devices is completed, the two information intervals, i.e., the polling interval of the fusion terminal, take a fixed time, i.e., the first time parameter T1, to obtain the service status.
[0049] The business status includes grid access status and grid frequency related information, network connection status and communication quality, and the operating status and performance data of the photovoltaic power generation system.
[0050] like Figure 3 As shown, in step 2, according to the device registration request sent by the photovoltaic distributed terminal, the device registration result given by the fusion terminal and the fusion terminal authentication result given by the photovoltaic distributed terminal, a second fixed interval is set, which is recorded as the second time parameter T2.
[0051] Specifically, the photovoltaic distributed terminal sends a device registration request to the fusion terminal, which is recorded as M3; the fusion terminal queries whether the device is legal in the cloud according to the device order number and feeds back the device registration result, which is recorded as M4; the photovoltaic distributed terminal performs registration authentication from the local information database and the server, and feeds back the authentication result to the fusion terminal, which is recorded as M5; the entire time for transmitting the result M3 to M5 is set to a fixed time, which is recorded as the second time parameter T2.
[0052] More specifically, when the photovoltaic distributed device terminal accesses the network and sends a request for device registration to the fusion terminal, the device state machine is first switched to the power-on state and the serial number, public key, and device state are transmitted, i.e., M3; then the fusion terminal queries whether there is device information locally, determines whether to query the legitimacy of the device in the cloud based on the device serial number, and performs encryption operations on it; at the same time, the organized device registration result and the terminal digital signature are returned together, and the fusion terminal sends the result to the photovoltaic distributed device terminal, i.e., M4, and the above M3 to M4 process is recorded as the first process time parameter t1. Then, the photovoltaic distributed device terminal confirms the fusion terminal identity digital signature in the local information library by decrypting the message, performs server authentication, and returns the above result to the fusion terminal, i.e., M5, and the above M4 to M5 process is recorded as the second process time parameter t2.
[0053] Therefore, the entire time of transmitting the results M3 to M5 is set to a fixed time, recorded as the second time parameter T2, and expressed by the following formula:
[0054] T2=t1+t2 (1)
[0055] Where:
[0056] T2 is the second time parameter;
[0057] t1 is the first process time parameter;
[0058] t2 is the second process time parameter.
[0059] It is worth noting that, as one of the outstanding essential features of the present invention, the first and second parameter setting processes in the backoff algorithm model are relatively clear and unambiguous.
[0060] Step 3, establishing a backoff time function model according to the first and second parameters;
[0061] It is necessary to consider the relationship between the backoff time and the first and second parameters. For active requests sent by the fusion terminal, due to the timing guarantee, it is only necessary to delay the request for a fixed time and then make another request. Here, the initial collision time is set to 100ms; and under the premise of ensuring that the backoff time does not affect the network communication efficiency and packet loss rate, there are multiple photovoltaic distributed terminals sending requests at the same time. The function model must be able to quickly increase the backoff time and dynamically adjust the backoff time according to changes in the network environment, so as to adapt to different network topologies and load conditions. Taking all factors into consideration, the model is monotonically growing, has an upper bound, and the function is highly concave and convex. Therefore, an exponential function growth model is adopted, and double random numbers are introduced for multiple terminals. The two parameters of the exponential function growth model are defined as T1 and T2. The backoff time function model is specifically:
[0062]
[0063] in:
[0064] T b For retreat time;
[0065] T1 is the first time parameter, and T2 is the second time parameter, which are defined as the first time parameter and the second time parameter in this application.
[0066] random(x) represents generating a random number uniformly distributed between (0, x), x represents the upper limit of the random number interval, random1(x1) represents the first random function, random2(x2) represents the second random function, x1 generates the upper limit of the first random number interval, x2 generates the upper limit of the second random number interval, in a further preferred but non-restrictive embodiment of the present invention, x1=64, x2=5, that is, the first random function random1(64) randomly generates a number greater than 0 and less than 64, the second random function random2(5) randomly generates a number greater than 0 and less than 5, and two random jitter delays are added to avoid collisions caused by simultaneous requests from multiple photovoltaic distributed devices.
[0067] It is worth noting that, as one of the outstanding essential features of the present invention, the introduction of dual random numbers and exponential backoff fusion avoids the problem of excessive backoff delay in two-way communication.
[0068] Step 4, according to the principle of minimum double-end packet loss rate of the fusion terminal and the photovoltaic distributed terminal, setting the initial parameters of the backoff time function model;
[0069] The initial parameters include T1, T2, t1, and t2. In step 2, the entire time for transmitting the results M3 to M5 is set to a fixed time, recorded as the second time parameter T2. However, in order to reduce the packet loss rate, no initial values are assigned to t1 and t2. Here, initial values are set for t1 and t2 to ensure that they have known and controllable basic values during the backoff process.
[0070] By setting the polling time reasonably and performing simulation tests, you can ensure that the device has enough time to complete data transmission and reception during communication. At the same time, consider the network delay and ensure that the polling time is long enough to accommodate the network transmission delay, so that the line packet loss rate is stable and the double-end packet loss rate is minimized.
[0071] Network delays include, but are not limited to, network congestion and blocked signal transmission.
[0072] It is worth noting that, as one of the outstanding essential features of the present invention, the requests from both ends are time-ordered, based on the principle of minimum packet loss rate, thereby ensuring the fairness and service quality of the network.
[0073] like Figure 4 As shown, in step 5, when the photovoltaic distributed terminal collides with the fusion terminal in making a device registration request, the backoff time is determined according to the backoff time function model, and a delay is executed. The result after the backoff is displayed on the state machine. If the device registration is successful and the fusion terminal authentication is successful, the working state of the state machine is switched.
[0074] The state machine uses a distributed terminal state machine, a model used to describe terminal states and state transition rules in a distributed system.
[0075] The initial state of the state machine is from sending a device registration request at power-on initialization to assigning values during the device registration process; if the fusion terminal returns a successful registration, the state machine displays a successful device registration, otherwise it displays a failed fusion terminal authentication. The state of the state machine is adjusted during this process; if the device registration is successful and the fusion terminal authentication is successful, the state machine displays the working state.
[0076] In a preferred but non-restrictive embodiment, when a device authentication has not been completed and the same photovoltaic distributed device terminal sends two or more registration requests, the backoff time calculation is performed and a delay is executed according to the backoff algorithm proposed in this application; or when a photovoltaic distributed device authentication has not been completed and different photovoltaic distributed device terminals send two or more registration requests to the fusion terminal, the backoff time calculation is performed and a delay is executed according to the backoff algorithm proposed in this application.
[0077] When the fusion terminal sends two active requests and a collision occurs, the backoff time is executed with the third time parameter T3; preferably, but not limited to, T3=100ms.
[0078] Figure 4 It can be seen that the photovoltaic distributed terminal 1 sends a device registration request M3 to the fusion terminal, which collides with the photovoltaic distributed terminal n sending a device registration request M3 to the fusion terminal. Therefore, the device registration request of the photovoltaic distributed terminal 1 is calculated and backed off. At this time, the photovoltaic distributed terminal n sends multiple registration requests because it has not completed the response request, which collides with itself. The backoff time is calculated and backed off. After the backoff time of the photovoltaic distributed terminal 1, the photovoltaic distributed terminal 1 successfully sends the device registration request M3 to the fusion terminal, and the fusion terminal feeds back the device registration result M4 to the photovoltaic distributed terminal 1, and the photovoltaic distributed terminal 1 feeds back the fusion terminal authentication result M5.
[0079] At this time, the photovoltaic distributed terminal 2 sends a device registration request M3 to the fusion terminal. The photovoltaic distributed terminal 2 sends multiple device request information, which collides with its own data. The backoff time is calculated and backed off. After the backoff time, the photovoltaic distributed terminal 2 sends the device registration request M3 to the fusion terminal again. Then the fusion terminal sends a normal active request M1 to the photovoltaic distributed terminal 1. A collision occurs inside the fusion terminal. The backoff time is calculated and backed off. After the backoff time, the fusion terminal sends a normal active request M1 to the photovoltaic distributed terminal 1 again.
[0080] Then the photovoltaic distributed terminal n sends a backed-off device registration request M3 to the fusion terminal, but at this time, because the response request is not completed, multiple registration requests are sent, which collides with itself, and the backoff time is calculated and backed off. Then the fusion terminal feeds back the device registration result M4 to the photovoltaic distributed terminal 2. When the photovoltaic distributed terminal 2 feeds back the fusion terminal authentication result M5, the photovoltaic distributed terminal 2 sends multiple response request information at this time, which collides with its own data, and the backoff time is calculated and backed off. After the backoff time, the photovoltaic distributed terminal 2 feeds back the fusion terminal authentication result M5.
[0081] Then, the photovoltaic distributed terminal n sends a device registration request M3 to the fusion terminal again after the backoff time.
[0082] Embodiment 2 of the present invention provides a multi-distributed photovoltaic device communication system based on a backoff algorithm, including: a fusion terminal and a photovoltaic distributed terminal, wherein the fusion terminal and the photovoltaic distributed terminal execute the multi-distributed photovoltaic device communication method based on the backoff algorithm described in Embodiment 1.
[0083] Compared with the prior art, the beneficial effects of the present invention include at least: the present invention provides a multi-distributed photovoltaic device communication method based on a backoff algorithm. First, the algorithm takes into account the access situation of multiple distributed photovoltaic devices, and can effectively solve the problem of device registration request collision of more distributed terminals. At the same time, the algorithm introduces the fusion of double random numbers and exponential backoff to avoid the problem of excessive backoff delay in two-way communication; secondly, the requests of both ends have timing guarantees, and are also based on the principle of minimum packet loss rate, thereby ensuring the fairness of the network and service quality.
[0084] The above are only preferred specific implementation modes of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical solutions and inventive concepts of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
[0085] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0086] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A communication method for multiple distributed photovoltaic devices based on backoff algorithm. It is characterized in that The following steps are involved: Step 1: Under normal circumstances, the fusion terminal sets the polling time interval for the fusion terminal to send active requests to the photovoltaic distributed terminal to the first fixed interval, which is recorded as the first time parameter T 1 ; Step 2: According to the device registration request sent by the photovoltaic distributed terminal, the device registration result given by the fusion terminal, and the fusion terminal authentication result given by the photovoltaic distributed terminal, set the second fixed interval, recorded as the second time parameter T 2 ; Step 3: Based on the first time parameter T 1 and the second time parameter T 2 , a backoff time function model is established by increasing random jitter delay; Step 4: According to the principle of minimum double-end packet loss rate of the fusion terminal and the photovoltaic distributed terminal, the initial parameters of the backoff time function model are obtained; Step 5: When the photovoltaic distributed terminal collides with the fusion terminal in making device registration requests, the backoff time function model is triggered to generate the backoff time and execute the delay.
2. According to claim 1, a multi-distributed photovoltaic device communication method based on a backoff algorithm, Features: The network topology of the fusion terminal and photovoltaic distributed terminal is half-duplex communication mode.
3. A multi-distributed photovoltaic device communication method based on a backoff algorithm according to claim 2, Features: In the half-duplex communication scenario and when the fusion terminal is normal, the ordinary active request sent by the fusion terminal is recorded as M1; the response of the photovoltaic distributed terminal is recorded as M2; after the registration of the photovoltaic distributed terminal devices is completed, the interval between the two messages is the polling interval of the fusion terminal, which is a fixed time and recorded as the first time parameter T 1 .
4. According to claim 2, a multi-distributed photovoltaic device communication method based on a backoff algorithm, Features: The photovoltaic distributed terminal sends a device registration request to the fusion terminal, which is recorded as M3; the fusion terminal queries whether the device is legal in the cloud according to the device order number and feedbacks the device registration result, which is recorded as M4; the photovoltaic distributed terminal registers and authenticates from the local information database and the server, and feedbacks the authentication result to the fusion terminal, which is recorded as M5; the whole time of transmitting the result M3 to M5 is set to a fixed time, which is recorded as the second time parameter T 2 .
5. A multi-distributed photovoltaic device communication method based on backoff algorithm according to claim 4, Features: When the photovoltaic distributed device terminal accesses the network and sends a request for device registration to the fusion terminal, the device state machine is first switched to the power-on state and the serial number, public key, and device state are transmitted, which is M3; then the fusion terminal queries whether there is device information locally, determines whether to query the legitimacy of the device in the cloud based on the device serial number, and performs encryption operations on it; at the same time, the organized device registration result and the terminal digital signature are returned together, and the fusion terminal sends the result to the photovoltaic distributed device terminal, which is M4. The above M3 to M4 process is recorded as the first process time parameter t 1 ; Then, the photovoltaic distributed device terminal confirms the digital signature of the fusion terminal identity in the local information database by decrypting the message, performs authentication on the server side and returns the above result to the fusion terminal, which is M5. The above process from M4 to M5 is recorded as the second process time parameter t 2 ; The entire time of transmitting the result M3 to M5 is set to a fixed time, recorded as the second time parameter T 2 , expressed as follows: T 2 =t 1 +t 2 (1) Where: T 2 is the second time parameter; t 1 is the first process time parameter; t 2 is the second process time parameter.
6. A multi-distributed photovoltaic device communication method based on backoff algorithm according to claim 5, Features: The backoff time function model grows monotonically and has an upper bound, which is an exponential function growth model.
7. A multi-distributed photovoltaic device communication method based on backoff algorithm according to claim 6, Features: The backoff time function model is as follows: in: T b For retreat time; T 1 is the first time parameter, T 2 is the second time parameter; random 1 (x 1 ) represents the first random function, random 2 (x 2 ) represents the second random function, x 1 Generate the upper limit of the first interval of random numbers, x 2 Generate the upper limit of the second interval of random numbers.
8. The multi-distributed photovoltaic device communication method based on backoff algorithm according to claim 5, Features: When a device authentication is not completed and the same photovoltaic distributed device terminal sends two or more registration requests, the backoff time is calculated and a delay is executed according to the backoff algorithm proposed in this application; or when a photovoltaic distributed device authentication is not completed and different photovoltaic distributed device terminals send two or more registration requests to the fusion terminal, the backoff time is calculated and a delay is executed according to the backoff algorithm proposed in this application.
9. The method for communicating multiple distributed photovoltaic devices based on a backoff algorithm according to claim 5, Features: When the converged terminal sends two active requests and a collision occurs, the backoff time is set to the third time parameter T 3 implement.
10. A multi-distributed photovoltaic device communication method based on backoff algorithm according to claim 1, Features: The initial parameters include T 1 , T 2 ,t 1 ,t 2 In step 2, the entire time of the transmission result M3 to M5 is set to a fixed time, which is recorded as the second time parameter T 2 , but considering the reduction of packet loss rate, t 1 ,t 2 Assign initial values, here for t 1 ,t 2 Set initial values to ensure they have a known, controllable base value during the backoff process.
11. A communication method and system for multiple distributed photovoltaic devices based on backoff algorithm. include: Fusion terminal and photovoltaic distributed terminal, characterized by: A multi-distributed photovoltaic device communication method based on a backoff algorithm according to any one of claims 1-9 is executed between the fusion terminal and the photovoltaic distributed terminal.
