CN105094899A - Distributed-type intelligent apparatus sub-module program automatic configuration method - Google Patents

Distributed-type intelligent apparatus sub-module program automatic configuration method Download PDF

Info

Publication number
CN105094899A
CN105094899A CN201510399958.7A CN201510399958A CN105094899A CN 105094899 A CN105094899 A CN 105094899A CN 201510399958 A CN201510399958 A CN 201510399958A CN 105094899 A CN105094899 A CN 105094899A
Authority
CN
China
Prior art keywords
configuration
submodule
module
information
program
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.)
Pending
Application number
CN201510399958.7A
Other languages
Chinese (zh)
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 CN201510399958.7A priority Critical patent/CN105094899A/en
Publication of CN105094899A publication Critical patent/CN105094899A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

The invention relates to a distributed-type intelligent apparatus sub-module program automatic configuration method, which belongs to the communication technology field of intelligent power apparatus. Through setting a configuration module parallel to sub-modules, a program of each of the sub-modules and a configuration document are respectively stored in the configuration module according to module ID information of the program and the configuration document; when a sub-module is needed to configure the program, a configuration request is sent to a main module; configuration information corresponding to an ID sub-module stored in the configuration module is withdrawn by the main module; and the withdrawn configuration information is synchronously sent to the sub-module to realized automatic configuration to the sub-module. According to the invention, through setting the module, automatic configuration to each module program is realized; when the module is replaced, the module program is automatically recovered for the purpose of matching up the program and the configuration document and the external circuit connection, without needing to manually match up program, definite a value and modify other configuration document to the newly connected module; the operation is simple; and the method is easily realized.

Description

A kind of distributed intelligence device submodule program method of automatic configuration
Technical field
The present invention relates to a kind of distributed intelligence device submodule program method of automatic configuration, belong to the communication technique field of intelligent power device.
Background technology
In the past in multiplied unit intelligent apparatus, access new module after, according to hardware information artificial carry out presetting and configure to module, module upgrade or replace time, need repeatable operation, work complexity and easily make mistakes.Gradually adopt the mode of configuration automatically in recent years at the equipment of every field, realize more succinct operation, reduce the probability of makeing mistakes.
The patent No. is that the file of N03826200 provides one and realizes veneer, the method that particularly in communication system, veneer configures automatically.After the veneer insertion machine frame of compatible CompactPCI specification, can automatically by system board identification, the configuration information of veneer is passed to the SROM space of veneer by system board by CompactPCI mapping space, automatically complete configuring and running after single board starting according to the configuration information in SROM space.Therefore veneer automatically can find and automatically configure, and its flow process as shown in Figure 1.When veneer inserts in machine frame, system board obtains the hardware information that inserts veneer and in veneer configuration database, finds the veneer collocation information of coupling according to the information obtained, the configuration information of the veneer that these obtain by system board is write in the SROM space of veneer by CompactPCI space, and veneer completes automatic configuration according to the written information in SROM space.Because the hardware information of veneer is write in advance by supplier, and the configuration database of veneer generates according to the configuration file preserved in system board, although automatically can configure in regulating scope, can not arbitrarily expand and realize plug and play.
File as patent No. CN200710074764 discloses a kind of polygamy and puts module device and method of automatic configuration thereof, shown in the following accompanying drawing 2 of its process flow diagram.After device power, its processor automatically reads the configuration information that stores in configuration information storer and it can be used as initial configuration in this equipment, completes power-up initializing, makes equipment first use this configuration information to enter normal operating conditions; Serve automatic configuration module to carry out actual disposition detection, check with the configuration information read from configuration information storer; When the two conforms to, confirm by the correctness of the configuration information used, equipment normal operating conditions is also confirmed, and equipment continues normal work.But the method is only applicable to plug-in type module device power-on time being had to strict restriction, if when operational outfit fault or replacement, configuration information in storer is asynchronous with current configuration information, needs comparison configuration information and restarting equipment again, increases the complexity of operation.
Summary of the invention
The object of this invention is to provide a kind of distributed intelligence device submodule program method of automatic configuration, to solve the problem of can not arbitrarily expanding of occurring in current submodule application configuration process and complicated operation.
The present invention provides a kind of distributed intelligence device submodule program method of automatic configuration for solving the problems of the technologies described above, and this method of automatic configuration comprises the following steps:
1) configuration module parallel with submodule is set, the program of each submodule and configuration file are stored in this configuration module by its module ED information respectively;
2) when submodule needs configuration information, send configuring request to primary module, primary module extracts in configuration module the configuration information of the corresponding ID submodule stored, and will extract configuration information and send to this submodule, realizes the automatic configuration to submodule.
Described step 2) in primary module need the configuration information during configuration information of the corresponding ID submodule stored in the configuration module of extraction and in this submodule is compared, if both accordant configuration informations, then do not carry out transmit operation, if inconsistent, primary module will extract configuration information and send to this submodule.
Described configuration module comprises detecting unit, storage unit and lock unit, described detecting unit is used for detecting this submodule program and configuration information running status in the memory unit according to the configuration order that receives according to module submodule id information, and the configuration information stored in antithetical phrase module configuration information and storage unit is compared; Described storage unit is used for the program and the configuration information that store each submodule according to submodule id information; Described lock unit is used for the comparison result according to detecting unit, program corresponding in storage unit and configuration information is synchronized in submodule.
Described when submodule powers on for the first time, primary module carries out id information to submodule and adjusts, to obtain the id information of submodule.
It is described when submodule sends configuring request, judge whether submodule ID is activated, during group module I D un-activation, information configuration is carried out by exterior arrangement means, configuration module has storaging mark for each ID, represent in storage unit to there is this ID configuration information after storaging mark set, ID transfers state of activation to.
After described submodule automatic acquisition configuration information, enter running status, submodule, in operational process, can, according to demand to configuration information amendment, need after amendment to carry out synchronously, to keep the real-time of configuration module to the storage unit of configuration module.
When the configuration information of submodule is stored according to submodule ID in the storage unit of configuration module by described configuration module respectively, need verifies configuration information, obtain information checking code, for foundation during information comparison.
Described configuration module is the separate modular being parallel to other modules, is communicated with primary module by multiplex bus with each submodule.
Described configuration module can be fixed on distributed intelligence device, or stores with the form of WEB server, or is stored by supervisory control comuter by network.
Described submodule powers on for the first time and to comprise after the first access module of submodule and fault, power-off access module again.
The invention has the beneficial effects as follows: the program of each submodule and configuration file, by arranging a configuration module parallel with submodule, are stored in this configuration module by its module ED information by the present invention respectively; When submodule needs to carry out application configuration, send configuring request to primary module, primary module extracts the configuration information of the corresponding ID submodule stored in configuration module, and will extract configuration information synchronized transmission to this submodule, realizes the automatic configuration to submodule.The present invention realizes the automatic configuration to each submodule program by configuration module, when module replacing, automatically modular program is recovered, to reach the object that program and configuration file mate with external cabling, and do not need artificial again to carry out procedure match, definite value and other configuration file retouching operations to new access module, and the present invention is simple to operate, easily realize.
Accompanying drawing explanation
Fig. 1 is the process flow diagram that in prior art, veneer configures automatically;
Fig. 2 is the method for automatic configuration process flow diagram that in prior art, a kind of polygamy puts module device;
Fig. 3 is the information interaction schematic diagram of each intermodule of distributed intelligence device of the present invention;
Fig. 4 is the automatic configuration flow figure of program between distributed intelligence device adjacent block of the present invention;
Fig. 5 is module network structural representation in distributed intelligence device of the present invention;
Fig. 6 is the automatic configuration schematic diagram of module in the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further.
The present invention for distributed intelligence device comprise N number of submodule and 1 primary module, as shown in Figure 4, connected successively by input and output port in order between each submodule, primary module is connected with the inbound port of opening of submodule 1 by outputing port, the port of outputing of submodule 1 is connected with the inbound port of opening of submodule 2, by that analogy.The program of each submodule and configuration file, by arranging a configuration module parallel with submodule, are stored in this configuration module by its module ED information by the present invention respectively, configuration module and being communicated to connect by multiplex bus between primary module and each submodule; When submodule needs configuration information, send configuring request to primary module, primary module extracts in configuration module the configuration information of the corresponding ID submodule stored, and will extract configuration information and send to this submodule, realizes the automatic configuration to submodule.As shown in Figure 4, detailed process is as follows for the configuration flow of the method:
1. when submodule powers on for the first time, primary module carries out id information to submodule and adjusts, and obtains its module ED information, and submodule powers on for the first time and to comprise after the first access module of submodule and fault, power-off access module again.
2. a configuration module parallel with submodule is set, the program of each submodule and configuration file is stored in this configuration module respectively by its module ED information, and configuration information is verified, obtain information checking code, for foundation during information comparison.
Configuration module is the separate modular being parallel to other modules, its existing way can be fixed on distributed intelligence device, or store with the form of WEB server, or stored by other modes such as supervisory control comuters by network, the structure of configuration module as shown in Figure 3, comprises detecting unit, storage unit and lock unit.The configuration order that detecting unit is used for according to receiving detects this submodule program and configuration information running status in the memory unit according to module submodule id information, condition monitoring scope comprises primary module, detect that in operation, module is when configuration variation, synchronizing information operation is configured to configuration module storage unit, and the configuration information stored in antithetical phrase module configuration information and storage unit is compared, the detection mode of detecting unit can be that signal triggers or carries out in the mode of poll; Storage unit is used for the program and the configuration information that store each submodule according to submodule id information; Lock unit is used for the comparison result according to detecting unit, program corresponding in storage unit and configuration information is synchronized in submodule.
Configuration module has storaging mark for each submodule ID, represents in storage unit to there is this ID configuration information after storaging mark set, and after configuration module obtains configuration by external means, the initial configuration check code of corresponding ID is OXX01, X is id information; It is 0001 (8421 yards) that module 1 presets ID, and initial configuration check code is OX100, and module running status is OX01, and module failure or off-position are OX00; It is 0010 (8421 yards) that module 2 presets ID, and initial configuration check code is OX200, and module running status is OX01, and module failure or off-position are OX00.
3. when submodule sends configuring request, first whether judge module ID is activated, when module I D un-activation, information configuration can be carried out by exterior arrangement means, configuration module has storaging mark for each ID, represent in storage unit to there is this ID configuration information after storaging mark set, ID transfers state of activation to.When module I D is in state of activation, primary module extracts the program of this submodule and configuration information and the detecting unit be transferred in configuration module, detecting unit contrasts the module information of corresponding ID in the submodule information and storage unit extracted, and the method for contrast can adopt the form of CRC check code to carry out; As comparing result is consistent, do not carry out any operation; If comparing result is inconsistent, lock unit automatically by the program in storage unit and configuration information update in submodule.
4. after submodule automatic acquisition configuration information, enter running status, initialisation identifications set, submodule is in operational process, according to demand to after configuration modification, carry out synchronously to the storage unit of configuration module, can trigger with signal or realize synchronously in the mode of poll, keep the real-time of configuration module.
Be described for the distributed intelligence device of 16 submodules below, as shown in Figure 6, configuration module is connected with primary module and 16 sub-module communications by multiplex bus, and its Neutron module ID is encoded to 0000-1111, can support 16 submodules.Configuration module is used for recovering each submodule program, guarantees that program and configuration file mate with external cabling.It is 0000 (8421 yards) that primary module presets ID, and initial check code is OX000, and module running status is OX01, and module failure or off-position are OX00, after receiving the configuring request that each submodule sends, sends configuration order to configuration module; After configuration module obtains configuration by external means, the configuration check code of initial corresponding ID is OXX01, X is id information.
It is 0001 (8421 yards) that submodule 1 presets ID, initial configuration check code is OX100, module running status is OX01, module failure or off-position are OX00, configuring request is sent to primary module when powering on for the first time, configuration module extraction submodule 1 configures the configuration check code that storage unit ID in check code and configuration module maps, contrast, if inconsistent, namely renewal is configured to submodule 1, the check code simultaneously upgrading submodule 1 is OX101, the running status of module is OX01, when the running status of submodule 1 is OX01, representation module normally runs, be configured in after submitting to according to real needs amendment in operational process, configuration check code OX101+1, triggered interrupts upgrades the configuration in storage unit and check code simultaneously, be as the criterion with the current configuration of storage unit when again changing module 1.
It is 0010 (8421 yards) that submodule 2 presets ID, initial configuration check code is OX200, module running status is OX01, module failure or off-position are OX00, configuring request is sent to primary module when powering on for the first time, configuration module extraction submodule 2 configures the configuration check code that storage unit ID in check code and configuration module maps, contrast, if inconsistent, namely renewal is configured to submodule 2, the check code simultaneously upgrading submodule 2 is OX201, the running status of module is OX01, when the running status of submodule 2 is OX01, representation module normally runs, be configured in after submitting to according to real needs amendment in operational process, configuration check code OX201+1, triggered interrupts upgrades the configuration in storage unit and check code simultaneously, be as the criterion with the current configuration of storage unit when again changing submodule 2.
……
It is 1111 (8421 yards) that submodule 16 presets ID, initial configuration check code is OXF00, module running status is OX01, module failure or off-position are OX00, configuring request is sent to primary module when powering on for the first time, configuration module extraction module 16 configures the configuration check code that in check code and configuration module, storage unit ID maps, carry out contrast inconsistent, namely renewal is configured to submodule 16, the check code simultaneously upgrading submodule 16 is OXF01, the running status of module is OX01, when the running status of submodule 16 is OX01, representation module normally runs, be configured in after submitting to according to real needs amendment in operational process, configuration check code OXF01+1, triggered interrupts upgrades the configuration in storage unit and check code simultaneously, be as the criterion with the current configuration of storage unit when again changing submodule 16.
The present invention can antithetical phrase modular program recover automatically, to reach the object that program and configuration file mate with external cabling, and does not need artificial again to carry out procedure match, definite value and other configuration file retouching operations to new access submodule.

Claims (10)

1. a distributed intelligence device submodule program method of automatic configuration, is characterized in that, this method of automatic configuration comprises the following steps:
1) configuration module parallel with submodule is set, the program of each submodule and configuration file are stored in this configuration module by its module ED information respectively;
2) when submodule needs configuration information, send configuring request to primary module, primary module extracts in configuration module the configuration information of the corresponding ID submodule stored, and will extract configuration information and send to this submodule, realizes the automatic configuration to submodule.
2. distributed intelligence device submodule program method of automatic configuration according to claim 1, it is characterized in that, described step 2) in primary module need the configuration information during configuration information of the corresponding ID submodule stored in the configuration module of extraction and in this submodule is compared, if both accordant configuration informations, then do not carry out transmit operation, if inconsistent, primary module will extract configuration information and send to this submodule.
3. distributed intelligence device submodule program method of automatic configuration according to claim 2, it is characterized in that, described configuration module comprises detecting unit, storage unit and lock unit, described detecting unit is used for detecting this submodule program and configuration information running status in the memory unit according to the configuration order that receives according to module submodule id information, and the configuration information stored in antithetical phrase module configuration information and storage unit is compared; Described storage unit is used for the program and the configuration information that store each submodule according to submodule id information; Described lock unit is used for the comparison result according to detecting unit, program corresponding in storage unit and configuration information is synchronized in submodule.
4. distributed intelligence device submodule program method of automatic configuration according to claim 3, is characterized in that, described when submodule powers on for the first time, primary module carries out id information to submodule and adjusts, to obtain the id information of submodule.
5. distributed intelligence device submodule program method of automatic configuration according to claim 4, it is characterized in that, it is described when submodule sends configuring request, judge whether submodule ID is activated, during group module I D un-activation, carry out information configuration by exterior arrangement means, configuration module has storaging mark for each ID, represent in storage unit to there is this ID configuration information after storaging mark set, ID transfers state of activation to.
6. distributed intelligence device submodule program method of automatic configuration according to claim 3, it is characterized in that, after described submodule automatic acquisition configuration information, enter running status, submodule is in operational process, can, according to demand to configuration information amendment, need after amendment to carry out synchronously, to keep the real-time of configuration module to the storage unit of configuration module.
7. distributed intelligence device submodule program method of automatic configuration according to claim 3, it is characterized in that, when the configuration information of submodule is stored according to submodule ID in the storage unit of configuration module by described configuration module respectively, need verify configuration information, obtain information checking code, for foundation during information comparison.
8. distributed intelligence device submodule program method of automatic configuration according to claim 3, it is characterized in that, described configuration module is the separate modular being parallel to other modules, is communicated with primary module by multiplex bus with each submodule.
9. distributed intelligence device submodule program method of automatic configuration according to claim 8, it is characterized in that, described configuration module can be fixed on distributed intelligence device, or stores with the form of WEB server, or is stored by supervisory control comuter by network.
10. distributed intelligence device submodule program method of automatic configuration according to claim 4, is characterized in that, described submodule powers on for the first time and to comprise after the first access module of submodule and fault, power-off access module again.
CN201510399958.7A 2015-07-09 2015-07-09 Distributed-type intelligent apparatus sub-module program automatic configuration method Pending CN105094899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510399958.7A CN105094899A (en) 2015-07-09 2015-07-09 Distributed-type intelligent apparatus sub-module program automatic configuration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510399958.7A CN105094899A (en) 2015-07-09 2015-07-09 Distributed-type intelligent apparatus sub-module program automatic configuration method

Publications (1)

Publication Number Publication Date
CN105094899A true CN105094899A (en) 2015-11-25

Family

ID=54575411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510399958.7A Pending CN105094899A (en) 2015-07-09 2015-07-09 Distributed-type intelligent apparatus sub-module program automatic configuration method

Country Status (1)

Country Link
CN (1) CN105094899A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339511A (en) * 2016-10-28 2017-01-18 广东电网有限责任公司电力调度控制中心 Automatic synchronization system of power dispatching automation system and method thereof
CN107515838A (en) * 2016-06-15 2017-12-26 易宝股份有限公司 Configuration distribution
CN112486593A (en) * 2020-11-30 2021-03-12 重庆芯讯通无线科技有限公司 Method and system for synchronizing configuration information of master module and slave module

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030014381A1 (en) * 1998-11-11 2003-01-16 John J. Mcmillan Method and system for identifying and resolving software conflicts and computer-readable storage medium having a program for executing the method
CN103220373A (en) * 2012-01-19 2013-07-24 中兴通讯股份有限公司 Interchange method and interchange device and equipment of distributed logical address and physical address
CN103761131A (en) * 2014-01-24 2014-04-30 浙江众合机电股份有限公司 Multi-board-card automatic updating method and system based on internal storage sharing
CN104469503A (en) * 2014-11-20 2015-03-25 青岛海信电器股份有限公司 Initializing method and device of electronic equipment and external equipment of electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030014381A1 (en) * 1998-11-11 2003-01-16 John J. Mcmillan Method and system for identifying and resolving software conflicts and computer-readable storage medium having a program for executing the method
CN103220373A (en) * 2012-01-19 2013-07-24 中兴通讯股份有限公司 Interchange method and interchange device and equipment of distributed logical address and physical address
CN103761131A (en) * 2014-01-24 2014-04-30 浙江众合机电股份有限公司 Multi-board-card automatic updating method and system based on internal storage sharing
CN104469503A (en) * 2014-11-20 2015-03-25 青岛海信电器股份有限公司 Initializing method and device of electronic equipment and external equipment of electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515838A (en) * 2016-06-15 2017-12-26 易宝股份有限公司 Configuration distribution
CN107515838B (en) * 2016-06-15 2021-01-12 易宝股份有限公司 Configuration allocation
CN106339511A (en) * 2016-10-28 2017-01-18 广东电网有限责任公司电力调度控制中心 Automatic synchronization system of power dispatching automation system and method thereof
CN112486593A (en) * 2020-11-30 2021-03-12 重庆芯讯通无线科技有限公司 Method and system for synchronizing configuration information of master module and slave module
CN112486593B (en) * 2020-11-30 2023-06-23 重庆芯讯通无线科技有限公司 Method and system for synchronizing configuration information of master-slave module

Similar Documents

Publication Publication Date Title
CN104281511B (en) Intelligent-platform management interface system, baseboard management controller and implementation method
CN104750506A (en) Intelligent appliance WiFi module software remote automatic upgrade method
CN103905566A (en) Server starting information remote checking and leading-out method
CN103135732B (en) Server cabinet system
CN101192970A (en) Method for automatic synchronization of user device version in Ethernet passive optical network system
CN112867978B (en) System and method for detecting a relationship between a smart power strip and a device connected to the smart power strip
CN101609407A (en) Detection method based on the full station model file coupling of publisher/subscriber's pattern
CN105094899A (en) Distributed-type intelligent apparatus sub-module program automatic configuration method
CN104410554A (en) Method or testing WOL (Wake On Lan) function of server
CN103490929B (en) Manufacturing and implement method for multi-adaptive firmware of server
CN105430096A (en) Automatic installation method and device for parallel file system
CN105094010A (en) Relay protection device plug-and-play management method and system
CN101388792B (en) Single board plug-and-use processing method, device and telecommunication system
CN107995033B (en) ONU configuration file upgrading method and device
CN107147698B (en) Remote control system, method and device of intelligent switch
CN111093125B (en) Method, device and storage medium for realizing trunk optical fiber protection of optical line terminal
CN103853623A (en) Data migration method and device
CN104678337A (en) Automatic detection method for performance indicators of optical digital relay protection testers
CN106896792B (en) Method of data synchronization and device
CN105159745A (en) Method, apparatus and device for upgrading virtual switch frame VSF system
CN105045581A (en) Program automatic configuration method of sub-modules in intelligent power device
CN107529099A (en) A kind of electrical harnesses frame control system based on RFID
CN113946465A (en) Big data fault processing method and related equipment thereof
CN107465477A (en) A kind of multilevel monitor method for synchronizing network time and system
CN104955008A (en) Remote control method for security and protection system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151125

RJ01 Rejection of invention patent application after publication