CN102799719A - Method and device for simulation test - Google Patents

Method and device for simulation test Download PDF

Info

Publication number
CN102799719A
CN102799719A CN2012102228901A CN201210222890A CN102799719A CN 102799719 A CN102799719 A CN 102799719A CN 2012102228901 A CN2012102228901 A CN 2012102228901A CN 201210222890 A CN201210222890 A CN 201210222890A CN 102799719 A CN102799719 A CN 102799719A
Authority
CN
China
Prior art keywords
detecting information
shared drive
test
emulation testing
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012102228901A
Other languages
Chinese (zh)
Other versions
CN102799719B (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

Images

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 the emulation testing field, relate in particular to a kind of method and apparatus of emulation testing.
Background technology
DSL (Digital Subscriber Line; Digital subscriber line) being is the transmission technology combination of transmission medium with copper telephone wire; It comprises HDSL (High-speed Digital Subscriber Line; The high-bit-rate digital subscriber line road), SDSL (Symmetric Digital Subscriber Line; Symmetric Digital Subscriber Line), VDSL (Very-high-bit-rate Digital Subscriber loop, very-high-bit-rate digital subscriber loop), ADSL (Asymmetric Digital Subscriber Line, ADSL) and RADSL (Rate-Adaptive Digital Subscriber Line; RADSL) etc., generally be referred to as xDSL.Their main differences are exactly to be embodied in the different and upstream rate of signaling rate and distance and symmetric different these two aspects of downstream rate.
In existing DSL system, thereby through system-level modeling system that is virtually reality like reality equipment under test is carried out emulation testing, emulation testing generally is used for before product is delivered for use; In the prior art, mainly adopt the system-level modeling of one process mechanism to realize the emulation testing to equipment under test, this mechanism mainly is that the whole testing process with equipment under test and simulated test device concentrates in a whole set of the emulation testing code; Therefore, this machine-processed testing process is to carry out according to certain execution sequence serial according to this emulation testing code, that is to say; Only after the emulation testing process of accomplishing a whole set of; Just can carry out follow-up emulation testing, still, can make when this equipment under test is applied in the product like this; Need subtract the sanction code again; And the code that subtracts after the sanction can't verify its correctness, and, because the product firmware need could start large-scale emulation testing after the hardware system exploitation is accomplished; And the emulation testing order that emulation testing adopts serial to carry out causes the speed of emulation testing longer than the cycle of slow and emulation testing.
Summary of the invention
Embodiments of the invention provide a kind of method and apparatus of emulation testing, through system that is virtually reality like reality, make the product develop more near the product of practical application, and the speed of resolution system emulation testing reach long problem of cycle slowly.
For achieving the above object, embodiments of the invention adopt following technical scheme:
On the one hand, the embodiment of the invention provides a kind of emulation test method, comprising:
Create internal storage location, said internal storage location storage detecting information;
Obtain said detecting information, and carry out emulation testing to said detecting information.
On the other hand, the embodiment of the invention provides a kind of simulated test device, comprising:
Create the unit, be used to create internal storage location, said internal storage location storage detecting information;
Test cell is used to obtain said detecting information, and carries out emulation testing to said detecting information.
The embodiment of the invention provides a kind of method and apparatus of emulation testing, and simulated test device is created internal storage location, this internal storage location storage detecting information; Obtain this detecting information; And carry out emulation testing to this detecting information, like this, because 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, make the product develop more near the product of practical application, thereby the speed of resolution system emulation testing reach long problem of cycle slowly through system that is virtually reality like reality.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The method synoptic diagram of a kind of emulation testing that Fig. 1 provides for the embodiment of the invention;
The schematic flow sheet of the another kind of emulation test method that Fig. 2 provides for the embodiment of the invention;
The structural representation of a kind of simulated test device that Fig. 3 provides for the embodiment of the invention;
The structural representation of the another kind of simulated test device that Fig. 4 provides for the embodiment of the invention;
The structural representation of the another kind of simulated test device that Fig. 5 provides for the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention provides a kind of method of emulation testing, and is as shown in Figure 1, and the executive agent of this embodiment is a simulated test device, and this method comprises:
S101, establishment internal storage location.
Wherein, this internal storage location storage detecting information.
S102, obtain this detecting information, and carry out emulation testing to this detecting information.
Alternatively, from this internal storage location, obtain this detecting information that this equipment under test sends, and after the emulation testing of carrying out to this detecting information is accomplished, report test result.
Example ground; When carrying out descending emulation testing flow process (being that detecting information is carried out emulation testing according to the order of equipment under test to simulated test device); 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 accomplishing, this detecting information is sent to this second shared drive module to the emulation testing of this detecting information.
From this second shared drive module, obtain this detecting information, when accomplishing, this detecting information is sent to the 3rd shared drive module to the emulation testing of this detecting information.
From the 3rd shared drive module, obtain this detecting information, and when accomplishing, report test result to the emulation testing of this detecting information.
In the present embodiment, can be through the first test sign and the above-mentioned descending emulation testing flow process of the second test sign realization be set, concrete steps are:
The first test sign inquiring setting was put 0 o'clock; From this first shared drive module, obtain the detecting information that this equipment under test sends; When accomplishing, this first test sign is put 1, and this detecting information is sent to this second shared drive module to the emulation testing of this detecting information.
Put 0 o'clock inquiring the second test sign, from this second shared drive module, obtain this detecting information, when accomplishing, this second test sign is put 1, and this detecting information is sent to the 3rd shared drive module to the emulation testing of this detecting information.
Put 1 o'clock inquiring this test sign, from the 3rd shared drive module, obtain this detecting information, and when accomplishing, should test to identify and put 0, and report test result to the emulation testing of this detecting information.
In addition, when detecting information being sent to the second shared drive module, descending test sign is set, and put 1 o'clock inquiring this descending test sign, confirm this detecting information, should descending test identify and put 0 according to descending emulation testing flow performing.
Example ground; (do not need user side support or cooperation in the loopback test pattern; The detecting information that the equipment under test that obtains is sent 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, and 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 accomplishing, report test result to the emulation testing of this detecting information.
In the present embodiment, can realize above-mentioned descending emulation testing flow process through the first test sign is set, concrete steps are:
Put 0 o'clock inquiring this first test sign, from this first shared drive unit, obtain the detecting information that said equipment under test sends, and when accomplishing, this first test sign is put 1, report test result to the emulation testing of this detecting information.
Further, this detecting information that obtains to self carries out emulation testing, and this detecting information is sent to this equipment under test, so that this equipment under test reports test result when accomplishing to the emulation testing of this detecting information.
Alternatively; When carrying out up emulation testing flow process (being that detecting information is carried out emulation testing according to the order of simulated test device to equipment under test); 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 accomplishing, this detecting information is sent to this second shared drive module to the emulation testing of this detecting information;
From this second shared drive module, obtain this detecting information; When accomplishing to the emulation testing of this detecting information; And this detecting information is sent to this first shared drive module; So that this equipment under test obtains this detecting information from this first shared drive module, and when accomplishing, report test result to the emulation testing of this detecting information.
In the present embodiment, can be through the first test sign and the above-mentioned up emulation testing flow process of the second test sign realization be set, concrete steps are:
The second test sign inquiring setting was put 1 o'clock, obtained detecting information, when accomplishing to the emulation testing of this detecting information, this second test sign is put 0, and this detecting information is sent to the 3rd shared drive module;
The second test sign inquiring setting was put 0 o'clock; From the 3rd shared drive module, obtain detecting information; When accomplishing, this second test sign is put 1, and this detecting information is sent to this second shared drive module to the emulation testing of this detecting information;
The first test sign inquiring setting was put 0 o'clock; From this second shared drive module, obtain this detecting information, when accomplishing, this first test sign is put 1 to the emulation testing of this detecting information; And this detecting information is sent to this first shared drive module; So that this equipment under test was put 1 o'clock inquiring this first test sign, from this first shared drive module, obtain this detecting information, and when accomplishing to the emulation testing of this detecting information; This first test sign is put 0, and report test result.
In addition, when detecting information being sent to the second shared drive module, up test sign is set, and put 1 o'clock inquiring this up test sign, confirm this detecting information, should up test identify and put 0 according to up emulation testing flow performing.
Example ground, under the loopback test pattern, 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 accomplishing to the emulation testing of this detecting information; This detecting information is sent to this first shared drive unit; So that this equipment under test obtains this detecting information from this first shared drive unit, and when accomplishing, report test result to the emulation testing of this detecting information.
In the present embodiment, can realize above-mentioned up emulation testing flow process through the first test sign is set, concrete steps are:
The first test sign inquiring setting was put 0 o'clock, obtained this detecting information, and when accomplishing to the emulation testing of this detecting information; This first test sign is put 1, and this detecting information is sent to this first shared drive unit, so that this equipment under test was put 1 o'clock inquiring this first test sign; From this first shared drive unit, obtain this detecting information; And when accomplishing, this first test sign is put 0, and report test result to the emulation testing of this detecting information.
Need to prove, when above-mentioned emulation testing program is carried out end, the internal storage location that said procedure is created, the operating system that can be performed this emulation testing program automatically reclaims.
In addition; The above-mentioned emulation testing of carrying out to detecting information is specially according to the detecting information after the emulation testing program run; Compare with the template of the correct detecting information of simulated test device storage; If consistent with the template of correct detecting information, confirm that then the detecting information after this actual emulation is tested has passed through the emulation testing of this local side simulation hardware test module according to the detecting information after the emulation testing program run.
The method of the emulation testing that employing the foregoing description provides; Because 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, make the product develop more near the product of practical application, thereby the speed of resolution system emulation testing reach long problem of cycle slowly through system that is virtually reality like reality.
The embodiment of the invention provides the method for another kind of emulation testing, and is as shown in Figure 2, and this embodiment is that example describes with detecting information according to descending emulation testing flow process, and this method specifically comprises:
S201, simulated test device are created the first shared drive module, the second shared drive module and the 3rd shared drive module.
S202, equipment under test were put 1 o'clock in the first test sign that inquires the simulated test device setting, carried out emulation testing to the detecting information that obtains.
Wherein, equipment under test can carry out the emulation testing of local side firmware to detecting information.
Further, do not put 1, then continue inquiry if inquire the first test sign.
S203, equipment under test are put 0 with the first test sign, and detecting information are sent to the first shared drive module.
S204, simulated test device put 0 o'clock inquiring this first test sign, from the first shared drive module, obtained detecting information.
Further, do not put 0, then continue inquiry if inquire the first test sign.
S205, when accomplishing to the emulation testing of this detecting information, simulated test device puts 1 with this first test sign, and this detecting information is sent to the second shared drive module.
S206, emulation testing module put 0 o'clock inquiring this second test sign, from this second shared drive module, obtained this detecting information.
Further, do not put 0, then continue inquiry if inquire the second test sign.
In addition; Simulated test device is provided with descending test sign when detecting information being sent to the second shared drive module, and puts 1 o'clock inquiring this descending test sign; Confirm this detecting information according to descending emulation testing flow performing, should descending test sign put 0.
S207, when accomplishing to the emulation testing of this detecting information, simulated test device puts 1 with this second test sign, and this detecting information is sent to the 3rd shared drive module.
S208, this simulated test device put 0 o'clock inquiring this second test sign, from the 3rd shared drive module, obtained this detecting information.
Further, do not put 0, then continue inquiry if inquire the second test sign.
S209, when accomplishing to the emulation testing of this detecting information, simulated test device to 1, and reports test result with the second test sign.
Need to prove, when above-mentioned emulation testing program is carried out end, the internal storage location that said procedure is created, the operating system that can be performed this emulation testing program automatically reclaims.
In addition; The above-mentioned emulation testing of carrying out to detecting information is specially according to the detecting information after the emulation testing program run; Compare with the template of the correct detecting information of simulated test device storage; If consistent with the template of correct detecting information, confirm that then the detecting information after this actual emulation is tested has passed through the emulation testing of this local side simulation hardware test module according to the detecting information after the emulation testing program run.
The method of the emulation testing that employing the foregoing description provides; Because 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, make the product develop more near the product of practical application, thereby the speed of resolution system emulation testing reach long problem of cycle slowly through system that is virtually reality like reality.
To the emulation test method that the foregoing description provides, the embodiment of the invention provides a kind of simulated test device 300, and is as shown in Figure 3, comprising:
Create unit 301, be used to create internal storage location 302.
Wherein, these internal storage location 302 storage detecting informations;
Test cell 303 is used to obtain this detecting information, and carries out emulation testing to this detecting information.
Alternatively, this test cell 303 specifically is used for obtaining this detecting information that this equipment under test sends from this internal storage location, and when carrying out the emulation testing completion to this detecting information, reports test result.
Example ground; As shown in Figure 4; When carrying out descending emulation testing flow process (being that detecting information is carried out emulation testing according to the order of equipment under test to simulated test device); 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, the second shared drive module 3022 and the 3rd shared drive module 3023
Wherein, this first shared drive module 3021 is used to be stored in mutual detecting information between this local side simulation hardware test module 3031 and the equipment under test (not shown);
This second shared drive module 3022 is used to be stored in mutual detecting information between this local side simulation hardware test module 3031 and this user side simulation hardware test module 3032;
The 3rd shared drive module 3023 is used to be stored in mutual detecting information 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; Be used for obtaining the detecting information that this equipment under test sends from this first shared drive module 3021; When accomplishing, this detecting information is sent to this second shared drive module 3022 to the emulation testing of this detecting information;
This user side simulation hardware test module 3032 is used for obtaining this detecting information from this second shared drive module 3022, when accomplishing to the emulation testing of this detecting information, this detecting information is sent to the 3rd shared drive module 3023;
This user side firmware emulation testing module 3033 is used for obtaining this detecting information from the 3rd shared drive module 3023, and when accomplishing to the emulation testing of this detecting information, reports test result.
Particularly; This local side simulation hardware test module 3031 is used to be provided with the first test sign, puts 0 o'clock inquiring this first test sign; From this first shared drive module 3021, obtain the detecting information that this equipment under test sends; When accomplishing, this first test sign is put 1, and this detecting information is sent to this second shared drive module 3022 to the emulation testing of this detecting information;
This user side simulation hardware test module 3032; Be used to be provided with the second test sign; Put 0 o'clock inquiring this second test sign, from this second shared drive module 3022, obtain this detecting information, when accomplishing to the emulation testing of this detecting information; This second test sign is put 1, and this detecting information is sent to the 3rd shared drive module 3023;
This user side firmware emulation testing module 3033; Be used for putting 1 o'clock inquiring this second test sign, from the 3rd shared drive module 3023, obtain this detecting information, when accomplishing to the emulation testing of this detecting information; This second test sign is put 0, and report test result.
In addition; This user side simulation hardware test module 3032 was put 1 o'clock in the descending test sign that inquires 3031 settings of local side simulation hardware test module; Confirm that this detecting information is to be transmitted by descending local side simulation hardware test module 3031, should descending test sign put 0.
Example ground; As shown in Figure 5, under loopback test pattern (do not need user side support or cooperation, the detecting information that the equipment under test that obtains is sent directly feeds back to equipment under test to reach the test purpose of loopback); When carrying out descending emulation testing flow process; This test cell 303 is a local side simulation hardware loopback test module 3030, and this is created unit 301 and creates the first shared drive unit 3020
This first shared drive unit 3020 is used to store mutual detecting information between local side simulation hardware loopback test module 3030 and the equipment under test (not shown);
This local side simulation hardware loopback test module 3030 is obtained the detecting information that this equipment under test sends from this first shared drive unit 3020, and when accomplishing to the emulation testing of this detecting information, reports test result.
Alternatively, this test cell 303 specifically is used for, and this detecting information that obtains to self carries out emulation testing, and this detecting information is sent to this equipment under test, so that this equipment under test reports test result when accomplishing to the emulation testing of this detecting information.
Example ground; With reference to shown in Figure 4; When carrying out up emulation testing flow process (being that detecting information is carried out emulation testing according to the order of simulated test device to equipment under test); 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, the second shared drive module 3022 and the 3rd shared drive module 3023
This first shared drive module 3021 is used to be stored in mutual detecting information between this local side simulation hardware test module 3031 and the equipment under test (not shown);
This second shared drive module 3022 is used to be stored in mutual detecting information between this local side simulation hardware test module 3031 and this user side simulation hardware test module 3032;
The 3rd shared drive module 3023 is used to be stored in mutual detecting information 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 is used to obtain detecting information, when accomplishing to the emulation testing of this detecting information, this detecting information is sent to the 3rd shared drive module 3021;
This user side simulation hardware test module 3032; Be used for obtaining the detecting information that this user side firmware emulation testing module 3031 is sent from the 3rd shared drive module 3023; And when accomplishing, this detecting information is sent to this second shared drive module 3022 to the emulation testing of this detecting information;
This local side simulation hardware test module 3031; Be used for obtaining this detecting information from this second shared drive module 3022; When accomplishing, this detecting information is sent to this first shared drive module 3021, so that this equipment under test obtains this detecting information from this first shared drive module 3021 to the emulation testing of this detecting information; And when accomplishing, report test result to the emulation testing of this detecting information.
Particularly; This user side firmware emulation testing module 3033; Be used for putting 1 o'clock, obtain detecting information, when accomplishing to the emulation testing of this detecting information in the second test sign that inquires 3032 settings of user side simulation hardware test module; The second test sign is put 0, and this detecting information is sent to the 3rd shared drive module 3023;
This user side simulation hardware test module 3032; Be used to be provided with the second test sign; Put 0 o'clock inquiring this second test sign, from the 3rd shared drive module 3023, obtain the detecting information that this user side firmware emulation testing module 3033 is sent, and when accomplishing to the emulation testing of this detecting information; This second test sign is put 1, and this detecting information is sent to this second shared drive module 3022;
This local side simulation hardware test module 3031 is used to be provided with the first test sign, puts 0 o'clock inquiring this first test sign; From this second shared drive module 3022, obtain this detecting information, when accomplishing, this first test sign is put 1 to the emulation testing of this detecting information; And this detecting information is sent to this first shared drive module 3021; So that this equipment under test was put 1 o'clock inquiring this first test sign, from this first shared drive module 3021, obtain this detecting information, and when accomplishing to the emulation testing of this detecting information; This first test sign is put 0, and report test result.
In addition; This local side simulation hardware test module 3031 was put 1 o'clock in the up test sign that inquires 3032 settings of user side simulation hardware test module; Confirm that this detecting information is to be transmitted by up user side simulation hardware test module 3032, should up test sign put 0.
Example ground, with reference to shown in Figure 5, under the loopback test pattern, when carrying out up emulation testing flow process, this test cell 303 is a local side simulation hardware loopback test module 3030, the first shared drive unit 3020 is created in this establishment unit,
This first shared drive unit 3020 is used to store mutual detecting information between local side simulation hardware loopback test module 3030 and the equipment under test (not shown);
This local side simulation hardware loopback test module 3030; Be used to obtain this detecting information; And when accomplishing, this detecting information is sent to this first shared drive unit 3020, so that this equipment under test obtains this detecting information from this first shared drive unit 3020 to the emulation testing of this detecting information; And when accomplishing, report test result to the emulation testing of this detecting information.
Particularly, this local side simulation hardware loopback test module 3030 is used to be provided with the first test sign; And sign is set put 0 o'clock inquiring first, obtain this detecting information, and when accomplishing to the emulation testing of this detecting information; This first test sign is put 1, this detecting information is sent to this first shared drive unit 3020, so that this equipment under test was put 1 o'clock inquiring this first test sign; From this first shared drive unit 3020, obtain this detecting information; And when accomplishing, this first test sign is put 0, and report test result to the emulation testing of this detecting information.
Need to prove; Each test module that the above-mentioned emulation testing of carrying out to detecting information is specially in the simulated test device will be according to the detecting information after the emulation testing program run; Compare with the template of the correct detecting information of simulated test device storage; If consistent with the template of correct detecting information, confirm that then the detecting information after this actual emulation is tested has passed through the emulation testing of this local side simulation hardware test module according to the detecting information after the emulation testing program run.
In addition; The equipment under test of describing in the foregoing description and each test module in the simulated test device are separate execution test processes; Do not have certain execution sequence, for example, the local side simulation hardware test module in the simulated test device is after carrying out emulation testing to the detecting information that from the first shared drive module, obtains; This detecting information is sent to the second shared drive module; At this moment, this local side simulation hardware test module can obtain new detecting information and proceed emulation testing from the first shared drive module, that is to say; No matter whether descending user side simulation hardware test module gets access to detecting information and carries out emulation testing from the second shared drive module; As long as after the information of this local side simulation hardware test module after with emulation testing is sent to the second shared drive module, just can proceed follow-up process, need be after descending user side simulation hardware test module and user side firmware emulation testing module be directed against this detecting information emulation testing completion; Just from the first shared drive module, obtaining new detecting information carries out emulation testing; Certainly, above-mentioned follow-up process is not limited to proceed emulation testing, and other similar process is also all within protection scope of the present invention.
The simulated test device that adopts the foregoing description to provide; Because 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, make the product develop more near the product of practical application, thereby the speed of resolution system emulation testing reach long problem of cycle slowly through system that is virtually reality like reality.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of programmed instruction; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of said claim.

Claims (14)

1. the method for an emulation testing is characterized in that, comprising:
Create internal storage location, said internal storage location storage detecting information;
Obtain said detecting information, and carry out emulation testing to said detecting information.
2. method according to claim 1; It is characterized in that; The said detecting information that obtains, and carry out emulation testing to said detecting information, be specially: from said internal storage location, obtain the said detecting information that said equipment under test sends; And when carrying out the emulation testing completion to said detecting information, report test result.
3. method according to claim 2; It is characterized in that; Said internal storage location comprises: the first shared drive module, the second shared drive module and the 3rd shared drive module; Saidly from said internal storage location, obtain said detecting information, and carry out emulation testing, be specially to said detecting information:
From the said first shared drive module, obtain the detecting information that said equipment under test sends, when accomplishing, said detecting information is sent to the said second shared drive module to the emulation testing of said detecting information;
From the said second shared drive module, obtain said detecting information, when accomplishing, said detecting information is sent to said the 3rd shared drive module to the emulation testing of said detecting information;
From said the 3rd shared drive module, obtain said detecting information, and when accomplishing, report test result to the emulation testing of said detecting information.
4. method according to claim 2 is characterized in that, said internal storage location is the first shared drive unit, saidly from the said first shared drive unit, obtains said detecting information, and carries out emulation testing to said detecting information, is specially:
From the said first shared drive unit, obtain the detecting information that said equipment under test sends, and when accomplishing, report test result to the emulation testing of said detecting information.
5. method according to claim 1 is characterized in that, saidly obtains said detecting information, and carries out emulation testing to said detecting information, is specially:
The said detecting information that obtains to self carries out emulation testing, and said detecting information is sent to said equipment under test, so that said equipment under test reports test result when accomplishing to the emulation testing of said detecting information.
6. method according to claim 5; It is characterized in that said internal storage location comprises: the first shared drive module, the second shared drive module and the 3rd shared drive module, saidly obtain said detecting information; And carry out emulation testing to said detecting information, be specially:
Obtain detecting information, when accomplishing, said detecting information is sent to said the 3rd shared drive module to the emulation testing of said detecting information;
From said the 3rd shared drive module, obtain detecting information, and when accomplishing, said detecting information is sent to the said second shared drive module to the emulation testing of said detecting information;
From the said second shared drive module, obtain said detecting information; When accomplishing to the emulation testing of said detecting information; Said detecting information is sent to the said first shared drive module; So that said equipment under test obtains said detecting information from the said first shared drive module, and when accomplishing, report test result to the emulation testing of said detecting information.
7. method according to claim 5 is characterized in that, said internal storage location is the first shared drive unit, saidly obtains said detecting information, and carries out emulation testing to said detecting information, is specially:
Obtain said detecting information; And when accomplishing to the emulation testing of said detecting information; Said detecting information is sent to the said first shared drive unit; So that said equipment under test obtains said detecting information from the said first shared drive unit, and when accomplishing, report test result to the emulation testing of said detecting information.
8. a simulated test device is characterized in that, comprising:
Create the unit, be used to create internal storage location, said internal storage location storage detecting information;
Test cell is used to obtain said detecting information, and carries out emulation testing to said detecting information.
9. equipment according to claim 8; It is characterized in that said test cell specifically is used for, from said internal storage location, obtain the said detecting information that said equipment under test sends; And when carrying out the emulation testing completion to said detecting information, report test result.
10. equipment according to claim 9; It is characterized in that; Said test cell comprises: local side simulation hardware test module, user side simulation hardware test module and user side firmware emulation testing module; Said internal storage location comprises: the first shared drive module, the second shared drive module and the 3rd shared drive module
The said first shared drive module is used to be stored in mutual detecting information between said local side simulation hardware test module and the equipment under test;
The said second shared drive module is used to be stored in mutual detecting information between said local side simulation hardware test module and the said user side simulation hardware test module;
Said the 3rd shared drive module is used to be stored in mutual detecting information between said user side simulation hardware test module and the said user side firmware emulation testing module;
Said local side simulation hardware test module; Be used for obtaining the detecting information that said equipment under test sends from the said first shared drive module; When accomplishing, said detecting information is sent to the said second shared drive module to the emulation testing of said detecting information;
Said user side simulation hardware test module is used for obtaining said detecting information from the said second shared drive module, when accomplishing to the emulation testing of said detecting information, said detecting information is sent to said the 3rd shared drive module;
Said user side firmware emulation testing module is used for obtaining said detecting information from said the 3rd shared drive module, and when accomplishing to the emulation testing of said detecting information, reports test result.
11. equipment according to claim 9 is characterized in that, said test cell is a local side simulation hardware loopback test module, and said establishment unit is used to create the first shared drive unit,
The said first shared drive unit is used to be stored in mutual detecting information between local side simulation hardware loopback test module and the equipment under test;
Said local side simulation hardware loopback test module is obtained the detecting information that said equipment under test sends from the said first shared drive unit, and when accomplishing to the emulation testing of said detecting information, reports test result.
12. equipment according to claim 8; It is characterized in that; Said test cell specifically is used for, and the said detecting information that obtains to self carries out emulation testing, and said detecting information is sent to said equipment under test; So that said equipment under test reports test result when accomplishing to the emulation testing of said detecting information.
13. equipment according to claim 12; It is characterized in that; Said test cell comprises: local side simulation hardware test module, user side simulation hardware test module and user side firmware emulation testing module; Said internal storage location comprises: the first shared drive module, the second shared drive module and the 3rd shared drive module
The said first shared drive module is used to be stored in mutual detecting information between said local side simulation hardware test module and the equipment under test;
The said second shared drive module is used to be stored in mutual detecting information between said local side simulation hardware test module and the said user side simulation hardware test module;
Said the 3rd shared drive module is used to be stored in mutual detecting information between said user side simulation hardware test module and the said user side firmware emulation testing module;
Said user side firmware emulation testing module is used to obtain detecting information, when accomplishing to the emulation testing of said detecting information, said detecting information is sent to said the 3rd shared drive module;
Said user side simulation hardware test module; Be used for obtaining the detecting information that said user side firmware emulation testing module is sent from said the 3rd shared drive module; And when accomplishing, said detecting information is sent to the said second shared drive module to the emulation testing of said detecting information;
Said local side simulation hardware test module; Be used for obtaining said detecting information from the said second shared drive module; When accomplishing, said detecting information is sent to the said first shared drive module, so that said equipment under test obtains said detecting information from the said first shared drive module to the emulation testing of said detecting information; And when accomplishing, report test result to the emulation testing of said detecting information.
14. method according to claim 12 is characterized in that, said test cell is a local side simulation hardware loopback test module, and said establishment unit also is used to create the first shared drive unit,
The said first shared drive unit is used to be stored in mutual detecting information between local side simulation hardware loopback test module and the equipment under test;
Said local side simulation hardware loopback test module; Be used to obtain said detecting information; And when accomplishing, said detecting information is sent to the said first shared drive unit, so that said equipment under test obtains said detecting information from the said first shared drive unit to the emulation testing of said detecting information; And when accomplishing, report test result to the emulation testing of said detecting information.
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 true CN102799719A (en) 2012-11-28
CN102799719B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968311A (en) * 2012-12-13 2013-03-13 中国航空无线电电子研究所 Onboard embedded software development platform
CN107479536A (en) * 2017-08-29 2017-12-15 北京广利核系统工程有限公司 Containment leak rate calculates 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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968311A (en) * 2012-12-13 2013-03-13 中国航空无线电电子研究所 Onboard embedded software development platform
CN102968311B (en) * 2012-12-13 2015-05-13 中国航空无线电电子研究所 Onboard embedded software development platform
CN107479536A (en) * 2017-08-29 2017-12-15 北京广利核系统工程有限公司 Containment leak rate calculates verification method and device
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

Also Published As

Publication number Publication date
CN102799719B (en) 2015-04-08

Similar Documents

Publication Publication Date Title
CN105680960B (en) A kind of Bluetooth card reader automated testing method, test host computer and test system
CN106383786A (en) Interface pressure performance testing method and device and electronic equipment
CN102880532A (en) Cloud technology-based test system and method
CN102967815B (en) Chip testing method, automated testing equipment and system
CN101848042A (en) Method and system for testing radio frequency of mobile phones
CN103699122A (en) Finished car controller test platform and control method
CN105653438B (en) The striding course automated testing method and device of Android device
CN104375912A (en) Method and device for measuring blockage of mobile terminal
CN104268310A (en) Method for calling UVM verification environment through special graphical interface
CN102141961A (en) Method and system for testing vehicle-mounted software of train
CN102799719A (en) Method and device for simulation test
CN101957771A (en) Method and device for installing mobile software for multiple mobile phones simultaneously
CN106293625A (en) A kind of method and apparatus of configuration register
CN106599680A (en) Application program permission setting method and apparatus, and electronic equipment
CN104063324A (en) Method and system for Monkey test
CN103581987A (en) Method and device for testing webpage downloading speed of mobile terminal device
CN102135939B (en) Test case operation dispatching device and method
CN103838664A (en) Pressure testing method and device
CN110837470A (en) Method and device for testing bank card network transaction
CN104834586B (en) Android interface automation test method, apparatus and system
CN112905460B (en) Device and method for simulating three-party receipt by automatic interface test
CN108062266A (en) A kind of PCIE-SSD automated testing methods based on cloud platform
CN203178491U (en) GPS multi-module parallel testing device
CN104407604A (en) D5000 debugging protocol testing device and method
CN110515604A (en) The acquisition methods and device of the executable program file of verification environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150408

Termination date: 20180630

CF01 Termination of patent right due to non-payment of annual fee