CN102163449A - Method and system for testing burning tool, and embedded equipment - Google Patents

Method and system for testing burning tool, and embedded equipment Download PDF

Info

Publication number
CN102163449A
CN102163449A CN 201010620266 CN201010620266A CN102163449A CN 102163449 A CN102163449 A CN 102163449A CN 201010620266 CN201010620266 CN 201010620266 CN 201010620266 A CN201010620266 A CN 201010620266A CN 102163449 A CN102163449 A CN 102163449A
Authority
CN
China
Prior art keywords
imprinting
virtual
instrument
embedded device
data message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 201010620266
Other languages
Chinese (zh)
Other versions
CN102163449B (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 Device Co Ltd
Original Assignee
Huawei Device 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 Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN 201010620266 priority Critical patent/CN102163449B/en
Publication of CN102163449A publication Critical patent/CN102163449A/en
Application granted granted Critical
Publication of CN102163449B publication Critical patent/CN102163449B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Optical Recording Or Reproduction (AREA)

Abstract

The embodiment of the invention provides a method and a system for testing a burning tool, and embedded equipment. The method comprises the following steps of: virtualizing a virtual optical disk having a set storage capacity in a storage module; sending parameter information to the burning tool, wherein the parameter information comprises a medium type and the storage capacity of the virtual optical disk; receiving a burning request sent by the burning tool according to the medium type and the storage capacity, wherein the burning request carries data information to be burned; burning the data information into the virtual optical disk; after burning, reading the data information burned in the virtual optical disk and sending the data information to the burning tool so that the burning tool checks the data information burned in the virtual optical disk; and judging whether the burning tool is reliable. By adoption of the method of the embodiment of the invention, the test efficiency of burning equipment to be tested can be improved effectively, and the test cost can be reduced effectively.

Description

The method of testing of imprinting instrument and system, embedded device
Technical field
The embodiment of the invention relates to technical field of measurement and test, relates in particular to a kind of method of testing of imprinting instrument and system, embedded device.
Background technology
For imprinting instrument on the computing machine such as imprinting software are tested, usually adopt following method in the prior art: adopt imprinting software to be tested engraving data information in the CD of various media, read by the data message in the CD of imprinting by computing machine then, thereby realize imprinting software to be tested is tested, to determine the performance of imprinting software to be tested.
In realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art: the method for testing of existing imprinting software, need to adopt the CD entity of various storage mediums to test, not only need the frequent storage medium of changing test in its test process, testing efficiency is lower.And need a large amount of storage mediums to test, cause testing cost higher.
Summary of the invention
The embodiment of the invention provides a kind of method of testing of imprinting instrument and system, embedded device, the defective that testing efficiency is low, testing cost is higher when in order to solve in the prior art imprinting instrument being tested.
The embodiment of the invention provides a kind of method of testing of imprinting instrument, and described imprinting tool loads comprises on computers:
Virtual virtual CD in memory module with setting memory capacity;
Send parameter information to described imprinting instrument, comprise the media type and the described memory capacity of described virtual CD in the described parameter information;
Receive of the imprinting request of described imprinting instrument, also carry the data message of wanting imprinting in the described imprinting request according to described media type and the transmission of described memory capacity;
The described data message of imprinting in described virtual CD;
After imprinting is finished, read imprinting in described virtual CD data message and send to described imprinting instrument, for described imprinting instrument the data message of imprinting in described virtual CD carried out verification, and judges whether described imprinting instrument reliable.
The embodiment of the invention also provides a kind of method of testing of imprinting instrument, and described imprinting tool loads comprises on computers:
Receive the parameter information that embedded device sends, comprise the memory capacity and the media type of described embedded device virtual virtual CD in memory module in the described parameter information with setting memory capacity;
Send the imprinting request according to described memory capacity and described media type to described embedded device, carry the data message of wanting imprinting in the described imprinting request, want the data message imprinting of imprinting in described virtual CD with described for described embedded device;
After described imprinting is finished, receive the data message of imprinting in described virtual CD that described embedded device sends;
The data message of imprinting in described virtual CD carried out verification, judge whether described imprinting instrument is reliable.
The embodiment of the invention also provides a kind of embedded device, comprising: memory module and processing module;
Described processing module is used at the virtual virtual CD with setting memory capacity of described memory module;
Described processing module also is used for sending parameter information to described imprinting instrument, comprises the media type and the described memory capacity of described virtual CD in the described parameter information;
Described processing module also is used to receive the imprinting request of described imprinting instrument according to described media type and the transmission of described memory capacity, carries the data message of wanting imprinting in the described imprinting request; And in described virtual CD the described data message of imprinting;
Described processing module, also be used for after imprinting is finished, read imprinting in described virtual CD data message and send to described imprinting instrument, for described imprinting instrument the data message of imprinting in described virtual CD carried out verification, whether reliable to judge described imprinting instrument.
The embodiment of the invention also provides a kind of test macro of imprinting instrument, comprises embedded device and imprinting instrument, and described imprinting tool loads on computers;
Described embedded device is used at the virtual virtual CD with setting memory capacity of memory module; Send parameter information to described imprinting instrument, comprise the media type and the described memory capacity of described virtual CD in the described parameter information;
Described imprinting instrument is used to receive the parameter information that described embedded device sends; And send the imprinting request to described embedded device according to described memory capacity and described media type, carry the data message of wanting imprinting in the described imprinting request;
Described embedded device also is used to receive described imprinting request, and in described virtual CD the described data message of imprinting; And after imprinting is finished, read imprinting in described virtual CD data message and send to described imprinting instrument;
Described imprinting instrument also is used for receiving the data message of the imprinting of described embedded device transmission at described virtual CD; The data message of imprinting in described virtual CD carried out verification, whether reliable to judge described imprinting instrument.
The method of testing of the imprinting instrument of the embodiment of the invention and system, embedded device are by virtual virtual CD with setting memory capacity in by the embedded device memory module; Send parameter information to the imprinting instrument, comprise the media type and the described memory capacity of described virtual CD in the described parameter information; And, also carry the data message of wanting imprinting in the described imprinting request by of the imprinting request of imprinting instrument according to described media type and the transmission of described memory capacity; By embedded device described data message of imprinting in described virtual CD; And after imprinting is finished, read imprinting in described virtual CD data message and send to described imprinting instrument, for described imprinting instrument the data message of imprinting in described virtual CD carried out verification, and judges whether described imprinting instrument reliable.Adopt the technical scheme of the embodiment of the invention, can fictionalize the virtual CD of various needed media types and memory capacity by embedded device, to realize test to the imprinting tool reliability, having changed needs to adopt the CD entity of various media to test in the prior art, the low and higher defective of testing cost of its testing efficiency.Adopt the technical scheme of the embodiment of the invention, can improve the testing efficiency of imprinting instrument effectively, and can reduce testing cost effectively.
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 one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below 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 process flow diagram of the method for testing that Fig. 1 provides for the embodiment of the invention one.
The process flow diagram of the method for testing that Fig. 2 provides for the embodiment of the invention two.
The structural representation of the embedded device that Fig. 3 provides for the embodiment of the invention three.
The structural representation of the test macro that Fig. 4 provides for the embodiment of the invention four.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The process flow diagram of the method for testing of the imprinting instrument that Fig. 1 provides for the embodiment of the invention one.The executive agent of the method for testing of the imprinting instrument of present embodiment is an embedded device.As shown in Figure 1, the method for testing of the imprinting instrument of present embodiment specifically can comprise the steps:
Step 100, virtually in memory module has a virtual CD of setting memory capacity;
Step 101, send parameter information, comprise the media type and the memory capacity of virtual CD in this parameter information to the imprinting instrument;
Step 102, receive the imprinting instrument, also carry the data message of wanting imprinting in this imprinting request according to the imprinting request that this media type and this memory capacity send;
Step 103, in virtual CD the described data message of imprinting;
Step 104, after imprinting is finished, read imprinting in virtual CD data message and send to the imprinting instrument, for the imprinting instrument data message of imprinting in virtual CD carried out verification, and judges whether the imprinting instrument reliable.
Embedded device virtual virtual CD with setting capacity in memory module in the present embodiment, wherein, the memory module that memory module can carry for this embedding equipment also can be by the external memory module of external interface.Need to prove that wherein the capacity of memory module must be greater than the memory capacity of virtual virtual CD.After embedded device fictionalized virtual CD, embedded device specifically can send the parameter information of this virtual CD by computing machine to the imprinting instrument.Like this, after the imprinting instrument is received the parameter information of virtual CD, can make adaptive imprinting parameter matching according to the media type and the memory capacity of virtual CD, for example imprinting speed or the like, thus initiate the imprinting request.Corresponding, embedded device one side joint is received the imprinting request that the imprinting instrument sends by computing machine, and with the data message imprinting of wanting imprinting of carrying in the imprinting request in virtual CD.After imprinting is finished, embedded device also needs to read the data message of the imprinting in imprinting CDs, and send the data message have in imprinting CDs to the imprinting instrument by computing machine, for the imprinting instrument data message of imprinting in virtual CD carried out verification, whether reliable to judge the imprinting instrument.
The imprinting instrument of present embodiment is specifically as follows an imprinting software.This imprinting tool loads can be used on computers.Therefore to carry out imprinting by computing machine and imprinting software mutual for the executive agent embedded device of the method for testing of the imprinting instrument of present embodiment.Wherein embedded device is specifically as follows a Mass Storage equipment, and is loaded with between the computing machine of imprinting instrument by USB (universal serial bus) (Universal Serial Bus; Hereinafter to be referred as USB) the interface connection; And according to small computer system interface (Small Computer System Interface; Hereinafter to be referred as SCSI) agreement communicates.That is to say that the message that receives and send between the computing machine of loading imprinting instrument and the embedded device all is the form of SCSI signaling.
The method of testing of the imprinting instrument of present embodiment is by having a virtual CD of setting memory capacity by virtual in the embedded device memory module; Send parameter information to the imprinting instrument, comprise the media type and the described memory capacity of described virtual CD in the described parameter information; Receive of the imprinting request of imprinting instrument, also carry the data message of wanting imprinting in this imprinting request according to this media type and the transmission of this memory capacity; The described data message of imprinting in virtual CD; And after imprinting is finished, read imprinting in virtual CD data message and send to the imprinting instrument, for the imprinting instrument data message of imprinting in virtual CD carried out verification, and judges whether the imprinting instrument reliable.Adopt the technical scheme of present embodiment, can fictionalize the virtual CD of various needed media types and memory capacity by embedded device, to realize test to the imprinting tool reliability, having changed needs to adopt the CD entity of various media to test in the prior art, the low and higher defective of testing cost of its testing efficiency.Adopt the technical scheme of present embodiment, can improve the testing efficiency of imprinting instrument effectively, and can reduce testing cost effectively.
Alternatively, after the step 100 of the foregoing description, before the step 101, can also comprise the steps: to receive the solicited message that described imprinting instrument sends, this solicited message is used for the parameter information of the virtual CD of acquisition request, as memory capacity and as described in media type.
Particularly, this embedded device sends the parameter information of virtual CD in the step 101 to the imprinting instrument by computing machine, can be to receive under the triggering of imprinting instrument by the solicited message of computing machine transmission, obtain the parameter information of this virtual CD by embedded device, and send to the imprinting instrument by computing machine.
Alternatively, in the step 104 of the foregoing description, after imprinting is finished, read imprinting in virtual CD data message and before the imprinting instrument sends, can also comprise the steps: to receive the request of reading that the imprinting instrument sends, this request of reading is used for reading the data message of imprinting at virtual CD.
Particularly, read the data message of the imprinting in imprinting CDs and send to the imprinting instrument, can under the triggering that receives the request of reading that the imprinting instrument sends by computing machine, carry out by computing machine.
In the practical application, also can not comprise above-mentioned optional step, before test, directly send a string order that can carry out in proper order by computing machine to embedded device, be used to indicate subsequent step by the imprinting instrument.Like this, embedded device can be carried out according to the sequence of steps in this string command, not be used in and receives any request in the pilot process again.
Alternatively, before the step 100 of the foregoing description, can also comprise the steps: to receive configuration parameter information;
This configuration parameter information can be the configuration parameter information that embedded device receives by human-machine interface module particularly.The media type and the memory capacity that can comprise the virtual CD that this embedded device will be virtual in this configuration parameter information.In the preliminary work before test, the technician can be by equipment such as the computing machine that links to each other with the human-machine interface module of embedded device, send configuration parameter information to embedded device, can fictionalize described virtual CD according to the configuration parameter information that receives for embedded device.For example, can send configuration parameter information to embedded device by the computing machine that loads the imprinting instrument, this moment, corresponding human-machine interface module was the USB interface of communicating by letter between computing machine and the embedded device.
Need to prove, be provided with the processing module with operational processes ability in the embedded device in the foregoing description at least, for example this processing module can be that the embedded software of the step by can carrying out the foregoing description is integrated.Also be provided with memory module in this embedded device, also can pass through the external memory module of external interface with memory function.Memory module specifically can adopt flash memory (Flash) medium, can also adopt super flash memory (Trans-Flash; Hereinafter to be referred as T-Flash) medium.The processing module of this embedded device can be compact disk (Compact Disc by the media type of virtual virtual CD in memory module; Hereinafter to be referred as CD), Digital video disc (Digital Video Disc; Hereinafter to be referred as DVD), two-sided individual layer DVD-10 CD, two-sided DVD-dual layer-18 CD or blue-ray DVD.For example can fictionalize the CD that memory capacity is 700M particularly, also can be described as the CD CD; The DVD of 4.7G can also be fictionalized, also the DVD CD can be referred to as; Can also fictionalize the DVD-dual layer that memory capacity is 8.5G-9 CDs; Can also fictionalize memory capacity is the two-sided individual layer DVD-10 CD of 9.4G, and memory capacity is two-sided DVD-dual layer-18 CD of 17G and the blue-ray DVD CD that memory capacity is 25G.No matter in the video disc evolution in future, any more jumbo DVD product occurs and all can adopt in this embedded device virtually, and can adopt the technical scheme of the foregoing description to realize the imprinting instrument is tested.
The process flow diagram of the method for testing of the imprinting instrument that Fig. 2 provides for the embodiment of the invention two.The executive agent of the method for testing of the imprinting instrument of present embodiment is an imprinting software.As shown in Figure 2, the method for testing of the imprinting instrument of present embodiment specifically can comprise the steps:
Step 200, receive the parameter information that embedded device sends, comprise embedded device virtual memory capacity and media type in memory module in this parameter information with virtual CD of setting memory capacity;
Step 201, send the imprinting request to embedded device, carry the data message of wanting imprinting in this imprinting request according to this memory capacity and this media type, for this embedded device will imprinting the data message imprinting in virtual CD;
Step 202, after imprinting is finished, receive the data message of imprinting in virtual CD that embedded device sends;
Step 203, the data message of imprinting in virtual CD carried out verification, judge whether the imprinting instrument is reliable.
Corresponding with the foregoing description one, the method for testing of the imprinting instrument of present embodiment is described technical scheme of the present invention in imprinting instrument one side.In like manner the imprinting software in the present embodiment also is to load on computers.Be that communicating by letter between middle imprinting instrument and the embedded device of present embodiment also is to be undertaken alternately by computing machine.Implementation procedure is identical with the foregoing description one in detail, can not repeat them here with reference to the record of the foregoing description one in detail.
The method of testing of the imprinting instrument of present embodiment by receiving the parameter information that embedded device sends, comprises the memory capacity and the media type of embedded device virtual virtual CD with setting memory capacity in memory module in this parameter information; Send the imprinting request according to this memory capacity and this media type to embedded device, carry the data message of wanting imprinting in this imprinting request, for this embedded device will imprinting the data message imprinting in virtual CD; After imprinting is finished, receive the data message of imprinting in virtual CD that embedded device sends; The data message of imprinting in virtual CD carried out verification, judge whether the imprinting instrument is reliable.Adopt the technical scheme of present embodiment, can fictionalize the virtual CD of various needed media types and memory capacity by embedded device, to realize test to the imprinting tool reliability, having changed needs to adopt the CD entity of various media to test in the prior art, the low and higher defective of testing cost of its testing efficiency.Adopt the technical scheme of present embodiment, can improve the testing efficiency of imprinting instrument effectively, and can reduce testing cost effectively.
Alternatively, on the basis of the foregoing description, before described step 200, can also comprise: send solicited message to embedded device, this solicited message is used for the parameter information of the virtual virtual CD of acquisition request embedded device, as the memory capacity and the media type of virtual CD.
Particularly, this imprinting instrument can send solicited message to embedded device by computing machine, embedded device can obtain the parameter information of virtual CD under the triggering of this solicited message after receiving solicited message like this, and sends to the imprinting instrument by computing machine.
Alternatively, on the basis of the foregoing description, in described step 202, after imprinting is finished, receive before the data message of imprinting in virtual CD of embedded device transmission, can also comprise: send the request of reading to embedded device, this request of reading is used for asking to read the data message of imprinting at virtual CD.
Particularly, the imprinting instrument can send this by computing machine phase embedded device and read request, and embedded device can read under the triggering of request at this receiving after this reads request, read the data message of imprinting in virtual CD, and send to the imprinting instrument by computing machine.
In the practical application, also can not comprise above-mentioned optional step, before test, directly send a string order that can carry out in proper order by computing machine to embedded device, be used to indicate subsequent step by the imprinting instrument.Like this, embedded device can be carried out according to the sequence of steps in this string command, and the imprinting instrument not be used in the pilot process and sends any request by computing machine to embedded device again.
Alternatively, on the basis of the foregoing description, step 203 is specifically as follows: the employing cyclic redundancy code (Cyclic Redundancy Code; Hereinafter to be referred as CRC) method of calibration carries out verification to the data message of imprinting in virtual CD, and judges according to check results whether the imprinting instrument is reliable.
Adopt the data of imprinting in data message that the CRC check method will imprinting and the virtual CD to compare particularly, when the bit error rate surpassed predetermined threshold value, it is unreliable that the imprinting instrument can be judged this imprinting instrument performance when this virtual CD of imprinting; When the bit error rate was lower than predetermined threshold value, the imprinting instrument can be judged this imprinting instrument dependable performance when this virtual CD of imprinting.Thereby this imprinting instrument can draw the imprinting performance when the CD of this memory capacity of imprinting and media type.Wherein predetermined threshold value is a bit error rate reference value, be preferably the imprinting instrument the value of patient minimum bit-error rate.Concrete numerical value can get access to according to actual imprinting experience.
Alternatively, on the basis of the foregoing description, step 203 is specifically as follows: adopt the method for calibration of byte-by-byte binary content comparison that the data message of imprinting in virtual CD carried out verification, and judge according to check results whether the imprinting instrument is reliable.
Adopt the data of imprinting in data message that the method for calibration of byte-by-byte binary content comparison will imprinting and the virtual CD to compare particularly, when the bit error rate surpassed predetermined threshold value, it is unreliable that the imprinting instrument can be judged this imprinting instrument performance when this virtual CD of imprinting; When the bit error rate was lower than predetermined threshold value, the imprinting instrument can be judged this imprinting instrument dependable performance when this virtual CD of imprinting.Thereby this imprinting instrument can draw the imprinting performance when the CD of this memory capacity of imprinting and media type.Wherein predetermined threshold value can not repeat them here with reference to above-mentioned relevant record.
And adopt the technical scheme of the foregoing description, can be simultaneously can be in embedded device virtual a plurality of virtual CDs, and virtual a plurality of virtual CD can have different media types and memory capacity.Adopt the imprinting instrument in a plurality of virtual virtual CDs, to carry out imprinting simultaneously then, data message to imprinting in each virtual virtual CD carries out verification then, thereby can test out whether the imprinting instrument can cause critical resource when carrying out a plurality of task confusion.By this scheme, carry out imprinting by the virtual a plurality of different media types of while and/or the virtual CD of memory capacity, can test feasibility and the stability of imprinting instrument when concurrent imprinting.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of programmed instruction, aforesaid program can be stored in the computer read/write memory medium, this program is carried out 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 structural representation of the embedded device that Fig. 3 provides for the embodiment of the invention three.As shown in Figure 3, the embedded device of present embodiment specifically can comprise: memory module 10 and processing module 11; Memory module 10 is connected with processing module 11.
The processing module 11 of the embedded device of present embodiment is used at memory module 10 virtual virtual CDs with setting memory capacity.Processing module 11 also is used for sending parameter information to the imprinting instrument, comprises the media type and the memory capacity of virtual CD in this parameter information.Processing module 11 also is used to receive the imprinting request of imprinting instrument according to media type and memory capacity transmission, carries the data message of wanting imprinting in this imprinting request; And in virtual CD engraving data information.Processing module 11 also is used for after imprinting is finished, read imprinting in virtual CD data message and send to the imprinting instrument, for the imprinting instrument data message of imprinting in virtual CD carried out verification, whether reliable to judge the imprinting instrument.
The imprinting tool loads that relates in the present embodiment on computers.Wherein can communicate by USB interface between the computing machine of embedded device and loading imprinting instrument.And the imprinting tool information between the embedded device all needs to transmit by computing machine.
Processing module in the embedded device of present embodiment specifically can adopt embedded software to realize.The embedded device of present embodiment, by adopting above-mentioned module to realize the method for testing of imprinting instrument and above-mentioned correlation technique embodiment are realized that the realization mechanism of method of testing of imprinting instrument is identical, can not repeat them here with reference to the record of above-mentioned correlation technique embodiment in detail.
The embedded device of present embodiment is implemented in virtual virtual CD with setting memory capacity in the memory module by adopting above-mentioned module; Send parameter information to the imprinting instrument; Receive of the imprinting request of imprinting instrument, also carry the data message of wanting imprinting in this imprinting request according to this media type and the transmission of this memory capacity; The described data message of imprinting in virtual CD; And after imprinting is finished, read imprinting in virtual CD data message and send to the imprinting instrument, for the imprinting instrument data message of imprinting in virtual CD carried out verification, and judges whether the imprinting instrument reliable.Adopt the technical scheme of present embodiment, can fictionalize the virtual CD of various needed media types and memory capacity by embedded device, to realize test to the imprinting tool reliability, having changed needs to adopt the CD entity of various media to test in the prior art, the low and higher defective of testing cost of its testing efficiency.Adopt the technical scheme of present embodiment, can improve the testing efficiency of imprinting instrument effectively, and can reduce testing cost effectively.
Alternatively, on the basis of the foregoing description, the processing module 11 of embedded device also is used to receive configuration parameter information.And this processing module 11 also specifically is used for according to the configuration parameter information that receives at memory module 10 virtual virtual CDs with setting memory capacity.
This embedding is that equipment can receive configuration parameter information by human-machine interface module particularly.The USB interface that this human-machine interface module can communicate for the computing machine with loading imprinting instrument.
Alternatively, on the basis of the foregoing description, the processing module 11 of embedded device also is used to receive the solicited message that the imprinting instrument sends, and this solicited message is used for the parameter information of the virtual CD of acquisition request.
Alternatively, on the basis of the foregoing description, the processing module 11 of embedded device also is used to receive the request of reading that the imprinting instrument sends, and this request of reading is used for reading the data message of imprinting at virtual CD.
Need to prove that the memory module 10 in the foregoing description adopts Flash medium or T-Flash medium.
Need to prove that the embedded device of present embodiment can also comprise: interface module.This interface module is used for external safe digital (Secure Digital; Hereinafter to be referred as SD) card, safe digital expansion capacity (SD eXtended Capacity; Hereinafter to be referred as SDXC) card or physical hard disk, SD card, SDXC card or physical hard disk are as the external memory module of embedded device.Therefore can provide external memory module for embedded device by this interface module.
The embedded device of present embodiment, by adopting above-mentioned module to realize the method for testing of imprinting instrument and above-mentioned correlation technique embodiment are realized that the realization mechanism of method of testing of imprinting instrument is identical, can not repeat them here with reference to the record of above-mentioned correlation technique embodiment in detail.
The structural representation of the test macro of the imprinting instrument that Fig. 4 provides for the embodiment of the invention four.As shown in Figure 4, the test macro of the imprinting instrument of present embodiment can comprise embedded device 20 and imprinting instrument 30, and the imprinting tool loads is on computing machine 40; That is to say between embedded device 20 and the imprinting instrument 30 and communicate by letter by computing machine 40.
Embedded device 20 is used at the virtual virtual CD with setting memory capacity of memory module; Send parameter information to imprinting instrument 30, comprise the media type and the memory capacity of virtual CD in this parameter information.Imprinting instrument 30 is used to receive the parameter information that embedded device 20 sends by computing machine 40; And send the imprinting requests by computing machine 40 to embedded device 20 according to memory capacity and media type, carry the data message of wanting imprinting in this imprinting request.Embedded device 20 also is used for receiving the imprinting requests by computing machine 40, and in virtual CD engraving data information; And after imprinting is finished, read the data message of imprinting in virtual CD and pass through computing machine 40 to 30 transmissions of imprinting instrument.Imprinting instrument 30 also is used for receiving embedded device 20 and passes through the data message of the imprinting of computing machine 40 transmissions at virtual CD; The data message of imprinting in virtual CD carried out verification, whether reliable to judge imprinting instrument 30.
The test macro of the imprinting instrument of present embodiment can not repeat them here with reference to the record of above-mentioned related embodiment in detail by the process that adopts embedded device 20 and imprinting instrument 30 to carry out the test of imprinting instrument.
The test macro of the imprinting instrument of present embodiment is by adopting the virtual virtual CD with setting memory capacity of embedded device; Send parameter information to the imprinting instrument, and send the imprinting request according to memory capacity and media type to embedded device by the imprinting instrument.Embedded device receives the imprinting request, and in virtual CD the data message in the imprinting imprinting request; And after imprinting is finished, read imprinting in described virtual CD data message and send to described imprinting instrument; By the imprinting instrument data message of imprinting in virtual CD carried out verification, whether reliable to judge the imprinting instrument.Adopt the technical scheme of present embodiment, when recording device to be tested is tested, can directly fictionalize various the have definite memory capacity and the storage areas of media type by embedded device, with realization recording device to be tested is tested, can improve testing efficiency effectively, and reduce testing cost effectively recording device to be tested.
Device embodiment described above only is schematic, wherein the unit as the separating component explanation can or can not be physically to separate also, the parts that show as the unit can be or can not be physical locations also, promptly can be positioned at a place, perhaps also can be distributed at least two network element.Can select wherein some or all of module to realize the purpose of present embodiment scheme according to the actual needs.Those of ordinary skills promptly can understand and implement under the situation of not paying performing creative labour.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (14)

1. the method for testing of an imprinting instrument, described imprinting tool loads is characterized in that on computers, comprising:
Virtual virtual CD in memory module with setting memory capacity;
Send parameter information to described imprinting instrument, comprise the media type and the described memory capacity of described virtual CD in the described parameter information;
Receive of the imprinting request of described imprinting instrument, also carry the data message of wanting imprinting in the described imprinting request according to described media type and the transmission of described memory capacity;
The described data message of imprinting in described virtual CD;
After imprinting is finished, read imprinting in described virtual CD data message and send to described imprinting instrument, for described imprinting instrument the data message of imprinting in described virtual CD carried out verification, and judges whether described imprinting instrument reliable.
2. the method for testing of imprinting instrument according to claim 1 is characterized in that, described virtually in memory module have before the virtual CD of setting memory capacity, also comprises:
Receive configuration parameter information;
Virtual virtual CD with setting memory capacity specifically comprises in memory module: embedded device is according to described configuration parameter information virtual described virtual CD with setting memory capacity in described memory module.
3. the method for testing of imprinting instrument according to claim 1 is characterized in that, described virtually in memory module have after the virtual CD of setting memory capacity, before described imprinting instrument sends parameter information, also comprises:
Receive the solicited message that described imprinting instrument sends, described request information is used for the described parameter information of the described virtual CD of acquisition request.
4. according to the method for testing of the arbitrary described imprinting instrument of claim 1-3, it is characterized in that the media type of described virtual CD is compact disk, Digital video disc, two-sided single layer digital video-10 CD, two-sided double-layer digital video-18 CD or blue light Digital video disc.
5. the method for testing of an imprinting instrument, described imprinting tool loads is characterized in that on computers, comprising:
Receive the parameter information that embedded device sends, comprise the memory capacity and the media type of described embedded device virtual virtual CD in memory module in the described parameter information with setting memory capacity;
Send the imprinting request according to described memory capacity and described media type to described embedded device, carry the data message of wanting imprinting in the described imprinting request, want the data message imprinting of imprinting in described virtual CD with described for described embedded device;
After described imprinting is finished, receive the data message of imprinting in described virtual CD that described embedded device sends;
The data message of imprinting in described virtual CD carried out verification, judge whether described imprinting instrument is reliable.
6. the method for testing of imprinting instrument according to claim 5, it is characterized in that, before the parameter information that described reception embedded device sends, also comprise: send solicited message to described imprinting instrument, described request information is in order to the described parameter information of the described virtual CD of acquisition request.
7. according to the method for testing of claim 5 or 6 described imprinting instruments, it is characterized in that, described the data message of imprinting in described virtual CD carried out verification, specifically comprise: adopt the cyclic redundancy code method of calibration that the data message of imprinting in described virtual CD carried out verification.
8. according to the method for testing of claim 5 or 6 described imprinting instruments, it is characterized in that, described the data message of imprinting in described virtual CD carried out verification, specifically comprise: adopt the method for calibration of byte-by-byte binary content comparison that the data message of imprinting in described virtual CD carried out verification.
9. an embedded device is characterized in that, comprising: memory module and processing module;
Described processing module is used at the virtual virtual CD with setting memory capacity of described memory module;
Described processing module also is used for sending parameter information to described imprinting instrument, comprises the media type and the described memory capacity of described virtual CD in the described parameter information;
Described processing module also is used to receive the imprinting request of described imprinting instrument according to described media type and the transmission of described memory capacity, carries the data message of wanting imprinting in the described imprinting request; And in described virtual CD the described data message of imprinting;
Described processing module, also be used for after imprinting is finished, read imprinting in described virtual CD data message and send to described imprinting instrument, for described imprinting instrument the data message of imprinting in described virtual CD carried out verification, whether reliable to judge described imprinting instrument.
10. embedded device according to claim 9 is characterized in that:
Described processing module also is used to receive configuration parameter information;
Described processing module also specifically is used for according to described configuration parameter information at the virtual described virtual CD with setting memory capacity of described memory module.
11. embedded device according to claim 10 is characterized in that:
Described processing module also is used to receive the solicited message that described imprinting instrument sends, and described request information is used for the described parameter information of the described virtual CD of acquisition request.
12., it is characterized in that described memory module adopts flash media or super flash media according to the arbitrary described embedded device of claim 9-11.
13. according to the arbitrary described embedded device of claim 9-11, it is characterized in that, also comprise:
Interface module is used for external safe digital card, safe digital expansion capacity card or physical hard disk, the digital card of described high-speed secure, described safe digital are expanded capacity card or described physical hard disk as external memory module.
14. the test macro of an imprinting instrument is characterized in that, comprises embedded device and imprinting instrument, described imprinting tool loads on computers;
Described embedded device is used at the virtual virtual CD with setting memory capacity of memory module; Send parameter information to described imprinting instrument, comprise the media type and the described memory capacity of described virtual CD in the described parameter information;
Described imprinting instrument is used to receive the parameter information that described embedded device sends; And send the imprinting request to described embedded device according to described memory capacity and described media type, carry the data message of wanting imprinting in the described imprinting request;
Described embedded device also is used to receive described imprinting request, and in described virtual CD the described data message of imprinting; And after imprinting is finished, read imprinting in described virtual CD data message and send to described imprinting instrument;
Described imprinting instrument also is used for receiving the data message of the imprinting of described embedded device transmission at described virtual CD; The data message of imprinting in described virtual CD carried out verification, whether reliable to judge described imprinting instrument.
CN 201010620266 2010-12-31 2010-12-31 Method and system for testing burning tool, and embedded equipment Expired - Fee Related CN102163449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010620266 CN102163449B (en) 2010-12-31 2010-12-31 Method and system for testing burning tool, and embedded equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010620266 CN102163449B (en) 2010-12-31 2010-12-31 Method and system for testing burning tool, and embedded equipment

Publications (2)

Publication Number Publication Date
CN102163449A true CN102163449A (en) 2011-08-24
CN102163449B CN102163449B (en) 2013-11-06

Family

ID=44464637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010620266 Expired - Fee Related CN102163449B (en) 2010-12-31 2010-12-31 Method and system for testing burning tool, and embedded equipment

Country Status (1)

Country Link
CN (1) CN102163449B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646650A (en) * 2013-11-15 2014-03-19 天津天地伟业数码科技有限公司 Method for realizing optical disc-free recording starting on embedded hard disc video recorder

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1395246A (en) * 2002-06-14 2003-02-05 清华大学 Method for implementing virtual image optical disk and and its system hardware structure
CN200997129Y (en) * 2007-01-12 2007-12-26 池勇潮 Disk-type analog optical driver without light
CN101714113A (en) * 2008-10-07 2010-05-26 英业达集团(天津)电子技术有限公司 Testing method of virtual equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1395246A (en) * 2002-06-14 2003-02-05 清华大学 Method for implementing virtual image optical disk and and its system hardware structure
CN200997129Y (en) * 2007-01-12 2007-12-26 池勇潮 Disk-type analog optical driver without light
CN101714113A (en) * 2008-10-07 2010-05-26 英业达集团(天津)电子技术有限公司 Testing method of virtual equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646650A (en) * 2013-11-15 2014-03-19 天津天地伟业数码科技有限公司 Method for realizing optical disc-free recording starting on embedded hard disc video recorder

Also Published As

Publication number Publication date
CN102163449B (en) 2013-11-06

Similar Documents

Publication Publication Date Title
KR101196547B1 (en) A method for deterministic sas discovery and configuration
CN103164523A (en) Inspection method, device and system of data consistency inspection
JP2016143221A (en) Storage device, control program, storage system, and data transfer method
CN103793307A (en) Electronic device, management method thereof and cabinet servo system
US9015398B2 (en) Methods and structure for identifying support for super-standard features in communications between serial attached SCSI devices
KR20150025393A (en) Test device capable of individual control for a plurality storage
CN107025941A (en) Solid state hard disc controls circuit
CN104133750A (en) Method and system for testing compatibility adaptability of host and storage device
CN100401245C (en) Disk array apparatus, information processing apparatus, data management system, and method concerned
KR102469098B1 (en) Nonvolatile memory device, operating method thereof and data storage apparatus including the same
CN102163449B (en) Method and system for testing burning tool, and embedded equipment
CN105446856A (en) Electronic device interface detection method and apparatus
US10949098B2 (en) Method and apparatus for providing increased storage capacity
CN102495815B (en) Processing method for I/O (input/output) data access interrupt, system and equipment
US20110119529A1 (en) Virtual hard disk drive
CN111367710B (en) eMMC problem reduction method and device
CN115713960A (en) Hard disk detection method and computing device
US20100325373A1 (en) Duplexing Apparatus and Duplexing Control Method
CN118749118A (en) Host controlled electronic device testing
JP6693417B2 (en) Reader / writer device, information processing device, data transfer control method, and program
US8850117B2 (en) Storage apparatus and method maintaining at least an order of writing data
CN114666103A (en) Credible measuring device, equipment and system and credible identity authentication method
KR20150070528A (en) Data storage device and operating method thereof
CN107437422A (en) Critical data is preserved in power loss
JP2005293598A (en) Method and system for formatting data storage medium to desired block format

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

Termination date: 20161231

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