CN114827243A - Configuration file issuing method, tool, electronic equipment and readable storage medium - Google Patents

Configuration file issuing method, tool, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN114827243A
CN114827243A CN202210551931.5A CN202210551931A CN114827243A CN 114827243 A CN114827243 A CN 114827243A CN 202210551931 A CN202210551931 A CN 202210551931A CN 114827243 A CN114827243 A CN 114827243A
Authority
CN
China
Prior art keywords
configuration file
issuing
main controller
fan main
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210551931.5A
Other languages
Chinese (zh)
Other versions
CN114827243B (en
Inventor
梅乐
韦永清
周涛
刘斐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Electric Wind Power Group Co Ltd
Original Assignee
Shanghai Electric Wind Power Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Electric Wind Power Group Co Ltd filed Critical Shanghai Electric Wind Power Group Co Ltd
Priority to CN202210551931.5A priority Critical patent/CN114827243B/en
Publication of CN114827243A publication Critical patent/CN114827243A/en
Application granted granted Critical
Publication of CN114827243B publication Critical patent/CN114827243B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The application provides a configuration file issuing method, a tool, electronic equipment and a readable storage medium. The configuration file issuing method comprises the steps of receiving an acquisition request sent by a fan main controller, wherein the acquisition request is used for acquiring a configuration file, and the acquisition request carries designated information used for identifying the configuration file to be acquired; analyzing the acquisition request to obtain the specified information carried in the acquisition request; acquiring a configuration file matched with the specified information as a first configuration file according to the specified information; and issuing a first configuration file to the fan main controller. Thus, the labor participation is reduced, the time and the labor are saved, and the efficiency is high.

Description

Configuration file issuing method, tool, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of wind turbine generator technologies, and in particular, to a method, a tool, an electronic device, and a readable storage medium for issuing a configuration file.
Background
Wind farm refers to an electric field in the form of wind power generation. The wind farm includes a plurality of wind generators. The wind power generation technology is a main technical means for obtaining novel clean energy. Wind energy is converted into mechanical work by a wind driven generator, the rotor is driven to rotate by the mechanical work, and alternating current electric energy is finally output. The wind power generator is composed of a plurality of parts, and a control system of the wind power generator penetrates through each part to be equivalent to a nerve of the wind power generator. Therefore, the quality of the control system of the wind driven generator is directly related to the working state, the generating efficiency and the electric energy quality of the wind driven generator and the safety of equipment. The control system of the wind driven generator comprises a fan main controller, and therefore configuration files need to be issued for the fan main controller to guarantee normal operation of the fan main controller.
In the related art, when an operation and maintenance person wants to update a main controller of a certain fan, the operation and maintenance person uses FTP service through a computer, and needs to search configuration files of a main controller of the fan to be configured from a plurality of folders of the fan controller, and issue the configuration files to the main controller of the fan to be configured one by one.
However, because the number of folders is large and the number of configuration files in the folders is large, the operation and maintenance personnel are prone to errors due to manual work, time and labor are wasted, and efficiency is low.
Disclosure of Invention
The application provides a configuration file issuing method, a tool, an electronic device and a readable storage medium, and the method reduces manual participation, saves time and labor and is high in efficiency.
The application provides a configuration file issuing method, which comprises the following steps:
receiving an acquisition request sent by a fan main controller, wherein the acquisition request is used for acquiring a configuration file, and the acquisition request carries specified information for identifying the configuration file to be acquired;
analyzing the acquisition request to obtain the specified information carried in the acquisition request;
acquiring a configuration file matched with the specified information as a first configuration file according to the specified information;
and issuing a first configuration file to the fan main controller.
Further, the designated information includes an identifier of the fan main controller, an IP address of a remote transmission service, an identifier of a configuration file required by the fan main controller, and a storage path of the required configuration file;
the analyzing the acquisition request to obtain the specified information carried in the acquisition request includes:
analyzing the acquisition request to obtain an identifier of the fan main controller, an IP address of remote transmission service, a storage path and an identifier of the required configuration file carried in the acquisition request;
the obtaining of the configuration file matched with the specified information according to the specified information includes:
acquiring a first configuration file matched with the identifier of the required configuration file according to the identifier of the fan main controller and the identifier of the required configuration file;
the issuing of the first configuration file to the fan main controller includes:
and issuing the first configuration file to the storage path through the remote transmission service according to the IP address of the remote transmission service.
Further, after issuing the first configuration file to the fan main controller, the method further includes:
acquiring a second configuration file stored in the storage path;
comparing whether the first profile and the second profile are the same;
if the configuration files are the same, determining that the first configuration file is successfully issued;
and if not, determining that the first configuration file fails to be issued.
Further, the issuing the first configuration file to the fan main controller includes:
determining attributes of the first profile;
and issuing the first configuration file to the fan main controller according to the attribute of the first configuration file.
Further, the attribute of the first configuration file comprises the size of the first configuration file;
the issuing the first configuration file to the fan main controller according to the attribute of the first configuration file comprises the following steps:
and issuing the first configuration file to the fan main controller according to the size of the first configuration file.
Further, the issuing a first configuration file to the fan main controller according to the size of the first configuration file includes:
determining the first configuration file meeting the cutting and blocking conditions according to the size of the first configuration file;
cutting and blocking the first configuration file meeting the cutting and blocking condition to obtain a plurality of cutting configuration files;
and respectively issuing the plurality of cutting configuration files to the fan main controller.
Further, the first configuration file comprises a plurality of first configuration files; the attribute of the first profile comprises a number of the first profile;
the issuing the first configuration file to the fan main controller according to the attribute of the first configuration file comprises the following steps:
dividing the plurality of first configuration files into a plurality of batches according to the number to obtain a plurality of batches of first configuration files;
and respectively issuing the plurality of first configuration files to the fan main controller.
Further, the first configuration file comprises a plurality of first configuration files; the attributes of the first configuration file comprise a file format of the first configuration file;
the issuing the first configuration file to the fan main controller according to the attribute of the first configuration file comprises the following steps:
determining whether the plurality of first configuration files contain important configuration files according to the file formats of the plurality of first configuration files; and when the plurality of first configuration files contain important configuration files, the important configuration files are preferentially issued to the fan main controller.
Further, the vital profiles include one or more of a system profile and a failover profile.
Further, the method further comprises: receiving a login request, wherein the login request comprises a user name and a password; responding the login request, and verifying the login request; and when the verification is passed, receiving an acquisition request sent by the fan main controller.
Further, the method further comprises:
and generating a log record file, wherein the log record file is used for recording configuration file issuing information, and the configuration file issuing information comprises one or more of issuing time, issuing user, issuing version and issuing fan main controller.
The application provides a configuration file issuing tool, including:
the system comprises a receiving request unit, a configuration file acquiring unit and a processing unit, wherein the receiving request unit is used for receiving an acquiring request sent by a fan main controller, the acquiring request is used for acquiring the configuration file, and the acquiring request carries specified information used for identifying the configuration file to be acquired;
the analysis acquisition unit is used for analyzing the acquisition request to obtain the specified information carried in the acquisition request;
the processing unit is used for acquiring a configuration file matched with the specified information as a first configuration file according to the specified information;
and the issuing unit is used for issuing a first configuration file to the fan main controller.
An electronic device is provided that includes a processor and a memory;
a memory for storing a computer program;
a processor for implementing the method as claimed in any one of the above when executing a program stored in the memory.
The present application provides a readable storage medium having stored thereon a program which, when executed by a processor, implements a method as described in any one of the above.
In some embodiments, the configuration file issuing method of the application acquires the specified information carried in the request by receiving the acquisition request sent by the fan main controller; acquiring a configuration file matched with the specified information as a first configuration file according to the specified information; and issuing a first configuration file to a main controller of the fan. Therefore, the appointed information of the configuration file to be acquired, carried in the acquisition request, of the identification can be determined according to the acquisition request, the first configuration file is actively acquired, the manual searching of the configuration file of the fan main controller to be configured from a plurality of folders is reduced, the first configuration file determined in this way is not prone to error, manual participation is reduced, time and labor are saved, and efficiency is high.
Drawings
Fig. 1 is a block diagram showing a configuration file issuing method according to an embodiment of the present application, which is separately deployed in a configuration file issuing tool;
fig. 2 is a block diagram illustrating a configuration file issuing method integrated and deployed in an SCADA system according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a method for issuing a configuration file according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a function that can be implemented when the configuration file issuing method shown in FIG. 3 is separately deployed in a configuration file issuing tool;
FIG. 5 is a detailed flowchart of the configuration file issuing method shown in FIG. 3;
FIG. 6 is a diagram illustrating an application example of the configuration file issuing method of FIG. 3;
fig. 7 is a schematic diagram illustrating a specific flow of the configuration file issuing method shown in fig. 3;
fig. 8 is a schematic overall flow chart of a configuration file issuing method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a configuration file issuing tool according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with one or more embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of one or more embodiments of the specification, as detailed in the claims which follow.
It should be noted that: in other embodiments, the steps of the corresponding methods are not necessarily performed in the order shown and described herein. In some other embodiments, the method may include more or fewer steps than those described herein. Moreover, a single step described in this specification may be broken down into multiple steps for description in other embodiments; multiple steps described in this specification may be combined into a single step in other embodiments.
In order to solve the technical problems that operation and maintenance personnel are prone to errors, time-consuming, labor-consuming and low in efficiency, the embodiment of the application provides a configuration file issuing method. Acquiring specified information carried in a request by receiving the acquisition request sent by the fan main controller; acquiring a configuration file matched with the specified information as a first configuration file according to the specified information; and issuing a first configuration file to a main controller of the fan. Therefore, the appointed information of the configuration file to be acquired, carried in the acquisition request, of the identification can be determined according to the acquisition request, the first configuration file is actively acquired, the manual searching of the configuration file of the fan main controller to be configured from a plurality of folders is reduced, the first configuration file determined in this way is not prone to error, time and labor are saved, and the efficiency is high.
The configuration file issuing method can be independently deployed in a configuration file issuing tool. The configuration file issuing method of the embodiment of the application can also be integrated and deployed in the electronic equipment. The electronic device may be a desktop computer, a portable computer, an intelligent mobile terminal, a server, etc. Without limitation, any electronic device that can implement the embodiments of the present application falls within the scope of the present application. Examples are as follows.
In an example, the configuration file issuing method according to the embodiment of the present application is implemented by being separately deployed in a configuration file issuing tool.
Fig. 1 is a block diagram showing a configuration file issuing method separately deployed in a configuration file issuing tool according to an embodiment of the present application.
As shown in fig. 1, the configuration file issuing method is applied to a configuration file issuing system 10. The configuration file issuing system 10 may include a file storage server 11, a configuration file issuing tool 12, a blower main controller 13, And an SCADA (Supervisory Control And Data Acquisition) system 14.
The file storage server 11 is used for storing configuration files generated in advance by the main wind turbine controllers 13 in the wind power plant.
The configuration file issuing tool 12 establishes a connection with the file storage server 11. The configuration file issuing tool 12 may obtain the configuration file from the file storage server 11, and issue the configuration file to the corresponding fan main controller 13, thereby implementing the function of proxy service.
The fan main controller 13 is connected with the configuration file issuing tool 12. The fan main controller 13 is configured to request and receive a configuration file to complete configuration of the fan main controller, so as to implement a corresponding function of the configuration.
The SCADA system 14 is respectively connected with the file storage server 11, the configuration file issuing tool 12 and the fan main controller 13. The SCADA system 14 is configured to receive and record data of the file storage server 11 and the configuration file issuing tool 12, and process data sent by the fan main controller 13. For a detailed description, see below.
Second, the configuration file issuing method according to the embodiment of the present application is integrated and deployed in the SCADA system for example.
Fig. 2 is a structural block diagram illustrating that the configuration file issuing method according to the embodiment of the present application is integrally deployed in the SCADA system.
The example of fig. 2 is similar to the example shown in fig. 1, and compared with the example shown in fig. 1, as shown in fig. 2, the configuration file issuing method is applied to the configuration file issuing system 20. The configuration file issuing system 20 may include a file storage server 21, a blower main controller 23, And an SCADA (Supervisory Control And Data Acquisition) system 22.
The SCADA system 22 is respectively connected with the file storage server 21 and the fan main controller 23. The SCADA system 22 may obtain the configuration file from the file storage server 21, issue the configuration file to the corresponding fan main controller 23, and process data sent by the fan main controller 23.
For convenience of understanding, the configuration file delivery method is separately deployed in the configuration file delivery tool for description. Fig. 3 is a schematic flowchart illustrating a method for issuing a configuration file according to an embodiment of the present application.
As shown in fig. 3, the configuration file issuing method may include the following steps 110 to 140:
and 110, receiving an acquisition request sent by the fan main controller, wherein the acquisition request is used for acquiring the configuration file, and the acquisition request carries specified information for identifying the configuration file to be acquired.
The main controller of the wind turbine in step 110 may be 1 main controller of the wind turbine. The fan main controller can also be more than 1 fan main controller. Therefore, the configuration files of more than one fan main controller can be issued.
The designated information is used for reflecting the information of the configuration file to be acquired, so that the configuration file of the fan generator can be updated, replaced or used conveniently. The configuration file to be obtained may include a selection parameter configuration file and one or more of a system configuration file and a failover configuration file. A parameter profile is selected such as a status code profile.
And step 120, analyzing the acquisition request to obtain the specified information carried in the acquisition request.
Step 130, according to the specified information, obtaining a configuration file matched with the specified information as a first configuration file. The first configuration file is a configuration file of the fan generator.
And 140, issuing a first configuration file to the main controller of the fan.
The above step 140 may further include a step 1 of determining attributes of the first profile. And 2, issuing the first configuration file to the main controller of the fan according to the attribute of the first configuration file. Therefore, single configuration file issuing can be realized, and multiple configuration files can also be issued. Therefore, the first configuration file is issued according to the file attribute, the number of the issued files in batches is small, errors are not easy to occur, network congestion or system breakdown caused by manually issuing all the configuration files at one time is avoided, and the effectiveness of issuing the first configuration file is improved.
Fig. 4 is a schematic diagram illustrating a function that can be realized when the configuration file issuing method shown in fig. 3 is separately deployed in a configuration file issuing tool. As shown in fig. 4, there are various implementation manners for issuing the configuration file in step 2.
In one implementation manner in the step 2 above, the attribute of the first configuration file includes a size of the first configuration file. The step 2 may further include issuing the first configuration file to the main controller of the wind turbine according to the size of the first configuration file. Therefore, the first configuration file is issued to the main controller of the fan according to the size of the first configuration file, and the efficiency of issuing the first configuration file can be improved. Illustratively, the first configuration files are issued to the main controller of the wind turbine in the order from small to large of the sizes of the first configuration files. Therefore, the smaller data volume of the first configuration file is smaller, the transmission speed is high, more first configuration files can be issued quickly, and backlog of the first configuration files is avoided.
The method comprises the steps of issuing a first configuration file to a main controller of the wind turbine according to the size of the first configuration file, wherein the first configuration file meeting a cutting and blocking condition is determined according to the size of the first configuration file. And secondly, cutting and partitioning the first configuration file meeting the cutting and partitioning conditions to obtain a plurality of cutting configuration files. And thirdly, respectively issuing a plurality of cutting configuration files to a main controller of the fan. The cutting and the partitioning are realized on the premise of not influencing the functions of the configuration files, and the plurality of cutting configuration files can be restored into the original configuration files. Therefore, the system is issued according to the cutting configuration file, errors are not prone to being made in the process of issuing the cutting configuration file in multiple times, network resources occupied in each time are few, and system breakdown is avoided. The block segmentation condition includes that the size of the first configuration file is greater than a preset threshold, where the preset threshold may be set according to a user requirement, or may be determined according to a network speed of a current network or a bandwidth resource of the network, and is not limited herein.
In another implementation manner in the step 2, the first configuration file includes a plurality of first configuration files. The attribute of the first profile includes a number of the first profile. The step 2 may further include a first step of dividing the plurality of first configuration files into a plurality of batches according to the number to obtain a plurality of batches of first configuration files. And step 2, respectively issuing a plurality of batches of first configuration files to the main controller of the fan. Therefore, according to the number, a plurality of first configuration files can be issued in batch, the number of the first configuration files issued each time is small, and the network congestion is reduced. The plurality of first configuration files can be divided into a positive number of configuration files according to the number. Positive numbers may be greater than 0 and less than or equal to 1, such as 0.1, 0.5, 0.9 … …, and the like. The specific positive number is set according to the requirements of the user. For example, 10 profiles, the 10 profiles may be divided into 5 batches.
In some embodiments, the first profile comprises a plurality of first profiles. The attributes of the first configuration file include a file format of the first configuration file. And determining whether the plurality of first configuration files contain important configuration files according to the file formats of the plurality of first configuration files. And when the plurality of first configuration files comprise important configuration files, the important configuration files are preferentially issued to the main controller of the fan. Therefore, important configuration files are preferentially issued to the main controller of the fan, the main controller of the fan can be guaranteed to obtain the important configuration files as early as possible, the main controller of the fan can be used as early as possible, and the safety and the stability of the main controller of the fan are improved.
The important configuration file is a file type which is defined by a user in advance and can be determined by a file format. The vital profiles include one or more of a system profile and a failover profile. Such as a BUF file format, represents a fault modification configuration file. The Exe file format indicates a system configuration file and the like. Therefore, one or more of the system configuration file and the fault repairing configuration file are preferentially processed, and the fan main controller is favorable for being in a normal state.
In the embodiment of the application, according to the acquisition request, the appointed information of the configuration file to be acquired, carried in the acquisition request, is determined, the first configuration file is actively acquired, the manual searching of the configuration file of the fan main controller to be configured from a plurality of folders is reduced, the determined first configuration file is not prone to making mistakes, time and labor are saved, and the efficiency of determining the first configuration file is high.
Fig. 5 is a detailed flowchart illustrating the configuration file issuing method shown in fig. 3.
In the embodiment shown in fig. 5, the designation information includes an identification of the fan main controller, an IP address of the remote transmission service, an identification of a configuration file required by the fan main controller, and a storage path of the required configuration file. Therefore, the designated information can be acquired in one step, and the issuing efficiency is improved.
And step 121, analyzing the acquisition request to obtain an identifier of the fan main controller, an IP address of the remote transmission service, a storage path and an identifier of the required configuration file carried in the acquisition request.
The identity of the fan main controller is used for reflecting the uniqueness of the fan main controller. The identity of this fan master controller may be the number of the fan master controller.
The identity of the required configuration file is used to reflect the uniqueness of the required configuration file. The identification of the required configuration file may be the name or version number of the required configuration file.
The storage path is used to reflect a specific location of the wind turbine master controller to which the first configuration file is to be transferred when using the remote transport service. Therefore, the first configuration file is mastered to which position of the main controller of the fan is issued, and whether the first configuration file is issued successfully or not is determined conveniently in the follow-up process. The storage path may be a storage directory of the file, and is represented by a format of the file directory in which folder of the disc.
The remote Transfer service may be one or more of FTP (File Transfer Protocol) and SFTP (Secure File Transfer Protocol). The data transmitted by using SFTP is more secure. Therefore, the IP address of the remote transmission service of the fan main controller needing to be connected can be grasped, and then data are transmitted by using the IP address of the remote transmission service and cannot be transmitted to other fan main controllers.
And 131, acquiring a first configuration file matched with the identifier of the required configuration file according to the identifier of the fan main controller and the identifier of the required configuration file.
Step 141, according to the IP address of the remote transmission service, a first configuration file is issued to the storage path through the remote transmission service.
In an application example, fig. 6 is a schematic diagram of an application example of the configuration file issuing method in fig. 3. Referring to fig. 1, 5 and 6, in the left frame of the SFTP service display interface shown in fig. 6, a remote transfer service SFTP is used to establish a connection between the configuration file delivery tool 12 and the file storage server 11. In the right frame of the SFTP service display interface shown in fig. 6, the configuration file issuing tool 12 is established to be connected with the fan main controller 13. And analyzing the acquisition request to obtain the identifier of the fan main controller, the IP address of the remote transmission service, the storage path and the identifier of the required configuration file carried in the acquisition request. This information can be displayed on the HMI (Human Machine Interface). The user may have knowledge of this information and may use it by pasting copies and then use the profile delivery tool 12 to determine to the first profile that matches the identity of the desired profile. The configuration file issuing tool 12 receives a request for opening a storage path input by a human-computer interaction interface, and receives a first configuration file input by the human-computer interaction interface, wherein the first configuration file is determined from a file storage service system according to an identifier of a fan main controller and an identifier of the required configuration file.
In this embodiment, the obtaining request is analyzed, the IP address of the remote transmission service that needs to be established to connect the fan main controller can be grasped, and then data is transmitted by using the IP address of the remote transmission service and is not transmitted to other fan main controllers. And the acquisition request is analyzed to obtain the storage path, and the position of the fan main controller to be issued can be mastered, so that the configuration file can be directly issued to the corresponding position when the remote transmission service is used, and the purpose of issuing the configuration file can be realized. And the acquisition request is analyzed, the identification of the fan main controller and the identification of the required configuration file are mastered, so that the configuration file matched with the identification of the required configuration file is acquired, and the accuracy of acquiring the configuration file is improved.
In other embodiments, as shown in FIG. 3, the designation information includes an identification of the wind turbine master controller and an identification of a configuration file required by the wind turbine master controller. The step 120 may further include analyzing the obtaining request to obtain an identifier of the fan main controller and an identifier of the required configuration file, which are carried in the obtaining request. The step 130 may further include obtaining a first configuration file matching the identifier of the required configuration file according to the identifier of the main controller of the wind turbine and the identifier of the required configuration file. The step 140 further includes determining an IP address and a storage path of the remote transmission service according to the identifier of the main controller of the wind turbine. And issuing a first configuration file to the storage path through the remote transmission service according to the IP address of the remote transmission service. Therefore, the IP address and the storage path of the remote transmission service are determined according to the identifier of the fan main controller, and an operator does not need to know the storage path of the fan main controller, so that the safety of storing the configuration file in the fan main controller is ensured. And the first configuration file is automatically issued to the storage path through the remote transmission service according to the IP address of the remote transmission service, so that the issuing is more convenient.
Fig. 7 is a schematic diagram illustrating a specific flow of the configuration file issuing method shown in fig. 3.
As shown in fig. 7, after the step 140, the method further includes the following steps 150 to 180.
And 150, acquiring a second configuration file stored in the storage path. The second configuration file refers to the current configuration file stored in the storage path. The second configuration file may be the same configuration file as the first configuration file. For example, if the communication is correct and the transmission is successful, the first configuration file replaces the original second configuration file, and the stored second configuration file and the first configuration file are the same file. Of course, the second configuration file may also be different from the first configuration file. For example, if communication fails and/or transmission fails, the first profile may not be sent to the deposit path, and the first profile may have been lost during the transmission, then the deposited second profile and the first profile belong to two different files.
Step 160, compare whether the first configuration file is the same as the second configuration file. If so, i.e., the first configuration file is the same as the second configuration file, go to step 170; if not, that is, the first configuration file is not the same as the second configuration file, step 180 is executed.
Step 170, it is determined that the first configuration file is successfully issued.
Step 180, determining that the first configuration file fails to be issued. Therefore, whether the first configuration file is issued to the position of the storage path or not can be determined, the first configuration file can be prevented from being lost due to communication problems, and issuing accuracy and effectiveness are improved.
Continuing with FIG. 4, the method further includes receiving a login request, the login request including a username and password. And responding to the login request, and verifying the login request so as to manage the login condition by the user. And when the verification login is passed, receiving an acquisition request sent by the fan main controller. And when the verification login is passed, refusing to receive the acquisition request sent by the fan main controller. Therefore, the configuration file issuing tool has user authentication and manages and controls the operating personnel, so that the configuration file is safer and more effective. Furthermore, event recording can be carried out on login, configuration file issuing, configuration file version and login quitting, and the whole process is recorded in such a way, so that comprehensive monitoring and recording are realized.
In some embodiments, the method further includes generating a log record file, where the log record file is used to record configuration file issuing information, and the configuration file issuing information includes one or more of issuing time, issuing user, issuing version, and issuing fan main controller. Therefore, in the issuing process, log record files such as log records can be generated, and root tracing is facilitated. As shown in fig. 4, the configuration file issuing tool may send a log record file to the SCADA system, so that the SCADA system can conveniently master the issuing condition of the main controller of the wind turbine in the wind farm.
With continued reference to fig. 4, the method further includes generating a prompt message or a fault alarm when the operation fault is detected, so as to prompt an operator to perform maintenance as soon as possible or to report the fault for repair in time.
Fig. 8 is a schematic overall flow chart of a configuration file issuing method according to an embodiment of the present application.
As shown in fig. 8, the operation and maintenance personnel manually operate to generate the configuration file in the operation and maintenance system. And after the operation and maintenance system is stopped, storing the configuration file by using the FTP service file storage server. The configuration file issuing tool acquires a first configuration file from the file storage server by using the FTP service, and issues the first configuration file to the main controller of the fan by using the FTP service. After the operation and maintenance personnel manually restart the main fan controller through the HMI interface, a Central Processing Unit (CPU) in the main fan controller restarts through a main control program, and reads an update configuration file. The fan main controller is communicated with the SCADA system and can send updated configuration files to the SCADA. The SCADA system can be operated autonomously, and if the updated configuration file is determined to be the first configuration file, all files updated by the fan main controller are read.
Fig. 9 is a schematic structural diagram of a configuration file issuing tool according to an embodiment of the present application.
As shown in fig. 9, the configuration file issuing tool includes:
a receiving request unit 41, configured to receive an acquisition request sent by a fan main controller, where the acquisition request is used to acquire a configuration file, and the acquisition request carries specified information for identifying the configuration file to be acquired;
an analyzing unit 42, configured to analyze the obtaining request to obtain the specified information carried in the obtaining request;
a processing unit 43, configured to obtain, according to the specified information, a configuration file matched with the specified information as a first configuration file;
and the issuing unit 44 is configured to issue the first configuration file to the fan main controller.
The implementation process of the functions and actions of each unit in the tool is specifically described in the implementation process of the corresponding step in the method, and is not described herein again.
The configuration file issuing system provided by the embodiment of the application comprises the configuration file issuing tool.
Fig. 10 is a schematic structural diagram of an electronic device 50 according to an embodiment of the present application. The electronic device 50 may include a processor 51, a memory 53 storing machine executable instructions, and a communication interface 52. The processor 51 and the memory 53 may communicate via a system bus 54. Also, the processor 51 may perform the above described methods by reading and executing machine executable instructions in the memory 53 corresponding to data pull or data return logic.
The memory 53 referred to herein may be any electronic, magnetic, optical, or other physical storage device that may contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: RAM (random Access Memory), volatile Memory, non-volatile Memory, flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
In some embodiments, there is also provided a machine-readable storage medium, such as the memory 53 in fig. 10, having stored therein machine-executable instructions that, when executed by a processor, implement the method described above. For example, the machine-readable storage medium may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Embodiments of the present application also provide a computer program, which is stored in a machine-readable storage medium, such as the memory 53 in fig. 10, and when executed by a processor, causes the processor 51 to perform the method described above.
The above description is only a preferred embodiment of the present disclosure, and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (14)

1. A method for issuing a configuration file is characterized by comprising the following steps:
receiving an acquisition request sent by a fan main controller, wherein the acquisition request is used for acquiring a configuration file, and the acquisition request carries specified information for identifying the configuration file to be acquired;
analyzing the acquisition request to obtain the specified information carried in the acquisition request;
acquiring a configuration file matched with the specified information as a first configuration file according to the specified information;
and issuing a first configuration file to the fan main controller.
2. The method for issuing the configuration file according to claim 1, wherein the specific information includes an identifier of the fan main controller, an IP address of a remote transmission service, an identifier of a configuration file required by the fan main controller, and a storage path of the required configuration file;
the analyzing the acquisition request to obtain the specified information carried in the acquisition request includes:
analyzing the acquisition request to obtain an identifier of the fan main controller, an IP address of remote transmission service, a storage path and an identifier of the required configuration file carried in the acquisition request;
the obtaining of the configuration file matched with the specified information according to the specified information includes:
acquiring a first configuration file matched with the identifier of the required configuration file according to the identifier of the fan main controller and the identifier of the required configuration file;
the issuing of the first configuration file to the fan main controller includes:
and issuing the first configuration file to the storage path through the remote transmission service according to the IP address of the remote transmission service.
3. The configuration file issuing method according to claim 2, wherein after the first configuration file is issued to the wind turbine main controller, the method further includes:
acquiring a second configuration file stored in the storage path;
comparing whether the first profile and the second profile are the same;
if the configuration files are the same, determining that the first configuration file is successfully issued;
and if not, determining that the first configuration file fails to be issued.
4. The configuration file issuing method according to any one of claims 1 to 3, wherein the issuing the first configuration file to the fan main controller includes:
determining attributes of the first profile;
and issuing the first configuration file to the fan main controller according to the attribute of the first configuration file.
5. The profile delivery method according to claim 4, wherein the attribute of the first profile includes a size of the first profile;
the issuing the first configuration file to the fan main controller according to the attribute of the first configuration file comprises the following steps:
and issuing the first configuration file to the fan main controller according to the size of the first configuration file.
6. The method for issuing the configuration file according to claim 5, wherein issuing the first configuration file to the fan main controller according to the size of the first configuration file includes:
determining the first configuration file meeting the cutting and blocking conditions according to the size of the first configuration file;
cutting and blocking the first configuration file meeting the cutting and blocking condition to obtain a plurality of cutting configuration files;
and respectively issuing the plurality of cutting configuration files to the fan main controller.
7. The profile issuing method according to claim 4, wherein the first profile includes a plurality of first profiles; the attribute of the first profile comprises a number of the first profile;
the issuing the first configuration file to the fan main controller according to the attribute of the first configuration file comprises the following steps:
dividing the plurality of first configuration files into a plurality of batches according to the number to obtain a plurality of batches of first configuration files;
and respectively issuing the plurality of first configuration files to the fan main controller.
8. The profile issuing method according to claim 4, wherein the first profile includes a plurality of first profiles; the attributes of the first configuration file comprise a file format of the first configuration file;
the issuing the first configuration file to the fan main controller according to the attribute of the first configuration file comprises the following steps:
determining whether the plurality of first configuration files contain important configuration files according to the file formats of the plurality of first configuration files; and when the plurality of first configuration files contain important configuration files, the important configuration files are preferentially issued to the fan main controller.
9. The profile delivery method of claim 8, wherein the important profiles comprise one or more of a system profile and a failover profile.
10. The method for issuing the configuration file according to claim 1, wherein the method further comprises: receiving a login request, wherein the login request comprises a user name and a password; responding the login request, and verifying the login request; and when the verification is passed, receiving an acquisition request sent by the fan main controller.
11. The method for issuing the configuration file according to claim 1, wherein the method further comprises:
and generating a log record file, wherein the log record file is used for recording configuration file issuing information, and the configuration file issuing information comprises one or more of issuing time, issuing user, issuing version and issuing fan main controller.
12. A profile issuing tool, comprising:
the system comprises a receiving request unit, a configuration file acquiring unit and a processing unit, wherein the receiving request unit is used for receiving an acquiring request sent by a fan main controller, the acquiring request is used for acquiring the configuration file, and the acquiring request carries specified information used for identifying the configuration file to be acquired;
the analysis acquisition unit is used for analyzing the acquisition request to obtain the specified information carried in the acquisition request;
the processing unit is used for acquiring a configuration file matched with the specified information as a first configuration file according to the specified information;
and the issuing unit is used for issuing a first configuration file to the fan main controller.
13. An electronic device comprising a processor and a memory;
a memory for storing a computer program;
a processor for implementing the method of any one of claims 1 to 11 when executing a program stored in a memory.
14. A readable storage medium, characterized in that a program is stored thereon which, when being executed by a processor, carries out the method according to any one of claims 1-11.
CN202210551931.5A 2022-05-18 2022-05-18 Configuration file issuing method, tool, electronic device and readable storage medium Active CN114827243B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210551931.5A CN114827243B (en) 2022-05-18 2022-05-18 Configuration file issuing method, tool, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210551931.5A CN114827243B (en) 2022-05-18 2022-05-18 Configuration file issuing method, tool, electronic device and readable storage medium

Publications (2)

Publication Number Publication Date
CN114827243A true CN114827243A (en) 2022-07-29
CN114827243B CN114827243B (en) 2024-03-22

Family

ID=82516862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210551931.5A Active CN114827243B (en) 2022-05-18 2022-05-18 Configuration file issuing method, tool, electronic device and readable storage medium

Country Status (1)

Country Link
CN (1) CN114827243B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117193886A (en) * 2023-11-06 2023-12-08 成都科江科技有限公司 Dynamic loading method for configuration file of industrial control system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753697A (en) * 2013-12-26 2015-07-01 华为技术有限公司 Method, equipment and system for controlling provisioning of network equipment
CN106464654A (en) * 2014-06-27 2017-02-22 华为技术有限公司 Configuration file acquisition method, apparatus and system
WO2019037775A1 (en) * 2017-08-24 2019-02-28 新华三信息安全技术有限公司 Issuance of service configuration file
CN112615747A (en) * 2020-12-23 2021-04-06 浪潮思科网络科技有限公司 Method and device for automatically deploying and configuring network equipment
CN112953983A (en) * 2019-12-10 2021-06-11 中盈优创资讯科技有限公司 SFTP transmission method and device
CN113312072A (en) * 2021-06-11 2021-08-27 北京百度网讯科技有限公司 Configuration file updating method and device, electronic equipment and medium
CN113692309A (en) * 2021-09-14 2021-11-23 商汤国际私人有限公司 Configuration updating method and device, equipment and storage medium
CN114449047A (en) * 2022-01-28 2022-05-06 深圳灵动创新信息技术有限公司 File data processing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753697A (en) * 2013-12-26 2015-07-01 华为技术有限公司 Method, equipment and system for controlling provisioning of network equipment
CN106464654A (en) * 2014-06-27 2017-02-22 华为技术有限公司 Configuration file acquisition method, apparatus and system
WO2019037775A1 (en) * 2017-08-24 2019-02-28 新华三信息安全技术有限公司 Issuance of service configuration file
CN112953983A (en) * 2019-12-10 2021-06-11 中盈优创资讯科技有限公司 SFTP transmission method and device
CN112615747A (en) * 2020-12-23 2021-04-06 浪潮思科网络科技有限公司 Method and device for automatically deploying and configuring network equipment
CN113312072A (en) * 2021-06-11 2021-08-27 北京百度网讯科技有限公司 Configuration file updating method and device, electronic equipment and medium
CN113692309A (en) * 2021-09-14 2021-11-23 商汤国际私人有限公司 Configuration updating method and device, equipment and storage medium
CN114449047A (en) * 2022-01-28 2022-05-06 深圳灵动创新信息技术有限公司 File data processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117193886A (en) * 2023-11-06 2023-12-08 成都科江科技有限公司 Dynamic loading method for configuration file of industrial control system
CN117193886B (en) * 2023-11-06 2024-01-05 成都科江科技有限公司 Dynamic loading method for configuration file of industrial control system

Also Published As

Publication number Publication date
CN114827243B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN108600029B (en) Configuration file updating method and device, terminal equipment and storage medium
CN107451040B (en) Method and device for positioning fault reason and computer readable storage medium
CN107566165B (en) Method and system for discovering and deploying available resources of power cloud data center
EP2634653B1 (en) Systems and methods for machine configuration
CN105487556A (en) Flight control method and flight control device of unmanned aircraft
CN111970236B (en) Cross-network data transmission method and device
CN113672451B (en) BMC service detection method, device, equipment and readable storage medium
CN111343015A (en) Operation and maintenance method and device for network equipment
CN114827243B (en) Configuration file issuing method, tool, electronic device and readable storage medium
CN106411650A (en) Distributed security and confidentiality checking method
CN111628896A (en) IT operation and maintenance management method, device, equipment and computer storage medium
CN115001967B (en) Data acquisition method and device, electronic equipment and storage medium
CN112083972A (en) BMC system configuration method, device, equipment and readable storage medium
CN111586022A (en) Firewall opening verification method, electronic device, computer equipment and storage medium
CN114238474A (en) Data processing method, device and equipment based on drainage system and storage medium
CN113986119A (en) Simplified data reading method and system for accelerating cloud migration speed
CN105119772B (en) IPMI function test method for C/S framework
CN112415404B (en) Battery pack testing method and battery pack testing device
CN114499984A (en) Identity authentication method, device, equipment and medium based on AI and RPA
CN115509637A (en) Form-based intelligent filling method, system, equipment and medium
CN113489754A (en) Method and system for realizing cross-network migration of mass complete machine data
CN102630087A (en) Heterogeneous processing method and apparatus thereof
CN114513419A (en) Security policy configuration method and system
CN110764931A (en) Processing method, system, equipment and storage medium for OTA website uploading certificate
CN115484166B (en) Method and device for backing up configuration information, server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant