CN101304297A - Method and apparatus for generating checking case - Google Patents
Method and apparatus for generating checking case Download PDFInfo
- Publication number
- CN101304297A CN101304297A CNA2008100676818A CN200810067681A CN101304297A CN 101304297 A CN101304297 A CN 101304297A CN A2008100676818 A CNA2008100676818 A CN A2008100676818A CN 200810067681 A CN200810067681 A CN 200810067681A CN 101304297 A CN101304297 A CN 101304297A
- Authority
- CN
- China
- Prior art keywords
- data
- burst
- script
- module
- data block
- 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
Links
Images
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a verification case generation method, comprising the following steps: generating coding normal data of each single service of a circuit CS field; splicing the script of the single service coding normal data and obtaining a complete data block; generating the data block into a burst; modulating the burst, thus generating modulation data. The embodiment of the invention also discloses a verification case generation device, comprising a normal data generation module, a script splicing module, a burst generation module and a modulation module. By splicing the script of the single service coding normal data, the verification case generation method of the invention realizes verifying the multi-frame combination services.
Description
Technical field
The present invention relates to communication technical field, specifically, relate to a kind of checking case generation method and device.
Background technology
Checking is the process that is used for proving that the function of design is whether correct, and checking case and verification environment are two key elements of chip checking.The checking case of existing baseband chip generally adopts PERL (PracticalExtraction and Report Language, the practical extracts and schedule language) to realize.Checking case generally comprises configuration file and data streaming file.Wherein, configuration file is to the different register configuration parameter of circuit input, to reach the detection under the circuit different conditions; Data streaming file is to the different data block of circuit input.
And the reference model of checking is that the behavioral scaling of circuit function is described with the function and the algorithm of high-level language realization circuit.Reference model is corresponding to up coding module algorithm link, and its function at first is verified in the software algorithm checking, and in Circuit verification, whether correct reference model as testing circuit function a standard.The uplink downlink reference model made in the general C language that adopts, and realizes the performance evaluation to each channel.When checking, call the executable program of reference model by the PERL script, obtain the input and output data of normative reference model, and will import data as DUT (Design Under Test, tested design) excited data disposes frame sequence and the frame sequence parameter consistent with reference model, obtains the data of DUT, then the data of DUT are compared with the standard dateout, be verified the use-case execution result.
Yet, the inventor finds in realizing process of the present invention, the input and output data of the normative reference model of prior art are to obtain from single business reference model, for the checking case that needs the multiframe combination as speech business, prior art can't produce the normal data after the up coding of baseband chip, in order to checking.
Summary of the invention
Embodiment of the invention technical problem to be solved is to provide a kind of generation method and device of checking case, solves the defective that prior art can't be verified the multiframe combination services.
The embodiment of the invention is achieved in that
A kind of checking case generation method comprises: the single operation code normal data of each of generative circuit CS territory; Described single operation code normal data is carried out the script splicing, obtain complete data block; Described data block is generated burst burst; Described burst is modulated, generate modulating data.
A kind of checking case generating apparatus comprises: the normal data generation module is used to generate each single operation code normal data in CS territory; The script concatenation module is used for single operation code normal data is carried out the script splicing, obtains complete data block; The burst generation module is used for described data block is generated burst; Modulation module is used for described burst is modulated, and generates modulating data.
The embodiment of the invention has realized the multiframe combination services is verified by single operation code normal data being carried out the script splicing.
Description of drawings
Fig. 1 is the method flow diagram of the embodiment of the invention one;
Fig. 2 is the method flow diagram of the embodiment of the invention two;
Fig. 3 is the apparatus structure schematic diagram of the embodiment of the invention three.
Embodiment
Further specify the technical scheme of the embodiment of the invention below in conjunction with accompanying drawing.
As shown in Figure 1, the embodiment of the invention one provides a kind of checking case generation method, comprising:
Each single operation code normal data in step S101, generation CS territory (Circuit Switched domain, circuit domain).
Step S102, single operation code normal data is carried out script splicing, obtain complete data block.Described script splicing can adopt the script opsition dependent to splice.
Step S103, described data block is generated burst (burst).
Step S104, described burst is modulated, generate modulating data.
The embodiment of the invention two also provides a kind of checking case generation method, as shown in Figure 2, comprising:
Interleaved encoded data 116bits in each single professional piece in step S201, the generation CS territory.
Insufficient in order further to solve the checking that available technology adopting customization mode delta frame sequence causes, in this step, can adopt the mode of random schedule to generate interleaved encoded data in the piece, interleaved encoded data is a frame sequence in this piece, and the frame genesis sequence adopts random schedule in possible combination.
Step S202, employing script carry out interblock with interleaved encoded data in single business module of different business and interweave, and form complete 116bits data block.
Step S203, for the 116bits data block after interweaving is carried out a better protection, can encrypt described data block.Coded data after interblock interweaved corresponding frame number and 64 bit encryptions at random continuously obtain the encryption random bit of 114bits, carry out computations with described interleaved encoded data then, draw the enciphered data of final 114bits.The control channel indicating bit here (generally be the 57th and 58bit) is generally can not be encrypted.
Step S204, the 116bits data block after will encrypting add tail bit, training sequence bit and protection bit at interval, generate burst.
Generating preceding 4 burst as speech frame effectively fills for the idol position, 4 burst in back are that effectively fill strange position, except at the beginning 4 burst effectively fill entirely, several burst of back are that interblock interweaves, also can form a full frame together because run into the SID control frame with former frame, the SID_FIRST frame that for example indicates the voice end is made up of four burst, the coded data part of its each burst only in the idol position effectively, back 4 burst with last speech frame only fill odd bits like this, just gather into a full frame, generate burst then together.
Step S205, burst is modulated according to separately type selecting modulation system, generate modulating data.The modulating data that generates is used for comparing with DUT.
As shown in Figure 3, the embodiment of the invention three provides a kind of checking case generating apparatus, comprising:
Normal data generation module 31 is used to generate each single operation code normal data in CS territory.
Wherein, described normal data generation module 31 can be used to adopt the mode delta frame sequence of random schedule for normal data generates submodule, to generate single operation code normal data in CS territory.
Described script concatenation module 32 can be the interblock interleaving block, is used to adopt script that interleaved encoded data in single business module of different business is carried out interblock and interweaves, and forms complete data block.
Described checking case generating apparatus can also comprise encrypting module 35, is used for described data block is encrypted, and the data encrypted piece is sent to the burst generation module.
Described burst generation module 33 can be used for the data encrypted piece is added tail bit, training sequence bit and protection bit at interval for burst generates submodule, generates burst.
Described modulation module 34 can be the modulation submodule, is used for burst is modulated according to type selecting modulation system separately, generates modulating data.The modulating data that generates is used for comparing with DUT.
Described checking case generating apparatus can also comprise script controller 36, and the order that is used to control each module is relevant to be carried out, and makes the final modulation result can be consistent with actual conditions.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The embodiment of the invention is by carrying out the script splicing to single operation code normal data, realized the multiframe combination services is verified, and adopt the mode delta frame sequence of random schedule, effectively solved frame sequence and generated the checking insufficiency problem that adopts the customization mode.
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 range of claim.
Claims (12)
1, a kind of checking case generation method is characterized in that, comprising:
The single operation code normal data of each of generative circuit CS territory;
Described single operation code normal data is carried out the script splicing, obtain complete data block;
Described data block is generated burst burst;
Described burst is modulated, generate modulating data.
2, method according to claim 1 is characterized in that, each single operation code normal data in described generation CS territory comprises: adopt the mode of random schedule to generate the interior interleaved encoded data of each single professional piece in the CS territory.
3, method according to claim 2, it is characterized in that, describedly single operation code normal data is carried out script splicing obtain complete data block and comprise: adopt script that interleaved encoded data in single professional piece of different business is carried out interblock and interweave, form complete data block.
4, method according to claim 1 is characterized in that, described burst is modulated generates modulating data and comprise: burst is modulated according to type selecting modulation system separately, generate modulating data.
5, method according to claim 1 is characterized in that, also comprises: described data block is encrypted.
6, method according to claim 5 is characterized in that, describedly described data block is generated burst burst comprises: the data encrypted piece is added tail bit, training sequence bit and protection bit at interval, generate burst.
7, a kind of checking case generating apparatus is characterized in that, comprising:
The normal data generation module is used to generate each single operation code normal data in CS territory;
The script concatenation module is used for single operation code normal data is carried out the script splicing, obtains complete data block;
The burst generation module is used for described data block is generated burst;
Modulation module is used for described burst is modulated, and generates modulating data.
8, device according to claim 7 is characterized in that, described normal data generation module is that normal data generates submodule, is used to adopt the mode of random schedule to generate single operation code normal data in CS territory.
9, device according to claim 7 is characterized in that, described script concatenation module is the interblock interleaving block, is used to adopt script that interleaved encoded data in single business module of different business is carried out interblock and interweaves, and forms complete data block.
10, device according to claim 7 is characterized in that, described modulation module is the modulation submodule, is used for burst is modulated according to type selecting modulation system separately, generates modulating data.
11, device according to claim 7 is characterized in that, also comprises: encrypting module is used for described data block is encrypted, and the data encrypted piece is sent to described burst generation module.
12, device according to claim 11 is characterized in that, described burst generation module is that burst generates submodule, is used for the data encrypted piece is added tail bit, training sequence bit and protection bit at interval, generates burst.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100676818A CN101304297B (en) | 2008-06-03 | 2008-06-03 | Method and apparatus for generating checking case |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100676818A CN101304297B (en) | 2008-06-03 | 2008-06-03 | Method and apparatus for generating checking case |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101304297A true CN101304297A (en) | 2008-11-12 |
CN101304297B CN101304297B (en) | 2011-04-20 |
Family
ID=40114027
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100676818A Expired - Fee Related CN101304297B (en) | 2008-06-03 | 2008-06-03 | Method and apparatus for generating checking case |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101304297B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109408221A (en) * | 2017-08-17 | 2019-03-01 | 展讯通信(上海)有限公司 | A kind of synchronizing multiple threads case generation method and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8046662B2 (en) * | 2004-08-20 | 2011-10-25 | Broadcom Corporation | Method and system for decoding control data in GSM-based systems using inherent redundancy |
CN100428252C (en) * | 2006-09-14 | 2008-10-22 | 华为技术有限公司 | System and method for testing and measuring percentage of coverage of function |
-
2008
- 2008-06-03 CN CN2008100676818A patent/CN101304297B/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109408221A (en) * | 2017-08-17 | 2019-03-01 | 展讯通信(上海)有限公司 | A kind of synchronizing multiple threads case generation method and system |
CN109408221B (en) * | 2017-08-17 | 2022-03-01 | 展讯通信(上海)有限公司 | Synchronous multithreading case generation method and system |
Also Published As
Publication number | Publication date |
---|---|
CN101304297B (en) | 2011-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106850143B (en) | Data packet packaging method and verification method | |
CN103299366B (en) | Devices for encoding and detecting a watermarked signal | |
US8345867B2 (en) | Method and apparatus for generating pseudo random sequence in broadband wireless communication system | |
US20120134491A1 (en) | Cloud Storage Data Encryption Method, Apparatus and System | |
CN107483192B (en) | Data transmission method and device based on quantum communication | |
US20110299381A1 (en) | Mobile multimedia broadcast transmission system | |
CN107968696A (en) | A kind of method and apparatus in UE for variable check bit number, base station | |
CN103368673B (en) | Conformance testing adapter based on TTCN-3 | |
EP3490323A1 (en) | Method, device, and apparatus for selecting user signature vector, and storage medium | |
CN114333862B (en) | Audio encoding method, decoding method, device, equipment, storage medium and product | |
KR101942030B1 (en) | Electronic device for performing code-based encryption supporting integrity verification of a message and operating method thereof | |
JP2012227912A (en) | Method for reducing latency on lte downlink implementation | |
CN105071927A (en) | Mobile device data local storage method | |
CN104579558A (en) | Method for detecting integrity in data transmission process | |
CN108540259B (en) | Method and device for encoding and decoding polarization code | |
WO2018146552A1 (en) | Crc aided decoding of polar codes | |
CN112798333A (en) | Sampling drill bit for soil remediation, soil information system and information management method | |
KR20190034665A (en) | Method and apparatus for coding and decoding polar codes | |
EP3566349A1 (en) | Methods and apparatuses for spreading error detection bits in a polar code | |
CN101304297B (en) | Method and apparatus for generating checking case | |
JP2006526340A (en) | Error rate detection method and test apparatus | |
CN103199953B (en) | Data transmission method and device, communication equipment | |
CN112347494A (en) | Encryption reconciliation method and system based on block chain | |
CN100502321C (en) | Testing method and system | |
CN111970237A (en) | Encryption and decryption method, system and medium based on water depth measurement data |
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 |
Granted publication date: 20110420 Termination date: 20160603 |