CN105045581B - A kind of program method of automatic configuration of intelligent power device Neutron module - Google Patents

A kind of program method of automatic configuration of intelligent power device Neutron module Download PDF

Info

Publication number
CN105045581B
CN105045581B CN201510385221.XA CN201510385221A CN105045581B CN 105045581 B CN105045581 B CN 105045581B CN 201510385221 A CN201510385221 A CN 201510385221A CN 105045581 B CN105045581 B CN 105045581B
Authority
CN
China
Prior art keywords
submodule
configuration
dispensing unit
program
module
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
CN201510385221.XA
Other languages
Chinese (zh)
Other versions
CN105045581A (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.)
State Grid Corp of China SGCC
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Original Assignee
State Grid Corp of China SGCC
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software Technology 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 State Grid Corp of China SGCC, Xuji Group Co Ltd, XJ Electric Co Ltd, Xuchang XJ Software Technology Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201510385221.XA priority Critical patent/CN105045581B/en
Publication of CN105045581A publication Critical patent/CN105045581A/en
Application granted granted Critical
Publication of CN105045581B publication Critical patent/CN105045581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of program method of automatic configuration of intelligent power device Neutron module, the present invention is when module powers on for the first time, ID is carried out to each module to adjust, by the dispensing unit being integrated in inside submodule, the program and configuration file of the adjacent each submodule of extraction are simultaneously stored respectively in by its module ED information in dispensing unit;When replacing submodule, adjacent block is completed ID to it and is adjusted, and adjacent block backs up it according to id information, completes to automatically configure submodule by way of network.The present invention automatically configures submodule by being integrated in the dispensing unit inside submodule, it does not need device and increases additional module, automatically modular program can be restored, and in adjacent submodule dispensing unit information synchronization, so that when submodule is replaced, arbitrary neighborhood module can carry out configuration update to it, be particularly suitable for the external wiring pattern of structure and plug and play that the intelligent power device of multiplied unit can arbitrarily extend.

Description

A kind of program method of automatic configuration of intelligent power device Neutron module
Technical field
The present invention relates to a kind of program method of automatic configuration of intelligent power device Neutron module, belong to intelligent power device Communication technique field.
Background technology
In the past in multiplied unit intelligent apparatus, after accessing new module, module is carried out according to hardware information is artificial Default and configuration needs to operate repeatedly when module updates or replaces, and work is complicated and is easy error.In recent years in each neck The equipment in domain gradually adopts the mode automatically configured, realizes more succinct operation, reduces the probability of error.
Patent N03826200 provides a kind of realization veneer, the method that especially veneer automatically configures in communication system.It is simultaneous After holding the veneer insertion machine frame of CompactPCI specifications, it can be identified automatically by system board, system board is reflected by CompactPCI The spaces SROM that the configuration information of veneer is passed to veneer by space are penetrated, according to the configuration information in the spaces SROM after single board starting It is automatically performed configuration and runs.Therefore veneer can find and automatically configure automatically, and flow is as shown in Figure 1.When veneer is inserted into In machine frame, system board obtains the hardware information for being inserted into veneer and finds matching in veneer configuration database according to the information of acquisition Veneer collocation information, the configuration information of these veneers obtained passes through CompactPCI spaces and veneer is written by system board In the spaces SROM, veneer is automatically configured according to the completion of the write-in information in the spaces SROM.Since the hardware information of veneer is by supplier It is previously written, and the configuration database of veneer is generated according to the configuration file preserved in system board, although can be in specification model It is automatically configured in enclosing, but cannot arbitrarily extend and realize plug and play.
If the file of patent No. CN200710074764 discloses a kind of multi-configuration module device and its method of automatic configuration, Shown in the following attached drawing of its flow chart 2.After device power, processor read automatically store in configuration information memory match confidence It ceases and as initial configuration in the equipment, completes power-up initializing, equipment is made first the configuration information to be used to enter normal work Make state;It serves and automatically configures module progress actual disposition detection, with the configuration information core read from configuration information memory It is right;When the two is consistent, it confirmed that the correctness of configuration information used, equipment normal operating conditions are also confirmed, equipment Continue to work normally.But this method is only applicable to have the plug-in type module device strictly limited to power-on time, if operation is set Standby failure or when replacing, the configuration information in memory is asynchronous with current configuration information, need to compare again configuration information with Restarting equipment increases the complexity of operation.
Invention content
The object of the present invention is to provide a kind of program method of automatic configuration of intelligent power device Neutron module, to solve mesh Front module program and configuration file automatically update problem.
The present invention provides a kind of program of intelligent power device Neutron module and automatically configures to solve above-mentioned technical problem Method, the method for automatic configuration include the following steps:
1) when submodule powers on for the first time, each submodule carries out id information and adjusts, and obtains the id information of its module;
2) when each submodule is active, each submodule extracts the program of its adjacent submodule and configures in detail, And correspondence is stored in the dispensing unit that it is internally integrated respectively by it;
3) when a certain ID submodules send out configuring request, the adjacent submodule of the ID submodules extracts the ID submodules Program is carried out with the program of the ID modules synchronous in advance in configuration information submodule dispensing unit adjacent thereto and configuration information Comparison judges whether the two is consistent;
If 4) consistent, without any operation, if inconsistent, the ID submodules are by its adjacent submodule dispensing unit In the pre-stored ID submodules program and configuration information update to the ID submodules in, realize submodule program it is automatic Configuration.
The submodule enters operating status after obtaining configuration information, can modify according to demand to configuration, and will It changes in result update to dispensing unit, ensures the real-time of dispensing unit.
The dispensing unit is integrated in inside submodule, is carried out by multiplex bus between the dispensing unit of adjacent submodule Interaction.
Between each submodule by open into, output structure and be sequentially connected in series, adjusting for id information is believed using with address Breath code open into, output the mode of signal.
The submodule power on for the first time accessed for the first time including submodule, the submodule that more renews after sub-module fault and disconnected The access again of submodule after electricity.
It is described when submodule sends out configuring request, if the quantity of the adjacent block of the submodule be 2, the two adjacent sons Module can carry out configuration update to it.
It is compared in the form of cyclic redundancy check in the step 3).
Signal triggering can be used in the result update to dispensing unit by modification or realized in a manner of poll.
The beneficial effects of the invention are as follows:The present invention carries out ID when module powers on for the first time, to each module and adjusts, by integrated Dispensing unit inside submodule, the program and configuration file of the adjacent each submodule of extraction are simultaneously distinguished by its module ED information It is stored in dispensing unit;When replacing submodule, adjacent block its complete ID adjust, adjacent block to according to id information to it It is backed up, completes to automatically configure submodule by way of network.The present invention is by being integrated in matching inside submodule It sets unit to automatically configure submodule, does not need device and increase additional module, you can modular program is carried out automatically extensive It is multiple, to reach program and configuration file and the matched purpose of external cabling.And in adjacent submodule dispensing unit information synchronization, So that when submodule is replaced, arbitrary neighborhood module can carry out configuration update to it, be particularly suitable for the intelligence of multiplied unit The external wiring pattern for the structure and plug and play that energy electric device can arbitrarily extend.
Description of the drawings
Fig. 1 is the flow chart that veneer automatically configures in the prior art;
Fig. 2 is a kind of method of automatic configuration flow chart of multi-configuration module device in the prior art;
Fig. 3 is the information exchange schematic diagram of each intermodule of intelligent power device of the present invention;
Fig. 4 is that the program between intelligent power device adjacent block of the present invention automatically configures flow chart;
Fig. 5 is module network structural schematic diagram in intelligent power device of the present invention;
Fig. 6 is that module automatically configures schematic diagram in the embodiment of the present invention.
Specific implementation mode
The specific implementation mode of the present invention is described further below in conjunction with the accompanying drawings.
The targeted intelligent power device of the present invention includes n submodule, as shown in figure 3, being respectively provided in each submodule There is dispensing unit, information exchange can be carried out between each adjacent submodule, when each submodule powers on for the first time, ID is carried out to each module Adjust, submodule power on for the first time accessed for the first time including submodule, son after the submodule that more renews after sub-module fault and power-off The access again of module extracts program and the configuration of adjacent each submodule by the dispensing unit being integrated in inside submodule File is simultaneously stored respectively in by its module ED information in dispensing unit;When replacing submodule, it is whole that adjacent block completes ID to it Fixed, adjacent block is completed to automatically configure submodule by way of network to backing up it according to id information.
The ID of default submodule 1 to submodule n are respectively 1,2,3 ... n, when module I D un-activations, are matched by outside It sets means to configure submodule, configuration information is formed configuration information check code 0XN01, and (ID that wherein N represents module believes Breath), configuration information is stored in adjacent block in dispensing unit, module I D switchs to state of activation at this time.When module I D is in State of activation extracts each submodule configuration information, forms initial information check code 0XN00, is stored in adjacent block In dispensing unit, submodule adjacent block quantity is 1 or 2, correspondingly, the dispensing unit for being stored with the submodule configuration information has 1 or two.
For submodule n-1 (n-1 is the ID of submodule), the program and configuration information in submodule n-1 dispensing units are same In the dispensing unit for walking its adjacent submodule n-2 and submodule n, when submodule n-1 is changed, adjacent submodule n and n-2 fortune It calculates, is compared (comparative information check code) by the program and configuration information of the submodule n-1 stored in any one module.If The two is inconsistent, and submodule n-2 or submodule n call synchronous in advance program and configuration information to configure submodule n-1 Update, when module n-1 is in operating status, if configuration is modified and is submitted according to specific requirements in the process of running, Then simultaneously trigger interrupt in submodule n-1 dispensing units configuration and check code be updated, or by way of poll into Row update is subject to configuration current in dispensing unit when replacing module n-1 again.
It is described in detail by taking the intelligent power device of 16 submodules as an example below, as shown in fig. 6, in the present embodiment 16 each submodules are connected by multiplex bus, are connected, are used for by input and output port in sequence between each adjacent submodule The id information of submodule is adjusted.Its Neutron module ID is encoded to 0000-1111, can support 16 submodules.
It is integrated with dispensing unit inside 1~submodule of submodule 16, it is total by being multiplexed between the dispensing unit of submodule Line into line program and configuration information interaction, submodule block prefix output access rear class open into structure, be sequentially connected in series, 4 tunnels are outputed on 4 roads It opens into structure, submodule sequence is connected, and the address of submodule 1 is taken as 0+1, separately sets initial check code as 0X000, module runs shape State is 0X01, and module failure or off-position are 0X00.
When module I D un-activations, submodule is configured by exterior arrangement means, configuration information is formed and is configured Information checking code 0XN01 (wherein N represents the id information of module), configuration information is stored in adjacent block in dispensing unit, Module I D switchs to state of activation at this time.
When module I D is active, adjacent submodule extracts configuration information, forms initial information check code 0XN00, It is stored in the dispensing unit in adjacent block.
The ID of submodule 1 is 0001 (0+1), and initial configuration check code is 0X100, and module operating status is 0X01, module Failure or off-position are 0X00.Program and configuration information in 1 dispensing unit of submodule are synchronized to the configuration list of its submodule 2 In member, when 1 state of submodule or process variations, in program and the submodule 1 of the extraction storage of adjacent submodule 2 existing program and Configuration information is compared (comparative information check code).If the two is inconsistent, synchronous in advance program and configuration information pair are used Submodule 1 carries out configuration update.When submodule 1 is in operating status, if in the process of running according to specific requirements to configuration Modify and submit, then simultaneously trigger interrupt in 1 dispensing unit of submodule configuration and check code be updated, again more It is subject to configuration current in dispensing unit when changing the mold block 1.
The ID of submodule 2 is 0010 (1+1), and initial configuration check code is 0X200, and module operating status is 0X01, module Failure or off-position are 0X00, due to submodule 2 adjacent submodule there are two, the two adjacent submodules can to its into Row configuration update, program and configuration information in 2 dispensing unit of submodule are synchronized to matching for its adjacent submodule 1 and submodule 3 It sets in unit, when 2 state of submodule or process variations, program synchronous in advance and configuration information in submodule 1 or submodule 3 With the program and configuration information of submodule 2 and compared (comparative information check code), if the two is inconsistent, submodule 1 or son In module 3 after interaction, configuration update is carried out to submodule 2 using synchronous in advance program and configuration information.When module 2 is in fortune When row state, if configuration is modified and submitted according to specific requirements in the process of running, interruption is triggered simultaneously to submodule Configuration and check code in 2 dispensing unit of block are updated, and are configured to current in dispensing unit when replacing module 2 again It is accurate.
……
The ID of submodule 16 is 0000 (15+1), and initial configuration check code is 0X000 (F+1), and module operating status is 0X01, module failure or off-position are 0X00.Program and configuration information in 16 dispensing unit of submodule are synchronized to its submodule In the dispensing unit of block 15, when 16 state of submodule or process variations, the program and submodule of the extraction storage of adjacent submodule 15 Existing program and configuration information are compared (comparative information check code) in block 16.If the two is inconsistent, use what is synchronized in advance Program and configuration information carry out configuration update to submodule 16.When submodule 16 is in operating status, if in the process of running Configuration is modified and is submitted according to specific requirements, then trigger simultaneously interrupt in 16 dispensing unit of submodule configuration and school It tests code to be updated, configuration current in dispensing unit is subject to when replacing module 16 again.

Claims (8)

1. a kind of program method of automatic configuration of intelligent power device Neutron module, which is characterized in that the method for automatic configuration packet Include following steps:
1) when submodule powers on for the first time, each submodule carries out id information and adjusts, and obtains the id information of its module;
2) when each submodule is active, each submodule extracts the program and configuration information of its adjacent submodule, and will Correspondence is stored in the dispensing unit that it is internally integrated respectively for it;
3) when a certain ID submodules send out configuring request, the adjacent submodule of the ID submodules extracts the program of the ID submodules It is carried out pair with the program of the ID submodules synchronous in advance and configuration information in configuration information submodule dispensing unit adjacent thereto Than judging whether the two is consistent;
If 4) consistent, without any operation, if inconsistent, which will be pre- in its adjacent submodule dispensing unit In the program and configuration information update to the ID submodules of the ID submodules first stored, realize that the automatic of submodule program is matched It sets;
By multiplex bus into the interaction of line program and configuration information between the dispensing unit of submodule, submodule block prefix, which is outputed, to be connect Enter rear class to open into structure, be sequentially connected in series;
When submodule is in operating status, if configuration is modified and is submitted according to specific requirements in the process of running, Simultaneously trigger interrupt in submodule dispensing unit configuration and check code be updated, again replace submodule when to configure list In member subject to current configuration.
2. the program method of automatic configuration of intelligent power device Neutron module according to claim 1, which is characterized in that institute It states submodule and enters operating status after obtaining configuration information, modify according to demand to configuration, and will modification result update Into dispensing unit, ensure the real-time of dispensing unit.
3. the program method of automatic configuration of intelligent power device Neutron module according to claim 2, which is characterized in that institute It states dispensing unit to be integrated in inside submodule, be interacted by multiplex bus between the dispensing unit of adjacent submodule.
4. the program method of automatic configuration of intelligent power device Neutron module according to claim 3, which is characterized in that institute State between each submodule by open into, output structure and be sequentially connected in series, id information adjust using with address information code open into, Output the mode of signal.
5. the program method of automatic configuration of intelligent power device Neutron module according to claim 3, which is characterized in that institute State submodule power on for the first time accessed for the first time including submodule, submodule after the submodule that more renews after sub-module fault and power-off Access again.
6. the program method of automatic configuration of intelligent power device Neutron module according to claim 4, which is characterized in that when When the submodule sends out configuring request, if the quantity of the adjacent submodule of the submodule is 2, the two adjacent submodules Configuration update is carried out to it.
7. the program method of automatic configuration of intelligent power device Neutron module according to claim 5, which is characterized in that institute It states and is compared in the form of cyclic redundancy check in step 3).
8. the program method of automatic configuration of intelligent power device Neutron module according to claim 2, which is characterized in that institute Stating will use signal to trigger or realized in a manner of poll in modification result update to dispensing unit.
CN201510385221.XA 2015-06-30 2015-06-30 A kind of program method of automatic configuration of intelligent power device Neutron module Active CN105045581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510385221.XA CN105045581B (en) 2015-06-30 2015-06-30 A kind of program method of automatic configuration of intelligent power device Neutron module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510385221.XA CN105045581B (en) 2015-06-30 2015-06-30 A kind of program method of automatic configuration of intelligent power device Neutron module

Publications (2)

Publication Number Publication Date
CN105045581A CN105045581A (en) 2015-11-11
CN105045581B true CN105045581B (en) 2018-09-25

Family

ID=54452146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510385221.XA Active CN105045581B (en) 2015-06-30 2015-06-30 A kind of program method of automatic configuration of intelligent power device Neutron module

Country Status (1)

Country Link
CN (1) CN105045581B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10216682B2 (en) * 2016-06-15 2019-02-26 Epro Gmbh Configuration distribution

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859187A (en) * 2005-12-14 2006-11-08 华为技术有限公司 Method and system for centrally configurating terminal equipment
CN1913450A (en) * 2005-07-22 2007-02-14 阿尔卡特公司 Recovery of network element configuration
CN101959171A (en) * 2010-09-30 2011-01-26 中兴通讯股份有限公司 Neighboring cell configuration information updating method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100848139B1 (en) * 2006-12-08 2008-07-23 한국전자통신연구원 Automatic Network Configuration Setup Apparatus and Method between Adjacent Short-Range Wireless Terminals

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913450A (en) * 2005-07-22 2007-02-14 阿尔卡特公司 Recovery of network element configuration
CN1859187A (en) * 2005-12-14 2006-11-08 华为技术有限公司 Method and system for centrally configurating terminal equipment
CN101959171A (en) * 2010-09-30 2011-01-26 中兴通讯股份有限公司 Neighboring cell configuration information updating method and system

Also Published As

Publication number Publication date
CN105045581A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
US10862172B2 (en) Method and device for identifying master and slave battery packs
CN104281511B (en) Intelligent-platform management interface system, baseboard management controller and implementation method
US7747804B2 (en) Method and system for setting addresses for slave devices in data communication
CN107678356A (en) Flexible direct current power transmission system nature imitation experiment device and method based on fpga chip platform
CN105095037A (en) Wire card, backboard of wire card and wire card test method
CN102724093A (en) Advanced telecommunications computing architecture (ATCA) machine frame and intelligent platform management bus (IPMB) connection method thereof
CN104503947B (en) Multipath server and its signal processing method
CN105045581B (en) A kind of program method of automatic configuration of intelligent power device Neutron module
CN109976926A (en) Method, circuit, terminal and the storage medium of protection BMC renewal process are restarted in a kind of shielding
CN102880235A (en) Single-board computer based on loongson 2F central processing unit (CPU) as well as reset management and using method of single-board computer
CN103890713B (en) Device and method for managing the register information in processing system
CN101692210B (en) Single board starting monitoring system and monitoring method
CN109254780A (en) A kind of method, apparatus and controlled terminal of batch refresh server node firmware
CN102420693A (en) ATCA (Advanced Telecom Computing Architecture) machine frame system, construction method and back-insert single plate
CN112187679A (en) Message processing method and device
CN114155888B (en) Hard disk power supply control device and method, computer equipment and storage medium
CN101795208B (en) Method and system for synchronizing display information on rack diagram
CN105988505A (en) Electronic device with circuit protection and assembling method thereof
CN108415866A (en) Intelligent platform management controller
CN107390548A (en) A kind of avionics HWIL simulation data path control system
CN104656478B (en) The control circuit and control method of a kind of multi-power module
CN100551091C (en) A kind of method that detects veneer system mode of living in
CN109324935A (en) A kind of system cold start-up test method, device, terminal and storage medium
CN105652780A (en) Intelligent three-dimensional garage control system and method
CN106899502B (en) trigger signal segmented routing device and method for PXIe backboard

Legal Events

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