CN106571957B - MVB dynamic configuration method and device - Google Patents

MVB dynamic configuration method and device Download PDF

Info

Publication number
CN106571957B
CN106571957B CN201610944961.7A CN201610944961A CN106571957B CN 106571957 B CN106571957 B CN 106571957B CN 201610944961 A CN201610944961 A CN 201610944961A CN 106571957 B CN106571957 B CN 106571957B
Authority
CN
China
Prior art keywords
configuration
mvb
level cache
configuration information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610944961.7A
Other languages
Chinese (zh)
Other versions
CN106571957A (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 CN201610944961.7A priority Critical patent/CN106571957B/en
Publication of CN106571957A publication Critical patent/CN106571957A/en
Application granted granted Critical
Publication of CN106571957B publication Critical patent/CN106571957B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process

Abstract

The invention discloses a method and a device for dynamically configuring MVB, wherein the method comprises the following steps: 1) forming a network profile based on the network data; 2) acquiring a network configuration file, and storing each configuration information in a first-level cache in a classified manner; 3) acquiring various types of configuration information from the first-level cache, and respectively storing the configuration information into the second-level cache according to the sequence of the configuration information required by the MVB protocol; 4) sequentially acquiring all configuration information from the second-level cache to perform MVB configuration; when the configuration information needs to be modified, acquiring the corresponding configuration information from the first-level cache for modification, and returning to execute the step 3) to reconfigure the MVB until the configuration is quitted; the device comprises a network configuration file forming module, a first-level cache configuration module, a second-level cache configuration module and a dynamic configuration module. The invention has the advantages of simple realization method, high configuration efficiency and reliability, convenient maintenance and expansion, no need of restarting the MVB protocol during reconfiguration and the like.

Description

MVB dynamic configuration method and device
Technical Field
The invention relates to the technical field of rail transit, in particular to a method and a device for dynamically configuring a multi function Vehicle Bus (MVB).
Background
The quick and correct configuration of MVB communication is a key factor for improving the universality of MVB and reducing the development cost, and the configuration of MVB protocol mainly means that the configuration of MVB components is stored in a memory in a certain format, and configuration parameters are read out to configure the MVB protocol when a program is started. Currently, there are two main ways for configuring MVBs:
the first is the way the configuration file is directly configured. That is, the configuration parameters of the MVB are stored in a readable and writable file, and when the MVB is started, the configuration of the MVBC (multi function Vehicle Bus Controller) is completed according to the stored configuration parameters. However, the MVB components configured in this way have specificity due to the pertinence of the MVB parameters of the configuration file, can only be used in a specific position and cannot be moved, and if the configuration item changes, the MVB communication needs to be interrupted for configuration, so that the flexibility is lacked;
the equipment for configuring the MVB in the mode usually needs additional other components to store MVB configuration items, the components for storing the MVB configuration items transmit analyzed MVB configuration parameters to the MVB components in a certain mode (such as backboard communication and Ethernet communication), the MVB components store the configuration items in a cache mode and configure the MVB according to the stored configuration items, the communication protocol configuration mode is used as shown in FIG. 1, the specific process comprises the following three steps of ① receiving configuration instructions and configuration parameters through the Ethernet or the backboard, ② analyzing the configuration instructions and configuring an MVBC chip according to the analysis result, judging whether the MVB device is completed or not, if so, executing a step ③, otherwise, returning to execute a step ①, and ③ starting the MVB communication protocol.
As described above, the MVB component in the communication protocol configuration mode is configured by using other components, and thus has replaceability, but the configuration mode has the following problems:
(1) because a special transmission protocol needs to be realized, namely the configuration protocol needs to be realized by configuration and MVB realization components, more devices and conditions need to be relied on and the requirements are higher, the use difficulty of the MVB is increased, and the portability and the expansibility are poorer;
(2) the MVB configuration needs to depend on a configuration instruction, if the MVB part is down or a transmission part has a problem in the operation process, the whole configuration system cannot normally operate, and therefore the configuration reliability is not high;
(3) when the components storing the MVB configuration items need to be restarted at the time of configuration change, the MVB will also stop communication until the startup is completed, thus requiring a longer time to stop using the MVB during reconfiguration.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: aiming at the technical problems in the prior art, the invention provides a MVB dynamic configuration method and a device, which have the advantages of simple implementation method, high configuration efficiency and reliability, convenience in maintenance and expansion and no need of restarting an MVB protocol during reconfiguration.
In order to solve the technical problems, the technical scheme provided by the invention is as follows:
a MVB dynamic configuration method comprises the following steps:
1) network profile formation: forming configuration information required by an MVB protocol into a network configuration file based on network data;
2) first-level cache configuration: acquiring the network configuration file formed in the step 1) through network transmission, storing all configuration information in the network configuration file into a preset first-level cache in a classified manner, and switching to execute the step 3);
3) and (3) second-level cache configuration: acquiring various types of configuration information from the first-level cache, respectively storing the configuration information into a preset second-level cache according to the sequence of the configuration information required by the MVB protocol, and executing the step 4);
4) dynamic configuration: sequentially acquiring all configuration information from the second-level cache to perform MVB configuration; when the configuration information needs to be modified, modifying the corresponding configuration information in the first-level cache, and returning to execute the step 3) to reconfigure the MVB until the configuration is quitted.
As a further improvement of the method of the present invention, the specific steps of step 3) are:
3.1) respectively acquiring information required to be configured by an MVBC chip and an MVB control program from various types of configuration information acquired from the first-level cache, and constructing to acquire MVBC chip configuration information and MVB control program configuration information;
and 3.2) storing the MVBC chip configuration information and the MVB control program configuration information to a first storage position and a second storage position in the second-level cache according to the sequence of the required configuration.
As a further improvement of the process of the invention: in the step 2), storing each configuration information in the configuration file in a classified manner specifically according to equipment information, protocol setting information and port information; specifically, in the step 3.1), the MVBC chip configuration information is obtained by constructing the port information, the device information, and the protocol setting information, and the MVB control program configuration information is obtained by constructing the device information and the protocol setting information.
As a further improvement of the method of the present invention, the specific steps of performing MVB configuration in step 4) are: and sequentially acquiring the MVBC chip configuration information from a first storage position in the second-level cache to configure an MVB chip, and sequentially acquiring the MVB control program configuration information from a second storage position to configure an MVB control program.
As a further improvement of the process of the invention: specifically forming the configuration information required by the MVB into an XML network configuration file based on XML network data in the step 1), so as to transmit the configuration file through the XML network.
As a further improvement of the method of the present invention, before the step 1), a local configuration step is further included, and the specific steps are as follows: the method comprises the steps of forming a local configuration file by configuration information required by an MVB protocol in advance, obtaining the local configuration file before network communication faults or the network configuration file is completed, storing all configuration information in the local configuration file into the first-level cache in a classified mode, executing the step 3) until network communication is recovered or the network configuration file is completed, and executing the step 2).
As a further improvement of the process of the invention: when the configuration information needs to be modified in the step 4), the configuration information corresponding to the first-level cache is modified through a configuration interface connected with the first-level cache.
A MVB dynamic configuration device, comprising:
the network configuration file forming module is used for forming the configuration information required by the MVB protocol into a network configuration file based on network data;
the first-level cache configuration module is used for acquiring the network configuration file formed in the network configuration file forming module through network transmission, storing all configuration information in the network configuration file into a preset first-level cache in a classified manner, and switching to the second-level cache configuration module;
the second-level cache configuration module is used for acquiring various types of configuration information from the first-level cache, respectively storing the configuration information into a preset second-level cache according to the sequence of the configuration information required by the MVB protocol, and switching to the execution dynamic configuration module;
the dynamic configuration module is used for sequentially acquiring all configuration information from the second-level cache to perform MVB configuration; and when the configuration information needs to be modified, acquiring the corresponding configuration information from the first-level cache for modification, and returning to execute the second-level cache configuration module to reconfigure the MVB until the configuration is quitted.
As a further improvement of the device of the invention: the system also comprises a local configuration module, wherein the local configuration module forms a local configuration file with configuration information required by an MVB protocol in advance, acquires the local configuration file before network communication faults or the network configuration file is completed, stores all configuration information in the local configuration file into the first-level cache in a classified manner, switches to execute the second-level cache configuration module until network communication is recovered or the network configuration file is completed, and switches to execute the first-level cache configuration module.
As a further improvement of the device of the invention: the first-level cache configuration module is also provided with a configuration interface, the configuration interface is connected with the first-level cache, and the configuration interface modifies the corresponding configuration information in the first-level cache.
Compared with the prior art, the invention has the advantages that:
1) the invention adopts a network configuration mode, has strong flexibility, combines and uses a two-level cache mechanism to configure the MVB, stores all configuration information in a network configuration file in a classified manner by a first-level cache, and stores all configuration information according to the sequence of required configuration information by a second-level cache, does not need to restart an MVB protocol, only needs to modify the corresponding configuration information in the first-level cache and then obtains the configuration again to complete the reconfiguration of the MVB, can realize rapid MVB dynamic configuration, and can conveniently maintain and expand based on the two-level cache mechanism;
2) according to the invention, the configuration information in the configuration file is classified and stored, when the configuration information needs to be dynamically modified, only the corresponding storage content needs to be changed, and then the subsequent configuration process is executed, so that the rapid reconfiguration can be realized; meanwhile, when the configuration information needs to be acquired, the corresponding cache items can be directly read without reading from the MVBC chip or the configuration file, so that the operation on the MVBC chip and the file system is reduced, and the stability of the system is improved;
3) the invention further records each configuration information required by the MVB by adopting a cross-platform XML text format, can record and store the current MVB configuration, is convenient for realizing the transmission of configuration files among different platforms and systems, can manage the MVB configuration content by other components, and improves the flexibility of the system; meanwhile, all configuration items in the system can be integrated in one configuration file based on the XML, so that the required configuration files are reduced, the system maintenance is convenient, and compared with a special communication protocol MVB, the configuration file based on the XML is simpler and more visual, and the configuration file is easy to read and modify and the like; in addition, by combining XML network transmission and a two-level cache mechanism, the MVB protocol operation component can operate in all modules which realize XML configuration, so that the workload of field maintenance can be effectively reduced;
4) the invention further realizes a dual configuration mode by combining network configuration and local configuration, can be compatible with the traditional local configuration mode, and can read configuration information from a local file to start configuration before network failure can not be used or network configuration is completed, thereby greatly increasing the reliability of the system and reducing the time of network configuration.
Drawings
Fig. 1 is a schematic flow chart of an implementation manner using a communication protocol configuration manner in the prior art.
Fig. 2 is a schematic flow chart of an implementation of the MVB dynamic configuration method according to this embodiment.
Fig. 3 is a schematic diagram of implementing dynamic MVB configuration in this embodiment.
Fig. 4 is a schematic diagram illustrating a schematic diagram of an MVBC chip configuration implemented by the present embodiment.
Fig. 5 is a schematic structural diagram of the MVB dynamic configuration apparatus according to this embodiment.
Detailed Description
The invention is further described below with reference to the drawings and specific preferred embodiments of the description, without thereby limiting the scope of protection of the invention.
As shown in fig. 2 to 4, the MVB dynamic configuration method of the present embodiment includes the steps of:
1) network profile formation: forming configuration information required by an MVB protocol into a network configuration file based on network data;
2) first-level cache configuration: acquiring the network configuration file formed in the step 1) through network transmission, storing each configuration information in the network configuration file into a preset first-level cache in a classified manner, and executing the step 3);
3) and (3) second-level cache configuration: acquiring various types of configuration information from the first-level cache, respectively storing the configuration information into a preset second-level cache according to the sequence of the configuration information required by the MVB protocol, and executing the step 4);
4) dynamic configuration: sequentially acquiring all configuration information from the second-level cache to perform MVB configuration; when the configuration information needs to be modified, modifying the corresponding configuration information in the first-level cache, and returning to execute the step 3) to reconfigure the MVB until the configuration is quitted.
The embodiment adopts a network configuration mode, has strong flexibility, and simultaneously combines a two-level cache mechanism to perform MVB configuration, the first-level cache performs classified storage on each configuration information in a network configuration file, and the second-level cache stores various configuration information according to the sequence of required configuration information, so that when the MVB is required to be configured, each configuration information can be sequentially obtained from the second-level cache directly, the MVB configuration efficiency is high, when the configuration is changed, an MVB protocol does not need to be restarted, the MVB reconfiguration can be completed only by re-obtaining the configuration after the corresponding configuration information in the first-level cache is modified, the dynamic MVB configuration can be efficiently realized, and the maintenance and the expansion can be conveniently performed based on the two-level cache mechanism.
In this embodiment, in step 1), the configuration information required by the MVB is specifically formed into an XML network configuration file based on XML network data, so as to transmit the configuration file through the XML network. By adopting the cross-platform XML text format to record all the configuration information required by the MVB, the current MVB configuration can be recorded and stored, the transmission of configuration files among different platforms and systems is convenient, the MVB configuration content can be managed by other components, and the flexibility of the system is improved; meanwhile, all configuration items in the system can be integrated in one configuration file based on the XML, so that the required configuration files are reduced, the system maintenance is convenient, and compared with a special communication protocol MVB, the configuration file based on the XML is simpler and more visual, and the operation such as reading and modifying the configuration file is easy; in addition, by combining XML network transmission and a two-level cache mechanism, the MVB protocol operation component can operate in all modules which realize XML configuration, so that the workload of field maintenance can be effectively reduced.
The configuration information required by the MVB includes system setting information, device information, protocol setting information, port information, and the like, where the device information, the protocol setting information, and the port information are the configuration information required by the MVB, and in this embodiment, after the network configuration file formed in step 1) is acquired through network transmission, each configuration information in the configuration file is specifically stored in a classified manner according to the device information, the protocol setting information, and the port information, that is, the device information, the protocol setting information, and the port information are stored in the designated positions of the first-level cache respectively. By classifying and storing the configuration information in the configuration file, when the configuration information needs to be dynamically modified, only the corresponding storage content needs to be changed, and then the subsequent configuration process is executed, so that the rapid reconfiguration can be realized; meanwhile, when the configuration information needs to be acquired, the corresponding cache items can be directly read without reading from the MVBC chip or the configuration file, so that the operation on the MVBC chip and the file system is reduced, and the stability of the system is improved.
In this embodiment, the specific steps of step 3) are as follows:
3.1) respectively acquiring information required to be configured by the MVBC chip and the MVB control program from various configuration information acquired from the first-level cache, and constructing to acquire the configuration information of the MVBC chip and the configuration information of the MVB control program;
and 3.2) storing the MVBC chip configuration information and the MVB control program configuration information to a first storage position and a second storage position in the second-level cache according to the sequence of the required configuration.
In this embodiment, in step 3.1), the MVBC chip configuration information is specifically constructed from the port information, the device information, and the protocol setting information, and the MVB control program configuration information is specifically constructed from the device information and the protocol setting information.
As shown in fig. 3 and 4, in this embodiment, first, each configuration item information of the MVB is recorded based on XML, and an XML network configuration file of the MVB protocol is formed; the method comprises the steps that equipment information, protocol setting information and port information in an XML configuration file are stored to an appointed position in a classified mode through a first-level cache, the content of the first-level cache is sorted through a second-level cache, MVBC chip configuration information is obtained through the port information, the equipment information and the protocol setting information, MVB control program configuration information is obtained through the equipment information and the protocol setting information, and then the MVBC chip configuration information and the MVB control program configuration information are stored into an appointed storage position in a memory according to the sequence of items needing to be configured of the MVBC chip and the MVB control program.
In this embodiment, the specific steps of performing MVB configuration in step 4) are as follows: and sequentially acquiring MVBC chip configuration information from a first storage position in the second-level cache to configure the MVB chip, and sequentially acquiring MVB control program configuration information from a second storage position to configure the MVB control program. That is, when the MVBC chip and the MVB control program are configured, only the configuration information needs to be sequentially acquired from the second-level cache and applied to the MVBC chip and the MVB control program, for example, the relevant parameters are assigned according to the requirements of the MVBC chip and the MVB control program.
The method includes the steps of constructing MVBC chip configuration information and MVB control program configuration information in a second-level cache, separating the MVBC chip and the MVB control program from protocol control, configuring the MVBC chip and the MVB control program after MVB configuration information is read, when the configuration information is changed, restarting the MVB protocol, only modifying corresponding configuration information in the cache, and then applying the MVB chip configuration information and the MVB control program, wherein MVB communication is paused for a short time in the reconfiguration process, and after the setting is finished, the MVB is restarted, as shown in FIG. 3, when the configuration information is changed, an execution process ① reconfigures and finishes MVBC configuration cache, namely MVBC chip configuration information is constructed by port setting information, protocol configuration information, device configuration information and the like and stored to a first storage position of the second-level cache, information required by an MVB protocol driver program is constructed by the device information and the protocol information and stored to a second storage position of the second-level cache, and an execution process ② applies, namely MVBC chip configuration information and MVB control program configuration information of the MVB chip and the MVB control program, wherein the MVB chip configuration information and MVB control program configuration information include starting values and MVB control parameters.
In this embodiment, before step 1), a local configuration step is further included, and the specific steps are as follows: the method comprises the steps of forming a local configuration file by configuration information required by an MVB protocol in advance, obtaining the local configuration file before network communication faults or the network configuration file is completed, storing all configuration information in the local configuration file into a first-level cache in a classified mode, executing the step 3) until network communication is recovered or the network configuration file is completed, and executing the step 2). The network configuration and the local configuration are combined to realize a dual configuration mode, so that the traditional local configuration mode can be compatible, and meanwhile, before the network failure cannot be used or the network configuration is completed, the configuration information can be read from the local file to start the configuration, thereby greatly increasing the reliability of the system and reducing the time of the network configuration.
In this embodiment, in step 4), when the configuration information needs to be modified, the configuration information corresponding to the first-level cache is modified through a configuration interface connected to the first-level cache. The MVB port, the MVB equipment address and the like can be modified dynamically through the configuration interface, and the expansibility of the system is improved.
As shown in fig. 5, the MVB dynamic configuration apparatus of this embodiment includes:
the network configuration file forming module is used for forming the configuration information required by the MVB protocol into a network configuration file based on network data;
the first-level cache configuration module is used for acquiring the network configuration file formed in the network configuration file forming module through network transmission, storing all configuration information in the network configuration file into a preset first-level cache in a classified manner, and switching to the second-level cache configuration module;
the second-level cache configuration module is used for acquiring various types of configuration information from the first-level cache, respectively storing the configuration information into a preset second-level cache according to the sequence of the configuration information required by the MVB protocol, and switching to the execution dynamic configuration module;
the dynamic configuration module is used for sequentially acquiring all configuration information from the second-level cache to carry out MVB configuration; and when the configuration information needs to be modified, acquiring the corresponding configuration information from the first-level cache for modification, and returning to execute the second-level cache configuration module to reconfigure the MVB until the configuration is quitted.
In this embodiment, the network configuration file forming module specifically forms the configuration information required by the MVB into an XML network configuration file based on XML network data, so as to transmit the configuration file through the XML network.
In this embodiment, the first-level cache configuration module specifically stores the device information, the protocol setting information, and the port information in the XML network configuration file to the designated location in a classified manner; after the second-level cache configuration module acquires various types of configuration information of the first-level cache, MVBC chip configuration information is obtained by constructing port information, device information and protocol setting information, MVB control program configuration information is obtained by constructing the device information and the protocol setting information, and then the MVBC chip configuration information and the MVB control program configuration information are stored in a designated storage position in the memory according to the sequence of items to be configured of the MVBC chip and the MVB control program.
In this embodiment, the system further includes a local configuration module, where the local configuration module forms a local configuration file with configuration information required by the MVB protocol in advance, obtains the local configuration file before a network communication failure or the network configuration file is completed, stores each configuration information in the local configuration file into the first-level cache in a classified manner, and switches to execute the second-level cache configuration module until the network communication is recovered or the network configuration file is completed, and switches to execute the first-level cache configuration module.
In this embodiment, the first-level cache configuration module is further provided with a configuration interface, the configuration interface is connected with the first-level cache, and the configuration interface modifies corresponding configuration information in the first-level cache.
The foregoing is considered as illustrative of the preferred embodiments of the invention and is not to be construed as limiting the invention in any way. Although the present invention has been described with reference to the preferred embodiments, it is not intended to be limited thereto. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical spirit of the present invention should fall within the protection scope of the technical scheme of the present invention, unless the technical spirit of the present invention departs from the content of the technical scheme of the present invention.

Claims (9)

1. A method for dynamically configuring MVB is characterized by comprising the following steps:
1) network profile formation: forming configuration information required by an MVB protocol into a network configuration file based on network data;
2) first-level cache configuration: acquiring the network configuration file formed in the step 1) through network transmission, storing all configuration information in the network configuration file into a preset first-level cache in a classified manner, and switching to execute the step 3);
3) and (3) second-level cache configuration: acquiring various types of configuration information from the first-level cache, respectively storing the configuration information into a preset second-level cache according to the sequence of the configuration information required by the MVB protocol, and executing the step 4);
4) dynamic configuration: sequentially acquiring all configuration information from the second-level cache to perform MVB configuration; when the configuration information needs to be modified, modifying the corresponding configuration information in the first-level cache, and returning to execute the step 3) to reconfigure the MVB until the configuration is quitted;
the specific steps of the step 3) are as follows:
3.1) respectively acquiring information required to be configured by an MVBC chip and an MVB control program from various types of configuration information acquired from the first-level cache, and constructing to acquire MVBC chip configuration information and MVB control program configuration information;
and 3.2) storing the MVBC chip configuration information and the MVB control program configuration information to a first storage position and a second storage position in the second-level cache according to the sequence of the required configuration.
2. The method of claim 1, wherein the MVB dynamic configuration method comprises: in the step 2), storing each configuration information in the configuration file in a classified manner specifically according to equipment information, protocol setting information and port information; in the step 3.1), the configuration information of the MVBC chip is specifically constructed by port information, device information and protocol setting information, and the configuration information of the MVB control program is specifically constructed by the device information and the protocol setting information.
3. The method of claim 2, wherein the MVB dynamic configuration in step 4) specifically comprises the following steps: and sequentially acquiring the MVBC chip configuration information from a first storage position in the second-level cache to configure an MVB chip, and sequentially acquiring the MVB control program configuration information from a second storage position to configure an MVB control program.
4. The method for dynamically configuring MVB according to any one of claims 1 to 3, wherein: specifically forming the configuration information required by the MVB into an XML network configuration file based on XML network data in the step 1), so as to transmit the configuration file through the XML network.
5. The method for dynamically configuring MVB according to any one of claims 1 to 3, further comprising a local configuration step before the step 1), specifically comprising: the method comprises the steps of forming a local configuration file by configuration information required by an MVB protocol in advance, obtaining the local configuration file when network communication fails or before the network configuration file is completed, storing all configuration information in the local configuration file into a first-level cache in a classified mode, executing the step 3) until network communication is recovered or the network configuration file is completed, and executing the step 2).
6. The method according to any one of claims 1 to 3, wherein in step 4), when configuration information needs to be modified, the configuration information corresponding to the first-level cache is modified through a configuration interface connected to the first-level cache.
7. An MVB dynamic configuration apparatus, comprising:
the network configuration file forming module is used for forming the configuration information required by the MVB protocol into a network configuration file based on network data;
the first-level cache configuration module is used for acquiring the network configuration file formed in the network configuration file forming module through network transmission, storing all configuration information in the network configuration file into a preset first-level cache in a classified manner, and switching to the second-level cache configuration module;
the second-level cache configuration module is used for acquiring various types of configuration information from the first-level cache, respectively storing the configuration information into a preset second-level cache according to the sequence of the configuration information required by the MVB protocol, and switching to the execution dynamic configuration module;
the dynamic configuration module is used for sequentially acquiring all configuration information from the second-level cache to perform MVB configuration; when the configuration information needs to be modified, acquiring the corresponding configuration information from the first-level cache for modification, and returning to execute the second-level cache configuration module to reconfigure the MVB until the configuration is quitted;
the second-level cache configuration module comprises:
respectively acquiring information required to be configured by an MVBC chip and an MVB control program from various types of configuration information acquired from the first-level cache, and constructing to acquire MVBC chip configuration information and MVB control program configuration information;
and respectively storing the MVBC chip configuration information and the MVB control program configuration information to a first storage position and a second storage position in the second-level cache according to a sequence required to be configured.
8. The device of claim 7, wherein: the system also comprises a local configuration module, wherein the local configuration module forms a local configuration file with configuration information required by an MVB protocol in advance, acquires the local configuration file before network communication faults or the network configuration file is completed, stores all configuration information in the local configuration file into the first-level cache in a classified manner, switches to execute the second-level cache configuration module until network communication is recovered or the network configuration file is completed, and switches to execute the first-level cache configuration module.
9. The MVB dynamic configuration device of claim 7 or 8, wherein: the first-level cache configuration module is also provided with a configuration interface, the configuration interface is connected with the first-level cache, and the configuration interface modifies the corresponding configuration information in the first-level cache.
CN201610944961.7A 2016-11-02 2016-11-02 MVB dynamic configuration method and device Active CN106571957B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610944961.7A CN106571957B (en) 2016-11-02 2016-11-02 MVB dynamic configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610944961.7A CN106571957B (en) 2016-11-02 2016-11-02 MVB dynamic configuration method and device

Publications (2)

Publication Number Publication Date
CN106571957A CN106571957A (en) 2017-04-19
CN106571957B true CN106571957B (en) 2020-04-10

Family

ID=58536579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610944961.7A Active CN106571957B (en) 2016-11-02 2016-11-02 MVB dynamic configuration method and device

Country Status (1)

Country Link
CN (1) CN106571957B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112350839B (en) * 2019-08-07 2023-04-07 中车株洲电力机车研究所有限公司 Event recording method and device for Ethernet, computer equipment and storage medium
CN111181826B (en) * 2019-12-31 2021-10-01 中国铁道科学研究院集团有限公司 Dynamic networking master control device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314408A (en) * 2011-09-05 2012-01-11 百度在线网络技术(北京)有限公司 Method, device, equipment and system for acquiring configuration information and configuring
CN103019791A (en) * 2012-12-19 2013-04-03 中国电子科技集团公司第十五研究所 Software deploying method and system
CN105812180A (en) * 2016-03-09 2016-07-27 上海斐讯数据通信技术有限公司 Network device configuration system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050060978A (en) * 2003-12-17 2005-06-22 한국철도기술연구원 Signal measurement system for using multifunction vehicle bus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314408A (en) * 2011-09-05 2012-01-11 百度在线网络技术(北京)有限公司 Method, device, equipment and system for acquiring configuration information and configuring
CN103019791A (en) * 2012-12-19 2013-04-03 中国电子科技集团公司第十五研究所 Software deploying method and system
CN105812180A (en) * 2016-03-09 2016-07-27 上海斐讯数据通信技术有限公司 Network device configuration system and method

Also Published As

Publication number Publication date
CN106571957A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
CN110309161B (en) Data synchronization method and device and server
US9223601B2 (en) Control device, control method, and non-transitory computer-readable storage medium for a virtual system deployment
CN103064717B (en) A kind of apparatus and method of parallel installation of software for cluster system
US20120311385A1 (en) Control server and method for switching running of test programs stored in multiple storage mediums of test server
US20180322029A1 (en) Method and apparatus for automatic cross-system program debugging
CN106571957B (en) MVB dynamic configuration method and device
CN106708748B (en) Method and system for improving mounting performance of OpenStack block storage volume
CN106293842B (en) Software installation method and device
CN105760289A (en) Debugging method and device of embedded system
CN107015902B (en) Test method and test equipment
CN109086168A (en) A kind of method and its system using hardware backup solid state hard disk writing rate
CN105827460A (en) Automatic testing method, device and system of network device
CN108234246B (en) Method and system for multi-directionally testing network performance of server
CN109062820A (en) A kind of software performance testing method and device
CN104092661B (en) The communication means and device of virtual machine serial ports
US20140359114A1 (en) Computer-readable recording medium, usage mode data generation method, and usage mode data generation device
CN104182348A (en) Software test method and device
CN102984055B (en) The soft reboot upgrade method of a kind of ISSU and equipment
CN111399972B (en) Method and device for capturing packets by virtual machine and computer readable storage medium
CN106612213B (en) Equipment testing method and device
CN105760456B (en) A kind of method and apparatus keeping data consistency
US20160335170A1 (en) Model checking device for distributed environment model, model checking method for distributed environment model, and medium
US20170034005A1 (en) Flow Entry Management Method and Device
CN115134427B (en) Communication protocol coordination method, device, computer equipment and storage medium
CN103425558B (en) A kind of method realizing the test of board I/O port based on test configurations table

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