Configuration file generation method and device, equipment, storage medium and program product
By providing a visual configuration interface in the energy storage system, users can quickly enter configuration information and generate required configuration files, solving the problem of low configuration efficiency in the prior art, and achieving a more efficient configuration process and lower maintenance costs.
Patent Information
- Application Number
- CN202311166133.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-08
- Publication Date
- 2025-03-11
AI Technical Summary
When configuring energy storage systems in the prior art, there is a problem of low configuration efficiency, and different configuration programs need to be written to adapt to different application scenarios, resulting in a long development cycle.
Provide a configuration file generation method. By displaying the visual configuration interface of the energy storage system, users can enter configuration information, and the system can automatically generate configuration files, simplifying the configuration process and improving efficiency.
This method greatly shortens the development cycle and improves configuration efficiency, allowing configuration files in different scenarios to be reused, and reduces maintenance costs.
Smart Images

Figure CN119597330A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of system configuration, and in particular to a configuration file generation method, apparatus, device, storage medium and program product. Background Art
[0002] With the development of new energy technologies, energy storage systems usually have high reliability, can realize complex protection functions and a large number of protection calculations, can support multiple communication protocols, and are equipped with a wealth of external interfaces.
[0003] Currently, energy storage systems are usually configured by pre-programming a configuration program based on configuration information. However, different configuration programs often need to be written for different application scenarios, resulting in low configuration efficiency. Summary of the invention
[0004] Based on the above problems, the present application provides a configuration file generation method, apparatus, device, storage medium and program product, which can quickly generate a configuration file for configuring an energy storage system and improve configuration efficiency.
[0005] In a first aspect, the present application provides a configuration file generation method, the method comprising: displaying a configuration interface of an energy storage system; the configuration interface comprising a control area and an information input area, the control area being provided with a plurality of configuration controls; in response to a trigger operation for a target configuration control, displaying a configuration page corresponding to the target configuration control in the information input area; obtaining configuration information input by a user, and generating a configuration file according to a preset generation rule corresponding to the energy storage system; wherein the configuration information is used to configure at least one of the hardware, software, signals and applications of the energy storage system.
[0006] In the technical solution of the embodiment of the present application, the user only needs to input configuration information based on a visual configuration interface to automatically generate the configuration file required for the energy storage system. Compared with the traditional technology that requires writing a configuration program, the embodiment of the present application is more convenient to generate and modify the configuration file. Therefore, it can greatly shorten the development cycle and improve configuration efficiency.
[0007] In some embodiments, the above-mentioned generating a configuration file from the configuration information according to the preset generation rules corresponding to the energy storage system includes: calling the business layer interface corresponding to the configuration information, transmitting the configuration information to the middleware layer through the business layer interface; generating a configuration file from the configuration information according to the preset generation rules through the middleware layer; the preset generation rules include at least one of the file writing language, file format and file content. In the technical solution of the embodiment of the present application, based on the preset program architecture, the terminal can quickly generate a configuration file according to the file generation requirements of the energy storage system, thereby shortening the development cycle and improving the configuration efficiency.
[0008] In some embodiments, the configuration information is used to generate a configuration file according to a preset generation rule through a middleware layer, including: storing the configuration information in a preset database through the middleware layer; in response to a trigger operation of exporting the configuration file, extracting the configuration information from the preset database through the middleware layer, and filling the configuration information into a file template pre-established according to the preset generation rule to obtain a configuration file. In the technical solution of the embodiment of the present application, a configuration file can be generated more quickly through a pre-established file template, thereby improving the file generation efficiency and thus improving the system configuration efficiency.
[0009] In some embodiments, in response to a trigger operation on a target configuration control, displaying a configuration page corresponding to the target configuration control in the information input area includes: displaying at least one second-level configuration control in the control area in response to a trigger operation on a first-level configuration control in the control area; and displaying a configuration page corresponding to the target configuration control in the information input area in response to a trigger operation on a target configuration control in at least one second-level configuration control. In the technical solution of the embodiment of the present application, by setting different levels of configuration controls, different levels of information configuration can be performed, thereby enriching the configuration information and realizing more powerful configuration functions.
[0010] In some embodiments, the first-level configuration control includes a system configuration control, and the second-level configuration control includes a hardware configuration control. The above-mentioned acquisition of the configuration information input by the user includes: when the configuration page of the hardware configuration control is displayed in the information input area, obtaining at least one of the board information and hardware interface information entered by the user in the configuration page; wherein the board information includes at least one of the board slot, board name, board type, board function, board address and operating system, and the hardware interface information includes at least one of the port type, enable flag, transmission direction, transmission rate, transmission polarity and physical address. In the technical solution of the embodiment of the present application, the user can input the hardware configuration information through the configuration page corresponding to the hardware configuration control, so as to configure the hardware of the energy storage system later. Since the configuration information acquisition method is simple, the development cycle can be greatly shortened, thereby improving the configuration efficiency.
[0011] In some embodiments, the first-level configuration control includes a system configuration control, and the second-level configuration control includes a software configuration control. The above-mentioned acquisition of configuration information input by the user includes: when the configuration page of the software configuration control is displayed in the information input area, acquiring at least one configuration information of the task information, communication channel information and software interface information input by the user in the configuration page. In the technical solution of the embodiment of the present application, the user can input the software configuration information through the configuration page corresponding to the software configuration control, so as to configure the software of the energy storage system later. Since the configuration information acquisition method is simple, the development cycle can be greatly shortened, thereby improving the configuration efficiency.
[0012] In some embodiments, the first-level configuration control includes a signal library configuration control, and the second-level configuration control includes a signal configuration control. The above-mentioned acquisition of configuration information input by the user includes: when the configuration page of the signal configuration control is displayed in the information input area, the signal information input by the user in the configuration page is acquired. In the technical solution of the embodiment of the present application, the user can obtain the signal information through the configuration page corresponding to the signal configuration control, so as to subsequently configure the signal of the energy storage system. Since the configuration information acquisition method is simple, the development cycle can be greatly shortened, thereby improving the configuration efficiency.
[0013] In some embodiments, the first-level configuration control includes a signal library configuration control, and the second-level configuration control includes a connection configuration control; the above-mentioned acquisition of configuration information input by the user includes: when the configuration page of the connection configuration control is displayed in the information input area, the connection relationship information input by the user in the configuration page is acquired. In the technical solution of the embodiment of the present application, the user can obtain the connection relationship information through the configuration page corresponding to the connection configuration control, so as to subsequently configure the interface or channel of the signal transmission of the energy storage system. Since the configuration information acquisition method is simple, the development cycle can be greatly shortened, thereby improving the configuration efficiency.
[0014] In some embodiments, the first-level configuration control includes a signal library configuration control, and the second-level configuration control includes a synthesis configuration control; the above-mentioned acquisition of the configuration information input by the user includes: when the configuration page of the synthesis configuration control is displayed in the information input area, the signal synthesis information input by the user in the configuration page is acquired. In the technical solution of the embodiment of the present application, the user can obtain the signal synthesis information through the configuration page corresponding to the synthesis configuration control, so as to subsequently configure the synthetic signal of the energy storage system. Since the configuration information acquisition method is simple, the development cycle can be greatly shortened, thereby improving the configuration efficiency.
[0015] In some embodiments, the first-level configuration control includes an application configuration control, and the configuration information input by the user is obtained, including: when the configuration page of the application configuration control is displayed in the information input area, obtaining at least one configuration information of the telesignaling information, telemetry information, remote control information, set value information, pressure plate information, event information, panel light information and recording information input by the user in the configuration page. In the technical solution of the embodiment of the present application, the user can input the application configuration information through the configuration page corresponding to the application configuration control, so as to configure the application of the energy storage system later. Since the configuration information acquisition method is simple, the development cycle can be greatly shortened, thereby improving the configuration efficiency.
[0016] In some embodiments, an import control is also provided in the configuration interface, and the method further comprises: obtaining a configuration list in response to a trigger operation on the import control; and generating a configuration file according to the configuration list. In the technical solution of the embodiment of the present application, generating a configuration file according to the configuration list of the upstream platform is faster, which can greatly shorten the development cycle, thereby improving configuration efficiency.
[0017] In a second aspect, the present application also provides a configuration file generating device. The device comprises:
[0018] An interface display module, used to display the configuration interface of the energy storage system; the configuration interface includes a control area and an information input area, and the control area is provided with a plurality of configuration controls;
[0019] A page display module, configured to display a configuration page corresponding to the target configuration control in the information input area in response to a trigger operation on the target configuration control;
[0020] The file generation module is used to obtain configuration information input by the user and generate a configuration file according to the preset generation rules corresponding to the energy storage system; wherein the configuration information is used to configure at least one of the hardware, software, signals and applications of the energy storage system.
[0021] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the method of the first aspect when executing the computer program.
[0022] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method of the first aspect is implemented.
[0023] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which implements the method of the first aspect when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the optional embodiments below. The accompanying drawings are only used for the purpose of illustrating the optional embodiments and are not to be considered as limiting the present application. Moreover, the same reference numerals are used throughout the drawings to represent the same components. In the drawings:
[0025] Figure 1 An application environment of a configuration file generation method according to an embodiment of the present application;
[0026] Figure 2 It is a flowchart of a configuration file generation method according to an embodiment of the present application;
[0027] Figure 3 is a schematic diagram of a configuration interface of an embodiment of the present application;
[0028] Figure 4 is a schematic diagram of a program architecture of an embodiment of the present application;
[0029] Figure 5 It is a flowchart of the steps of generating a configuration file according to an embodiment of the present application;
[0030] Figure 6 It is a flowchart of displaying a configuration page according to an embodiment of the present application;
[0031] Figure 7 is a schematic diagram of a configuration interface of an embodiment of the present application;
[0032] Figure 8 is a schematic diagram of a configuration interface of an embodiment of the present application;
[0033] Fig. 9 is a schematic diagram of a configuration interface of an embodiment of the present application;
[0034] Fig.10 is a schematic diagram of a configuration interface of an embodiment of the present application;
[0035] Fig.11 is a structural block diagram of a device for generating a configuration file according to an embodiment of the present application;
[0036] Fig.12 is a structural block diagram of a device for generating a configuration file according to an embodiment of the present application;
[0037] Fig.13 It is a diagram of the internal structure of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION
[0038] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0040] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0041] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0042] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may 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. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0043] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).
[0044] With the development of new energy technologies, energy storage systems usually have high reliability, can realize complex protection functions and a large number of protection calculations, can support multiple communication protocols, and are equipped with a rich set of external interfaces. At present, the configuration of energy storage systems usually requires the preparation of configuration programs based on the configuration information. However, different configuration programs often need to be written for different application scenarios. For example, if the application scenario is slightly changed, the code of the configuration program needs to be changed, and the configuration program cannot be reused. Therefore, the development cycle is relatively long and there is a problem of low configuration efficiency.
[0045] The embodiment of the present application provides a configuration file generation scheme, and the terminal can first display the configuration interface of the energy storage system, and the configuration interface includes a control area and an information input area, and the control area is provided with multiple configuration controls. Afterwards, the user inputs a trigger operation in the control area, and the terminal responds to the trigger operation for the target configuration control and displays the configuration page corresponding to the target configuration control in the information input area. Next, the user enters the configuration information in the configuration page, the terminal obtains the configuration information, and generates a configuration file based on the preset generation rules corresponding to the energy storage system. The above configuration information can configure at least one of the hardware, software, signals and applications of the energy storage system. In the embodiment of the present application, the user only needs to input the configuration information based on the visual configuration interface, and the terminal can automatically generate the configuration file required for the energy storage system. Compared with the traditional technology that requires writing a configuration program, the embodiment of the present application is more convenient to generate and modify the configuration file, so it can greatly shorten the development cycle, thereby improving the configuration efficiency.
[0046] The configuration file generation method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. The application environment may include a terminal 102 and an energy storage system 104; wherein the terminal 102 can communicate with the energy storage system 104 through a network. The terminal 102 interacts with the user to obtain configuration information, and generates a configuration file based on the configuration information. The energy storage system 104 obtains the configuration file from the terminal 102, and configures the system itself based on the configuration file. The above-mentioned terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. The above-mentioned energy storage system may be a high-voltage control and protection system in a power system, or it may be an energy storage device of an energy storage power station.
[0047] According to some embodiments of the present application, referring to Figure 2 , provides a configuration file generation method, which can be applied to Figure 1 Taking the terminal in as an example, the following steps may be included:
[0048] Step 201, displaying the configuration interface of the energy storage system.
[0049] An application for generating a configuration file may be pre-set in the terminal. After the application is started, the terminal displays a configuration interface of the energy storage system.
[0050] Reference Figure 3The configuration interface includes a control area and an information input area. The control area is provided with multiple configuration controls, and the information input area displays the configuration page corresponding to the triggered configuration control. The type, quantity, and identification of the configuration controls can be set according to the actual configuration requirements. For example, if the hardware in the energy storage system needs to be configured, the configuration controls include hardware configuration controls; if the software in the energy storage system needs to be configured, the configuration controls may include software configuration controls.
[0051] Step 202: In response to a trigger operation on a target configuration control, a configuration page corresponding to the target configuration control is displayed in the information input area.
[0052] The user views the configuration interface of the energy storage system and inputs a trigger operation for the target configuration control in the configuration interface. For example, the user clicks the target configuration control with a mouse; or the user touches the target configuration control on the touch screen. It should be noted that the input method of the trigger operation is not limited to the above description, and voice, gesture and other input methods can also be used.
[0053] The terminal receives the trigger operation input by the user, and in response to the trigger operation, displays the configuration page corresponding to the target configuration control in the information input area. For example, if the user clicks the hardware configuration control with the mouse, the terminal displays the configuration page corresponding to the hardware configuration control in the information input area; if the user clicks the software configuration control with the mouse, the terminal displays the configuration page corresponding to the software configuration control in the information input area.
[0054] It should be noted that the page content of the configuration page of the information input area can be set according to actual conditions, and editing controls such as add, modify, delete, search, move up, move down, refresh, etc. can be set in the configuration interface.
[0055] Step 203: Acquire the configuration information input by the user, and generate a configuration file based on the configuration information according to the preset generation rules corresponding to the energy storage system.
[0056] The configuration information is used to configure at least one of the hardware, software, signals and applications of the energy storage system. The configuration information includes at least one of hardware configuration information, software configuration information, signal configuration information and application configuration information; the hardware configuration information includes information for configuring the hardware of the energy storage system, the software configuration information includes information for configuring the software of the energy storage system, the signal configuration information includes information for configuring the signals of the energy storage system, and the application configuration information includes information for configuring the applications of the energy storage system.
[0057] The configuration file consists of five parts, namely Header, Substation, Communication, IED and DataTypeTemplates. The Header part contains the version information and revision information of the configuration file, the file writing tool identifier and the name mapping information. The Substation part contains the functional structure, main components and electrical connections of the energy storage system and the corresponding functional nodes. The Communication part defines the relevant communication information of the IED access point in the subnet, including the network address of the device and the physical address of each layer. The IED part describes the configuration of the IED, including logical devices, logical nodes, data objects, data attributes and the communication service capabilities. The DataTypeTemplates part is an instantiable data type target, which defines in detail the logical node type (LNTtype) that appears in the configuration file and the data object type (DOType) and data attribute type (DAType) contained in the logical node. The relationship between the DataTypeTemplates part and the IED part is that of class and instance.
[0058] The configuration files of the energy storage system may include the following types: intelligent electronic device capability description file (ICD), system specification file (SSD), station system configuration file (SCD) and IED instance configuration file.
[0059] It can be understood that different generation rules can be preset for different energy storage systems; different generation rules can also be preset for different types of configuration files in each energy storage system.
[0060] The configuration page can be used to set various configuration information labels, input boxes, and drop-down menus of options. Users can input operations in the input boxes of various configuration information, or input selection operations based on the drop-down menu, and the terminal can obtain configuration information based on the user's input operations and / or selection operations. Afterwards, the terminal can generate a configuration file based on the preset generation rules corresponding to the energy storage system. In this way, the energy storage system can obtain the configuration file from the terminal and perform system configuration based on the configuration file.
[0061] In the above embodiment, the terminal displays the configuration interface of the energy storage system; in response to the trigger operation for the target configuration control, the configuration page corresponding to the target configuration control is displayed in the information input area; the configuration information input by the user is obtained, and the configuration information is used to generate a configuration file according to the preset generation rules corresponding to the energy storage system. In the technical solution of the embodiment of the present application, through the visual configuration interface, the user only needs to input the configuration information to automatically generate the configuration file required for the energy storage system. Compared with the need to write a configuration program in the traditional technology, the embodiment of the present application is more convenient to generate and modify the configuration file. Therefore, the development cycle can be greatly shortened and the configuration efficiency can be improved. In addition, due to the simple modification, the configuration files of different scenarios can be reused. In this way, the configuration file can be decoupled from the development platform, and the business modules can be flexibly combined according to different configurations. The number of configuration files can also be reduced, which is convenient for the maintenance of the configuration files, thereby reducing the maintenance cost.
[0062] According to some embodiments of the present application, the application for generating the configuration file may adopt the following method: Figure 4 The program architecture shown in the figure includes application layer, business layer and middleware layer, wherein the application layer is used for human-computer interaction, the business layer is used for processing and transmitting the data received by the application layer, and the middleware layer is used for program management, event management and data processing.
[0063] The above-mentioned application layer can set real-time library configuration, fixed value configuration, event definition, signal transmission and reception mapping, LCD (Liquid Crystal Display) configuration, recording configuration, pressure plate configuration, physical port configuration, ICD (IED Capability Description) modeling and panel light configuration and other programs to support the application layer human-computer interaction to obtain configuration information.
[0064] The above-mentioned business layer can set up interfaces such as real-time library configuration interface, fixed value configuration interface, event definition interface, signal transmission and reception mapping interface, LCD configuration interface, recording configuration interface, pressure plate configuration interface, physical port configuration interface, ICD modeling interface and panel light configuration interface. Each interface is used to receive configuration information from the application layer, perform data processing on the configuration information, and transmit the configuration information to the middleware layer.
[0065] The above middleware layer can be provided with an interface framework, an XML file processing interface, an event management interface, a dictionary code management interface and a data access public interface. Among them, the interface framework can realize the display of various interface elements in the configuration interface, the XML file processing interface can be used to manage files in XML format, the event management interface can be used to manage events, the dictionary code management interface can be used to manage dictionary codes, and the data access public interface can store configuration information in a preset database in a file format, and search for data from the preset database and display the data through the configuration interface.
[0066] It should be noted that the program architecture is not limited to the above-mentioned application layer, business layer and middleware layer, and the settings of each layer are not limited to the above description and can be set according to actual conditions.
[0067] Based on the above program architecture, refer to Figure 5 The above process of generating a configuration file from the configuration information according to the preset generation rules corresponding to the energy storage system may include the following steps:
[0068] Step 301: Call the business layer interface corresponding to the configuration information, and transmit the configuration information to the middleware layer through the business layer interface.
[0069] Step 302: Generate a configuration file using the middleware layer based on the configuration information according to the preset generation rules corresponding to the energy storage system.
[0070] The preset generation rules include at least one of a file writing language, a file format and a file content.
[0071] The terminal obtains configuration information based on the application layer, and then calls the business layer interface corresponding to the configuration information. For example, if the wave recording information is obtained, the wave recording configuration interface of the business layer is called; if the fixed value information is obtained, the fixed value configuration interface of the business layer is called. Then, the terminal transmits the obtained configuration information to the middleware layer through the business layer interface.
[0072] Afterwards, the terminal stores the configuration information in a preset database in the form of a file according to the preset file writing language, file format and file content through the data access public interface of the middleware layer to obtain a configuration file. Optionally, the terminal can also process the generated configuration file through the XML file processing interface of the middleware layer.
[0073] For example, the terminal stores the acquired configuration information in a preset database using the file writing language, file format, and file content of the ICD file to generate an ICD file.
[0074] In the above embodiment, the business layer interface corresponding to the configuration information is called, and the configuration information is transmitted to the middleware layer through the business layer interface; the configuration information is used to generate a configuration file through the middleware layer according to the preset generation rules corresponding to the energy storage system. In the technical solution of the embodiment of the present application, based on the pre-set program architecture, the terminal can quickly generate a configuration file according to the actual file generation requirements of the energy storage system, thereby shortening the development cycle and improving configuration efficiency.
[0075] In actual applications, the middleware layer can directly generate the configuration file in the process of storing the configuration information in the preset database, or it can first store the configuration information and then generate the configuration file according to the configuration information when it is needed.
[0076] According to some embodiments of the present application, the above-mentioned generation of a configuration file from configuration information according to preset generation rules through the middleware layer may include: storing the configuration information in a preset database through the middleware layer; in response to a trigger operation of exporting the configuration file, extracting the configuration information from the preset database through the middleware layer, and filling the configuration information into a file template pre-established according to the preset generation rules to obtain the configuration file.
[0077] In actual applications, the terminal first obtains configuration information based on the application layer, and then calls the business layer interface corresponding to the configuration information to transmit the configuration information to the middleware layer. After that, the terminal stores the configuration information in the preset database through the data access public interface of the middleware layer. A file export control is also provided in the configuration interface. If the user inputs a trigger operation for the file export control, the terminal responds to the trigger operation, extracts the configuration information from the preset database, and determines the corresponding file template according to the configuration information. After that, the terminal fills the configuration file into the file template to obtain the configuration file.
[0078] It can be understood that the file template is pre-established according to the preset generation rules corresponding to the energy storage system. Different file templates can be established for different types of configuration files, and different file templates can also be established for different configuration information.
[0079] In the above embodiment, the configuration information is stored in a preset database through the middleware layer; in response to the trigger operation of exporting the configuration file, the configuration information is extracted from the preset database through the middleware layer, and the configuration information is filled into the file template pre-established according to the preset generation rules to obtain the configuration file. In the technical solution of the embodiment of the present application, by pre-establishing the file template, the configuration file can be generated more quickly, the file generation efficiency is improved, and then the system configuration efficiency is improved.
[0080] In some scenarios, all configuration information configuration controls can be displayed in the control area, but this display method is not convenient for users to find, so a hierarchical display method can be used. According to some embodiments of the present application, refer to Figure 6 The process of displaying the configuration page corresponding to the target configuration control in the information input area in response to the triggering operation on the target configuration control may include the following steps:
[0081] Step 401: In response to a trigger operation on a first-level configuration control in a control area, display at least one second-level configuration control in the control area.
[0082] Reference Figure 7 , the control area can be set with different levels of configuration controls. The user can input a trigger operation to the first level configuration control in the control area, the terminal receives the trigger operation, and displays at least one second level configuration control in the control area in response to the trigger operation.
[0083] For example, the first level configuration control includes a system configuration control. The user inputs a trigger operation for the system configuration control, and the terminal displays two second level configuration controls, namely a hardware configuration control and a software configuration control, in the control area in response to the trigger operation.
[0084] Step 402: In response to a triggering operation on a target configuration control in at least one second-level configuration control, a configuration page corresponding to the target configuration control is displayed in the information input area.
[0085] After displaying the second-level configuration controls, the user can input a trigger operation for a target configuration control in at least one second-level configuration control. The terminal receives the trigger operation and displays a configuration page corresponding to the target configuration control in the information input area in response to the trigger operation.
[0086] For example, in the two second-level configuration controls, the hardware configuration control and the software configuration control, if the user inputs a trigger operation for the hardware configuration control, the terminal displays the configuration page corresponding to the hardware configuration control in the information input area. If the user inputs a trigger operation for the software configuration control, the terminal displays the configuration page corresponding to the software configuration control in the information input area.
[0087] In the above embodiment, the terminal displays at least one second-level configuration control in the control area in response to a trigger operation on a first-level configuration control in the control area; and displays a configuration page corresponding to the target configuration control in the information input area in response to a trigger operation on at least one second-level configuration control. In the technical solution of the embodiment of the present application, by setting different levels of configuration controls, different levels of information configuration can be performed, thereby enriching the configuration information and realizing more powerful configuration functions.
[0088] According to some embodiments of the present application, referring to Figure 8 The first-level configuration control includes a system configuration control, and the second-level configuration control includes a hardware configuration control. The above-mentioned step of obtaining the configuration information input by the user may include: when the configuration page of the hardware configuration control is displayed in the information input area, obtaining at least one configuration information of the board information and the hardware interface information entered by the user in the configuration page.
[0089] Among them, the board information includes at least one of the board slot, board name, board type, board function, board address and operating system, and the hardware interface information includes at least one of the port type, enable flag, transmission direction, transmission rate, transmission polarity and physical address; the board slot is used to characterize the installation slot of the board of the energy storage system; the board name is used to characterize the name of the board; the board type is used to characterize the type of the board; the board function is used to characterize the function of the board; the board address is used to characterize the communication address of the board; the port type is used to characterize the type of the hardware interface of the energy storage system; the enable flag is used to characterize the signal that enables the hardware interface; the transmission direction is used to characterize the direction in which the hardware interface transmits data; the transmission rate is used to characterize the rate at which the hardware interface transmits data; the transmission polarity is used to characterize the polarity of data transmitted by the hardware interface; the physical address is used to characterize the communication address of the hardware interface.
[0090] In the configuration page corresponding to the hardware configuration control, a board information window and an interface information window are set. Among them, the board information window is provided with slot number, board name, board type, function, address, operating system and other identifications, and an input box or a drop-down menu of options is set under each identification. The interface information window is provided with labels corresponding to various hardware interfaces, and the display content of the interface information window corresponds to the triggered label. Among them, the hardware interface can include at least one of FT3, network port, serial port, Stlnput and StOutput.
[0091] In actual applications, for each slot, the user can enter the board name in the input box under the board name identification in the board information window, enter the board type in the input box under the board type identification, enter the board function in the input box under the function identification, enter the board address in the input box under the address identification, and enter the operating system in the input box under the operating system identification. The terminal then obtains the board information such as the board name, board type, board function, board address and operating system corresponding to the boards installed in each slot based on the configuration page.
[0092] The user enters a trigger operation for the target tag in the interface information window, and the terminal displays the content corresponding to the target tag in the interface information window. For example, if the target tag is Stlnput, the terminal displays the channel number, name, type, verification mode, B code synchronization type and other labels and the input box under each label. The user enters the operation in each input box, and the terminal obtains the configuration information of Stlnput.
[0093] It should be noted that the above embodiment only describes the configuration of one of the hardware interfaces. In actual applications, the content of the interface information window is set accordingly according to different hardware interfaces. The terminal can obtain at least one hardware interface information including port type, enable flag, transmission direction, transmission rate, transmission polarity and physical address based on the interface information window.
[0094] In the above embodiment, when the configuration page of the hardware configuration control is displayed in the information input area, at least one of the board information and the hardware interface information entered by the user in the configuration page is obtained. In the technical solution of the embodiment of the present application, the user can input the hardware configuration information through the configuration page corresponding to the hardware configuration control, so as to configure the hardware of the energy storage system later. Since the configuration information acquisition method is simple, the development cycle can be greatly shortened, thereby improving the configuration efficiency.
[0095] According to some embodiments of the present application, referring to Figure 8 The first level configuration control includes a system configuration control, the second level configuration control includes a software configuration control, and the step of obtaining the configuration information input by the user may include: when the configuration page of the software configuration control is displayed in the information input area, obtaining at least one configuration information of the task information, communication channel information and software interface information input by the user in the configuration page.
[0096] Among them, the task information includes the tasks that the software of the energy storage system needs to execute; the communication channel information includes the channel used by the software for communication; and the software interface information includes the interface used by the software for communication.
[0097] In the configuration page corresponding to the software configuration control, the task label, communication channel label and software interface label can be set; the task window, communication channel window and software interface window can also be set with reference to the configuration page corresponding to the hardware configuration control. Alternatively, the third-level configuration control is set in the control area of the configuration interface, and the third-level configuration control includes the task configuration control, the channel configuration control and the port configuration control. The user inputs a trigger operation for the target configuration control in the third-level configuration control, the terminal receives the trigger operation, and in response to the trigger operation, displays the configuration page corresponding to the target configuration control in the information input area.
[0098] For example, the third-level configuration control triggered by the user is the task configuration control, and the terminal displays the task number, task ID, task type, and priority corresponding to the task to be executed by the energy storage system software in the information input area, and sets an input box or a drop-down menu of options under each ID. The user inputs in the input box under each ID, or selects based on the input in the drop-down menu, and the terminal can obtain the task information.
[0099] The third-level configuration control triggered by the user is the channel configuration control. The terminal displays the channel identification, channel type, transmission direction and other identifications of the communication channels used by each software in the information input area, and sets an input box or a drop-down menu of options under each identification. The user inputs in the input box under each identification, or selects based on the input in the drop-down menu, and the terminal can obtain the communication channel information.
[0100] The third-level configuration control triggered by the user is the port configuration control. The terminal displays the interface identifier, interface type, transmission direction and other identifiers of the interface used by each software in the information input area, and sets an input box or a drop-down menu of options under each identifier. The user inputs in the input box under each identifier, or selects based on the input in the drop-down menu, and the terminal can obtain the software interface information.
[0101] It should be noted that the configuration page corresponding to the software configuration control is not limited to the above description, and other display methods can also be used. The specific display content can be set according to actual conditions.
[0102] In the above embodiment, when the configuration page of the software configuration control is displayed in the information input area, at least one configuration information of the task information, communication channel information and software interface information input by the user in the configuration page is obtained. In the technical solution of the embodiment of the present application, the user can input the software configuration information through the configuration page corresponding to the software configuration control, so as to configure the software of the energy storage system later. Since the configuration information acquisition method is simple, the development cycle can be greatly shortened, thereby improving the configuration efficiency.
[0103] According to some embodiments of the present application, referring to Figure 8 The first level configuration control includes a signal library configuration control, and the second level configuration control includes a signal configuration control. The above step of obtaining the configuration information input by the user may include: when the configuration page of the signal configuration control is displayed in the information input area, obtaining the signal information input by the user in the configuration page.
[0104] Among them, the signal information includes various signals used by the energy storage system.
[0105] The user inputs a trigger operation for the signal library configuration control in the control area, and the terminal receives the trigger operation and displays multiple second-level configuration controls in the control area in response to the trigger operation. The user inputs a trigger operation for the signal configuration control in multiple second-level configuration controls, and the terminal receives the trigger operation and displays the configuration page corresponding to the signal configuration control in the information input area in response to the trigger operation.
[0106] Reference Fig. 9 , the user inputs a trigger operation for the signal configuration control, and the terminal displays the configuration page corresponding to the signal configuration control in the information input area. In the configuration page corresponding to the signal configuration control, the system signal label and the application signal label can be set. After the target signal label is triggered, the terminal displays the corresponding configuration window in the configuration page. For example, when the system signal label is triggered, the configuration window corresponding to the system signal label is displayed in the configuration page. In this configuration window, you can set identifiers such as serial number, short address, name, alias, signal point type, data type, direction, etc. Under each identifier, you can set an input box or a drop-down menu with multiple options. The user inputs in the input box, or selects based on the drop-down menu, and the terminal can obtain the configuration information of the system signal. Similarly, the terminal can obtain the configuration information of the application signal.
[0107] In the above embodiment, when the configuration page of the signal configuration control is displayed in the information input area, the signal information input by the user in the configuration page is obtained. In the technical solution of the embodiment of the present application, the user can obtain the signal information through the configuration page corresponding to the signal configuration control, so as to configure the signal of the energy storage system later. Since the configuration information acquisition method is simple, the development cycle can be greatly shortened, thereby improving the configuration efficiency.
[0108] In some embodiments, reference Figure 8 The first level configuration control includes a signal library configuration control, and the second level configuration control includes a connection configuration control; the above-mentioned obtaining of configuration information input by the user includes: when the configuration page of the connection configuration control is displayed in the information input area, obtaining the connection relationship information entered by the user in the configuration page.
[0109] The signal is transmitted through interfaces or channels, and these interfaces or channels are connected. The connection relationship information includes the connection relationship of the interfaces or channels in the energy storage system.
[0110] The user inputs a trigger operation for the signal library configuration control in the control area, the terminal receives the trigger operation, and displays multiple second-level configuration controls for the signal in the control area in response to the trigger operation. The user inputs a trigger operation for the connection configuration control in multiple second-level configuration controls, the terminal receives the trigger operation, and displays the configuration page corresponding to the connection configuration control in the information input area in response to the trigger operation. The user can perform input operations or selection operations on the configuration page, and the terminal can obtain the connection relationship information.
[0111] In the above embodiment, when the configuration page of the connection configuration control is displayed in the information input area, the connection relationship information entered by the user in the configuration page is obtained. In the technical solution of the embodiment of the present application, the user can obtain the connection relationship information through the configuration page corresponding to the connection configuration control, so as to subsequently configure the interface or channel of the signal transmission of the energy storage system. Since the configuration information acquisition method is simple, the development cycle can be greatly shortened, thereby improving the configuration efficiency.
[0112] In some embodiments, reference Figure 8 The first level configuration control includes a signal library configuration control, and the second level configuration control includes a synthesis configuration control; the above-mentioned obtaining of configuration information input by the user includes: when the configuration page of the synthesis configuration control is displayed in the information input area, obtaining the signal synthesis information input by the user in the configuration page.
[0113] In the energy storage system, the signal may be a single signal or a composite signal obtained by combining multiple signals. The signal composite information includes the signal structure of the composite signal.
[0114] The user inputs a trigger operation for the signal library configuration control in the control area, the terminal receives the trigger operation, and displays multiple second-level configuration controls for the signal in the control area in response to the trigger operation. The user inputs a trigger operation for the synthesis configuration control in multiple second-level configuration controls, the terminal receives the trigger operation, and displays the configuration page corresponding to the synthesis configuration control in the information input area in response to the trigger operation. The user can perform input operations or selection operations on the configuration page, and the terminal can obtain signal synthesis information. Signal synthesis information may include which signals the synthesized signal is synthesized from, the order of synthesis, the structure after synthesis, etc.
[0115] In the above embodiment, when the configuration page of the synthesis configuration control is displayed in the information input area, the signal synthesis information input by the user in the configuration page is obtained. In the technical solution of the embodiment of the present application, the user can obtain the signal synthesis information through the configuration page corresponding to the synthesis configuration control, so as to configure the synthetic signal of the energy storage system later. Since the configuration information acquisition method is simple, the development cycle can be greatly shortened, thereby improving the configuration efficiency.
[0116] According to some embodiments of the present application, referring to Figure 8 The first level configuration control includes the application configuration control, and the second level configuration control includes at least one of the telesignal configuration control, telemetering configuration control, remote control configuration control, set value configuration control, pressure plate configuration control, event configuration control, panel light configuration control and wave recording configuration control.
[0117] The above-mentioned step of obtaining configuration information based on the configuration page may include: when the configuration page of the application configuration control is displayed in the information input area, obtaining at least one configuration information among the telesignaling information, telemetering information, remote control information, set value information, pressure plate information, event information, panel light information and recording information input by the user in the configuration page.
[0118] Among them, the telesignaling information includes the information of the remote signal used by the energy storage system; the telemetry information includes the information of the remote measurement function of the energy storage system; the remote control information includes the information of the remote remote control function of the energy storage system; the set value information includes the set value used by the energy storage system; the pressure plate information includes the information of the pressure plate (protection connection) used by the energy storage system; the event information includes the information of various events in the energy storage system; the panel light information includes the information of the panel lights of the energy storage system; the recording information includes the information of the fault recording function of the energy storage system.
[0119] The control area of the configuration interface is provided with multiple second-level configuration controls such as remote signal configuration control, telemetering configuration control, remote control configuration control, fixed value configuration control, pressure plate configuration control, event configuration control, panel light configuration control and wave recording configuration control. The user inputs a trigger operation for a target configuration control among the multiple second-level configuration controls, the terminal receives the trigger operation, and in response to the trigger operation displays the configuration page corresponding to the target configuration control in the information input area.
[0120] Reference Fig.10 , the second-level configuration control triggered by the user is the remote control configuration control. The terminal displays the configuration page corresponding to the remote control configuration control in the information input area. This configuration page can set the serial number, short address, name, group, remote control type and control mode of the remote control function of the energy storage system, and set an input box or a drop-down menu of multiple options under each identifier. The user inputs in the input box under each identifier, or selects based on the drop-down menu, and the terminal can obtain the remote control information.
[0121] By analogy, the second-level configuration control triggered by the user is the telesignal configuration control. The terminal displays the configuration page corresponding to the telesignal configuration control in the information input area, and obtains the telesignal information based on the configuration page. The second-level configuration control triggered by the user is the telemetry configuration control. The terminal displays the configuration page corresponding to the telemetry configuration control in the information input area, and obtains the telemetry information based on the configuration page. The second-level configuration control triggered by the user is the fixed value configuration control. The terminal displays the configuration page corresponding to the fixed value configuration control in the information input area, and obtains the fixed value information based on the configuration page. The second-level configuration control triggered by the user is the pressure plate configuration control. The terminal displays the configuration page corresponding to the fixed value configuration control in the information input area. The configuration page corresponding to the pressure plate configuration control is displayed in the terminal, and the pressure plate information is obtained based on the configuration page; the second-level configuration control triggered by the user is the event configuration control, and the terminal displays the configuration page corresponding to the event configuration control in the information input area, and obtains event information based on the configuration page; the second-level configuration control triggered by the user is the panel light configuration control, and the terminal displays the configuration page corresponding to the panel light configuration control in the information input area, and obtains panel light information based on the configuration page; the second-level configuration control triggered by the user is the recording configuration control, and the terminal displays the configuration page corresponding to the recording configuration control in the information input area, and obtains recording information based on the configuration page.
[0122] It should be noted that the configuration page corresponding to the remote control configuration control is not limited to the description. In actual applications, the configuration page corresponding to each configuration control can be set according to actual conditions.
[0123] In the above embodiment, when the configuration page corresponds to the application configuration control, at least one configuration information of telesignaling information, telemetry information, remote control information, set value information, pressure plate information, event information, panel light information and wave recording information is obtained based on the configuration page. In the technical solution of the embodiment of the present application, the terminal can obtain the application configuration information through the configuration page corresponding to the application configuration control, so as to configure the application of the energy storage system later. Since the configuration information acquisition method is simple, the development cycle can be greatly shortened, thereby improving the configuration efficiency.
[0124] The above embodiments list the setup scenarios starting from scratch, but in actual applications, configuration can be performed directly according to the data output by the upstream platform. According to some embodiments of the present application, an import control is also provided in the configuration interface, and the embodiments of the present application may also include: obtaining a configuration list in response to a trigger operation for the import control; and generating a configuration file according to the configuration list.
[0125] The user can input a trigger operation for the import control, the terminal receives the trigger operation, and displays the import window in response to the trigger operation. The user can select a configuration list based on the import window, the terminal imports the configuration list into the application according to the selection operation input by the user, and then directly generates a configuration file based on the configuration list.
[0126] The above configuration list may include a signal list of the energy storage system, a task list to be executed by the software in the energy storage system, etc.
[0127] In the above embodiment, in response to the trigger operation for the import control, the configuration list is obtained; and the configuration file is generated according to the configuration list. In the technical solution of the embodiment of the present application, the configuration file is generated according to the configuration list of the upstream platform, which is faster and can greatly shorten the development cycle, thereby improving the configuration efficiency.
[0128] According to some embodiments of the present application, a method for generating a configuration file is provided, wherein the method is applied to Figure 1 Taking the terminal in as an example, the following steps may be included:
[0129] Step 1: Display the configuration interface of the energy storage system.
[0130] After the configuration interface is displayed, you can proceed to step 2 or step 9.
[0131] Step 2: In response to a trigger operation on a target configuration control, a configuration page corresponding to the target configuration control is displayed in the information input area.
[0132] After the configuration page is displayed, you can perform one or more of steps 3-6.
[0133] Step 3: When the configuration page of the hardware configuration control is displayed in the information input area, at least one configuration information of the board information and the hardware interface information input by the user in the configuration page is obtained.
[0134] Step 4: when the configuration page of the software configuration control is displayed in the information input area, at least one configuration information of the task information, the communication channel information and the software interface information input by the user in the configuration page is obtained.
[0135] Step 5: When the configuration page of the signal configuration control is displayed in the information input area, at least one configuration information of the signal information, connection relationship information and signal synthesis information input by the user in the configuration page is obtained.
[0136] Step 6, when the configuration page of the application configuration control is displayed in the information input area, obtain at least one configuration information of remote signaling information, telemetry information, remote control information, set value information, pressure plate information, event information, panel light information and recording information entered by the user in the configuration page.
[0137] Step 7: Call the business layer interface corresponding to the configuration information, and transmit the configuration information to the middleware layer through the business layer interface.
[0138] Step 8: Generate a configuration file using the middleware layer based on the configuration information according to the preset generation rules.
[0139] Step 9: In response to the trigger operation for the import control, obtain the configuration list.
[0140] Step 10: Generate a configuration file based on the configuration list.
[0141] In the technical solution of the embodiment of the present application, the terminal can obtain configuration information based on the configuration control and configuration page in the configuration interface, and then generate a configuration file according to the configuration information. Since it is convenient to generate and modify the configuration file, the development cycle can be greatly shortened, thereby improving configuration efficiency.
[0142] It should be understood that, although the various steps in the above flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above flowchart may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0143] Based on the same inventive concept, the embodiment of the present application also provides an over-profile generation device for implementing the above-mentioned over-profile generation method. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above-mentioned method, so the specific limitations in one or more over-profile generation device embodiments provided below can refer to the above-mentioned limitations on the over-profile generation method, and will not be repeated here.
[0144] According to some embodiments of the present application, referring to Fig.11 , provides a configuration file generating device, the device comprising:
[0145] The interface display module 501 is used to display the configuration interface of the energy storage system; the configuration interface includes a control area and an information input area, and the control area is provided with a plurality of configuration controls;
[0146] A page display module 502, for displaying a configuration page corresponding to a target configuration control in the information input area in response to a trigger operation on the target configuration control;
[0147] The file generation module 503 is used to obtain configuration information input by the user and generate a configuration file according to the preset generation rules corresponding to the energy storage system; wherein the configuration information is used to configure at least one of the hardware, software, signal and application of the energy storage system.
[0148] In some embodiments, the file generation module 503 is specifically used to call the business layer interface corresponding to the configuration information, and transmit the configuration information to the middleware layer through the business layer interface; the configuration information is used to generate a configuration file through the middleware layer according to preset generation rules; the preset generation rules include at least one of the file writing language, file format and file content.
[0149] In some embodiments, the file generation module 503 is specifically used to store the configuration information in a preset database through the middleware layer; in response to a trigger operation to export the configuration file, the configuration information is extracted from the preset database through the middleware layer, and the configuration information is filled into a file template pre-established according to preset generation rules to obtain a configuration file.
[0150] In some embodiments, the page display module 502 is specifically used to display at least one second-level configuration control in the control area in response to a trigger operation on a first-level configuration control in the control area; and to display a configuration page corresponding to a target configuration control in the information input area in response to a trigger operation on a target configuration control in at least one second-level configuration control.
[0151] In some embodiments, the first-level configuration control includes a system configuration control, the second-level configuration control includes a hardware configuration control, and the file generation module 503 is specifically used to obtain at least one configuration information of the board information and hardware interface information entered by the user in the configuration page when the configuration page of the hardware configuration control is displayed in the information input area; wherein the board information includes at least one of the board slot, board name, board type, board function, board address and operating system, and the hardware interface information includes at least one of the port type, enable flag, transmission direction, transmission rate, transmission polarity and physical address.
[0152] In some embodiments, the first-level configuration control includes a system configuration control, the second-level configuration control includes a software configuration control, and the file generation module 503 is specifically used to obtain at least one configuration information of the task information, communication channel information and software interface information entered by the user in the configuration page when the configuration page of the software configuration control is displayed in the information input area.
[0153] In some embodiments, the first-level configuration control includes a signal library configuration control, the second-level configuration control includes a signal configuration control, and the file generation module 503 is specifically used to obtain the signal information entered by the user in the configuration page when the configuration page of the signal configuration control is displayed in the information input area.
[0154] In some embodiments, the first-level configuration control includes a signal library configuration control, and the second-level configuration control includes a connection configuration control; the file generation module 503 is specifically used to obtain the connection relationship information entered by the user in the configuration page when the configuration page of the connection configuration control is displayed in the information input area.
[0155] In some embodiments, the first-level configuration control includes a signal library configuration control, and the second-level configuration control includes a synthesis configuration control; the file generation module 503 is specifically used to obtain the signal synthesis information entered by the user in the configuration page when the configuration page of the synthesis configuration control is displayed in the information input area.
[0156] In some embodiments, the first-level configuration control includes an application configuration control, and the file generation module 503 is specifically used to obtain at least one configuration information of telesignaling information, telemetry information, remote control information, constant value information, pressure plate information, event information, panel light information and recording information input by the user in the configuration page when the configuration page of the application configuration control is displayed in the information input area.
[0157] In some embodiments, reference Fig.12 , an import control is also provided in the configuration interface, and the device further comprises:
[0158] A list acquisition module 504, used to acquire a configuration list in response to a trigger operation on an import control;
[0159] The file generation module 503 is also used to generate a configuration file according to the configuration list.
[0160] Each module in the above-mentioned over-configuration file generation device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in an electronic device in the form of hardware, or can be stored in a memory in an electronic device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0161] According to some embodiments of the present application, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.13As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a configuration file generation method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0162] Those skilled in the art will understand that Fig.13 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0163] According to some embodiments of the present application, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory including instructions, and the instructions can be executed by a processor of an electronic device to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0164] According to some embodiments of the present application, a computer program product is also provided, and when the computer program is executed by a processor, the above method can be implemented. The computer program product includes one or more computer instructions. When these computer instructions are loaded and executed on a computer, part or all of the above method can be implemented in whole or in part according to the process or function described in the embodiment of the present application.
[0165] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0166] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0167] The above-described embodiments only express several implementation methods of the present application, which is convenient for understanding the technical solutions of the present application in detail, but cannot be understood as limiting the scope of protection of the invention patent. It should be pointed out that for ordinary technicians in this field, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. It should be understood that the technical solutions obtained by those skilled in the art through logical analysis, reasoning or limited experiments on the basis of the technical solutions provided in the present application are all within the protection scope of the attached claims described in the present application. Therefore, the protection scope of the patent of this application shall be based on the contents of the attached claims, and the description and drawings can be used to explain the contents of the claims.
Claims
1. A configuration file generation method, characterized in that: The method comprises: Displaying a configuration interface of the energy storage system; the configuration interface includes a control area and an information input area, and the control area is provided with a plurality of configuration controls; In response to a trigger operation on a target configuration control, displaying a configuration page corresponding to the target configuration control in the information input area; Acquire configuration information input by a user, and generate a configuration file using the configuration information according to a preset generation rule corresponding to the energy storage system; wherein the configuration information is used to configure at least one of the hardware, software, signal and application of the energy storage system.
2. The method according to claim 1, characterized in that The step of generating a configuration file from the configuration information according to a preset generation rule corresponding to the energy storage system includes: Calling the business layer interface corresponding to the configuration information, and transmitting the configuration information to the middleware layer through the business layer interface; The configuration information is used to generate the configuration file according to the preset generation rule through the middleware layer; the preset generation rule includes at least one of a file writing language, a file format and a file content.
3. The method according to claim 2, characterized in that The step of generating the configuration file by using the middleware layer to generate the configuration information according to the preset generation rule includes: Storing the configuration information in a preset database through the middleware layer; In response to a trigger operation of exporting a configuration file, the configuration information is extracted from the preset database through the middleware layer, and the configuration information is filled into a file template pre-established according to the preset generation rule to obtain the configuration file.
4. The method according to claim 1, characterized in that: The step of displaying a configuration page corresponding to the target configuration control in the information input area in response to a trigger operation on the target configuration control includes: In response to a trigger operation on a first-level configuration control in the control area, displaying at least one second-level configuration control in the control area; In response to a triggering operation on the target configuration control in the at least one second-level configuration control, a configuration page corresponding to the target configuration control is displayed in the information input area.
5. The method according to claim 4, characterized in that The first level configuration control includes a system configuration control, the second level configuration control includes a hardware configuration control, and the obtaining of configuration information input by a user includes: When the configuration page of the hardware configuration control is displayed in the information input area, at least one configuration information among the board information and the hardware interface information input by the user in the configuration page is obtained; wherein the board information includes at least one of a board slot, a board name, a board type, a board function, a board address and an operating system, and the hardware interface information includes at least one of a port type, an enable flag, a transmission direction, a transmission rate, a transmission polarity and a physical address.
6. The method according to claim 4, characterized in that The first level configuration control includes a system configuration control, the second level configuration control includes a software configuration control, and the obtaining of configuration information input by a user includes: In a case where the configuration page of the software configuration control is displayed in the information input area, at least one configuration information of task information, communication channel information and software interface information input by a user in the configuration page is obtained.
7. The method according to claim 4, characterized in that The first level configuration control includes a signal library configuration control, the second level configuration control includes a signal configuration control, and the obtaining of configuration information input by a user includes: When the configuration page of the signal configuration control is displayed in the information input area, signal information input by the user in the configuration page is obtained.
8. The method according to claim 4, characterized in that The first level configuration control includes a signal library configuration control, and the second level configuration control includes a connection configuration control; the configuration information input by the user is obtained, including: When the configuration page of the connection configuration control is displayed in the information input area, the connection relationship information input by the user in the configuration page is obtained.
9. The method according to claim 4, characterized in that The first level configuration control includes a signal library configuration control, and the second level configuration control includes a synthesis configuration control; the configuration information input by the user is obtained, including: When the configuration page of the synthesis configuration control is displayed in the information input area, the signal synthesis information input by the user in the configuration page is obtained.
10. The method according to claim 4, characterized in that The first level configuration control includes an application configuration control, and the obtaining of configuration information input by a user includes: When the configuration page of the application configuration control is displayed in the information input area, at least one configuration information among the telesignaling information, telemetry information, remote control information, set value information, pressure plate information, event information, panel light information and recording information input by the user in the configuration page is obtained.
11. The method according to claim 1, characterized in that: The configuration interface is also provided with an import control, and the method further comprises: In response to a trigger operation on the import control, obtaining a configuration list; The configuration file is generated according to the configuration list.
12. A configuration file generating device, characterized in that: The device comprises: An interface display module, used to display the configuration interface of the energy storage system; the configuration interface includes a control area and an information input area, and the control area is provided with a plurality of configuration controls; A page display module, configured to display a configuration page corresponding to the target configuration control in the information input area in response to a trigger operation on the target configuration control; The file generation module is used to obtain configuration information input by the user and generate a configuration file according to the preset generation rules corresponding to the energy storage system; wherein the configuration information is used to configure at least one of the hardware, software, signals and applications of the energy storage system.
13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 11 is implemented.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.