Four-in-one Converged Terminal Protocol Self-Identification System and Method
Through the four-compatible terminal protocol self-identification system, the cloud storage and terminal computing capabilities are used to solve the problems of instability in the grid scheduling system and insufficient terminal storage space caused by inconsistent photovoltaic inverter protocols, and efficient protocol matching and grid stability improvement are achieved.
Patent Information
- Application Number
- CN202510413462.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-03
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2045-04-03
AI Technical Summary
In the prior art, inconsistent photovoltaic inverter protocols makes it difficult for the grid scheduling system to monitor and control in real time, resulting in instability of the system, and limited terminal storage space cannot be stored in the entire protocol library, and the matching efficiency is low.
The self-identification system of four fusion terminal protocols is adopted, through the collaborative work of photovoltaic inverter, four fusion terminals and cloud, the full protocol library of cloud storage is used, and the general solution is extracted in combination with feature fields, and the scores are generated in sequence for matching, supplemented by terminal computing capabilities to assist in cloud protocol matching.
It improves the success rate and efficiency of photovoltaic inverter protocol matching, reduces matching failures, and improves the stability of the power grid and the storage capacity of the terminal.
Smart Images

Figure CN119946159B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of photovoltaic inverters, and specifically to a four-in-one fusion terminal protocol self-identification system and method. Background Art
[0002] The "four-in-one" of photovoltaic refers to the four characteristics of a photovoltaic power generation system, namely observable, measurable, adjustable, and controllable. The purpose is to ensure that distributed photovoltaics can be safely, stably, and efficiently connected to the power grid, and to solve the possible impacts and problems on the power grid during the photovoltaic grid connection process. The popularization speed of distributed photovoltaics is getting faster and faster, but the difficulty of grid connection has always been a bottleneck. Since the inverter protocols are not unified, it is very difficult for the power grid dispatching system to monitor and control these devices in real time. For example, when problems such as voltage over-limit and reverse overload occur in the power grid, without a unified communication protocol, the dispatching system simply cannot respond quickly, which may lead to the instability of the entire system; the full protocol library occupies a large amount of storage space, while the storage space of the terminal is limited and cannot store the full protocol library. Currently, the method of traversing all protocols one by one is usually adopted for troubleshooting, and the matching efficiency is relatively low; therefore, how to improve the matching efficiency and success rate of the terminal for the inverter protocol has become an urgent problem to be solved. Summary of the Invention
[0003] The purpose of the present invention is to provide a four-in-one fusion terminal protocol self-identification system and method to solve the problems raised in the prior art.
[0004] To achieve the above purpose, the present invention provides the following technical solution: A four-in-one fusion terminal protocol self-identification system, including a photovoltaic inverter, a four-in-one fusion terminal, and a cloud; the photovoltaic inverter is connected to the four-in-one fusion terminal; the four-in-one fusion terminal is connected to the cloud and is used to store a first type of protocol and a second type of protocol. The first type of protocol is used for protocol matching with the target photovoltaic inverter, and the second type of protocol is used to assist the cloud in determining the target general solution set of the target photovoltaic inverter on the basis of the first type of protocol; the cloud user determines the target general solution set of the target photovoltaic inverter, processes the mutually exclusive general solutions in the target general solution set, obtains the score of the photovoltaic inverter protocol, and matches the photovoltaic inverter protocols in the order of the scores.
[0005] The four-in-one fusion terminal further includes a data acquisition module, a terminal protocol matching module, a terminal transmission module, a control module, and a storage module; the data acquisition module is used to obtain the electrical parameters and operating status data of the photovoltaic inverter; the terminal protocol matching module is used to match the first type and the second type of protocols stored on the four-in-one fusion terminal with the photovoltaic inverter; the terminal transmission module is used to send the communication data of the photovoltaic inverter and the matching result of the protocol on the four-in-one fusion terminal to the cloud; the control module is used to control the photovoltaic inverter; the storage module is used to store the first type and the second type of protocols.
[0006] The cloud also includes a cloud storage module, a cloud matching module, a data transmission module, and a score determination module; the cloud storage module is used to store the protocol information of the photovoltaic inverter; the cloud matching module is used to match the protocols stored in the cloud with the photovoltaic inverter; the data transmission module is used to realize the communication connection between the cloud and the four-in-one fusion terminal; the score determination module determines the score of the photovoltaic inverter protocol stored in the cloud based on the winning times of the general solutions. The cloud matching module first determines the target general solution set of the target photovoltaic inverter, processes the mutually exclusive general solutions in the target general solution set to obtain the winning times of the general solutions, and then matches the protocols stored in the cloud with the photovoltaic inverter in the order of scores.
[0007] To achieve the above object, the present invention provides the following technical solutions: A four-in-one fusion terminal protocol self-identification method, including the following steps:
[0008] S11, the four-in-one fusion terminal obtains the device information of the target photovoltaic inverter and sends the device information of the target photovoltaic inverter to the cloud;
[0009] S12, the four-in-one fusion terminal analyzes the communication data of the target photovoltaic inverter and uses the first type of protocol stored on the four-in-one fusion terminal to match the protocol of the target photovoltaic inverter; at the same time, the cloud obtains the starting target general solution of the target photovoltaic inverter protocol based on the device information of the target photovoltaic inverter.
[0010] S13, the cloud uses the photovoltaic inverter protocols under different general solution combinations to match the protocol of the target photovoltaic inverter, and determines the target general solution set of the target photovoltaic inverter based on the matching results;
[0011] S14, the cloud uses the target general solution set of the target photovoltaic inverter to generate the scores of the general solution combinations of the target photovoltaic inverter, and matches the protocol of the target photovoltaic inverter with the photovoltaic inverter protocol including the general solution combination according to the score order of the general solution combinations.
[0012] Specifically, in step S12, the obtaining of the target general solution of the photovoltaic inverter protocol further includes the following steps:
[0013] Obtain the photovoltaic inverter protocol information stored in the cloud, extract the characteristic fields from the photovoltaic inverter protocol information, and determine the general solution of the photovoltaic inverter protocol according to the characteristic fields; if the number of photovoltaic inverter protocols corresponding to the characteristic fields is not less than the threshold, the characteristic fields are the general solutions of the photovoltaic inverter protocol, otherwise the characteristic fields are the specific solutions of the photovoltaic inverter protocol; establish and store a connection database between the device information, protocol, and general solution according to the photovoltaic inverter device information stored in the cloud; the cloud searches in the connection database based on the device information of the target photovoltaic inverter. If the number of general solutions is not zero, add the found general solutions to the starting target general solution. If the number of general solutions is zero, there is no starting target general solution for the target photovoltaic inverter.
[0014] Specifically, in step S13, the determining the target general solution set of the target photovoltaic inverter based on the matching result further includes the following steps:
[0015] Based on the general solution information included in the protocol, arrange the photovoltaic inverter protocols stored in the cloud so that the protocols containing the same general solution are arranged in the same row; at the same time, arrange the order of the general solutions so that the difference between adjacent general solution combinations is minimized.
[0016] Starting from the photovoltaic inverter protocol in the first row, select x photovoltaic inverter protocols in each row to match with the target photovoltaic inverter, and output the matching result to obtain the confidence level. Obtain the average confidence level of the x photovoltaic inverter protocols in the same row; compare the average confidence levels of the x photovoltaic inverter protocols in two adjacent different rows, and increment the winning times of the corresponding general solution in the row with the higher average confidence level by one; after traversing all rows, obtain the winning times of each general solution; add the general solutions with winning times not less than one to the target general solution set of the target photovoltaic inverter.
[0017] Specifically, in step S14, it further includes the following steps:
[0018] Process the mutually exclusive general solutions in the target general solution set, obtain the photovoltaic inverter protocols containing the mutually exclusive general solutions, and select the combination with the most same general solutions in the target general solution set from the obtained photovoltaic inverter protocols for verification. Respectively obtain the protocol matching results under the mutually exclusive general solutions to obtain the average confidence level under the mutually exclusive general solutions. Exclude the mutually exclusive general solutions with low average confidence levels from the target general solution set and set the winning times to zero. At the same time, increment the winning times of the mutually exclusive general solutions with high average confidence levels by one.
[0019] For the starting target general solution of the target photovoltaic inverter protocol, assign a winning times L, where L is a constant; match the photovoltaic inverter protocols in order according to the score of the photovoltaic inverter protocol. The score is determined by the following formula, F = ∑n k , where F is the score of the photovoltaic inverter protocol, n kDenote the winning times of the k-th general solution in the photovoltaic inverter protocol.
[0020] Specifically, determining the set of target general solutions of the target photovoltaic inverter further includes the following steps:
[0021] Obtain the time t1 spent by the cloud to determine the set of target general solutions, t1 = ∑t1 i , t1 i denotes the time for protocol matching of the i-th photovoltaic inverter protocol on the cloud; obtain the time t2 for matching completed through the first type of protocol on the four-in-one fusion terminal, t2 = ∑t2 j , t2 j denotes the time for matching the j-th protocol on the four-in-one fusion terminal; obtain the difference Δt between t1 and t2. If Δt is greater than zero, obtain the first type of protocol information stored on the four-in-one fusion terminal, and obtain the general solution of the protocol from the first type of protocol; according to the historical protocol matching data on the four-in-one fusion terminal, determine the number m of protocols that can be matched on the four-in-one fusion terminal within the time of Δt, and store the m second type of protocols on the four-in-one fusion terminal, where the second type of protocol is a protocol with the general solution included in the first type of protocol; if Δt is not greater than zero, the four-in-one fusion terminal does not store the second type of protocol.
[0022] Specifically, arranging the general solutions of the photovoltaic inverter protocols stored on the cloud based on the general solution information included in the protocol further includes the following steps:
[0023] Set the initial temperature, set the initial sorting method of the general solutions of the photovoltaic inverter protocols stored on the cloud, use the set initial sorting method as the initial solution, and determine the loss value corresponding to the initial solution; use the initial solution as the current solution and the initial temperature as the current temperature; the loss value is determined according to the error between the general solutions. Obtain the number of different general solutions in two adjacent different rows, and add up the number of different general solutions in all adjacent two different rows to obtain the loss value;
[0024] S61. For the counting unit num = 1, 2,..., N, repeat steps S61 to S63; N is the set number of loops;
[0025] S62. Generate a perturbation on the basis of the current solution to change the sorting method of the general solutions of the photovoltaic inverter protocol; use the new sorting method of the perturbed general solutions of the photovoltaic inverter protocol as the new solution, and determine the loss value corresponding to the new solution; calculate the increment of the loss value brought by the new solution. If the increment is less than 0, accept the new solution as the new current solution. If the increment is greater than or equal to 0, accept the new solution as the new current solution with a probability.
[0026] S63. Lower the current temperature according to the set temperature reduction plan. If the current temperature is greater than or equal to the set threshold, go to step S61; if the current temperature is less than the set threshold, determine the sorting method of the general solutions of the PV inverter protocol according to the current solution.
[0027] Compared with the prior art, the beneficial effects of the present invention are as follows: By storing the full protocol library in the cloud, the situation of protocol matching failure is reduced; Utilizing the computing power of the four-in-one fusion terminal, after completing its own tasks, it assists the cloud during the protocol matching process in the cloud, further improving the matching efficiency; Extract the general solutions included in the protocol through the characteristic fields in the protocol, obtain the scores of the full protocols stored in the cloud according to the included general solutions, and perform matching in the order of the scores. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a schematic structural diagram of a four-in-one fusion terminal protocol self-identification system of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0029] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0030] Embodiment: As Figure 1 shown, the present invention provides a technical solution, a four-in-one fusion terminal protocol self-identification system, including a PV inverter, a four-in-one fusion terminal, and a cloud; the PV inverter is connected to the four-in-one fusion terminal; the four-in-one fusion terminal is connected to the cloud and is used to store the first type of protocol and the second type of protocol. The first type of protocol is used to perform protocol matching with the target PV inverter, and the second type of protocol is used to assist the cloud in determining the target general solution set of the target PV inverter on the basis of the first type of protocol; The cloud user determines the target general solution set of the target PV inverter, processes the mutually exclusive general solutions in the target general solution set, obtains the scores of the PV inverter protocols, and performs matching on the PV inverter protocols in the order of the scores.
[0031] The four-in-one fusion terminal further includes a data acquisition module, a terminal protocol matching module, a terminal transmission module, a control module, and a storage module; the data acquisition module is used to obtain the electrical parameters and operating status data of the photovoltaic inverter; the terminal protocol matching module is used to match the first-class and second-class protocols stored on the four-in-one fusion terminal with the photovoltaic inverter; the terminal transmission module is used to send the communication data of the photovoltaic inverter and the matching result of the protocols on the four-in-one fusion terminal to the cloud; the control module is used to control the photovoltaic inverter; the storage module is used to store the first-class and second-class protocols. The acquisition data items of the data acquisition module include voltage, active power, reactive power, power factor, etc., and the acquisition function and acquisition time interval can be set for tasks and solutions through remote or local commands; the control module is used to control the on / off, active power, reactive power, power factor, active power percentage, reactive power percentage, etc. of the photovoltaic inverter.
[0032] The cloud further includes a cloud storage module, a cloud matching module, a data transmission module, and a score determination module; the cloud storage module is used to store the protocol information of the photovoltaic inverter; the cloud matching module is used to match the protocols stored in the cloud with the photovoltaic inverter; the data transmission module is used to realize the communication connection between the cloud and the four-in-one fusion terminal; the score determination module determines the score of the photovoltaic inverter protocol stored in the cloud based on the winning times of the general solutions.
[0033] The cloud matching module first determines the target general solution set of the target photovoltaic inverter, processes the mutually exclusive general solutions in the target general solution set to obtain the winning times of the general solutions, and then matches the protocols stored in the cloud with the photovoltaic inverter in the order of scores.
[0034] Embodiment: The present invention provides a technical solution, a four-in-one fusion terminal protocol self-identification method, and the specific process is as follows.
[0035] First, the four-in-one fusion terminal obtains the device information of the target photovoltaic inverter, sends the device information to the cloud, and the cloud determines whether there is a matching protocol based on the device information of the target photovoltaic inverter. If there is, the matching is completed; if there is no matching protocol information in the cloud, the starting target general solution of the target photovoltaic inverter protocol is determined according to the device information, or there is no starting target general solution.
[0036] Next, the four-in-one fusion terminal matches the commonly used protocols stored locally with the target photovoltaic inverter. At the same time, the cloud determines the target general solution set of the target photovoltaic inverter through matching; if the four-in-one fusion terminal can determine the protocol of the target photovoltaic inverter by matching the commonly used protocols stored locally with the target photovoltaic inverter, the matching is completed, otherwise, it enters the next step, which is divided into two cases.
[0037] First, if the four - adaptable fusion terminal completes the matching between the common protocol and the target photovoltaic inverter before the cloud determines the target general solution set of the target photovoltaic inverter, the four - adaptable fusion terminal stores an additional second - type protocol, and the four - adaptable fusion terminal starts to assist in the movement to determine the target general solution set of the target photovoltaic inverter;
[0038] Second, if the four - adaptable fusion terminal fails to complete the matching between the common protocol and the target photovoltaic inverter before the cloud determines the target general solution set of the target photovoltaic inverter, the four - adaptable fusion terminal does not store the second - type protocol;
[0039] After determining the target general solution set of the target photovoltaic inverter, the cloud processes the mutually exclusive general solutions in the target general solution set to obtain the winning times of the general solutions, and then matches the protocols stored in the cloud with the photovoltaic inverter in the order of scores.
[0040] According to the general solutions included in the photovoltaic inverter protocol, the photovoltaic inverters are matched in order, avoiding the time waste and resource consumption caused by busy matching.
[0041] The protocol self - recognition method of the four - adaptable fusion terminal specifically includes the following steps:
[0042] S11, The four - adaptable fusion terminal obtains the device information of the target photovoltaic inverter and sends the device information of the target photovoltaic inverter to the cloud.
[0043] S12, The four - adaptable fusion terminal analyzes the communication data of the target photovoltaic inverter and performs protocol matching on the target photovoltaic inverter using the first - type protocol stored on the four - adaptable fusion terminal; at the same time, based on the device information of the target photovoltaic inverter, the cloud obtains the starting target general solution of the target photovoltaic inverter protocol; Obtaining the target general solution of the photovoltaic inverter protocol further includes the following steps:
[0044] Obtain the photovoltaic inverter protocol information stored in the cloud, extract the characteristic fields from the photovoltaic inverter protocol information, and determine the general solution of the photovoltaic inverter protocol according to the characteristic fields; if the number of photovoltaic inverter protocols corresponding to the characteristic fields is not less than the threshold, the characteristic field is the general solution of the photovoltaic inverter protocol, otherwise the characteristic field is the particular solution of the photovoltaic inverter protocol; according to the photovoltaic inverter device information stored in the cloud, establish and store the connection database between the device information, protocol, and general solution; the cloud searches in the connection database based on the device information of the target photovoltaic inverter. If the number of general solutions is not zero, add the found general solutions to the starting target general solution. If the number of general solutions is zero, there is no starting target general solution for the target photovoltaic inverter.
[0045] S13, The cloud performs protocol matching on the target photovoltaic inverter using the photovoltaic inverter protocols under different general solution combinations, and determines the target general solution set of the target photovoltaic inverter based on the matching results, specifically including the following steps:
[0046] Based on the general solution information included in the protocol, arrange the photovoltaic inverter protocols stored in the cloud so that the protocols containing the same general solution are arranged in the same row; at the same time, arrange the order of the general solutions so that the difference between adjacent general solution combinations is minimized.
[0047] Starting from the photovoltaic inverter protocol in the first row, select x photovoltaic inverter protocols in each row to match with the target photovoltaic inverter, and output the matching result to obtain the confidence level, and obtain the average confidence level of the x photovoltaic inverter protocols in the same row; compare the average confidence levels of the x photovoltaic inverter protocols in two adjacent different rows, and increment the winning times of the corresponding general solution in the row with the higher average confidence level by one; after traversing all rows, obtain the winning times of each general solution; add the general solutions with winning times not less than one to the target general solution set of the target photovoltaic inverter.
[0048] The general solutions of the photovoltaic inverter protocols in the same row are the same, for example, they all correspond to the same header flag or packet length; for other characteristic fields, such as packet length, etc., no restrictions are imposed.
[0049] There are different particular solutions for the photovoltaic inverters in two adjacent rows. For example, the header flags of the photovoltaic inverter protocols in the previous row and the next row are different. According to the matching result, the winning header flag can be determined. The winning header flag is more likely to match the target photovoltaic inverter. Therefore, it is possible to give priority to matching the protocol with the winning header flag with the target photovoltaic inverter first, so as to speed up the matching speed.
[0050] S14. The cloud uses the target general solution set of the target photovoltaic inverter to generate the score of the general solution combination of the target photovoltaic inverter, which specifically includes the following steps:
[0051] Process the mutually exclusive general solutions in the target general solution set, obtain the photovoltaic inverter protocols containing the mutually exclusive general solutions, and select the combination with the most same general solutions in the target general solution set from the obtained photovoltaic inverter protocols for verification. Respectively obtain the protocol matching results under the mutually exclusive general solutions, obtain the average confidence level under the mutually exclusive general solutions, exclude the mutually exclusive general solutions with low average confidence level from the target general solution set and set the winning times to zero, and at the same time increment the winning times of the mutually exclusive general solutions with high average confidence level by one.
[0052] For the starting target general solution of the target photovoltaic inverter protocol, assign the winning times L, where L is a constant; according to the score of the photovoltaic inverter protocol, match the photovoltaic inverter protocols in order, and the score is determined by the following formula, F = ∑n k , where F is the score of the photovoltaic inverter protocol, and n k represents the winning times of the kth general solution in the photovoltaic inverter protocol.
[0053] During the process of determining the winning general solution, there may be cases of mutually exclusive general solutions. For example, two different header flags are both added to the target general solution set because there is no comparison between these two header flags. The PV inverter protocols with these two header flags are respectively matched with the target PV inverter, and the winning header flag is determined according to the matching results. The PV inverter protocol with the most identical general solutions is used for matching. For example, if the target general solution set includes the data packet length, tail field, and checksum algorithm, the PV inverter protocol that includes more elements in the target general solution set is preferably selected to verify the mutually exclusive general solutions.
[0054] The starting target general solution is determined by the device information of the PV inverter and has a relatively high confidence level, which needs to be considered preferentially. If there is a starting target general solution, a relatively large winning count L is manually assigned, so that the protocol containing the starting target general solution will be preferentially matched.
[0055] According to the score order of the general solution combinations, the PV inverter protocols containing the general solution combinations are used to match the protocols of the target PV inverter.
[0056] During the process of determining the target general solution set of the target PV inverter, the following steps are further included:
[0057] Obtain the time t1 spent by the cloud to determine the target general solution set, t1 = ∑t1 i , t1 i represents the time for protocol matching of the i-th PV inverter protocol on the cloud; obtain the time t2 for the four-in-one fusion terminal to complete the matching through the first type of protocol, t2 = ∑t2 j , t2 j represents the time for the four-in-one fusion terminal to match the j-th protocol; obtain the difference Δt between t1 and t2. If Δt is greater than zero, obtain the first type of protocol information stored on the four-in-one fusion terminal, and obtain the general solution of the protocol from the first type of protocol. According to the historical protocol matching data on the four-in-one fusion terminal, determine the number m of protocols that can be matched on the four-in-one fusion terminal within the time of Δt, and store the m second type of protocols on the four-in-one fusion terminal. The second type of protocol is the protocol with the general solution included in the first type of protocol. If Δt is not greater than zero, the four-in-one fusion terminal does not store the second type of protocol.
[0058] On the cloud, x protocols need to be used to match each general solution with the target PV inverter protocol, so protocol matches need to be performed, where a is the number of general solutions. This The time for the secondary protocol matching, i.e., the time t1 spent by the cloud to determine the target general solution set, can be determined according to the historical matching data of each protocol on the cloud; this time for the cloud to determine the target general solution set can be determined in advance without relying on the target photovoltaic inverter because the general solution, the matching time of each protocol, and the protocols to be matched are all determined;
[0059] Similarly, based on the historical data of the four-in-one fusion terminal, the matching time of the four-in-one fusion terminal for common protocols can be roughly estimated. The common protocols are the first type of protocols stored on the four-in-one fusion terminal;
[0060] During the process of the cloud determining the target general solution set, the four-in-one fusion terminal is simultaneously matching the target photovoltaic inverter with common protocols. The computing power of the four-in-one fusion terminal is lower than that of the cloud, but the number of protocols to be processed is much smaller than that of the cloud. If the four-in-one fusion terminal can complete the matching of common protocols before the cloud determines the target general solution set, it can be used to assist the cloud in determining the target general solution set. At the same time, since the common protocols have been matched, some general solutions can be determined by extending on the basis of the common protocols. First, determine the general solutions in the common protocols. Since the cloud has determined them, the four-in-one fusion terminal can directly obtain the general solutions of the common protocols from the cloud. Then, the four-in-one fusion terminal can determine the number of protocols that have been verified under the general solutions. Since the average confidence level of determining the general solution requires verifying x protocols, the four-in-one fusion terminal is also used to store the second type of protocols to supplement the protocols containing the general solutions and determine the average confidence level of the general solution. According to Δt and the historical protocol matching data on the four-in-one fusion terminal, the number of protocols m that the four-in-one fusion terminal can match within Δt can be determined. Then, the four-in-one fusion terminal can complete the matching of m second type of protocols and common protocols during the process of the cloud determining the target general solution set. Preferably, these m second type of protocols are preferentially selected as the protocols containing the same general solution as a first type of protocol. When the number of protocols containing the same general solution is not less than x, then select the protocols containing the same general solution as another first type of protocol. In this way, the four-in-one fusion terminal can obtain the average confidence level of the general solution and send the average confidence level to the cloud to accelerate the process of the cloud determining the target general solution set.
[0061] Specifically, arranging the general solutions of the photovoltaic inverter protocols stored in the cloud based on the general solution information contained in the protocols further includes the following steps:
[0062] Set the initial temperature, set the initial sorting method of the general solution of the photovoltaic inverter protocol stored in the cloud, use the set initial sorting method as the initial solution, and determine the loss value corresponding to the initial solution; take the initial solution as the current solution and the initial temperature as the current temperature; the loss value is determined according to the error between general solutions, obtain the number of different general solutions in two adjacent different rows, and add up the number of different general solutions in all adjacent two different rows to obtain the loss value.
[0063] S61. For the counting units num = 1, 2, …, N, repeat steps S61 to S63; N is the set number of loops.
[0064] S62. Generate a perturbation on the basis of the current solution to change the sorting method of the general solution of the photovoltaic inverter protocol; use the new sorting method of the perturbed general solution of the photovoltaic inverter protocol as the new solution, and determine the loss value corresponding to the new solution; calculate the increment of the loss value brought by the new solution. If the increment is less than 0, accept the new solution as the new current solution. If the increment is greater than or equal to 0, accept the new solution as the new current solution with a certain probability.
[0065] S63. Reduce the current temperature according to the set temperature reduction scheme. If the current temperature is greater than or equal to the set threshold, go to step S61; if the current temperature is less than the set threshold, determine the sorting method of the general solution of the photovoltaic inverter protocol according to the current solution.
[0066] Since it does not directly sort the entire protocol, it can significantly reduce the number of elements participating in the sorting.
[0067] For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and without departing from the spirit or basic characteristics of the present invention, the present invention can be implemented in other specific forms. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present invention is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be included in the present invention. Any reference signs in the claims should not be regarded as limiting the claimed claims.
Claims
1. Four - fold fusion terminal protocol self - recognition method, characterized in that, Including the following steps: S11, The four - adaptable fusion terminal obtains the device information of the target photovoltaic inverter and sends the device information of the target photovoltaic inverter to the cloud; S12, The four - adaptable fusion terminal analyzes the communication data of the target photovoltaic inverter and performs protocol matching on the target photovoltaic inverter using the first - type protocol stored on the four - adaptable fusion terminal; Meanwhile, based on the device information of the target photovoltaic inverter, the cloud obtains the starting target general solution of the target photovoltaic inverter protocol; S13, The cloud performs protocol matching on the target photovoltaic inverter using the photovoltaic inverter protocols under different general - solution combinations and determines the target general - solution set of the target photovoltaic inverter based on the matching results; S14, The cloud uses the target general - solution set of the target photovoltaic inverter to generate the scores of the general - solution combinations of the target photovoltaic inverter. According to the order of the scores of the general - solution combinations, it matches the protocol of the target photovoltaic inverter with the photovoltaic inverter protocol containing the general - solution combination; Obtain the photovoltaic inverter protocol information stored in the cloud, extract the feature fields from the photovoltaic inverter protocol information, and determine the general solution of the photovoltaic inverter protocol according to the feature fields; If the number of photovoltaic inverter protocols corresponding to the feature field is not less than the threshold, the feature field is the general solution of the photovoltaic inverter protocol, otherwise the feature field is the particular solution of the photovoltaic inverter; Based on the general - solution information included in the protocol, arrange the general solutions of the photovoltaic inverter protocols stored in the cloud so that the protocols containing the same general solution are arranged in the same row; Meanwhile, arrange the order of the general solutions so that the difference between adjacent general solutions is minimized; Starting from the photovoltaic inverter protocol in the first row, select x photovoltaic inverter protocols in each row to match with the target photovoltaic inverter, output the matching result to obtain the confidence level, and obtain the average confidence level of the x photovoltaic inverter protocols in the same row; In step S14, the following steps are further included: Process the mutually exclusive general solutions in the target general - solution set, obtain the photovoltaic inverter protocols containing the mutually exclusive general solutions, and select the combination containing the most same general solutions in the target general - solution set from the obtained photovoltaic inverter protocols for verification. Respectively obtain the protocol matching results under the mutually exclusive general solutions to obtain the average confidence level under the mutually exclusive general solutions. Exclude the mutually exclusive general solutions with low average confidence level from the target general - solution set and set the winning times to zero. At the same time, add one to the winning times of the mutually exclusive general solutions with high average confidence level; For the starting general solution of the target photovoltaic inverter protocol, a winning times L is assigned, where L is a constant; according to the scores of the photovoltaic inverter protocols, the photovoltaic inverter protocols are matched in sequence, and the scores are determined by the following formula: F = ∑n k , where F is the score of the photovoltaic inverter protocol, and n k represents the winning times of the k-th general solution in the photovoltaic inverter protocol.
2. The four-way fusion terminal protocol self-identification method according to claim 1, wherein, In step S12, the obtaining of the target general solution of the photovoltaic inverter protocol further includes the following steps: According to the photovoltaic inverter device information stored in the cloud, establish and store the connection database between the device information, protocol, and general solution; The cloud searches in the connection database based on the device information of the target photovoltaic inverter. If the number of general solutions is not zero, add the found general solutions to the starting target general solution. If the number of general solutions is zero, there is no starting target general solution for the target photovoltaic inverter.
3. The four-way fusion terminal protocol self-identification method according to claim 2, wherein, In step S13, the determining of the target general - solution set of the target photovoltaic inverter based on the matching results further includes the following steps: Compare the average confidence levels of x photovoltaic inverter protocols in two adjacent different rows, and increment the win count of the corresponding general solution in the row with the higher average confidence level by one; after traversing all rows, obtain the win counts of each general solution; add the general solutions with win counts not less than one to the set of target general solutions of the target photovoltaic inverter.
4. The four-way fusion terminal protocol self-identification method according to claim 3, characterized in that, Determining the set of target general solutions of the target photovoltaic inverter further includes the following steps: Obtain the time t1 spent by the cloud to determine the target general solution set, t1 = ∑t1 i , t1 i represents the time for protocol matching of the i-th photovoltaic inverter protocol on the cloud; obtain the time t2 for the four-in-one fusion terminal to complete matching through the first type of protocol, t2 = ∑t2 j , t2 j represents the time for the four-in-one fusion terminal to match the j-th protocol; obtain the difference Δt between t1 and t2. If Δt is greater than zero, obtain the first type of protocol information stored on the four-in-one fusion terminal, and obtain the general solution of the protocol from the first type of protocol; according to the historical protocol matching data on the four-in-one fusion terminal, determine the number m of protocols that can be matched on the four-in-one fusion terminal within the time of Δt, and store the m second type of protocols on the four-in-one fusion terminal. The second type of protocol is the protocol with the general solution included in the first type of protocol; if Δt is not greater than zero, the four-in-one fusion terminal does not store the second type of protocol.
5. The four-way fusion terminal protocol self-identification method according to claim 3, characterized in that, Based on the general solution information included in the protocol, arranging the general solutions of the photovoltaic inverter protocols stored in the cloud further includes the following steps: Set the initial temperature, set the initial sorting method of the general solutions of the photovoltaic inverter protocols stored in the cloud, use the set initial sorting method as the initial solution, and determine the loss value corresponding to the initial solution; use the initial solution as the current solution and the initial temperature as the current temperature; the loss value is determined based on the error between general solutions, obtain the number of different general solutions in two adjacent different rows, and add up the number of different general solutions in all adjacent different rows to obtain the loss value; S61. For the counting unit num = 1, 2,..., N, repeat steps S61 to S63; N is the set number of loops; S62. Generate a perturbation on the basis of the current solution to change the sorting method of the general solutions of the photovoltaic inverter protocols; use the new sorting method of the perturbed general solutions of the photovoltaic inverter protocols as the new solution, and determine the loss value corresponding to the new solution; calculate the increment of the loss value brought by the new solution, if the increment is less than 0, accept the new solution as the new current solution, if the increment is greater than or equal to 0, accept the new solution as the new current solution with a certain probability; S63. Lower the current temperature according to the set temperature reduction scheme, if the current temperature is greater than or equal to the set threshold, enter step S61; if the current temperature is less than the set threshold, determine the sorting method of the general solutions of the photovoltaic inverter protocols according to the current solution.
6. Four-way fusion terminal protocol self-identification system, using the four-way fusion terminal protocol self-identification method as described in claim 1, characterized in that, It includes a photovoltaic inverter, a four-in-one fusion terminal, and a cloud; the photovoltaic inverter is connected to the four-in-one fusion terminal; the four-in-one fusion terminal is connected to the cloud and is used to store the first type of protocol and the second type of protocol. The first type of protocol is used for protocol matching with the target photovoltaic inverter, and the second type of protocol is used to assist the cloud in determining the set of target general solutions of the target photovoltaic inverter on the basis of the first type of protocol; the cloud user determines the set of target general solutions of the target photovoltaic inverter, processes the mutually exclusive general solutions in the set of target general solutions to obtain the scores of the photovoltaic inverter protocols, and matches the photovoltaic inverter protocols in the order of scores.
7. The four-way fusion terminal protocol self-identification system according to claim 6, wherein, The four-in-one fusion terminal further includes a data acquisition module, a terminal protocol matching module, a terminal transmission module, a control module, and a storage module; the data acquisition module is used to obtain the electrical parameters and operating status data of the photovoltaic inverter; the terminal protocol matching module is used to match the first type and the second type of protocols stored on the four-in-one fusion terminal with the photovoltaic inverter; the terminal transmission module is used to send the communication data of the photovoltaic inverter and the matching results of the protocols on the four-in-one fusion terminal to the cloud; the control module is used to control the photovoltaic inverter; the storage module is used to store the first type and the second type of protocols.
8. The four-way fusion terminal protocol self-identification system according to claim 7, characterized in that, The cloud also includes a cloud storage module, a cloud matching module, a data transmission module, and a score determination module; the cloud storage module is used to store the protocol information of the photovoltaic inverter; the cloud matching module is used to match the protocols stored in the cloud with the photovoltaic inverter; the data transmission module is used to realize the communication connection between the cloud and the four-in-one fusion terminal; the score determination module determines the score of the photovoltaic inverter protocol stored in the cloud based on the winning times of the general solution.
9. The four-way fusion terminal protocol self-identification system according to claim 8, characterized in that, The cloud matching module first determines the target general solution set of the target photovoltaic inverter, processes the mutually exclusive general solutions in the target general solution set to obtain the winning times of the general solution, and then matches the protocols stored in the cloud with the photovoltaic inverter in the order of scores.
Citation Information
Patent Citations
Equipment data management system and method based on artificial intelligence
CN117421335A
Photovoltaic inverter protocol adaptation method based on cloud service
CN118433264A
Method and device for identifying network application layer protocol
CN118972294A