CN109426507A - A kind of cabinet equipment document distribution method and system - Google Patents
A kind of cabinet equipment document distribution method and system Download PDFInfo
- Publication number
- CN109426507A CN109426507A CN201710741051.3A CN201710741051A CN109426507A CN 109426507 A CN109426507 A CN 109426507A CN 201710741051 A CN201710741051 A CN 201710741051A CN 109426507 A CN109426507 A CN 109426507A
- Authority
- CN
- China
- Prior art keywords
- equipment
- file
- device type
- cabinet
- configuration file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
A kind of cabinet equipment document distribution method and system, wherein this method comprises: Step 1: obtaining the device type of equipment in all slot positions in cabinet;Step 2: extracting configuration file corresponding with each device type respectively from device configuration file set, the configuration file extracted is distributed to each equipment for belonging to corresponding device type based on device type.This method can be by homogenous configurations item data tissue into a file, to effectively reduce quantity of documents.Meanwhile this method is capable of the associated documents of automatic distinguishing discharge device, can also omit the step of artificially going up transmitting file in the prior art in this way, so that preventing file uses chaotic phenomenon.
Description
Technical field
The present invention relates to automatic control technology fields, specifically, being related to a kind of cabinet equipment document distribution method and being
System.
Background technique
With continuous development of the modern industrial control system in terms of networking and intelligence, so that modern industry control system
The number of devices of system is more and more huger, structure composition becomes increasingly complex, function is more and more.Increase to mitigate the complexity of system
Industrial control system application and development bring difficulty is given greatly, and most of modern industrial control systems often use configuration file to setting
Standby operating mode, network parameter and function selection etc. are configured.
Existing this method alleviates the development difficulty of system to a certain extent, but relatively large industry is controlled
For system (such as train control system or large ship control system etc.) processed, since there are this for this kind of industrial control system
The many difficulties such as device category is more, single more and single class device configuration corner of class number of devices is more, therefore existing method is by gesture
It must cause to generate a large amount of configuration file in systems development process, also just increase the maintenance workload of system in this way.Meanwhile it is right
Artificially all configuration files of each equipment must be uploaded in equipment when this kind of system, exploitation, also just increased in this way
Development process is added.In addition, existing method can also to be likely to occur the phenomenon that configuration file uses confusion between same category of device,
The experience that system uses also just is reduced in this way.
Summary of the invention
To solve the above problems, the present invention provides a kind of cabinet equipment document distribution methods, which comprises
Step 1: obtaining the device type of equipment in all slot positions in cabinet;
Step 2: extract configuration file corresponding with each device type respectively from device configuration file set,
The configuration file extracted is distributed to each equipment for belonging to corresponding device type based on device type.
According to one embodiment of present invention, in said step 1, by receive in each slot position transmitted by equipment come
The device type of itself obtain the device type of each equipment.
According to one embodiment of present invention, in the step 2, it extracts and corresponds to from device configuration file set
All configuration item datas of one device type generate the configuration text for corresponding to the device type according to the configuration item data extracted
Part.
According to one embodiment of present invention, in the step 2, same including belonging in the configuration file extracted
The configuration item data of all devices of device type, wherein the configuration file further includes cabinet number and slot position number,
To distinguish the distinct device belonged in same device type.
The present invention also provides a kind of file distributing equipment, which is characterized in that the equipment is using described in any one as above
Method carry out configuration file distribution.
The present invention also provides a kind of cabinet equipment document receiving methods, which comprises
Step 1: obtaining the device type of equipment itself, and the device type of itself is sent to file distributing equipment;
Step 2: receiving the configuration file that the file distributing equipment is sent, and the configuration file is parsed,
It obtains configuring item data required for itself, wherein the configuration file is corresponding with the device type of equipment itself.
According to one embodiment of present invention, in the step 2, the cabinet number and slot of equipment itself are also obtained
Position number, and phase is extracted from received configuration file according to the cabinet number of equipment itself and slot position number
The configuration item data answered.
The present invention also provides a kind of file reception equipment, the equipment uses cabinet equipment file reception as described above
The reception of method progress configuration file.
The present invention also provides a kind of cabinet equipment document distribution systems, which is characterized in that the system comprises: institute as above
The file distributing equipment and file reception equipment as described above stated.
Cabinet equipment document distribution method provided by the present invention and system can arrive homogenous configurations item data tissue
In one file, to effectively reduce quantity of documents.Meanwhile this method and system are capable of the phase of automatic distinguishing discharge device
The step of closing file, capable of also omitting in the prior art artificially upper transmitting file in this way, so that preventing file uses confusion
The phenomenon that.In addition, the development difficulty of system can also be effectively reduced in this method and system, system development is also just improved in this way
Efficiency.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.Objectives and other advantages of the present invention can be by specification, right
Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is required attached drawing in technical description to do simple introduction:
Fig. 1 is the structural schematic diagram of cabinet equipment file automatic distributing system according to an embodiment of the invention;
Fig. 2 is the implementation process schematic diagram of cabinet equipment file automatic distributing method according to an embodiment of the invention.
Specific embodiment
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and examples, how to apply to the present invention whereby
Technological means solves technical problem, and the realization process for reaching technical effect can fully understand and implement.It needs to illustrate
As long as not constituting conflict, each feature in each embodiment and each embodiment in the present invention can be combined with each other,
It is within the scope of the present invention to be formed by technical solution.
Meanwhile in the following description, for illustrative purposes and numerous specific details are set forth, to provide to of the invention real
Apply the thorough understanding of example.It will be apparent, however, to one skilled in the art, that the present invention can not have to tool here
Body details or described ad hoc fashion are implemented.
In addition, step shown in the flowchart of the accompanying drawings can be in the department of computer science of such as a group of computer-executable instructions
It is executed in system, although also, logical order is shown in flow charts, and it in some cases, can be to be different from herein
Sequence execute shown or described step.
For the above problem in the presence of the prior art, the present invention provides a kind of new cabinet equipment file distributing sides
Method and cabinet equipment document distribution system, the system and method can effectively reduce the quantity of system configuration file, and
It can be realized the automatic distributing of configuration file.
Realization in order to clearly illustrate cabinet equipment document distribution method provided by the present invention and system is former
Reason realizes process and advantage, is further described below in conjunction with Fig. 1 and Fig. 2 to the above method and system.Wherein, Fig. 1
The structural schematic diagram of cabinet equipment file automatic distributing system provided by the present embodiment is shown, Fig. 2 shows the present embodiment
The implementation process schematic diagram of provided cabinet equipment file automatic distributing method.
As shown in Figure 1, cabinet equipment document distribution system provided by the present embodiment may include one or more cabinets,
It is wherein provided with multiple equipment slot position in each cabinet, 1 file distributing equipment is deployed in each cabinet.This document point
Hair equipment is arranged in a certain slot position in the cabinet, and other slot positions in cabinet then can be with deployment file receiving device.It is each
Cabinet possesses unique cabinet number in a system, and all devices can get the cabinet of the cabinet in cabinet
Number.Meanwhile each equipment can also get the slot number where itself.
Specifically, for cabinet equipment document distribution system shown in FIG. 1 comprising two cabinet (i.e. 1 Hes of cabinet
Cabinet 2).Wherein, the two cabinets include 8 equipment slot positions, and the slot position 1 in cabinet is respectively used to dispose corresponding file point
Equipment is sent out, other 7 slot positions (i.e. slot position 2 to slot position 8) in cabinet are then used for deployment file receiving device.It may be noted that
It is that in different embodiments of the invention, according to actual needs, the quantity of the file reception equipment in cabinet both can be one
It is a also or to be multiple, meanwhile, the device category for the file reception equipment disposed in each slot position does not limit.
Since the file distributing equipment in the two cabinets carries out the distribution procedure and file reception of device configuration file
The receive process that equipment carries out device configuration file are identical, therefore for the aspect of description, below by taking one of cabinet as an example
To be illustrated to cabinet equipment file automatic distributing method.
As shown in Fig. 2, cabinet equipment (the file reception equipment i.e. in cabinet) is configured with file reception journey in the present embodiment
Sequence and document analysis program, wherein after the file reception program starting of cabinet equipment, can obtain respectively in step s 201
Device type, cabinet number and the slot position number of itself.It is obtaining from after the device type set, each cabinet equipment meeting
The chassis types of itself are sent to file distributing equipment in step S202.
In the present embodiment, file distributing device configuration has file distribution programs, after file distribution programs starting, file distributing
Where equipment can collect it in step S203 in cabinet all devices device type, and according to the device type of each equipment
To extract configuration file corresponding with device type from device configuration file set.Wherein, above equipment configuration file
Configuration item data comprising all devices type in cabinet in set, and the configuration file for corresponding to a certain device type then includes
All configuration item datas of the device type.
For example, file reception equipment of the slot position 2 into slot position 8 can be respectively by the device type of itself for cabinet 1
It is sent to the file distributing equipment positioned at slot position 1.File distributing equipment can setting according to each file reception equipment received
Standby type generates corresponding configuration file.Specifically, file distributing equipment can determine first corresponding to device type 1
Configuration file determines the second configuration file ... corresponding to device type 2.
It should be pointed out that in other embodiments of the invention, file distributing equipment can also be by storing from itself
Device configuration file set in extract all configuration item datas corresponding to a device type, and according to the configuration extracted
Item data generates the configuration file corresponding to the device type.
After generating the configuration file corresponding to each device type, file distributing equipment meeting operating file distributing programs,
To which corresponding configuration file is sent to the file reception equipment of corresponding device type in step S204.For example, file distributing
Equipment can belong in step S204 into cabinet device type 1 each file reception equipment (including be located at slot position 2 and slot position
File reception equipment in 3) the first configuration file is sent, each file reception equipment (packet of device type 2 is belonged into cabinet
Include the file reception equipment positioned at slot position 4 and slot position 5) it is sent to the second configuration file ....
All texts of its corresponding device type are contained in the configuration file as received by each file reception equipment
The configuration item data of part receiving device, therefore in order to extract the configuration corresponding to itself from the configuration file received
Item data, in the present embodiment, each file reception equipment can obtain itself cabinet number and slot position in step S205
Number and being extracted from the configuration file received according to the cabinet number of itself and slot position number is matched accordingly
Set item data.
For example, the file reception equipment being located in slot position 2 can receive the first configuration text corresponding to equipment of itself type
Part, and in the first configuration file other than the configuration item data comprising corresponding to this document receiving device, it can also be set comprising belonging to
The configuration item data of other file reception equipment of standby Class1, the file reception equipment being now placed in slot position 2 can be according to itself
Cabinet number and slot position number extract from the first configuration file received corresponding to cabinet number 1, slot position 2
Relevant configuration item data.
It should be pointed out that in other embodiments of the invention, this method and system can also using it is other rationally
Mode distinguishes different file reception equipment, and the invention is not limited thereto.For example, in one embodiment of the invention, file
Receiving device both can extract the configuration item corresponding to equipment of itself according only to slot number from the configuration file received
Data can use other reasonable datas in addition to cabinet number and/or slot position number also come literary from the configuration received
The configuration item data corresponding to equipment of itself is extracted in part.
As can be seen that cabinet equipment document distribution method provided by the present invention and system can incite somebody to action from foregoing description
Homogenous configurations item data tissue is into a file, to effectively reduce quantity of documents.Meanwhile this method and system can
The associated documents of automatic distinguishing discharge device can also omit the step of artificially going up transmitting file in the prior art in this way, thus
It prevents file and uses chaotic phenomenon.In addition, the development difficulty of system can also be effectively reduced in this method and system, this
Sample also just improves system development efficiency.
It should be understood that disclosed embodiment of this invention is not limited to specific structure disclosed herein or processing step
Suddenly, the equivalent substitute for these features that those of ordinary skill in the related art are understood should be extended to.It should also be understood that
It is that term as used herein is used only for the purpose of describing specific embodiments, and is not intended to limit.
" one embodiment " or " embodiment " mentioned in specification means the special characteristic described in conjunction with the embodiments, structure
Or characteristic is included at least one embodiment of the present invention.Therefore, the phrase " reality that specification various places throughout occurs
Apply example " or " embodiment " the same embodiment might not be referred both to.
Although above-mentioned example is used to illustrate principle of the present invention in one or more application, for the technology of this field
For personnel, without departing from the principles and ideas of the present invention, hence it is evident that can in form, the details of usage and implementation
It is upper that various modifications may be made and does not have to make the creative labor.Therefore, the present invention is defined by the appended claims.
Claims (9)
1. a kind of cabinet equipment document distribution method, which is characterized in that the described method includes:
Step 1: obtaining the device type of equipment in all slot positions in cabinet;
Step 2: extracting configuration file corresponding with each device type respectively from device configuration file set, it is based on
The configuration file extracted is distributed to each equipment for belonging to corresponding device type by device type.
2. the method as described in claim 1, which is characterized in that in said step 1, by receiving equipment in each slot position
It is transmitted come the device type of itself obtain the device type of each equipment.
3. method according to claim 1 or 2, which is characterized in that in the step 2, from device configuration file set
All configuration item datas for corresponding to a device type are extracted, is generated according to the configuration item data extracted and corresponds to the equipment class
The configuration file of type.
4. method according to any one of claims 1 to 3, which is characterized in that in the step 2, the configuration extracted
It include the configuration item data for belonging to all devices of same device type in file, wherein the configuration file further includes cabinet
Number and slot position number, to distinguish the distinct device belonged in same device type.
5. a kind of file distributing equipment, which is characterized in that the equipment uses side as described in any one of claims 1 to 4
The distribution of method progress configuration file.
6. a kind of cabinet equipment document receiving method, which is characterized in that the described method includes:
Step 1: obtaining the device type of equipment itself, and the device type of itself is sent to file distributing equipment;
Step 2: receiving the configuration file that the file distributing equipment is sent, and the configuration file is parsed, is obtained
Item data is configured required for itself, wherein the configuration file is corresponding with the device type of equipment itself.
7. method as claimed in claim 6, which is characterized in that in the step 2, also obtain the cabinet number of equipment itself
Data and slot position number, and according to the cabinet number and slot position number of equipment itself from received configuration file
Extract corresponding configuration item data.
8. a kind of file reception equipment, which is characterized in that the equipment is matched using method according to claim 6 or 7
Set the reception of file.
9. a kind of cabinet equipment document distribution system, which is characterized in that the system comprises:
File distributing equipment as claimed in claim 5;With,
File reception equipment as claimed in claim 8.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710741051.3A CN109426507B (en) | 2017-08-25 | 2017-08-25 | Case equipment file management method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710741051.3A CN109426507B (en) | 2017-08-25 | 2017-08-25 | Case equipment file management method and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109426507A true CN109426507A (en) | 2019-03-05 |
| CN109426507B CN109426507B (en) | 2022-01-21 |
Family
ID=65499465
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710741051.3A Active CN109426507B (en) | 2017-08-25 | 2017-08-25 | Case equipment file management method and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109426507B (en) |
Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1742268A (en) * | 2002-12-20 | 2006-03-01 | 诺基亚公司 | Automated batch configuration of network devices |
| WO2006066446A1 (en) * | 2004-12-21 | 2006-06-29 | Zte Corporation | A method and device for compatible loading of equipments software in distributed control system |
| KR20070082267A (en) * | 2006-02-15 | 2007-08-21 | 삼성전자주식회사 | How to update software on system and its device |
| WO2009001075A1 (en) * | 2007-06-27 | 2008-12-31 | Inspired Gaming (Uk) Limited | Entertainment device |
| CN101345990A (en) * | 2007-07-11 | 2009-01-14 | 华为技术有限公司 | Quality of service QoS configuration file generation method, network element equipment and system |
| CN101938164A (en) * | 2010-09-14 | 2011-01-05 | 深圳市华力特电气股份有限公司 | Power equipment control method, device and related system thereof |
| CN102289208A (en) * | 2011-04-22 | 2011-12-21 | 支怡 | Simulation test system for ARINC (Aeronautical Radio Incorporated) 429 data bus |
| CN103036742A (en) * | 2012-12-19 | 2013-04-10 | 迈普通信技术股份有限公司 | Communication equipment batch testing control method and system thereof |
| CN103914044A (en) * | 2014-03-26 | 2014-07-09 | 北方信息控制集团有限公司 | Intelligent online monitoring protection device |
| CN104219082A (en) * | 2013-12-21 | 2014-12-17 | 河南思维自动化设备股份有限公司 | LKJ equipment data remote-loading method and system |
| CN104657184A (en) * | 2015-03-11 | 2015-05-27 | 成都广达电子股份有限公司 | Upgrading method by corresponding files to multi-embedded equipment |
| CN105045762A (en) * | 2015-07-27 | 2015-11-11 | 新浪网技术(中国)有限公司 | Management method and apparatus for configuration file |
| CN106528207A (en) * | 2016-10-13 | 2017-03-22 | 交控科技股份有限公司 | Program updating method for vehicle-mounted device of train and vehicle-mounted device of train |
-
2017
- 2017-08-25 CN CN201710741051.3A patent/CN109426507B/en active Active
Patent Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1742268A (en) * | 2002-12-20 | 2006-03-01 | 诺基亚公司 | Automated batch configuration of network devices |
| WO2006066446A1 (en) * | 2004-12-21 | 2006-06-29 | Zte Corporation | A method and device for compatible loading of equipments software in distributed control system |
| KR20070082267A (en) * | 2006-02-15 | 2007-08-21 | 삼성전자주식회사 | How to update software on system and its device |
| WO2009001075A1 (en) * | 2007-06-27 | 2008-12-31 | Inspired Gaming (Uk) Limited | Entertainment device |
| CN101345990A (en) * | 2007-07-11 | 2009-01-14 | 华为技术有限公司 | Quality of service QoS configuration file generation method, network element equipment and system |
| CN101938164A (en) * | 2010-09-14 | 2011-01-05 | 深圳市华力特电气股份有限公司 | Power equipment control method, device and related system thereof |
| CN102289208A (en) * | 2011-04-22 | 2011-12-21 | 支怡 | Simulation test system for ARINC (Aeronautical Radio Incorporated) 429 data bus |
| CN103036742A (en) * | 2012-12-19 | 2013-04-10 | 迈普通信技术股份有限公司 | Communication equipment batch testing control method and system thereof |
| CN104219082A (en) * | 2013-12-21 | 2014-12-17 | 河南思维自动化设备股份有限公司 | LKJ equipment data remote-loading method and system |
| CN103914044A (en) * | 2014-03-26 | 2014-07-09 | 北方信息控制集团有限公司 | Intelligent online monitoring protection device |
| CN104657184A (en) * | 2015-03-11 | 2015-05-27 | 成都广达电子股份有限公司 | Upgrading method by corresponding files to multi-embedded equipment |
| CN105045762A (en) * | 2015-07-27 | 2015-11-11 | 新浪网技术(中国)有限公司 | Management method and apparatus for configuration file |
| CN106528207A (en) * | 2016-10-13 | 2017-03-22 | 交控科技股份有限公司 | Program updating method for vehicle-mounted device of train and vehicle-mounted device of train |
Non-Patent Citations (2)
| Title |
|---|
| WERN-HO SHEEN等: "Burst Synchronization of Slotted Random Access With Preamble Power Ramping in the Reverse Link of CDMA Systems", 《 IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS》 * |
| 刘剑等: "一种基于Nand Flash 多版本程序的FPGA 智能加载方法", 《雷达与对抗》 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109426507B (en) | 2022-01-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106528289B (en) | Resource operation processing method and device | |
| CN105991731A (en) | Method for obtaining information, intelligent terminal and server side | |
| CN105471635B (en) | A kind of processing method of system log, device and system | |
| CN103905482B (en) | Method, push server and the system of pushed information | |
| CN110502173A (en) | A kind of interface content processing method, device and computer readable storage medium | |
| CN109426507A (en) | A kind of cabinet equipment document distribution method and system | |
| CN109683891A (en) | Wisdom security information management system user interface configuration method, device and server | |
| CN109697281A (en) | The online method, apparatus and electronic equipment for merging document | |
| CN109829821A (en) | A kind of abnormal processing method of digital asset address transfer, apparatus and system | |
| CN105187490B (en) | A kind of transfer processing method of internet of things data | |
| CN107733785A (en) | A kind of multiple terminals chat message synchronization removal method and device | |
| CN114217875B (en) | Method, device, equipment and storage medium for processing order | |
| EP4319355A3 (en) | Method and apparatus for signal configuration in a wireless communication system | |
| CN105069064B (en) | Acquisition methods and device, the method for pushing and device of vocabulary | |
| CN102685155A (en) | Content delivery method, content delivery server and content delivery proxy server | |
| CN105554732B (en) | The synchronous method and terminal and smart card of WLAN data | |
| CN105939242B (en) | Realize the method and device of virtual system | |
| CN110324370A (en) | Method and apparatus of the server-side to client push data | |
| CN106528259B (en) | Data sending, receiving method and its device | |
| CN105577826A (en) | Distributed cluster processing system of network applications based on Chinese and processing method thereof | |
| Wang et al. | Green communications based on physical-layer security for amplify-and-forward relay networks | |
| Avgouleas | IoT Networking Resource Allocation and Cooperation | |
| CN204377150U (en) | Based on the information processor of mobile communication | |
| Melodia | NeTS: Small: Beyond Separate-Then-Centralize: A Cellular Operating System to Optimize Software-Defined 5G Wireless Networks | |
| Samanna Vijayaraghavan | Growth And Interdependence Of Complex Networks |
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 |