CN109426507B - Case equipment file management method and system - Google Patents

Case equipment file management method and system Download PDF

Info

Publication number
CN109426507B
CN109426507B CN201710741051.3A CN201710741051A CN109426507B CN 109426507 B CN109426507 B CN 109426507B CN 201710741051 A CN201710741051 A CN 201710741051A CN 109426507 B CN109426507 B CN 109426507B
Authority
CN
China
Prior art keywords
equipment
file
configuration
type
files
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
CN201710741051.3A
Other languages
Chinese (zh)
Other versions
CN109426507A (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.)
CRRC Zhuzhou Institute Co Ltd
Original Assignee
CRRC Zhuzhou Institute 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 CRRC Zhuzhou Institute Co Ltd filed Critical CRRC Zhuzhou Institute Co Ltd
Priority to CN201710741051.3A priority Critical patent/CN109426507B/en
Publication of CN109426507A publication Critical patent/CN109426507A/en
Application granted granted Critical
Publication of CN109426507B publication Critical patent/CN109426507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

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 chassis device file distribution method and system are provided, wherein the method comprises the following steps: step one, acquiring the equipment types of equipment on all slot positions in a case; and step two, respectively extracting the configuration files corresponding to the equipment types from the equipment configuration file set, and distributing the extracted configuration files to the equipment belonging to the corresponding equipment types based on the equipment types. The method can organize the data of the same type of configuration items into one file, thereby effectively reducing the number of the files. Meanwhile, the method can automatically distinguish the relevant files of the distribution equipment, so that the step of manually uploading the files in the prior art can be omitted, and the phenomenon of disordered file use is prevented.

Description

Case equipment file management method and system
Technical Field
The invention relates to the technical field of automatic control, in particular to a method and a system for managing files of equipment of a case.
Background
With the continuous development of modern industrial control systems in networking and intellectualization, the number of devices of the modern industrial control systems is larger and larger, the structural composition is more and more complex, and the functions are more and more. In order to reduce the difficulty brought to the application and development of the industrial control system by the increase of the complexity of the system, most modern industrial control systems usually adopt configuration files to configure the aspects of the working mode, the network parameters, the function selection and the like of the equipment.
The existing method reduces the difficulty of system development to a certain extent, but for a relatively large-scale industrial control system (such as a train control system or a large ship control system), because the industrial control system has a plurality of difficulties such as a plurality of types of equipment, a plurality of single-type equipment, a plurality of configuration items of the single-type equipment and the like, the existing method will inevitably generate a large number of configuration files in the system development process, and thus the maintenance workload of the system is increased. Meanwhile, for such systems, all configuration files of each device must be manually uploaded to the device during development, which increases the development process. In addition, the existing method can cause the phenomenon of disordered use of the configuration files among the same type of equipment, thereby reducing the experience of using the system.
Disclosure of Invention
In order to solve the above problems, the present invention provides a chassis device file management method, including:
step one, acquiring the equipment types of equipment on all slot positions in a case;
step two, extracting configuration files corresponding to the equipment types from the equipment configuration file set respectively, and distributing the extracted configuration files to the equipment belonging to the corresponding equipment types based on the equipment types, wherein in the step two, all configuration item data corresponding to one equipment type are extracted from the equipment configuration file set, and the configuration files corresponding to the equipment types are generated according to the extracted configuration item data, and the extracted configuration files comprise the configuration item data of all the equipment belonging to the same equipment type, wherein the configuration files also comprise chassis number data and slot number data so as to distinguish different equipment belonging to the same equipment type;
step three, acquiring the equipment type of the equipment, and sending the equipment type of the equipment to file distribution equipment;
and step four, receiving the configuration file sent by the file distribution equipment, analyzing the configuration file to obtain configuration item data required by the equipment, wherein the configuration file corresponds to the equipment type of the equipment.
According to an embodiment of the present invention, in the first step, the device type of each device is obtained by receiving its own device type transmitted by the device at each slot.
According to an embodiment of the present invention, in the fourth step, the case number data and the slot number data of the device itself are further obtained, and the corresponding configuration item data is extracted from the received configuration file according to the case number data and the slot number data of the device itself.
The invention also provides a chassis device file management system, which is characterized by comprising the following components: a file distribution device that performs distribution of the configuration file according to steps one and two of the methods described above; a file receiving device which performs the reception of the configuration file according to step three and step four in the method as described above.
The chassis equipment file management method and the chassis equipment file management system can organize the data of the same type of configuration items into one file, thereby effectively reducing the number of the files. Meanwhile, the method and the system can automatically distinguish the relevant files of the distribution equipment, so that the step of manually uploading the files in the prior art can be omitted, and the phenomenon of disordered file use is prevented. In addition, the method and the system can also effectively reduce the development difficulty of the system, thereby improving the system development efficiency.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required in the description of the embodiments or the prior art:
FIG. 1 is a block diagram of a file management system of a chassis device according to an embodiment of the invention;
fig. 2 is a schematic flow chart of an implementation of a chassis device file management method according to an embodiment of the present invention.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented. It should be noted that, as long as there is no conflict, the embodiments and the features of the embodiments of the present invention may be combined with each other, and the technical solutions formed are within the scope of the present invention.
In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some of these specific details or with other methods described herein.
Additionally, the steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions and, although a logical order is illustrated in the flow charts, in some cases, the steps illustrated or described may be performed in an order different than here.
In view of the above problems in the prior art, the present invention provides a new chassis device file management method and a chassis device file management system, which can effectively reduce the number of system configuration files and can realize automatic distribution of the configuration files.
In order to more clearly illustrate the implementation principle, implementation process and advantages of the enclosure device file distribution method and system provided by the present invention, the method and system are further described below with reference to fig. 1 and fig. 2. Fig. 1 shows a schematic structural diagram of a chassis device file management system provided in this embodiment, and fig. 2 shows a schematic implementation flow diagram of a chassis device file management method provided in this embodiment.
As shown in fig. 1, the enclosure device file management system provided in this embodiment may include one or more enclosures, where each enclosure is provided with a plurality of device slots, and each enclosure is disposed with 1 file distribution device. The file distribution device is arranged in a certain slot position in the case, and other slot positions in the case can be used for deploying the file receiving device. Each case has a unique case number in the system, and all devices in the case can acquire the case number of the case. Meanwhile, each device can also acquire the slot number of the device.
Specifically, for the enclosure device file management system shown in fig. 1, it includes two enclosures (i.e., enclosure 1 and enclosure 2). The two cases respectively comprise 8 equipment slot positions, the slot position 1 in each case is used for deploying corresponding file distribution equipment, and the other 7 slot positions (namely slot positions 2 to 8) in each case are used for deploying file receiving equipment. It should be noted that, in different embodiments of the present invention, the number of the file receiving devices in the chassis may be one or multiple according to actual needs, and meanwhile, the types of the file receiving devices disposed in the slots are not limited.
Since the process of distributing the device profile by the file distribution device and the process of receiving the device profile by the file receiving device in the two enclosures are the same, for the sake of description, the enclosure device file management method will be described below by taking one enclosure as an example.
As shown in fig. 2, in this embodiment, the chassis device (i.e., the file receiving device in the chassis) is configured with a file receiving program and a file parsing program, wherein after the file receiving program of the chassis device is started, the file receiving program respectively obtains the device type, the chassis number data, and the slot number data of the chassis device in step S201. After obtaining the self-configured device type, each chassis device will send its own chassis type to the file distribution device in step S202.
In this embodiment, the file distribution device is configured with a file distribution program, and after the file distribution program is started, the file distribution device collects the device types of all devices in the enclosure where the file distribution device is located in step S203, and extracts a configuration file corresponding to the device type from the device configuration file set according to the device type of each device. The device configuration file set includes configuration item data of all device types in the chassis, and the configuration file corresponding to a certain device type includes all configuration item data of the device type.
For example, for the chassis 1, the file receiving devices in the slots 2 to 8 respectively transmit their own device types to the file distributing device located in the slot 1. The file distribution device generates a corresponding configuration file according to the received device type of each file receiving device. Specifically, the file distribution device may determine a first profile corresponding to device type 1 and a second profile corresponding to device type 2, ….
It should be noted that, in other embodiments of the present invention, the file distribution device may also generate the configuration file corresponding to a device type by extracting all configuration item data corresponding to the device type from the device configuration file set stored in the file distribution device, and according to the extracted configuration item data.
After generating the configuration files corresponding to the respective device types, the file distribution device runs the file distribution program, so that the corresponding configuration files are transmitted to the file receiving devices of the corresponding device types in step S204. For example, the file distribution device may send a first configuration file to each file receiving device belonging to device type 1 in the chassis (including file receiving devices located in slot 2 and slot 3) and send a second configuration file to each file receiving device belonging to device type 2 in the chassis (including file receiving devices located in slot 4 and slot 5) in step S204, ….
Since the configuration file received by each file receiving device includes the configuration item data of all the file receiving devices of the device types to which the file receiving device belongs, in order to extract the configuration item data corresponding to itself from the received configuration file, in this embodiment, each file receiving device acquires its own chassis number data and slot number data in step S205 and extracts corresponding configuration item data from the received configuration file according to its own chassis number data and slot number data.
For example, the file receiving device located in slot 2 may receive a first configuration file corresponding to its own device type, and the first configuration file may further include configuration item data of other file receiving devices belonging to device type 1 in addition to the configuration item data corresponding to the file receiving device, and at this time, the file receiving device located in slot 2 may extract relevant configuration item data corresponding to case number 1 and slot 2 from the received first configuration file according to its own case number data and slot number data.
It should be noted that in other embodiments of the present invention, the method and system may also distinguish different file receiving devices in other reasonable ways, and the present invention is not limited thereto. For example, in an embodiment of the present invention, the file receiving device may extract the configuration item data corresponding to the self device from the received configuration file only according to the slot number, or may extract the configuration item data corresponding to the self device from the received configuration file by using other reasonable data besides the case number data and/or the slot number data.
It can be seen from the above description that the method and system for managing files of chassis devices provided by the present invention can organize the data of the same type of configuration items into one file, thereby effectively reducing the number of files. Meanwhile, the method and the system can automatically distinguish the relevant files of the distribution equipment, so that the step of manually uploading the files in the prior art can be omitted, and the phenomenon of disordered file use is prevented. In addition, the method and the system can also effectively reduce the development difficulty of the system, thereby improving the system development efficiency.
It is to be understood that the disclosed embodiments of the invention are not limited to the particular structures or process steps disclosed herein, but extend to equivalents thereof as would be understood by those skilled in the relevant art. It is also to be understood that the terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting.
Reference in the specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. Thus, the appearances of the phrase "one embodiment" or "an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment.
While the above examples are illustrative of the principles of the present invention in one or more applications, it will be apparent to those of ordinary skill in the art that various changes in form, usage and details of implementation can be made without departing from the principles and concepts of the invention. Accordingly, the invention is defined by the appended claims.

Claims (4)

1. A chassis device file management method, the method comprising:
step one, acquiring the equipment types of equipment on all slot positions in a case;
step two, extracting configuration files corresponding to the equipment types from the equipment configuration file set respectively, and distributing the extracted configuration files to the equipment belonging to the corresponding equipment types based on the equipment types, wherein in the step two, all configuration item data corresponding to one equipment type are extracted from the equipment configuration file set, and the configuration files corresponding to the equipment types are generated according to the extracted configuration item data, and the extracted configuration files comprise the configuration item data of all the equipment belonging to the same equipment type, wherein the configuration files also comprise chassis number data and slot number data so as to distinguish different equipment belonging to the same equipment type;
step three, acquiring the equipment type of the equipment, and sending the equipment type of the equipment to file distribution equipment;
and step four, receiving the configuration file sent by the file distribution equipment, analyzing the configuration file to obtain configuration item data required by the equipment, wherein the configuration file corresponds to the equipment type of the equipment.
2. The method of claim 1, wherein in step one, the device type of each device is obtained by receiving its own device type transmitted by the device at each slot.
3. The method of claim 1, wherein in the fourth step, the own box number data and slot number data of the device are further obtained, and the corresponding configuration item data is extracted from the received configuration file according to the own box number data and slot number data of the device.
4. A chassis device file management system, the system comprising:
a file distribution device that performs distribution of a configuration file according to the first step and the second step in the method according to any one of claims 1 to 3;
a file receiving device for receiving a configuration file according to steps three and four of the method according to any one of claims 1 to 3.
CN201710741051.3A 2017-08-25 2017-08-25 Case equipment file management method and system Active CN109426507B (en)

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 CN109426507A (en) 2019-03-05
CN109426507B true 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 (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1742268A (en) * 2002-12-20 2006-03-01 诺基亚公司 Automated bulk 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
WO2009001075A1 (en) * 2007-06-27 2008-12-31 Inspired Gaming (Uk) Limited Entertainment device
CN101938164A (en) * 2010-09-14 2011-01-05 深圳市华力特电气股份有限公司 Power equipment control method, device and related system thereof
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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070082267A (en) * 2006-02-15 2007-08-21 삼성전자주식회사 Apparatus and method of software update in system
CN101345990B (en) * 2007-07-11 2011-12-28 华为技术有限公司 Service quality QoS configuration file generation method, network element equipment and system
CN102289208A (en) * 2011-04-22 2011-12-21 支怡 Simulation test system for ARINC (Aeronautical Radio Incorporated) 429 data bus
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1742268A (en) * 2002-12-20 2006-03-01 诺基亚公司 Automated bulk 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
WO2009001075A1 (en) * 2007-06-27 2008-12-31 Inspired Gaming (Uk) Limited Entertainment device
CN101938164A (en) * 2010-09-14 2011-01-05 深圳市华力特电气股份有限公司 Power equipment control method, device and related system thereof
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

Also Published As

Publication number Publication date
CN109426507A (en) 2019-03-05

Similar Documents

Publication Publication Date Title
CN102291259B (en) Low-voltage power line communication network layer management method based on multi-master station mode
CN109687986B (en) Redis operation and maintenance method and system based on private cloud platform
CN101997714A (en) Time processing method, device and system
CN105227212A (en) Reverse power supply management method, Apparatus and system
CN104539689A (en) Resource monitoring method under cloud platform
CN104243198B (en) A kind of network management and system based on network configuration protocol
CN104133674A (en) Heterogeneous system and model synchronization method of heterogeneous system
CN204316546U (en) A kind of middle-size and small-size cloud stores data synchronous system
CN109217986A (en) A kind of data transmission method and system based on Internet of Things
CN103475870A (en) Distributed extendable intelligent video surveillance system
CN109426507B (en) Case equipment file management method and system
CN103986613A (en) Remote KVM (kernel-based virtual machine) management method based on network
CN207939552U (en) A kind of device data acquisition and control system of real-time multi-user
CN105930295B (en) A kind of method and device of secondary equipment of intelligent converting station plug and play
CN104065735A (en) Scheduling information data storage sharing method
CN104794582A (en) Power information acquiring and managing system based on wireless private power network
CN104468729A (en) Dynamic-IP-based remotely-monitored CD-R machine control upgrading method
CN104618329B (en) Data processing method and device
CN115208058A (en) Plug and play method and system for distributed power distribution terminal
CN105704173A (en) Cluster system data distribution method and server
CN106230980A (en) A kind of address configuration method, Apparatus and system
CN102904964A (en) Mass concentrator concurrent processing method based on completion port model
WO2016062050A1 (en) Method, device and system for micro-module management
CN102882799B (en) The controllable clustered deploy(ment) configuration System and method for of flow
CN105740180A (en) Virtual machine access method and apparatus for USB device

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