CN1725181A - Buffering method of SDH class logical simulation excitation data - Google Patents

Buffering method of SDH class logical simulation excitation data Download PDF

Info

Publication number
CN1725181A
CN1725181A CN 200410054777 CN200410054777A CN1725181A CN 1725181 A CN1725181 A CN 1725181A CN 200410054777 CN200410054777 CN 200410054777 CN 200410054777 A CN200410054777 A CN 200410054777A CN 1725181 A CN1725181 A CN 1725181A
Authority
CN
China
Prior art keywords
fifo device
fifo
data
message
module
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.)
Granted
Application number
CN 200410054777
Other languages
Chinese (zh)
Other versions
CN1300686C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2004100547772A priority Critical patent/CN1300686C/en
Publication of CN1725181A publication Critical patent/CN1725181A/en
Application granted granted Critical
Publication of CN1300686C publication Critical patent/CN1300686C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This invention relates to a method for buffering SDH kind logic emulation excitation data including: A, a message generation module generates an initial message to be put into a FIFO device, B, a LAPS package module takes a certain volume of message from the FIFO device to package and put them into a second FIFO device, C, a VC4 virtual cascade image module gets the packaged message from the second FIFO device to carry out VC4 image to generate STM-1 frame to be put in a third FIFO device, D, a bus interface conversion module gets STM-1 frame data from a third FIFO device for the bus interface conversion to generate bus data to be put in a fourth FIFO device to be transmitted to a tested device.

Description

A kind of SDH logic of class emulation excited data caching method
Technical field
The present invention relates to communicate by letter or the emulation technology of electronic applications, refer to a kind of SDH logic of class emulation excited data caching method especially.
Background technology
At SDH (Synchronous Digital Hierarchy, SDH (Synchronous Digital Hierarchy)) in the logic of class emulation, it is the work of a complexity that excitation produces, because the agreement that SDH relates to is numerous, complex disposal process, middle meeting produces a large amount of ephemeral datas, and how reasonably managing and using these ephemeral datas is the difficult point that the emulation personnel face always.
At present in the emulation of the SDH logic of class, it is that each required module in the excitation production process is designed to one by one independently program (be presented as and contain the principal function that a name is called main) in C/C++ that excitation produces the method that adopts, each independently the ephemeral data that produces of program will write in the file, next then relevant stand-alone program obtains needed data and handles from this document, after disposing, write once more in the another one file and use, by that analogy for next relevant stand-alone program.Processing procedure is shown in Figure 1.
As mentioned above, can produce a large amount of ephemeral datas because the complicacy of SDH logic of class agreement makes in the processing procedure, prior art is that all ephemeral datas are deposited in the data file, and data file is to be kept on the hard disk, and its storage speed is slow.Because data are not one-time writes, so need the frequent visit hard disk, make simulation efficiency very low, simulation velocity is very slow.Because each module all is an independent executable program one by one, each other without any contact, make the excitation production process not control on the whole in addition, the automaticity of emulation is not high; And the parameter of each module all is the form configuration by file, and in a single day parameter configures the back and just be difficult to change once more, use to the user and bring very big inconvenience.
Summary of the invention
The invention provides a kind of SDH logic of class emulation excited data caching method, solve that SDH logic of class simulation velocity is slow, parameter configuration and revise the problem of inconvenience.
SDH logic of class emulation excited data caching method provided by the invention comprises the following steps:
A) a message generation module generates initial message, and initial message is put into a FIFO (first in first out) device;
B) a LAPS module obtains message and carries out LAPS encapsulation from a FIFO device, and the message after the encapsulation is put into the 2nd FIFO device;
C) message obtained from the 2nd FIFO device after the encapsulation of a VC4 Virtual Concatenation mapping block carries out the mapping of VC4 Virtual Concatenation, generates the STM-1 frame, puts into the 3rd FIFO device;
D) a bus interface modular converter is obtained the STM-1 frame data from the 3rd FIFO device, carries out the bus interface conversion, generates bus data, puts into the 4th FIFO device; Again the bus data that generates is sent to tested equipment.
According to said method of the present invention, described each module all is provided with corresponding graphical parameter configuration interface, realizes dynamic access and revises the parameter of each module.
According to said method of the present invention, described each module is in a described FIF0 device, the 2nd FIFO device, the 3rd FIFO device before the reading of data, to whether be that sky is checked to the FIFO device of being visited,, then end reading of data if described FIF0 device is empty.。
According to said method of the present invention, pass through PLI (language interface able to programme) interface Data transmission between described bus interface modular converter and the tested equipment.
According to said method of the present invention, the described first, second, third and the 4th FIFO device is a calculator memory.
Advantage of the present invention is as follows:
1, improves the efficient that excitation produces in the emulation of the SDH logic of class, accelerate simulation velocity;
2, excitation in the emulation of the SDH logic of class is produced the various protocols that relates to and be combined into an integral body, improve the automaticity of emulation;
3, the present invention no longer needs to be saved in the file to go to the ephemeral data of centre, and all is kept in the internal memory of computing machine in the mode of FIFO, can be fast the ephemeral data of centre be conducted interviews.
Description of drawings
Fig. 1 is a SDH logic of class emulation excited data production process synoptic diagram in the prior art.
Fig. 2 is a SDH logic of class emulation excited data production process synoptic diagram of the present invention.
Embodiment
Technical scheme provided by the invention is different from prior art scheme part and is: the one, consider all modules that SDH logic of class emulation excitation produces on the whole, and no longer be independent of each other between each module, but front and back are related; The 2nd, employing FIFO device (storage medium can be the internal memory of computing machine) is replaced the file (storage medium is the hard disk of computing machine) in original technical scheme, can accelerate to encourage the access speed of generating routine so greatly to middle data, and the parameter of all configurations leaves in the internal memory, can be by designing the value of the parameter that corresponding each module of graphic interface dynamic access relates to.
The course of work that SDH logic of class emulation excited data of the present invention produces is described below as shown in Figure 2:
1, generates the initial message that needs by a message generation module, initial message is put into FIFO A;
2, obtain a certain amount of message from the FIFO A of initial message and carry out LAPS (Link AccessProcedure-SDH, link access procedure SDH) encapsulation, the message after the encapsulation is put into FIFO B;
3, the data stream that obtains from FIFO B after the encapsulation process is carried out the mapping of VC4 Virtual Concatenation, generates the STM-1 frame, puts into FIFO C;
4, from FIFO C, obtain the STM-1 frame data, carry out the bus interface conversion and generate bus data, put into FIFO D; From FIFO D, obtain bus data at last, send to DUT by the PLI interface.
Each module that occurs in Fig. 2 all has corresponding patterned parameter configuration interface, can visit the parameter that (read and revise) this module relates to dynamically, and whether each module can be that sky is checked to accessed FIFO all, if FIFO is that empty situation is (in processing procedure, pass through the FIFO swap data between the module, be to put into FIFO after the good data of resume module of front to take for subordinate's module, when taking data among the FIFO, subordinate's module may get sky to the data among the FIFO, and the data among the possibility FIFO are not enough, also need to previous stage module request for data.), then to return, treatment scheme is ended.
FIFO is a kind of buffer storage of first in first out, shows as one section internal memory that computing machine distributes in computing machine.Can use various FIFO devices to realize.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claims.

Claims (5)

1, a kind of SDH logic of class emulation excited data caching method is characterized in that, comprises the following steps:
A) a message generation module generates initial message, and initial message is put into a FIFO (first in first out) device;
B) a LAPS package module is obtained message and is carried out LAPS encapsulation from a FIFO device, and the message after the encapsulation is put into the 2nd FIFO device;
C) message obtained from the 2nd FIFO device after the encapsulation of a VC4 Virtual Concatenation mapping block carries out the mapping of VC4 Virtual Concatenation, generates the STM-1 frame, puts into the 3rd FIFO device;
D) a bus interface modular converter is obtained the STM-1 frame data from the 3rd FIFO device, carries out the bus interface conversion, generates bus data, puts into the 4th FIFO device; Again the bus data that generates is sent to tested equipment.
2, SDH logic of class emulation excited data caching method as claimed in claim 1 is characterized in that: described each module all is provided with corresponding graphical parameter configuration interface, realizes dynamic access and revises the parameter of each module.
3, SDH logic of class emulation excited data caching method as claimed in claim 1 or 2, it is characterized in that: described each module is in a described FIFO device, the 2nd FIFO device, the 3rd FIFO device before the reading of data, to whether be that sky is checked to the FIFO device of being visited, if described FIFO device is empty, then end reading of data.
4, SDH logic of class emulation excited data caching method as claimed in claim 1 or 2 is characterized in that: pass through PLI (language interface able to programme) interface Data transmission between described bus interface modular converter and the tested equipment.
5, SDH logic of class emulation excited data caching method as claimed in claim 4, it is characterized in that: the described first, second, third and the 4th FIFO device is a calculator memory.
CNB2004100547772A 2004-07-20 2004-07-20 Buffering method of SDH class logical simulation excitation data Expired - Fee Related CN1300686C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100547772A CN1300686C (en) 2004-07-20 2004-07-20 Buffering method of SDH class logical simulation excitation data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100547772A CN1300686C (en) 2004-07-20 2004-07-20 Buffering method of SDH class logical simulation excitation data

Publications (2)

Publication Number Publication Date
CN1725181A true CN1725181A (en) 2006-01-25
CN1300686C CN1300686C (en) 2007-02-14

Family

ID=35784870

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100547772A Expired - Fee Related CN1300686C (en) 2004-07-20 2004-07-20 Buffering method of SDH class logical simulation excitation data

Country Status (1)

Country Link
CN (1) CN1300686C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010020191A1 (en) * 2008-08-20 2010-02-25 中兴通讯股份有限公司 Method and apparatus for improving the effect of the synchronous digital hierarchy virtual concatenation delay compensation buffer
CN1968065B (en) * 2006-06-23 2011-04-06 华为技术有限公司 Microwave communication service transmission method and system
CN101145875B (en) * 2007-10-17 2011-05-11 中兴通讯股份有限公司 Method and device for implementing multi-channel encapsulation in SDH virtual cascading frame maker
CN102420734A (en) * 2011-12-13 2012-04-18 北京交控科技有限公司 System for realizing topological structure of controller area network (CAN) bus
CN101656742B (en) * 2009-08-25 2013-04-10 南京普天网络有限公司 Device and method for testing connectivity of 63-path bridge service channel in STM-1

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9300913D0 (en) * 1993-01-19 1993-03-10 Madge Networks Ltd Interface apparatus
KR0169247B1 (en) * 1996-08-09 1999-02-01 양승택 Atm cell physical layer handling circuit based on stm
CN1097932C (en) * 1997-12-31 2003-01-01 华为技术有限公司 System communication control device for synchronous digit transferring arrangement
CN1250294A (en) * 1999-07-27 2000-04-12 邮电部武汉邮电科学研究院 Adaption method for fusion of Ethernet with synchronizing digital system or synchronizing optical network
US7133821B2 (en) * 2002-11-22 2006-11-07 Texas Instruments Incorporated Read FIFO scheduling for multiple streams while maintaining coherency

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968065B (en) * 2006-06-23 2011-04-06 华为技术有限公司 Microwave communication service transmission method and system
CN101145875B (en) * 2007-10-17 2011-05-11 中兴通讯股份有限公司 Method and device for implementing multi-channel encapsulation in SDH virtual cascading frame maker
WO2010020191A1 (en) * 2008-08-20 2010-02-25 中兴通讯股份有限公司 Method and apparatus for improving the effect of the synchronous digital hierarchy virtual concatenation delay compensation buffer
CN101656742B (en) * 2009-08-25 2013-04-10 南京普天网络有限公司 Device and method for testing connectivity of 63-path bridge service channel in STM-1
CN102420734A (en) * 2011-12-13 2012-04-18 北京交控科技有限公司 System for realizing topological structure of controller area network (CAN) bus

Also Published As

Publication number Publication date
CN1300686C (en) 2007-02-14

Similar Documents

Publication Publication Date Title
CN100542178C (en) Multi-source heterogeneous data integrated system based on data flow technique
Bhatt et al. Parallel simulation techniques for large-scale networks
CN101150488B (en) A receiving method for zero copy network packet
CN104820657A (en) Inter-core communication method and parallel programming model based on embedded heterogeneous multi-core processor
CN1300686C (en) Buffering method of SDH class logical simulation excitation data
CN111030998A (en) Configurable protocol analysis method and system
CN102609990A (en) Massive-scene gradually-updating algorithm facing complex three dimensional CAD (Computer-Aided Design) model
JP6680454B2 (en) LSI chip stacking system
Ruiz et al. ITER fast plant system controller prototype based on PXIe platform
JP2023517921A (en) Processors and implementations, electronics, and storage media
CN100517498C (en) First in first out memory without read delay
US8856491B2 (en) Garbage collection implemented in hardware
CN104731650A (en) Acquisition method and device for system interface call information
CN114840339A (en) GPU server, data calculation method and electronic equipment
CN109829094A (en) Distributed reptile system
CN107391044A (en) A kind of creation method and creating device of cloud hard disk
CN110263018A (en) Configuration data processing method and device and server
CN114281412A (en) Message processing method and device, electronic equipment and storage medium
JP2022058737A (en) Data access method, device, electronic apparatus, storage medium and computer program
CN108073706B (en) Method for transversely displaying longitudinal data of simulation system historical library
CN111797497A (en) Communication method and system for electromagnetic transient parallel simulation
Strehl Symbolic methods applied to formal verification and synthesis in embedded systems design
Straumann et al. The SLAC Common-Platform Firmware for High-Performance Systems
US20060047741A1 (en) Method and device for quickly processing communication protocol by replacing software with hardware
US20230267084A1 (en) Tracing for High Bandwidth Masters in SoC

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
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: 20070214

Termination date: 20180720