CN102799719B - Method and device for simulation test - Google Patents

Method and device for simulation test Download PDF

Info

Publication number
CN102799719B
CN102799719B CN201210222890.1A CN201210222890A CN102799719B CN 102799719 B CN102799719 B CN 102799719B CN 201210222890 A CN201210222890 A CN 201210222890A CN 102799719 B CN102799719 B CN 102799719B
Authority
CN
China
Prior art keywords
detecting information
module
test
shared drive
emulation testing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210222890.1A
Other languages
Chinese (zh)
Other versions
CN102799719A (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 CN201210222890.1A priority Critical patent/CN102799719B/en
Publication of CN102799719A publication Critical patent/CN102799719A/en
Application granted granted Critical
Publication of CN102799719B publication Critical patent/CN102799719B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The embodiment of the invention provides a method and device for a simulation test, relating to the field of simulation tests. By simulating a real system, the method and the device ensure a developed product to be more similar to a product for practical application, and solve the problems of low speed and long period of the conventional system simulation test. The method comprises the steps of creating a memory unit which memorizes test information, and conducting the simulation test according to the obtained test information. The method and the device provided by the embodiment of the invention are used for the simulation test.

Description

A kind of method and apparatus of emulation testing
Technical field
The present invention relates to emulation testing field, particularly relate to a kind of method and apparatus of emulation testing.
Background technology
DSL (Digital Subscriber Line, digital subscriber line) be with copper telephone wires be transmission medium transmission technology combination, it comprises HDSL (High-speed DigitalSubscriber Line, high-bit-rate digital subscriber line road), SDSL (Symmetric DigitalSubscriber Line, Symmetric Digital Subscriber Line), VDSL (Very-high-bit-rate DigitalSubscriber loop, very-high-bit-rate digital subscriber loop), ADSL (Asymmetric DigitalSubscriber Line, ADSL (Asymmetric Digital Subscriber Line)) and RADSL (Rate-AdaptiveDigital Subscriber Line, RADSL) etc., generally be referred to as xDSL.Their main differences are exactly be embodied in the difference of signaling rate and distance and upstream rate and these two aspects of the symmetric difference of downstream rate.
In existing DSL system, emulation testing is carried out to equipment under test by system-level modeling system that is virtually reality like reality, emulation testing is generally used for before product is delivered for use, in prior art, the system-level modeling of main employing one process mechanism realizes the emulation testing to equipment under test, the whole testing process of equipment under test and simulated test device mainly concentrates in a whole set of emulation testing code by this mechanism, therefore, the testing process of this mechanism performs according to certain execution sequence serial according to this emulation testing code, that is, only after completing a whole set of emulation testing process, just follow-up emulation testing can be carried out, but, when this equipment under test can be made like this to be applied in product, need again to subtract sanction code, and subtract the code after sanction and cannot verify its correctness, and, because product firmware needs could start large-scale emulation testing after hardware system has been developed, and the emulation testing order that emulation testing adopts serial to perform, cause the speed of emulation testing comparatively slow and the cycle of emulation testing is longer.
Summary of the invention
Embodiments of the invention provide a kind of method and apparatus of emulation testing, by system that is virtually reality like reality, make the product developed more close to the product of practical application, and the problem that the speed of resolution system emulation testing is slow and the cycle is long.
For achieving the above object, embodiments of the invention adopt following technical scheme:
On the one hand, the embodiment of the present invention provides a kind of emulation test method, comprising:
Create internal storage location, described internal storage location On-board test information;
Obtain described detecting information, and carry out emulation testing for described detecting information.
On the other hand, the embodiment of the present invention provides a kind of simulated test device, comprising:
Creating unit, for creating internal storage location, described internal storage location On-board test information;
Test cell, for obtaining described detecting information, and carries out emulation testing for described detecting information.
The embodiment of the present invention provides a kind of method and apparatus of emulation testing, simulated test device creates internal storage location, this internal storage location On-board test information, obtain this detecting information, and carry out emulation testing for this detecting information, like this, due to the establishment of internal storage location, each test module in the test cell of simulated test device and equipment under test can be relatively independent execution emulation testing process, and by system that is virtually reality like reality, make the product developed more close to the product of practical application, thus the problem that the speed of resolution system emulation testing is slow and the cycle is long.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The method schematic diagram of a kind of emulation testing that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of emulation test method that Fig. 2 provides for the embodiment of the present invention;
The structural representation of a kind of simulated test device that Fig. 3 provides for the embodiment of the present invention;
The structural representation of the another kind of simulated test device that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the another kind of simulated test device that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of emulation testing, and as shown in Figure 1, the executive agent of this embodiment is simulated test device, and the method comprises:
S101, establishment internal storage location.
Wherein, this internal storage location On-board test information.
S102, obtain this detecting information, and carry out emulation testing for this detecting information.
Alternatively, from this internal storage location, obtain this detecting information that this equipment under test sends, and after the emulation testing carried out for this detecting information completes, report test result.
Illustratively, when carry out descending emulation testing flow process (namely detecting information according to equipment under test to simulated test device order perform emulation testing) time, this internal storage location comprises the first shared drive module, the second shared drive module and the 3rd shared drive module, then above-mentioned flow process be specially into:
From this first shared drive module, obtain the detecting information that this equipment under test sends, when the emulation testing for this detecting information completes, this detecting information is sent to this second shared drive module.
From this second shared drive module, obtain this detecting information, when the emulation testing for this detecting information completes, this detecting information is sent to the 3rd shared drive module.
From the 3rd shared drive module, obtain this detecting information, and when the emulation testing for this detecting information completes, report test result.
In the present embodiment, can by arrange first test mark and second test identify realize above-mentioned descending emulation testing flow process, concrete steps are:
When the first test mark inquiring setting sets to 0, the detecting information that this equipment under test sends is obtained from this first shared drive module, when the emulation testing for this detecting information completes, this first test mark is put 1, and this detecting information is sent to this second shared drive module.
When inquiring the second test mark and setting to 0, from this second shared drive module, obtain this detecting information, when the emulation testing for this detecting information completes, this second test mark is put 1, and this detecting information is sent to the 3rd shared drive module.
When inquiring this test mark and putting 1, from the 3rd shared drive module, obtain this detecting information, and when the emulation testing for this detecting information completes, this test mark is set to 0, and reports test result.
In addition, when detecting information being sent to the second shared drive module, descending test mark being set, and when inquiring this descending test mark and putting 1, determining that this detecting information is according to descending emulation testing flow performing, this descending test mark is set to 0.
Illustratively, (client suppor or cooperation is not needed at loopback test mode, the detecting information sent by the equipment under test of acquisition directly feeds back to equipment under test to reach the test purpose of loopback) under, when carrying out descending emulation testing flow process, this internal storage location is the first shared drive unit, then above-mentioned descending emulation testing flow process is specially:
From this first shared drive unit, obtain the detecting information that this equipment under test sends, and when the emulation testing for this detecting information completes, report test result.
In the present embodiment, can realize above-mentioned descending emulation testing flow process by arranging the first test mark, concrete steps are:
When inquiring this first test mark and setting to 0, from this first shared drive unit, obtain the detecting information that described equipment under test sends, and when the emulation testing for this detecting information completes, this first test mark is put 1, reports test result.
Further, this detecting information obtained for self carries out emulation testing, and this detecting information is sent to this equipment under test, so that this equipment under test is when the emulation testing for this detecting information completes, reports test result.
Alternatively, when carry out up emulation testing flow process (namely detecting information according to simulated test device to equipment under test order perform emulation testing) time, this internal storage location comprises the first shared drive module, the second shared drive module and the 3rd shared drive module, then above-mentioned flow process be specially into:
Obtain detecting information, and this detecting information is sent to the 3rd shared drive module;
From the 3rd shared drive module, obtain detecting information, and when the emulation testing for this detecting information completes, this detecting information is sent to this second shared drive module;
This detecting information is obtained from this second shared drive module, when the emulation testing for this detecting information completes, and this detecting information is sent to this first shared drive module, from this first shared drive module, this detecting information is obtained to make this equipment under test, and when the emulation testing for this detecting information completes, report test result.
In the present embodiment, can by arrange first test mark and second test identify realize above-mentioned up emulation testing flow process, concrete steps are:
When the second test mark inquiring setting puts 1, obtain detecting information, when the emulation testing for this detecting information completes, this second test mark is set to 0, and this detecting information is sent to the 3rd shared drive module;
When the second test mark inquiring setting sets to 0, detecting information is obtained from the 3rd shared drive module, when the emulation testing for this detecting information completes, this second test mark is put 1, and this detecting information is sent to this second shared drive module;
When the first test mark inquiring setting sets to 0, this detecting information is obtained from this second shared drive module, when the emulation testing for this detecting information completes, this the first test mark is put 1, and this detecting information is sent to this first shared drive module, to make this equipment under test when inquiring this first test mark and putting 1, this detecting information is obtained from this first shared drive module, and when the emulation testing for this detecting information completes, this the first test mark is set to 0, and reports test result.
In addition, when detecting information being sent to the second shared drive module, up test mark being set, and when inquiring this up test mark and putting 1, determining that this detecting information is according to up emulation testing flow performing, this up test mark is set to 0.
Illustratively, under loopback test mode, when carrying out up emulation testing flow process, this internal storage location is the first shared drive unit, then above-mentioned up emulation testing flow process is specially:
Obtain this detecting information, and when the emulation testing for this detecting information completes, this detecting information is sent to this first shared drive unit, from this first shared drive unit, this detecting information is obtained to make this equipment under test, and when the emulation testing for this detecting information completes, report test result.
In the present embodiment, can realize above-mentioned up emulation testing flow process by arranging the first test mark, concrete steps are:
When the first test mark inquiring setting sets to 0, obtain this detecting information, and when the emulation testing for this detecting information completes, this the first test mark is put 1, and this detecting information is sent to this first shared drive unit, to make this equipment under test when inquiring this first test mark and putting 1, this detecting information is obtained from this first shared drive unit, and when the emulation testing for this detecting information completes, this first test mark is set to 0, and reports test result.
It should be noted that, at the end of above-mentioned emulation testing program performs, the internal storage location that said procedure creates, the operating system that automatically can be performed this emulation testing program reclaims.
In addition, the above-mentioned emulation testing carried out for detecting information is specially according to the postrun detecting information of emulation testing program, the template of the correct detecting information stored with simulated test device contrasts, if consistent with the template of correct detecting information according to the postrun detecting information of emulation testing program, then confirm that the detecting information after the test of this actual emulation have passed the emulation testing of this local side simulation hardware test module.
The method of the emulation testing adopting above-described embodiment to provide, due to the establishment of internal storage location, make the execution emulation testing process that this simulated test device and equipment under test can be relatively independent, and by system that is virtually reality like reality, make the product developed more close to the product of practical application, thus the problem that the speed of resolution system emulation testing is slow and the cycle is long.
The embodiment of the present invention provides the method for another kind of emulation testing, and as shown in Figure 2, this embodiment is described according to descending emulation testing flow process for detecting information, and the method specifically comprises:
S201, simulated test device create the first shared drive module, the second shared drive module and the 3rd shared drive module.
S202, equipment under test, when the first test mark inquiring simulated test device setting puts 1, carry out emulation testing for the detecting information obtained.
Wherein, equipment under test can carry out the emulation testing of local side firmware for detecting information.
Further, if do not inquire the first test mark to put 1, then inquiry is continued.
First test mark sets to 0 by S203, equipment under test, and detecting information is sent to the first shared drive module.
S204, simulated test device, when inquiring this first test mark and setting to 0, obtain detecting information from the first shared drive module.
Further, set to 0 if do not inquire the first test mark, then continue inquiry.
S205, when the emulation testing for this detecting information completes, this first test mark is put 1 by simulated test device, and this detecting information is sent to the second shared drive module.
S206, emulation testing module, when inquiring this second test mark and setting to 0, obtain this detecting information from this second shared drive module.
Further, set to 0 if do not inquire the second test mark, then continue inquiry.
In addition, simulated test device, when detecting information being sent to the second shared drive module, arranges descending test mark, and when inquiring this descending test mark and putting 1, determine that this detecting information is according to descending emulation testing flow performing, this descending test mark is set to 0.
S207, when the emulation testing for this detecting information completes, this second test mark is put 1 by simulated test device, and this detecting information is sent to the 3rd shared drive module.
S208, this simulated test device, when inquiring this second test mark and setting to 0, obtain this detecting information from the 3rd shared drive module.
Further, set to 0 if do not inquire the second test mark, then continue inquiry.
S209, when the emulation testing for this detecting information completes, the second test mark to 1, and is reported test result by simulated test device.
It should be noted that, at the end of above-mentioned emulation testing program performs, the internal storage location that said procedure creates, the operating system that automatically can be performed this emulation testing program reclaims.
In addition, the above-mentioned emulation testing carried out for detecting information is specially according to the postrun detecting information of emulation testing program, the template of the correct detecting information stored with simulated test device contrasts, if consistent with the template of correct detecting information according to the postrun detecting information of emulation testing program, then confirm that the detecting information after the test of this actual emulation have passed the emulation testing of this local side simulation hardware test module.
The method of the emulation testing adopting above-described embodiment to provide, due to the establishment of internal storage location, make the execution emulation testing process that this simulated test device and equipment under test can be relatively independent, and by system that is virtually reality like reality, make the product developed more close to the product of practical application, thus the problem that the speed of resolution system emulation testing is slow and the cycle is long.
For the emulation test method that above-described embodiment provides, the embodiment of the present invention provides a kind of simulated test device 300, as shown in Figure 3, comprising:
Creating unit 301, for creating internal storage location 302.
Wherein, this internal storage location 302 On-board test information;
Test cell 303, for obtaining this detecting information, and carries out emulation testing for this detecting information.
Alternatively, this test cell 303, specifically for obtaining this detecting information that this equipment under test sends from this internal storage location, and when carrying out emulation testing for this detecting information and completing, reports test result.
Illustratively, as shown in Figure 4, when carry out descending emulation testing flow process (namely detecting information according to equipment under test to simulated test device order perform emulation testing) time, this test cell 303 comprises: local side simulation hardware test module 3031, user side simulation hardware test module 3032 and user side firmware emulation testing module 3033, this internal storage location 302 comprises: the first shared drive module 3021, second shared drive module 3022 and the 3rd shared drive module 3023
Wherein, this first shared drive module 3021, for being stored in detecting information mutual between this local side simulation hardware test module 3031 and equipment under test (not shown);
This second shared drive module 3022, for being stored in detecting information mutual between this local side simulation hardware test module 3031 and this user side simulation hardware test module 3032;
3rd shared drive module 3023, for being stored in detecting information mutual between this user side simulation hardware test module 3032 and this user side firmware emulation testing module 3033;
This local side simulation hardware test module 3031, for obtaining the detecting information that this equipment under test sends from this first shared drive module 3021, when the emulation testing for this detecting information completes, this detecting information is sent to this second shared drive module 3022;
This user side simulation hardware test module 3032, for obtaining this detecting information from this second shared drive module 3022, when the emulation testing for this detecting information completes, is sent to the 3rd shared drive module 3023 by this detecting information;
This user side firmware emulation testing module 3033, for obtaining this detecting information from the 3rd shared drive module 3023, and when the emulation testing for this detecting information completes, reports test result.
Particularly, this local side simulation hardware test module 3031, for arranging the first test mark, when inquiring this first test mark and setting to 0, the detecting information that this equipment under test sends is obtained from this first shared drive module 3021, when the emulation testing for this detecting information completes, this first test mark is put 1, and this detecting information is sent to this second shared drive module 3022;
This user side simulation hardware test module 3032, for arranging the second test mark, when inquiring this second test mark and setting to 0, this detecting information is obtained from this second shared drive module 3022, when the emulation testing for this detecting information completes, this the second test mark is put 1, and this detecting information is sent to the 3rd shared drive module 3023;
This user side firmware emulation testing module 3033, for when inquiring this second test mark and putting 1, from the 3rd shared drive module 3023, obtain this detecting information, when the emulation testing for this detecting information completes, this the second test mark is set to 0, and reports test result.
In addition, this user side simulation hardware test module 3032 is when the descending test mark inquiring the setting of local side simulation hardware test module 3031 puts 1, determine that this detecting information is transmitted by descending local side simulation hardware test module 3031, this descending test mark is set to 0.
Illustratively, as shown in Figure 5, (client suppor or cooperation is not needed at loopback test mode, the detecting information sent by the equipment under test of acquisition directly feeds back to equipment under test to reach the test purpose of loopback) under, when carrying out descending emulation testing flow process, this test cell 303 is local side simulation hardware loopback test module 3030, and this creating unit 301 creates the first shared drive unit 3020
This first shared drive unit 3020, for storing detecting information mutual between local side simulation hardware loopback test module 3030 and equipment under test (not shown);
This local side simulation hardware loopback test module 3030 obtains the detecting information that this equipment under test sends from this first shared drive unit 3020, and when the emulation testing for this detecting information completes, reports test result.
Alternatively, this test cell 303 specifically for, this detecting information obtained for self carries out emulation testing, and this detecting information is sent to this equipment under test, so that this equipment under test is when the emulation testing for this detecting information completes, reports test result.
Illustratively, shown in figure 4, when carry out up emulation testing flow process (namely detecting information according to simulated test device to equipment under test order perform emulation testing) time, this test cell 303 comprises: local side simulation hardware test module 3031, user side simulation hardware test module 3032 and user side firmware emulation testing module 3033, this internal storage location 302 comprises: the first shared drive module 3021, second shared drive module 3022 and the 3rd shared drive module 3023
This first shared drive module 3021, for being stored in detecting information mutual between this local side simulation hardware test module 3031 and equipment under test (not shown);
This second shared drive module 3022, for being stored in detecting information mutual between this local side simulation hardware test module 3031 and this user side simulation hardware test module 3032;
3rd shared drive module 3023, for being stored in detecting information mutual between this user side simulation hardware test module 3032 and this user side firmware emulation testing module 3033;
This user side firmware emulation testing module 3033, for obtaining detecting information, when the emulation testing for this detecting information completes, is sent to the 3rd shared drive module 3021 by this detecting information;
This user side simulation hardware test module 3032, for obtaining the detecting information that this user side firmware emulation testing module 3031 sends from the 3rd shared drive module 3023, and when the emulation testing for this detecting information completes, this detecting information is sent to this second shared drive module 3022;
This local side simulation hardware test module 3031, for obtaining this detecting information from this second shared drive module 3022, when the emulation testing for this detecting information completes, this detecting information is sent to this first shared drive module 3021, from this first shared drive module 3021, this detecting information is obtained to make this equipment under test, and when the emulation testing for this detecting information completes, report test result.
Particularly, this user side firmware emulation testing module 3033, during for putting 1 in the second test mark inquiring the setting of user side simulation hardware test module 3032, obtain detecting information, when the emulation testing for this detecting information completes, second test mark is set to 0, and this detecting information is sent to the 3rd shared drive module 3023;
This user side simulation hardware test module 3032, for arranging the second test mark, when inquiring this second test mark and setting to 0, the detecting information that this user side firmware emulation testing module 3033 sends is obtained from the 3rd shared drive module 3023, and when the emulation testing for this detecting information completes, this the second test mark is put 1, and this detecting information is sent to this second shared drive module 3022;
This local side simulation hardware test module 3031, for arranging the first test mark, when inquiring this first test mark and setting to 0, this detecting information is obtained from this second shared drive module 3022, when the emulation testing for this detecting information completes, this the first test mark is put 1, and this detecting information is sent to this first shared drive module 3021, to make this equipment under test when inquiring this first test mark and putting 1, this detecting information is obtained from this first shared drive module 3021, and when the emulation testing for this detecting information completes, this the first test mark is set to 0, and report test result.
In addition, this local side simulation hardware test module 3031 is when the up test mark inquiring the setting of user side simulation hardware test module 3032 puts 1, determine that this detecting information is transmitted by up user side simulation hardware test module 3032, this up test mark is set to 0.
Illustratively, shown in figure 5, under loopback test mode, when carrying out up emulation testing flow process, this test cell 303 is local side simulation hardware loopback test module 3030, and this creating unit creates the first shared drive unit 3020,
This first shared drive unit 3020, for storing detecting information mutual between local side simulation hardware loopback test module 3030 and equipment under test (not shown);
This local side simulation hardware loopback test module 3030, for obtaining this detecting information, and when the emulation testing for this detecting information completes, this detecting information is sent to this first shared drive unit 3020, from this first shared drive unit 3020, this detecting information is obtained to make this equipment under test, and when the emulation testing for this detecting information completes, report test result.
Particularly, this local side simulation hardware loopback test module 3030, for arranging the first test mark, and inquire first arrange mark set to 0 time, obtain this detecting information, and when the emulation testing for this detecting information completes, this the first test mark is put 1, this detecting information is sent to this first shared drive unit 3020, to make this equipment under test when inquiring this first test mark and putting 1, this detecting information is obtained from this first shared drive unit 3020, and when the emulation testing for this detecting information completes, this the first test mark is set to 0, and report test result.
It should be noted that, each test module that the above-mentioned emulation testing carried out for detecting information is specially in simulated test device will according to the postrun detecting information of emulation testing program, the template of the correct detecting information stored with simulated test device contrasts, if consistent with the template of correct detecting information according to the postrun detecting information of emulation testing program, then confirm that the detecting information after the test of this actual emulation have passed the emulation testing of this local side simulation hardware test module.
In addition, each test module in the equipment under test described in above-described embodiment and simulated test device is separate execution test process, there is not certain execution sequence, such as, local side simulation hardware test module in simulated test device is after carrying out emulation testing for the detecting information obtained from the first shared drive module, this detecting information is sent to the second shared drive module, now, this local side simulation hardware test module can obtain new detecting information and proceed emulation testing from the first shared drive module, that is, no matter whether descending user side simulation hardware test module gets detecting information and carries out emulation testing from the second shared drive module, as long as after the information after emulation testing is sent to the second shared drive module by this local side simulation hardware test module, just can proceed follow-up process, do not need after descending user side simulation hardware test module and user side firmware emulation testing module complete for this detecting information emulation testing, just from the first shared drive module, obtain new detecting information carries out emulation testing, certainly, above-mentioned follow-up process is not limited to and proceeds emulation testing, other similar process is also all within protection scope of the present invention.
Adopt the simulated test device that above-described embodiment provides, due to the establishment of internal storage location, each test module in the test cell of this simulated test device and equipment under test can be relatively independent execution emulation testing process, and by system that is virtually reality like reality, make the product developed more close to the product of practical application, thus the problem that the speed of resolution system emulation testing is slow and the cycle is long.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, 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 described claim.

Claims (4)

1. a method for emulation testing, is characterized in that, comprising:
Create internal storage location, described internal storage location On-board test information;
From described internal storage location, obtain the described detecting information that equipment under test sends, and when carrying out emulation testing for described detecting information and completing, report test result;
Described internal storage location comprises: the first shared drive module, the second shared drive module and the 3rd shared drive module, describedly from described internal storage location, obtains described detecting information, and carries out emulation testing for described detecting information, is specially:
Local side simulation hardware test module obtains the detecting information that described equipment under test sends from described first shared drive module, and carry out alternately according to described detecting information and described equipment under test, when the emulation testing for described detecting information completes, described detecting information is sent to described second shared drive module;
User side simulation hardware test module obtains described detecting information from described second shared drive module, and carry out alternately according to described detecting information and described local side simulation hardware test module, when the emulation testing for described detecting information completes, described detecting information is sent to described 3rd shared drive module;
User side firmware emulation testing module obtains described detecting information from described 3rd shared drive module, and carry out alternately according to described detecting information and described user side simulation hardware test module, when the emulation testing for described detecting information completes, report test result.
2. a method for emulation testing, is characterized in that, comprising:
Create internal storage location, described internal storage location On-board test information;
The described detecting information obtained for self carries out emulation testing, and described detecting information is sent to equipment under test, so that described equipment under test is when the emulation testing for described detecting information completes, reports test result;
Described internal storage location comprises: the first shared drive module, the second shared drive module and the 3rd shared drive module, the described detecting information of described acquisition, and carries out emulation testing for described detecting information, is specially:
User side firmware emulation testing module obtains detecting information, when the emulation testing for described detecting information completes, described detecting information is sent to described 3rd shared drive module;
User side simulation hardware test module obtains detecting information from described 3rd shared drive module, and carry out alternately according to described detecting information and described user side firmware emulation testing module, when the emulation testing for described detecting information completes, described detecting information is sent to described second shared drive module;
Local side simulation hardware test module obtains described detecting information from described second shared drive module, and carry out alternately according to described detecting information and described user side simulation hardware test module, when the emulation testing for described detecting information completes, described detecting information is sent to described first shared drive module, from described first shared drive module, described detecting information is obtained to make described equipment under test, and when the emulation testing for described detecting information completes, report test result.
3. a simulated test device, is characterized in that, comprising:
Creating unit, for creating internal storage location, described internal storage location On-board test information;
Test cell, for obtaining the described detecting information that equipment under test sends from described internal storage location, and when carrying out emulation testing for described detecting information and completing, reports test result;
Wherein, described test cell comprises: local side simulation hardware test module, user side simulation hardware test module and user side firmware emulation testing module, described internal storage location comprises: the first shared drive module, the second shared drive module and the 3rd shared drive module
Described first shared drive module, for being stored in detecting information mutual between described local side simulation hardware test module and equipment under test;
Described second shared drive module, for being stored in detecting information mutual between described local side simulation hardware test module and described user side simulation hardware test module;
Described 3rd shared drive module, for being stored in detecting information mutual between described user side simulation hardware test module and described user side firmware emulation testing module;
Described local side simulation hardware test module, for obtaining the detecting information that described equipment under test sends from described first shared drive module, and carry out alternately according to described detecting information and described equipment under test, when the emulation testing for described detecting information completes, described detecting information is sent to described second shared drive module;
Described user side simulation hardware test module, for obtaining described detecting information from described second shared drive module, and carry out alternately according to described detecting information and described local side simulation hardware test module, when the emulation testing for described detecting information completes, described detecting information is sent to described 3rd shared drive module;
Described user side firmware emulation testing module, for obtaining described detecting information from described 3rd shared drive module, and carry out alternately, when the emulation testing for described detecting information completes, reporting test result according to described detecting information and described user side simulation hardware test module.
4. a simulated test device, is characterized in that, comprising:
Creating unit, for creating internal storage location, described internal storage location On-board test information;
Test cell, for obtaining the described detecting information that equipment under test sends from described internal storage location, and when carrying out emulation testing for described detecting information and completing, reports test result;
Wherein, described test cell comprises: local side simulation hardware test module, user side simulation hardware test module and user side firmware emulation testing module, described internal storage location comprises: the first shared drive module, the second shared drive module and the 3rd shared drive module
Described first shared drive module, for being stored in detecting information mutual between described local side simulation hardware test module and equipment under test;
Described second shared drive module, for being stored in detecting information mutual between described local side simulation hardware test module and described user side simulation hardware test module;
Described 3rd shared drive module, for being stored in detecting information mutual between described user side simulation hardware test module and described user side firmware emulation testing module;
Described user side firmware emulation testing module, for obtaining detecting information, when the emulation testing for described detecting information completes, is sent to described 3rd shared drive module by described detecting information;
Described user side simulation hardware test module, for obtaining the detecting information that described user side firmware emulation testing module sends from described 3rd shared drive module, and carry out alternately according to described detecting information and described user side firmware emulation testing module, when the emulation testing for described detecting information completes, described detecting information is sent to described second shared drive module;
Described local side simulation hardware test module, for obtaining described detecting information from described second shared drive module, and carry out alternately according to described detecting information and described user side simulation hardware test module, when the emulation testing for described detecting information completes, described detecting information is sent to described first shared drive module, from described first shared drive module, described detecting information is obtained to make described equipment under test, and when the emulation testing for described detecting information completes, report test result.
CN201210222890.1A 2012-06-30 2012-06-30 Method and device for simulation test Expired - Fee Related CN102799719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210222890.1A CN102799719B (en) 2012-06-30 2012-06-30 Method and device for simulation test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210222890.1A CN102799719B (en) 2012-06-30 2012-06-30 Method and device for simulation test

Publications (2)

Publication Number Publication Date
CN102799719A CN102799719A (en) 2012-11-28
CN102799719B true CN102799719B (en) 2015-04-08

Family

ID=47198829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210222890.1A Expired - Fee Related CN102799719B (en) 2012-06-30 2012-06-30 Method and device for simulation test

Country Status (1)

Country Link
CN (1) CN102799719B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968311B (en) * 2012-12-13 2015-05-13 中国航空无线电电子研究所 Onboard embedded software development platform
CN107479536B (en) * 2017-08-29 2020-03-31 北京广利核系统工程有限公司 Containment leakage rate calculation verification method and device
CN113535588A (en) * 2021-08-09 2021-10-22 北京烁科精微电子装备有限公司 CMP equipment simulation test method and test system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933513A (en) * 2006-08-07 2007-03-21 华为技术有限公司 Automatic testing device and method for digital user line intercommunity

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933513A (en) * 2006-08-07 2007-03-21 华为技术有限公司 Automatic testing device and method for digital user line intercommunity

Also Published As

Publication number Publication date
CN102799719A (en) 2012-11-28

Similar Documents

Publication Publication Date Title
CN102967815B (en) Chip testing method, automated testing equipment and system
CN105912473B (en) Mobile APP automatically testing platform and test method based on BDD
CN103268289B (en) Record the method and system of application testing script on mobile terminals
CN106383786A (en) Interface pressure performance testing method and device and electronic equipment
CN103699122A (en) Finished car controller test platform and control method
CN102799719B (en) Method and device for simulation test
CN104601770A (en) Terminal and smoothness evaluation method thereof
CN106293625A (en) A kind of method and apparatus of configuration register
CN102799522A (en) Managing method and system for software version tracing test
CN104020763A (en) Automatic test method and system for input and output interfaces
CN103631688A (en) Method and system for testing interface signal
CN104063324A (en) Method and system for Monkey test
CN107085554A (en) A kind of method and apparatus for adding control mark
CN101957771A (en) Method and device for installing mobile software for multiple mobile phones simultaneously
CN103838664A (en) Pressure testing method and device
CN107632910A (en) A kind of method of testing and device
CN108062266A (en) A kind of PCIE-SSD automated testing methods based on cloud platform
CN105636107A (en) Assessment method of network quality and network side device
CN103812730A (en) Multiple cell TTCN (Tree and Tabular Combined Notation) protocol conformance test platform system
CN107622013B (en) Distributed system testing method and device
CN110515604A (en) The acquisition methods and device of the executable program file of verification environment
CN104407604A (en) D5000 debugging protocol testing device and method
CN105897494A (en) Testing method of network transmission rate
CN106375155B (en) The control method and control system of MAC simulating, verifying model
CN204406390U (en) A kind of Monkey test macro

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

Termination date: 20180630