[go: up one dir, main page]

CN114780357A - Simulation test system monitoring method and monitoring system based on B _ S framework - Google Patents

Simulation test system monitoring method and monitoring system based on B _ S framework Download PDF

Info

Publication number
CN114780357A
CN114780357A CN202210732392.5A CN202210732392A CN114780357A CN 114780357 A CN114780357 A CN 114780357A CN 202210732392 A CN202210732392 A CN 202210732392A CN 114780357 A CN114780357 A CN 114780357A
Authority
CN
China
Prior art keywords
simulation test
test system
module
sub
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.)
Pending
Application number
CN202210732392.5A
Other languages
Chinese (zh)
Inventor
上官银芳
高涛
王宬
刘艳龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Lingkong Electronic Technology Co Ltd
Original Assignee
Xian Lingkong Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Lingkong Electronic Technology Co Ltd filed Critical Xian Lingkong Electronic Technology Co Ltd
Priority to CN202210732392.5A priority Critical patent/CN114780357A/en
Publication of CN114780357A publication Critical patent/CN114780357A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提出了一种基于B_S架构的仿真试验系统监测方法及监测系统,包括为仿真试验系统子模块分配IP和端口;采集仿真试验系统子模块分配的IP和端口,形成配置数据库;采集仿真试验系统子模块的运行状态信息并发送;接收仿真试验系统子模块的运行状态信息,读取配置数据库,建立配置数据库中的IP和端口与仿真试验系统子模块之间一一对应的映射关系;根据映射关系将仿真试验系统子模块的运行状态信息封装生成对应的响应数据,分别发送不同仿真试验系统子模块的响应数据;接收仿真试验系统子模块的响应数据,判断响应数据的正确性;通过对判断结果进行处理,可以减少对仿真试验或者设备造成严重的影响。

Figure 202210732392

The invention proposes a simulation test system monitoring method and monitoring system based on B_S architecture, including allocating IP and ports for simulation test system sub-modules; collecting IP and ports allocated by simulation test system sub-modules to form a configuration database; collecting simulation tests The running status information of the system sub-modules is sent; the running status information of the sub-modules of the simulation test system is received, the configuration database is read, and the mapping relationship between the IP and ports in the configuration database and the sub-modules of the simulation test system one-to-one is established; The mapping relationship encapsulates the running status information of the sub-modules of the simulation test system to generate corresponding response data, and sends the response data of different sub-modules of the simulation test system respectively; receives the response data of the sub-modules of the simulation test system, and judges the correctness of the response data; Processing the judgment results can reduce the serious impact on the simulation test or equipment.

Figure 202210732392

Description

一种基于B_S架构的仿真试验系统监测方法及监测系统A kind of simulation test system monitoring method and monitoring system based on B_S framework

技术领域technical field

本发明属于设备监测技术领域,涉及仿真试验系统的监测技术,具体为一种基于B_S架构的仿真试验系统监测方法及监测系统。The invention belongs to the technical field of equipment monitoring, and relates to a monitoring technology of a simulation test system, in particular to a simulation test system monitoring method and a monitoring system based on a B_S architecture.

背景技术Background technique

大型仿真试验系统是由不同的功能模块组成的,这些功能模块可以抽象出不同的功能软件部分和功能硬件部分,功能软件部分包括试验阶段软件部分、试验完成阶段软件部分、试验数据采集软件部分等,功能硬件部分包括测试设备、采集设备、显示设备等。在实际仿真试验过程中,诸多功能软件部分和功能硬件部分或多或少的会出现大大小小的故障,然而在仿真试验阶段,这些故障人为很难快速识别。因此,需要在试验仿真阶段进行相应地监测,但是现有技术中没有相应的监测技术,无法对仿真试验系统的运行状态进行监测以及运行状态信息进行采集,导致故障排除、试验设备断连、试验设备关闭等操作不及时,对仿真试验及设备造成严重影响。The large-scale simulation test system is composed of different functional modules. These functional modules can abstract different functional software parts and functional hardware parts. The functional software parts include the software part of the test stage, the software part of the test completion stage, and the test data acquisition software part, etc. , the functional hardware part includes test equipment, acquisition equipment, display equipment and so on. In the actual simulation test process, many functional software parts and functional hardware parts will have more or less large and small faults. However, in the simulation test stage, these faults are difficult to be quickly identified by humans. Therefore, it is necessary to carry out corresponding monitoring in the test simulation stage, but there is no corresponding monitoring technology in the existing technology, so it is impossible to monitor the running status of the simulation test system and collect the running status information, which leads to troubleshooting, disconnection of test equipment, and test results. If the equipment is shut down and other operations are not timely, it will have a serious impact on the simulation test and equipment.

发明内容SUMMARY OF THE INVENTION

针对现有技术中仿真试验系统的工作过程缺少相应的监测技术,导致故障排除、试验设备断连、试验设备关闭等操作不及时,影响仿真试验结果的问题,本发明提出了一种基于B_S架构的仿真试验系统监测方法及监测系统。本发明能够实现对仿真试验系统的功能软件部分和功能硬件部分均进行监测,并进行警示提示,便于快速排除故障、试验设备断连、试验设备关闭等操作;其具体技术方案如下:Aiming at the problem that the working process of the simulation test system in the prior art lacks corresponding monitoring technology, which leads to untimely operations such as troubleshooting, disconnection of test equipment, and shutdown of test equipment, which affects the simulation test results, the present invention proposes a B_S-based architecture. Simulation test system monitoring method and monitoring system. The invention can realize the monitoring of the functional software part and the functional hardware part of the simulation test system, and give a warning prompt, which is convenient for quick troubleshooting, disconnection of the test equipment, shutdown of the test equipment, etc. The specific technical scheme is as follows:

一种基于B_S架构的仿真试验系统监测方法,包括以下步骤:A simulation test system monitoring method based on B_S architecture, comprising the following steps:

为仿真试验系统子模块分配IP和端口;Allocate IP and ports for simulation test system sub-modules;

采集仿真试验系统子模块分配的IP和端口,形成配置数据库;Collect IPs and ports assigned by sub-modules of the simulation test system to form a configuration database;

采集仿真试验系统子模块的运行状态信息并发送;Collect and send the running status information of the sub-modules of the simulation test system;

接收所述仿真试验系统子模块的运行状态信息,读取所述配置数据库,建立所述配置数据库中的IP和端口与仿真试验系统子模块之间一一对应的映射关系;Receive the running status information of the sub-modules of the simulation test system, read the configuration database, and establish a one-to-one mapping relationship between the IP and ports in the configuration database and the sub-modules of the simulation test system;

根据所述映射关系将仿真试验系统子模块的运行状态信息封装生成对应的响应数据,分别发送不同仿真试验系统子模块的响应数据;According to the mapping relationship, the operating state information of the simulation test system sub-modules is encapsulated to generate corresponding response data, and the response data of different simulation test system sub-modules are respectively sent;

接收所述仿真试验系统子模块的响应数据,判断所述响应数据的正确性;Receive the response data of the sub-module of the simulation test system, and judge the correctness of the response data;

若所述响应数据存在异常,则生成异常警示信息,并进行异常提示;If there is an abnormality in the response data, generate abnormality warning information, and perform abnormality prompt;

若所述响应数据不存在异常,则生成正常提示信息,并进行正常提示。If there is no abnormality in the response data, normal prompt information is generated and a normal prompt is performed.

进一步限定,所述方法还包括:Further limited, the method also includes:

获取异常警示信息或正常提示信息,并对生成的异常警示信息或正常提示信息进行显示。Obtain abnormal warning information or normal prompt information, and display the generated abnormal warning information or normal prompt information.

进一步限定,若所述响应数据存在异常,则生成异常警示信息,并进行异常提示后还包括:根据异常警示信息进行启动、重启或停止其中的一个或多个仿真试验系统子模块。Further limited, if the response data is abnormal, generating abnormal warning information, and performing abnormal warning information, the method further includes: starting, restarting or stopping one or more sub-modules of the simulation test system according to the abnormal warning information.

进一步限定,若所述响应数据存在异常,则生成异常警示信息,并进行异常提示后还包括:获取异常警示信息,并对异常警示信息进行存储。It is further limited that if the response data is abnormal, generating abnormal warning information, and performing the abnormal warning, the method further includes: acquiring the abnormal warning information, and storing the abnormal warning information.

进一步限定,所述仿真试验系统子模块包括试验数据处理模块、试验数据采集模块、配电管理模块、试验管理模快以及试验设备。Further limited, the sub-modules of the simulation test system include a test data processing module, a test data acquisition module, a power distribution management module, a test management module and test equipment.

进一步限定,所述仿真试验系统子模块的运行状态信息包括仿真试验系统子模块的启停信息、仿真试验系统子模块的运行过程信息以及仿真试验系统子模块的运行结果信息。Further limited, the running state information of the simulation test system sub-module includes start-stop information of the simulation test system sub-module, operation process information of the simulation test system sub-module, and operation result information of the simulation test system sub-module.

一种基于B_S架构的仿真试验系统的监测系统,包括A monitoring system of a simulation test system based on B_S architecture, comprising:

分配模块:用于为仿真试验系统子模块分配IP和端口;Assignment module: used to assign IP and ports to the sub-modules of the simulation test system;

配置数据模块:用于采集仿真试验系统子模块分配的IP和端口,形成配置数据库;Configuration data module: used to collect IP and ports allocated by sub-modules of the simulation test system to form a configuration database;

采集模块:用于采集仿真试验系统子模块的运行状态信息,并发送;Acquisition module: used to collect and send the running status information of the sub-modules of the simulation test system;

信息封装模块:用于接收仿真试验系统子模块的运行状态信息,读取配置数据库,建立所述配置数据库中的IP和端口与仿真试验系统子模块之间一一对应的映射关系;Information encapsulation module: used to receive the running status information of the sub-modules of the simulation test system, read the configuration database, and establish a one-to-one mapping relationship between the IP and ports in the configuration database and the sub-modules of the simulation test system;

以及判断模块:用于接收仿真试验系统子模块对应的响应数据,判断所述响应数据的正确性,若所述响应数据存在异常,则生成异常警示信息,并进行异常提示;若所述响应数据不存在异常,则生成正常提示信息,并进行正常提示。And the judgment module: for receiving the response data corresponding to the simulation test system sub-module, judging the correctness of the response data, if the response data is abnormal, then generate abnormal warning information, and carry out abnormal prompt; If there is no abnormality, a normal prompt message will be generated and a normal prompt will be given.

进一步限定,所述基于B_S架构的仿真试验系统的监测系统还包括Further limited, the monitoring system of the simulation test system based on the B_S architecture also includes

显示模块:用于获取判断模块生成的异常警示信息或正常提示信息,并对生成的异常警示信息或正常提示信息进行显示。Display module: used to obtain abnormal warning information or normal prompt information generated by the judgment module, and display the generated abnormal warning information or normal prompt information.

进一步限定,所述判断模块还包括根据异常警示信息进行启动、重启或停止其中的一个或多个仿真试验系统子模块。Further limited, the judging module further includes one or more sub-modules of the simulation test system for starting, restarting or stopping according to the abnormal warning information.

进一步限定,所述基于B_S架构的仿真试验系统的监测系统还包括Further limited, the monitoring system of the simulation test system based on the B_S architecture also includes

存储模块:用于获取判断模块生成的异常警示信息,并对异常警示信息进行存储。Storage module: used to obtain the abnormal warning information generated by the judgment module, and store the abnormal warning information.

与现有相比,本发明的有益效果在于:Compared with the existing ones, the beneficial effects of the present invention are:

1、本发明基于B_S架构的仿真试验系统监测方法,其通过对各个仿真试验系统子模块分配IP和端口;并对分配的IP和端口,对分配的IP和端口进行汇总,形成配置数据库,通过配置数据库方便查询,也方便进行匹配;采集各个仿真试验系统子模块的运行状态信息,将运行状态信息进行发送;将采集的运行状态信息与IP和端口进行映射,实现运行状态信息与IP和端口的匹配;并将各个仿真试验系统子模块的运行状态信息封装生成各个仿真试验系统子模块对应的响应数据,对各个仿真试验系统子模块对应的响应数据进行判断,判断各个仿真试验系统子模块对应的响应数据是否存在异常,并进行相应的提示;本发明中对各个仿真试验系统子模块的监测涉及硬件部分的监测,也涉及软件部分的监测,即对各个仿真试验系统子模块的判断均涉及到硬件部分和程序部分;通过本发明实现了仿真试验系统的监测,方便根据监测结果进行故障排除、试验设备断连,试验设备关闭等操作,通过对判断结果进行处理,可以减少对仿真试验或者设备造成严重的影响。1, the present invention is based on the simulation test system monitoring method of B_S framework, it allocates IP and port to each simulation test system sub-module; And the allocated IP and port, the allocated IP and port are summarized, form the configuration database, through The configuration database is convenient for query and matching; collect the running status information of each sub-module of the simulation test system, and send the running status information; map the collected running status information with IP and port to realize the running status information and IP and port and encapsulate the operating status information of each simulation test system sub-module to generate response data corresponding to each simulation test system sub-module, judge the response data corresponding to each simulation test system sub-module, and determine the corresponding simulation test system sub-modules. Whether there is any abnormality in the response data, and give a corresponding prompt; the monitoring of each simulation test system sub-module in the present invention involves the monitoring of the hardware part and the monitoring of the software part, that is, the judgment of each simulation test system sub-module involves to the hardware part and the program part; the monitoring of the simulation test system is realized by the present invention, and it is convenient to perform operations such as troubleshooting, disconnection of the test equipment, and shutdown of the test equipment according to the monitoring results. equipment is severely affected.

2、本发明基于B_S架构的仿真试验系统监测方法还包括获取异常警示信息或正常提示信息,并对生成的异常警示信息或正常提示信息进行显示,方便对异常警示信息或正常提示信息进行直观观测。2. The monitoring method of the simulation test system based on the B_S architecture of the present invention further includes acquiring abnormal warning information or normal prompt information, and displaying the generated abnormal warning information or normal prompt information, so as to facilitate intuitive observation of the abnormal warning information or normal prompt information. .

3、本发明还包括根据异常警示信息进行启动、重启或停止其中的一个或多个仿真试验系统子模块,实现了远程操作仿真试验系统。3. The present invention also includes one or more sub-modules of the simulation test system to start, restart or stop according to the abnormal warning information, so as to realize the remote operation of the simulation test system.

4、本发明基于B_S架构的仿真试验系统监测方法还包括获取异常警示信息,并对异常警示信息进行存储,通过对异常警示信息的存储方便后续进行追溯、查询。4. The monitoring method of the simulation test system based on the B_S architecture of the present invention further includes acquiring abnormal warning information, and storing the abnormal warning information, and the storage of the abnormal warning information facilitates subsequent tracing and query.

附图说明Description of drawings

图1为实施例1基于B_S架构的仿真试验系统监测方法的过程示意图;Fig. 1 is the process schematic diagram of the simulation test system monitoring method based on B_S framework of embodiment 1;

图2为实施例2基于B_S架构的仿真试验系统监测方法的过程示意图;Fig. 2 is the process schematic diagram of the simulation test system monitoring method based on B_S framework of embodiment 2;

图3为实施例3基于B_S架构的仿真试验系统的监测系统的示意图;Fig. 3 is the schematic diagram of the monitoring system of the simulation test system based on B_S framework of embodiment 3;

图4为实施例4基于B_S架构的仿真试验系统的监测系统的示意图。FIG. 4 is a schematic diagram of the monitoring system of the simulation test system based on the B_S architecture in the fourth embodiment.

具体实施方式Detailed ways

下面结合附图及实施例对本发明的技术方案进行进一步地解释说明,但本发明并不限于以下说明的实施方式。The technical solutions of the present invention will be further explained below with reference to the accompanying drawings and examples, but the present invention is not limited to the embodiments described below.

实施例1Example 1

参见图1,本实施例一种基于B_S架构的仿真试验系统监测方法,其包括以下步骤:Referring to FIG. 1 , a method for monitoring a simulation test system based on the B_S architecture of the present embodiment includes the following steps:

S01:为各个仿真试验系统子模块分配IP和端口;每个仿真试验系统子模块对应一个IP和一个端口,且每个仿真试验系统子模块对应的IP和端口均是唯一的;S01: assign IP and ports to each simulation test system sub-module; each simulation test system sub-module corresponds to an IP and a port, and the IP and port corresponding to each simulation test system sub-module are unique;

S02:采集各个仿真试验系统子模块分配的IP和端口,对分配的IP和端口进行汇总,形成配置数据库;该配置数据库相当于一个数据表格,通过该数据表格对各个仿真试验系统子模块对应的IP和端口进行汇总;S02: Collect the IPs and ports allocated by each simulation test system sub-module, summarize the allocated IP and ports, and form a configuration database; the configuration database is equivalent to a data table, through which each simulation test system sub-module corresponds to Summarize IP and port;

S03:采集各个仿真试验系统子模块的运行状态信息,将运行状态信息进行发送;该运行状态信息包含各个仿真试验系统子模块对应的软件运行状态信息以及硬件运行状态信息;具体地,可以是软件部分是否正常启动,软件部分是否存在警告信息或错误信息,硬件部分是否正常启动,硬件部分是否存在警告信息或错误信息;S03: Collect the running status information of each simulation test system sub-module, and send the running status information; the running status information includes software running status information and hardware running status information corresponding to each simulation test system sub-module; Whether the part starts normally, whether there is a warning message or error message in the software part, whether the hardware part starts normally, whether there is a warning message or error message in the hardware part;

S04:接收步骤S03发送的仿真试验系统子模块的运行状态信息,读取步骤S02的配置数据库,并根据步骤S02的配置数据库中汇总的IP和端口进行映射,使收集的各个仿真试验系统子模块的运行状态信息与各个仿真试验系统子模块的IP和端口一一对应,并根据对应关系将各个仿真试验系统子模块的运行状态信息封装生成各个仿真试验系统子模块对应的响应数据,并将各个仿真试验系统子模块对应的响应数据发送;该配置数据库中汇总的IP和端口进行映射指的是配置数据库中汇总的IP和端口与各个仿真试验系统子模块的运行状态信息之间建立网络通信,该网络通信方式可以是udp、tcp或http,使得各个子模块的运行状态信息能够实现准确的匹配和发送;S04: receive the running status information of the simulation test system sub-modules sent in step S03, read the configuration database of step S02, and map according to the IP and ports summarized in the configuration database of step S02, so that the collected simulation test system sub-modules The operating status information of each simulation test system sub-module corresponds to the IP and port of each simulation test system sub-module one-to-one, and according to the corresponding relationship, the operating status information of each simulation test system sub-module is encapsulated to generate the corresponding response data of each simulation test system sub-module, and the corresponding response data of each simulation test system sub-module is generated. The response data corresponding to the sub-modules of the simulation test system is sent; the mapping of the IP and ports summarized in the configuration database refers to the establishment of network communication between the IP and ports summarized in the configuration database and the running status information of each sub-module of the simulation test system. The network communication mode can be udp, tcp or http, so that the running status information of each sub-module can be accurately matched and sent;

S05:接收步骤S04中各个仿真试验系统子模块对应的响应数据,并对各个仿真试验系统子模块对应的响应数据的正确性进行判断,若判断仿真试验系统子模块对应的响应数据存在异常,则生成异常警示信息,并进行异常提示,若判断对应仿真试验系统子模块对应的响应数据不存在异常,则生成正常提示信息。S05: Receive the response data corresponding to each simulation test system sub-module in step S04, and judge the correctness of the response data corresponding to each simulation test system sub-module. If it is judged that the response data corresponding to the simulation test system sub-module is abnormal, then Generate abnormal warning information, and perform abnormal prompting. If it is judged that the response data corresponding to the sub-module of the corresponding simulation test system is not abnormal, normal prompting information is generated.

以仿真试验系统的试验数据采集模块为例,对本实施例的基于B_S架构的仿真试验系统监测方法进行说明。Taking the test data acquisition module of the simulation test system as an example, the monitoring method of the simulation test system based on the B_S architecture of this embodiment will be described.

S01:为仿真试验系统的试验数据采集模块分配IP和端口;该试验数据采集模块对应一个IP和一个端口,且该试验数据采集模块对应的IP和端口均是唯一的;S01: assign IP and port to the test data acquisition module of the simulation test system; the test data acquisition module corresponds to an IP and a port, and the IP and port corresponding to the test data acquisition module are both unique;

S02:采集试验数据采集模块分配的IP和端口,对分配的IP和端口进行汇总,形成配置数据库;该配置数据库相当于一个数据表格,通过该数据表格对试验数据采集模块以及其他仿真试验系统子模块对应的IP和端口进行汇总;S02: Collect the IP and ports allocated by the test data acquisition module, and summarize the allocated IP and ports to form a configuration database; the configuration database is equivalent to a data table, through which the test data acquisition module and other simulation test system subsystems are collected. The IP and port corresponding to the module are summarized;

S03:采集试验数据采集模块的运行状态信息,将运行状态信息进行发送;该运行状态信息包含试验数据采集模块对应的软件运行状态信息以及硬件运行状态信息;具体地,可以是试验数据采集模块的软件部分是否正常启动,试验数据采集模块的软件部分是否存在警告信息或错误信息,试验数据采集模块的硬件部分是否正常启动,试验数据采集模块的硬件部分是否存在警告信息或错误信息;S03: Collect the running status information of the test data acquisition module, and send the running status information; the running status information includes software running status information and hardware running status information corresponding to the test data acquisition module; Whether the software part starts normally, whether the software part of the test data acquisition module has warning information or error information, whether the hardware part of the test data acquisition module starts normally, and whether there is warning information or error information in the hardware part of the test data acquisition module;

S04:接收步骤S03发送的运行状态信息,读取步骤S02的配置数据库,并根据步骤S02的配置数据库中汇总的IP和端口进行映射,使收集的试验数据采集模块的运行状态信息与试验数据采集模块的IP和端口一一对应,并根据对应关系将试验数据采集模块的运行状态信息封装生成各个仿真试验系统子模块对应的响应数据,并将试验数据采集模块的响应数据发送;该配置数据库中汇总的IP和端口进行映射指的是配置数据库中汇总的IP和端口与试验数据采集模块的运行状态信息之间建立网络通信,该网络通信方式可以是udp、tcp或http,使得试验数据采集模块的运行状态信息能够实现准确的匹配和发送;S04: Receive the operating status information sent in step S03, read the configuration database in step S02, and map according to the IP and port summarized in the configuration database in step S02, so that the operating status information of the collected test data acquisition module and the test data are collected The IP of the module corresponds to the port one by one, and according to the corresponding relationship, the operating status information of the test data acquisition module is encapsulated to generate the response data corresponding to each sub-module of the simulation test system, and the response data of the test data acquisition module is sent; The summary IP and port mapping refers to the establishment of network communication between the summary IP and port in the configuration database and the operating status information of the test data acquisition module. The network communication method can be udp, tcp or http, so that the test data acquisition module The running status information can be accurately matched and sent;

S05:接收步骤S04中试验数据采集模块对应的响应数据,并对试验数据采集模块对应的响应数据的正确性进行判断,若判断试验数据采集模块对应的响应数据存在异常,则生成异常警示信息,并进行异常提示,若判断试验数据采集模块对应的响应数据不存在异常,则生成正常提示信息。S05: Receive the response data corresponding to the test data acquisition module in step S04, and judge the correctness of the response data corresponding to the test data acquisition module, if it is judged that the response data corresponding to the test data acquisition module is abnormal, then generate abnormal warning information, And abnormal prompting is performed. If it is judged that the response data corresponding to the test data acquisition module is not abnormal, normal prompting information is generated.

需要说明的是,本实施例的仿真试验系统的各个仿真试验系统子模块还可以是验数据处理模块、仿真数据导入模块、配电管理模块、试验管理模快以及试验设备。It should be noted that each simulation test system sub-module of the simulation test system of this embodiment may also be a test data processing module, a simulation data import module, a power distribution management module, a test management module and a test equipment.

实施例2Example 2

参见图2,本实施例一种基于B_S架构的仿真试验系统监测方法,在实施例1的基础上,其还包括:Referring to FIG. 2 , a method for monitoring a simulation test system based on the B_S architecture of the present embodiment, on the basis of Embodiment 1, further includes:

S06:获取步骤S05的异常警示信息或正常提示信息,并对生成的异常警示信息或正常提示信息进行显示。S06: Acquire the abnormal warning information or the normal prompt information in step S05, and display the generated abnormal warning information or the normal prompt information.

其中,步骤S05还包括根据异常警示信息进行启动、重启或停止其中的一个或多个仿真试验系统子模块。Wherein, step S05 further includes starting, restarting or stopping one or more sub-modules of the simulation test system according to the abnormal warning information.

进一步,步骤S05还包括获取异常警示信息,并对异常警示信息进行存储。Further, step S05 further includes acquiring abnormal warning information, and storing the abnormal warning information.

以仿真试验系统的试验数据采集模块为例进行说明:Take the test data acquisition module of the simulation test system as an example to illustrate:

S06:获取步骤S05试验数据采集模块的异常警示信息或正常提示信息,并对试验数据采集模块的异常警示信息或正常提示信息进行显示。其中,步骤S05还包括根据异常警示信息进行对试验数据采集模块进行启动、重启或停止操作。进一步,对步骤S05还包括获取的试验数据采集模块的异常警示信息,并对试验数据采集模块的异常警示信息进行存储,便于后续的追溯和查看。S06: Acquire the abnormal warning information or normal prompt information of the test data acquisition module in step S05, and display the abnormal warning information or normal prompt information of the test data acquisition module. Wherein, step S05 further includes starting, restarting or stopping the test data acquisition module according to the abnormal warning information. Further, step S05 also includes the acquired abnormal warning information of the test data acquisition module, and stores the abnormal warning information of the test data acquisition module, so as to facilitate subsequent tracing and viewing.

实施例3Example 3

参见图3,本实施例一种基于B_S架构的仿真试验系统的监测系统,其是在实施例1的基于B_S架构的仿真试验系统监测方法的基础上形成的,其包括分配模块、配置数据模块、采集模块、信息封装模块以及判断模块,Referring to FIG. 3 , a monitoring system of a simulation test system based on the B_S architecture of the present embodiment is formed on the basis of the monitoring method of the simulation test system based on the B_S architecture of Embodiment 1, and includes an allocation module and a configuration data module. , acquisition module, information encapsulation module and judgment module,

分配模块:用于为仿真试验系统的各个仿真试验系统子模块分配IP和端口;Allocation module: used to allocate IP and ports to each simulation test system sub-module of the simulation test system;

配置数据模块:用于采集各个仿真试验系统子模块分配的IP和端口,对分配的IP和端口进行汇总,形成配置数据库;Configuration data module: used to collect the IP and ports allocated by each sub-module of the simulation test system, and summarize the allocated IP and ports to form a configuration database;

分配模块:用于为仿真试验系统的各个仿真试验系统子模块分配IP和端口;每个仿真试验系统子模块对应一个IP和一个端口,且每个仿真试验系统子模块对应的IP和端口均是唯一的;Allocation module: used to allocate IP and ports for each simulation test system sub-module of the simulation test system; each simulation test system sub-module corresponds to an IP and a port, and the IP and port corresponding to each simulation test system sub-module are both only;

配置数据模块:用于采集各个仿真试验系统子模块分配的IP和端口,对分配的IP和端口进行汇总,形成配置数据库;该配置数据库相当于一个数据表格,通过该数据表格对各个仿真试验系统子模块对应的IP和端口进行汇总;Configuration data module: used to collect the IP and ports allocated by each simulation test system sub-module, and summarize the allocated IP and ports to form a configuration database; the configuration database is equivalent to a data table, through which each simulation test system is analyzed. Summarize the IP and port corresponding to the sub-module;

采集模块:用于采集各个仿真试验系统子模块的运行状态信息,将运行状态信息进行发送;该运行状态信息包含各个仿真试验系统子模块对应的软件运行状态信息以及硬件运行状态信息;具体地,可以是软件部分是否正常启动,软件部分是否存在警告信息或错误信息,硬件部分是否正常启动,硬件部分是否存在警告信息或错误信息;Acquisition module: used to collect the running status information of each simulation test system sub-module, and send the running status information; the running status information includes software running status information and hardware running status information corresponding to each simulation test system sub-module; specifically, It can be whether the software part starts normally, whether there is warning information or error information in the software part, whether the hardware part starts normally, whether there is warning information or error information in the hardware part;

信息封装模块:用于接收运行状态信息,读取配置数据库,并根据配置数据库中汇总的IP和端口进行映射,使收集的各个仿真试验系统子模块的运行状态信息与各个子模块的IP和端口一一对应,并根据对应关系将各个仿真试验系统子模块的运行状态信息封装生成各个仿真试验系统子模块对应的响应数据,并将各个仿真试验系统子模块对应的响应数据发送;该配置数据库中汇总的IP和端口进行映射指的是配置数据库中汇总的IP和端口与各个仿真试验系统子模块的运行状态信息之间建立网络通信,该网络通信方式可以是udp、tcp或http,使得各个仿真试验系统子模块的运行状态信息能够实现准确的匹配和发送;Information encapsulation module: used to receive running status information, read the configuration database, and map according to the IP and ports summarized in the configuration database, so that the collected running status information of each sub-module of the simulation test system is related to the IP and port of each sub-module. One-to-one correspondence, and according to the corresponding relationship, the operating status information of each simulation test system sub-module is encapsulated to generate response data corresponding to each simulation test system sub-module, and the response data corresponding to each simulation test system sub-module is sent; The summary IP and port mapping refers to the establishment of network communication between the summary IP and port in the configuration database and the running status information of each simulation test system sub-module. The network communication method can be udp, tcp or http, so that each simulation The running status information of the sub-modules of the test system can be accurately matched and sent;

判断模块:用于接收各个仿真试验系统子模块对应的响应数据,并对各个仿真试验系统子模块对应的响应数据的正确性进行判断,若判断仿真试验系统子模块对应的响应数据存在异常,则生成异常警示信息,并进行异常提示,若判断对应仿真试验系统子模块对应的响应数据不存在异常,则生成正常提示信息。Judgment module: used to receive the response data corresponding to each simulation test system sub-module, and judge the correctness of the response data corresponding to each simulation test system sub-module. If it is judged that the response data corresponding to the simulation test system sub-module is abnormal, then Generate abnormal warning information, and perform abnormal prompting. If it is judged that the response data corresponding to the sub-module of the corresponding simulation test system is not abnormal, normal prompting information is generated.

以仿真试验系统的试验数据采集模块为例,对本实施例的一种基于B_S架构的仿真试验系统的监测系统进行说明。Taking the test data acquisition module of the simulation test system as an example, the monitoring system of the simulation test system based on the B_S architecture of this embodiment will be described.

分配模块:用于为仿真试验系统的试验数据采集模块分配IP和端口;该试验数据采集模块对应一个IP和一个端口,且该试验数据采集模块对应的IP和端口均是唯一的;Allocation module: used to allocate IP and port for the test data acquisition module of the simulation test system; the test data acquisition module corresponds to an IP and a port, and the IP and port corresponding to the test data acquisition module are unique;

配置数据模块:用于采集试验数据采集模块分配的IP和端口,对分配的IP和端口进行汇总,形成配置数据库;该配置数据库相当于一个数据表格,通过该数据表格对试验数据采集模块以及其他仿真试验系统子模块对应的IP和端口进行汇总;Configuration data module: used to collect the IP and ports allocated by the test data acquisition module, and summarize the allocated IP and ports to form a configuration database; the configuration database is equivalent to a data table, through which the test data acquisition module and other The IP and ports corresponding to the sub-modules of the simulation test system are summarized;

采集模块:用于采集试验数据采集模块的运行状态信息,将运行状态信息进行发送;该运行状态信息包含试验数据采集模块对应的软件运行状态信息以及硬件运行状态信息;具体地,可以是试验数据采集模块的软件部分是否正常启动,试验数据采集模块的软件部分是否存在警告信息或错误信息,试验数据采集模块的硬件部分是否正常启动,试验数据采集模块的硬件部分是否存在警告信息或错误信息;Acquisition module: used to collect the running status information of the test data acquisition module, and send the running status information; the running status information includes software running status information and hardware running status information corresponding to the test data acquisition module; specifically, it can be test data Whether the software part of the acquisition module starts normally, whether there is a warning message or error message in the software part of the test data acquisition module, whether the hardware part of the test data acquisition module starts normally, and whether there is a warning message or error message in the hardware part of the test data acquisition module;

信息封装模块:用于接收运行状态信息,读取配置数据库,并根据配置数据库中汇总的IP和端口进行映射,使收集的试验数据采集模块的运行状态信息与试验数据采集模块的IP和端口一一对应,并根据对应关系将试验数据采集模块的运行状态信息封装生成各个仿真试验系统子模块对应的响应数据,并将试验数据采集模块的响应数据发送;该配置数据库中汇总的IP和端口进行映射指的是配置数据库中汇总的IP和端口与试验数据采集模块的运行状态信息之间建立网络通信,该网络通信方式可以是udp、tcp或http,使得试验数据采集模块的运行状态信息能够实现准确的匹配和发送;Information encapsulation module: used to receive running status information, read the configuration database, and map according to the IP and ports summarized in the configuration database, so that the collected running status information of the test data acquisition module is the same as the IP and port of the test data acquisition module. One-to-one correspondence, and according to the corresponding relationship, the operating status information of the test data acquisition module is encapsulated to generate the response data corresponding to each sub-module of the simulation test system, and the response data of the test data acquisition module is sent; Mapping refers to the establishment of network communication between the IP and ports summarized in the configuration database and the running status information of the test data acquisition module. The network communication method can be udp, tcp or http, so that the running status information of the test data acquisition module can be realized. accurate matching and sending;

判断模块:接收试验数据采集模块对应的响应数据,并对试验数据采集模块对应的响应数据的正确性进行判断,若判断试验数据采集模块对应的响应数据存在异常,则生成异常警示信息,并进行异常提示,若判断试验数据采集模块对应的响应数据不存在异常,则生成正常提示信息。Judgment module: Receive the response data corresponding to the test data acquisition module, and judge the correctness of the response data corresponding to the test data acquisition module. If it is judged that the response data corresponding to the test data acquisition module is abnormal, an abnormal warning message is generated and the Abnormal prompt, if it is judged that there is no abnormality in the response data corresponding to the test data acquisition module, a normal prompt message will be generated.

需要说明的是,本实施例的仿真试验系统的各个子模块还可以是试验数据处理模块、仿真数据导入模块、配电管理模块、试验管理模快以及试验设备。It should be noted that each sub-module of the simulation test system in this embodiment may also be a test data processing module, a simulation data import module, a power distribution management module, a test management module and a test equipment.

实施例4Example 4

参见图4,本实施例本实施例一种基于B_S架构的仿真试验系统的监测系统,在实施例3的基础上,其还包括显示模块和存储模块,Referring to FIG. 4 , this embodiment is a monitoring system of a simulation test system based on the B_S architecture, based on Embodiment 3, it further includes a display module and a storage module,

显示模块:用于获取判断模块生成的异常警示信息或正常提示信息,并对生成的异常警示信息或正常提示信息进行显示。Display module: used to obtain abnormal warning information or normal prompt information generated by the judgment module, and display the generated abnormal warning information or normal prompt information.

存储模块:用于获取判断模块生成的异常警示信息,并对异常警示信息进行存储。Storage module: used to obtain the abnormal warning information generated by the judgment module, and store the abnormal warning information.

其中,判断模块还包括根据异常警示信息进行启动、重启或停止其中的一个或多个仿真试验系统子模块。Wherein, the judging module also includes one or more sub-modules of the simulation test system for starting, restarting or stopping according to the abnormal warning information.

以仿真试验系统的试验数据采集模块为例进行说明:Take the test data acquisition module of the simulation test system as an example to illustrate:

显示模块:用于获取判断模块生成的试验数据采集模块的异常警示信息或正常提示信息,并对生成的试验数据采集模块的异常警示信息或正常提示信息进行显示。Display module: used to obtain the abnormal warning information or normal prompt information of the test data acquisition module generated by the judgment module, and display the generated abnormal warning information or normal prompt information of the test data acquisition module.

存储模块:用于获取判断模块生成的试验数据采集模块的异常警示信息,并对试验数据采集模块的异常警示信息进行存储。Storage module: used to obtain the abnormal warning information of the test data acquisition module generated by the judgment module, and store the abnormal warning information of the test data acquisition module.

其中,判断模块还包括根据试验数据采集模块的异常警示信息进行启动、重启或停止试验数据采集模块的。Wherein, the judgment module further includes starting, restarting or stopping the test data acquisition module according to the abnormal warning information of the test data acquisition module.

Claims (10)

1. A simulation test system monitoring method based on a B _ S framework is characterized by comprising the following steps:
allocating an IP and a port for the simulation test system submodule;
collecting IP and ports distributed by a sub-module of the simulation test system to form a configuration database;
collecting and sending the running state information of the sub-module of the simulation test system;
receiving the running state information of the simulation test system sub-modules, reading the configuration database, and establishing a one-to-one corresponding mapping relation between the IP and the ports in the configuration database and the simulation test system sub-modules;
packaging the operation state information of the simulation test system sub-modules according to the mapping relation to generate corresponding response data, and respectively sending the response data of different simulation test system sub-modules;
receiving response data of the sub-module of the simulation test system, and judging the correctness of the response data;
if the response data is abnormal, generating abnormal warning information and performing abnormal prompt;
and if the response data is not abnormal, generating normal prompt information and performing normal prompt.
2. The method for monitoring a simulation test system based on a bs architecture of claim 1, wherein the method further comprises:
and acquiring abnormal warning information or normal prompt information, and displaying the generated abnormal warning information or normal prompt information.
3. The method for monitoring simulation test system based on B _ S architecture as claimed in claim 1,
if the response data is abnormal, generating abnormal warning information, and after the abnormal warning, further comprising: and starting, restarting or stopping one or more simulation test system sub-modules according to the abnormal warning information.
4. The method according to claim 1, wherein if the response data is abnormal, generating an abnormal warning message, and performing an abnormal prompt further comprises: and acquiring the abnormal warning information and storing the abnormal warning information.
5. The method for monitoring the simulation test system based on the B _ S architecture as claimed in claim 1, wherein the sub-modules of the simulation test system comprise a test data processing module, a test data acquisition module, a power distribution management module, a test management module and test equipment.
6. The method according to claim 1, wherein the operation status information of the sub-module of the simulation test system includes start-stop information of the sub-module of the simulation test system, operation process information of the sub-module of the simulation test system, and operation result information of the sub-module of the simulation test system.
7. A monitoring system of a simulation test system based on a B _ S architecture is characterized by comprising
A distribution module: the system is used for distributing IP and ports for the simulation test system sub-modules;
a configuration data module: the system comprises a simulation test system submodule, a configuration database and a control module, wherein the simulation test system submodule is used for acquiring an IP (Internet protocol) and a port distributed by the simulation test system submodule to form the configuration database;
an acquisition module: the simulation test system is used for acquiring and sending the running state information of the sub-module of the simulation test system;
an information packaging module: the system comprises a configuration database, a simulation test system submodule and a control module, wherein the configuration database is used for receiving the running state information of the simulation test system submodule, reading the configuration database and establishing the mapping relation between the IP and the port in the configuration database and the simulation test system submodule;
and a judging module: the simulation test system comprises a simulation test system submodule and a data processing submodule, wherein the simulation test system submodule is used for receiving response data corresponding to the simulation test system submodule, judging the correctness of the response data, generating abnormal warning information if the response data is abnormal, and performing abnormal prompt; and if the response data is not abnormal, generating normal prompt information and carrying out normal prompt.
8. The monitoring system of the simulation test system based on the B _ S architecture as claimed in claim 7, wherein the monitoring system of the simulation test system based on the B _ S architecture further comprises
A display module: and the warning module is used for acquiring the abnormal warning information or the normal prompt information generated by the judging module and displaying the generated abnormal warning information or the normal prompt information.
9. The monitoring system of simulation test system based on B _ S architecture as claimed in claim 7, wherein the determining module further comprises one or more simulation test system sub-modules for starting, restarting or stopping according to the abnormal warning information.
10. The monitoring system of the simulation test system based on the B _ S architecture as claimed in claim 7 or 9, wherein the monitoring system of the simulation test system based on the B _ S architecture further comprises
A storage module: and the abnormal warning information generating module is used for acquiring the abnormal warning information generated by the judging module and storing the abnormal warning information.
CN202210732392.5A 2022-06-27 2022-06-27 Simulation test system monitoring method and monitoring system based on B _ S framework Pending CN114780357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210732392.5A CN114780357A (en) 2022-06-27 2022-06-27 Simulation test system monitoring method and monitoring system based on B _ S framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210732392.5A CN114780357A (en) 2022-06-27 2022-06-27 Simulation test system monitoring method and monitoring system based on B _ S framework

Publications (1)

Publication Number Publication Date
CN114780357A true CN114780357A (en) 2022-07-22

Family

ID=82422278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210732392.5A Pending CN114780357A (en) 2022-06-27 2022-06-27 Simulation test system monitoring method and monitoring system based on B _ S framework

Country Status (1)

Country Link
CN (1) CN114780357A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120081717A1 (en) * 2010-10-04 2012-04-05 Transact Technologies Incorporated Casino print system and corresponding methods
CN202435422U (en) * 2011-11-16 2012-09-12 长安大学 Network Structure Status Monitoring and Border Guard System
CN106681882A (en) * 2015-11-06 2017-05-17 上海瑞致软件有限公司 IT-service concentrated monitoring and managing system based on Apriori algorithm
CN107356284A (en) * 2016-05-10 2017-11-17 中兴通讯股份有限公司 A kind of detection method, apparatus and system
CN109034521A (en) * 2018-06-07 2018-12-18 国电南瑞科技股份有限公司 A kind of intelligent O&M architecture design method of dispatching of power netwoks control system
CN112269330A (en) * 2020-09-18 2021-01-26 许继集团有限公司 Visualization system for monitoring real-time state of embedded equipment program and use method thereof
CN112947115A (en) * 2021-02-05 2021-06-11 西安羚控电子科技有限公司 Generalized data monitoring method
CN114167848A (en) * 2022-02-14 2022-03-11 西安羚控电子科技有限公司 Data monitoring system and monitoring method for automatic flight control tester

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120081717A1 (en) * 2010-10-04 2012-04-05 Transact Technologies Incorporated Casino print system and corresponding methods
CN202435422U (en) * 2011-11-16 2012-09-12 长安大学 Network Structure Status Monitoring and Border Guard System
CN106681882A (en) * 2015-11-06 2017-05-17 上海瑞致软件有限公司 IT-service concentrated monitoring and managing system based on Apriori algorithm
CN107356284A (en) * 2016-05-10 2017-11-17 中兴通讯股份有限公司 A kind of detection method, apparatus and system
CN109034521A (en) * 2018-06-07 2018-12-18 国电南瑞科技股份有限公司 A kind of intelligent O&M architecture design method of dispatching of power netwoks control system
CN112269330A (en) * 2020-09-18 2021-01-26 许继集团有限公司 Visualization system for monitoring real-time state of embedded equipment program and use method thereof
CN112947115A (en) * 2021-02-05 2021-06-11 西安羚控电子科技有限公司 Generalized data monitoring method
CN114167848A (en) * 2022-02-14 2022-03-11 西安羚控电子科技有限公司 Data monitoring system and monitoring method for automatic flight control tester

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
苏爱军等: "数据采集及监控技术在燃气管网调度的应用", 《煤气与热力》 *

Similar Documents

Publication Publication Date Title
CN109361562B (en) Automatic testing method based on associated network equipment access
CN110659109B (en) System and method for monitoring openstack virtual machine
CN103138988B (en) Positioning treatment method and positioning treatment device of network faults
CN111026602A (en) Health inspection scheduling management method and device of cloud platform and electronic equipment
WO2018214928A1 (en) Method and apparatus for locating resolution fault, computer readable storage medium thereof, and computer device
CN111832943B (en) Hardware equipment fault management method and device, electronic equipment and storage medium
CN112564952A (en) Intelligent inspection system for distribution network line
CN108401164A (en) Fault handling method and device
CN111624970A (en) Information reporting method, device, equipment and production control system
CN116896499A (en) kubernetes Pod network error checking system and method
CN111988170B (en) Terminal fault positioning method and device
CN111130848A (en) Fault detection method and device for authentication, authorization and accounting (AAA)
CN109684138A (en) A kind of visualization hard disk automatic test approach, device, terminal and storage medium
CN115529227A (en) A Link Tracking and Abnormal Diagnosis Method Based on Web Request
CN114780357A (en) Simulation test system monitoring method and monitoring system based on B _ S framework
CN112134764B (en) Method and device for determining connectivity of test environment
CN119127545A (en) Fault handling method, device and equipment
CN115776451A (en) Information acquisition method and device, electronic equipment and storage medium
CN107341107A (en) The automated testing method and test main frame of a kind of embedded development
CN114301599B (en) Digital certificate import method, device and computer equipment for switch
CN107046479B (en) Method and device for verifying state of network equipment
CN111277463B (en) Method, system, terminal and storage medium for testing accuracy of gateway address acquisition by BMC
CN115834365A (en) Method, device and equipment for home wide service diagnosis based on novel network
CN109039781A (en) A kind of network equipment failure diagnostic method executes node, server and system
CN104506498A (en) Socket communication based audio/video accelerator card data processing method and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220722

RJ01 Rejection of invention patent application after publication