Board stage supporting packet simulation method

A board-level support package and simulation method technology, applied in the field of network access servers, can solve problems such as the inability to provide a pure software debugging support platform, and the use of simulation tools is complicated, and achieves the effect of convenient implementation, simple method and reduced development cost.

CN1420434AInactive Publication Date: 2003-05-28ZTE CORP
0 Cites 9 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2003-05-28
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

A simulation method for board-class supporting software kit includes designing simulative object, adding TCP / IP link state monitor to operating system and informing the simulative object of the statevariation, creating configuration file containing master and backup labels, adding the simulative object to original single-board items in debugging computer and creating single-board application, downloading it to object computer for running, obtaining the master and backup label's values and sending them to initializing flow, and making relative operations in system state. Its advantages are simple method and low cost.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to a kind of BSP (Board Specific Package, board-level support package) emulation, belongs to the field of network access server, specifically, relates to a kind of PC (Personal Computer) machine environment to simulate BSP partial function so as to carry out the debugging of upper layer communication program Methods. Background technique

[0002] According to the "Network Access Server (NAS) Test Specification" promulgated by the Ministry of Information Industry of the People's Republic of China, when the access server is in system operation (including power-on and start-up), it is necessary to detect changes in hardware discrete signals in real time through the BSP (such as: Board slot number, board hot swap, active / standby switchover), and perform certain operations on the hardware through the BSP according to the system operating status (such as setting the active device to be invalid). Usually, in system development, ...

Examples

Embodiment 1

[0026] When testing the upper layer software in the PC environment based on the BSP simulation method, the basic framework for debugging is P CPB (Primary Control Process Board, main main control board) + B CPB (Backup Control Process Board, standby main control board) + P SPB (Primary Switch Process Board, main switching board) + B SPB (Backup Switch Process Board, standby switching board) + ATM (Asychronous Transfer Mode, this refers to the user interface card in asynchronous transfer mode). Embodiment 1: System joint debugging in the BSP simulation platform PC environment

[0027] Basic configuration requirements, the debugging machine (HOST) and the target machine (TARGET) are both PCs, and a separate LAN is used for communication between HOST and TARGET.

[0028] Perform code-level debugging based on the BSP emulation method according to the following steps.