[go: up one dir, main page]

CN100589422C - A simulation single board and simulation method thereof - Google Patents

A simulation single board and simulation method thereof Download PDF

Info

Publication number
CN100589422C
CN100589422C CN200710136384A CN200710136384A CN100589422C CN 100589422 C CN100589422 C CN 100589422C CN 200710136384 A CN200710136384 A CN 200710136384A CN 200710136384 A CN200710136384 A CN 200710136384A CN 100589422 C CN100589422 C CN 100589422C
Authority
CN
China
Prior art keywords
board
simulation
business
service
framework
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.)
Expired - Fee Related
Application number
CN200710136384A
Other languages
Chinese (zh)
Other versions
CN101145989A (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.)
Wuhan Zhongxing Software Co Ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200710136384A priority Critical patent/CN100589422C/en
Publication of CN101145989A publication Critical patent/CN101145989A/en
Application granted granted Critical
Publication of CN100589422C publication Critical patent/CN100589422C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

本发明提供了一种在通信领域中进行设备及产品开发的仿真单板,包括:公共框架、接口部分以及多用仿真模块;其中:公共框架用于作为公用平台来实现所述仿真单板的公共任务;接口部分用于实现所述仿真单板与主控板及网络管理系统进行信息交互,或实现所述仿真单板与其它业务单板进行信息交互;多用仿真模块用于在所述公共框架的控制下实现仿真各个业务单板的功能。本发明可在网管系统开发出来后同时模拟多种业务单板的功能,以提前发现和解决网管系统或子系统其他部分存在的问题,加快产品研发进度,提高产品研发效率,并降低产品研发过程中的成本。

The present invention provides a simulation single board for equipment and product development in the field of communication, including: a public framework, an interface part and a multi-purpose simulation module; wherein: the public framework is used as a public platform to realize the common Task; the interface part is used to realize the information interaction between the simulation single board and the main control board and the network management system, or to realize the information interaction between the simulation single board and other business single boards; the multi-purpose simulation module is used for Realize the function of simulating each business single board under the control of the system. The present invention can simultaneously simulate the functions of various business single boards after the network management system is developed, so as to discover and solve problems in other parts of the network management system or subsystems in advance, accelerate product development progress, improve product development efficiency, and reduce product development process. cost in .

Description

一种仿真单板及其仿真方法 A simulation single board and simulation method thereof

技术领域 technical field

本发明涉及通信领域中设备和产品的开发,尤其涉及通过仿真产品功能单元来进行产品开发的装置及方法。The invention relates to the development of equipment and products in the communication field, in particular to a device and method for developing products by simulating product function units.

背景技术 Background technique

大型通信及其控制系统产品都是由多个(块)可插拔的单板(或子卡)及其相关部件组成的。这些单板中从数量和功能完成重要性上有两大类单板:主控制功能单板、业务功能单板。如图1所示。Large-scale communication and its control system products are composed of multiple (blocks) pluggable single boards (or sub-cards) and related components. There are two types of boards in terms of quantity and importance of function completion: main control function boards and service function boards. As shown in Figure 1.

图1的系统设备由网络管理中心、主控单板、业务单板组成(其他辅助部分图中未画出)。主控单板通过通讯接口在前台实现对业务单板的控制与管理。后台网络管理中心通过主控板完成与业务单板的控制和信息交互。网络管理中心(由网管系统软件、数据库中心、工作站组成)实现对设备及其组网后设备的管理。网管和硬件设备合成在一起是一个真正意义上的客户可以使用的产品。它们是作为一个有机的整体,同时提供给用户。The system equipment in Fig. 1 is composed of a network management center, a main control board, and a service board (other auxiliary parts are not shown in the figure). The main control board realizes the control and management of the service board in the foreground through the communication interface. The background network management center completes the control and information interaction with the service board through the main control board. The network management center (composed of network management system software, database center, and workstation) realizes the management of the equipment and its networked equipment. The combination of network management and hardware equipment is a real product that customers can use. They are provided to users as an organic whole.

实际系统设备中实现业务功能的单板占绝对多数,实现主控功能的单板数量相对较少。因此,研发过程中对业务功能的单板设计、开发和测试工作量所占比重甚多。同时,这些业务功能单板有一个共同的特点就是所使用的框架相同或相似,承载的业务和业务功能不同。In the actual system equipment, the single boards that implement business functions account for an absolute majority, and the number of single boards that implement main control functions is relatively small. Therefore, during the R&D process, the single-board design, development, and testing workloads for business functions account for a large proportion. At the same time, these service function single boards have a common feature that they use the same or similar frameworks and carry different services and service functions.

在产品研发和工程研制阶段通常会出现以下情况:During the product development and engineering development stages, the following situations usually occur:

(1)研发测试过程中,出现由于网管系统和单板硬件设备研发进度不同,导致相应的调试、测试工作无法顺利开展,出现一方等待另一方的情形。(1) During the R&D and testing process, due to the different development progress of the network management system and the single-board hardware equipment, the corresponding debugging and testing work cannot be carried out smoothly, and one party is waiting for the other.

(2)同上类似,各个单板硬件设备本身研发实际进度也不尽一致,也影响单板之间的子系统集成调试、测试工作。(2) Similar to the above, the actual progress of the development of each single-board hardware device itself is not consistent, which also affects the integrated debugging and testing of the subsystems between the single-boards.

(3)研发测试过程中,有时受限于成本压力(库存压力),有时无法具备(储备)真正单板,或即使有单板而数量上不足以满足测试要求,但是此时相关工作还必须要开展。(3) In the process of R&D testing, sometimes limited by cost pressure (stock pressure), sometimes it is impossible to have (reserve) real veneers, or even if there are veneers, the quantity is not enough to meet the test requirements, but at this time related work must To develop.

(4)产品预研过程中,新增加一种业务单板的预研,在概念模型的基础上,需要有一个载体来实现该概念产品。如果是全新开发,则可能存在进度、成本的压力。(4) In the process of product pre-research, a new pre-research of a business single board is added. On the basis of the conceptual model, a carrier is required to realize the concept product. If it is a new development, there may be pressure on schedule and cost.

类似上面的情形,都将在一定程度上影响研发过程的进度及研发效率,进而影响产品上市时间和产品在市场上的占有率。本发明可以在一定程度上解决这个难题。Situations similar to the above will affect the progress and efficiency of the R&D process to a certain extent, and then affect the time to market and market share of the product. The present invention can solve this difficult problem to a certain extent.

发明内容 Contents of the invention

本发明所要解决的技术问题是提供一种仿真单板及其仿真方法,以解决产品研发过程中由于缺少单板而影响产品研发进度、效率及成本等问题。The technical problem to be solved by the present invention is to provide a simulation veneer and its simulation method to solve the problems of product development progress, efficiency and cost affected by lack of veneer in the product development process.

为了解决上述技术问题,本发明提供了一种仿真单板,用于通信及其控制领域中设备和产品的开发,该仿真单板包括:公共框架、接口部分以及多用仿真模块;其中:In order to solve the above-mentioned technical problem, the present invention provides a kind of emulation veneer, is used for the development of equipment and product in the field of communication and its control, and this emulation veneer comprises: public framework, interface part and multi-purpose emulation module; Wherein:

公共框架用于作为公用平台来实现所述仿真单板的公共任务;The common framework is used as a common platform to realize the common tasks of the emulated single board;

接口部分分别与公共框架和多用仿真模块连接,用于实现仿真单板与主控板及网络管理系统进行信息交互,并实现仿真单板与其它业务单板进行信息交互;The interface part is respectively connected with the common framework and the multi-purpose simulation module, which is used to realize the information interaction between the simulation board and the main control board and the network management system, and realize the information interaction between the simulation board and other business boards;

多用仿真模块与公共框架连接,用于在所述公共框架的控制下实现仿真各个业务单板的功能。The multi-purpose emulation module is connected with the common framework, and is used for realizing the function of simulating each service single board under the control of the common framework.

进一步地,公共框架包括软件框架和硬件框架,其中:Further, the public framework includes a software framework and a hardware framework, wherein:

软件框架包括嵌入式操作系统、板级支持包以及应用层公共任务调度处理框架;The software framework includes embedded operating system, board-level support package and application layer common task scheduling processing framework;

硬件框架是基于控制器为核心的通用控制模块,包括控制器、存储器、外围接口器件以及可编程逻辑器件;硬件框架用于通过软件框架实现公共框架的公共任务,即实施硬件驱动、与接口通信、调度任务、配置数据以及访问数据库各项功能。The hardware framework is a general-purpose control module based on the controller, including the controller, memory, peripheral interface devices, and programmable logic devices; the hardware framework is used to implement the common tasks of the public framework through the software framework, that is, implement hardware drivers and communicate with interfaces , scheduling tasks, configuring data, and accessing database functions.

进一步地,接口部分包括接口总线以及分别与接口驱动与适配部分连接的通讯接口、其它业务单板信号接口及仿真单板对外接口;其中:Further, the interface part includes an interface bus, a communication interface connected to the interface driver and the adaptation part, other service single-board signal interfaces, and an external interface of the emulation single-board; wherein:

通讯接口用于在仿真单板与主控板或其它业务单板之间进行信息交互;The communication interface is used for information exchange between the simulation board and the main control board or other business boards;

接口驱动与适配部分用于为所述仿真单板与主控板或其它业务单板之间的信息交互提供地址识别及信号驱动功能;The interface driving and adaptation part is used to provide address identification and signal driving functions for the information interaction between the simulation board and the main control board or other business boards;

其它业务单板信号接口用于在仿真单板与其它业务单板之间进行业务信号的传递;The signal interface of other business boards is used to transmit business signals between the simulation board and other business boards;

接口总线与所述接口驱动与适配部分连接,用于传输接口部分的各接口信号;The interface bus is connected to the interface driver and adaptation part, and is used to transmit each interface signal of the interface part;

仿真单板对外接口用于实现仿真单板与控制面板的信息交互,包括:向控制面板输出工作状态指示,从控制面板接收仿真命令信号。The external interface of the emulated single board is used to realize the information interaction between the emulated single board and the control panel, including: outputting the working status indication to the control panel, and receiving the emulation command signal from the control panel.

进一步地,多用仿真模块包括数据库以及配置数据区;其中:Further, the multi-purpose simulation module includes a database and a configuration data area; wherein:

数据库为不同种类业务单板的业务功能的仿真提供配置数据,即业务单板的属性、配置、业务类别以及业务数据;或提供仿真功能模块程序及可编程逻辑器件的仿真程序的存储介质;The database provides configuration data for the simulation of the business functions of different types of business boards, that is, the attributes, configuration, business category and business data of the business boards; or provides the storage medium for the simulation program of the simulation function module and the simulation program of the programmable logic device;

配置数据区包括仿真单板配置数据区和被仿真单板配置数据区;其中,公共框架根据仿真单板配置数据区决定仿真单板的工作模式,并根据被仿真单板配置数据区的配置数据来启动对所述业务单板的业务功能的仿真。The configuration data area includes the emulated single board configuration data area and the emulated single board configuration data area; wherein, the common framework determines the operating mode of the emulated single board according to the emulated single board configuration data area, and according to the configuration data of the emulated single board configuration data area to start the simulation of the service function of the service single board.

进一步地,多用仿真模块还包括单板业务功能仿真模块,其通过软件模块及可编程逻辑器件实现对一个特定业务单板业务功能的仿真;其中:Further, the multi-purpose simulation module also includes a single-board service function simulation module, which realizes the simulation of a specific service single-board service function through software modules and programmable logic devices; wherein:

通过软件模块实现通用配置和特殊配置、模拟量和数字量告警、模拟量和数字量性能、通用维护和特殊维护、业务逻辑以及控制流程的一或多个功能的仿真;Realize the simulation of one or more functions of general configuration and special configuration, analog and digital alarm, analog and digital performance, general maintenance and special maintenance, business logic and control process through software modules;

通过可编程逻辑器件实现对业务单板接口信号的仿真。The simulation of the interface signal of the service single board is realized through the programmable logic device.

为了解决上述技术问题,本发明提供了一种仿真单板的仿真方法,包括步骤:In order to solve the above-mentioned technical problems, the present invention provides a kind of emulation method of emulation veneer, comprises steps:

(a)基于各业务类单板的公共部分构建公共框架,公共框架作为公用平台实现所述仿真单板的公共任务;(a) Construct a public framework based on the public parts of each business class single board, and the public framework realizes the public tasks of the simulation single board as a public platform;

(b)构建多用仿真模块;(b) Build a multi-purpose simulation module;

(c)对多用仿真模块进行数据配置并创建和执行单板仿真处理任务,在公共框架的控制下实现对各个业务单板业务功能的仿真,并实现仿真单板与主控单板及网络管理系统之间的信息交互,以及仿真单板与其它业务单板之间的信息交互。(c) Perform data configuration on the multi-purpose simulation module and create and execute single-board simulation processing tasks, realize the simulation of the business functions of each business single-board under the control of the common framework, and realize the simulation single-board and main control single-board and network management Information exchange between systems, and information exchange between the simulation board and other business boards.

进一步地,步骤(a)包括软件框架及硬件框架的构建,其中:Further, step (a) includes the construction of software framework and hardware framework, wherein:

软件框架包括嵌入式操作系统、板级支持包以及应用层公共任务调度处理框架的构建;The software framework includes the construction of embedded operating system, board-level support package and application layer common task scheduling processing framework;

硬件框架即基于控制器为核心的通用控制模块的构建,用于通过软件框架实现公共框架的公共任务,即实施硬件驱动、与接口通信、任务调度、配置数据以及访问数据库各项功能。The hardware framework is the construction of a general control module based on the controller as the core, which is used to realize the common tasks of the common framework through the software framework, that is, the implementation of hardware drivers, communication with interfaces, task scheduling, configuration data and access to database functions.

进一步地,步骤(b)包括配置数据区及数据库的构建;其中:Further, step (b) includes the construction of configuration data area and database; wherein:

配置数据区的构建包括仿真单板配置数据区和被仿真单板配置数据区的构建;其中,根据仿真单板配置数据区决定所述仿真单板的工作模式,并根据被仿真单板配置数据区的配置数据来启动对所述业务单板的业务功能的仿真;The construction of the configuration data area includes the construction of the simulated single board configuration data area and the simulated single board configuration data area; wherein, the operating mode of the simulated single board is determined according to the simulated single board configuration data area, and the emulated single board is configured according to the simulated single board configuration data. start the emulation of the service function of the service single board by using the configuration data of the service area;

将为被仿真单板配置成功的数据存入所述数据库,以备后续重复仿真业务单板用。The data of successful configuration of the simulated single board will be stored in the database for subsequent repeated emulation of the business single board.

进一步地,步骤(b)还包括单板业务功能仿真模块的构建,用于实现对单个业务板的仿真;其中:Further, step (b) also includes the construction of a single-board service function simulation module, which is used to realize the simulation of a single service board; wherein:

单板业务功能仿真模块通过软件模块实现通用配置和特殊配置、模拟量和数字量告警、模拟量和数字量性能、通用维护和特殊维护、业务逻辑以及控制流程的一或多个功能的仿真;The single board business function simulation module realizes the simulation of one or more functions of general configuration and special configuration, analog and digital alarm, analog and digital performance, general maintenance and special maintenance, business logic and control process through software modules;

单板业务功能仿真模块通过可编程逻辑器件实现对单个业务板接口信号的仿真。The single-board service function simulation module realizes the simulation of a single service board interface signal through a programmable logic device.

进一步地,配置数据区内的数据通过通用的接口维护命令进行分类直接访问,或通过单板仿真维护命令对部分字节进行间接访问。Further, the data in the configuration data area is directly accessed by category through a common interface maintenance command, or indirectly accessed by a part of bytes through a single-board emulation maintenance command.

进一步地,仿真单板的工作模式包括仿真单个业务板、仿真多个业务板以及负载生成器;其中:Further, the working mode of simulating a single board includes simulating a single service board, simulating multiple service boards and load generators; wherein:

仿真单个业务板模式是仿真单板在一个时间内只仿真单个业务板的功能,通过配置所述单个业务板的名称、类型、地址、属性以及业务数据并运行单板业务功能仿真模块实现;The mode of simulating a single service board is the function of simulating a single board at a time to only simulate a single service board, which is realized by configuring the name, type, address, attribute and service data of the single service board and running a single board service function simulation module;

仿真多个业务板模式是仿真单板同时仿真多个业务单板的功能,通过配置多个业务单板的名称、类型、地址、属性以及业务数据实现;The mode of simulating multiple service boards is the function of simulating multiple service boards at the same time, which is realized by configuring the names, types, addresses, attributes and business data of multiple service boards;

负载生成器模式是仿真单板仅作为负载仿真业务单板通用的上报报文功能来提供对所述网络管理系统性能的测试,通过配置所述业务单板的名称、类型、地址、属性以及业务数据实现。The load generator mode is that the simulation single board is only used as a common reporting message function of the load simulation business single board to provide a test of the performance of the network management system. By configuring the name, type, address, attribute and business data realization.

进一步地,仿真单板的工作模式还可以通过硬件拨码的方式实现选择。Furthermore, the working mode of the emulated single board can also be selected through hardware dialing.

进一步地,步骤(c)单板仿真处理任务包括:Further, step (c) single board emulation processing task includes:

通讯接口处理:处理通讯接口收发数据队列中的信息,即网络管理系统通过主控板对仿真单板的收发信息,完成从通讯接口接收信息并放入接收队列,或者将发送队列的数据通过通讯接口发送出去给主控板;Communication interface processing: process the information in the sending and receiving data queue of the communication interface, that is, the network management system sends and receives information to the simulation board through the main control board, completes receiving information from the communication interface and puts it into the receiving queue, or sends the data in the sending queue through communication The interface sends out to the main control board;

命令处理:依次读取接收队列信息并进行处理,同时根据需要将处理结果信息放入到发送队列中去;Command processing: Read and process the receiving queue information in sequence, and put the processing result information into the sending queue as needed;

单板业务处理:包括与业务相关的配置和维护处理、性能采集和处理、告警和事件处理以及单板功能仿真。Single-board business processing: including business-related configuration and maintenance processing, performance collection and processing, alarm and event processing, and single-board function simulation.

进一步地,本发明方法还包括步骤(d):仿真单板若接收到网络管理系统下发的修改配置数据的命令,便选择执行更换不同业务单板的仿真;否则,仿真单板选择维持原业务单板的仿真。Further, the method of the present invention also includes step (d): if the simulation board receives the command to modify the configuration data issued by the network management system, it chooses to execute the simulation of replacing a different service board; otherwise, the simulation board chooses to maintain the original Simulation of service boards.

在研发测试过程中,借助本发明的仿真单板可同时模拟多种业务单板的功能,只要网管系统先开发出来,就可以对各业务单板及业务单板的各子系统进行相应的调试、测试,以提前发现和解决网管系统或子系统其他部分存在的问题,从而加快产品研发进度,提高产品研发效率,并能在一定程度上减少相关业务单板的储备种类和数量,从而降低产品研发过程中的成本。In the process of research and development and testing, with the help of the simulation board of the present invention, the functions of multiple business boards can be simulated at the same time. As long as the network management system is first developed, corresponding debugging can be carried out on each business board and each subsystem of the business board , testing, in order to discover and solve problems in other parts of the network management system or subsystems in advance, so as to speed up the progress of product development, improve the efficiency of product development, and reduce the types and quantities of related business boards to a certain extent. costs in the development process.

在新产品的预研方面,借助本发明的仿真单板可以建立新产品的相关模型,迅速形成概念产品,加快产品预研的进度。In the aspect of pre-research of new products, relevant models of new products can be established by means of the emulation veneer of the present invention, and conceptual products can be quickly formed to speed up the progress of product pre-research.

附图说明 Description of drawings

图1为通信设备单板在系统中应用的结构框图;Fig. 1 is a structural block diagram of the application of the communication equipment single board in the system;

图2为本发明仿真单板的结构框图;Fig. 2 is the structural block diagram of emulation single board of the present invention;

图2a为本发明仿真单板的仿真方法流程图;Fig. 2 a is the flow chart of the emulation method of the emulation single board of the present invention;

图3为本发明一实施例中仿真单板与系统相连的结构框图;Fig. 3 is the block diagram of the structure that the emulation single board is connected with the system in an embodiment of the present invention;

图4为图3所示实施例的方法流程图;Fig. 4 is the method flowchart of the embodiment shown in Fig. 3;

图5为图4所示方法中单板业务处理任务示意图。FIG. 5 is a schematic diagram of a single board service processing task in the method shown in FIG. 4 .

具体实施方式 Detailed ways

本发明提供的一种仿真单板,包括:公共框架、多用仿真模块以及分别与这两部分连接的接口部分。首先,基于各业务类单板的公共部分提炼出公共框架,其作为万能单板的公用平台实现硬件驱动、与接口通信、任务调度、配置数据及对数据库访问的功能。其次,构建多用仿真模块,包括数据库及配置数据以及单板业务功能仿真模块的构建。最后,通过对多用仿真模块进行配置便可实现对不同业务单板的功能仿真,并通过接口部分来实现主控单板、网络管理系统或系统中其他业务单板之间的信息交互。An emulation single board provided by the invention comprises: a common frame, a multi-purpose emulation module and an interface part respectively connected with the two parts. Firstly, based on the common parts of each business board, a common framework is extracted, which serves as a common platform for universal boards to realize the functions of hardware drive, interface communication, task scheduling, configuration data and database access. Secondly, build a multi-purpose simulation module, including database and configuration data, and the construction of a single-board business function simulation module. Finally, by configuring the multi-purpose simulation module, the function simulation of different service boards can be realized, and the information exchange between the main control board, the network management system or other business boards in the system can be realized through the interface part.

以下结合图示及具体实施例来详细说明本发明上述技术方案。The above-mentioned technical solution of the present invention will be described in detail below in combination with illustrations and specific embodiments.

如图2所示,本发明的仿真单板包括公共软硬件框架201、多用仿真模块203以及分别与二者连接的接口部分202。As shown in FIG. 2 , the emulation board of the present invention includes a public software and hardware framework 201 , a multi-purpose emulation module 203 and an interface part 202 respectively connected to the two.

其中,公共框架201基于各业务类单板的公共部分提炼出来,它是仿真单板的公用平台,用以实现硬件驱动、与接口通信、任务调度、配置数据及数据库访问等功能。Among them, the common framework 201 is extracted based on the common parts of each business type board, which is a common platform for emulating boards, and is used to realize functions such as hardware driving, communication with interfaces, task scheduling, configuration data, and database access.

公共框架201包括软件框架和硬件框架,其中:Public framework 201 includes software framework and hardware framework, wherein:

软件框架主要包括嵌入式操作系统(OS,Operating System)、板级支持包(BSP,Board Supporting Package)以及应用层公共任务调度处理框架(包括数据库访问操作)。The software framework mainly includes an embedded operating system (OS, Operating System), a board-level support package (BSP, Board Supporting Package) and a common task scheduling processing framework of the application layer (including database access operations).

硬件框架主要是基于CPU为核心的通用控制模块,由CPU、存储器、外围接口器件及可编程逻辑器件等组成。硬件框架通过软件框架实现公共框架的上述任务。The hardware framework is mainly based on the CPU as the core of the general control module, which is composed of CPU, memory, peripheral interface devices and programmable logic devices. The hardware framework realizes the above tasks of the common framework through the software framework.

接口部分202用于实现仿真单板与主控单板及网络管理系统或其它业务单板进行信息交互,并用于实现仿真单板与控制面板的信息交互。它包括通讯接口、接口驱动与适配部分、其它业务单板信号接口以及仿真单板的对外接口。The interface part 202 is used to realize the information exchange between the simulation board and the main control board, the network management system or other service boards, and to realize the information exchange between the simulation board and the control panel. It includes communication interface, interface driver and adaptation part, signal interface of other business single board and external interface of emulation single board.

其中,通讯接口从应用层上看是实现仿真单板与主控板及网络管理系统或其它业务单板的信息交互;接口驱动与适配部分为仿真单板和主控板之间的信息交互提供地址识别以及信号驱动等功能;其它业务单板信号接口用于实现仿真单板与其它业务单板的进行业务信号的传递;仿真单板的对外接口则用于实现与控制面板的信息交互。Among them, the communication interface is to realize the information interaction between the simulation board and the main control board, the network management system or other business boards from the perspective of the application layer; the interface driver and adaptation part is the information interaction between the simulation board and the main control board Provide functions such as address identification and signal driving; other service board signal interfaces are used to realize the transmission of service signals between the simulation board and other business boards; the external interface of the simulation board is used to realize information interaction with the control panel.

多用仿真模块203还与公共框架连接,通过软件模块(基于公共软件框架实现的功能仿真任务)及可编程逻辑器件实现模拟不同业务单板的功能。The multi-purpose simulation module 203 is also connected to the public framework, and realizes the functions of simulating different service boards through software modules (function simulation tasks realized based on the public software framework) and programmable logic devices.

多用仿真模块203包括三个部分:单板业务功能仿真模块、数据库及配置数据区。其中:The multipurpose simulation module 203 includes three parts: a single board service function simulation module, a database and a configuration data area. in:

单板业务功能仿真模块用来仿真某一特定业务单板的功能。它基于软件任务来模拟该特定业务单板完成以下功能:通用配置和特殊配置功能、模拟量和数字量告警功能、模拟量和数字量性能模拟功能、通用维护和特殊维护功能、单板其他业务逻辑功能以及控制流程的功能。另外,利用可编程逻辑器件实现对接口信号的模拟。该单板业务功能仿真模块能够根据配置数据区的数据实现被仿真单板的功能。The single-board service function simulation module is used to simulate the function of a specific service single-board. It simulates the specific service board based on software tasks to complete the following functions: general configuration and special configuration functions, analog and digital alarm functions, analog and digital performance simulation functions, general maintenance and special maintenance functions, and other services of the board Logic functions as well as functions to control the flow. In addition, the simulation of interface signals is realized by using programmable logic devices. The single board service function simulation module can realize the function of the simulated single board according to the data in the configuration data area.

数据库为不同种类业务板的业务功能仿真提供数据支撑,如:业务单板的属性、配置、业务类别、业务相关数据以及可编程逻辑器的特殊仿真程序。数据库数据掉电不丢失,且可以通过数据库访问命令来批量导入、导出数据或单个导入、导出数据。The database provides data support for the business function simulation of different types of business boards, such as: the properties, configuration, business category, business-related data of business boards, and special simulation programs for programmable logic devices. Database data will not be lost when power is off, and data can be imported or exported in batches or imported or exported individually through database access commands.

配置数据区包括仿真单板配置数据区和被仿真单板配置数据区两部分,该区域数据可以通过通用的接口维护命令进行分类直接访问,也可以通过特殊维护命令对数据区的部分字节进行间接访问。该数据在单板掉电后不丢失,同时可以对正确配置后的数据进行入数据库操作,以备后续根据需要重复使用。仿真单板根据前者的配置数据决定其工作模式,根据后者的配置数据来启动对特定单板的业务功能的仿真。配置数据区的缺省数据为模拟一个业务单板及其业务数据的情况。The configuration data area includes two parts: the emulation board configuration data area and the simulated board configuration data area. The data in this area can be classified and directly accessed through common interface maintenance commands, or part of the bytes in the data area can be modified through special maintenance commands. indirect access. The data will not be lost after the board is powered off, and at the same time, the correctly configured data can be entered into the database for subsequent reuse as needed. The simulation board determines its working mode according to the configuration data of the former, and starts the simulation of the service function of the specific board according to the configuration data of the latter. The default data in the configuration data area is to simulate a service single board and its service data.

对图2所示的万能单板进行配置,可以实现对不同业务单板的仿真。By configuring the universal board shown in Figure 2, the simulation of different service boards can be realized.

本发明仿真单板的仿真方法流程如图2a所示,该流程中的步骤描述如下:The flow of the simulation method of the simulation single board of the present invention is shown in Figure 2a, and the steps in the flow are described as follows:

仿真单板上电开始工作,单板引导成功后,启动主任务。主任务先后完成以下功能:单板硬件初始化工作、创建公共任务、单板信号量和消息队列初始化、单板本身初始化以及创建特殊处理任务。这些功能模块的步骤描述如下:The simulation board is powered on and starts to work. After the board is successfully booted, the main task is started. The main task completes the following functions successively: single-board hardware initialization, creation of common tasks, single-board semaphore and message queue initialization, single-board initialization, and creation of special processing tasks. The steps of these functional modules are described as follows:

步骤210:仿真单板硬件初始化,仿真单板硬件完成上电及操作系统引导;Step 210: Initialize the hardware of the emulated single board, and complete the power-on and booting of the operating system for the emulated single-board hardware;

步骤220:创建公共任务功能,包括看门狗处理任务、定时任务(仿真单板业务处理任务过程中与时间相关的时基)及空闲(IDLE)任务等,是系统正常运行的重要辅助任务;Step 220: Create public task functions, including watchdog processing tasks, timing tasks (time-related time bases in the process of simulating single-board business processing tasks) and idle (IDLE) tasks, etc., which are important auxiliary tasks for the normal operation of the system;

步骤230:仿真单板信号量和消息队列初始化功能,信号量的定义是为保证系统运行时各个任务对资源访问不冲突,消息队列是系统运行时任务之间信息交互的中转站;Step 230: Simulate the single board semaphore and message queue initialization function. The definition of semaphore is to ensure that each task does not conflict with resource access when the system is running. The message queue is a transfer station for information interaction between tasks when the system is running;

步骤240:仿真单板本身初始化功能,完成硬件I/O初始化、中断向量初始化(中断服务程序的安装)、通讯口初始化及读取配置数据区的数据;Step 240: Simulate the initialization function of the single board itself, complete hardware I/O initialization, interrupt vector initialization (interrupt service program installation), communication port initialization and read data in the configuration data area;

根据初始化读取配置数据区的数据,即工作模式和被模拟单板业务配置数据,初始化被模拟单板的配置、告警、性能和维护数据,同时初始化相应的功能仿真模块。According to the data in the configuration data area read by initialization, that is, the working mode and the service configuration data of the simulated single board, the configuration, alarm, performance and maintenance data of the simulated single board are initialized, and the corresponding function simulation modules are initialized at the same time.

仿真单板的工作模式分为以下三种:模拟(即仿真)单个业务板、模拟多个业务板以及负载生成器。其中:The working modes of the simulated single board are divided into the following three types: simulating (that is, simulating) a single service board, simulating multiple service boards, and a load generator. in:

模拟单个业务板:仿真单板在工作过程中,只模拟一个特定的业务单板工作。如需模拟另外一个特定的业务单板,则需要重新配置工作数据:即特定业务单板的名称、类型、属性以及其他业务数据。在这种工作模式下,仿真单板要运行该特定业务单板的业务仿真功能模块。Simulate a single service board: During the working process of the simulated board, only one specific service board is simulated. If another specific business board needs to be simulated, the working data needs to be reconfigured: that is, the name, type, attribute and other business data of the specific business board. In this working mode, the emulation board needs to run the service emulation function module of the specific service board.

模拟多个业务板:仿真单板在工作过程中,可以同时模拟多个特定业务单板工作。需要通过配置数据设置定义这些特定业务单板的名称、类型、虚拟地址、属性以及业务相关数据。在这种工作模式下,仿真单板不启动业务仿真功能模块。Simulate multiple service boards: During the working process of the simulated single board, it can simulate the work of multiple specific business single boards at the same time. The name, type, virtual address, attributes, and business-related data of these specific service boards need to be defined through configuration data settings. In this working mode, the emulation board does not start the service emulation function module.

负载生成器:属于模拟单个业务板的另外一种情况。仿真单板在工作过程中,根据配置数据要求其通过接口频繁快速、大批量上报性能及告警数据给网管系统,以测试网管系统(包括系统设备的主控板)的健壮性、可靠性,即仿真单板仅仅仿真特定业务板通用的上报报文功能,其作为负载提供对网管系统性能的测试。在这种工作模式下,仿真单板不启动业务仿真功能模块。Load generator: It belongs to another case of simulating a single service board. During the working process of the simulation board, according to the configuration data, it is required to report the performance and alarm data to the network management system frequently, quickly and in large quantities through the interface, so as to test the robustness and reliability of the network management system (including the main control board of the system equipment), that is, The emulated single board only emulates the common reporting message function of a specific service board, and serves as a load to test the performance of the network management system. In this working mode, the emulation board does not start the service emulation function module.

另外,仿真单板的工作模式的工作模式还可以通过硬件拨码的方式进行选择。In addition, the working mode of the simulated single board can also be selected through hardware dialing.

步骤250:创建单板仿真处理任务功能,创建的任务包括:通讯口处理任务、命令处理任务以及单板业务处理任务。其中:Step 250: Create a board emulation processing task function, the created tasks include: communication port processing tasks, command processing tasks and single board business processing tasks. in:

通讯口处理任务是处理通信口收发数据队列中的信息,主要是处理网管系统通过主控单板对仿真单板的收发信息,完成从通信口接收信息并放入接收队列,或者将发送队列的数据通过通信口发送出去给主控单板。The communication port processing task is to process the information in the communication port sending and receiving data queue. The data is sent to the main control board through the communication port.

命令处理任务依次读取接收队列信息并进行处理,同时根据需要将处理结果信息放入到发送队列中去。在该任务运行中,如果判断被处理的命令是属于修改配置数据区数据的命令,则正确设置后,被设置的数据入库,同时仿真单板自动完成软件复位操作,即重新完成单板初始化、任务创建启动等操作。复位后单板将按照配置数据区的数据完成仿真功能和其他功能。The command processing task reads the receiving queue information in turn and processes them, and at the same time puts the processing result information into the sending queue as needed. During the running of this task, if it is judged that the processed command belongs to the command to modify the data in the configuration data area, after the correct setting, the set data will be stored in the database, and at the same time, the simulation board will automatically complete the software reset operation, that is, re-complete the board initialization , task creation and startup. After reset, the board will complete the emulation function and other functions according to the data in the configuration data area.

单板业务处理任务完成的功能包括:与业务相关的配置和维护处理、性能采集及处理、告警和事件处理以及单板功能仿真。The functions completed by the single-board service processing task include: service-related configuration and maintenance processing, performance collection and processing, alarm and event processing, and single-board function simulation.

在特殊任务中,单板业务处理任务的初始化和运行状态与被模拟单板本身初始化时获取的工作模式相关。特别是模拟多个业务板时,该任务要完成这些虚拟单板的不同板在位信息、单板配置、性能处理、告警处理和维护处理,并响应网管系统对这些信息的请求和应答。In the special task, the initialization and running state of the business processing task of the single board is related to the working mode obtained when the simulated single board itself is initialized. Especially when simulating multiple service boards, this task is to complete the different board presence information, board configuration, performance processing, alarm processing and maintenance processing of these virtual single boards, and respond to the request and response of the network management system for these information.

在上述任务初始化创建过程中,同时也设置了任务被操作系统调度的优先级别、任务调度模式。During the initial creation process of the above task, the priority level and task scheduling mode of the task scheduled by the operating system are also set.

下面给出本发明的一个具体实施例来帮助对本发明的上述技术方案的理解。A specific embodiment of the present invention is given below to help the understanding of the above-mentioned technical solution of the present invention.

本发明一实施例中仿真单板与系统连接的原理结构如图3所示,系统包括仿真单板、设备接口总线307、与网管系统+主控板308以及系统中其他业务板309。其中,仿真单板包括:The principle structure of the connection between the simulation board and the system in one embodiment of the present invention is shown in Figure 3. The system includes the simulation board, the device interface bus 307, the network management system+main control board 308 and other service boards 309 in the system. Among them, the simulated single board includes:

通用控制系统支撑平台301,是基于CPU为核心的通用控制模块,主要由CPU、存储器、外围接口器件及可编程逻辑器件等组成。The general control system support platform 301 is a general control module based on the CPU as the core, and is mainly composed of CPU, memory, peripheral interface devices and programmable logic devices.

设备接口302,用于实现仿真单板从系统内部物理接口的完全模拟,包括与主控板的通讯接口、其他控制信号接口(仿真单板对被仿真单板与主控板接口的仿真)以及与其他业务板的信号接口。The device interface 302 is used to realize the complete simulation of the internal physical interface of the simulated single board from the system, including the communication interface with the main control board, other control signal interfaces (the simulation board simulates the interface between the simulated single board and the main control board) and Signal interface with other service boards.

功能仿真模块303,即单板业务功能仿真模块,在一定程度上用来模拟相关业务的功能实现,可通过可编程逻辑器件及其辅助电路实现,或通过软件模块实现。前者主要针对业务上有物理信号要求的仿真,如光功率调整、波长调整及衰减器衰减量调整等;后者则侧重于对业务逻辑功能的仿真,如状态转换图。The function simulation module 303, that is, the single-board service function simulation module, is used to simulate the realization of relevant service functions to a certain extent, which can be realized through programmable logic devices and their auxiliary circuits, or through software modules. The former is mainly aimed at the simulation of physical signal requirements on the business, such as optical power adjustment, wavelength adjustment, and attenuator attenuation adjustment, etc.; the latter focuses on the simulation of business logic functions, such as state transition diagrams.

面板接口304,用于实现仿真单板对外接口功能:向控制面板输出工作状态指示,从控制面板接收其他仿真命令信号。The panel interface 304 is used to realize the external interface function of the emulation board: output working status indication to the control panel, and receive other emulation command signals from the control panel.

接口驱动与适配305,用于从物理上实现信号的双向匹配:一是实现与系统设备接口302的匹配,二是实现与面板接口304的匹配。The interface driver and adaptation 305 is used to physically realize the two-way matching of signals: one is to realize the matching with the system device interface 302 , and the other is to realize the matching with the panel interface 304 .

数据库306,提供仿真单板配置数据或仿真功能模块程序的存储介质,供仿真单板在完成不同业务功能时使用,单板软件对数据库可以进行配置和读写访问。The database 306 provides a storage medium for emulation board configuration data or emulation function module programs for use by the emulation board when completing different business functions, and the board software can configure and read and write access to the database.

配置数据310,存储仿真单板的当前配置数据信息。该配置数据的获取可以是仿真单板通过设备接口302下发的配置命令及配置参数;也可以是硬件配置开关选择来定义的数据。The configuration data 310 stores current configuration data information of the simulated single board. The acquisition of the configuration data may be a configuration command and configuration parameters issued by the emulation board through the device interface 302 ; it may also be data defined by selection of a hardware configuration switch.

另外,系统中的其它部分:In addition, other parts of the system:

设备接口总线307,是系统内部接口总线,用于仿真单板与网管系统+主控板308和其他业务单板309之间进行通讯和信息交互,以及网管系统+主控板308对仿真单板的管理。The device interface bus 307 is the internal interface bus of the system, which is used for communication and information interaction between the simulation board and the network management system + main control board 308 and other business boards 309, and for the network management system + main control board 308 to simulate the single board management.

网管系统+主控板308,用于系统后台监控和控制,并对前台的其他业务单板309和仿真单板进行监控和操作,并能够在网管系统上显示监控信息。The network management system + main control board 308 is used for background monitoring and control of the system, monitors and operates other service boards 309 and simulation boards in the foreground, and can display monitoring information on the network management system.

其他业务单板309,系统中的其他业务板,在仿真单板的配合下完成系统或子系统功能。Other business boards 309, other business boards in the system, complete system or subsystem functions with the cooperation of the simulation boards.

图3中,通用控制系统支撑平台301是系统的核心,在操作系统和应用软件的控制下,获取配置数据310中当前配置数据,从而对功能仿真模块303加载相关功能仿真应用,或者启动软件模块任务来完成仿真业务功能。通用控制系统支撑平台301和功能仿真模块303通过接口驱动与适配305和设备接口302将仿真单板连接在设备接口总线307上,分别与网管系统+主控板308以及系统中其他业务板309交互信息(包括电接口信号交互)。通用控制系统支撑平台301和功能仿真模块303通过接口驱动与适配305和面板接口304输出相关指示信息,或从面板接口304接收外部接口输入信息。通用控制系统支撑平台301根据需要对数据库306进行访问(读取或写入配置数据)。In Fig. 3, the general control system support platform 301 is the core of the system, under the control of the operating system and application software, obtains the current configuration data in the configuration data 310, thereby loading the relevant function simulation application to the function simulation module 303, or starting the software module tasks to complete the simulation business functions. The general control system support platform 301 and the function simulation module 303 connect the simulation single board to the device interface bus 307 through the interface driver and adaptation 305 and the device interface 302, and respectively communicate with the network management system + main control board 308 and other service boards 309 in the system Interaction information (including electrical interface signal interaction). The general control system support platform 301 and the function simulation module 303 output relevant instruction information through the interface driver and adaptation 305 and the panel interface 304 , or receive external interface input information from the panel interface 304 . The general control system support platform 301 accesses the database 306 (reads or writes configuration data) as required.

图3所示的系统的工作方式和流程如图4所示,该流程包括如下步骤:The working mode and process of the system shown in Figure 3 are shown in Figure 4, and the process includes the following steps:

401:仿真单板上电;401: Power on the emulation board;

402~406:同本发明上述方法流程的步骤210至步骤250;402-406: the same as step 210 to step 250 of the above-mentioned method flow of the present invention;

407:仿真单板任务调度和运行;407: Simulate single-board task scheduling and operation;

仿真单板初始化完成后,操作系统开始以已定义的任务调度方式及任务的优先级来运行仿真单板各个任务,即仿真单板处于正常运行状态。After the initialization of the emulation board is completed, the operating system starts to run each task of the emulation board in a defined task scheduling mode and task priority, that is, the emulation board is in a normal running state.

408:判断配置数据是否变化,在命令处理任务调度和运行过程中,如果确认接收到网管系统下发的修改仿真单板配置数据的命令,仿真单板执行复位409;否则,仿真单板回到407维持正常工作状态;408: Determine whether the configuration data has changed. During the scheduling and running of the command processing task, if it is confirmed that the command to modify the configuration data of the emulation board is received from the network management system, the emulation board executes reset 409; otherwise, the emulation board returns to 407 maintain normal working status;

409:仿真单板复位后,回到402开始执行;409: After the simulation board is reset, return to 402 to start execution;

410:仿真单板掉电,停止使用。410: The simulation board is powered off and stopped using.

步骤406中仿真单板对单板业务处理任务的执行请参见图5。Refer to FIG. 5 for the execution of the simulated board-to-board service processing task in step 406 .

501:操作系统创建并启动该单板业务处理任务;501: The operating system creates and starts the single-board business processing task;

502:获取仿真单板的工作模式参数;502: Acquiring the operating mode parameters of the simulated board;

工作模式有三种,即模拟单个业务板、模拟多个业务单板以及负载生成器;There are three working modes, namely simulating a single business board, simulating multiple business boards and load generator;

503:根据工作模式参数获取单板配置数据,如单板名称、类型、属性和业务相关数据;503: Obtain board configuration data according to the working mode parameters, such as board name, type, attribute and business-related data;

504:工作在模拟单个业务板方式下;504: Work in the mode of simulating a single service board;

完成板在位信息上报、与业务相关的配置和维护、性能采集处理、告警和事件处理以及业务仿真等功能。Complete functions such as board in-position information reporting, business-related configuration and maintenance, performance collection and processing, alarm and event processing, and business simulation.

505:工作在模拟多个业务板方式下;505: Work in the mode of simulating multiple service boards;

完成多个板在位信息上报、与业务相关的配置和维护、性能采集处理、告警和事件处理等功能;Complete functions such as multiple board in-position information reporting, business-related configuration and maintenance, performance collection and processing, alarm and event processing;

506:工作在负载生成器方式下;506: Work in load generator mode;

完成板在位信息上报、与业务相关的配置和维护处理,重点完成负载数据:生成批量性能数据及告警/事件数据,并且频繁快速将这些数据通过设备接口304发送出去。Complete board presence information reporting, business-related configuration and maintenance processing, focusing on load data: generate batch performance data and alarm/event data, and send these data through the device interface 304 frequently and quickly.

仿真单板工作后能够依据工作模式及其业务配置数据实现被模拟单板属性的主动及被动上报、板在位信息上报以及其他与网管系统相关的接口功能,譬如:仿真单板的配置、性能处理、告警、维护及相关业务逻辑实现的功能。After the simulation board works, it can realize the active and passive reporting of the properties of the simulated board, the reporting of board presence information and other interface functions related to the network management system according to the working mode and its business configuration data, such as: the configuration and performance of the simulation board Functions realized by processing, alarm, maintenance and related business logic.

网管系统通过主控板可以对仿真单板进行配置、性能处理、告警、维护操作和特殊业务功能操作。这样可以在缺单板的情况下完成对网管系统(包括主控板)的相关验证工作。类似地,配置的仿真单板为子系统测试的某一个特定业务单板时,可以与系统设备中的其他业务单板配合完成子系统验证功能。The network management system can perform configuration, performance processing, alarm, maintenance operation and special service function operation on the emulation single board through the main control board. In this way, relevant verification work on the network management system (including the main control board) can be completed in the absence of a single board. Similarly, when the configured emulation board is a specific service board for subsystem testing, it can cooperate with other service boards in the system equipment to complete the verification function of the subsystem.

当工作模式为模拟多个业务单板时,从网管系统来看,就如同某个地址(如子架X、槽位Y)真正插着特定业务单板一样,并且网管系统可以对这些虚拟单板进行配置、性能处理、告警和维护等操作。When the working mode is to simulate multiple service single boards, from the perspective of the network management system, it is as if a certain address (such as subrack X, slot Y) is actually plugged with a specific service single board, and the network management system can control these virtual single boards. The board performs operations such as configuration, performance processing, alarms, and maintenance.

当工作模式为负载生成器时,可以用来测试网管系统(包括主控板)的性能及可靠性方面的内容。When the working mode is load generator, it can be used to test the performance and reliability of the network management system (including the main control board).

工作模式和被仿真单板类型的选择,除了可以通过软件配置方法的实现外,也可以通过硬件配置的方法来选择。如果启动了硬件配置方法,则其优先级高于软件配置方法。The selection of the working mode and the type of the emulated single board can be selected not only through the method of software configuration, but also through the method of hardware configuration. If the hardware configuration method is started, it takes precedence over the software configuration method.

总之,本发明从各单板的接口及逻辑功能上来模拟目标单板,可以实现在一个物理单板上同时模拟承载一种或多种业务单板的属性和功能,并使该万能单板与产品系统中其他部分完成信息交互。本发明解决产品研发过程中缺少单板影响产品研发过程进度、研发效率和研发成本相关的问题。In a word, the present invention simulates the target single board from the interfaces and logical functions of each single board, and can simultaneously simulate the attributes and functions of one or more business single boards on one physical single board, and make the universal single board and Other parts of the product system complete information interaction. The invention solves the problems related to the lack of veneers in the product research and development process affecting the progress of the product research and development process, research and development efficiency and research and development costs.

当然,本发明还可有其他多种实施,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明,做出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。Of course, the present invention can also have other multiple implementations, and those skilled in the art can make various corresponding changes and deformations according to the present invention without departing from the spirit and essence of the present invention. All changes and deformations should belong to the protection scope of the appended claims of the present invention.

Claims (14)

1、一种仿真单板,用于通信及其控制领域中设备和产品的开发,其特征在于,所述仿真单板包括公共框架、接口部分以及多用仿真模块;其中:1, a kind of emulation veneer, be used for the development of equipment and product in the field of communication and control thereof, it is characterized in that, described emulation veneer comprises public frame, interface part and multi-purpose emulation module; Wherein: 所述公共框架用于作为公用平台来实现所述仿真单板的公共任务,所述公共框架包括软件框架和硬件框架,所述硬件框架用于通过所述软件框架实现所述公共框架的所述公共任务,即实施硬件驱动、与接口通信、调度任务、配置数据以及访问数据库各项功能;The common framework is used as a common platform to realize the common tasks of the emulated single board, the common framework includes a software framework and a hardware framework, and the hardware framework is used to realize the described common tasks of the common framework through the software framework. Public tasks, that is, implement hardware drivers, communicate with interfaces, schedule tasks, configure data, and access database functions; 所述接口部分分别与所述公共框架和所述多用仿真模块连接,用于实现所述仿真单板与主控板及网络管理系统进行信息交互,并实现所述仿真单板与其它业务单板进行信息交互;The interface part is respectively connected with the public framework and the multi-purpose simulation module, and is used to realize the information interaction between the simulation single board and the main control board and the network management system, and to realize the interaction between the simulation single board and other business single boards. information exchange; 所述多用仿真模块与所述公共框架连接,包括数据库、配置数据区和单板业务功能仿真模块,用于在所述公共框架的控制下实现仿真各个业务单板的功能,所述数据库为不同种类业务板的业务功能仿真提供数据支撑,所述配置数据区包括仿真单板配置数据区和被仿真单板配置数据区。The multi-purpose simulation module is connected to the common framework, including a database, a configuration data area and a single-board service function simulation module, which is used to realize the function of simulating each business single-board under the control of the common framework, and the database is different The service function simulation of the type service board provides data support, and the configuration data area includes a simulation single board configuration data area and a simulated single board configuration data area. 2、按照权利要求1所述的仿真单板,其特征在于,2. The simulation board according to claim 1, characterized in that, 所述软件框架包括嵌入式操作系统、板级支持包以及应用层公共任务调度处理框架;The software framework includes an embedded operating system, a board-level support package, and an application layer common task scheduling processing framework; 所述硬件框架是基于控制器为核心的通用控制模块,包括控制器、存储器、外围接口器件以及可编程逻辑器件。The hardware framework is a general control module based on a controller as the core, including a controller, a memory, peripheral interface devices and programmable logic devices. 3、按照权利要求1所述的仿真单板,其特征在于,所述接口部分包括接口总线以及分别与接口驱动与适配部分连接的通讯接口、其它业务单板信号接口及仿真单板对外接口;其中:3. The emulation board according to claim 1, wherein the interface part includes an interface bus, a communication interface connected to the interface driver and the adaptation part, other service board signal interfaces, and the emulation board external interface ;in: 所述通讯接口用于在所述仿真单板与主控板或其它业务单板之间进行信息交互;The communication interface is used for information interaction between the simulation board and the main control board or other business boards; 所述接口驱动与适配部分用于为所述仿真单板与所述主控板或所述其它业务单板之间的信息交互提供地址识别及信号驱动功能;The interface driving and adaptation part is used to provide address identification and signal driving functions for information interaction between the emulation board and the main control board or the other service boards; 所述其它业务单板信号接口用于在所述仿真单板与所述其它业务单板之间进行业务信号的传递;The other service single board signal interface is used to transmit service signals between the simulation single board and the other service single board; 所述接口总线与所述接口驱动与适配部分连接,用于传输所述接口部分的各接口信号;The interface bus is connected to the interface driver and adaptation part, and is used to transmit each interface signal of the interface part; 所述仿真单板对外接口用于实现所述仿真单板与控制面板的信息交互,包括:向所述控制面板输出工作状态指示,从所述控制面板接收仿真命令信号。The external interface of the simulation board is used to realize the information interaction between the simulation board and the control panel, including: outputting a working status indication to the control panel, and receiving a simulation command signal from the control panel. 4、按照权利要求1所述的仿真单板,其特征在于,4. The simulation board according to claim 1, characterized in that, 所述数据库为不同种类业务单板的业务功能的仿真提供数据支撑,包括配置数据,即业务单板的属性、配置、业务类别以及业务数据;或仿真功能模块程序及可编程逻辑器件的仿真程序;The database provides data support for the simulation of the business functions of different types of business single boards, including configuration data, that is, the attributes, configuration, business category and business data of the business single boards; or the simulation program of the simulation function module program and the programmable logic device ; 所述配置数据区包括仿真单板配置数据区和被仿真单板配置数据区;其中,所述公共框架根据所述仿真单板配置数据区决定所述仿真单板的工作模式,并根据所述被仿真单板配置数据区的配置数据来启动对所述业务单板的业务功能的仿真。The configuration data area includes a simulated single board configuration data area and a simulated single board configuration data area; wherein, the common framework determines the operating mode of the simulated single board according to the simulated single board configuration data area, and according to the The configuration data in the configuration data area of the simulated single board is used to start the simulation of the service function of the service single board. 5、按照权利要求1所述的仿真单板,其特征在于,所述单板业务功能仿真模块通过软件模块及可编程逻辑器件实现对单个业务板业务功能的仿真;其中:5. The simulation board according to claim 1, wherein the business function simulation module of the board realizes the simulation of the business function of a single business board through a software module and a programmable logic device; wherein: 通过所述软件模块实现通用配置和特殊配置、模拟量和数字量告警、模拟量和数字量性能、通用维护和特殊维护、业务逻辑以及控制流程的一或多个功能的仿真;Realize the simulation of one or more functions of general configuration and special configuration, analog and digital alarm, analog and digital performance, general maintenance and special maintenance, business logic and control flow through the software module; 通过所述可编程逻辑器件实现对所述单个业务板接口信号的仿真。The simulation of the interface signal of the single service board is realized by the programmable logic device. 6、一种仿真单板的仿真方法,包括以下步骤:6. A simulation method for simulating a single board, comprising the following steps: (a)基于各业务类单板的公共部分构建公共框架,所述公共框架作为公用平台实现所述仿真单板的公共任务,所述公共框架包括软件框架和硬件框架,所述硬件框架用于通过所述软件框架实现所述公共框架的所述公共任务,即实施硬件驱动、与接口通信、调度任务、配置数据以及访问数据库各项功能;(a) Construct a public framework based on the common parts of each business type single board, the public framework realizes the public tasks of the simulation single board as a public platform, the public framework includes a software framework and a hardware framework, and the hardware framework is used for Realize the common tasks of the common framework through the software framework, that is, implement various functions of hardware driving, communicating with interfaces, scheduling tasks, configuring data, and accessing databases; (b)构建多用仿真模块,包括数据库、配置数据区和单板业务功能仿真模块;所述数据库为不同种类业务板的业务功能仿真提供数据支撑,所述配置数据区包括仿真单板配置数据区和被仿真单板配置数据区;(b) Build a multi-purpose simulation module, including database, configuration data area and single-board service function simulation module; said database provides data support for the business function simulation of different types of service boards, and said configuration data area includes a simulation single-board configuration data area and the configuration data area of the emulated single board; (c)对所述多用仿真模块进行数据配置并创建和执行单板仿真处理任务,在所述公共框架的控制下实现对各个业务单板业务功能的仿真,并实现所述仿真单板与主控单板及网络管理系统之间的信息交互,以及所述仿真单板与其它业务单板之间的信息交互。(c) perform data configuration on the multi-purpose simulation module and create and execute single-board simulation processing tasks, realize the simulation of each service single-board business function under the control of the public framework, and realize the connection between the simulation single-board and the main board Information interaction between the control single board and the network management system, and information interaction between the simulation single board and other service single boards. 7、按照权利要求6所述的方法,其特征在于,步骤(a)包括包括软件框架及硬件框架的构建,其中:7. The method according to claim 6, wherein step (a) includes the construction of a software framework and a hardware framework, wherein: 所述软件框架包括嵌入式操作系统、板级支持包以及应用层公共任务调度处理框架的构建;The software framework includes the construction of an embedded operating system, a board-level support package, and an application layer common task scheduling processing framework; 所述硬件框架即基于控制器为核心的通用控制模块的构建。The hardware framework is based on the construction of a general control module with the controller as the core. 8、按照权利要求6所述的方法,其特征在于,步骤(b)中:8. The method according to claim 6, wherein in step (b): 所述配置数据区的构建包括仿真单板配置数据区和被仿真单板配置数据区的构建;其中,根据所述仿真单板配置数据区决定所述仿真单板的工作模式,并根据所述被仿真单板配置数据区的配置数据来启动对所述业务单板的业务功能的仿真;The construction of the configuration data area includes the construction of the simulated single board configuration data area and the simulated single board configuration data area; wherein, the operating mode of the simulated single board is determined according to the simulated single board configuration data area, and according to the The configuration data in the configuration data area of the simulated single board is used to start the simulation of the business function of the business single board; 将为被仿真单板配置成功的数据存入所述数据库,以备后续重复仿真业务单板用。The data of successful configuration of the simulated single board will be stored in the database for subsequent repeated emulation of the business single board. 9、按照权利要求8所述的方法,其特征在于,步骤(b)还包括单板业务功能仿真模块的构建,用于实现对单个业务板功能的仿真;其中:9. The method according to claim 8, characterized in that, step (b) also includes the construction of a single-board service function simulation module, which is used to realize the simulation of a single service board function; wherein: 所述单板业务功能仿真模块通过软件模块实现通用配置和特殊配置、模拟量和数字量告警、模拟量和数字量性能、通用维护和特殊维护、业务逻辑以及控制流程的一或多个功能的仿真;The single-board service function simulation module realizes one or more functions of general configuration and special configuration, analog and digital alarm, analog and digital performance, general maintenance and special maintenance, business logic and control flow through software modules. simulation; 所述单板业务功能仿真模块通过可编程逻辑器件实现对所述单个业务板接口信号的仿真。The single-board service function simulation module realizes the simulation of the interface signal of the single service board through a programmable logic device. 10、按照权利要求8所述的仿真单板,其特征在于,所述配置数据区内的数据通过通用的接口维护命令进行分类直接访问,或通过单板仿真维护命令对部分字节进行间接访问。10. The emulation board according to claim 8, characterized in that the data in the configuration data area is directly accessed by category through a common interface maintenance command, or indirectly accessed by some bytes through a board emulation maintenance command . 11、按照权利要求8所述的方法,其特征在于,所述仿真单板的工作模式包括仿真单个业务板、仿真多个业务板以及负载生成器;其中:11. The method according to claim 8, wherein the operating mode of the simulated single board includes simulating a single service board, simulating multiple service boards and load generators; wherein: 仿真单个业务板模式是所述仿真单板在一个时间内只仿真单个业务板的功能,通过配置所述单个业务单板的名称、类型、地址、属性以及业务数据并运行所述单板业务功能仿真模块实现;The mode of simulating a single service board is that the emulated single board only simulates the function of a single service board at a time, by configuring the name, type, address, attribute and business data of the single service board and running the business function of the single board Implementation of the simulation module; 仿真多个业务板模式是所述仿真单板同时仿真多个业务单板的功能,通过配置所述多个业务单板的名称、类型、地址、属性以及业务数据实现;The mode of simulating a plurality of service boards is the function of the emulation single board to simultaneously simulate a plurality of service boards, which is realized by configuring the names, types, addresses, attributes and business data of the multiple service boards; 负载生成器模式是所述仿真单板仅作为负载仿真业务单板通用的上报报文功能来提供对所述网络管理系统性能的测试,通过配置所述业务单板的名称、类型、地址、属性以及业务数据实现。The load generator mode is that the simulation single board is only used as a general reporting message function of the load simulation business single board to provide a test of the performance of the network management system, by configuring the name, type, address, and attribute of the business single board And business data realization. 12、按照权利要求8或11所述的方法,其特征在于,所述仿真单板的工作模式还通过硬件拨码的方式实现选择。12. The method according to claim 8 or 11, characterized in that, the operating mode of the emulated single board is also selected through hardware dialing. 13、按照权利要求6所述的方法,其特征在于,步骤(c)所述单板仿真处理任务包括:13. The method according to claim 6, wherein the board simulation processing task in step (c) comprises: 通讯接口处理:处理所述通讯接口收发数据队列中的信息,即网络管理系统通过主控板对所述仿真单板的收发信息,完成从所述通讯接口接收信息并放入接收队列,或者将发送队列的数据通过所述通讯接口发送出去给所述主控板;Communication interface processing: process the information in the sending and receiving data queue of the communication interface, that is, the network management system sends and receives information to the simulation single board through the main control board, completes receiving information from the communication interface and puts it into the receiving queue, or puts The data in the sending queue is sent to the main control board through the communication interface; 命令处理:依次读取所述接收队列信息并进行处理,同时根据需要将处理结果信息放入到发送队列中去;Command processing: sequentially read and process the receiving queue information, and put the processing result information into the sending queue as required; 单板业务处理:包括与业务相关的配置和维护处理、性能采集和处理、告警和事件处理以及单板功能仿真。Single-board business processing: including business-related configuration and maintenance processing, performance collection and processing, alarm and event processing, and single-board function simulation. 14、按照权利要求6或13所述的方法,其特征在于,所述方法还包括步骤(d):所述仿真单板若接收到网络管理系统下发的修改配置数据的命令,便选择执行更换不同业务单板的仿真;否则,所述仿真单板选择维持原业务单板的仿真。14. The method according to claim 6 or 13, characterized in that the method further comprises step (d): if the emulated single board receives a command for modifying configuration data issued by the network management system, it chooses to execute The simulation of a different service board is replaced; otherwise, the simulation board chooses to maintain the simulation of the original service board.
CN200710136384A 2007-07-26 2007-07-26 A simulation single board and simulation method thereof Expired - Fee Related CN100589422C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710136384A CN100589422C (en) 2007-07-26 2007-07-26 A simulation single board and simulation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710136384A CN100589422C (en) 2007-07-26 2007-07-26 A simulation single board and simulation method thereof

Publications (2)

Publication Number Publication Date
CN101145989A CN101145989A (en) 2008-03-19
CN100589422C true CN100589422C (en) 2010-02-10

Family

ID=39208303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710136384A Expired - Fee Related CN100589422C (en) 2007-07-26 2007-07-26 A simulation single board and simulation method thereof

Country Status (1)

Country Link
CN (1) CN100589422C (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848106A (en) * 2010-04-27 2010-09-29 深圳德迈特科技有限公司 Electronic intelligent control method for wiring system and electronic wiring system
CN102271046A (en) * 2010-06-01 2011-12-07 杭州华三通信技术有限公司 Method and device for generating configuration file by utilizing virtual single board
CN102495778B (en) * 2011-12-13 2014-10-22 曙光信息产业(北京)有限公司 System and method for testing single-packet regular matching logic
CN102930090B (en) * 2012-10-22 2015-12-16 中兴通讯股份有限公司 Higher level lanquage realizes the modeling method of hardware unblock assignment
CN106406427A (en) * 2015-07-27 2017-02-15 中兴通讯股份有限公司 Single board
CN107547253A (en) * 2017-06-30 2018-01-05 新华三技术有限公司 A kind of collocation method and device
CN107277168B (en) * 2017-07-26 2024-03-05 河南思维轨道交通技术研究院有限公司 Cloud multi-user supporting remote wireless simulation debugging system and method
CN110536188B (en) * 2019-07-18 2022-02-01 烽火通信科技股份有限公司 OLT equipment management method and system
CN111338818B (en) * 2020-02-24 2024-08-02 北京声智科技有限公司 Event processing method and related equipment
CN113641606B (en) * 2021-08-09 2024-04-19 国家计算机网络与信息安全管理中心 Access method, device and equipment of service board and readable storage medium
CN118171415A (en) * 2022-12-09 2024-06-11 中兴通讯股份有限公司 Modeling method, simulation method, electronic device and readable medium for optical transport network

Also Published As

Publication number Publication date
CN101145989A (en) 2008-03-19

Similar Documents

Publication Publication Date Title
CN100589422C (en) A simulation single board and simulation method thereof
CN104299466A (en) Remote hardware experimental method and system based on cloud computing platform
US20060015866A1 (en) System installer for a reconfigurable data center
CN110134446A (en) Start the method for PCIE device scanning
CN115168129B (en) Automatic test system of implant simulator and SSD (solid State disk) test method
CN111209154A (en) Method for realizing virtual 1553B bus equipment
CN117785593B (en) A UVM-based xHCI driver implementation system and method
CN102662696A (en) Method and device for quickly starting massively parallel computer system
CN116089281A (en) Chip testing method, testing platform and device
CN111371610A (en) A network card firmware batch refresh method, system, terminal and storage medium
CN112764981B (en) Cooperative testing system and method
CN115827168B (en) An Optimization Method for Virtual Machine Communication in Binary Simulation Environment
CN102880479B (en) A kind of method of remotely modifying BIOS property parameters and device
CN110704365A (en) Reconstruction device based on FPGA
CN113658351B (en) Method and device for producing product, electronic equipment and storage medium
CN113835762B (en) Method and system for updating default configuration of hard disk backboard
CN116932130A (en) A simulation experimental environment deployment method based on OpenStack
CN114610440A (en) Method and system for constructing operating environment of simulator system
CN108958776A (en) A kind of BMC firmware update and device based on order line
CN112667363A (en) Method and device for simulating cloud physical host by using virtual machine based on cloud platform
CN116107836A (en) Hardware equipment operation monitoring system and method
CN102004667A (en) SOPC (system on programmable chip) software and hardware cooperative system based on Linux
CN111221687B (en) Cloud storage testing system and method
CN113836060B (en) A distributed real-time simulation platform suitable for simulation models and process models
CN113904945B (en) Internet of things equipment simulation debugging method and device, electronic device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20151111

Address after: 430223 East Lake Wuhan New Technology Development Zone Hua Hua Road, Optics Valley Industrial Park, ZTE building, building No. 3, building

Patentee after: WUHAN ZHONGXING SOFTWARE CO., LTD.

Address before: 518057 Nanshan District high tech Industrial Park, Guangdong, South Road, science and technology, ZTE building, legal department

Patentee before: ZTE Corporation

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100210

Termination date: 20190726