Power distribution intelligent gateway on-site rapid debugging system and method
By designing the on-site rapid debugging system and methods of the smart distribution gateway, the problem of low remote debugging efficiency after on-site maintenance is solved, fast and efficient on-site debugging is achieved, and maintenance efficiency is improved.
Patent Information
- Application Number
- CN202510128066.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-05
- Publication Date
- 2025-03-11
AI Technical Summary
After the on-site maintenance of the distribution intelligent gateway, the reliance on remote intelligent debugging leads to inefficient on-site operation, and maintenance personnel wait for debugging results for too long.
Design a power distribution intelligent gateway rapid debugging system and method on site. By pre-recording debugging data, reasonably adjusting the data according to the on-site situation, converting the intelligent gateway to simulated debugging mode to ensure the rationality and correctness of debugging.
It realizes fast and efficient debugging and testing of the distribution intelligent gateway, avoiding the on-site problems caused by remote debugging after maintenance and the inability to solve instantly and personnel waiting, greatly improving the efficiency of debugging operations.
Smart Images

Figure CN119603104A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of gateway data integration, and in particular to an on-site rapid debugging system and method for a power distribution intelligent gateway. Background Art
[0002] Compared with traditional gateways, the power distribution intelligent gateway can realize the automatic collection and analysis of power distribution data, and receive control instructions from the control end to adjust the operation. Of course, considering the different operating problems of the gateway and the accuracy required for the gateway to work, it is necessary to reasonably debug the intelligent gateway.
[0003] At present, the debugging of the power distribution intelligent gateway is basically carried out through remote control operations, which greatly facilitates the debugging efficiency of the power distribution intelligent gateway. However, when there is a problem with the intelligent gateway and on-site maintenance is required, if the maintenance is completed and the remote intelligent debugging operation is still required, it will not only increase the waiting time of the on-site operators, but also be detrimental to improving the efficiency of the on-site maintenance personnel. Therefore, it is necessary to equip the debugging system of the on-site intelligent gateway. If the fast on-site debugging of the power distribution intelligent gateway is also considered as the problem of on-site debugging, it can better improve the efficiency of on-site operations.
[0004] Therefore, it is an urgent problem to be solved to design a system and method for on-site rapid debugging of distribution intelligent gateways, which can achieve rapid debugging that adapts to the site by adaptively adjusting the corresponding debugging configuration of the target intelligent gateway, greatly improving the maintenance efficiency and debugging efficiency of the distribution intelligent gateway by on-site operators. Summary of the invention
[0005] The purpose of the present invention is to provide a method for rapid on-site debugging of a power distribution intelligent gateway, by pre-recording the debugging data required before debugging the system to be debugged on-site to form the basis of the debugging data required for on-site debugging, and then reasonably modifying and adjusting the basic data according to the debugging to be performed on-site to adapt to the data information of the intelligent gateway after on-site repair and maintenance, thereby ensuring the rationality and correctness of on-site debugging. At the same time, on-site debugging converts the intelligent gateway to the simulation debugging mode, thereby ensuring that the gateway will not cause confusion and errors in the actual data collection, processing and analysis due to the debugging operation. The on-site debugging of the power distribution intelligent gateway can provide fast and efficient debugging tests for on-site gateway maintenance, avoiding the situation where the debugging display problems cannot be solved on-site after maintenance and require maintenance personnel to handle them again on-site, and increasing the number of on-site personnel waiting for the debugging results, thereby greatly improving the efficiency of the entire debugging operation.
[0006] The purpose of the present invention is also to provide a distribution intelligent gateway on-site rapid debugging system, which can provide debugging programs and data for on-site debugging through configuration, and reasonably modify and adjust the debugging programs and parameters according to the specific circumstances of the on-site debugging, thereby efficiently and more adaptively realizing the analysis of on-site debugging information and outputting debugging results, ensuring the orderly and efficient progress of on-site debugging operations, and effectively ensuring the stable progress of on-site debugging, which is the necessary material basis for on-site debugging of distribution intelligent gateways.
[0007] In a first aspect, the present invention provides a method for rapid on-site debugging of a power distribution intelligent gateway, comprising obtaining on-site debugging basic data of a target intelligent gateway, and configuring debugging parameters to form on-site debugging application data; sending debugging mode conversion information, and obtaining a conversion control signal to perform conversion control analysis, and sending on-site debugging application data based on the analysis results; obtaining debugging result data based on the sent on-site debugging application data, and performing debugging result analysis to form debugging analysis result data.
[0008] In the present invention, the method forms the basis of the debugging data required for on-site debugging by recording the debugging data required before debugging the system to be debugged on-site in advance, and then reasonably modifies and adjusts the basic data according to the debugging to be performed on-site to adapt to the data information of the intelligent gateway after on-site repair and maintenance, thereby ensuring the rationality and correctness of on-site debugging. At the same time, on-site debugging converts the intelligent gateway to the simulation debugging mode, thereby ensuring that the gateway will not cause confusion and errors in the actual data collection, processing and analysis due to the debugging operation. The on-site debugging of the power distribution intelligent gateway can provide fast and efficient debugging tests for on-site gateway maintenance, avoiding the situation where the debugging display problems cannot be solved on-site after maintenance and require maintenance personnel to handle them again on-site, as well as the situation where more on-site personnel are waiting for the debugging results, thereby greatly improving the efficiency of the entire debugging operation.
[0009] As a possible implementation method, the on-site debugging basic data of the target intelligent gateway is obtained, and the debugging parameters are configured to form the on-site debugging application data, including: obtaining the on-site debugging basic data of the target intelligent gateway, and configuring the software and hardware parameters of the target intelligent gateway to form the on-site software and hardware configuration inspection debugging data; obtaining the on-site debugging basic data of the target intelligent gateway, and configuring the parameter sensitivity of the target intelligent gateway to form the on-site parameter configuration debugging data; combining the on-site software and hardware configuration inspection debugging data and the on-site parameter configuration debugging data to form the on-site debugging application data.
[0010] In the present invention, the basic data of on-site debugging of the power distribution intelligent gateway mainly provides a programmed data basis for on-site debugging, so as to avoid the situation where the debugging work is inefficient due to on-site programming. Considering that the on-site debugging work is usually for debugging and testing after on-site maintenance, the debugging data at the remote end can be directly used as the basic data. The debugging data at the remote end has timeliness and accuracy, and is the debugging data of the intelligent gateway matching the current state. In this way, after the maintenance work is carried out, the operator can adaptively adjust these debugging data with timeliness according to the state of the intelligent gateway after maintenance, and quickly form applicable debugging data. The on-site debugging data includes two aspects. On the one hand, it is the verification and debugging of the configuration of the software and hardware equipment of the power distribution intelligent gateway. On-site maintenance may involve the replacement, increase or reduction of software and hardware, so it is necessary to verify and debug the configuration of software and hardware. Therefore, after obtaining the basic software and hardware configuration data, the modification of software and hardware is reasonably corrected according to the on-site maintenance to form the software and hardware debugging configuration data that adapts to the site. On the other hand, it is a debugging program for the power distribution intelligent gateway. The debugging program is to determine the running performance of all software and hardware of the power distribution gateway to complete the whole process of collection, processing analysis and output normally. Of course, on-site maintenance will also involve some program changes in the collection, processing, analysis, and output processes, so it is necessary to adaptively adjust the basic debugging data to form a debugging program for the gateway after on-site maintenance.
[0011] As a possible implementation method, the on-site debugging basic data of the target intelligent gateway is obtained, and the software and hardware parameters of the target intelligent gateway are configured to form on-site software and hardware configuration inspection and debugging data, including: outputting and displaying all software and hardware initial parameter configurations according to the on-site debugging basic data of the target intelligent gateway; obtaining software and hardware configuration modification information, and modifying the corresponding software and hardware initial parameter configuration according to the software and hardware configuration modification information to form software and hardware correction parameter configuration; and combining all software and hardware correction parameter configurations and the remaining software and hardware initial parameter configurations that have not been modified to form on-site software and hardware configuration inspection and debugging data.
[0012] In the present invention, the adjustment of the parameter configuration of the software and hardware is quick and simple, and the software and hardware parameter configuration adapted to the site can be formed by making corresponding modifications and adjustments to the initial software and hardware parameter configuration installed on the target intelligent gateway.
[0013] As a possible implementation method, the on-site debugging basic data of the target intelligent gateway is obtained, and the parameter sensitivity configuration of the target intelligent gateway is configured to form the on-site parameter configuration debugging data, including: according to the on-site debugging basic data of the target intelligent gateway, the output display of the normal definition range of the active variables and the normal definition range of the output variables in different debugging programs is performed; the defined debugging values of different active variables in different debugging programs are obtained, the corresponding active variables in the corresponding debugging programs are defined according to the defined debugging values, and the defined values of all output variables corresponding to the debugging programs are determined according to the defined debugging values to form a defined debugging program.
[0014] In the present invention, for debugging the running program of the power distribution intelligent gateway, the first thing is to determine the program that has changed on site. For the running program, what often plays an important role in the operation of the gateway is whether the parameters called by the program are correct and whether the output results are correct. This can indirectly prove whether there is an abnormality in the operation of the program. At the same time, considering that the adjustment of some programs will have a correlation effect on other programs that have not changed, the object of debugging should be a program with a reasonable range limit, which includes all modified programs and modified programs with a certain correlation. Of course, before debugging, it is necessary to reasonably define the active variables of the modified and unmodified programs and determine the output variables generated, and then compare and verify the output variables formed after inputting these defined active variables during subsequent debugging.
[0015] As a possible implementation method, no less than two normal test definition debugging programs are formed for the same debugging program, wherein: the definition debugging values of all active variables in the normal test definition debugging program are within the normal definition range of the corresponding active variables, and the definition debugging values of the same active variables in different normal test definition debugging programs are different.
[0016] In the present invention, in order to fully ensure that the program is running normally, during debugging, each program of the intelligent gateway needs to be tested to see whether the input value of the active variable within the normal range can output the value of the output variable within the corresponding normal range. Of course, in order to avoid inaccurate judgment due to occasional situations, the number of debugging is at least not less than two times, that is, the values of the active variables corresponding to the debugged program defined in the two normal tests are different. This can effectively avoid occasional judgment errors. Of course, this provides a variety of choices for the values of the active variables for debugging by on-site personnel according to the actual situation on site, so as to better adapt to the on-site debugging situation.
[0017] As a possible implementation method, at least one abnormal test definition debugging program is formed for the same debugging program, wherein: in the abnormal test definition debugging program, there is any active variable whose definition debugging value does not belong to the normal definition range of the corresponding active variable, and the definition debugging values of the remaining active variables are all within the normal definition range of the corresponding active variables.
[0018] In the present invention, for the program being debugged, providing normal active variables to check whether they are correct only ensures the necessity of the normal operation of the program. To ensure the sufficiency of the normal operation of the program, it is also necessary to perform processing actions for the program under abnormal active variable values. Therefore, providing wrong active variables to observe whether the output variables deviate from the normal range. Of course, the number of debugging tests can be determined according to actual conditions to better realize debugging verification.
[0019] As a possible implementation method, debugging mode conversion information is sent, and a conversion control signal is obtained to perform conversion control analysis, and on-site debugging application data is sent according to the analysis result, including: sending debugging mode conversion information, and obtaining a conversion control signal to perform the following conversion control analysis: if the conversion control signal is a completion signal, the on-site debugging application data is sent in the order of on-site software and hardware configuration inspection debugging data to on-site parameter configuration debugging data; if the conversion control signal is a conversion incomplete signal, the conversion process information is output.
[0020] In the present invention, after establishing debugging data suitable for the site, the debugging data can be used to debug the target power distribution intelligent gateway. Before debugging, it is necessary to confirm that the intelligent gateway enters the debugging mode to avoid the gateway confusing the debugging data as real data and causing deviations and errors in subsequent operations. Therefore, before debugging, a debugging conversion instruction is sent to the intelligent gateway so that the intelligent gateway is converted to debugging mode. Of course, there are also cases where the conversion cannot be completed, and it is necessary to conduct on-site inspection of the mode switching of the intelligent gateway based on the information of the conversion process.
[0021] As a possible implementation method, debugging result data is obtained based on the sent on-site debugging application data, and debugging result analysis is performed to form debugging analysis result data, including: after sending the on-site software and hardware configuration inspection debugging data, the software and hardware configuration debugging results are obtained, and the following result analysis is performed: if all the software and hardware configuration parameters on site match the on-site software and hardware configuration inspection debugging data, then normal software and hardware test information is formed; if the on-site software and hardware configuration parameters do not match the on-site software and hardware configuration inspection debugging data, then the mismatched software and hardware configuration parameters are output.
[0022] In the present invention, when debugging, the first thing to do is to debug the software and hardware configuration of the intelligent gateway. After all, the software and hardware are the material basis for the normal and efficient operation of the intelligent gateway. The update and change of the software and hardware configuration will also cause a significant impact on the running program. The debugging of the software and hardware configuration is whether the software and hardware configuration parameters match the debugging data. For the case where they cannot be completely matched, it is necessary to output the mismatch information and then conduct on-site inspection and provide reference for subsequent program debugging.
[0023] As a possible implementation method, debugging result data is obtained according to the sent on-site debugging application data, and debugging result analysis is performed to form debugging analysis result data, including: if the software and hardware configuration debugging result is normal software and hardware test information, then the on-site parameter configuration debugging data is sent, and the parameter configuration debugging result is obtained, and the following result analysis is performed: for different debugging programs, if all corresponding normal test definition debugging programs and abnormal test definition debugging programs are debugged normally, then parameter configuration debugging normal information is formed; for different debugging programs, if there is a corresponding normal test definition adjustment program whose actual output variable value does not match the output variable definition value, then an unmatched parameter configuration is output; for different debugging programs, if there is a corresponding abnormal test definition adjustment program whose actual output variable value does not match the output variable definition value, then the output Output mismatched parameter configuration; if the software and hardware configuration debugging result outputs mismatched software and hardware configuration parameters, send other defined debugging programs after removing all defined debugging programs related to the mismatched software and hardware configuration parameters in the field parameter configuration debugging data, obtain the parameter configuration debugging result, and perform the following result analysis: for different debugging programs, if all corresponding normal test definition debugging programs and abnormal test definition debugging programs are debugged normally, then parameter configuration debugging normal information is formed; for different debugging programs, if there is a corresponding normal test definition adjustment program whose actual output variable value does not match the output variable definition value, then output mismatched parameter configuration; for different debugging programs, if there is a corresponding abnormal test definition adjustment program whose actual output variable value does not match the output variable definition value, then output mismatched parameter configuration.
[0024] In the present invention, when the software and hardware configuration debugging is passed, the program can be debugged. Each program is fully debugged and verified according to the corresponding on-site debugging data for normal test definition debugging program and abnormal test definition debugging program to ensure the sensitivity of program operation. In the case of mismatch of software and hardware configuration in software and hardware configuration debugging, the program debugging directly removes the program associated with the mismatched software and hardware configuration to ensure the effectiveness of debugging. Through reasonable progressive debugging from software and hardware to program, the rationality and effectiveness of on-site debugging are fully guaranteed.
[0025] In a second aspect, the present invention provides a distribution intelligent gateway on-site rapid debugging system, which is configured to: obtain the on-site debugging basic data of the target intelligent gateway, and configure the debugging parameters to form on-site debugging application data; send debugging mode conversion information, and obtain the conversion control signal to perform conversion control analysis, and send the on-site debugging application data according to the analysis results; obtain debugging result data according to the sent on-site debugging application data, and perform debugging result analysis to form debugging analysis result data.
[0026] In the present invention, the system is configured to provide debugging programs and data for on-site debugging, and to reasonably modify and adjust the debugging programs and parameters according to the specific circumstances of the on-site debugging, thereby efficiently and more adaptively analyzing the on-site debugging information and outputting debugging results, ensuring the orderly and efficient conduct of on-site debugging operations, and effectively ensuring the stable conduct of on-site debugging, which is the necessary material basis for on-site debugging of the power distribution intelligent gateway.
[0027] The beneficial effects of the on-site rapid debugging system and method of a power distribution intelligent gateway provided by the present invention are as follows: This method forms the basis of the debugging data required for on-site debugging by recording the debugging data required before debugging the system to be debugged on-site in advance, and then reasonably modifies and adjusts the basic data according to the debugging to be performed on-site to adapt to the data information of the intelligent gateway after on-site repair and maintenance, thereby ensuring the rationality and correctness of on-site debugging. At the same time, on-site debugging converts the intelligent gateway to the simulation debugging mode, thereby ensuring that the gateway will not cause confusion and errors in the actual data collection, processing and analysis due to the debugging operation. The on-site debugging of the power distribution intelligent gateway can provide fast and efficient debugging tests for on-site gateway maintenance, avoiding the situation where the debugging display problems cannot be solved on-site after maintenance and require maintenance personnel to handle them again on-site, as well as the situation where more on-site personnel are waiting for the debugging results, greatly improving the efficiency of the entire debugging operation.
[0028] The system can provide debugging programs and data for on-site debugging through configuration, and reasonably modify and adjust the debugging programs and parameters according to the specific circumstances of on-site debugging, thereby efficiently and more adaptively analyzing the on-site debugging information and outputting debugging results, ensuring the orderly and efficient progress of on-site debugging equipment and facilities, effectively ensuring the stable progress of on-site debugging, and is the necessary material basis for on-site debugging of the distribution intelligent gateway. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments of the present invention are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0030] Figure 1 A step diagram of a method for rapid on-site debugging of a power distribution intelligent gateway provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0031] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0032] Compared with traditional gateways, the power distribution intelligent gateway can realize the automatic collection and analysis of power distribution data, and receive control instructions from the control end to adjust the operation. Of course, considering the different operating problems of the gateway and the accuracy required for the gateway to work, it is necessary to reasonably debug the intelligent gateway.
[0033] At present, the debugging of the power distribution intelligent gateway is basically carried out through remote control operations, which greatly facilitates the debugging efficiency of the power distribution intelligent gateway. However, when there is a problem with the intelligent gateway and on-site maintenance is required, if the maintenance is completed and the remote intelligent debugging operation is still required, it will not only increase the waiting time of the on-site operators, but also be detrimental to improving the efficiency of the on-site maintenance personnel. Therefore, it is necessary to equip the debugging system of the on-site intelligent gateway. If the fast on-site debugging of the power distribution intelligent gateway is also considered as the problem of on-site debugging, it can better improve the efficiency of on-site operations.
[0034] refer to Figure 1 , an embodiment of the present invention provides a method for rapid on-site debugging of a power distribution intelligent gateway. The method forms the basis of the debugging data required for on-site debugging by recording the debugging data required before debugging the system to be debugged on-site in advance, and then reasonably modifies and adjusts the basic data according to the debugging to be performed on-site to adapt to the data information of the intelligent gateway after on-site repair and maintenance, thereby ensuring the rationality and correctness of on-site debugging. At the same time, on-site debugging converts the intelligent gateway to the simulation debugging mode, thereby ensuring that the gateway will not cause confusion and errors in the actual data collection, processing and analysis due to the debugging operation. The on-site debugging of the power distribution intelligent gateway can provide fast and efficient debugging tests for on-site gateway maintenance, avoiding the situation where the debugging display problems cannot be solved on-site after maintenance and need to be handled on-site by maintenance personnel again, and increasing the number of on-site personnel waiting for the debugging results, thereby greatly improving the efficiency of the entire debugging operation.
[0035] The on-site rapid debugging method of the power distribution intelligent gateway specifically includes the following steps: S1: Obtain the on-site debugging basic data of the target intelligent gateway, and configure the debugging parameters to form on-site debugging application data.
[0036] The on-site debugging basic data of the target intelligent gateway is obtained, and debugging parameters are configured to form on-site debugging application data, including: obtaining the on-site debugging basic data of the target intelligent gateway, and configuring the software and hardware parameters of the target intelligent gateway to form on-site software and hardware configuration inspection debugging data; obtaining the on-site debugging basic data of the target intelligent gateway, and configuring the parameter sensitivity of the target intelligent gateway to form on-site parameter configuration debugging data; combining the on-site software and hardware configuration inspection debugging data and the on-site parameter configuration debugging data to form on-site debugging application data.
[0037] The basic data of on-site debugging of the power distribution intelligent gateway mainly provides a procedural data basis for on-site debugging to avoid the situation where the debugging work is inefficient due to on-site programming. Considering that on-site debugging work is usually for debugging and testing after on-site maintenance, the remote debugging data can be directly used as the basic data. The remote debugging data is timely and accurate, and is the debugging data of the intelligent gateway that matches the current state. In this way, after the maintenance work, the operator can make adaptive adjustments to these timely debugging data according to the state of the intelligent gateway after maintenance, and quickly form applicable debugging data. The on-site debugging data includes two aspects. On the one hand, it is the verification and debugging of the software and hardware equipment configuration of the power distribution intelligent gateway. On-site maintenance may involve the replacement, increase or reduction of software and hardware, so it is necessary to verify and debug the configuration of software and hardware. Therefore, after obtaining the basic software and hardware configuration data, reasonable corrections are made to the modifications of software and hardware according to on-site maintenance to form software and hardware debugging configuration data that adapts to the site. On the other hand, it is the debugging program for the power distribution intelligent gateway. The debugging program is to determine the running performance of all software and hardware of the power distribution gateway to complete the whole process of collection, processing analysis and output. Of course, on-site maintenance will also involve some program changes in the collection, processing, analysis, and output processes, so it is necessary to adaptively adjust the basic debugging data to form a debugging program for the gateway after on-site maintenance.
[0038] Obtain the on-site debugging basic data of the target intelligent gateway, and configure the software and hardware parameters of the target intelligent gateway to form on-site software and hardware configuration inspection and debugging data, including: outputting and displaying all software and hardware initial parameter configurations according to the on-site debugging basic data of the target intelligent gateway; obtaining software and hardware configuration modification information, and modifying the corresponding software and hardware initial parameter configurations according to the software and hardware configuration modification information to form software and hardware correction parameter configurations; and combining all software and hardware correction parameter configurations and the remaining software and hardware initial parameter configurations that have not been modified to form on-site software and hardware configuration inspection and debugging data.
[0039] The adjustment of the software and hardware parameter configuration is quick and simple. By making corresponding modifications to the initial software and hardware parameter configuration installed on the target intelligent gateway, the software and hardware parameter configuration that adapts to the site can be formed.
[0040] Obtain the on-site debugging basic data of the target intelligent gateway, and configure the parameter sensitivity of the target intelligent gateway to form the on-site parameter configuration debugging data, including: output display of the normal definition range of active variables and the normal definition range of output variables in different debugging programs according to the on-site debugging basic data of the target intelligent gateway; obtain the defined debugging values of different active variables in different debugging programs, define the corresponding active variables in the corresponding debugging programs according to the defined debugging values, and determine the defined values of all output variables corresponding to the debugging programs according to the defined defined debugging values to form a defined debugging program.
[0041] For the debugging of the running program of the power distribution intelligent gateway, the first thing is to determine the program that has changed on site. For the running program, whether the parameters called by the program are correct and whether the output results are correct often play an important role in the operation of the gateway. This can indirectly prove whether there are any abnormalities in the program operation. At the same time, considering that the adjustment of some programs will have a correlation with other unchanged programs, the debugging object should be a program with a reasonable range limit, which includes all modified programs and unmodified programs with a certain correlation. Of course, before debugging, it is necessary to reasonably define the active variables of the modified and unmodified programs and determine the output variables generated, so as to compare and verify the output variables formed after entering these defined active variables during subsequent debugging.
[0042] At least two normal test definition debugging programs are formed for the same debugging program, wherein: the definition debugging values of all active variables in the normal test definition debugging program are within the normal definition range of the corresponding active variables, and the definition debugging values of the same active variables in different normal test definition debugging programs are different.
[0043] In order to fully ensure that the program is running normally, during debugging, each program of the smart gateway needs to be tested to see whether the input value of the active variable within the normal range can output the corresponding output variable value within the normal range. Of course, in order to avoid inaccurate judgment due to occasional situations, the number of debugging times is at least not less than twice, that is, the values of the active variables corresponding to the debugged program defined in the two normal tests are different. This can effectively avoid occasional judgment errors. Of course, this provides on-site personnel with a variety of choices for the active variable values for debugging according to the actual situation on site, so as to better adapt to on-site debugging conditions.
[0044] At least one abnormal test definition debugging program is formed for the same debugging program, wherein: in the abnormal test definition debugging program, there is a definition debugging value of any active variable that does not belong to the normal definition range of the corresponding active variable, and the definition debugging values of the remaining active variables are all within the normal definition range of the corresponding active variables.
[0045] For the program being debugged, providing normal active variables to check whether they are correct only ensures the necessity of the normal operation of the program. To ensure the sufficiency of the normal operation of the program, it is also necessary to perform processing actions on the program under abnormal active variable values. Therefore, providing wrong active variables to observe whether the output variables deviate from the normal range. Of course, the number of debugging tests can be determined according to the actual situation to better realize debugging verification.
[0046] S2: Send debugging mode conversion information, obtain conversion control signals to perform conversion control analysis, and send on-site debugging application data based on the analysis results.
[0047] Send debugging mode conversion information, obtain conversion control signal to perform conversion control analysis, and send field debugging application data according to the analysis result, including: sending debugging mode conversion information, and obtaining conversion control signal to perform the following conversion control analysis: if the conversion control signal is a completion signal, then send field debugging application data in the order of field software and hardware configuration inspection debugging data to field parameter configuration debugging data; if the conversion control signal is a conversion incomplete signal, then output conversion process information.
[0048] After establishing the debugging data suitable for the site, you can use the debugging data to debug the target power distribution smart gateway. Before debugging, you need to confirm that the smart gateway enters the debugging mode to avoid the gateway confusing the debugging data as real data and causing deviations and errors in subsequent operations. Therefore, before debugging, send a debugging conversion instruction to the smart gateway so that the smart gateway is converted to debugging mode. Of course, there are also cases where the conversion cannot be completed, and it is necessary to conduct on-site inspection of the mode switching of the smart gateway based on the information of the conversion process.
[0049] S3: Obtain debugging result data according to the sent on-site debugging application data, and perform debugging result analysis to form debugging analysis result data.
[0050] Debug result data is obtained according to the sent on-site debugging application data, and debugging result analysis is performed to form debugging analysis result data, including: after sending the on-site software and hardware configuration inspection debugging data, the software and hardware configuration debugging results are obtained, and the following result analysis is performed: if all the software and hardware configuration parameters on site match the on-site software and hardware configuration inspection debugging data, then normal software and hardware test information is formed; if the on-site software and hardware configuration parameters do not match the on-site software and hardware configuration inspection debugging data, then the mismatched software and hardware configuration parameters are output.
[0051] When debugging, the first thing to do is to debug the software and hardware configuration of the smart gateway. After all, software and hardware are the material basis for the normal and efficient operation of the smart gateway. The update and change of software and hardware configuration will also have a significant impact on the running program. The debugging of software and hardware configuration is to check whether the software and hardware configuration parameters match the debugging data. If they cannot be completely matched, it is necessary to output the mismatch information for on-site inspection and provide reference for subsequent program debugging.
[0052] The debugging result data is obtained according to the sent on-site debugging application data, and the debugging result analysis is performed to form the debugging analysis result data, including: if the software and hardware configuration debugging result is the normal software and hardware test information, the on-site parameter configuration debugging data is sent, and the parameter configuration debugging result is obtained, and the following result analysis is performed: for different debugging programs, if all corresponding normal test definition debugging programs and abnormal test definition debugging programs are debugged normally, then the parameter configuration debugging normal information is formed; for different debugging programs, if there is a corresponding normal test definition adjustment program whose actual output variable value does not match the output variable definition value, then the unmatched parameter configuration is output; for different debugging programs, if there is a corresponding abnormal test definition adjustment program whose actual output variable value does not match the output variable definition value, then the unmatched parameter configuration is output. number configuration; if the software and hardware configuration debugging result outputs mismatched software and hardware configuration parameters, then send other definition debugging programs after removing all definition debugging programs related to the mismatched software and hardware configuration parameters in the field parameter configuration debugging data, and obtain the parameter configuration debugging result, and perform the following result analysis: for different debugging programs, if all corresponding normal test definition debugging programs and abnormal test definition debugging programs are debugged normally, then parameter configuration debugging normal information is formed; for different debugging programs, if there is a corresponding normal test definition adjustment program whose actual output variable value does not match the output variable definition value, then an unmatched parameter configuration is output; for different debugging programs, if there is a corresponding abnormal test definition adjustment program whose actual output variable value does not match the output variable definition value, then an unmatched parameter configuration is output.
[0053] When the software and hardware configuration debugging is passed, the program can be debugged. Each program is fully debugged and verified according to the corresponding on-site debugging data for normal test definition debugging and abnormal test definition debugging to ensure the sensitivity of program operation. In the case of mismatch between software and hardware configuration during software and hardware configuration debugging, the program debugging directly removes the program associated with the mismatched software and hardware configuration to ensure the effectiveness of debugging. Through reasonable progressive debugging from software and hardware to program, the rationality and effectiveness of on-site debugging are fully guaranteed.
[0054] The present invention also provides a power distribution intelligent gateway on-site rapid debugging system, which is configured to obtain the on-site debugging basic data of the target intelligent gateway, and configure the debugging parameters to form on-site debugging application data; send debugging mode conversion information, and obtain the conversion control signal to perform conversion control analysis, and send the on-site debugging application data according to the analysis results; obtain debugging result data according to the sent on-site debugging application data, and perform debugging result analysis to form debugging analysis result data.
[0055] The system can provide debugging programs and data for on-site debugging through configuration, and reasonably modify and adjust the debugging programs and parameters according to the specific circumstances of on-site debugging, thereby efficiently and more adaptively analyzing the on-site debugging information and outputting debugging results, ensuring the orderly and efficient progress of on-site debugging equipment and facilities, effectively ensuring the stable progress of on-site debugging, and is the necessary material basis for on-site debugging of the distribution intelligent gateway.
[0056] In summary, the on-site rapid debugging system and method for power distribution intelligent gateway provided by the embodiments of the present invention have the following beneficial effects: This method forms the basis of the debugging data required for on-site debugging by recording the debugging data required before debugging the system to be debugged on-site in advance, and then reasonably modifies and adjusts the basic data according to the debugging to be performed on-site to adapt to the data information of the intelligent gateway after on-site repair and maintenance, thereby ensuring the rationality and correctness of on-site debugging. At the same time, on-site debugging converts the intelligent gateway to the simulation debugging mode, thereby ensuring that the gateway will not cause confusion and errors in the actual data collection, processing and analysis due to the debugging operation. The on-site debugging of the power distribution intelligent gateway can provide fast and efficient debugging tests for on-site gateway maintenance, avoiding the situation where the debugging display problems cannot be solved on-site after maintenance and require maintenance personnel to handle them again on-site, as well as the situation where more on-site personnel are waiting for the debugging results, greatly improving the efficiency of the entire debugging operation.
[0057] The system can provide debugging programs and data for on-site debugging through configuration, and reasonably modify and adjust the debugging programs and parameters according to the specific circumstances of on-site debugging, thereby efficiently and more adaptively analyzing the on-site debugging information and outputting debugging results, ensuring the orderly and efficient progress of on-site debugging equipment and facilities, effectively ensuring the stable progress of on-site debugging, and is the necessary material basis for on-site debugging of the distribution intelligent gateway.
[0058] In the embodiments of the present application, "indication" may include direct indication and indirect indication, and may also include explicit indication and implicit indication. The information indicated by a certain information is called information to be indicated. In the specific implementation process, there are many ways to indicate the information to be indicated, such as but not limited to, the information to be indicated can be directly indicated, such as the information to be indicated itself or the index of the information to be indicated. The information to be indicated can also be indirectly indicated by indicating other information, wherein there is an association between the other information and the information to be indicated. It is also possible to indicate only a part of the information to be indicated, while the other parts of the information to be indicated are known or agreed in advance. For example, the indication of specific information can also be achieved by means of the arrangement order of each piece of information agreed in advance (for example, specified by the protocol), thereby reducing the indication overhead to a certain extent. At the same time, the common parts of each piece of information can also be identified and indicated uniformly to reduce the indication overhead caused by indicating the same information separately.
[0059] In addition, the specific indication method may also be various existing indication methods, such as but not limited to the above-mentioned indication methods and various combinations thereof. The specific details of the various indication methods can refer to the prior art and will not be repeated herein. As can be seen from the above, for example, when it is necessary to indicate multiple information of the same type, different indication methods may be used for different information. In the specific implementation process, the desired indication method can be selected according to specific needs. The embodiment of the present application does not limit the selected indication method. In this way, the indication method involved in the embodiment of the present application should be understood to cover various methods that can enable the party to be indicated to obtain the information to be indicated.
[0060] It should be understood that the information to be indicated can be sent as a whole, or divided into multiple sub-information and sent separately, and the sending period and / or sending time of these sub-information can be the same or different. The specific sending method is not limited in the embodiment of the present application. Among them, the sending period and / or sending time of these sub-information can be pre-defined, for example, pre-defined according to a protocol, or can be configured by the sending end device by sending configuration information to the receiving end device.
[0061] "Pre-definition" or "pre-configuration" can be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in the device, and the embodiments of the present application do not limit the specific implementation method. Among them, "saving" can mean saving in one or more memories. The one or more memories can be set separately or integrated in an encoder or decoder, a processor, or a communication device. The one or more memories can also be partially set separately and partially integrated in a decoder, a processor, or a communication device. The type of memory can be any form of storage medium, which is not limited by the embodiments of the present application.
[0062] The "protocol" involved in the embodiments of the present application may refer to a protocol family in the communication field, a standard protocol with a similar protocol family frame structure, or a related protocol used in future communication systems, and the embodiments of the present application do not make specific limitations on this.
[0063] In the embodiments of the present application, descriptions such as "when...", "in the case of...", "if" and "if" all mean that the device will make corresponding processing under certain objective circumstances. It does not limit the time, nor does it require the device to have a judgment action when implementing it, nor does it mean that there are other limitations.
[0064] In the description of the embodiments of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship. For example, A / B can represent A or B; "and / or" in the embodiments of the present application is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. These three situations, where A and B can be singular or plural. In addition, in the description of the embodiments of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solution of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish the same or similar items with basically the same functions and effects. Those skilled in the art will appreciate that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference. At the same time, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
[0065] It should be understood that the processor in the embodiments of the present application may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0066] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0067] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0068] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.
[0069] In this application, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0070] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0071] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0072] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0073] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0074] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0075] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0076] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0077] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for rapid on-site debugging of a power distribution intelligent gateway, characterized in that: include: Obtain the on-site debugging basic data of the target intelligent gateway, and configure the debugging parameters to form on-site debugging application data; Sending debugging mode conversion information, acquiring a conversion control signal to perform conversion control analysis, and sending the on-site debugging application data according to the analysis result; Debug result data is acquired according to the sent on-site debugging application data, and debugging result analysis is performed to form debugging analysis result data.
2. The on-site rapid debugging method of the power distribution intelligent gateway according to claim 1 is characterized in that: The on-site debugging basic data of the target intelligent gateway is obtained, and debugging parameter configuration is performed to form on-site debugging application data, including: Acquire the on-site debugging basic data of the target intelligent gateway, and configure the software and hardware parameters of the target intelligent gateway to form on-site software and hardware configuration inspection and debugging data; Acquire the on-site debugging basic data of the target intelligent gateway, and perform parameter sensitivity configuration for the target intelligent gateway to form on-site parameter configuration debugging data; The on-site software and hardware configuration inspection debugging data and the on-site parameter configuration debugging data are collected to form the on-site debugging application data.
3. The on-site rapid debugging method of the power distribution intelligent gateway according to claim 2 is characterized in that: The obtaining of the on-site debugging basic data of the target intelligent gateway and configuring the software and hardware parameters of the target intelligent gateway to form on-site software and hardware configuration inspection and debugging data includes: According to the on-site debugging basic data of the target intelligent gateway, output and display all the initial parameter configurations of software and hardware; Acquire software and hardware configuration modification information, and modify the corresponding software and hardware initial parameter configuration according to the software and hardware configuration modification information to form a software and hardware revised parameter configuration; All the software and hardware correction parameter configurations and the remaining software and hardware initial parameter configurations that have not been modified are collected to form the on-site software and hardware configuration inspection and debugging data.
4. The on-site rapid debugging method of the power distribution intelligent gateway according to claim 3 is characterized in that: The obtaining of the on-site debugging basic data of the target intelligent gateway and performing parameter sensitivity configuration for the target intelligent gateway to form on-site parameter configuration debugging data includes: According to the on-site debugging basic data of the target intelligent gateway, output display of normal definition ranges of active variables and normal definition ranges of output variables in different debugging programs; Obtain definition debugging values of different active variables in different debugging programs, define corresponding active variables in corresponding debugging programs according to the definition debugging values, and determine definition values of all output variables corresponding to the debugging programs according to the defined definition debugging values to form a definition debugging program.
5. The on-site rapid debugging method of the power distribution intelligent gateway according to claim 4 is characterized in that: Forming no less than two normal test definition debugging procedures for the same said debugging procedure, wherein: The definition debugging values of all the active variables in the normal test definition debugging program are within the normal definition range of the corresponding active variables, and the definition debugging values of the same active variables in different normal test definition debugging programs are different.
6. The on-site rapid debugging method of the power distribution intelligent gateway according to claim 5 is characterized in that: Forming at least one abnormal test definition debugger for the same debugger, wherein: In the abnormal test definition debugging program, any one of the active variables has a definition debugging value that does not belong to the corresponding normal definition range of the active variable, and the definition debugging values of the remaining active variables are all within the corresponding normal definition range of the active variable.
7. The on-site rapid debugging method of the power distribution intelligent gateway according to claim 6 is characterized in that: The sending of the debugging mode conversion information, acquiring the conversion control signal to perform conversion control analysis, and sending the on-site debugging application data according to the analysis result, includes: Send the debugging mode conversion information, and obtain the conversion control signal to perform the following conversion control analysis: If the conversion control signal is a completion signal, sending the field debugging application data in the order of the field software and hardware configuration verification debugging data to the field parameter configuration debugging data; If the conversion control signal is a conversion incomplete signal, the conversion process information is output.
8. The on-site rapid debugging method of the power distribution intelligent gateway according to claim 7 is characterized in that: The step of acquiring debugging result data according to the sent on-site debugging application data, and performing debugging result analysis to form debugging analysis result data includes: After sending the on-site software and hardware configuration inspection and debugging data, the software and hardware configuration debugging results are obtained, and the following result analysis is performed: If all the software and hardware configuration parameters on site match the software and hardware configuration inspection and debugging data on site, then normal software and hardware test information is generated; If the on-site software and hardware configuration parameters do not match the on-site software and hardware configuration inspection and debugging data, the mismatched software and hardware configuration parameters are output.
9. The on-site rapid debugging method of the power distribution intelligent gateway according to claim 8 is characterized in that: The step of acquiring debugging result data according to the sent on-site debugging application data, and performing debugging result analysis to form debugging analysis result data includes: If the software and hardware configuration debugging result is the normal information of the software and hardware test, the on-site parameter configuration debugging data is sent, and the parameter configuration debugging result is obtained, and the following result analysis is performed: For different debugging programs, if all corresponding normal test definition debugging programs and abnormal test definition debugging programs are debugged normally, parameter configuration debugging normal information is generated; For different debugging programs, if there is a corresponding normal test definition adjustment program whose actual output variable value does not match the output variable definition value, then an unmatched parameter configuration is output; For different debugging programs, if there is a corresponding abnormal test definition adjustment program whose actual output variable value does not match the output variable definition value, then an unmatched parameter configuration is output; If the software and hardware configuration debugging result outputs unmatched software and hardware configuration parameters, then send the other defined debugging programs after removing all the defined debugging programs related to the unmatched software and hardware configuration parameters in the field parameter configuration debugging data, and obtain the parameter configuration debugging result, and perform the following result analysis: For different debugging programs, if all corresponding normal test definition debugging programs and abnormal test definition debugging programs are debugged normally, parameter configuration debugging normal information is generated; For different debugging programs, if there is a corresponding normal test definition adjustment program whose actual output variable value does not match the output variable definition value, then an unmatched parameter configuration is output; For different debugging programs, if there is a corresponding abnormal test definition adjustment program whose actual output variable value does not match the output variable definition value, an unmatched parameter configuration is output.
10. A power distribution intelligent gateway on-site rapid debugging system, using the power distribution intelligent gateway on-site rapid debugging method according to any one of claims 1 to 9, characterized in that: The power distribution intelligent gateway on-site rapid debugging system is configured as follows: Obtain the on-site debugging basic data of the target intelligent gateway, and configure the debugging parameters to form on-site debugging application data; Sending debugging mode conversion information, acquiring a conversion control signal to perform conversion control analysis, and sending the on-site debugging application data according to the analysis result; Debug result data is acquired according to the sent on-site debugging application data, and debugging result analysis is performed to form debugging analysis result data.
Citation Information
Patent Citations
Industrial monitoring system based on network terminal
CN103795594A
Power distribution terminal access adaptive debugging analysis method based on power distribution master station
CN107749811A
Intelligent substation consistency test method and system
CN112865299A
Power distribution terminal intelligent debugging method and system
CN113533887A
Intelligent gateway, dynamic debugging method and Internet of Things system
CN117395137A