CN107025076A - One kind automation printing test method and device - Google Patents

One kind automation printing test method and device Download PDF

Info

Publication number
CN107025076A
CN107025076A CN201610069847.4A CN201610069847A CN107025076A CN 107025076 A CN107025076 A CN 107025076A CN 201610069847 A CN201610069847 A CN 201610069847A CN 107025076 A CN107025076 A CN 107025076A
Authority
CN
China
Prior art keywords
pixel
test
picture
print result
master die
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
CN201610069847.4A
Other languages
Chinese (zh)
Other versions
CN107025076B (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.)
Cainiao Smart Logistics Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610069847.4A priority Critical patent/CN107025076B/en
Publication of CN107025076A publication Critical patent/CN107025076A/en
Application granted granted Critical
Publication of CN107025076B publication Critical patent/CN107025076B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/121Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • G06T2207/10008Still image; Photographic image from scanner, fax or copier

Abstract

The embodiment of the present disclosure discloses a kind of automation printing test method and device.Methods described includes:Basic database is set up, the basic database is used to store printing test data;Tested print routine interface is called, the printing test data in the basic database is read, obtains print result data;Compare the field in the field and corresponding basic database in print result data;Judge whether the field in the field and corresponding basic database in print result data is different;If different, illustrate that print routine interface has data read errors, the field made a mistake is recorded, so that user investigates.The automatic printing method of testing that the embodiment of the present disclosure is provided is automatically performed printing test independent of artificial by program, not only improves the efficiency of printing test, also greatly improves the degree of accuracy of printing test.

Description

One kind automation printing test method and device
Technical field
The present invention relates to software technology field, more particularly to a kind of automation printing test method and device.
Background technology
The main contents of printing test, are the difference for comparing the actual print result of printer and standard form, to investigate printing The related program of system, such as assembling of printer Back end data, word depghi processing routine or front-end processing program, it sets Whether normal put whether correct, operation.The project of the comparison include the typesetting of print result and standard form, layout, Lines, bar code, print paper length-width ratio, folds or interception etc.;And the data of the actual print result of verification, that is, Whether the value for comparing corresponding field in the content information and corresponding database table of actual print field meets.
Current printing test relies primarily on artificial progress, and actual print result and standard form are compared by tester's naked eyes, And the field in manual queries tables of data, contrasted with the data with actual print result, this mode efficiency is low, And easily omitted in test process.
The content of the invention
To overcome the problem of printing test efficiency is low in correlation technique, the disclosure provide a kind of automation printing test method and Device.
Printing test method is automated there is provided one kind according to the first aspect of the embodiment of the present disclosure, including:
Tested print routine interface is called, the printing test data in basic database is read, obtains print result number According to the basic database is used to store printing test data and pre-establish;
The value of the first field and the value of the second field are compared, wherein, first field is in the print result data Field, second field is the field in the basic database, and first field is corresponding with second field;
Judge whether the value of the value and second field of first field is different;
If the value of the value of first field and second field is different, first field is recorded.
Wherein, the basic database is previously according to test purpose, and extraction public data is used as base from printing test document Plinth data and set up.
Optionally, the printing test data read in basic database, obtain print result data, including:
Using the printing test data that are read as print result data;Or,
According to the printing test data, printing obtains print result picture;
Print result data are extracted according to the print result picture.
Optionally, described automation printing test method, in addition to:
Printing test data in the basic database, corresponding standard form is obtained from master die domain valut Picture, wherein, data generation of the master die domain piece in the basic database in the master die domain valut, And the master die domain piece is corresponding with the data in the basic database;
According to the printing test data, printing obtains print result picture;
According to the test scope of the print result picture, the test scope of the standard form picture is determined;
If it is determined that the test scope success of the master die domain piece, then travel through the print result picture and test model at it The pixel of pixel and the standard form picture within its test scope within enclosing, and compare the first pixel Rgb value and the second pixel rgb value, wherein, first pixel be print result picture its test model Pixel within enclosing, second pixel is pixel of the master die domain piece within its test scope, described the Two pixels are corresponding with first pixel;
Judge first pixel rgb value and second pixel rgb value it is whether different;
If the rgb value of the rgb value of first pixel and second pixel is different, in the printing knot First pixel is marked on fruit picture and/or second pixel is marked on the master die domain piece, and/or system Count the number of first pixel.
Optionally, the test scope according to the print result picture, determines the test model of the standard form picture Enclose, including:
The first boundary pixel point of the test scope of the print result picture is obtained, first boundary pixel point is at least wrapped All summit pixels on the first border are included, first border is the border of the test scope of the print result picture;
First border is mapped to the master die domain piece, the mapped boundaries in the standard form picture are obtained;
The second boundary pixel is obtained, the second boundary pixel at least includes all summit pixels of the mapped boundaries Point, the second boundary pixel is corresponding with first boundary pixel point, and the number of the second boundary pixel etc. In the number of first boundary pixel point;
Compare the rgb value of first boundary pixel point and the rgb value of the second boundary pixel;
If the rgb value of the rgb value of first boundary pixel point and the second boundary pixel is all identical, The test scope success of the master die domain piece is determined, using the scope within the mapped boundaries as the standard form figure The test scope of piece, otherwise, it determines the test scope failure of the master die domain piece.
Optionally, described automation printing test method, it is all in its test scope with the print result picture Pixel is first pixel, using all pixels point of the master die domain piece in its test scope as described the Two pixels.
Optionally, described automation printing test method, with the print result picture in its test scope every capable picture Element starting pixels point be first pixel, with the master die domain piece in its test scope often row pixel rise Beginning pixel is second pixel.
According to the first aspect of the embodiment of the present disclosure there is provided another automation printing test method, including:
Tested print routine interface is called, the printing test data in basic database, the basic database are read For storing printing test data and pre-establishing;
According to the printing test data, printing obtains print result picture;
Printing test data in the basic database, obtain corresponding standard masterplate from master die domain valut Data generation of the master die domain piece in the basic database in picture, the master die domain valut, and The master die domain piece is corresponding with the data in the basic database;And,
The print result picture is compared with the master die domain piece, printing test result is obtained.
Wherein, the basic database extracts public previously according to test purpose from different types of printing test document Data based on data and set up.
Optionally, it is described that the print result picture is compared with the master die domain piece, obtain printing test knot Really, including:
According to the test scope of the print result picture, the test scope of the standard form picture is determined;
If it is determined that the test scope success of the master die domain piece, then travel through the print result picture and test model at it The pixel of pixel and the standard form picture within its test scope within enclosing, and compare the first pixel Rgb value and the second pixel rgb value, wherein, first pixel be print result picture its test model Pixel within enclosing, second pixel is pixel of the master die domain piece within its test scope, described the Two pixels are corresponding with first pixel;
Judge first pixel rgb value and second pixel rgb value it is whether different;
If the rgb value of the rgb value of first pixel and second pixel is different, in the printing knot First pixel is marked on fruit picture and/or second pixel is marked on the master die domain piece, and/or system Count the number of first pixel.
Optionally, the test scope according to the print result picture, determines the test model of the standard form picture Enclose, including:
The first boundary pixel point of the test scope of the print result picture is obtained, first boundary pixel point is at least wrapped All summit pixels on the first border are included, first border is the border of the test scope of the print result picture;
First border is mapped to the master die domain piece, the mapped boundaries in the standard form picture are obtained;
The second boundary pixel is obtained, the second boundary pixel at least includes all summit pixels of the mapped boundaries Point, the second boundary pixel is corresponding with first boundary pixel point, and the number of the second boundary pixel etc. In the number of first boundary pixel point;
Compare the rgb value of first boundary pixel point and the rgb value of the second boundary pixel;
If the rgb value of the rgb value of first boundary pixel point and the second boundary pixel is all identical, The test scope success of the master die domain piece is determined, using the scope within the mapped boundaries as the standard form figure The test scope of piece, otherwise, it determines the test scope failure of the master die domain piece.
Optionally, described automation printing test method, it is all in its test scope with the print result picture Pixel is first pixel, using all pixels point of the master die domain piece in its test scope as described the Two pixels.
Optionally, described automation printing test method, with the print result picture in its test scope every capable picture Element starting pixels point be first pixel, with the master die domain piece in its test scope often row pixel rise Beginning pixel is second pixel.
Corresponding to the embodiment of the present disclosure in a first aspect, being automated according to the third aspect of the embodiment of the present disclosure there is provided one kind Printing test device, including:
Print result data capture unit, the print routine interface tested for calling reads beating in basic database Test data is printed, print result data are obtained, the basic database is used to store printing test data and pre-establish;
Field comparing unit, for comparing the value of the first field and the value of the second field, wherein, first field is institute State the field in print result data, second field is the field in the basic database, and first field It is corresponding with second field;
First judging unit, for judging whether the value of value and second field of first field is different;
First test result processing unit, if the value for the value and second field of first field is different, note Record first field.
Wherein, the basic database is previously according to test purpose, and extraction public data is used as base from printing test document Plinth data and set up.
Optionally, the print result data capture unit, specifically for:
Using the printing test data that are read as print result data;Or,
According to the printing test data, printing obtains print result picture;
Print result data are extracted according to the print result picture.
Optionally, described automation printing test device, in addition to:
Master die domain piece acquiring unit, for the printing test data in the basic database, from standard masterplate Corresponding standard form picture is obtained in picture library, wherein, master die domain piece in the master die domain valut according to Data generation in the basic database, and the master die domain piece is relative with the data in the basic database Should;
Print unit, for according to the printing test data, printing to obtain print result picture;
Template test scope determining unit, for the test scope according to the print result picture, determines the master die The test scope of plate picture;
Pixel comparing unit, for if it is determined that the test scope success of the master die domain piece, then beat described in traversal Print pixel of the result picture in the pixel within its test scope and the standard form picture within its test scope Point, and the rgb value of the first pixel and the rgb value of the second pixel are compared, wherein, first pixel is to beat Pixel of the result picture within its test scope is printed, second pixel is master die domain piece in its test scope Within pixel, second pixel is corresponding with first pixel;
Second judging unit, for judging that the rgb value of first pixel and the rgb value of second pixel be It is no different;
Second test result processing unit, if rgb value and second pixel for first pixel Rgb value is different, then first pixel is marked on the print result picture, and/or in the master die domain Second pixel is marked on piece, and/or counts the number of first pixel.
Optionally, the template test scope determining unit, including:
First boundary pixel point obtains subelement, the first border picture of the test scope for obtaining the print result picture Vegetarian refreshments, first boundary pixel point at least includes all summit pixels on the first border, and first border is described The border of the test scope of print result picture;
Border maps subelement, for first border to be mapped into the master die domain piece, obtains in the standard The mapped boundaries of template picture;
The second boundary pixel obtains subelement, and for obtaining the second boundary pixel, the second boundary pixel is at least All summit pixels including the mapped boundaries, the second boundary pixel is corresponding with first boundary pixel point, And the number of the second boundary pixel is equal to the number of first boundary pixel point;
Boundary pixel point compares subelement, rgb value and the second boundary for comparing first boundary pixel point The rgb value of pixel;
Test scope determination subelement, if rgb value and the second boundary picture for first boundary pixel point The rgb value of vegetarian refreshments is all identical, it is determined that the test scope success of the master die domain piece, with the mapped boundaries Within scope be the standard form picture test scope, otherwise, it determines the test scope of the master die domain piece Failure.
Optionally, the pixel comparing unit, with all pixels point of the print result picture in its test scope For first pixel, using all pixels point of the master die domain piece in its test scope as second pixel Point.
Optionally, the pixel comparing unit, with the print result picture in its test scope often row pixel rise Beginning pixel is first pixel, with the master die domain piece in its test scope every starting pixels of row pixel Point is second pixel..
Corresponding to the second aspect of the embodiment of the present disclosure, according to the fourth aspect of the embodiment of the present disclosure, there is provided another automatic Change printing test device, including:
Print result data capture unit, the print routine interface tested for calling reads beating in basic database Test data is printed, the basic database is used to store printing test data and pre-establish;
Print unit, for according to the printing test data, printing to obtain print result picture;
Master die domain piece acquiring unit, for the printing test data in the basic database, from standard masterplate Corresponding master die domain piece is obtained in picture library, wherein, master die domain piece in the master die domain valut according to Data generation in the basic database, and the master die domain piece is relative with the data in the basic database Should;And
Contrastive test unit, for the print result picture to be compared with the master die domain piece, is printed Test result.
Wherein, the basic database extracts public previously according to test purpose from different types of printing test document Data based on data and set up.
Optionally, the contrastive test unit, including:
Template test range determination module, for the test scope according to the print result picture, determines the master die The test scope of plate picture;
Pixel comparing module, for if it is determined that the test scope success of the master die domain piece, then beat described in traversal Print pixel of the result picture in the pixel within its test scope and the standard form picture within its test scope Point, and the rgb value of the first pixel and the rgb value of the second pixel are compared, wherein, first pixel is to beat Pixel of the result picture within its test scope is printed, second pixel is master die domain piece in its test scope Within pixel, second pixel is corresponding with first pixel;
Second judge module, for judging that the rgb value of first pixel and the rgb value of second pixel be It is no different;
Second test result processing module, if the RGB of the rgb value of first pixel and second pixel Value is different, then first pixel is marked on the print result picture and/or is marked on the master die domain piece Second pixel, and/or count the number of first pixel.
Optionally, the template test range determination module, including:
First boundary pixel point acquisition submodule, the first border picture of the test scope for obtaining the print result picture Vegetarian refreshments, first boundary pixel point at least includes all summit pixels on the first border, and first border is described The border of the test scope of print result picture;
Border mapping submodule, for first border to be mapped into the master die domain piece, is obtained in the standard The mapped boundaries of template picture;
The second boundary pixel acquisition submodule, for obtaining the second boundary pixel, the second boundary pixel is at least All summit pixels including the mapped boundaries, the second boundary pixel is corresponding with first boundary pixel point, And the number of the second boundary pixel is equal to the number of first boundary pixel point;
Boundary pixel point compares submodule, rgb value and the second boundary for comparing first boundary pixel point The rgb value of pixel;
Test scope determination sub-module, if rgb value and the second boundary picture for first boundary pixel point The rgb value of vegetarian refreshments is all identical, it is determined that the test scope success of the master die domain piece, with the mapped boundaries Within scope be the standard form picture test scope, otherwise, it determines the test scope of the master die domain piece Failure.
Optionally, the pixel comparing module, with all pixels point of the print result picture in its test scope For first pixel, using all pixels point of the master die domain piece in its test scope as second pixel Point.
Optionally, the pixel comparing module, with the print result picture in its test scope often row pixel rise Beginning pixel is first pixel, with the master die domain piece in its test scope every starting pixels of row pixel Point is second pixel.
The technical scheme that the embodiment of the present disclosure is provided, first sets up basic database, and the basic database, which is used to store, to be printed Test data;Then tested print routine interface is called, the printing test data in the basic database are read, Obtain print result data;Compare the field in the field and corresponding basic database in print result data;Judgement is beaten Whether the field printed in the field and corresponding basic database in result data is different;If different, illustrate to print journey There are data read errors in sequence interface, the field made a mistake is recorded, so that user understands mistake place.Separately It is outer to be formulated standard masterplate picture, the master die domain piece and basic database always according to the data in the basic database In data correspondence, master die domain valut is set up according to the master die domain piece, then according to the printing test number According to printing obtains print result picture, and obtains corresponding master die domain piece according to the print result picture.In root According to the test scope of the print result picture, after the test scope for successfully determining the standard form picture, traversal is described Picture of the print result picture in the pixel within its test scope and the standard form picture within its test scope Vegetarian refreshments, print result figure is judged by comparing the rgb value of the first pixel and the rgb value of corresponding second pixel Difference between piece and master die domain piece, wherein, first pixel be print result picture its test scope with Interior pixel, second pixel is pixel of the master die domain piece within its test scope.If described The rgb value of the rgb value of one pixel and second pixel is different, then print result picture and master die domain piece Between have differences, first pixel can be marked on the print result picture and/or in the master die domain piece Upper mark second pixel, intuitively to observe the place that specific print result picture is different with master die domain piece, The number of first pixel can also be counted, with understand print result picture and master die domain piece how many it is different it Place.The technical scheme that the embodiment of the present disclosure is provided can be automatically performed printing test by program, not only carried independent of artificial The efficiency of high printing test, the mode and the high accuracy of programming automation compared pixel-by-pixel, also greatly reduces printing The test of test is omitted.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, can not Limit the disclosure.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present disclosure or technical scheme of the prior art The accompanying drawing used required in technology description is briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without having to pay creative labor, can also obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of automation printing test method shown in the exemplary embodiment of the disclosure one.
Fig. 2 is the schematic flow sheet of another automation printing test method shown in the exemplary embodiment of the disclosure one.
Fig. 3 is the schematic flow sheet of another automation printing test method shown in the exemplary embodiment of the disclosure one.
Fig. 4 is printing test result queue exemplary plot.
Fig. 5 is a kind of block diagram of automation printing test device shown in the exemplary embodiment of the disclosure one.
Fig. 6 is the block diagram of another automation printing test device shown in the exemplary embodiment of the disclosure one.
Fig. 7 is the block diagram of another automation printing test device shown in the exemplary embodiment of the disclosure one.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to attached During figure, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary is implemented Embodiment described in example does not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as The example of the consistent apparatus and method of some aspects be described in detail in appended claims, the disclosure.
For the comprehensive understanding disclosure, numerous concrete details are refer in the following detailed description, but art technology Personnel are it should be understood that the disclosure can be realized without these details.In other embodiments, public affairs are not described in detail Method, process, component and the circuit known, are obscured in order to avoid undesirably resulting in embodiment.
Fig. 1 is a kind of schematic flow sheet of automation printing test method shown in the exemplary embodiment of the disclosure one, is such as schemed Shown in 1, methods described includes:
Step S101, calls tested print routine interface, reads the printing test data in basic database, obtains Print result data, the basic database is used to store printing test data and pre-establish;
Step S102, compares the value of the first field and the value of the second field, wherein, first field is the printing knot Field in fruit data, second field is the field in the basic database, and first field and described the Two fields correspondence;
Step S103, judges whether the value of the value and second field of first field is different;
Step S104, if the value of the value of first field and second field is different, records first field.
Whether printing test essentially consists in the tested print routine interface of investigation normal.Occur one in print routine operation The situation of kind:There is the field of two different attributes in printing test data, but both numerical value lucky phase under certain conditions Together, for example, " commodity total price " field and " cargo price " field, in a commodity, numerical value is identical, but in more than one piece business Different during product, print routine interface have read the numerical value of error field when reading print data, such as " commodity are total Valency " field location, have read the numerical value of " cargo price " field, because numerical value is identical both in a commodity, beat Print off as the result picture come with reference picture is still, it is impossible to reflect mistake, therefore to verify that print routine connects Whether mouth reads data wrong.
Before printing test, according to test purpose, prepare different types of printing test document, and extract printing test document Public data, based on data, be stored in basic database.During printing test, tested print routine is called to connect Mouthful, the printing test data in the basic database are read, print result data are obtained.In one embodiment, Directly using the printing test data that are read as print result data, that is, directly with the return of print routine interface Data are print result data;In another embodiment, according to the printing test data, printing obtains printing knot Fruit picture, then extracts print result data, that is, read in basic database according to the print result picture Printing test data, are printed as the input of tested print routine, described to print to virtual printing, for example, use ADOBE virtual printing technologies are printed, and are obtained print result picture and are preserved, and the print result picture can be Pdf forms, can also be converted to other picture formats such as jpg, then extract the print result data of print result picture, Printed using ADOBE virtual printing technologies, obtain print result picture, then turned the print result picture The document format datas such as TXT forms are changed to, print result data are obtained.Above-mentioned latter implementation mode, is being beaten Print result data are extracted again after print result picture, although link is more compared with former embodiment, but print result data are more The situation of actual print result can directly be reflected.
Obtain after print result data, if identical with the data format in basic database, need not fight each other Print result data enters row format conversion, if different from the data format in basic database, and printing result data is entered Row format is changed.The form of data is usually jason forms in print result data and basic database, for ease of contrast, The data of jason forms can be converted to jason objects.Then using the field in the print result data as the first word Section, using the field in the standard form image data as the second field, the value of comparison first field and with described the The value of corresponding second field of one field, first field is corresponding with second field refer to first field with it is described The field name (or mark) of second field is identical.
The value of first field and the value of second field are compared, the value and second word of first field is judged Whether the value of section is different, if the value of the value of first field and second field is different, records first word Section.Finally, using the first field for being recorded as data detection result, user is made to understand which print routine back end interface reads The value error of a little fields.If the value of first field is all identical with the value of second field, after print routine End interface reads data correctly, and there is no problem.
Fig. 2 is the schematic flow sheet of another automation printing test method shown in the exemplary embodiment of the disclosure one, such as Shown in Fig. 2, methods described includes:
Step S201, calls tested print routine interface, reads the printing test data in basic database, obtains Print result data, the basic database is used to store printing test data and pre-establish;
Step S202, compares the value of the first field and the value of the second field, wherein, first field is the printing knot Field in fruit data, second field is the field in the basic database, and first field and described the Two fields correspondence;
Step S203, judges whether the value of the value and second field of first field is different;
Step S204, if the value of the value of first field and second field is different, records first field.
Wherein step S201 to S204 is identical with step S101 to S104 respectively.
Step S205, the printing test data in the basic database obtain correspondence from master die domain valut Standard form picture, wherein, the master die domain piece in the master die domain valut is according in the basic database Data generation, and the master die domain piece is corresponding with the data in the basic database.
Step S206, according to the printing test data, printing obtains print result picture.Wherein, the printing is surveyed Examination data are printed as the input of tested print routine, described to print to virtual printing, such as using ADOBE Virtual printing technology is printed, and is obtained print result picture and is preserved.
Wherein, step S205 and step S206 order can be exchanged, can also be first according to according to the printing test number Print result picture is obtained according to printing, further according to the printing test data in the basic database, from master die domain piece Corresponding master die domain piece is obtained in storehouse.
Wherein, the data in basic database are formulated standard masterplate picture, the master die domain piece and basic data Data correspondence in storehouse, and master die domain piece is stored in master die domain valut.It is each in master die domain valut Individual master die domain piece has unique identifier, and the identifier can be " document types+template name " character string, The document types are the corresponding document types of template.During test, according to the printing test data in master die domain piece Corresponding master die domain piece is found in storehouse.Master die domain piece and print result picture can be pdf forms, can also Be converted to other picture formats such as jpg.
Step S207, according to the test scope of the print result picture, determines the test scope of the standard form picture.
The test scope of print result picture is determined by tester in advance, can be whole print result picture, Huo Zhewei Print result picture removes the scope after white edge, or the partial zones for the print result picture for needing to delimit according to test Domain, for example, print result picture is express delivery document, only using LOGO (logo) areas and bar code area of document as test Scope.The test scope of print result picture uses pixel coordinate matrix or pixel coordinate function representation.Represent test scope Pixel coordinate matrix at least including print result picture test scope border all summit pixel coordinates.For Test rectangle scope, can use four summit pixel coordinates (i.e. four of test rectangle scope of test rectangle range boundary Angle pixel coordinate) pixel coordinate matrix is constituted to represent test scope, such as test scope M=[(100,100) (100,1010);(1010,100) (1010,1010)], wherein (100,100) are left upper apex pixel coordinate, (100,1010) are the right side Upper summit pixel coordinate, (1010,100) are bottom left vertex pixel coordinate, and (1010,1010) are bottom right vertex pixel coordinate, institute The border of determination is the rectangle that aforementioned four pixel summit is determined.If test scope is irregular shape, use to push up Point pixel coordinate is characterized pixel coordinate function a little to describe the border of test scope, and the shape of test scope is different, as Plain coordinate function is also different.Compared to test rectangle scope, the contour description of irregular shape test scope is complicated, and not Regular shape test scope can be covered with test rectangle scope, and conventional printing document is made up of rectangular area in addition, Therefore test scope is preferably the simple test rectangle scope of describing mode.It should be noted that the description of test scope can It is considered as the description on the border of test scope.
Tester predefines the test scope of print result picture.Test based on predetermined print result picture Scope, the test scope according to the print result picture determines the test scope of the standard form picture, can With including:
Step a1, obtains the first boundary pixel point of the test scope of the print result picture, first boundary pixel Point at least includes all summit pixels on the first border, and first border is the test scope of the print result picture Border.
Wherein, from the description of the test scope of print result picture, such as pixel coordinates matrix or pixel point coordinates letter Number, can obtain first boundary pixel point.First boundary pixel point can pass through inputting interface by tester Test program is directly inputted, correspondingly test program obtains first boundary pixel point from the inputting interface.Described One boundary pixel point can also be stored in database, and sets mark corresponding with print result picture, such as in identifying Including print result picture name, test program reads corresponding first border according to print result picture name from database Pixel.The shape on the border of test scope is determined by the summit on border, therefore the summit on border is the characteristic point on border, because This is for the first border, and first boundary pixel point at least includes all summit pixels on the first border.Need Illustrate, if the border of the test scope of print result picture is circle, that is, the first border is circle, then may be used With so that relative to the symmetrical multiple points in the center of circle, such as 4 points symmetrical relative to the center of circle or 6 points are used as first on the first border The summit pixel on border, that is, as the first boundary pixel point, because the first boundary pixel point and the second boundary Whether the mapped boundaries that pixel is used to be compared validation criteria template picture are correct, and the boundary pixel of non-usage first Put with the second boundary pixel to describe border, take the point partly on the first border and the second boundary with feature, circle Shape border has symmetry, and whether take thereon can be verify circular mapped boundaries referring now to the symmetrical multiple points in the center of circle Correctly.For circular boundary, symmetrical multiple points on the central point and circular boundary of circular boundary can also be combined to test Circular mapped boundaries are demonstrate,proved, the central point of the circular boundary can also be obtained from the pixel point function description of test scope.
Step a2, is mapped to the master die domain piece by first border, obtains reflecting in the standard form picture Penetrate border.
Wherein, first border is mapped to the standard form picture, the mapping function pre-set can be used, By the description on the border of the test scope of print result picture, the description on the border of standard form picture is mapped as, so that To the mapped boundaries.The mapping function can be with proportion function 1, that is, standard form picture is used and printing knot The description on the border of fruit picture identical test scope, such as identical pixel coordinates matrix are described or identical pixel Point function is described, specifically, and such as border of the test scope of print result picture is described as B1=[(100,100) (100,1010);(1010,100) (1010,1010)], then the description on the border of the test scope of standard form picture, that is, The description of mapped boundaries, is B2=B1 × 1=[(100,100) (100,1010);(1010,100) (1010,1010)], wherein (100,100) it is border left upper apex pixel coordinate, (100,1010) are border right vertices pixel coordinate, and (1010,100) are Border bottom left vertex pixel coordinate, (1010,1010) are border bottom right vertex pixel coordinate, the i.e. mapping of standard form picture Border is the rectangle that aforementioned four pixel summit is determined.The mapping function can also be according to printing back gauge or printer Constant error is set to translation function, for example, for convenience of binding, printing back gauge is 100 pixels of left margin, that is, Print content overall to 100 pixels of right translation, or printing compared in standard form picture in print result picture It is overall to right translation 100 in standard form picture that machine constant error can cause printing content to be compared in print result picture Individual pixel, accordingly, mapping function are by the pixel coordinate matrix or pixel on print result picture test scope border Function obtains the description on standard form picture test scope border, so as to obtain mapped boundaries to 100 pixels of left.
First border is mapped to the standard form picture, image processing program can also be used to tie the printing The test scope border of fruit figure is projected in the standard form picture, that is, by the test model of the print result picture Pixel Coordinate Conversion in the description of surrounding edge circle is the pixel point coordinates in the standard form picture, so as to obtain described The description of mapped boundaries, has also just obtained the mapped boundaries.
Step a3, obtains the second boundary pixel, and the second boundary pixel is all at least including the mapped boundaries Summit pixel, the second boundary pixel is corresponding with first boundary pixel point, and the second boundary pixel Number be equal to first boundary pixel point number.
Wherein, after the mapped boundaries for the test scope for obtaining standard form picture, obtain and first boundary pixel point pair The second boundary pixel answered, the second boundary pixel be the mapped boundaries on pixel, at least including including All summit pixels of the mapped boundaries.According to the coordinate of the first boundary pixel point, obtain corresponding in standard form The coordinate of the second boundary pixel in picture, so as to obtain the second boundary pixel, specifically, if using reflecting Penetrate function and first border is mapped to the standard form picture, if mapping function is 1, the second boundary pixel Coordinate and the first boundary pixel point coordinate it is identical, if mapping function be translation function, by the first boundary pixel point Coordinate obtains the coordinate of the second boundary pixel after being translated with identical translational movement;If by the test model of print result figure Surrounding edge circle is projected in standard form picture, then using coordinate transform mode during projection by the coordinate of the second boundary pixel Conversion obtains the coordinate of the first boundary pixel point.The coordinate of the second boundary pixel determines by the coordinate of the first boundary pixel point, Both are corresponding and number is equal.Another method for obtaining the second boundary pixel, is according to the first boundary pixel point Number and the first boundary pixel point of setting put in order, and (for example test rectangle range boundary, suitable since left upper apex Hour hands are arranged to bottom left vertex), put in order identical sequentially according to first boundary pixel point, travel through the master die The pixel of domain piece, according to the description of the mapped boundaries, extract in the mapped boundaries with first boundary pixel Point feature (being, for example, summit or symmetric points) identical pixel, obtains the second boundary pixel, but this mode is relative For aforementioned manner, precision is relatively low.
Step a4, compares the rgb value of first boundary pixel point and the rgb value of the second boundary pixel;
Step a5, if the rgb value of the rgb value of first boundary pixel point and the second boundary pixel is complete Portion is identical, it is determined that the test scope success of the master die domain piece, is described using the scope within the mapped boundaries The test scope of standard form picture, otherwise, it determines the test scope failure of the master die domain piece, terminates printing and survey Examination.
Wherein, obtain after the first boundary pixel point and the second boundary pixel, compare both rgb values, if both Rgb value it is all identical, then the second boundary pixel fits like a glove with the first boundary pixel point, and illustrate to obtain is described The mapped boundaries of standard form picture are correct, that is, determine the test scope success of the master die domain piece, with Scope within the mapped boundaries is the test scope of the standard form picture.If the second boundary pixel and first There is the different pixel of rgb value between boundary pixel point, then the second boundary pixel is not kissed with the first boundary pixel point Close, the mapped boundaries for illustrating the obtained standard form picture are wrong, that is, determine the master die domain piece Test scope failure.
Step S208, if it is determined that the test scope success of the master die domain piece, then travel through the print result picture In the pixel of the pixel within its test scope and the standard form picture within its test scope, and compare The rgb value of the rgb value of first pixel and the second pixel, wherein, first pixel is print result picture Pixel within its test scope, second pixel is pixel of the master die domain piece within its test scope Point, second pixel is corresponding with first pixel;
Step S209, judge first pixel rgb value and second pixel rgb value it is whether different.
Wherein it is determined that after the test scope success of the master die domain piece, traveling through the print result picture and being tested at it The pixel of pixel and the standard form picture within its test scope within scope, with print result picture Pixel within its test scope is the first pixel, with pixel of the master die domain piece within its test scope For the second pixel, the rgb value of the first pixel and the rgb value of the second pixel are compared, first pixel is judged Whether the rgb value of point and the rgb value of second pixel are different.Wherein it is possible to be existed with the print result picture All pixels point in its test scope is the first pixel, and the institute with the master die domain piece in its test scope It is the second pixel to have pixel, in this case, the first pixel and the second pixel is traveled through one by one, and compare one by one The rgb value of the rgb value of first pixel and the second pixel, this mode is due to each pixel in test scope All it is compared, therefore precision is high, but workload is big, takes and resource occupation is big.Wherein, can also be with the printing As a result often the starting pixels point of row pixel is the first pixel to picture in its test scope, and with the master die domain piece Often the starting pixels point of row pixel is the second pixel in its test scope, with behavior unit, travels through print result picture With the starting pixels point (i.e. the first pixel and the second pixel) of the every row pixel of mark template picture, and compare often go line by line The first pixel rgb value and the rgb value of the second pixel, this mode only compares in test scope per the start of line Pixel, workload greatly reduces, quick and save resource, but precision is relatively low.
Step S2010, if the rgb value of the rgb value of first pixel and second pixel is different, First pixel is marked on the print result picture and/or described second is marked on the master die domain piece Pixel, and/or count the number of first pixel.
Wherein, if the rgb value of the rgb value of first pixel and second pixel is all identical, beat Print result picture and standard form picture to coincide in test scope, print routine is normal.If in comparing, described first The rgb value of the rgb value of pixel and second pixel is different, that is, the second pixel and the first pixel it Between there is the different pixel of rgb value, then print result picture is misfitted with standard form picture.For sign printing knot Which is partly different from standard form picture in fruit picture, in comparison, if the rgb value of the first pixel and second The rgb value of pixel is different, then first pixel can be marked on the print result picture, is easy to user to look into See places different from standard form picture in print result picture;It can also be marked simultaneously on the standard form picture Second pixel, is more beneficial for the difference that user is clearly checked between print result picture and standard form picture; Second pixel can also be only marked on the standard form picture, such user needs voluntarily establishing criteria masterplate picture Which part the upper place different from print result picture, substantially find problematic on print result picture.Need It is bright, the mark that above-mentioned mark is, due to the usual very little of pixel, to make mark visual, the mark is simultaneously It is non-to be only marked on the first pixel or the second pixel, but can be to cover the first pixel or the second pixel Mark.
Fig. 3 is printing test result queue exemplary plot.In Fig. 3, by taking express delivery document as an example, the left side is standard form picture, The right is print result picture, is mark with ellipse, marks standard form picture and print result figure after printing test Part is had differences between piece, is to lack area's title, second in print result picture ship-to information at first difference It is that collection on delivery does not have decimal in print result picture at individual difference.Standard form picture and print result figure after printing test In place of difference between piece, that is, rgb value different the second pixel and the first pixel.
, can be with except in print result picture and mark in both in addition to the different pixel of rgb values on standard form picture The rgb value of rgb value the second pixel corresponding from standard form picture is different in statistics print result picture first Pixel, user can understand that print result picture and standard form picture have many by the statistical conditions of first pixel Few difference., can be with if user need to only understand print result picture and standard form picture how many difference Not in print result picture and mark different pixel of rgb values in both on standard form picture, only statistics printing knot The first pixel that the rgb value of rgb value the second pixel corresponding from standard form picture is different in fruit picture.
Above step S201 to step S204 be data check, S205 to step S2010 be pattern verification, by than To printing result figure piece and standard form picture, examine print routine whether normal in itself.It should be noted that step S201 To S204 as entirety, it can be performed side by side as overall step with step S205 to step S2010, can also be suitable Sequence is performed, and the order that the overall step of above-mentioned two is indicated with dashed lines in Fig. 2 performs relation, that is, data check step Order between pattern checking procedure performs relation, and it is not exclusive to perform relation with order of representation.
The automatic printing method of testing that all embodiments of the disclosure are provided, calls tested print routine interface, reads described Printing test data in basic database, obtain print result data, by comparing the word in the print result data Field in section and the basic database, if carrying out value and the institute of the field in the data check print result data The value for stating field in basic database is different, then illustrates that print routine interface has data read errors, to making a mistake Field recorded, in favor of user investigate.In addition to data check, the embodiment of the present disclosure additionally provides pattern verification side Method, first data in the basic database formulate standard masterplate picture, set up master die domain valut, Ran Hougen According to the printing test data, printing obtains print result picture, and obtains corresponding mark according to the print result picture Quasi-mode domain piece.Then it is determined that after the test scope success of the standard form picture, traveling through and comparing the printing knot Fruit picture the pixel within its test scope rgb value and the standard form picture within its test scope Pixel rgb value, to judge the difference between print result picture and master die domain piece.If print result There is the RGB of rgb value and pixel of the standard form picture within its test scope within its test scope in picture It is worth different pixels, then print result picture is misfitted with master die domain piece, and print routine has problem, Ke Yi Mark and correspond to each other but pixel that rgb value is different on print result picture and/or standard form picture, facilitate user The intuitively observation print result picture place different with master die domain piece, can also count in print result picture with mark There is the number of the pixel of rgb value difference in quasi- template picture, to facilitate user to understand print result picture and standard How many difference of masterplate picture.The automatic printing method of testing that the embodiment of the present disclosure is provided is independent of artificial, by program Printing test is automatically performed, the efficiency of printing test is not only improved, also greatly improves the degree of accuracy of printing test.
The description of all embodiment of the method more than, it is apparent to those skilled in the art that the disclosure It can be realized by software mode, or realize by way of software adds required general hardware platform, naturally it is also possible to By hardware, but in many cases, the former is more preferably embodiment.Understood based on such, the technical scheme of the disclosure The part substantially contributed in other words to prior art can be embodied in the form of software product, and be stored in one In individual storage medium, including some instructions are to cause smart machine to perform the disclosure each embodiment methods described All or part of step.And foregoing storage medium includes:Read-only storage (ROM), random access memory (RAM), Magnetic disc or CD etc. are various can be with data storage and the medium of program code.
Fig. 4 is the schematic flow sheet of another automation printing test method shown in the exemplary embodiment of the disclosure one, such as Shown in Fig. 4, methods described includes:
Step S401, calls tested print routine interface, reads the printing test data in basic database, obtains Print result data, the basic database is used to store printing test data and pre-establish;
Step S402, according to the printing test data, printing obtains print result picture;
Step S403, the printing test data in the basic database obtain correspondence from master die domain valut Master die domain piece, data of the master die domain piece in the basic database in the master die domain valut Generation, and the master die domain piece is corresponding with the data in the basic database;
Step S404, the print result picture is compared with the master die domain piece, printing test result is obtained.
Wherein, step S401 is identical with step S101 and step S201, and step S402 is identical with step S206, step Rapid S403 is identical with step S205.
Wherein, step S404, can include:
Step b1, according to the test scope of the print result picture, determines the test scope of the standard form picture;
Step b2, if it is determined that the test scope success of the master die domain piece, then travel through the print result picture and exist The pixel of pixel and the standard form picture within its test scope within its test scope, and compare the The rgb value of the rgb value of one pixel and the second pixel, wherein, first pixel is that print result picture exists Pixel within its test scope, second pixel is pixel of the master die domain piece within its test scope, Second pixel is corresponding with first pixel;
Step b3, judge first pixel rgb value and second pixel rgb value it is whether different;
Step b4, if the rgb value of the rgb value of first pixel and second pixel is different, First pixel is marked on the print result picture and/or second picture is marked on the master die domain piece Vegetarian refreshments, and/or count the number of first pixel.
Step b1 to step b4 may be referred to step S207 to step S2010.Wherein, step b1, i.e., described basis The test scope of the print result picture, determines the test scope of the standard form picture, can include:
Step c1, obtains the first boundary pixel point of the test scope of the print result picture, first boundary pixel Point at least includes all summit pixels on the first border, and first border is the test scope of the print result picture Border;
Step c2, is mapped to the master die domain piece by first border, obtains reflecting in the standard form picture Penetrate border;
Step c3, obtains the second boundary pixel, and the second boundary pixel is all at least including the mapped boundaries Summit pixel, the second boundary pixel is corresponding with first boundary pixel point, and the second boundary pixel Number be equal to first boundary pixel point number;
Step c4, compares the rgb value of first boundary pixel point and the rgb value of the second boundary pixel;
Step c5, if the rgb value of the rgb value of first boundary pixel point and the second boundary pixel is complete Portion is identical, it is determined that the test scope success of the master die domain piece, is described using the scope within the mapped boundaries The test scope of standard form picture, otherwise, it determines the test scope failure of the master die domain piece.
Wherein, step c1 to step c5 may be referred to step a1 to step a5.
Wherein it is possible to using all pixels point of the print result picture in its test scope as first pixel, Using all pixels point of the master die domain piece in its test scope as second pixel, it can also be beaten with described Printing result picture, often the starting pixels point of row pixel is first pixel in its test scope, with the standard masterplate Often the starting pixels point of row pixel is second pixel to picture in its test scope.
Step S404, which can also be used, to be manually compared, but manual type efficiency is low and error-prone, is implemented using in sheet The automatic test mode that example is provided not only efficiency high and can effectively prevent the accuracy rate caused by leakage is misunderstood from reducing.
Fig. 5 is a kind of block diagram of automatic printing test device shown in the exemplary embodiment of the disclosure one.As shown in figure 5, Described device includes:
Print result data capture unit U501, the print routine interface tested for calling reads the basic number According to the printing test data in storehouse, print result data are obtained, the basic database is used to store printing test data simultaneously Pre-establish;
Field comparing unit U502, for comparing the value of the first field and the value of the second field, wherein, first word Section is the field in the print result data, and second field is the field in the basic database, and described the One field is corresponding with second field;
First judging unit U503, for judging whether the value of value and second field of first field is different;
First test result processing unit U504, if the value phase of the value and second field for first field It is different, record first field.
Wherein, the print result data capture unit U501, in one embodiment, can directly be read The printing test data be print result data, that is, directly obtain when print routine interface reads base library and return Data.The print result data capture unit, in another embodiment, can be specifically for:
According to the printing test data, printing obtains print result picture;
Print result data are extracted according to the print result picture.
Wherein, print data acquiring unit U501 can extract print result data according to the print result picture, can So that print result picture is converted into the data formats such as TXT, so as to obtain print result data.
Print data acquiring unit U501 is obtained after print result data, and field comparing unit U502 is tied with the printing Field in fruit data is the first field, using the field in the standard form image data as the second field, is compared described The value of the value of first field and the second field corresponding with first field, first field and second field pair First field should be referred to identical with the field name (or mark) of second field.
By field comparing unit U502 comparison, the first judging unit U503 judges value and the institute of first field Whether the value for stating the second field is different, if the value of the value of first field and second field is different, and first surveys Test result processing unit U504 records first field, using the first field for being recorded as data detection result, with side Just it is wrong that user, which understands reading of the print routine back end interface to the value of which field,.If the value of first field All identical with the value of second field, then print routine back end interface reading data are correct.
Fig. 6 is the block diagram of another automatic printing test device shown in the exemplary embodiment of the disclosure one.As shown in fig. 6, Described device includes:
Print result data capture unit U601, the print routine interface tested for calling reads the basic number According to the printing test data in storehouse, print result data are obtained, the basic database is used to store printing test data simultaneously Pre-establish;
Field comparing unit U602, for comparing the value of the first field and the value of the second field, wherein, first word Section is the field in the print result data, and second field is the field in the basic database, and described the One field is corresponding with second field;
First judging unit U603, for judging whether the value of value and second field of first field is different;
First test result processing unit U604, if the value phase of the value and second field for first field It is different, record first field.
Wherein, U601 to U604 is used to perform data detection, identical with U501 to U504.
Master die domain piece acquiring unit U605, for the printing test data in the basic database, from mark Corresponding standard form picture is obtained in quasi-mode domain valut, wherein, the master die domain in the master die domain valut Data generation of the piece in the basic database, and the master die domain piece and the number in the basic database According to corresponding;
Print unit U606, for according to the printing test data, printing to obtain print result picture.
Wherein, master die domain piece acquiring unit U605 and print unit the U606 order of connection can be exchanged.
Template test scope determining unit U607, for the test scope according to the print result picture, it is determined that described The test scope of standard form picture;
Pixel comparing unit U608, for if it is determined that the test scope success of the master die domain piece, then travel through The print result picture is in the pixel within its test scope and the standard form picture within its test scope Pixel, and compare the first pixel rgb value and the second pixel rgb value, wherein, first pixel Point is pixel of the print result picture within its test scope, and second pixel is that master die domain piece is surveyed at it The pixel within scope is tried, second pixel is corresponding with first pixel;
Second judging unit U609, for judging the rgb value of first pixel and the RGB of second pixel Whether value is different;
Second test result processing unit U6010, if rgb value and second picture for first pixel The rgb value of vegetarian refreshments is different, then first pixel is marked on the print result picture, and/or in the standard Second pixel is marked on masterplate picture, and/or counts the number of first pixel.
Wherein, U605 to U6010 is used to perform pattern inspection.
Wherein, the template test scope determining unit U607, can include:
First boundary pixel point obtains subelement, the first border picture of the test scope for obtaining the print result picture Vegetarian refreshments, first boundary pixel point at least includes all summit pixels on the first border, and first border is described The border of the test scope of print result picture;
Border maps subelement, for first border to be mapped into the master die domain piece, obtains in the standard The mapped boundaries of template picture;
The second boundary pixel obtains subelement, and for obtaining the second boundary pixel, the second boundary pixel is at least All summit pixels including the mapped boundaries, the second boundary pixel is corresponding with first boundary pixel point, And the number of the second boundary pixel is equal to the number of first boundary pixel point;
Boundary pixel point compares subelement, rgb value and the second boundary for comparing first boundary pixel point The rgb value of pixel;
Test scope determination subelement, if rgb value and the second boundary picture for first boundary pixel point The rgb value of vegetarian refreshments is all identical, it is determined that the test scope success of the master die domain piece, with the mapped boundaries Within scope be the standard form picture test scope, otherwise, it determines the test scope of the master die domain piece Failure.
Wherein, the pixel comparing unit U608, in one embodiment, with the print result picture at it All pixels point in test scope is first pixel, with institute of the master die domain piece in its test scope It is second pixel to have pixel.In another embodiment, the pixel comparing unit U608, with described Often the starting pixels point of row pixel is first pixel to print result picture in its test scope, with the master die Often the starting pixels point of row pixel is second pixel to domain piece in its test scope.
Wherein, the second judging unit U609 judges the first pixel by pixel comparing unit U608 comparison Whether the rgb value of rgb value and the second pixel is different.If it is determined that result be first pixel RGB The rgb value of value and second pixel is all identical, then print result picture and standard form picture are in test scope Interior to coincide, print routine is normal.If it is determined that result be first pixel rgb value and second pixel The rgb value of point is different, then print result picture is misfitted with standard form picture, the place that there is misprint.Such as Really the rgb value of the rgb value of the first pixel and the second pixel is different, then the second test result processing unit U6010 First pixel can be marked on the print result picture, be easy to user check in print result picture with master die The different place of plate picture;Second pixel can also be marked on the standard form picture simultaneously, be more beneficial for using The difference that family is clearly checked between print result picture and standard form picture;Can also be only in the standard form Mark second pixel on picture, user voluntarily place different from print result picture on establishing criteria masterplate picture, Which part is substantially found on print result picture problematic.
Second test result processing unit U6010 is removed on print result picture and standard form picture in both marks Outside the different pixel of rgb value, rgb value in print result picture can also be counted corresponding with standard form picture The first different pixel of the rgb value of second pixel, facilitates user to be directly viewable print result picture and standard form How many difference of picture.If user need to only understand print result picture and standard form picture how many difference, Then only it can count the rgb value of rgb value the second pixel corresponding with standard form picture in print result picture not The first same pixel.
Above unit U601 to U604 is data check executable portion, and unit U605 to U6010 is that pattern verifies execution Part, unit U601 to U604 is used as overall execution as overall executable portion with unit U605 to U6010 Part can be performed side by side, can also sequentially perform, above-mentioned data check executable portion and sample are indicated with dashed lines in Fig. 6 Sequence connection between formula verification executable portion, above-mentioned two executable portion not exclusive with order of representation annexation Can also be arranged side by side.
Fig. 7 is the block diagram of another automatic printing test device shown in the exemplary embodiment of the disclosure one.As shown in fig. 7, Described device includes:
Print result data capture unit U701, the print routine interface tested for calling reads the basic number According to the printing test data in storehouse, print result data are obtained, the basic database is used to store printing test data simultaneously Pre-establish;
Print unit U702, for according to the printing test data, printing to obtain print result picture;
Master die domain piece acquiring unit U703, for the printing test data in the basic database, from mark Corresponding standard form picture is obtained in quasi-mode domain valut, wherein, the master die domain in the master die domain valut Data generation of the piece in the basic database, and the master die domain piece and the number in the basic database According to corresponding;
Contrastive test unit U704, for the print result picture to be compared with the master die domain piece, is obtained To printing test result.
Wherein, the contrastive test unit, can include:
Template test range determination module, for the test scope according to the print result picture, determines the master die The test scope of plate picture;
Pixel comparing module, for if it is determined that the test scope success of the master die domain piece, then beat described in traversal Print pixel of the result picture in the pixel within its test scope and the standard form picture within its test scope Point, and the rgb value of the first pixel and the rgb value of the second pixel are compared, wherein, first pixel is to beat Pixel of the result picture within its test scope is printed, second pixel is master die domain piece in its test scope Within pixel, second pixel is corresponding with first pixel;
Second judge module, for judging that the rgb value of first pixel and the rgb value of second pixel be It is no different;
Second test result processing module, if rgb value and second pixel for first pixel Rgb value is different, then first pixel is marked on the print result picture, and/or in the master die domain Second pixel is marked on piece, and/or counts the number of first pixel.
Wherein, the template test range determination module, can include:
First boundary pixel point acquisition submodule, the first border picture of the test scope for obtaining the print result picture Vegetarian refreshments, first boundary pixel point at least includes all summit pixels on the first border, and first border is described The border of the test scope of print result picture;
Border mapping submodule, for first border to be mapped into the master die domain piece, is obtained in the standard The mapped boundaries of template picture;
The second boundary pixel acquisition submodule, for obtaining the second boundary pixel, the second boundary pixel is at least All summit pixels including the mapped boundaries, the second boundary pixel is corresponding with first boundary pixel point, And the number of the second boundary pixel is equal to the number of first boundary pixel point;
Boundary pixel point compares submodule, rgb value and the second boundary for comparing first boundary pixel point The rgb value of pixel;
Test scope determination sub-module, if rgb value and the second boundary picture for first boundary pixel point The rgb value of vegetarian refreshments is all identical, it is determined that the test scope success of the master die domain piece, with the mapped boundaries Within scope be the standard form picture test scope, otherwise, it determines the test scope of the master die domain piece Failure.
Wherein, the pixel comparing module, in one embodiment, model is tested with the print result picture at it All pixels point in enclosing is first pixel, with all pixels of the master die domain piece in its test scope Point is second pixel.In another embodiment, the pixel comparing module, with the print result figure Often the starting pixels point of row pixel is first pixel to piece in its test scope, with the master die domain piece at it Often the starting pixels point of row pixel is second pixel in test scope.
Wherein, the second judge module judges the rgb value and of the first pixel by the comparison of pixel comparing module Whether the rgb value of two pixels is different.If it is determined that result be first pixel rgb value and described second The rgb value of pixel is all identical, then print result picture and standard form picture coincide in test scope, printing Program is normal.If it is determined that result be the rgb value of first pixel and the rgb value phase of second pixel Different, then print result picture is misfitted with standard form picture, there is the place of misprint.If the first pixel The rgb value of rgb value and the second pixel is different, then the second test result processing module can be in the print result figure First pixel is marked on piece, is easy to user to check places different from standard form picture in print result picture; Second pixel can be marked on the standard form picture simultaneously, be more beneficial for user and clearly check print result Difference between picture and standard form picture;Second pixel only can also be marked on the standard form picture Point, user voluntarily place different from print result picture on establishing criteria masterplate picture is big on print result picture It is problematic which part cause finds.
Second test result processing module removes the middle rgb values of both marks on print result picture and standard form picture not Outside same pixel, the second pixel corresponding with standard form picture of rgb value in print result picture can also be counted Different the first pixel of rgb value of point, facilitating user to be directly viewable print result picture and standard form picture has many Few difference., can be with if user need to only understand print result picture and standard form picture how many difference That only rgb value of rgb value the second pixel corresponding from standard form picture is different in statistics print result picture One pixel.
For convenience of description, describe to be divided into various units during apparatus above with function or module is described respectively.Certainly, exist Implement the function of each unit or module can be realized in same or multiple softwares and/or hardware during the disclosure.
Each embodiment in this specification is described by the way of progressive, identical similar part between each embodiment Mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for device Or for system embodiment, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is joined See the part explanation of embodiment of the method.Apparatus and system embodiment described above is only schematical, wherein The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit or module The part shown can be or may not be physical location or module, you can with positioned at a place, or can also divide Cloth is on multiple NEs.Some or all of unit therein or module can be selected to realize according to the actual needs The purpose of this embodiment scheme.Those of ordinary skill in the art are without creative efforts, you can to understand And implement.
It should be noted that herein, the relational terms of such as " first " and " second " or the like be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or behaviour There is any this actual relation or backward between work.Moreover, term " comprising ", "comprising" or its it is any its His variant is intended to including for nonexcludability, so that process, method, device including a series of key elements or setting It is standby not only to include those key elements, but also other key elements including being not expressly set out, or also include be this process, Method, device or the intrinsic key element of equipment.In the absence of more restrictions, by sentence "including a ..." The key element of restriction, it is not excluded that also there is other phase in the process including the key element, method, device or equipment Same key element.
Described above is only the embodiment of the disclosure, is made skilled artisans appreciate that or realizing the disclosure. A variety of modifications to these embodiments will be apparent to one skilled in the art, and as defined herein one As principle can in other embodiments be realized without departing from the spirit or the scope of the present disclosure.Therefore, this public affairs Open and be not intended to be limited to the embodiments shown herein, and be to fit to and principles disclosed herein and features of novelty Consistent most wide scope.

Claims (26)

1. one kind automation printing test method, it is characterised in that including:
Tested print routine interface is called, the printing test data in basic database is read, obtains print result number According to the basic database is used to store printing test data and pre-establish;
The value of the first field and the value of the second field are compared, wherein, first field is in the print result data Field, second field is the field in the basic database, and first field is corresponding with second field;
Judge whether the value of the value and second field of first field is different;
If the value of the value of first field and second field is different, first field is recorded.
2. printing test method is automated as claimed in claim 1, it is characterised in that the advance root of basic database According to test purpose, from printing test document extract public data based on data and set up.
3. printing test method is automated as claimed in claim 1, it is characterised in that in the reading basic database Printing test data, obtain print result data, including:
Using the printing test data that are read as print result data;Or,
According to the printing test data, printing obtains print result picture;
Print result data are extracted according to the print result picture.
4. the automation printing test method as described in any one of claims 1 to 3, it is characterised in that also include:
Printing test data in the basic database, corresponding standard form is obtained from master die domain valut Picture, wherein, data generation of the master die domain piece in the basic database in the master die domain valut, And the master die domain piece is corresponding with the data in the basic database;
According to the printing test data, printing obtains print result picture;
According to the test scope of the print result picture, the test scope of the standard form picture is determined;
If it is determined that the test scope success of the master die domain piece, then travel through the print result picture and test model at it The pixel of pixel and the standard form picture within its test scope within enclosing, and compare the first pixel Rgb value and the second pixel rgb value, wherein, first pixel be print result picture its test model Pixel within enclosing, second pixel is pixel of the master die domain piece within its test scope, described the Two pixels are corresponding with first pixel;
Judge first pixel rgb value and second pixel rgb value it is whether different;
If the rgb value of the rgb value of first pixel and second pixel is different, in the printing knot First pixel is marked on fruit picture and/or second pixel is marked on the master die domain piece, and/or system Count the number of first pixel.
5. automation printing test method according to claim 4, it is characterised in that described to be tied according to the printing The test scope of fruit picture, determines the test scope of the standard form picture, including:
The first boundary pixel point of the test scope of the print result picture is obtained, first boundary pixel point is at least wrapped All summit pixels on the first border are included, first border is the border of the test scope of the print result picture;
First border is mapped to the master die domain piece, the mapped boundaries in the standard form picture are obtained;
The second boundary pixel is obtained, the second boundary pixel at least includes all summit pixels of the mapped boundaries Point, the second boundary pixel is corresponding with first boundary pixel point, and the number of the second boundary pixel etc. In the number of first boundary pixel point;
Compare the rgb value of first boundary pixel point and the rgb value of the second boundary pixel;
If the rgb value of the rgb value of first boundary pixel point and the second boundary pixel is all identical, The test scope success of the master die domain piece is determined, using the scope within the mapped boundaries as the standard form figure The test scope of piece, otherwise, it determines the test scope failure of the master die domain piece.
6. automation printing test method according to claim 4, it is characterised in that with the print result picture All pixels point in its test scope is first pixel, with the master die domain piece in its test scope All pixels point be second pixel.
7. automation printing test method according to claim 4, it is characterised in that with the print result picture Often the starting pixels point of row pixel is first pixel in its test scope, is surveyed with the master die domain piece at it Often the starting pixels point of row pixel is second pixel in the range of examination.
8. one kind automation printing test method, including:
Tested print routine interface is called, the printing test data in basic database, the basic database are read For storing printing test data and pre-establishing;
According to the printing test data, printing obtains print result picture;
Printing test data in the basic database, obtain corresponding standard masterplate from master die domain valut Data generation of the master die domain piece in the basic database in picture, the master die domain valut, and The master die domain piece is corresponding with the data in the basic database;And,
The print result picture is compared with the master die domain piece, printing test result is obtained.
9. printing test method is automated as claimed in claim 8, it is characterised in that the advance root of basic database According to test purpose, from different types of printing test document extract public data based on data and set up.
10. printing test method is automated as claimed in claim 8, it is characterised in that described by the print result Picture is compared with the master die domain piece, obtains printing test result, including:
According to the test scope of the print result picture, the test scope of the standard form picture is determined;
If it is determined that the test scope success of the master die domain piece, then travel through the print result picture and test model at it The pixel of pixel and the standard form picture within its test scope within enclosing, and compare the first pixel Rgb value and the second pixel rgb value, wherein, first pixel be print result picture its test model Pixel within enclosing, second pixel is pixel of the master die domain piece within its test scope, described the Two pixels are corresponding with first pixel;
Judge first pixel rgb value and second pixel rgb value it is whether different;
If the rgb value of the rgb value of first pixel and second pixel is different, in the printing knot First pixel is marked on fruit picture and/or second pixel is marked on the master die domain piece, and/or system Count the number of first pixel.
11. automation printing test method according to claim 10, it is characterised in that described according to the printing As a result the test scope of picture, determines the test scope of the standard form picture, including:
The first boundary pixel point of the test scope of the print result picture is obtained, first boundary pixel point is at least wrapped All summit pixels on the first border are included, first border is the border of the test scope of the print result picture;
First border is mapped to the master die domain piece, the mapped boundaries in the standard form picture are obtained;
The second boundary pixel is obtained, the second boundary pixel at least includes all summit pixels of the mapped boundaries Point, the second boundary pixel is corresponding with first boundary pixel point, and the number of the second boundary pixel etc. In the number of first boundary pixel point;
Compare the rgb value of first boundary pixel point and the rgb value of the second boundary pixel;
If the rgb value of the rgb value of first boundary pixel point and the second boundary pixel is all identical, The test scope success of the master die domain piece is determined, using the scope within the mapped boundaries as the standard form figure The test scope of piece, otherwise, it determines the test scope failure of the master die domain piece.
12. automation printing test method according to claim 10, it is characterised in that with the print result figure All pixels point of the piece in its test scope is first pixel, with the master die domain piece in its test scope Interior all pixels point is second pixel.
13. automation printing test method according to claim 10, it is characterised in that with the print result figure Often the starting pixels point of row pixel is first pixel to piece in its test scope, with the master die domain piece at it Often the starting pixels point of row pixel is second pixel in test scope.
14. one kind automation printing test device, it is characterised in that including:
Print result data capture unit, the print routine interface tested for calling reads beating in basic database Test data is printed, print result data are obtained, the basic database is used to store printing test data and pre-establish;
Field comparing unit, for comparing the value of the first field and the value of the second field, wherein, first field is institute State the field in print result data, second field is the field in the basic database, and first field It is corresponding with second field;
First judging unit, for judging whether the value of value and second field of first field is different;
First test result processing unit, if the value for the value and second field of first field is different, note Record first field.
15. printing test device is automated as claimed in claim 14, it is characterised in that the basic database is advance According to test purpose, from printing test document extract public data based on data and set up.
16. printing test device is automated as claimed in claim 14, it is characterised in that the print result data are obtained Unit is taken, specifically for:
Using the printing test data that are read as print result data;Or,
According to the printing test data, printing obtains print result picture;
Print result data are extracted according to the print result picture.
17. the automation printing test device as described in any one of claim 14 to 16, it is characterised in that also include:
Master die domain piece acquiring unit, for the printing test data in the basic database, from standard masterplate Corresponding standard form picture is obtained in picture library, wherein, master die domain piece in the master die domain valut according to Data generation in the basic database, and the master die domain piece is relative with the data in the basic database Should;
Print unit, for according to the printing test data, printing to obtain print result picture;
Template test scope determining unit, for the test scope according to the print result picture, determines the master die The test scope of plate picture;
Pixel comparing unit, for if it is determined that the test scope success of the master die domain piece, then beat described in traversal Print pixel of the result picture in the pixel within its test scope and the standard form picture within its test scope Point, and the rgb value of the first pixel and the rgb value of the second pixel are compared, wherein, first pixel is to beat Pixel of the result picture within its test scope is printed, second pixel is master die domain piece in its test scope Within pixel, second pixel is corresponding with first pixel;
Second judging unit, for judging that the rgb value of first pixel and the rgb value of second pixel be It is no different;
Second test result processing unit, if rgb value and second pixel for first pixel Rgb value is different, then first pixel is marked on the print result picture, and/or in the master die domain Second pixel is marked on piece, and/or counts the number of first pixel.
18. automation printing test device according to claim 17, it is characterised in that the template test scope Determining unit, including:
First boundary pixel point obtains subelement, the first border picture of the test scope for obtaining the print result picture Vegetarian refreshments, first boundary pixel point at least includes all summit pixels on the first border, and first border is described The border of the test scope of print result picture;
Border maps subelement, for first border to be mapped into the master die domain piece, obtains in the standard The mapped boundaries of template picture;
The second boundary pixel obtains subelement, and for obtaining the second boundary pixel, the second boundary pixel is at least All summit pixels including the mapped boundaries, the second boundary pixel is corresponding with first boundary pixel point, And the number of the second boundary pixel is equal to the number of first boundary pixel point;
Boundary pixel point compares subelement, rgb value and the second boundary for comparing first boundary pixel point The rgb value of pixel;
Test scope determination subelement, if rgb value and the second boundary picture for first boundary pixel point The rgb value of vegetarian refreshments is all identical, it is determined that the test scope success of the master die domain piece, with the mapped boundaries Within scope be the standard form picture test scope, otherwise, it determines the test scope of the master die domain piece Failure.
19. automation printing test device according to claim 17, it is characterised in that the pixel compares single Member, using all pixels point of the print result picture in its test scope as first pixel, with the standard All pixels point of the masterplate picture in its test scope is second pixel.
20. automation printing test device according to claim 17, it is characterised in that the pixel compares single Member, using the print result picture in its test scope often the starting pixels point of row pixel as first pixel, with Often the starting pixels point of row pixel is second pixel to the master die domain piece in its test scope.
21. one kind automation printing test device, including:
Print result data capture unit, the print routine interface tested for calling reads beating in basic database Test data is printed, the basic database is used to store printing test data and pre-establish;
Print unit, for according to the printing test data, printing to obtain print result picture;
Master die domain piece acquiring unit, for the printing test data in the basic database, from standard masterplate Corresponding master die domain piece is obtained in picture library, wherein, master die domain piece in the master die domain valut according to Data generation in the basic database, and the master die domain piece is relative with the data in the basic database Should;And
Contrastive test unit, for the print result picture to be compared with the master die domain piece, is printed Test result.
22. printing test device is automated as claimed in claim 21, it is characterised in that the basic database is advance According to test purpose, from different types of printing test document extract public data based on data and set up.
23. printing test device is automated as claimed in claim 21, it is characterised in that the contrastive test unit, Including:
Template test range determination module, for the test scope according to the print result picture, determines the master die The test scope of plate picture;
Pixel comparing module, for if it is determined that the test scope success of the master die domain piece, then beat described in traversal Print pixel of the result picture in the pixel within its test scope and the standard form picture within its test scope Point, and the rgb value of the first pixel and the rgb value of the second pixel are compared, wherein, first pixel is to beat Pixel of the result picture within its test scope is printed, second pixel is master die domain piece in its test scope Within pixel, second pixel is corresponding with first pixel;
Second judge module, for judging that the rgb value of first pixel and the rgb value of second pixel be It is no different;
Second test result processing module, if the RGB of the rgb value of first pixel and second pixel Value is different, then first pixel is marked on the print result picture and/or is marked on the master die domain piece Second pixel, and/or count the number of first pixel.
24. automation printing test device according to claim 23, it is characterised in that the template test scope Determining module, including:
First boundary pixel point acquisition submodule, the first border picture of the test scope for obtaining the print result picture Vegetarian refreshments, first boundary pixel point at least includes all summit pixels on the first border, and first border is described The border of the test scope of print result picture;
Border mapping submodule, for first border to be mapped into the master die domain piece, is obtained in the standard The mapped boundaries of template picture;
The second boundary pixel acquisition submodule, for obtaining the second boundary pixel, the second boundary pixel is at least All summit pixels including the mapped boundaries, the second boundary pixel is corresponding with first boundary pixel point, And the number of the second boundary pixel is equal to the number of first boundary pixel point;
Boundary pixel point compares submodule, rgb value and the second boundary for comparing first boundary pixel point The rgb value of pixel;
Test scope determination sub-module, if rgb value and the second boundary picture for first boundary pixel point The rgb value of vegetarian refreshments is all identical, it is determined that the test scope success of the master die domain piece, with the mapped boundaries Within scope be the standard form picture test scope, otherwise, it determines the test scope of the master die domain piece Failure.
25. automation printing test device according to claim 23, it is characterised in that the pixel compares mould Block, using all pixels point of the print result picture in its test scope as first pixel, with the standard All pixels point of the masterplate picture in its test scope is second pixel.
26. automation printing test side's device according to claim 23, it is characterised in that the pixel is compared Module, using the print result picture in its test scope often the starting pixels point of row pixel as first pixel, Using the master die domain piece in its test scope often the starting pixels point of row pixel as second pixel.
CN201610069847.4A 2016-02-01 2016-02-01 Automatic printing test method and device Active CN107025076B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610069847.4A CN107025076B (en) 2016-02-01 2016-02-01 Automatic printing test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610069847.4A CN107025076B (en) 2016-02-01 2016-02-01 Automatic printing test method and device

Publications (2)

Publication Number Publication Date
CN107025076A true CN107025076A (en) 2017-08-08
CN107025076B CN107025076B (en) 2020-04-28

Family

ID=59524219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610069847.4A Active CN107025076B (en) 2016-02-01 2016-02-01 Automatic printing test method and device

Country Status (1)

Country Link
CN (1) CN107025076B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943436A (en) * 2017-12-05 2018-04-20 浪潮金融信息技术有限公司 Statement of expense Method of printing and device, computer-readable recording medium, terminal
CN109685626A (en) * 2018-12-27 2019-04-26 北京顺丰同城科技有限公司 A kind of lower single test method and device
JP2019171830A (en) * 2018-03-29 2019-10-10 株式会社リコー Image formation apparatus, control method, program and printing system
CN110363241A (en) * 2019-07-11 2019-10-22 合肥联宝信息技术有限公司 A kind of picture comparative approach and device
CN110618795A (en) * 2018-06-19 2019-12-27 阿里巴巴集团控股有限公司 Printing processing method and device and electronic equipment
CN111399786A (en) * 2020-02-28 2020-07-10 中国平安人寿保险股份有限公司 Method and device for generating print file, terminal equipment and storage medium
CN116662087A (en) * 2023-05-12 2023-08-29 深圳市威立印技术有限公司 Printer software testing system and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5838465A (en) * 1994-12-02 1998-11-17 Hitachi, Ltd. Color compensating method of color image and color image generating apparatus
DE10361936A1 (en) * 2003-12-29 2005-07-28 Lpcon Gmbh Error detection device for detection of errors in color print images during printing comprises a comparison module for comparing selected areas in an image of an actual print with a reference print
CN101807140A (en) * 2010-01-29 2010-08-18 山东新北洋信息技术股份有限公司 Printing control method and system
CN101839865A (en) * 2010-04-13 2010-09-22 富美科技有限公司 Automatic distinguishing method of printing effect
CN102107561A (en) * 2009-12-25 2011-06-29 江门市得实计算机外部设备有限公司 Printing quality intelligent monitoring method, and printer and printing system employing same
CN102739889A (en) * 2011-04-07 2012-10-17 鸿富锦精密工业(深圳)有限公司 Printing configuration method of multifunctional machine
CN103034460A (en) * 2011-09-30 2013-04-10 北大方正集团有限公司 Method and device for testing printer driver

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5838465A (en) * 1994-12-02 1998-11-17 Hitachi, Ltd. Color compensating method of color image and color image generating apparatus
DE10361936A1 (en) * 2003-12-29 2005-07-28 Lpcon Gmbh Error detection device for detection of errors in color print images during printing comprises a comparison module for comparing selected areas in an image of an actual print with a reference print
CN102107561A (en) * 2009-12-25 2011-06-29 江门市得实计算机外部设备有限公司 Printing quality intelligent monitoring method, and printer and printing system employing same
CN101807140A (en) * 2010-01-29 2010-08-18 山东新北洋信息技术股份有限公司 Printing control method and system
CN101839865A (en) * 2010-04-13 2010-09-22 富美科技有限公司 Automatic distinguishing method of printing effect
CN102739889A (en) * 2011-04-07 2012-10-17 鸿富锦精密工业(深圳)有限公司 Printing configuration method of multifunctional machine
CN103034460A (en) * 2011-09-30 2013-04-10 北大方正集团有限公司 Method and device for testing printer driver

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943436A (en) * 2017-12-05 2018-04-20 浪潮金融信息技术有限公司 Statement of expense Method of printing and device, computer-readable recording medium, terminal
CN107943436B (en) * 2017-12-05 2020-12-01 浪潮金融信息技术有限公司 Expense list printing method and device, computer readable storage medium and terminal
JP2019171830A (en) * 2018-03-29 2019-10-10 株式会社リコー Image formation apparatus, control method, program and printing system
CN110618795A (en) * 2018-06-19 2019-12-27 阿里巴巴集团控股有限公司 Printing processing method and device and electronic equipment
CN109685626A (en) * 2018-12-27 2019-04-26 北京顺丰同城科技有限公司 A kind of lower single test method and device
CN110363241A (en) * 2019-07-11 2019-10-22 合肥联宝信息技术有限公司 A kind of picture comparative approach and device
CN111399786A (en) * 2020-02-28 2020-07-10 中国平安人寿保险股份有限公司 Method and device for generating print file, terminal equipment and storage medium
CN111399786B (en) * 2020-02-28 2024-03-08 中国平安人寿保险股份有限公司 Method and device for generating print file, terminal equipment and storage medium
CN116662087A (en) * 2023-05-12 2023-08-29 深圳市威立印技术有限公司 Printer software testing system and method

Also Published As

Publication number Publication date
CN107025076B (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN107025076A (en) One kind automation printing test method and device
US7286130B2 (en) Polygonal chart drawing processing method, device and computer-readable medium recording a program of the same
US8155578B2 (en) Method and system for generating and processing an assessment examination
US7840891B1 (en) Method and system for content extraction from forms
US20180061263A1 (en) Image forming apparatus and grading assistance method
CN101901338A (en) Method and system for calculating scores of test paper
CN102436547A (en) Wrong sentence statistical method and system for teaching
US20110107282A1 (en) Printed circuit board layout system and method thereof
CN110490181B (en) Form filling and auditing method, device and equipment based on OCR (optical character recognition) technology and computer storage medium
US20170192797A1 (en) User interface layout comparison
JP2008033875A (en) Layering program of cad drawing data, recording medium and device therefor, and layering system therefor, and cad drawing reference data checking device
CN108334484B (en) Data entry method and device
CN107193467B (en) Method and equipment for displaying intelligent pen writing content
CN103198071B (en) Datagram table generating method and device thereof
CN109815958A (en) A kind of laboratory test report recognition methods, device, electronic equipment and storage medium
CN104408403B (en) A kind of referee method that secondary typing is inconsistent and device
CN113487702A (en) Template generation method, image recognition method and device
CN107203525B (en) Database processing method and device
CN114373188A (en) Drawing identification method and device, electronic equipment and storage medium
US20230297774A1 (en) Demand conformity analysis method and system, and electronic device and storage medium
JP4249929B2 (en) Matching method of address information and position coordinates
CN112199929A (en) Form processing method and device, storage medium and electronic equipment
CN110110280A (en) To curve integral, device, equipment and the storage medium of coordinate
CN112988943A (en) Method and system for processing field evidence-proving achievements
US8390836B2 (en) Automatic review of variable imaging jobs

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180416

Address after: Four story 847 mailbox of the capital mansion of Cayman Islands, Cayman Islands, Cayman

Applicant after: CAINIAO SMART LOGISTICS HOLDING Ltd.

Address before: Grand Cayman, Cayman Islands

Applicant before: ALIBABA GROUP HOLDING Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant