[go: up one dir, main page]

CN113721956B - Method for updating excitation system control program - Google Patents

Method for updating excitation system control program Download PDF

Info

Publication number
CN113721956B
CN113721956B CN202110989777.5A CN202110989777A CN113721956B CN 113721956 B CN113721956 B CN 113721956B CN 202110989777 A CN202110989777 A CN 202110989777A CN 113721956 B CN113721956 B CN 113721956B
Authority
CN
China
Prior art keywords
control program
program file
data
update
encrypted information
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.)
Active
Application number
CN202110989777.5A
Other languages
Chinese (zh)
Other versions
CN113721956A (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.)
Southern Power Grid Energy Storage Co ltd Western Maintenance And Testing Branch
Guangzhou Kinte Industrial Co Ltd
Original Assignee
Guangzhou Kinte Industrial 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 Guangzhou Kinte Industrial Co Ltd filed Critical Guangzhou Kinte Industrial Co Ltd
Priority to CN202110989777.5A priority Critical patent/CN113721956B/en
Publication of CN113721956A publication Critical patent/CN113721956A/en
Application granted granted Critical
Publication of CN113721956B publication Critical patent/CN113721956B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Storage Device Security (AREA)

Abstract

本发明公开了一种励磁系统控制程序的更新方法,包括:获取励磁系统的控制程序文件,经过加密算法计算后获取相应的特征数据;将特征数据与控制程序文件结组合后,形成加密信息;启动更新程序,向更新程序载入加密信息;在更新程序中提取加密信息中的特征数据,验证控制程序文件的完整性;基于验证结果判断控制程序文件是否完整;若是,则将程序控制文件更新至励磁系统;若否,则重复执行加密信息的载入以及验证。本发明通过对励磁系统的控制程序的更新文件进行加密,以提高更新时采用的控制程序文件的完整性易于验证,从而提高励磁系统的稳定性和安全性。

The invention discloses a method for updating an excitation system control program, which includes: obtaining the control program file of the excitation system, obtaining corresponding characteristic data after calculation by an encryption algorithm; combining the characteristic data and the control program file to form encrypted information; Start the update program and load the encrypted information into the update program; extract the characteristic data in the encrypted information in the update program to verify the integrity of the control program file; determine whether the control program file is complete based on the verification results; if so, update the program control file to the excitation system; if not, repeat the loading and verification of encrypted information. The present invention encrypts the update file of the control program of the excitation system to improve the integrity and ease of verification of the control program file used in the update, thereby improving the stability and security of the excitation system.

Description

一种励磁系统控制程序的更新方法A method for updating control program of excitation system

技术领域Technical field

本发明涉及励磁系统的更新的技术领域,一种励磁系统控制程序的更新方法。The invention relates to the technical field of excitation system updating, and is a method for updating an excitation system control program.

背景技术Background technique

励磁系统是对为同步发电机或同步电动机提供励磁电流的设备及其附属装置的统称,一般由励磁功率单元和励磁调节单元两个主要部分组成。近年来,由于新技术、新工艺和新器件的涌现和应用,使得励磁装置也在不断的发展和完善。尤其在励磁调节单元方面,出现了越来越多数字化、智能化很高的新型调节单元。The excitation system is a general term for the equipment and its ancillary devices that provide excitation current for synchronous generators or synchronous motors. It is generally composed of two main parts: an excitation power unit and an excitation regulating unit. In recent years, due to the emergence and application of new technologies, new processes and new devices, excitation devices have been continuously developed and improved. Especially in terms of excitation regulating units, more and more new digital and highly intelligent regulating units have appeared.

随着励磁系统调节单元数字化程度的提高,励磁系统的信息安全问题也越来越受到行业的重视。励磁系统调节单元一般由控制装置和控制程序组成,其主要控制逻辑是由控制程序来实现的。提高控制程序的安全性对励磁系统整体的安全性有重要作用。励磁系统的控制程序在更新时,若用于更新的控制程序文件受到损坏或恶意修改,会严重影响励磁系统的工作稳定性和信息安全性。现有技术在对励磁系统的控制程序更新过程中,没有采取相应的措施以实现对励磁系统的保护,使得控制程序文件容易被恶意修改。As the degree of digitization of the excitation system adjustment unit increases, the information security issues of the excitation system have attracted more and more attention from the industry. The excitation system adjustment unit generally consists of a control device and a control program, and its main control logic is implemented by the control program. Improving the safety of the control program plays an important role in the overall safety of the excitation system. When the control program of the excitation system is updated, if the control program file used for the update is damaged or maliciously modified, it will seriously affect the working stability and information security of the excitation system. In the prior art, during the update process of the control program of the excitation system, no corresponding measures are taken to protect the excitation system, making the control program files susceptible to malicious modification.

发明内容Contents of the invention

为了克服上述现有技术中励磁系统的控制程序文件容易被修改的技术缺陷,本发明提供一种励磁系统控制程序的更新方法。In order to overcome the technical defect in the above-mentioned prior art that the control program file of the excitation system is easily modified, the present invention provides a method for updating the control program of the excitation system.

为了解决上述问题,本发明按以下技术方案予以实现:In order to solve the above problems, the present invention is implemented according to the following technical solutions:

本发明公开了一种励磁系统控制程序的更新方法,包括:The invention discloses a method for updating an excitation system control program, which includes:

获取励磁系统的控制程序文件,经过加密算法计算后获取相应的特征数据;Obtain the control program file of the excitation system, and obtain the corresponding characteristic data after calculation with an encryption algorithm;

将特征数据与控制程序文件结组合后,形成加密信息;After combining the characteristic data and the control program file, encrypted information is formed;

启动更新程序,向更新程序载入加密信息;Start the update program and load the encrypted information into the update program;

在更新程序中提取加密信息中的特征数据,验证控制程序文件的完整性;Extract characteristic data from encrypted information in the update program to verify the integrity of the control program file;

基于验证结果判断控制程序文件是否完整;Determine whether the control program file is complete based on the verification results;

若是,则将程序控制文件更新至励磁系统;If so, update the program control file to the excitation system;

若否,则重复执行加密信息的载入以及验证。If not, repeat the loading and verification of the encrypted information.

作为一种优选实施,所述重复执行加密信息的载入以及验证,具体包括:As a preferred implementation, the repeated execution of loading and verification of encrypted information specifically includes:

显示更新失败信息,等待用户操作;Display update failure information and wait for user operation;

若用户重新载入加密信息至更新程序,则重新执行提取并验证加密信息中的特征数据;If the user reloads the encrypted information into the update program, the feature data in the encrypted information is extracted and verified again;

若用户不执行加密信息的重新载入,则结束控制程序的更新。If the user does not reload the encrypted information, the update of the control program ends.

作为一种优选实施,所述经过加密算法计算后获取相应的特征数据,具体包括:As a preferred implementation, the corresponding feature data is obtained after calculation by the encryption algorithm, specifically including:

将控制程序文件中的数据加密算法进行计算后,获取与控制程序文件中的数据唯一关联的若干特征值组成特征数据。After calculating the data encryption algorithm in the control program file, several characteristic values uniquely associated with the data in the control program file are obtained to form characteristic data.

作为一种优选实施,所述将特征数据与控制程序文件组合中,具体组合方式为将特征数据中的特征值依次插入到控制程序文件中。As a preferred implementation, when combining the feature data and the control program file, the specific combination method is to insert the feature values in the feature data into the control program file in sequence.

作为一种优选实施,所述特征值依次插入到控制程序文件中,具体包括:As a preferred implementation, the characteristic values are inserted into the control program file in sequence, specifically including:

预先在控制程序文件中设定若干个插入位置,将特征数据中的特征值,依次插入到控制程序文件的插入位置中,形成由控制程序文件内部夹杂特征数据而组成的加密信息。Several insertion positions are set in the control program file in advance, and the characteristic values in the characteristic data are sequentially inserted into the insertion positions of the control program file to form encrypted information composed of characteristic data mixed inside the control program file.

作为一种优选实施,所述向更新程序载入加密信息后,还执行:As a preferred implementation, after loading the encrypted information into the update program, the following is also executed:

将验证信息载入至更新程序中,所述验证信息包括特征数据以及对应控制程序文件中特征数据的插入位置的定位信息。Verification information is loaded into the update program, where the verification information includes feature data and positioning information corresponding to the insertion position of the feature data in the control program file.

作为一种优选实施,所述提取加密信息中的特征数据,具体包括:As a preferred implementation, the extraction of feature data in encrypted information specifically includes:

更新程序对验证信息进行分析,获取其中插入位置的定位信息,基于插入位置的定位信息在加密信息中依次进行特征值的提取,将特征值依次排序后组成特征数据。The update program analyzes the verification information and obtains the positioning information of the insertion position. Based on the positioning information of the insertion position, feature values are extracted from the encrypted information in sequence, and the feature values are sorted in order to form feature data.

作为一种优选实施,所述验证控制程序文件的完整性,具体包括:As a preferred implementation, the verification of the integrity of the control program file specifically includes:

将加密信息中的特征值进行提取后,获取控制程序文件,将控制程序文件基于加密算法进行计算后获得相应的比对数据,将比对数据与特征数据进行比对,基于比对结果验证控制程序文件的完整性。After extracting the characteristic values in the encrypted information, obtain the control program file, calculate the control program file based on the encryption algorithm and obtain the corresponding comparison data, compare the comparison data with the characteristic data, and verify the control based on the comparison results. Integrity of program documentation.

与现有技术相比,本发明的有益效果是:Compared with the prior art, the beneficial effects of the present invention are:

本发明通过对控制程序文件与特征数据组合后,实现加密的方式,使得控制程序文件经过加密后再进行分发,在励磁系统的控制程序更新时,可对控制程序文件进行完整性验证,以实现检测控制程序文件是否出现损坏或被恶意修改等问题,从而保证了更新到励磁系统的控制程序文件的完整性,进而提高励磁系统运行的稳定性。The present invention realizes encryption by combining the control program file with the characteristic data, so that the control program file is encrypted before being distributed. When the control program of the excitation system is updated, the integrity of the control program file can be verified to achieve Detect whether the control program file is damaged or maliciously modified, thereby ensuring the integrity of the control program file updated to the excitation system, thereby improving the stability of the excitation system operation.

附图说明Description of the drawings

下面结合附图对本发明的具体实施方式作进一步详细的说明,其中:The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings, wherein:

图1是本发明的励磁系统控制程序的更新方法的流程示意图。Figure 1 is a schematic flowchart of the method for updating the excitation system control program of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

下面将参照附图更详细地描述本公开的优选实施例。虽然附图中显示了本公开的优选实施例,然而应该理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了使本公开更加透彻和完整,并且能够将本公开的范围完整地传达给本领域的技术人员。Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

在本文中使用的术语“包括”及其变形表示开放性包括,即“包括但不限于”。除非特别申明,术语“或”表示“和/或”。术语“基于”表示“至少部分地基于”。术语“一个示例实施例”和“一个实施例”表示“至少一个示例实施例”。术语“另一实施例”表示“至少一个另外的实施例”。术语“第一”、“第二”等等可以指代不同的或相同的对象。下文还可能包括其他明确的和隐含的定义。As used herein, the term "include" and its variations mean an open inclusion, ie, "including but not limited to." Unless otherwise stated, the term "or" means "and/or". The term "based on" means "based at least in part on." The terms "one example embodiment" and "an embodiment" mean "at least one example embodiment." The term "another embodiment" means "at least one additional embodiment". The terms "first," "second," etc. may refer to different or the same object. Other explicit and implicit definitions may be included below.

如图1所示,为本发明所述的励磁系统控制程序的更新方法的优选流程框图。As shown in Figure 1, it is a preferred flow chart of the updating method of the excitation system control program according to the present invention.

本发明公开了一种励磁系统控制程序的更新方法,其包括以下步骤:The invention discloses a method for updating an excitation system control program, which includes the following steps:

步骤S1:获取励磁系统的控制程序文件,经过加密算法计算后获取相应的特征数据。Step S1: Obtain the control program file of the excitation system, and obtain the corresponding characteristic data after calculation by the encryption algorithm.

具体地,获取励磁系统中,控制程序的更新时所采用的控制程序文件,控制程序文件由操作人员编写而成,将控制程序文件中的数据输入加密算法进行计算后,获取与控制程序文件中的数据唯一关联的若干特征值组成的特征数据。Specifically, the control program file used in the update of the control program in the excitation system is obtained. The control program file is written by the operator. After inputting the data in the control program file into the encryption algorithm for calculation, the control program file is obtained and Characteristic data composed of several characteristic values uniquely associated with the data.

步骤S2:将特征数据与控制程序文件结组合后,形成加密信息。Step S2: Combine the characteristic data and the control program file to form encrypted information.

具体地,控制程序文件与特征数据相互结合,以形成相应的经过特征数据加密后的加密信息,通过在控制程序文件中以特定顺序加入的特征数据,或将特征数据分拆后,分别将特征数据的若干个部分插入到控制程序文件中,以实现简易但难以破解的加密。Specifically, the control program file and the characteristic data are combined with each other to form corresponding encrypted information that has been encrypted by the characteristic data. By adding the characteristic data in a specific order in the control program file, or by splitting the characteristic data, the characteristics are separately Several portions of the data are inserted into the control program file to achieve simple but difficult-to-break encryption.

本实施例优选地,所述将特征数据与控制程序文件组合中,具体组合方式为将特征数据中的特征值依次插入到控制程序文件中。预先在控制程序文件中设定若干个插入位置,将特征数据中的特征值依次插入到控制程序文件的插入位置中,形成由控制程序文件内部夹杂特征数据而组成的加密信息。In this embodiment, preferably, when combining the feature data and the control program file, the specific combination method is to insert the feature values in the feature data into the control program file in sequence. Several insertion positions are set in the control program file in advance, and the characteristic values in the characteristic data are sequentially inserted into the insertion positions of the control program file to form encrypted information composed of the characteristic data mixed inside the control program file.

需要说明的是,除了依次插入特征值的方式,还可通过将特征值随机打乱后,乱序插入到特征数据中,在插入后记录相应的插入位置以便于后续处理中的取出。It should be noted that in addition to inserting feature values in sequence, the feature values can also be randomly shuffled and inserted into the feature data out of order, and the corresponding insertion position is recorded after insertion to facilitate retrieval in subsequent processing.

步骤S3:启动更新程序,向更新程序载入加密信息。Step S3: Start the update program and load the encrypted information into the update program.

具体地,启动更新程序,更新程序为励磁系统中控制程序相对应的更新程序,更新程序载入控制程序文件后,可对励磁系统的控制程序进行更新,本申请中,更新程序还具有解析信息和验证控制程序文件完整性的功能。Specifically, the update program is started. The update program is an update program corresponding to the control program in the excitation system. After the update program loads the control program file, the control program of the excitation system can be updated. In this application, the update program also has analytical information. and the ability to verify the integrity of control program files.

作为优选地,还包括子步骤S31:将验证信息载入至更新程序中,所述验证信息包括特征数据以及对应控制程序文件中特征数据的插入位置的定位信息。Preferably, it also includes sub-step S31: loading verification information into the update program, where the verification information includes feature data and positioning information corresponding to the insertion position of the feature data in the control program file.

通过将载入到更新程序中的验证信息作为基准,由于验证信息包括特征数据的完整数据特征,以及特征数据位于控制程序文件中的具体位置以及插入顺序,使得更新程序可对加密信息进行对应位置和顺序的特征数据的取出,即实现加密信息的解码,从而能实现后续的控制程序文件完整性的验证。By using the verification information loaded into the update program as a baseline, since the verification information includes the complete data characteristics of the characteristic data, as well as the specific location and insertion sequence of the characteristic data in the control program file, the update program can perform corresponding positioning of the encrypted information. And the extraction of sequential characteristic data realizes the decoding of encrypted information, thereby enabling subsequent verification of the integrity of the control program file.

步骤S4:在更新程序中提取加密信息中的特征数据,验证控制程序文件的完整性。Step S4: Extract the characteristic data in the encrypted information in the update program and verify the integrity of the control program file.

具体地,在提取加密信息中的特征信息时,在更新程序对验证信息进行分析后,获取其中插入位置的定位信息,基于插入位置的定位信息在加密信息中依次进行特征值的提取,将特征值依次排序后组成特征数据。Specifically, when extracting feature information in encrypted information, after the update program analyzes the verification information, the positioning information of the insertion position is obtained. Based on the positioning information of the insertion position, feature values are extracted in the encrypted information in sequence, and the features are extracted. The values are sorted in order to form feature data.

然后,将加密信息中的特征值进行提取后,获取控制程序文件,将控制程序文件基于加密算法进行计算后获得相应的比对数据,将比对数据与特征数据进行比对,基于比对结果验证控制程序文件的完整性。Then, after extracting the characteristic values in the encrypted information, obtain the control program file, calculate the control program file based on the encryption algorithm to obtain the corresponding comparison data, compare the comparison data with the characteristic data, and based on the comparison results Verify the integrity of the control program files.

步骤S5:基于验证结果判断控制程序文件是否完整。Step S5: Determine whether the control program file is complete based on the verification result.

具体地,在取出加密信息中的特征数据后,能得到控制程序文件,将获得的控制程序文件重新通过加密程序进行加密,获得新的特征数据,以新的特征数据和提取出来的旧的特征数据进行匹配度比对,从而根据比对结果进行控制程序文件完整性的验证。Specifically, after taking out the characteristic data in the encrypted information, the control program file can be obtained, and the obtained control program file can be re-encrypted through the encryption program to obtain new characteristic data, using the new characteristic data and the extracted old characteristics. The data is compared for matching, and the integrity of the control program file is verified based on the comparison results.

步骤S51:若是,则将程序控制文件更新至励磁系统。Step S51: If yes, update the program control file to the excitation system.

具体地,若新的特征数据和旧的特征数据完全相同,即可说明加密信息以及控制程序文件均为完整,在传输过程中未出现损坏以及遭受恶意修改的现象。更新程序可直接执行控制程序文件以实现励磁系统的控制程序的更新。Specifically, if the new characteristic data is exactly the same as the old characteristic data, it means that the encrypted information and control program files are complete and have not been damaged or maliciously modified during the transmission process. The update program can directly execute the control program file to update the control program of the excitation system.

步骤S52:若否,则重复执行加密信息的载入以及验证。从而重新执行验证或直接终止控制程序的更新。Step S52: If not, repeat the loading and verification of the encrypted information. Thereby re-executing the verification or directly terminating the update of the control program.

作为一种优选实施,所述重复执行加密信息的载入以及验证,具体包括:As a preferred implementation, the repeated execution of loading and verification of encrypted information specifically includes:

显示更新失败信息,等待用户操作;Display update failure information and wait for user operation;

若用户重新载入加密信息至更新程序,则重新执行提取并验证加密信息中的特征数据;If the user reloads the encrypted information into the update program, the feature data in the encrypted information is extracted and verified again;

若用户选择不执行加密信息的重新载入,则结束控制程序的更新。If the user chooses not to reload the encrypted information, the update of the control program ends.

本发明通过对控制程序文件与特征数据组合后,实现加密的方式,使得控制程序文件经过加密后再进行分发,在励磁系统的控制程序更新时,可对控制程序文件进行完整性验证,以实现检测控制程序文件是否出现损坏或被恶意修改等问题,从而保证了更新到励磁系统的控制程序文件的完整性,进而提高励磁系统运行的稳定性。The present invention realizes encryption by combining the control program file with the characteristic data, so that the control program file is encrypted before being distributed. When the control program of the excitation system is updated, the integrity of the control program file can be verified to achieve Detect whether the control program file is damaged or maliciously modified, thereby ensuring the integrity of the control program file updated to the excitation system, thereby improving the stability of the excitation system operation.

本实施例所述的励磁系统控制程序的更新方法的其它结构参见现有技术。Other structures of the method for updating the excitation system control program described in this embodiment can be found in the prior art.

本公开可以是方法、装置、系统和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于执行本公开的各个方面的计算机可读程序指令。The disclosure may be a method, apparatus, system and/or computer program product. A computer program product may include a computer-readable storage medium having thereon computer-readable program instructions for performing various aspects of the present disclosure.

计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。Computer-readable storage media may be tangible devices that can retain and store instructions for use by an instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or Flash memory), Static Random Access Memory (SRAM), Compact Disk Read Only Memory (CD-ROM), Digital Versatile Disk (DVD), Memory Stick, Floppy Disk, Mechanical Coding Device, such as a printer with instructions stored on it. Protruding structures in hole cards or grooves, and any suitable combination of the above. As used herein, computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or through electrical wires. transmitted electrical signals.

这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to various computing/processing devices, or to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage on a computer-readable storage medium in the respective computing/processing device .

用于执行本公开操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,上述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本公开的各个方面。Computer program instructions for performing operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or instructions in one or more programming languages. Source code or object code written in any combination of object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server implement. In situations involving remote computers, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as an Internet service provider through the Internet). connect). In some embodiments, by utilizing state information of computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit can Computer readable program instructions are executed to implement various aspects of the disclosure.

这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.

这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理单元,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理单元执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer-readable program instructions may be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, thereby producing a machine such that the instructions, when executed by a processing unit of the computer or other programmable data processing apparatus, , resulting in an apparatus that implements the functions/actions specified in one or more blocks in the flowchart and/or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium. These instructions cause the computer, programmable data processing device and/or other equipment to work in a specific manner. Therefore, the computer-readable medium storing the instructions includes An article of manufacture that includes instructions that implement aspects of the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.

也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other equipment, causing a series of operating steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executed on a computer, other programmable data processing apparatus, or other equipment to implement the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.

附图中的流程图和框图显示了根据本公开的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,上述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions that contains one or more operable functions for implementing the specified logical functions. Execute instructions. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two consecutive blocks may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved. It will also be noted that each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts. , or can be implemented using a combination of specialized hardware and computer instructions.

以上已经描述了本公开的各实施方式,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施方式。在不偏离所说明的各实施方式的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施方式的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其他普通技术人员能理解本文披露的各实施方式。The various embodiments of the present disclosure have been described above. The above description is illustrative, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles of the various embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various embodiments disclosed herein.

Claims (4)

1.一种励磁系统控制程序的更新方法,其特征在于,包括:1. A method for updating the excitation system control program, which is characterized by including: 获取励磁系统的控制程序文件,经过加密算法计算后获取相应的特征数据,所述特征数据由若干特征值组成;Obtain the control program file of the excitation system, and obtain the corresponding characteristic data after calculation by an encryption algorithm. The characteristic data consists of several characteristic values; 将特征数据与控制程序文件结组合后,形成加密信息,所述组合为在控制程序文件中以特定顺序加入特征数据或分别将分拆后的特征数据的若干部分插入到控制程序文件中,所述特征值依次插入到程序文件中,具体包括:预先在控制程序文件中设定若干个插入位置,将特征数据中的特征值依次插入到控制程序文件的插入位置中,形成由控制程序文件内部夹杂特征数据而组成的加密信息;Encrypted information is formed after combining the characteristic data and the control program file. The combination is to add the characteristic data in a specific order in the control program file or to insert several parts of the split characteristic data into the control program file respectively. The above characteristic values are inserted into the program file in sequence, which specifically includes: setting several insertion positions in the control program file in advance, inserting the characteristic values in the characteristic data into the insertion positions of the control program file in sequence, forming an internal structure of the control program file. Encrypted information composed of characteristic data; 启动更新程序,向更新程序载入加密信息,将验证信息载入至更新程序中,所述验证信息包括特征数据以及对应控制程序文件中特征数据的插入位置的定位信息;Start the update program, load the encrypted information into the update program, and load the verification information into the update program, where the verification information includes feature data and positioning information corresponding to the insertion position of the feature data in the control program file; 更新程序对验证信息进行分析,获取其中插入位置的定位信息,基于插入位置的定位信息在加密信息中依次进行特征值的提取,将特征值依次排序后组成特征数据;The update program analyzes the verification information and obtains the positioning information of the insertion position. Based on the positioning information of the insertion position, the feature values are extracted from the encrypted information in sequence, and the feature values are sorted in sequence to form feature data; 将加密信息中的特征值进行提取后,获取控制程序文件,将控制程序文件基于加密算法进行计算后获得相应的比对数据,将比对数据与特征数据进行比对,基于比对结果验证控制程序文件的完整性;After extracting the characteristic values in the encrypted information, obtain the control program file, calculate the control program file based on the encryption algorithm and obtain the corresponding comparison data, compare the comparison data with the characteristic data, and verify the control based on the comparison results. Integrity of program documentation; 基于验证结果判断控制程序文件是否完整;Determine whether the control program file is complete based on the verification results; 若是,则将程序控制文件更新至励磁系统;If so, update the program control file to the excitation system; 若否,则重复执行加密信息的载入以及验证。If not, repeat the loading and verification of the encrypted information. 2.根据权利要求1所述的励磁系统控制程序的更新方法,其特征在于,所述重复执行加密信息的载入以及验证,具体包括:2. The method for updating the excitation system control program according to claim 1, characterized in that the repeated execution of loading and verification of encrypted information specifically includes: 显示更新失败信息,等待用户操作;Display update failure information and wait for user operation; 若用户重新载入加密信息至更新程序,则重新执行提取并验证加密信息中的特征数据;If the user reloads the encrypted information into the update program, the feature data in the encrypted information is extracted and verified again; 若用户不执行加密信息的重新载入,则结束控制程序的更新。If the user does not reload the encrypted information, the update of the control program ends. 3.根据权利要求1所述的励磁系统控制程序的更新方法,其特征在于,所述经过加密算法计算后获取相应的特征数据,具体包括:3. The method for updating the excitation system control program according to claim 1, characterized in that the corresponding characteristic data is obtained after calculation by an encryption algorithm, specifically including: 将控制程序文件中的数据输入加密算法进行计算后,获取与控制程序文件中的数据唯一关联的若干特征值组成的数据。After inputting the data in the control program file into the encryption algorithm for calculation, data composed of several characteristic values uniquely associated with the data in the control program file is obtained. 4.根据权利要求3所述的励磁系统控制程序的更新方法,其特征在于:4. The method for updating the excitation system control program according to claim 3, characterized in that: 所述将特征数据与控制程序文件组合中,具体组合方式为将特征数据中的特征值依次插入到控制程序文件中。In the combination of feature data and control program files, the specific combination method is to insert the feature values in the feature data into the control program file in sequence.
CN202110989777.5A 2021-08-26 2021-08-26 Method for updating excitation system control program Active CN113721956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110989777.5A CN113721956B (en) 2021-08-26 2021-08-26 Method for updating excitation system control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110989777.5A CN113721956B (en) 2021-08-26 2021-08-26 Method for updating excitation system control program

Publications (2)

Publication Number Publication Date
CN113721956A CN113721956A (en) 2021-11-30
CN113721956B true CN113721956B (en) 2024-02-20

Family

ID=78678199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110989777.5A Active CN113721956B (en) 2021-08-26 2021-08-26 Method for updating excitation system control program

Country Status (1)

Country Link
CN (1) CN113721956B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055936A (en) * 2016-05-18 2016-10-26 深圳大学 Method and device for encryption/decryption of executable program data package
CN107196973A (en) * 2017-07-25 2017-09-22 广东虹勤通讯技术有限公司 A data encryption and decryption method and device
FR3047100B1 (en) * 2016-01-26 2018-03-02 Commissariat A L'energie Atomique Et Aux Energies Alternatives METHOD OF ENCRYPTING A FLOT OF INSTRUCTIONS AND EXECUTING A FLOAT OF INSTRUCTIONS SO DIGIT.
CN108200044A (en) * 2017-12-28 2018-06-22 宁德时代新能源科技股份有限公司 Vehicle-mounted program file encryption method and system
CN109067797A (en) * 2018-09-27 2018-12-21 深圳友讯达科技股份有限公司 A kind of network security defence method
CN109194618A (en) * 2018-08-02 2019-01-11 广东浪潮大数据研究有限公司 A kind of file encrypting method, document encrypting apparatus and file encryption equipment
CN109934017A (en) * 2019-03-12 2019-06-25 苏州科达科技股份有限公司 Check information generates and file integrality method of calibration, system, equipment and medium
CN109977684A (en) * 2019-02-12 2019-07-05 平安科技(深圳)有限公司 A kind of data transmission method, device and terminal device
CN111950035A (en) * 2020-06-18 2020-11-17 中国电力科学研究院有限公司 Method, system, device and storage medium for integrity protection of apk file
US11042610B1 (en) * 2017-10-04 2021-06-22 Xilinx, Inc. Enabling integrity and authenticity of design data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9965639B2 (en) * 2015-07-17 2018-05-08 International Business Machines Corporation Source authentication of a software product

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3047100B1 (en) * 2016-01-26 2018-03-02 Commissariat A L'energie Atomique Et Aux Energies Alternatives METHOD OF ENCRYPTING A FLOT OF INSTRUCTIONS AND EXECUTING A FLOAT OF INSTRUCTIONS SO DIGIT.
CN106055936A (en) * 2016-05-18 2016-10-26 深圳大学 Method and device for encryption/decryption of executable program data package
CN107196973A (en) * 2017-07-25 2017-09-22 广东虹勤通讯技术有限公司 A data encryption and decryption method and device
US11042610B1 (en) * 2017-10-04 2021-06-22 Xilinx, Inc. Enabling integrity and authenticity of design data
CN108200044A (en) * 2017-12-28 2018-06-22 宁德时代新能源科技股份有限公司 Vehicle-mounted program file encryption method and system
CN109194618A (en) * 2018-08-02 2019-01-11 广东浪潮大数据研究有限公司 A kind of file encrypting method, document encrypting apparatus and file encryption equipment
CN109067797A (en) * 2018-09-27 2018-12-21 深圳友讯达科技股份有限公司 A kind of network security defence method
CN109977684A (en) * 2019-02-12 2019-07-05 平安科技(深圳)有限公司 A kind of data transmission method, device and terminal device
CN109934017A (en) * 2019-03-12 2019-06-25 苏州科达科技股份有限公司 Check information generates and file integrality method of calibration, system, equipment and medium
CN111950035A (en) * 2020-06-18 2020-11-17 中国电力科学研究院有限公司 Method, system, device and storage medium for integrity protection of apk file

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A system call refinement-based enhanced Minimum Redundancy Maximum Relevance method for ransomware early detection;Yahye Abukar Ahmed;ScienceDirect;第167卷;全文 *
基于无线信道特征的密钥生成及OFDM调制加密算法研究;陈诚;《中国优秀硕士学位论文全文数据库信息科技辑》(第03期);全文 *

Also Published As

Publication number Publication date
CN113721956A (en) 2021-11-30

Similar Documents

Publication Publication Date Title
US10778441B2 (en) Redactable document signatures
JP4455661B2 (en) Hash function construction from expander graph
CN111033506B (en) Verification of edit scripts using match and difference operations
Aronson et al. Towards an engineering approach to file carver construction
US10394763B2 (en) Method and device for generating pileup file from compressed genomic data
US20050219076A1 (en) Information management system
CN113254887A (en) Authorization method of application program, computing device and storage medium
CN114036561A (en) Information hiding, information acquisition method, device, storage medium and electronic device
JP2024527556A (en) Encoding data in a hierarchical data structure using hash trees for integrity protection - Patents.com
CN114756837B (en) Block chain-based digital content tracing method and system
CN109977675B (en) Open source software identification method and device
CN112559497A (en) Data processing method, information transmission method and device and electronic equipment
CN113721956B (en) Method for updating excitation system control program
CN113378025B (en) Data processing method, device, electronic device and storage medium
CN115344877B (en) Data storage method, system and readable storage medium
CN114495187A (en) Method, device, device and storage medium for detecting media file forgery
CN115718696B (en) Source code cryptography misuse detection method and device, electronic equipment and storage medium
WO2021012732A1 (en) Blockchain-based information verification apparatus and method, and storage medium
CN111090992A (en) Text preprocessing method and device and storage medium
CN112883397B (en) Data storage method, data reading method, device, equipment and storage medium
US11652626B2 (en) Safeguarding cryptographic keys from modification or deletion
CN114296980A (en) Method and system for identifying, detecting and extracting file system based on damaged squarshfs
CN111949738A (en) Block chain-based data storage deduplication method, terminal device and storage medium
RU2628922C1 (en) Method for determining similarity of composite files
CN116933280A (en) Method, device, equipment and medium for processing connection information

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
TR01 Transfer of patent right

Effective date of registration: 20241210

Address after: No. 16 Yufeng Road, Shiling Town, Huadu District, Guangzhou City, Guangdong Province 510800

Patentee after: GUANGZHOU KINTE INDUSTRIAL Co.,Ltd.

Country or region after: China

Patentee after: Southern Power Grid Energy Storage Co.,Ltd. Western Maintenance and Testing Branch

Address before: No.16, Yufeng Road, Shiling Town, Huadu District, Guangzhou, Guangdong 510000

Patentee before: GUANGZHOU KINTE INDUSTRIAL Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right