CN110501627A - A kind of the Digital Logical Circuits detection method and device of base station - Google Patents

A kind of the Digital Logical Circuits detection method and device of base station Download PDF

Info

Publication number
CN110501627A
CN110501627A CN201810474796.2A CN201810474796A CN110501627A CN 110501627 A CN110501627 A CN 110501627A CN 201810474796 A CN201810474796 A CN 201810474796A CN 110501627 A CN110501627 A CN 110501627A
Authority
CN
China
Prior art keywords
subframe
cases
detected
detection
case
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
CN201810474796.2A
Other languages
Chinese (zh)
Other versions
CN110501627B (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201810474796.2A priority Critical patent/CN110501627B/en
Publication of CN110501627A publication Critical patent/CN110501627A/en
Application granted granted Critical
Publication of CN110501627B publication Critical patent/CN110501627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/282Testing of electronic circuits specially adapted for particular applications not provided for elsewhere

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides the Digital Logical Circuits detection methods and device of a kind of base station, are applied to terminal device, and the terminal device operation has detection application program, which comprises the corresponding multiple processes of the creation detection application program;Sub-frame data packet is loaded from preset use-case library;The multiple process is called to be detected respectively for the different subframes in the sub-frame data packet;When all subframes, which detect, to be completed, the testing result of the subframe is obtained;Subframe or use-case can be distributed according to the processing speed of process, realize the load balancing between process, improve detection efficiency;And running environment is not limited to a certain operating system, improves the scope of application of detection mode;Global variable file need to be only set, it can obtain testing result, realize the automation of detection process;It supports detection pattern abundant, greatly increases detection efficiency.

Description

A kind of the Digital Logical Circuits detection method and device of base station
Technical field
The present invention relates to fields of communication technology, more particularly to the Digital Logical Circuits detection method and one kind of a kind of base station The Digital Logical Circuits detection device of base station.
Background technique
LTE (Long Term Evolution, long term evolution) or 5G (5th-Generation, the 5th third-generation mobile communication skill Art) logic circuit of digital baseband realizes more complicated, and demand is various, in order to guarantee the adequacy of detection, needs first to construct Next the use-case of hundreds of scenes is built verification environment and is emulated to use-case.
Traditional Digital Logical Circuits detection method is usually to start a process to carry out detection detection, due to detection instrument A detection procedure occupy processor and memory resource limitation system, lead to the process performance of high-performance computer and server Do not fully played;In addition, though individual detection instruments can start multi-process inspection by the setting of environmental variance It surveys, but different detection procedures can only be specified in advance to run different use-cases, the use-case for causing fast process to run distribution is latter It is straight to wait slow-motion journey, lead to hardware resource significant wastage, detection efficiency is unable to give full play;The especially digital baseband of 5G, because For its circuit complexity, according to traditional one process, hundred use-case of testing number needs to spend time several weeks on existing hardware platform, consumption When it is very long, reduce working efficiency.
Summary of the invention
The embodiment of the present invention provides the Digital Logical Circuits detection method and a kind of corresponding number of base station of a kind of base station Logic circuit detection device, with solve specify different detection procedures to run different use-cases in the prior art when, fast process with The loading condition of slow-motion journey is unreasonable, leads to the load imbalance between each process, wastes the above problem of hardware resource.
To solve the above-mentioned problems, it the embodiment of the invention discloses a kind of Digital Logical Circuits detection method of base station, answers For terminal device, the terminal device operation has detection application program, which comprises
Create the corresponding multiple processes of the detection application program;
Sub-frame data packet is loaded from preset use-case library;
The multiple process is called to be detected respectively for the different subframes in the sub-frame data packet;
When all subframes, which detect, to be completed, the testing result of the subframe is obtained.
Preferably, described that the multiple process is called to be detected respectively for the different subframes in the sub-frame data packet The step of include:
The multiple process is called to be detected respectively for the corresponding multiple use-cases of the subframe.
Preferably, described that the multiple process is called to be detected respectively for the different subframes in the sub-frame data packet The step of include:
Whether judge the corresponding subframe of target process reaches maximum number of cases with number of cases;Wherein, the subframe have pair The subframe mark answered;
When the target process corresponding subframe is when reaching maximum number of cases with number of cases, then judging that the subframe identifies is It is no to meet default identification number;
When subframe mark does not meet default identification number, then the corresponding use-case of subframe to be detected is distributed to described Target process.
Preferably, the method also includes:
After the corresponding use-case of the subframe to be detected is distributed to the target process, the target process is called to be directed to The corresponding use-case of the subframe to be detected is detected.
Preferably, before the step of multiple processes of the creation detection application program, further includes:
Global variable file is set.
Preferably, the method also includes:
Using global variable file generated verification environment;
And/or using multiple first initiation parameters of global variable file generated;
And/or using multiple second initiation parameters of global variable file generated;
Wherein, first initiation parameter include each subframe it is corresponding with number of cases, maximum number of cases, current subframe, Currently with number of cases and it is completed and uses number of cases;Second initiation parameter, which includes that each subframe is corresponding, uses number of cases and use-case name Claim, process ID.
The embodiment of the invention also discloses a kind of Digital Logical Circuits detection devices of base station, are applied to terminal device, institute Stating terminal device operation has detection application program, and described device includes:
Process creation module, for creating the corresponding multiple processes of the detection application program;
Sub-frame data packet loading module, for loading sub-frame data packet from preset use-case library;
Calling module, for calling the multiple process to be examined respectively for the different subframes in the sub-frame data packet It surveys;
Testing result obtains module, for obtaining the testing result of the subframe when all subframes detect completion.
Preferably, the calling module includes:
Submodule is called, for calling the multiple process to be examined respectively for the corresponding multiple use-cases of the subframe It surveys.
Preferably, the calling module includes:
Whether the first judging submodule reaches maximum number of cases with number of cases for judge the corresponding subframe of target process; Wherein, the subframe is identified with corresponding subframe;
Second judgment submodule, for when the target process corresponding subframe number of cases reach it is maximum with number of cases when, Then judge that the subframe identifies whether to meet default identification number;
Distribution sub module, for when subframe mark does not meet default identification number, then corresponding to subframe to be detected Use-case distribute to the target process.
Preferably, described device further include:
Detection module, for calling institute after the corresponding use-case of the subframe to be detected is distributed to the target process Target process is stated to be detected for the corresponding use-case of the subframe to be detected.
Preferably, the module being connected with the process creation module includes:
Global variable file setup module, for global variable file to be arranged.
Preferably, described device further include:
Verification environment generation module, for using global variable file generated verification environment;
And/or the first initiation parameter generation module, for using the multiple first initialization ginsengs of global variable file generated Number;
And/or the second initiation parameter generation module, for using the multiple second initialization ginsengs of global variable file generated Number;
Wherein, first initiation parameter include each subframe it is corresponding with number of cases, maximum number of cases, current subframe, Currently with number of cases and it is completed and uses number of cases;Second initiation parameter, which includes that each subframe is corresponding, uses number of cases and use-case name Claim, process ID.
The embodiment of the present invention includes following advantages:
In the embodiment of the present invention, it is applied to terminal device, the terminal device, which is run, detection application program, described in creation Detect the corresponding multiple processes of application program;The sub-frame data packet is loaded from the use-case library;Call the multiple process needle Different subframes in the sub-frame data packet are detected respectively;When all subframes, which detect, to be completed, the subframe is obtained Testing result;In the embodiment of the present invention, subframe or use-case can be distributed according to the processing speed of process, realized negative between process Carry balanced, raising detection efficiency;And running environment is not limited to a certain operating system, improves the scope of application of detection mode;Only need Global variable file is set, it can obtains testing result, realizes the automation of detection process;Support detection mould abundant Formula greatly increases detection efficiency.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing;
Fig. 1 is a kind of step process of the Digital Logical Circuits detection method embodiment one of base station of the embodiment of the present invention Figure;
Fig. 2 is a kind of step process of the Digital Logical Circuits detection method embodiment two of base station of the embodiment of the present invention Figure;
Fig. 3 is a kind of schematic diagram of testing process of the embodiment of the present invention;
Fig. 4 is a kind of structural block diagram of the Digital Logical Circuits detection device embodiment of base station of the embodiment of the present invention.
Specific embodiment
The technical issues of in order to keep the embodiment of the present invention solved, technical solution and beneficial effect are more clearly understood, with The embodiment of the present invention is further described in lower combination accompanying drawings and embodiments.It should be appreciated that specific implementation described herein Example is only used to explain the present invention, is not intended to limit the present invention.
One of the core concepts of the embodiments of the present invention be flexibly to call multiple processes for different subframes respectively into Row detection, and subframe to be detected can be distributed according to the treatment effeciency of process, each process can only be specified to be directed to existing The mode that fixed subframe is detected is compared, and the load balancing of each process is realized, and gives full play to the advantage of hardware resource, Improve treatment effeciency.
Referring to Fig.1, a kind of Digital Logical Circuits detection method embodiment one of base station of the embodiment of the present invention is shown Flow chart of steps, is applied to terminal device, and the terminal device operation has detection application program, can specifically include following step It is rapid:
Step 101, the corresponding multiple processes of the detection application program are created;
In the embodiment of the present invention, the type of the base station may include macro base station, micro-base station, femto base station, distributed base It stands, the embodiment of the present invention does not limit this specifically, and base station mainly may include baseband processing unit (Building Base band Unite), Remote Radio Unit (Radio Remote Unit) and antenna-feeder system;
Baseband processing unit mainly completes the functions such as channel coding/decoding, the modulation /demodulation of baseband signal, protocol processes, simultaneously It needs to provide the interface function with upper layer network element.
Remote Radio Unit mainly be exactly by received from/send toward baseband processing unit digital/analog signal carry out D/A (Digital to Analog, digital signal turn analog signal), A/D (Analog to Digital, analog signal revolution word letter Number), numerically/down coversion, rf-signal modulation demodulation, the radio frequency analog signal that then these will be sent/be received carries out Power amplification/low noise amplification is finally sent to antenna-feeder system via filter element and is emitted.Remote Radio Unit needs Interface with baseband processing unit and antenna-feeder system is provided;
Antenna-feeder system is mainly exactly feeder line and antenna, and the purpose of antenna-feeder system is exactly that will receive to the nothing of Remote Radio Unit Line signal is put together, and is then radiate, and the signal that can also send over user equipment, which is put together, sends radio frequency drawing to Remote cell processing, the embodiment of the present invention do not limit the composition of base station specifically.
In the embodiment of the present invention, the method is applied to terminal device, and the terminal device operation has detection application program, The detection application program may include a variety of emulation application, such as Matlab, Multisim, VCS (verilog Compiled simulator), Proteus, Pspice etc., the embodiment of the present invention does not limit this specifically, further, The terminal device can also include preset use-case library, include multiple sub-frame data packets (i.e. son in the preset use-case library Frame), it should be noted that each subframe has one or more corresponding use-case.
Specifically, the testing result of the embodiment of the present invention can be applied in the terminal device of base station;Or the method It can be applied in the terminal device of base station, with no restriction to this, the operating system of the terminal device can be with for the embodiment of the present invention For windows, or Linux can also include certainly other operating systems, and the embodiment of the present invention does not make this any Limitation.
Step 102, sub-frame data packet is loaded from preset use-case library;
Further, the terminal device can load the sub-frame data packet from use-case library, that is, load the subframe, And the subframe has one or more corresponding use-case, it should be noted that the quantity of the subframe can be 10, and The corresponding use-case of subframe equally can be 10, and with no restriction to this, for example, the subframe can be with for the embodiment of the present invention For subframe 0, subframe 1, subframe 2,3 subframe 7 of subframe, subframe 8, subframe 9;And each subframe can be respectively provided with Corresponding 10 use-cases.
It should be noted that can also be given birth to before the step of creating the detection application program corresponding multiple processes It, can be according to global variable file generated verification environment and multiple initial parameters, the initial parameter packet at global variable files Include the first initial parameter and the second initial parameter.
Step 103, the multiple process is called to be detected respectively for the different subframes in the sub-frame data packet;
It applies in the embodiment of the present invention, the terminal device can call multiple processes for the sub-frame data Different subframes in packet are detected respectively;Specifically, multiple processes can be called to detect respectively to subframe 0 to subframe 9, 10 processes can be called to detect respectively to subframe 0 to 9 corresponding 10 use-cases of subframe, for example, described 10 Process may include the 0th process, the 1st process, the 2nd process, the 6th process of the 3rd process, the 7th process, the 8th into Journey, the 9th process can call the 0th process successively to be detected for 0 corresponding 10 use-case of subframe, can call the 1st process It successively detected for 1 corresponding 10 use-case of subframe, may call upon the 2nd process for 2 corresponding 10 use-cases of subframe Successively detected, and so on, different subframes are detected respectively.
Further, it 10 processes be may call upon is directed to 0 corresponding 10 use-case of subframe respectively and detected, for example, It calls the 0th process to be detected for the 0th use-case of subframe 0, the 1st process is called to be examined for the 1st use-case of subframe 0 It surveys and the 8th process is called to be detected for the 8th use-case of subframe 0, the 9th process is called to be directed to the 9th of subframe 0 Use-case is detected;Then, it 10 processes is recalled is directed to subframe 1 to 9 corresponding 10 use-cases of subframe respectively and detected, such as This reciprocation cycle is detected for all subframes.
And when the process of creation is less than subframe to be detected, after the completion of needing to wait the subframe of some process to detect, A new subframe to be detected can be distributed to the process, the process for such as working as creation there are 5, and the subframe detected is needed there are 10 When, the subframe for needing to detect can be distributed for each process at the beginning, for example the 0th process to the 4th process is sequentially allocated subframe 0 It is detected to subframe 4, and the processing speed of the 0th process is slower, the processing speed of the 1st process is very fast, then extremely by the distribution of subframe 5 The 1st process for first completing detection distributes subframe 6 to first complete if the processing speed of the 0th process is also slower than the 2nd process At the 2nd process of detection, it can distribute different subframe or its corresponding use-case for the processing speed of process, realize into Load balancing between journey improves treatment effeciency.
It is described to call the multiple process for the different subframes difference in the sub-frame data packet in the embodiment of the present invention The step of being detected includes: that the multiple process is called to be detected respectively for the corresponding multiple use-cases of the subframe;I.e. It is detected for the corresponding use-case of the subframe.
Step 104, when all subframes, which detect, to be completed, the testing result of the subframe is obtained.
It is specifically applied in the embodiment of the present invention, when all subframes, which detect, to be completed, the detection knot of subframe can be obtained Fruit;It should be noted that the testing result of each use-case of each subframe can also be obtained, individually exported.
In the embodiment of the present invention, it is applied to terminal device, the terminal device, which is run, detection application program, described in creation Detect the corresponding multiple processes of application program;Sub-frame data packet is loaded from preset use-case library;Call the multiple process needle Different subframes in the sub-frame data packet are detected respectively;When all subframes, which detect, to be completed, the subframe is obtained Testing result;In the embodiment of the present invention, subframe or use-case can be distributed according to the processing speed of process, realized negative between process Carry balanced, raising detection efficiency;And running environment is not limited to a certain operating system, improves the scope of application of detection mode;Only need Global variable file is set, it can obtains testing result, realizes the automation of detection process;Support detection mould abundant Formula greatly increases detection efficiency.
Referring to Fig. 2, a kind of Digital Logical Circuits detection method embodiment two of base station of the embodiment of the present invention is shown Flow chart of steps, is applied to terminal device, and the terminal device operation has detection application program, can specifically include following step It is rapid:
Step 201, the corresponding multiple processes of the detection application program are created;
In the embodiment of the present invention, when the detection application program is currently running, the terminal device can create this and answer With the corresponding multiple processes of program, it should be noted that the current hardware platform of the terminal device should be support mostly into Cheng Yunhang's.
In a kind of preferred embodiment of the embodiment of the present invention, the step of multiple processes of the creation detection application program Before rapid, further includes: setting global variable file;Need to carry out parameter setting before operation detection application program.
Further, after the global variable file is set, global variable file generated verification environment can be used; And/or using multiple second initiation parameters of global variable file generated;And/or using global variable file generated multiple One initiation parameter;Wherein, first initiation parameter include each subframe it is corresponding with number of cases, maximum number of cases, currently Subframe currently with number of cases and is completed and uses number of cases;Second initiation parameter, which includes that each subframe is corresponding, uses number of cases and use Example title, process ID.
Specifically, the terminal device first according to global variable file generated verification environment, then, regenerates multiple Initiation parameter, initiation parameter may include the first initiation parameter and the second initiation parameter, and the first initiation parameter can With include each subframe it is corresponding with number of cases, maximum number of cases, current subframe, currently with number of cases and be completed with number of cases etc.;And Second initiation parameter include each subframe it is corresponding use number of cases and use-case title, process ID etc., the embodiment of the present invention to this not It is restricted;
, can be when the detection application program be run after generating verification environment and multiple initiation parameters, creation should The corresponding multiple processes of application program.
Step 202, sub-frame data packet is loaded from preset use-case library;Wherein, the sub-frame data packet includes multiple sons Frame;
In the embodiment of the present invention, after creating the application program corresponding multiple processes, the terminal device can be from pre- The use-case library load sub-frame data packet set, wherein the sub-frame data packet includes multiple subframes.
Step 203, whether judge the corresponding subframe of target process reaches maximum number of cases with number of cases;Wherein, the son Frame is identified with corresponding subframe;
Apply in the embodiment of the present invention, can also judge the corresponding subframe of the target process with number of cases whether Reach maximum number of cases;The subframe is identified with corresponding subframe;What maximum number of cases represented is that each subframe uses number of cases The maximum value of amount, for example, subframe 2 has corresponding 10 use-cases, then the maximum number of cases of subframe 2 is 10, if current process is (i.e. Target process: such as the 1st process) what is be currently running is the 8th use-case of subframe 2, then determine the corresponding subframe of the target process Maximum number of cases is not up to number of cases.
It should be noted that the maximum is those skilled in the art's any number of setting according to the actual situation with number of cases Value, the embodiment of the present invention to this with no restriction.
Step 204, when the target process corresponding subframe number of cases reach it is maximum with number of cases when, then judge the son Whether frame identification meets default identification number;
It is specifically applied in the embodiment of the present invention, reaches maximum use-case with number of cases when the corresponding subframe of the target process When number, then further judge that the subframe identifies whether to meet default identification number, for example, the default identification number is 9, then Whether determining program has been detected by subframe 9.
And when the corresponding subframe of the target process is with number of cases not up to maximum number of cases, then it is the target process Be sequentially allocated next use-case, for example, the 1st current process be currently running be 8 use-case of subframe 2 when, then determine described in Subframe identify corresponding subframe with number of cases be not up to maximum number of cases, be the 1st process distribution the 9th use-case.
Step 205, when subframe mark does not meet default identification number, then by the corresponding use-case point of subframe to be detected It is assigned to the target process;
Further, when subframe mark does not meet default identification number, then subframe to be detected is distributed corresponding Use-case is to the target process, for example, if default identification number is 9, when the subframe currently detected is subframe 2, then for Target process distributes the new corresponding use-case of subframe to be detected;Such as, what the 1st current process was currently running is subframe 2 The 9th use-case, then determine that the subframe identified corresponding subframe reaches maximum number of cases with number of cases, but subframe mark is not Meet default identification number, then distribute the corresponding use-case of subframe 3 to be detected to the 1st process, also, can also by others to The corresponding use-case of the subframe of detection is distributed to the 1st process (i.e. target process);Realize the load balancing between process, raising processing Efficiency.
Step 206, after the corresponding use-case of the subframe to be detected is distributed to the target process, the target is called Process is directed to the corresponding use-case of the subframe to be detected and is detected;
It should be noted that calling the mesh after the corresponding use-case of subframe to be detected is distributed to the target process Mark process is directed to the corresponding use-case of the subframe to be detected and is detected;For example, calling the 1st process for the subframe 3 10 use-cases are detected.
Step 207, when all subframes, which detect, to be completed, the testing result of the subframe is obtained.
It is specifically applied in the embodiment of the present invention, when all subframes, which detect, to be completed, the detection knot of subframe can be obtained Fruit;It should be noted that the testing result of each use-case of each subframe can also be obtained, individually exported.
In the embodiment of the present invention, the corresponding multiple processes of the detection application program are created;It is loaded from preset use-case library The sub-frame data packet;Wherein, the sub-frame data packet includes multiple subframes;Judge the corresponding subframe of target process uses number of cases Whether maximum number of cases is reached;The subframe is identified with corresponding subframe;When the use-case of the corresponding subframe of the target process When number reaches maximum number of cases, then judge that the subframe identifies whether to meet default identification number;When subframe mark is not met When default identification number, then the corresponding use-case of subframe to be detected is distributed to the target process;When the subframe to be detected Corresponding use-case is distributed to the target process, and the target process is called to be directed to the corresponding use-case of the subframe to be detected It is detected;When all subframes, which detect, to be completed, the testing result of the subframe is obtained;In the embodiment of the present invention, realize each The load balancing of a process gives full play to the advantage of hardware resource, greatly improves detection efficiency.
In order to make those skilled in the art more fully understand the embodiment of the present invention, said below with a specific example It is bright:
Referring to Fig. 3, a kind of schematic diagram of testing process of the embodiment of the present invention is shown, as shown in figure 3, the embodiment of the present invention Technical solution in comprising pass through global variable file be arranged backstage starting multiple processes TCL (tool command language Speech, Tool Command Language) script, the verification environment sim_tb_top.sv of each process, multi-process is carried out it is real When monitoring and use-case scheduling several parts such as scan_para_up.do.
If for creating 5 processes, setting of the TCL script according to global variable file each in setup.do file, meeting It generates tcl_para_int.do file and provides the initial value (i.e. initiation parameter) of each variable for scan_para_up.do, simultaneously It will create the starting catalogue of the verification environment of corresponding 5 processes of 5 files, while generating sim1_tb_top.sv, sim2_ The verification environment of 5 processes such as tb_top.svsim5_tb_top.sv, and generate line_id.txt and Svh file, line_id.txt indicate process ID;And svh file mainly includes that subframe 0 to each subframe of subframe 9 is corresponding uses number of cases And use-case title;Wherein, initiation parameter is also shown in FIG. 3 in the intermediate file of generation.
Wherein, Tcl_para_int.do initiation parameter (the first initiation parameter) includes: the corresponding use-case of each subframe Number, maximum number of cases, the current subframe of 5 processes, 5 the current of process use number of cases with number of cases and 5 being completed for process;
Further, Sim1_tb_top.sv initiation parameter (the second initiation parameter) includes: svh file: subframe 0 to Each subframe is corresponding in subframe 9 uses number of cases and use-case title;Line_id.txt: process ID;The above file is by TCL script root According to global variable file generated.
The nucleus module of the embodiment of the present invention is scan_para_up.do file (i.e. TCL script), which is responsible for each Scan whether corresponding simn_end.txt (n 1-5) file generates in the file of a process, once generating indicates the process Complete the emulation of current use-case, TCL script will be deleted this document so as not to influence the scanning result of next time, while can be for should be into Journey distributes new use-case, and updates internal each parameter.
Wherein, TCL script (tcl_para_up.do) with verification environment is interacted by txt file, and TCL script can be The parameter of the verification environment of control process is written in sim_para.txt, and verification environment can add in the initial position of each subframe The parameter is carried, distributes the information such as subframe, the corresponding use-case to be detected for process.
In the embodiment of the present invention, the setting of variable need to be only carried out in setup global variable file, is created in script file The catalogue for building each process, the global change of the multiple files used including verification environment, verification environment each initial parameter value when running Measure file;
Each process status detection on backstage and use-case scheduler module are not limited to TCL script, are suitble to the language of various similar functions The interaction of speech, the module and multi-process is not limited to txt file;As long as hardware platform is supported, the imitative of any multi-process can be supported Very;The starting subframe of different processes is not limited to subframe 0, can according to need any subframe being configured in subframe 0- subframe 9;
Each process operation use-case does not need to allocate in advance, it is only necessary to which the setting subframe to be detected, scheduler module can be according to each The new use-case of the Speed allotment of process operation, guarantees that each process is not to wait for not blocking;It can also be jumped according to the setting of global variable The subframe for not needing detection is crossed, detection efficiency is greatly improved;Each process can detect all use-cases of subframe 0 according to configuration Subframe 1 is jumped to again, and so on, until running to subframe 9, complete the detection of all use-cases;It may be set to be every height Frame only detects a use-case and just jumps to next subframe, carries out next round one use-case of each subframe again until running to subframe 9 Circulation;Automatic comparison process is not limited to matlab realization, suitable for the various high-level languages being easy to implement;The fortune of terminal device Row operating system is not limited to windows, suitable for various systems in addition to this, such as Linux.It can be set according to hardware platform It is set to any process, many times detection efficiency can be promoted, greatly improve detection efficiency;The simulation model of support is abundant, Not only supported each process to jump to the detection of a certain subframe, but also supported to be assigned to different subframes, both supported be according to subframe 0- subframe 9 The circulation that entirety is detected, and the mould of next subframe is jumped to after all use-cases of the support complete a certain subframe of centralized detecting again Formula.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Referring to Fig. 4, a kind of knot of the Digital Logical Circuits detection device embodiment of base station of the embodiment of the present invention is shown Structure block diagram is applied to terminal device, and the terminal device operation has detection application program, can specifically include following module:
Process creation module 401, for creating the corresponding multiple processes of the detection application program;
Sub-frame data packet loading module 402, for loading sub-frame data packet from preset use-case library;
Calling module 403, for call the multiple process for the different subframes in the sub-frame data packet respectively into Row detection;
Testing result obtains module 404, for obtaining the testing result of the subframe when all subframes detect completion.
Preferably, the calling module includes:
Submodule is called, for calling the multiple process to be examined respectively for the corresponding multiple use-cases of the subframe It surveys.
Preferably, the calling module includes:
Whether the first judging submodule reaches maximum number of cases with number of cases for judge the corresponding subframe of target process; Wherein, the subframe is identified with corresponding subframe;
Second judgment submodule, for when the target process corresponding subframe number of cases reach it is maximum with number of cases when, Then judge that the subframe identifies whether to meet default identification number;
Distribution sub module, for when subframe mark does not meet default identification number, then corresponding to subframe to be detected Use-case distribute to the target process.
Preferably, described device further include:
Detection module, for calling institute after the corresponding use-case of the subframe to be detected is distributed to the target process Target process is stated to be detected for the corresponding use-case of the subframe to be detected.
Preferably, the module being connected with the process creation module includes:
Global variable file setup module, for global variable file to be arranged.
Preferably, described device further include:
Verification environment generation module, for using global variable file generated verification environment;
And/or the first initiation parameter generation module, for using the multiple first initialization ginsengs of global variable file generated Number;
And/or the second initiation parameter generation module, for using the multiple second initialization ginsengs of global variable file generated Number;
Wherein, first initiation parameter include each subframe it is corresponding with number of cases, maximum number of cases, current subframe, Currently with number of cases and it is completed and uses number of cases;Second initiation parameter, which includes that each subframe is corresponding, uses number of cases and use-case name Claim, process ID.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
The Digital Logical Circuits detection method and a kind of number of base station of a kind of base station provided by the present invention are patrolled above Volume circuit checker, is described in detail, specific case used herein to the principle of the present invention and embodiment into Elaboration is gone, the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for this The those skilled in the art in field, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, In conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (12)

1. a kind of Digital Logical Circuits detection method of base station, which is characterized in that be applied to terminal device, the terminal device fortune Row has detection application program, which comprises
Create the corresponding multiple processes of the detection application program;
Sub-frame data packet is loaded from preset use-case library;
The multiple process is called to be detected respectively for the different subframes in the sub-frame data packet;
When all subframes, which detect, to be completed, the testing result of the subframe is obtained.
2. the method according to claim 1, wherein described call the multiple process to be directed to the sub-frame data The step of different subframes in packet are detected respectively include:
The multiple process is called to be detected respectively for the corresponding multiple use-cases of the subframe.
3. the method according to claim 1, wherein described call the multiple process to be directed to the sub-frame data The step of different subframes in packet are detected respectively include:
Whether judge the corresponding subframe of target process reaches maximum number of cases with number of cases;Wherein, the subframe has corresponding Subframe mark;
When the target process corresponding subframe number of cases reach it is maximum with number of cases when, then judge that the subframe identifies whether to accord with Close default identification number;
When subframe mark does not meet default identification number, then the corresponding use-case of subframe to be detected is distributed to the target Process.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
After the corresponding use-case of the subframe to be detected is distributed to the target process, call the target process for described The corresponding use-case of subframe to be detected is detected.
5. the method according to claim 1, wherein the multiple processes of the creation detection application program Before step, further includes:
Global variable file is set.
6. method according to claim 1 or 5, which is characterized in that the method also includes:
Using global variable file generated verification environment;
And/or using multiple first initiation parameters of global variable file generated;
And/or using multiple second initiation parameters of global variable file generated;
Wherein, first initiation parameter include each subframe it is corresponding with number of cases, maximum number of cases, current subframe, currently With number of cases and it is completed and uses number of cases;Second initiation parameter include each subframe it is corresponding with number of cases and use-case title, into Journey ID.
7. a kind of Digital Logical Circuits detection device of base station, which is characterized in that be applied to terminal device, the terminal device fortune Row has detection application program, and described device includes:
Process creation module, for creating the corresponding multiple processes of the detection application program;
Sub-frame data packet loading module, for loading sub-frame data packet from preset use-case library;
Calling module, for calling the multiple process to be detected respectively for the different subframes in the sub-frame data packet;
Testing result obtains module, for obtaining the testing result of the subframe when all subframes detect completion.
8. device according to claim 7, which is characterized in that the calling module includes:
Submodule is called, for calling the multiple process to be detected respectively for the corresponding multiple use-cases of the subframe.
9. device according to claim 7, which is characterized in that the calling module includes:
Whether the first judging submodule reaches maximum number of cases with number of cases for judge the corresponding subframe of target process;Wherein, The subframe is identified with corresponding subframe;
Second judgment submodule, for when the target process corresponding subframe number of cases reach it is maximum with number of cases when, then sentence The subframe of breaking identifies whether to meet default identification number;
Distribution sub module, for when the subframe mark do not meet default identification number when, then by the corresponding use of subframe to be detected Example is distributed to the target process.
10. device according to claim 9, which is characterized in that described device further include:
Detection module, for calling the mesh after the corresponding use-case of the subframe to be detected is distributed to the target process Mark process is directed to the corresponding use-case of the subframe to be detected and is detected.
11. device according to claim 7, which is characterized in that the module being connected with the process creation module includes:
Global variable file setup module, for global variable file to be arranged.
12. device according to claim 7 or 11, which is characterized in that described device further include:
Verification environment generation module, for using global variable file generated verification environment;
And/or the first initiation parameter generation module, for using multiple first initiation parameters of global variable file generated;
And/or the second initiation parameter generation module, for using multiple second initiation parameters of global variable file generated;
Wherein, first initiation parameter include each subframe it is corresponding with number of cases, maximum number of cases, current subframe, currently With number of cases and it is completed and uses number of cases;Second initiation parameter include each subframe it is corresponding with number of cases and use-case title, into Journey ID.
CN201810474796.2A 2018-05-17 2018-05-17 Digital logic circuit detection method and device for base station Active CN110501627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810474796.2A CN110501627B (en) 2018-05-17 2018-05-17 Digital logic circuit detection method and device for base station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810474796.2A CN110501627B (en) 2018-05-17 2018-05-17 Digital logic circuit detection method and device for base station

Publications (2)

Publication Number Publication Date
CN110501627A true CN110501627A (en) 2019-11-26
CN110501627B CN110501627B (en) 2020-11-03

Family

ID=68584401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810474796.2A Active CN110501627B (en) 2018-05-17 2018-05-17 Digital logic circuit detection method and device for base station

Country Status (1)

Country Link
CN (1) CN110501627B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609352A (en) * 2011-01-19 2012-07-25 阿里巴巴集团控股有限公司 Parallel testing method and parallel testing server
CN102999423A (en) * 2012-11-15 2013-03-27 华为技术有限公司 Multi-core testing method and device
CN103544102A (en) * 2013-09-02 2014-01-29 烟台中科网络技术研究所 Method and device for test and simulation of software performance
CN104407367A (en) * 2014-12-19 2015-03-11 中国科学院重庆绿色智能技术研究院 Device and method for improving baseband signal processing capacity of satellite navigation terminal receiver
CN106547654A (en) * 2015-09-21 2017-03-29 中兴通讯股份有限公司 A kind of automated testing method and device
CN107291621A (en) * 2017-07-07 2017-10-24 恒生电子股份有限公司 Processing method, processing unit, medium and the electronic equipment of test case

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609352A (en) * 2011-01-19 2012-07-25 阿里巴巴集团控股有限公司 Parallel testing method and parallel testing server
CN102999423A (en) * 2012-11-15 2013-03-27 华为技术有限公司 Multi-core testing method and device
CN103544102A (en) * 2013-09-02 2014-01-29 烟台中科网络技术研究所 Method and device for test and simulation of software performance
CN104407367A (en) * 2014-12-19 2015-03-11 中国科学院重庆绿色智能技术研究院 Device and method for improving baseband signal processing capacity of satellite navigation terminal receiver
CN106547654A (en) * 2015-09-21 2017-03-29 中兴通讯股份有限公司 A kind of automated testing method and device
CN107291621A (en) * 2017-07-07 2017-10-24 恒生电子股份有限公司 Processing method, processing unit, medium and the electronic equipment of test case

Also Published As

Publication number Publication date
CN110501627B (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN107295609B (en) Network slice processing method and device, terminal and base station
CN105103647B (en) A kind of method, equipment and the system of the terminal type that notice current area is supported
CN110419250A (en) The wireless telecommunications method prenoticed and device including system information variation
CN109309930B (en) Mobile terminal testing device and parameter changing method thereof
CN107766194A (en) Method of testing, device, system, terminal device and computer-readable recording medium
CN105007623B (en) A kind of room subsystem localization method and device
CN104424092A (en) Page loading time length testing method and device
CN110166186A (en) The method and device of information field value in a kind of determining DCI
CN110225466A (en) A kind of multicast service reads, sending method and relevant device
CN106470078B (en) A kind of method, equipment and the system of channel state information measurement and feedback
CN110381500A (en) A kind of test method, device and the computer readable storage medium of double card paging conflict
CN109327350A (en) A kind of batch carries out the method and apparatus and system of terminal test
CN105828402A (en) Blind redirection method, core network and base station
CN106792784B (en) A kind of method, server and system carrying out data check in server side
JP2006211638A (en) Scenario editing apparatus, dummy base station test simulator for wireless communication, dummy terminal test simulator for wireless communication, scenario editing method, test processing method, computer readable storage medium with program stored thereon, and program
CN105142173A (en) Signal output device, board card and signal output method
CN102143533B (en) Methods and equipment for reporting information generated in random access process and determining parameters
US10764761B2 (en) Devices and method for the simulation of a mobile telecommunications network
CN113452556A (en) Product skill configuration method and device, storage medium and electronic device
CN110501627A (en) A kind of the Digital Logical Circuits detection method and device of base station
CN115114141A (en) Method, device and equipment for testing performance of application program and storage medium
CN102340813B (en) Method and device for creating test environment of base station in high-load operation state
CN109152021A (en) A kind of method and device of determining downlink control channel time domain resource
CN107864488B (en) Method, device and system for automatically testing base station service
EP3531739B1 (en) Testing the resource reservation behavior of at least a first device under test in an emulated device-to-device network environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant