Search

CN-121996623-A - Device debugging method, device, storage medium and program product

CN121996623ACN 121996623 ACN121996623 ACN 121996623ACN-121996623-A

Abstract

The application discloses a device debugging method, a device, a storage medium and a program product. The method comprises the steps of obtaining attribute information of equipment to be debugged, inquiring in a first file according to the attribute information of the equipment to be debugged, determining debugging parameters of the equipment to be debugged and index information of each debugging parameter, wherein the first file comprises equipment parameters of different functional modules of different machine types under different application scenes and the index information of each equipment parameter, reading the attribute information of the debugging parameters from a second file according to the index information of each debugging parameter, loading the attribute information of the debugging parameters into debugging software to indicate the debugging software to debug the equipment to be debugged according to the attribute information of the debugging parameters, and the second file comprises different equipment parameters and the attribute information of each equipment parameter. By adopting the method, the updating complexity of the device parameters adapted by the debugging software can be effectively reduced.

Inventors

  • MEI GUOXI
  • HAN XIAOJIAN

Assignees

  • 深圳市步科电气有限公司

Dates

Publication Date
20260508
Application Date
20260115

Claims (10)

  1. 1. A method of device commissioning, the method comprising: acquiring attribute information of equipment to be debugged, wherein the attribute information comprises at least one of a model, a test scene and a functional module to be tested of the equipment to be debugged; inquiring in a first file according to the attribute information of the equipment to be debugged, and determining debugging parameters of the equipment to be debugged and index information of each debugging parameter, wherein the first file comprises equipment parameters of different functional modules of different types under different application scenes and index information of each equipment parameter; And reading attribute information of the debugging parameters from a second file according to the index information of each debugging parameter, and loading the attribute information of the debugging parameters into debugging software to instruct the debugging software to debug the equipment to be debugged according to the attribute information of the debugging parameters, wherein the second file comprises different equipment parameters and the attribute information of each equipment parameter.
  2. 2. The method of claim 1, wherein the process of constructing the second file comprises: Providing a parameter configuration interface for a user, and indicating the user to configure attribute information of different equipment parameters; responding to the configuration operation of the user on the parameter configuration interface to obtain a second initial file; And converting the data format of the second initial file to obtain a second file.
  3. 3. The method of claim 2, wherein the process of constructing the first file comprises: Providing a catalog configuration interface for a user, indicating the user to construct a device parameter catalog by taking a machine type as a root catalog and taking a functional module and/or an application scene as a subdirectory, Generating index information of each equipment parameter according to the address information of each equipment parameter in the second file, and establishing association between the index information and the corresponding equipment parameter recorded by the equipment parameter number to obtain a first initial file; And converting the data format of the first initial file to obtain a first file.
  4. 4. The method of claim 2, wherein the performing data format conversion on the second initial file to obtain a second file includes: Converting attribute information of each equipment parameter in the second initial file into binary format data; And determining a storage address of the attribute information of the equipment parameters according to the attribute information of each equipment parameter, and storing the storage address and the attribute information converted in the binary format into a second file according to a key value pair format.
  5. 5. A method according to claim 3, characterized in that the method further comprises: responding to the configuration operation of the user on a catalog configuration interface, and updating the equipment parameter catalog in the first initial file; Responding to the configuration operation of the user on a parameter configuration interface, and updating the second file; and updating the index information in the first initial file updated by the equipment parameter catalog according to the updated second file to obtain an updated first file.
  6. 6. The method according to claim 1, wherein the instructing the debugging software to debug the device to be debugged according to the attribute information of the debug parameter includes: And indicating the debugging software to control the equipment to be debugged to operate based on the debugging parameters and the corresponding attribute information, and testing the functional module of the equipment to be debugged according to the operation parameters of the equipment to be debugged.
  7. 7. A device commissioning apparatus, the apparatus comprising: the device comprises an acquisition module, a debugging module and a debugging module, wherein the acquisition module is used for acquiring attribute information of equipment to be debugged, and the attribute information comprises at least one of a model, a test scene and a functional module to be tested of the equipment to be debugged; The device comprises a first file, a query module, a second file, a debugging module and a storage module, wherein the first file is used for storing attribute information of equipment to be debugged, and is used for storing the attribute information of the equipment to be debugged; The debugging module is used for reading the attribute information of the debugging parameters from a second file according to the index information of each debugging parameter, and loading the attribute information of the debugging parameters into debugging software to instruct the debugging software to debug the equipment to be debugged according to the attribute information of the debugging parameters, wherein the second file comprises different equipment parameters and the attribute information of each equipment parameter.
  8. 8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
  9. 9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
  10. 10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.

Description

Device debugging method, device, storage medium and program product Technical Field The present application relates to the field of device debugging, and in particular, to a device debugging method, apparatus, device, storage medium, and program product. Background In the field of debugging industrial equipment such as a frequency converter, the industrial equipment is usually debugged through debugging software so as to ensure the normal operation function of the equipment. Currently, the software code of the debugging software is often coupled with the device parameters of the industrial device, so that the debugging software adapts to a plurality of device models. However, when the industrial equipment to be debugged, the equipment upgrade, and the equipment of the same model are applied in different fields, the parameters of the equipment to be coupled to the debugging software often change, so that the software code needs to be changed. When the equipment parameters of the equipment to be debugged are changed, the code of the debugging software is changed to adapt to the mode of the equipment to be debugged, so that the flexibility of the debugging software is low, and the equipment debugging efficiency is low. Disclosure of Invention In view of the foregoing drawbacks or shortcomings of the prior art, it is desirable to provide a device debugging method, apparatus, device, storage medium and program product that can effectively reduce the update complexity of device parameters adapted by debugging software. In a first aspect, the present application provides a device commissioning method. The method comprises the following steps: Acquiring attribute information of equipment to be debugged, wherein the attribute information comprises at least one of a model, a test scene and a functional module to be tested of the equipment to be debugged; inquiring in a first file according to attribute information of equipment to be debugged, and determining debugging parameters of the equipment to be debugged and index information of each debugging parameter, wherein the first file comprises equipment parameters of different functional modules of different machine types under different application scenes and the index information of each equipment parameter; And reading attribute information of the debugging parameters from a second file according to the index information of each debugging parameter, and loading the attribute information of the debugging parameters into the debugging software to instruct the debugging software to debug the equipment to be debugged according to the attribute information of the debugging parameters, wherein the second file comprises different equipment parameters and the attribute information of each equipment parameter. With reference to the first aspect, in one possible implementation manner, the construction process of the second file includes providing a parameter configuration interface for a user to instruct the user to configure attribute information of different device parameters, responding to configuration operation of the user on the parameter configuration interface to obtain a second initial file, and performing data format conversion on the second initial file to obtain the second file. In combination with the first aspect, in one possible implementation manner, the construction process of the first file includes providing a directory configuration interface for a user, instructing the user to construct a device parameter directory by taking a machine type as a root directory and taking a function module and/or an application scene as a subdirectory, generating index information of each device parameter according to address information of each device parameter in the second file, establishing association between the index information and the corresponding device parameter recorded by the number of the device parameters to obtain a first initial file, and performing data format conversion on the first initial file to obtain the first file. With reference to the first aspect, in one possible implementation manner, the data format conversion is performed on the second initial file to obtain the second file, which includes converting attribute information of each device parameter in the second initial file into binary format data, determining a storage address of the attribute information of each device parameter for the attribute information of each device parameter, and storing the storage address and the binary format converted attribute information as the second file according to a key value pair format. In combination with the first aspect, in one possible implementation manner, the device debugging method further includes updating the device parameter catalog in the first initial file in response to a configuration operation of a user on the catalog configuration interface, updating the second file in response to a configuration operation of the user on the parameter c