File generation method, terminal equipment and computer readable storage medium

By generating the address information of the signal point, the problem of low efficiency in manual creation of IED capability description files is solved, and efficient and automatic generation of ICD files is achieved, and the operation efficiency and maintainability of the power system are improved.

CN120257959APending Publication Date: 2025-07-04CONTEMPORARY AMPEREX FUTURE ENERGY RES INST (SHANGHAI) LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410009134.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-03
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the prior art, manual creation of IED capability description (ICD) files is inefficient, especially in the case of multiple IEDs and multiple signal points in power systems, which is large and time-consuming.

Method used

By generating address information based on the attribute information of the signal point, the address and ICD information of the signal point are automatically correlated, and the address information is used to automatically generate ICD files to reduce manual intervention.

Benefits of technology

It improves the efficiency of ICD file generation, reduces human resources requirements, enhances maintainability and applicability, reduces skill requirements, and is suitable for operations of different business personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120257959A_ABST
    Figure CN120257959A_ABST
Patent Text Reader

Abstract

The invention relates to the field of power systems, in particular to a file generation method, terminal equipment and a computer readable storage medium. The method comprises the following steps: generating address information of a signal point according to attribute information of the signal point of a module in a target system; and generating an ICD file of the target system according to the address information of the signal point. In the embodiment of the invention, the address information of the signal point is generated according to the attribute information of the signal point, namely, the address information contains the attribute information, so that the terminal equipment can extract the information required for generating the ICD file according to the address information of the signal point, and the ICD file is automatically generated. In this way, the problem that the efficiency of manually creating the ICD file is low can be effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power systems, and in particular, to a file generation method, a terminal device, and a computer-readable storage medium. Background Art

[0002] A power system includes multiple power equipment / devices, such as intelligent electronic devices (IEDs) for implementing functions such as protection and measurement and control. The various IEDs communicate with each other according to a unified communication protocol. This requires providing an IED capability description (ICD) file to describe the capabilities and communication content of the IEDs.

[0003] Currently, it is usually manually added to a template according to the attributes of the IEDs to configure the ICD file. Usually, a power system includes multiple IEDs, and each IED includes multiple signal points. The method of manually creating an ICD file has a large workload and low efficiency. Summary of the Invention

[0004] This application provides a file generation method, a terminal device, and a computer-readable storage medium, which solve the problem of low efficiency in manually creating an ICD file in the prior art.

[0005] To achieve the above object, this application adopts the following technical solutions:

[0006] In a first aspect, a file generation method is provided, including:

[0007] Generating address information of signal points according to the attribute information of the signal points of the modules in the target system;

[0008] Generating an ICD file of the target system according to the address information of the signal points.

[0009] The address information of the signal points (such as the short address) is generated according to the attribute information of the signal points. In other words, during the process of generating the short address, the short address has been associated with the ICD information, and there is no need to manually associate information subsequently. This method greatly saves human resources and effectively improves efficiency. In addition, since the attribute information of the signal points is associated with the address information, therefore, only the address information of the signal points needs to be maintained subsequently, enhancing the maintainability.

[0010] In the embodiments of the present application, since the address information of the signal point is generated according to the attribute information of the signal point, that is, the attribute information is included in the address information, the terminal device can extract the information required to generate the ICD file from the address information of the signal point, so as to automatically generate the ICD file. In this way, the problem of low efficiency in manually creating the ICD file can be effectively solved.

[0011] In one implementation manner of the first aspect, generating the address information of the signal point according to the attribute information of the signal point in the target system includes:

[0012] Obtain an address template;

[0013] Obtain the attribute information of the signal point in the target system;

[0014] Generate the address information of the signal point according to the address template and the attribute information of the signal point.

[0015] In the embodiments of the present application, the attribute information of the signal point can be divided into general information, characteristic information, and additional information. Among them, the general information describes the general attributes of the signal point and can be used for the basic classification of the signal point and the construction of the ICD file. The characteristic information describes the characteristic attributes of the signal point and can be used for the construction of the data set and the database. The additional information describes other supplementary attributes other than the general information and the characteristic information and can be used for the construction of the database.

[0016] Since the format of the address template is determined, the terminal device can extract the required information from the attribute information of the signal point and add it to the corresponding position of the address template, so as to generate the address information of the signal point. In this way, a large amount of human resources are saved, and the creation efficiency of the address information is effectively improved. In addition, through the above method, the address information is equivalent to modular design, and batch generation can be realized, which greatly improves the creation efficiency of the address information.

[0017] In one implementation manner of the first aspect, generating the address information of the signal point according to the address template and the attribute information of the signal point includes:

[0018] Obtain the general information for describing the general attributes of the signal point according to the attribute information of the signal point;

[0019] Add the general information of the signal point to the first information bit of the address template.

[0020] In the embodiments of the present application, the general attributes of the signal point are classified and added to different information bits of the address template. In this way, in the subsequent process of creating the ICD file, the required information can be extracted according to the data meanings of different information bits of the address information, so as to realize the automatic creation of the ICD file.

[0021] In an implementation of the first aspect, adding the general information of the signal point to the first information bit of the address template includes:

[0022] Adding the module information in the general information of the signal point to the module information bit of the first information bit;

[0023] Adding the functional block information in the general information of the signal point to the functional block information bit of the first information bit;

[0024] Adding the data object in the general information of the signal point to the signal point description bit of the first information bit;

[0025] Adding the data value in the general information of the signal point to the data function bit of the first information bit.

[0026] In the embodiments of the present application, the general attribute classification of the signal point is added to different information bits of the address template. In this way, during the subsequent process of creating the ICD file, the required information can be extracted according to the data meanings of different information bits of the address information, thereby realizing the automatic creation of the ICD file.

[0027] In an implementation of the first aspect, generating the address information of the signal point according to the address template and the attribute information of the signal point includes:

[0028] Obtaining the characteristic information for describing the signal attributes of the signal point according to the attribute information of the signal point;

[0029] Adding the characteristic information of the signal point to the second information bit of the address template.

[0030] In the embodiments of the present application, the characteristic information can be used to construct databases and data sets. On the basis that the address template includes the first information bit, adding the second information bit can describe more attribute information of the signal point. In this way, the terminal device can obtain more information from the address information of the signal point, which can not only be used to create the ICD file, but also be used to create the database, greatly enhancing the applicability of the address information and improving the development efficiency. In addition, during the subsequent maintenance process, whether it is the ICD file or the database, only the address information needs to be maintained, greatly reducing the maintenance cost and enhancing the maintainability.

[0031] In an implementation of the first aspect, adding the characteristic information of the signal point to the second information bit of the address template includes:

[0032] Adding the first marker data in the characteristic information of the signal point to the first marker bit of the second information bit;

[0033] Add the data type in the characteristic information of the signal point to the signal type bit of the second information bit;

[0034] Add the database type in the characteristic information of the signal point to the database type bit of the second information bit;

[0035] Add the data format in the characteristic information of the signal point to the data type bit of the second information bit.

[0036] In the embodiments of the present application, the characteristic attributes of the signal point are classified and added to different information bits of the address template. In this way, during the subsequent process of creating a database, the required information can be extracted according to the data meanings of different information bits of the address information, thereby realizing the automatic creation of the database.

[0037] In one implementation manner of the first aspect, the generating the address information of the signal point according to the address template and the attribute information of the signal point includes:

[0038] Obtain additional information for describing the additional attributes of the signal point according to the attribute information of the signal point;

[0039] Add the additional information of the signal point to the third information bit of the address template.

[0040] In the embodiments of the present application, the characteristic information can be used to construct databases and data sets. On the basis that the address template includes the first information bit and the second information bit, adding a third information bit can describe more attribute information of the signal point. In this way, the terminal device can obtain more information from the address information of the signal point, which can not only be used to create an ICD file, but also be used to create a database, greatly enhancing the applicability of the address information and improving the development efficiency. In addition, during the subsequent maintenance process, whether it is an ICD file or a database, only the address information needs to be maintained, greatly reducing the maintenance cost and enhancing the maintainability.

[0041] In one implementation manner of the first aspect, the adding the additional information of the signal point to the third information bit of the address template includes:

[0042] Add the database number in the additional information of the signal point to the signal number bit on the third information bit.

[0043] In the embodiments of the present application, the additional attributes of the signal point are classified and added to different information bits of the address template. In this way, during the subsequent process of creating a database and an ICD file, the required information can be extracted according to the data meanings of different information bits of the address information, thereby realizing the automatic creation of the database and the ICD file.

[0044] In an implementation of the first aspect, generating the ICD file of the target system according to the address information of the signal point includes:

[0045] For each of the signal points, determine whether the address information of the signal point is complete;

[0046] If the address information of the signal point is complete, generate the ICD file of the signal point according to the address information of the signal point.

[0047] In the embodiments of the present application, before generating the ICD file, first checking whether the address information of the signal point is complete can reduce the situation where the creation of the ICD file fails due to missing address information, and effectively improve the success rate of creating the ICD file.

[0048] In an implementation of the first aspect, generating the ICD file of the signal point according to the address information of the signal point includes:

[0049] According to the data on the first flag bit of the second information bit in the address information of the signal point, determine whether the signal point participates in modeling;

[0050] If the signal point participates in modeling, generate the ICD file of the signal point according to the address information of the signal point.

[0051] In the embodiments of the present application, since the address information may include attribute information for constructing the ICD file and attribute information for constructing the database, before constructing the ICD file, determine whether the signal point participates in modeling according to the first flag bit. In this way, the situation of constructing invalid ICD files can be reduced.

[0052] In an implementation of the first aspect, generating the ICD file of the signal point according to the address information of the signal point includes:

[0053] According to the data on the first flag bit of the second information bit in the address information of the signal point, determine whether the output data of the signal point is sent to the client;

[0054] If the output data of the signal point is sent to the client, generate the ICD file of the signal point according to the address information of the signal point, and add the output data of the signal point to the corresponding data set according to the data on the signal type bit of the second information bit in the address information of the signal point.

[0055] In this way, the data received by the client is classified according to the data type, which is convenient for the client to perform upper-layer applications such as data analysis and control.

[0056] In an implementation of the first aspect, generating the ICD file of the signal point according to the address information of the signal point includes:

[0057] Obtain the file template of the ICD file;

[0058] Generate the ICD file of the signal point according to the address information of the signal point and the file template.

[0059] In the embodiments of the present application, the file template is predefined, and the data attributes of each bit of information in the address information of the signal point are also predefined. Therefore, the terminal device can automatically generate the ICD file according to the file template and the address information, thereby solving the problem of low efficiency in manually creating the ICD file.

[0060] In an implementation of the first aspect, the method further includes:

[0061] Generate the database of the target system according to the address information of the signal point.

[0062] In the embodiments of the present application, the address information of the signal point not only includes the attribute information for creating the ICD file, but may also include the attribute information for creating the database. Therefore, while creating the ICD file according to the address information of the signal point, the database of the target system can also be created according to the address information of the signal point.

[0063] In an implementation of the first aspect, generating the database of the target system according to the address list includes:

[0064] Generate the database of the target system according to the data on the second bit of information in the address information of the signal point.

[0065] In the embodiments of the present application, the data attributes of each bit of information in the address information of the signal point are predefined. Therefore, the terminal device can classify the signal points according to the address information, thereby realizing the automatic creation of the database.

[0066] In an implementation of the first aspect, generating the database of the target system according to the data on the second bit of information in the address information of the signal point includes:

[0067] Classify each signal point of each module of the target system according to the data on the database type bit of the second bit of information in the address information of the signal point; generate a database for each category of signal points respectively.

[0068] In the embodiments of the present application, the data attributes of each bit of information in the address information of the signal point are predefined. Therefore, the terminal device can classify the signal points according to the address information, thereby realizing the automatic creation of the database.

[0069] In one implementation of the first aspect, the method further includes:

[0070] Perform visual modeling on the target system according to the address information of the signal point to obtain a visual model of the target system.

[0071] Among them, visual modeling refers to presenting each module in the target system, the interfaces / pins between each module, and the interaction relationships to the user in a visual manner. Through the visual model, the user can more clearly and intuitively understand the architecture and information flow of the target system.

[0072] In one implementation of the first aspect, the performing visual modeling on the target system according to the address information of the signal point to obtain a visual model of the target system includes:

[0073] Obtain the association relationship between each signal point of each module in the target system according to the data on the module information bit, the data on the functional block information bit, and the data on the signal point description bit in the first information bit of the address information of the signal point;

[0074] Construct a visual model of the target system according to the association relationship.

[0075] In the embodiments of the present application, according to the address information of the signal point, not only can an ICD file be constructed, but also a database can be constructed, and visual modeling can be performed, which greatly improves the utilization rate and applicability of the address information. In addition, during the subsequent maintenance process, only the address information needs to be maintained, and there is no need to separately maintain the information of the ICD file, the information of the database, and the information of the visual model, which greatly reduces the maintenance cost and enhances the maintainability.

[0076] In a second aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the file generation method according to any one of the above first aspects.

[0077] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the file generation method according to any one of the above first aspects.

[0078] In a fourth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, it causes the terminal device to execute the file generation method according to any one of the above first aspects.

[0079] It can be understood that for the beneficial effects of the above second to fourth aspects, reference can be made to the relevant descriptions in the above first aspect, and details are not repeated here.

[0080] The above description is only an overview of the technical solution of the present application. In order to understand the technical means of the present application more clearly, it can be implemented in accordance with the content of the specification. And in order to make the above and other purposes, features and advantages of the present application more obvious and understandable, the following specific embodiments of the present application are given. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] By reading the following detailed description of the preferred embodiments, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present application. Moreover, in all the drawings, the same reference numerals are used to represent the same components. In the drawings:

[0082] Figure 1 is a flowchart of the file generation method provided by the embodiment of the present application;

[0083] Figure 2 is a schematic diagram of the module provided by the embodiment of the present application;

[0084] Figure 3 is a flowchart of the address information generation method provided by the embodiment of the present application;

[0085] Figure 4 is a schematic diagram of the address template provided by the embodiment of the present application;

[0086] Figure 5 is a flowchart of the file generation method provided by the embodiment of the present application;

[0087] Figure 6 is a schematic diagram of the structure of the terminal device provided by the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0088] The following will describe in detail the embodiments of the technical solution of the present application with reference to the drawings. The following embodiments are only used to illustrate the technical solution of the present application more clearly, and thus are only examples and should not be used to limit the protection scope of the present application.

[0089] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill 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" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusion.

[0090] In the description of the embodiments of the present application, technical terms such as "first" and "second" are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity, specific order or primary-secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "a plurality of" is more than two, unless otherwise specifically defined.

[0091] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.

[0092] In the description of the embodiments of the present application, the term "and / or" is merely a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after.

[0093] In the description of the embodiments of the present application, the term "a plurality of" refers to more than two (including two). Similarly, "a plurality of groups" refers to more than two groups (including two groups), and "a plurality of pieces" refers to more than two pieces (including two pieces).

[0094] The power system includes a plurality of power equipment / devices, such as intelligent electronic devices (IEDs) for realizing functions such as protection and measurement and control. The various IEDs communicate with each other according to a unified communication protocol. This requires providing an IED capability description (ICD) file for each IED to describe the capabilities and communication content of the IED through the ICD file.

[0095] Currently, it is usually manually added to the template according to the attributes of the IED to configure the ICD file. Usually, the power system includes a plurality of IEDs, and each IED includes a plurality of signal points. The method of manually creating the ICD file has a large workload and low efficiency.

[0096] Based on this, an embodiment of the present application provides a file generation method. Through the method in the embodiment of the present application, address information is generated according to the attribute information of signal points, and an ICD file of the target system is generated according to the address information of each signal point in the target system. In this way, the terminal device can automatically obtain the information required for the ICD file from the address information and automatically generate the ICD file, thus effectively solving the problem of low efficiency caused by manually creating the ICD file.

[0097] See Figure 1 , which is a schematic flowchart of the file generation method provided by the embodiment of the present application. As an example rather than a limitation, as Figure 1 shown, the file generation method may include the following steps:

[0098] S101, generate address information of signal points according to the attribute information of signal points of modules in the target system.

[0099] In the embodiment of the present application, the target system may include multiple modules, and the modules may communicate with each other through interfaces (or called pins), and these interfaces can be regarded as signal points.

[0100] In some application scenarios, the target system may be a power system such as a substation including multiple IEDs. Among them, each IED can be regarded as a module of the power system, and each module may include function blocks. For the convenience of description, the embodiment of the present application takes the power system as an example for description.

[0101] Exemplarily, see Figure 2 , which is a schematic diagram of a module provided by the embodiment of the present application. As Figure 2 shown, it is a schematic diagram of a battery module. Among them, the battery module includes a No. 2 battery cell and a No. 3 battery cell, and here the No. 2 battery cell and the No. 3 battery cell are function blocks in the battery module. The No. 2 battery cell includes three interfaces (i.e., signal points) of "temperature", "voltage", and "alarm". The No. 3 battery cell includes three interfaces (i.e., signal points) of "temperature", "voltage", and "alarm". The battery module also includes three interfaces (i.e., signal points) of "temperature", "voltage", and "alarm". From Figure 2 it can be seen that this battery module includes two function blocks and 9 signal points. The battery module can send the temperature, voltage, and alarm information of the No. 2 battery cell and the No. 3 battery cell, as well as the temperature, voltage, and alarm information of the battery module as a whole, to other modules through 9 signal points.

[0102] It should be noted that Figure 2 it is only an example of modules and signal points in the power system, and the embodiment of the present application does not make specific limitations on the internal structure of the module, the number and functions of signal points, etc.

[0103] In some application scenarios, IEDs communicate with each other through a unified communication protocol (such as the IEC61850 protocol), and an ICD file of the IED needs to be provided according to the signal points of the IED. Generally, in order to achieve device control, short addresses can be assigned to the signal points for storing the output data of the signal points, so that the upper-layer application can control the device according to the data stored in the short addresses. Based on this, in some implementation methods, a short address is generated for each signal point first. However, since the short address may not match the ICD description of the signal, it is necessary to associate the ICD information of the signal point with its short address. For example, the ICD information of the signal point is added to the corresponding short address one by one. This method requires a large amount of human resources and is time-consuming and laborious.

[0104] As described above, the address information of the signal point (such as the short address) is generated according to the attribute information of the signal point. In other words, during the process of generating the short address, the short address has been associated with the ICD information, and there is no need to manually associate the information subsequently. This method greatly saves human resources and effectively improves efficiency. In addition, since the attribute information of the signal point is associated with the address information, only the address information of the signal point needs to be maintained subsequently, enhancing the maintainability.

[0105] S102. Generate an ICD file of the target system according to the address information of the signal point.

[0106] In the embodiments of the present application, since the address information of the signal point is generated according to the attribute information of the signal point, that is, the address information contains the attribute information, the terminal device can extract the information required for generating the ICD file according to the address information of the signal point, and thus automatically generate the ICD file. In this way, the problem of low efficiency in manually creating the ICD file can be effectively solved.

[0107] In addition, since manually creating an ICD file requires personnel to have relatively professional communication knowledge and be familiar with communication protocols, the skill requirements for personnel are relatively high. In the embodiments of the present application, during the process of generating the address information, only the attribute information of the signal needs to be input, and the skill requirements for the operator are relatively low. Even business personnel who are not familiar with communication protocols can operate, which is conducive to decoupling business personnel from the communication system and greatly improves the applicability and maintainability of the ICD file creation process.

[0108] In some embodiments, the step of generating the address information of the signal point according to the attribute information of the signal point of the module in the target system in S101 may include: classifying according to the attribute information of the signal point of the module in the target system to obtain different categories of attribute information; and generating the address information of the signal point according to the categories of the attribute information.

[0109] In the above embodiments, each time the address information of a signal point is generated, it is necessary to classify the attribute information of the signal point. This method has a large amount of data processing and is likely to reduce the creation efficiency of the address information.

[0110] In some embodiments, refer to Figure 3 , which is a schematic flowchart of the address information generation method provided by the embodiments of the present application. As an example rather than a limitation, as Figure 3 shown, S101 may include:

[0111] S301, obtain an address template.

[0112] Among them, the address template can define data formats, data types, and the meanings of information on each information bit, etc.

[0113] S302, obtain the attribute information of the signal points of the modules in the target system.

[0114] In the embodiments of the present application, the attribute information of the signal points can be divided into general information, characteristic information, and additional information. Among them, the general information describes the general attributes of the signal points and can be used for basic classification of the signal points and the construction of ICD files. The characteristic information describes the characteristic attributes of the signal points and can be used for the construction of data sets and databases. The additional information describes other supplementary attributes other than the general information and the characteristic information and can be used for the construction of databases.

[0115] S303, generate the address information of the signal point according to the address template and the attribute information of the signal point.

[0116] Since the format of the address template is determined, the terminal device can extract the required information from the attribute information of the signal point and add it to the corresponding position of the address template, thereby generating the address information of the signal point. In this way, a large amount of human resources are saved, and the creation efficiency of the address information is effectively improved. In addition, through the above method, it is equivalent to modular design of the address information, which can realize batch generation and greatly improve the creation efficiency of the address information.

[0117] In some embodiments, the address template includes a first information bit, where the information on the first information bit is used to describe the general attributes of the signal point.

[0118] Correspondingly, step S303 may include:

[0119] Obtain the general information used to describe the general attributes of the signal point according to the attribute information of the signal point;

[0120] Add the general information of the signal point to the first information bit of the address template.

[0121] In the embodiments of the present application, the general information may be information for constructing an ICD file.

[0122] Optionally, the first information bits include module information bits, function block information bits, signal point description bits, and data function bits; the general information of the signal point includes the module information of the module to which the signal point belongs, the function block information of the function block to which the signal point belongs, the data object corresponding to the signal point, and the data value output by the signal point, where the module includes the function block.

[0123] Correspondingly, adding the general information of the signal point to the first information bits of the address template includes:

[0124] Adding the module information in the general information of the signal point to the module information bits of the first information bits;

[0125] Adding the function block information in the general information of the signal point to the function block information bits of the first information bits;

[0126] Adding the data object in the general information of the signal point to the signal point description bits of the first information bits;

[0127] Adding the data value in the general information of the signal point to the data function bits of the first information bits.

[0128] In the embodiments of the present application, the function block information bits may correspond to a logical node (LN). The signal point description bits may correspond to a data object (DO). The data function bits may correspond to a data attitude (DA).

[0129] Exemplarily, as Figure 2 In the battery module shown, for the "temperature" signal point of the No. 2 battery cell, the module to which it belongs is the battery module, the function block to which it belongs is the No. 2 battery cell, the corresponding data object is "temperature", and the output data value is the temperature value.

[0130] In some implementation manners, the module information may be the number or name of the module. The function block information may be the number or name of the function block. The data object may be the number or name of a pin / interface or the object name defined in the upper-layer application.

[0131] In the embodiments of the present application, by classifying and adding the general attributes of the signal point to different information bits of the address template, in this way, during the subsequent process of creating an ICD file, the required information can be extracted according to the data meanings of different information bits of the address information, thereby realizing the automatic creation of the ICD file.

[0132] In some embodiments, the address template includes a second information bit, and the information on the second information bit is used to describe the signal attributes of the signal point.

[0133] Correspondingly, step S303 may include:

[0134] Obtain the characteristic information for describing the signal attributes of the signal point according to the attribute information of the signal point;

[0135] Add the characteristic information of the signal point to the second information bit of the address template.

[0136] In the embodiments of the present application, the characteristic information can be used to construct a database and a data set. On the basis that the address template includes a first information bit, adding a second information bit can describe more attribute information of the signal point. In this way, the terminal device can obtain more information from the address information of the signal point, which can be used not only to create an ICD file but also to create a database, greatly enhancing the applicability of the address information and improving the development efficiency. In addition, during subsequent maintenance, whether it is an ICD file or a database, only the address information needs to be maintained, greatly reducing the maintenance cost and enhancing the maintainability.

[0137] Optionally, the second information bit includes a first flag bit, a signal type bit, a database type bit, and a data type bit, where the data on the first flag bit is used to indicate whether the signal point participates in modeling and whether the data of the signal point is sent to the client.

[0138] The characteristic information of the signal point includes first flag data, the data type of the output data of the signal point, the database type to which the output data of the signal point belongs, and the data format of the output data of the signal point, where the first flag data is used to indicate whether the signal point participates in modeling and whether the output data of the signal point is sent to the client.

[0139] Correspondingly, adding the characteristic information of the signal point to the second information bit of the address template includes:

[0140] Add the first flag data in the characteristic information of the signal point to the first flag bit of the second information bit;

[0141] Add the data type in the characteristic information of the signal point to the signal type bit of the second information bit;

[0142] Add the database type in the characteristic information of the signal point to the database type bit of the second information bit;

[0143] Add the data format in the characteristic information of the signal point to the data type bit of the second information bit.

[0144] In the embodiments of the present application, if the first marker data indicates that the signal point participates in modeling, the signal point is configured into the ICD file; if it indicates that the signal point does not participate in modeling, there is no need to configure the signal point into the ICD file. If the first marker data indicates that the signal point is sent to the client, the signal point is configured into the data set; if it indicates that there is no need to send it to the client, there is no need to configure the signal point into the data set.

[0145] In some implementation manners, the first marker data can be represented by multiple-bit data. For example, the first marker data is 2-bit binary data. Among them, 11 indicates that the signal point participates in modeling and the data is sent to the client; 00 indicates that the signal point does not participate in modeling and the data is not sent to the client; 10 indicates that the signal point participates in modeling and the data is not sent to the client; 01 indicates that the signal point does not participate in modeling and the data is sent to the client. It should be noted that the above is only an example of the first marker data, and the form of the first marker data is not specifically limited in the embodiments of the present application.

[0146] In some examples, the data types of the output data of the signal point can include remote signaling points (ST), remote measurements (MX), set values (SP), etc. Among them, the remote signaling point can be binary data 1 or 0. The remote measurement can be different numerical values, representing different states of the signal point. The set value can be the default parameter value. For example, Figure 2 The data type of the output data of the shown signal point "temperature" belongs to remote measurement. Figure 2 The data type of the output data of the shown signal point "alarm" belongs to the set value, that is, when the signal point outputs a certain default parameter value, it indicates an alarm. For another example, for some signal points with a gate function, their output data belongs to remote signaling points, such as 1 indicating opening the gate and 0 indicating closing the gate.

[0147] The data format of the output data of the signal point can be the data format defined in the upper-layer application, such as integer type int, floating-point type float, etc.

[0148] In the embodiments of the present application, the classification of the characteristic attributes of the signal point is added to different information bits of the address template. In this way, in the subsequent process of creating the database, the required information can be extracted according to the data meanings of different information bits of the address information, so as to realize the automatic creation of the database.

[0149] In some embodiments, the address template includes a third information bit, where the information on the third information bit is used to describe the additional attributes of the signal point.

[0150] Correspondingly, step S303 may include:

[0151] Obtain additional information for describing additional attributes of the signal point according to the attribute information of the signal point;

[0152] Add the additional information of the signal point to the third information bit of the address template.

[0153] In the embodiments of the present application, the feature information can be used to construct databases and data sets. On the basis that the address template includes the first information bit and the second information bit, adding a third information bit can describe more attribute information of the signal point. In this way, the terminal device can obtain more information from the address information of the signal point, which can not only be used to create ICD files, but also be used to create databases, greatly enhancing the applicability of the address information and improving the development efficiency. In addition, during subsequent maintenance, whether it is an ICD file or a database, only the address information needs to be maintained, greatly reducing the maintenance cost and enhancing the maintainability.

[0154] Optionally, the third information bit includes a signal number bit; the additional information of the signal point includes the database number of the database to which the output data of the signal point belongs.

[0155] Correspondingly, adding the additional information of the signal point to the third information bit of the address template includes:

[0156] Add the database number in the additional information of the signal point to the signal number bit in the third information bit.

[0157] It should be noted that only one example of the additional information of the signal point is shown in the above embodiments. For other attributes that can be used to assist in the creation of ICD files or databases, they can also be added to the third information bit as additional information. For example, data such as the timeout time and control mode required by the ICD file can all be reflected in the third information bit. For another example, additional rules can also be added to the third information bit, such as associating the MX class short address with the mag.f corresponding item, and associating the ST class and control type short address with the SBOw, Oper, or Cancel corresponding item. The embodiments of the present application do not make specific limitations on the data in the third information bit.

[0158] In the embodiments of the present application, the additional attributes of the signal point are classified and added to different information bits of the address template. In this way, during the subsequent process of creating databases and ICD files, the required information can be extracted according to the data meanings of different information bits of the address information, so as to realize the automatic creation of databases and ICD files.

[0159] Exemplarily, refer to Figure 4 , which is a schematic diagram of the address template provided by the embodiments of the present application. By way of example and not limitation, such as Figure 4As shown, the address template includes a first information bit AA, a second information bit BB, and a third information bit CC. Among them, the first information bit includes a module information bit, a functional block information bit, a signal point description bit, and a data function bit. The second information bit includes a first flag bit, a signal type bit, a database type bit, and a data type bit. The third information bit includes a signal number bit.

[0160] It should be noted that the above example is only an example of the address template, and the embodiments of the present application do not specifically limit the number of bits of the first information bit, the second information bit, and the third information bit. In addition, in actual applications, if more information needs to be added, more types of information bits can be added, such as a fourth information bit, a fifth information bit, etc. The corresponding extended solutions are substantially the same as those of the present application and are all within the protection scope of the present application.

[0161] In some embodiments, step S102 may include:

[0162] For each of the signal points, determine whether the address information of the signal point is complete.

[0163] If the address information of the signal point is complete, generate an ICD file for the signal point according to the address information of the signal point.

[0164] In some implementation manners, it may be determined whether there is data in each information bit of the address information and whether the data conforms to the data format of the information bit; if there is data in each information bit and the data conforms to the data format of the information bit, it is determined that the address information of the signal point is complete; if there is no data in any one information bit or the data in any one information bit does not conform to the data format of the information bit, it is determined that the address information of the signal point is incomplete.

[0165] In the embodiments of the present application, before generating the ICD file, first check whether the address information of the signal point is complete, which can reduce the situation of ICD file creation failure caused by missing address information and effectively improve the success rate of ICD file creation.

[0166] In some embodiments, S102 includes:

[0167] According to the data on the first flag bit of the second information bit in the address information of the signal point, determine whether the signal point participates in modeling;

[0168] If the signal point participates in modeling, generate an ICD file for the signal point according to the address information of the signal point;

[0169] If the signal point does not participate in modeling, there is no need to configure an ICD file for the signal point.

[0170] In the embodiments of the present application, since the address information may include attribute information for constructing an ICD file and attribute information for constructing a database, before constructing the ICD file, it is determined whether the signal point participates in modeling according to the first flag bit. In this way, the situation of constructing invalid ICD files can be reduced.

[0171] In some embodiments, S102 includes:

[0172] Judge whether the output data of the signal point is sent to the client according to the data on the first flag bit of the second information bit in the address information of the signal point;

[0173] If the output data of the signal point is sent to the client, generate the ICD file of the signal point according to the address information of the signal point, and add the output data of the signal point to the corresponding data set according to the data on the signal type bit of the second information bit in the address information of the signal point;

[0174] If the output data of the signal point does not need to be sent to the client, generate the ICD file of the signal point according to the address information of the signal point.

[0175] As described above, the data on the signal type bit represents the data type of the output data of the signal point, such as remote signaling points, remote measurements, and setting values, etc. According to the different data types, the output data of each signal point is added to different data sets. For example, the data of remote signaling points is added to the data set of remote signaling points, the data of remote measurements is added to the data set of remote measurements, and the data of setting values is added to the data set of setting values. In other words, the data in the same data set has the same data type. In this way, the data received by the client is classified according to the data type, which is convenient for the client to perform upper-layer applications such as data analysis and control.

[0176] It should be noted that the above three implementation manners of S102 may be in any order or may be processed in parallel. In this regard, the embodiments of the present application do not make specific limitations.

[0177] In some embodiments, S102 includes:

[0178] Obtain the file template of the ICD file; generate the ICD file of the signal point according to the address information of the signal point and the file template.

[0179] In some implementation manners, the file template of the ICD file may include multiple positions to be filled, and each position to be filled defines data attributes. After the terminal device obtains the file template and the address information of the signal point, it extracts data from each information bit of the address information, searches for the position to be filled that matches the data attribute according to the data in the information bit where the data is located in the file template, and adds the data to the position to be filled.

[0180] In the embodiments of the present application, the file template is predefined, and the data attributes of each information bit in the address information of the signal point are also predefined. Therefore, the terminal device can automatically generate an ICD file according to the file template and the address information, thus solving the problem of low efficiency in manually creating an ICD file.

[0181] In some embodiments, the method further includes:

[0182] Generating a database of the target system according to the address information of the signal point.

[0183] As described above, the address information of the signal point not only includes the attribute information for creating an ICD file, but may also include the attribute information for creating a database. Therefore, while creating an ICD file according to the address information of the signal point, a database of the target system can also be created according to the address information of the signal point.

[0184] Among them, the database can store intermediate data, output data obtained during the operation of each IED in the target system, and interaction data for communication between each IED, etc.

[0185] In one implementation, a database of the target system is generated according to the data on the second information bit in the address information of the signal point.

[0186] Specifically, it may include: classifying each signal point of each module of the target system according to the data on the database type bit of the second information bit in the address information of the signal point; generating a database for each category of signal points respectively.

[0187] In the embodiments of the present application, the data attributes of each information bit in the address information of the signal point are predefined. Therefore, the terminal device can classify the signal points according to the address information, thereby realizing the automatic creation of the database.

[0188] In other implementations, if there is data on the third information bit in the address information of the signal point, a database can also be generated according to the data on the second information bit and the data on the third information bit.

[0189] In some embodiments, the method further includes:

[0190] Performing visual modeling on the target system according to the address information of the signal point to obtain a visual model of the target system.

[0191] Among them, visual modeling means presenting the various modules in the target system, the interfaces / pins between the various modules, and the interaction relationships to the user in a visual manner. For example, Figure 2The battery module shown is presented to the user, which is a visual model of the battery module. Through the visual model, the user can more clearly and intuitively understand the architecture and information flow of the target system.

[0192] In one implementation, according to the data on the module information bit, the function block information bit, and the signal point description bit in the address information of the signal point, the association relationship between each signal point of each module in the target system is obtained; and a visual model of the target system is constructed according to the association relationship.

[0193] Exemplarily, for the signal point "temperature" of the No. 2 battery cell, according to its address information, it belongs to the No. 2 battery cell in the battery module. For the signal point "temperature" of the No. 3 battery cell, according to its address information, it belongs to the No. 3 battery cell in the battery module. According to the above information, a visual model as shown in Figure 2 can be constructed, and from this model, the relationships between the battery module, the No. 2 battery cell, the No. 3 battery cell, the signal points of the No. 2 battery cell, and the signal points of the No. 3 battery cell can be directly seen.

[0194] As described above, in the embodiments of the present application, according to the address information of the signal point, not only can an ICD file be constructed, but also a database can be constructed, and visual modeling can be performed, which greatly improves the utilization rate and applicability of the address information. In addition, during the subsequent maintenance process, only the address information needs to be maintained, and there is no need to separately maintain the information of the ICD file, the information of the database, and the information of the visual model, which greatly reduces the maintenance cost and enhances the maintainability.

[0195] Exemplarily, referring to Figure 5 , which is a schematic flowchart of the file generation method provided by the embodiments of the present application. By way of example and not limitation, as shown in Figure 5 , the following steps may be included:

[0196] S501, Visualization module creation.

[0197] In the embodiments of the present application, the module can be constructed in a visual manner. For example, by using a visualization tool to add attribute information to the modules in the target system, while generating the visualization module, the attribute information of the signal points in the module is obtained.

[0198] S502, Visualization module construction.

[0199] Among them, module construction means combining each module together according to their interaction relationships to obtain a visual model of the target system.

[0200] During the process of module construction, there are often multiple identical or similar modules. In this case, the modules created in S501 can be copied, or details can be modified based on them, so as to achieve the batch creation of a large number of signal points, which is conducive to improving the creation efficiency.

[0201] S503, Address information generation.

[0202] For the process of address information generation, reference can be made to the description in the above Figure 3 embodiment and will not be elaborated here.

[0203] S504, Generate a database.

[0204] In one implementation, the database of the target system is generated according to the data on the second information bit in the address information of the signal point.

[0205] S505, Determine whether the address information of the signal point is complete. If so, execute S506; otherwise, do not configure.

[0206] S506, Determine whether the signal point participates in modeling.

[0207] If so, execute S507; otherwise, do not configure.

[0208] S507, Determine whether to send information. If so, execute S508; otherwise, execute S509.

[0209] For steps S505 - S507, reference can be made to the description in the above embodiment of S102 and will not be elaborated here.

[0210] It should be noted that the two judgment steps in S505 - S507 can be in any order or processed in parallel.

[0211] S508, Generate a data set.

[0212] S509, Generate an ICD file.

[0213] For steps S508 and S509, reference can be made to the description in the above embodiments of data set and ICD file generation and will not be elaborated here.

[0214] By Figure 5As can be seen from the embodiments, the document generation method provided by the embodiments of the present application can specifically describe signal points through the construction of a visualization module, obtain the attribute information of the signal points, then generate the address information of the signal points according to the attribute information of the signal points, and then construct an ICD file and a database according to the address information. Through the above method, during the visualization modeling process, the address information of the signal points used to construct the ICD file and the database can be obtained, which greatly improves the utilization rate and applicability of the address information. In addition, during the subsequent maintenance process, only the address information needs to be maintained, and there is no need to separately maintain the information of the ICD file, the information of the database, and the information of the visualization model, which greatly reduces the maintenance cost and enhances the maintainability.

[0215] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The order of execution of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0216] Figure 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. As Figure 6 shown, the terminal device 6 of this embodiment includes: at least one processor 60 ( Figure 6 only one is shown in the figure), a processor, a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60. When the processor 60 executes the computer program 62, the steps in any of the above embodiments of the battery health state estimation method are implemented.

[0217] The terminal device may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that Figure 6 merely an example of the terminal device 6, which does not constitute a limitation to the terminal device 6, and may include more or fewer components than shown in the figure, or combine some components, or different components. For example, it may also include input / output devices, network access devices, etc.

[0218] The processor 60 may be a Central Processing Unit (CPU), and the processor 60 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.

[0219] In some embodiments, the memory 61 may be an internal storage unit of the terminal device 6, such as the hard disk or memory of the terminal device 6. In other embodiments, the memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc., equipped on the terminal device 6. Further, the memory 61 may also include both the internal storage unit and the external storage device of the terminal device 6. The memory 61 is used to store an operating system, application programs, a Boot Loader, data, and other programs, such as the program code of the computer program. The memory 61 may also be used to temporarily store data that has been output or is to be output.

[0220] An embodiment of the present application provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the file generation method in the above embodiments is implemented.

[0221] This embodiment also provides a computer program product. The computer-readable storage medium stores program code, and when the computer program product runs on a computer, the computer is caused to execute the above relevant steps to implement the file generation method in the above embodiments.

[0222] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above-described embodiment methods of this application, a computer program can be used to instruct relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-described various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, an executable file, or some intermediate form, etc. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the device / terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electrical carrier signal, a telecommunications signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk, or an optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium cannot be an electrical carrier signal and a telecommunications signal.

[0223] In the above embodiments, the descriptions of the various embodiments each have their own focuses. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0224] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

Claims

1. A document generation method, characterized in that, including: generating address information of signal points according to attribute information of signal points of modules in a target system; generating an ICD file of the target system according to the address information of the signal points.

2. The document generation method according to claim 1, wherein The generating address information of signal points according to attribute information of signal points of modules in a target system includes: obtaining an address template; obtaining attribute information of signal points of modules in the target system; generating the address information of the signal points according to the address template and the attribute information of the signal points.

3. The document generation method according to claim 2, wherein The generating the address information of the signal points according to the address template and the attribute information of the signal points includes: obtaining general information for describing general attributes of the signal points according to the attribute information of the signal points; adding the general information of the signal points to a first information bit of the address template.

4. The document generation method according to claim 3, wherein The adding the general information of the signal points to a first information bit of the address template includes: adding module information in the general information of the signal points to a module information bit of the first information bit; adding function block information in the general information of the signal points to a function block information bit of the first information bit; adding data objects in the general information of the signal points to a signal point description bit of the first information bit; adding data values in the general information of the signal points to a data function bit of the first information bit.

5. The document generation method according to claim 3, wherein The generating the address information of the signal points according to the address template and the attribute information of the signal points includes: obtaining characteristic information for describing signal attributes of the signal points according to the attribute information of the signal points; adding the characteristic information of the signal points to a second information bit of the address template.

6. The document generation method according to claim 5, wherein The adding the characteristic information of the signal points to a second information bit of the address template includes: adding first marker data in the characteristic information of the signal points to a first marker bit of the second information bit; adding data types in the characteristic information of the signal points to a signal type bit of the second information bit; adding database types in the characteristic information of the signal points to a database type bit of the second information bit; adding data formats in the characteristic information of the signal points to a data type bit of the second information bit.

7. The document generation method according to claim 5, wherein The generating the address information of the signal points according to the address template and the attribute information of the signal points includes: obtaining additional information for describing additional attributes of the signal points according to the attribute information of the signal points; adding the additional information of the signal points to a third information bit of the address template.

8. The document generation method according to claim 7, wherein The adding the additional information of the signal points to a third information bit of the address template includes: adding a database number in the additional information of the signal points to a signal number bit on the third information bit.

9. The document generation method according to claim 6, wherein The generating the ICD file of the target system according to the address information of the signal points includes: for each of the signal points, determining whether the address information of the signal point is complete; if the address information of the signal point is complete, generating an ICD file of the signal point according to the address information of the signal point.

10. The document generation method according to claim 9, wherein Generating the ICD file of the signal point according to the address information of the signal point includes: Judging whether the signal point participates in modeling according to the data on the first flag bit of the second information bit in the address information of the signal point; If the signal point participates in modeling, generating the ICD file of the signal point according to the address information of the signal point.

11. The document generation method according to claim 9 or 10, characterized in that, Generating the ICD file of the signal point according to the address information of the signal point includes: Judging whether the output data of the signal point is sent to the client according to the data on the first flag bit of the second information bit in the address information of the signal point; If the output data of the signal point is sent to the client, generating the ICD file of the signal point according to the address information of the signal point, and adding the output data of the signal point to the corresponding dataset according to the data on the signal type bit of the second information bit in the address information of the signal point.

12. The document generation method according to any one of claims 9 to 11, characterized in that, Generating the ICD file of the signal point according to the address information of the signal point includes: Obtaining the file template of the ICD file; Generating the ICD file of the signal point according to the address information of the signal point and the file template.

13. The document generation method according to claim 6, wherein The method further includes: Generating the database of the target system according to the address information of the signal point.

14. The document generation method according to claim 13, characterized in that Generating the database of the target system according to the address information of the signal point includes: Generating the database of the target system according to the data on the second information bit in the address information of the signal point.

15. The document generation method according to claim 14, wherein Generating the database of the target system according to the data on the second information bit in the address information of the signal point includes: Classifying each signal point of each module of the target system according to the data on the database type bit of the second information bit in the address information of the signal point; Generating a database for each category of signal points respectively.

16. The document generation method according to claim 4, wherein The method further includes: Performing visual modeling on the target system according to the address information of the signal point to obtain the visual model of the target system.

17. The document generation method according to claim 16, characterized in that Performing visual modeling on the target system according to the address information of the signal point to obtain the visual model of the target system includes: Obtaining the association relationship between each signal point of each module in the target system according to the data on the module information bit, the function block information bit, and the signal point description bit of the first information bit in the address information of the signal point; Constructing the visual model of the target system according to the association relationship.

18. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the file generation method according to any one of claims 1 to 17.

19. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the file generation method according to any one of claims 1 to 17.