CN107203499A - Dot matrix uniformity determination methods and device - Google Patents

Dot matrix uniformity determination methods and device Download PDF

Info

Publication number
CN107203499A
CN107203499A CN201610154523.0A CN201610154523A CN107203499A CN 107203499 A CN107203499 A CN 107203499A CN 201610154523 A CN201610154523 A CN 201610154523A CN 107203499 A CN107203499 A CN 107203499A
Authority
CN
China
Prior art keywords
dot matrix
information
code
linked network
intermediate code
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
CN201610154523.0A
Other languages
Chinese (zh)
Other versions
CN107203499B (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.)
BEIJING BEIDA FOUNDER ELECTRONICS Co Ltd
New Founder Holdings Development Co ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201610154523.0A priority Critical patent/CN107203499B/en
Publication of CN107203499A publication Critical patent/CN107203499A/en
Application granted granted Critical
Publication of CN107203499B publication Critical patent/CN107203499B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation

Abstract

The embodiment of the present invention provides a kind of dot matrix uniformity determination methods and device.This method includes:Obtain the first linked network object information that grating image processor carries out parsing generation for the first time to file destination;First yard is generated according to the first linked network object information;Obtain the second linked network object information that grating image processor carries out second of parsing generation to file destination;Second code is generated according to the second linked network object information;Compare first yard and second code, judge grating image processor file destination is handled twice generation dot matrix it is whether consistent.The embodiment of the present invention carries out parsing the first linked network object information of generation and the second linked network object information twice to same file destination by grating image processor, the first linked network object information is converted to first yard respectively, second linked network object information is converted into second code, the uniformity determination methods that same pdf document generates dot matrix after grating image processor is handled twice are realized by comparing first yard and second code.

Description

Dot matrix uniformity determination methods and device
Technical field
Judge the present embodiments relate to dot matrix consistency checking field, more particularly to a kind of dot matrix uniformity Method and device.
Background technology
Grating image processor (Raster Image Processor, abbreviation RIP) is used for portable document The PDL of form (Portable Document Format, abbreviation PDF) file is parsed Linked network object is generated, and linked network generation dot matrix is carried out to the linked network object.
In the prior art, in order to ensure that grating image processor is consistent to the result of same pdf document, Whether needing to compare grating image processor, to handle the dot matrix generated respectively twice to same pdf document consistent Dot matrix uniformity determination methods are needed, if handling the dot matrix generated respectively twice unanimously, illustrate grid Table images processor is consistent to the result of same pdf document.
But lack same pdf document in the prior art and generated twice after grating image processor is handled The uniformity determination methods of dot matrix.
The content of the invention
The embodiment of the present invention provides a kind of dot matrix uniformity determination methods and device, to realize same PDF texts Part generates the uniformity determination methods of dot matrix after grating image processor is handled twice.
The one side of the embodiment of the present invention is to provide a kind of dot matrix uniformity determination methods, including:
Grating image processor is obtained to believe the first linked network object of file destination progress parsing generation for the first time Breath;
First yard is generated according to the first linked network object information;
Obtain the second extension that the grating image processor carries out second of parsing generation to the file destination Net object information;
Second code is generated according to the second linked network object information;
Compare described first yard and the second code, judge the grating image processor to target text Whether the dot matrix that part handles generation twice is consistent.
The other side of the embodiment of the present invention is to provide a kind of dot matrix match judging apparatus, including:
Acquisition module, parsing generation for the first time is carried out to file destination for obtaining grating image processor First linked network object information;Obtain the grating image processor and second of solution is carried out to the file destination Analyse the second linked network object information of generation;
Generation module, for generating first yard according to the first linked network object information;According to described second Linked network object information generates second code;
Multilevel iudge module, for comparing described first yard and the second code, judges the grating image Whether the dot matrix that processor handles the file destination generation twice is consistent.
Dot matrix uniformity determination methods provided in an embodiment of the present invention and device, pass through grating image processor Parsing the first linked network object information of generation twice and the second linked network object letter are carried out to same file destination Breath, is converted to first yard by the first linked network object information respectively, and the second linked network object information is converted into the Two yards, judge grating image processor to same file destination twice by comparing first yard and second code Whether the dot matrix for handling generation is consistent, realizes same pdf document twice by grating image processor The uniformity determination methods of dot matrix are generated after reason.
Brief description of the drawings
Fig. 1 is dot matrix uniformity determination methods flow chart provided in an embodiment of the present invention;
Fig. 2 is the structure chart that dot matrix uniformity provided in an embodiment of the present invention judges system;
The dot matrix uniformity determination methods flow chart that Fig. 3 provides for another embodiment of the present invention;
The dot matrix uniformity determination methods flow chart that Fig. 4 provides for another embodiment of the present invention;
Fig. 5 is the structure chart of dot matrix match judging apparatus provided in an embodiment of the present invention;
The structure chart for the dot matrix match judging apparatus that Fig. 6 provides for another embodiment of the present invention.
Embodiment
Fig. 1 is dot matrix uniformity determination methods flow chart provided in an embodiment of the present invention;Fig. 2 is the present invention The dot matrix uniformity that embodiment is provided judges the structure chart of system.The embodiment of the present invention is in the prior art Lack same portable document format (Portable Document Format, abbreviation PDF) file two The secondary uniformity determination methods that dot matrix is generated after grating image processor is handled are consistent there is provided dot matrix Property determination methods, this method is comprised the following steps that:
Step S101, acquisition grating image processor carry out the first of parsing generation for the first time to file destination Linked network object information;
As shown in Fig. 2 dot matrix uniformity judges that system includes RIP subsystems 11 and RIP call subsystems 12, RIP subsystems 11 include linked network object information logger 110 and MD5 code processors 111, RIP Call subsystem 12 includes MD5 codes comparator 120.Linked network object information logger 110 is used for grid Temporary disc file is arrived in the linked network object information storage that image processor is obtained after being parsed to file destination In.MD5 code processors are used to the linked network object information in disk file generating MD5 codes, for example, generate The MD5 codes of the dot matrix black and white segment information of linked network Drawing Object and the dot matrix colouring information of linked network image object, And the MD5 codes of all linked network object informations of generation.MD5 codes comparator 120 is used to call more twice Whether 32 MD5 codes that RIP is returned are consistent, and then judge the consistent of the dot matrix that RIP is generated twice Property.
In the embodiment of the present invention, grating image processor is specially the pel in pdf document to file destination The first linked network object information of parsing generation for the first time is carried out, linked network object information logger 110 is hung first Net object information is stored into temporary disc file f 1.Specifically, the first linked network object information includes First Drawing Object information and the first image object information, the first Drawing Object information include described the Positional information in the file destination of the colouring information of one Drawing Object, first Drawing Object and Dot matrix black and white segment information, described first image object information includes described first image object in the target Positional information, current color surface title and dot matrix colouring information in file.
Step S102, according to the first linked network object information generate first yard;
MD5 code processors 111 are converted to the first linked network object information stored in temporary disc file f 1 First yard i.e. 32 MD5 codes, specific conversion method can be using any conversion side of the prior art Method, the embodiment of the present invention does not limit specific conversion method.
Step S103, the acquisition grating image processor carry out second of parsing to the file destination and given birth to Into the second linked network object information;
Using with step S101 identical methods, grating image processor is specially to same file destination Pel in pdf document carries out second of parsing the second linked network object information of generation.Similarly, described second Linked network object information includes second graph object information and the second image object information, the second graph pair Image information includes the colouring information of the second graph object, the second graph object in target text Positional information and dot matrix black and white segment information in part, second image object information include second figure As positional information, current color surface title and dot matrix colouring information of the object in the file destination.
Step S104, according to the second linked network object information generate second code;
Using with step S102 identicals method second code, institute are generated according to the second linked network object information It is also 32 MD5 codes to state second code.
First yard and the second code, judge the grating image processor pair described in step S105, comparison Whether the dot matrix that the file destination handles generation twice is consistent.
MD5 codes comparator 120 by compare above-mentioned steps obtain described first yard and the second code i.e. Two 32 MD5 codes, judge that the grating image processor handles generation twice to the file destination Whether dot matrix is consistent, specifically, whether relatively more described first yard identical with the second code;If identical, Then judge that the dot matrix that the grating image processor handles generation twice to the file destination is consistent;If no It is identical, then judge that the dot matrix that the grating image processor handles generation twice to the file destination differs Cause.
The embodiment of the present invention carries out parsing twice to same file destination by grating image processor and generated First linked network object information and the second linked network object information, are converted to by the first linked network object information respectively One yard, the second linked network object information is converted into second code, grid are judged by comparing first yard and second code Whether the dot matrix that table images processor handles same file destination generation twice is consistent, realizes same Pdf document generates the uniformity determination methods of dot matrix after grating image processor is handled twice.
The dot matrix uniformity determination methods flow chart that Fig. 3 provides for another embodiment of the present invention.It is of the invention real Example is applied after the step S101 of Fig. 1 embodiments also to comprise the following steps:
Step S301, the dot matrix black and white segment information is converted into the first intermediate code;
The data volume of usual dot matrix black and white segment information is larger, then dot matrix black and white segment information is first converted into one The MD5 codes of 32 are the first intermediate code.
Step S302, first intermediate code is converted to the second intermediate code, the position of second intermediate code Digit of the number less than first intermediate code;
On the basis of step S301, the MD5 codes of 32 are converted to MD5 codes i.e. of 16 Two intermediate codes.
Step S303, by the colouring information of first Drawing Object, first Drawing Object described Positional information and second intermediate code in file destination are stored to the first temporary file;
By the colouring information of first Drawing Object, first Drawing Object in the file destination Positional information and corresponding 16 of dot matrix black and white segment information the storage of MD5 codes to the first temporary file f1 In.
Step S304, the dot matrix colouring information is converted into the 3rd intermediate code;
The data volume of usual dot matrix colouring information is larger, then dot matrix colouring information is first converted into one 32 MD5 codes be the 3rd intermediate code.
Step S305, the 3rd intermediate code is converted to the 4th intermediate code, the position of the 4th intermediate code Digit of the number less than the 3rd intermediate code;
On the basis of step S304, the MD5 codes of 32 are converted to MD5 codes i.e. of 16 Four intermediate codes.
Step S306, positional information, current color surface name by the first image object in the file destination Claim and the 4th intermediate code storage is into first temporary file.
By positional information, current color surface title and dot matrix face of first image object in the file destination The MD5 codes of corresponding 16 of color information are stored up into the first temporary file f1.
It should be noted that step S301- steps S303 and step S304- steps S306 execution sequence It is relevant with the order that Drawing Object and image object occur in file destination, i.e. Drawing Object information and figure As object information storage to the order pel corresponding with Drawing Object and image object in the first temporary file f1 The order occurred in file destination is relevant.
Similarly, the storage method for the second linked network object information is consistent with step S301- steps S306, Here is omitted.
The embodiment of the present invention is by the way that dot matrix colouring information to be first converted to the MD5 codes of one 32, then turns The MD5 codes of one 16 are changed to, and dot matrix black and white segment information is first converted to the MD5 of one 32 Code, is reconverted into the MD5 codes of one 16, it is therefore intended that save memory space, raising subsequent point The efficiency of battle array comparison of coherence.
The dot matrix uniformity determination methods flow chart that Fig. 4 provides for another embodiment of the present invention.It is of the invention real Apply example and explain in detail the method that first yard is generated according to the first linked network object information, this method step is such as Under:
Step S401, judge whether the data length that is stored in first temporary file is less than or equal to threshold value;
Understand that grating image processor is carried out after first time parsing to file destination according to above-described embodiment, the Be stored with the one temporary file f1 colouring information of first Drawing Object, first Drawing Object exists The MD5 codes of positional information and corresponding 16 of dot matrix black and white segment information in the file destination, and Positional information, current color surface title and dot matrix colouring information of first image object in the file destination The MD5 codes of corresponding 16.
Judge whether all data lengths stored in first temporary file are less than or equal to threshold value, the threshold Max byte representation of value.
Step S402, if so, then all data stored in first temporary file are converted to described First yard;
If the length that all data are stored in the first temporary file f1 is less than or equal to max byte, Then by stored in the first temporary file f1 all data be converted to one 32 MD5 codes it is i.e. above-mentioned First yard described in embodiment.
Step S403, otherwise, is not successively read length for the threshold value and not from first temporary file The one group of data repeated, to the last the length of one group of data is less than or equal to the threshold value, by the every of reading One group of data is converted to the first interim code, and the described first interim code is sequentially stored into the second temporary file;
If the length that all data are stored in the first temporary file f1 is more than max byte, for example, The length of all data is stored in the first temporary file f1 for (3*max+10) individual byte, and 10 Less than max, then length is successively read from the first temporary file f1 for max and unduplicated one group of data, 4 groups of data are successively read out, first group of data length is max, and second group of data length is max, 3rd group of data length is max, and the 4th group of data length is 10, is now converted for each group of data For the MD5 codes of one 32, then the MD5 codes of 32 are converted to the MD5 codes of one 16, And be that the first interim code is stored into the second temporary file f11 successively by each 16 MD5 code, That is be stored with the MD5 codes of 4 16 in the second temporary file f11.The embodiment of the present invention is citing Illustrate, do not limit max length, and the length of all data is stored in the first temporary file f1.
Step S404, place corresponding with first temporary file is repeated to second temporary file Reason method, until there is target temporary file, the data length of the target temporary file is less than or equal to institute Threshold value is stated, and described first yard is converted to by all data are stored in the target temporary file.
Determination methods to the first temporary file f1 are similar to the second temporary file f11 determination methods, Specially:First judge the data length of the MD5 codes of 4 16 stored in the second temporary file f11 Whether it is max byte less than or equal to threshold value, if being less than or equal to, will be deposited in the second temporary file f11 Store up all data and be converted to first yard described in one 32 MD5 codes i.e. above-described embodiment.
If the length that all data are stored in the second temporary file f11 is more than max byte, for example, The length of all data stored in second temporary file f11 is (max+5) individual byte, and 5 be less than Max, then be successively read length for max and unduplicated one group of data from the second temporary file f11, 2 groups of data are successively read out, first group of data length is max, and second group of data length is 5, right Each group of data are now converted into the MD5 codes of one 32, then the MD5 codes of 32 are changed For the MD5 codes of one 16, and it is that the first interim code is stored successively by each 16 MD5 code Into the 3rd temporary file f12, i.e. be stored with the MD5 codes of 2 16 in the 3rd temporary file f12.
Processing method corresponding with first temporary file is repeated to the 3rd temporary file f12, directly To there is target temporary file, it is assumed that the length of all data stored in the 3rd temporary file f12 is less than Equal to max byte, then be converted to one 32 by all data stored in the 3rd temporary file f12 MD5 codes be used as i.e. first yard of final MD5 codes of one 32.Generate final one 32 MD5 codes after by the first temporary file f1, the second temporary file f11, the 3rd temporary file f12 Data are all emptied, so as to when grating image processor carries out second to file destination to be parsed, by second Second linked network object information of parsing generation is stored in the temporary file being cleared, and prevents the first linked network pair Image information and the second linked network object information aliasing in temporary file are stored.
In addition, generating the method and step S401-S404 of second code according to the second linked network object information Unanimously, here is omitted.
The embodiment of the present invention is long by data in units of max byte by judging the size of temporary file Degree is more than the data stored in the temporary file of max byte and divided, and the data after division are first The MD5 codes of one 32 are converted to, the MD5 codes of one 16 are reconverted into, by the institute after conversion The MD5 codes for having 16 are stored into new temporary file, memory space are further saved, after raising The efficiency of continuous dot matrix comparison of coherence.
Fig. 5 is the structure chart of dot matrix match judging apparatus provided in an embodiment of the present invention.The present invention is implemented The dot matrix match judging apparatus that example is provided can perform the place of dot matrix uniformity determination methods embodiment offer Flow is managed, as shown in figure 5, dot matrix match judging apparatus 50 includes acquisition module 51, generation module 52 and multilevel iudge module 53, wherein, acquisition module 51 is used to obtain grating image processor to target File carries out the first linked network object information of parsing generation for the first time;Obtain the grating image processor pair The file destination carries out the second linked network object information of second of parsing generation;Generation module 52 be used for according to First yard is generated according to the first linked network object information;According to the second linked network object information generation second Code;Multilevel iudge module 53 is used to compare described first yard and the second code, judges the grating image Whether the dot matrix that processor handles the file destination generation twice is consistent.
The embodiment of the present invention carries out parsing twice to same file destination by grating image processor and generated First linked network object information and the second linked network object information, are converted to by the first linked network object information respectively One yard, the second linked network object information is converted into second code, grid are judged by comparing first yard and second code Whether the dot matrix that table images processor handles same file destination generation twice is consistent, realizes same Pdf document generates the uniformity determination methods of dot matrix after grating image processor is handled twice.
The structure chart for the dot matrix match judging apparatus that Fig. 6 provides for another embodiment of the present invention.Above-mentioned On the basis of embodiment, the first linked network object information includes the first Drawing Object information and the first image Object information, it is the colouring information of the first Drawing Object information including first Drawing Object, described Positional information and dot matrix black and white segment information of first Drawing Object in the file destination, first figure As object information includes described first image object positional information, current color surface in the file destination Title and dot matrix colouring information.
Dot matrix match judging apparatus 50 also includes modular converter 54 and memory module 55, wherein, conversion Module 54 is used to the dot matrix black and white segment information being converted to the first intermediate code;First intermediate code is turned The second intermediate code is changed to, the digit of second intermediate code is less than the digit of first intermediate code;By institute State dot matrix colouring information and be converted to the 3rd intermediate code;3rd intermediate code is converted into the 4th intermediate code, The digit of 4th intermediate code is less than the digit of the 3rd intermediate code;Memory module 55 is used for will be described The positional information of the colouring information of first Drawing Object, first Drawing Object in the file destination With second intermediate code storage to the first temporary file;By the first image object in the file destination Positional information, current color surface title and the 4th intermediate code stored into first temporary file.
Whether generation module 52 is small specifically for the data length for judging to store in first temporary file In equal to threshold value;If so, all data stored in first temporary file then are converted into described One yard;Otherwise, length is successively read from first temporary file for the threshold value and unduplicated one Group data, to the last the length of one group of data is less than or equal to the threshold value, by each group of data of reading The first interim code is converted to, and the described first interim code is sequentially stored into the second temporary file;To described Two temporary files repeat processing method corresponding with first temporary file, face until there is target When file, the data length of the target temporary file is less than or equal to the threshold value.
Whether multilevel iudge module 53 is identical specifically for relatively more described first yard and the second code;If phase Together, then judge that the dot matrix that the grating image processor handles generation twice to the file destination is consistent; If differing, judge that the grating image processor handles the file destination dot matrix of generation twice It is inconsistent.
Dot matrix match judging apparatus provided in an embodiment of the present invention can be specifically for performing above-mentioned Fig. 1 institutes The embodiment of the method for offer, here is omitted for concrete function.
The embodiment of the present invention is by the way that dot matrix colouring information to be first converted to the MD5 codes of one 32, then turns The MD5 codes of one 16 are changed to, and dot matrix black and white segment information is first converted to the MD5 of one 32 Code, is reconverted into the MD5 codes of one 16, it is therefore intended that save memory space, raising subsequent point The efficiency of battle array comparison of coherence;By judging the size of temporary file, by number in units of max byte It is more than the data stored in the temporary file of max byte according to length to be divided, and by the number after division According to the MD5 codes for being first converted to one 32, the MD5 codes of one 16 are reconverted into, after conversion The MD5 codes of all 16 store into new temporary file, further save memory space, carry The efficiency of high follow-up dot matrix comparison of coherence.
In summary, the embodiment of the present invention carries out two by grating image processor to same file destination Secondary parsing the first linked network object information of generation and the second linked network object information, respectively believe the first linked network object Breath is converted to first yard, and the second linked network object information is converted into second code, by comparing first yard and theOneTwo yards judge grating image processor same file destination is handled twice generation dot matrix whether one Cause, realize the uniformity that same pdf document generates dot matrix after grating image processor is handled twice Determination methods;By the way that dot matrix colouring information to be first converted to the MD5 codes of one 32, one is reconverted into The MD5 codes of individual 16, and dot matrix black and white segment information is first converted to the MD5 codes of one 32, It is reconverted into the MD5 codes of one 16, it is therefore intended that save memory space, improves follow-up dot matrix one The efficiency that cause property compares;It is in units of max byte that data are long by judging the size of temporary file Degree is more than the data stored in the temporary file of max byte and divided, and the data after division are first The MD5 codes of one 32 are converted to, the MD5 codes of one 16 are reconverted into, by the institute after conversion The MD5 codes for having 16 are stored into new temporary file, memory space are further saved, after raising The efficiency of continuous dot matrix comparison of coherence.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, It can realize by another way.For example, device embodiment described above is only schematical, For example, the division of the unit, only a kind of division of logic function, can have in addition when actually realizing Dividing mode, such as multiple units or component can combine or be desirably integrated into another system, or Some features can be ignored, or not perform.It is another, shown or discussed coupling each other or Direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, make It can be for the part that unit is shown or may not be physical location, you can with positioned at a place, Or can also be distributed on multiple NEs.Can select according to the actual needs part therein or Person's whole units realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, Can also be that unit is individually physically present, can also two or more units be integrated in a list In member.Above-mentioned integrated unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds software The form of functional unit is realized.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in a computer In read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, including some fingers Order is to cause a computer equipment (can be personal computer, server, or network equipment etc.) Or processor (processor) performs the part steps of each embodiment methods described of the invention.And it is foregoing Storage medium include:USB flash disk, mobile hard disk, read-only storage (Read-Only Memory, ROM), Random access memory (Random Access Memory, RAM), magnetic disc or CD etc. are various can be with The medium of store program codes.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each The division progress of functional module is for example, in practical application, as needed can divide above-mentioned functions With by different functional module completions, i.e., the internal structure of device is divided into different functional modules, with Complete all or part of function described above.The specific work process of the device of foregoing description, can be with With reference to the corresponding process in preceding method embodiment, it will not be repeated here.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than right It is limited;Although the present invention is described in detail with reference to foregoing embodiments, this area it is common Technical staff should be understood:It can still modify to the technical scheme described in foregoing embodiments, Or equivalent substitution is carried out to which part or all technical characteristic;And these modifications or replacement, and The essence of appropriate technical solution is not set to depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a kind of dot matrix uniformity determination methods, it is characterised in that including:
Grating image processor is obtained to believe the first linked network object of file destination progress parsing generation for the first time Breath;
First yard is generated according to the first linked network object information;
Obtain the second extension that the grating image processor carries out second of parsing generation to the file destination Net object information;
Second code is generated according to the second linked network object information;
Compare described first yard and the second code, judge the grating image processor to target text Whether the dot matrix that part handles generation twice is consistent.
2. according to the method described in claim 1, it is characterised in that the first linked network object information bag The first Drawing Object information and the first image object information are included, the first Drawing Object information includes described The positional information of the colouring information of first Drawing Object, first Drawing Object in the file destination With dot matrix black and white segment information, described first image object information includes described first image object in the mesh Mark positional information, current color surface title and the dot matrix colouring information in file.
3. method according to claim 2, it is characterised in that the acquisition grating image processor After the first linked network object information that parsing generation for the first time is carried out to file destination, in addition to:
The dot matrix black and white segment information is converted into the first intermediate code;
First intermediate code is converted into the second intermediate code, the digit of second intermediate code is less than described The digit of first intermediate code;
By the colouring information of first Drawing Object, first Drawing Object in the file destination Positional information and second intermediate code storage to the first temporary file;
The dot matrix colouring information is converted into the 3rd intermediate code;
3rd intermediate code is converted into the 4th intermediate code, the digit of the 4th intermediate code is less than described The digit of 3rd intermediate code;
By positional information, current color surface title and described of first image object in the file destination Four intermediate codes are stored into first temporary file.
4. method according to claim 3, it is characterised in that described according to first linked network pair First yard of image information generation, including:
Judge whether the data length stored in first temporary file is less than or equal to threshold value;
If so, all data stored in first temporary file then are converted into described first yard;
Otherwise, it is the threshold value and unduplicated one group that length is successively read from first temporary file Data, to the last the length of one group of data is less than or equal to the threshold value, by each group of data of reading turn The first interim code is changed to, and the described first interim code is sequentially stored into the second temporary file;
Processing method corresponding with first temporary file is repeated to second temporary file, directly To there is target temporary file, the data length of the target temporary file is less than or equal to the threshold value.
5. the method according to claim any one of 1-4, it is characterised in that the comparison described One yard and the second code, judge that the grating image processor handles generation twice to the file destination Dot matrix it is whether consistent, including:
Compare described first yard and whether the second code is identical;
If identical, judge that the grating image processor handles the file destination point of generation twice Battle array is consistent;
If differing, judge that the grating image processor handles generation twice to the file destination Dot matrix is inconsistent.
6. a kind of dot matrix match judging apparatus, it is characterised in that including:
Acquisition module, parsing generation for the first time is carried out to file destination for obtaining grating image processor First linked network object information;Obtain the grating image processor and second of solution is carried out to the file destination Analyse the second linked network object information of generation;
Generation module, for generating first yard according to the first linked network object information;According to described second Linked network object information generates second code;
Multilevel iudge module, for comparing described first yard and the second code, judges the grating image Whether the dot matrix that processor handles the file destination generation twice is consistent.
7. dot matrix match judging apparatus according to claim 6, it is characterised in that described first Linked network object information includes the first Drawing Object information and the first image object information, first figure pair Image information includes the colouring information of first Drawing Object, first Drawing Object in target text Positional information and dot matrix black and white segment information in part, described first image object information include first figure As positional information, current color surface title and dot matrix colouring information of the object in the file destination.
8. dot matrix match judging apparatus according to claim 7, it is characterised in that also include:
Modular converter, for the dot matrix black and white segment information to be converted into the first intermediate code;By described first Intermediate code is converted to the second intermediate code, and the digit of second intermediate code is less than the position of first intermediate code Number;The dot matrix colouring information is converted into the 3rd intermediate code;3rd intermediate code is converted to the 4th Intermediate code, the digit of the 4th intermediate code is less than the digit of the 3rd intermediate code;
Memory module, for the colouring information of first Drawing Object, first Drawing Object to be existed Positional information and second intermediate code in the file destination are stored to the first temporary file;By first Positional information, current color surface title and fourth intermediate code of the image object in the file destination are deposited Store up in first temporary file.
9. dot matrix match judging apparatus according to claim 8, it is characterised in that the generation Whether module is less than or equal to threshold value specifically for the data length for judging to store in first temporary file; If so, all data stored in first temporary file then are converted into described first yard;Otherwise, Length is successively read from first temporary file for the threshold value and unduplicated one group of data, until The length of last group of data is less than or equal to the threshold value, and each group of data of reading are converted into first and faced Time-code, and the described first interim code is sequentially stored into the second temporary file;To the second temporary file weight Processing method corresponding with first temporary file is performed again, it is described until there is target temporary file The data length of target temporary file is less than or equal to the threshold value.
10. the dot matrix match judging apparatus according to claim any one of 6-9, it is characterised in that Whether the multilevel iudge module is identical specifically for relatively more described first yard and the second code;If identical, Then judge that the dot matrix that the grating image processor handles generation twice to the file destination is consistent;If no It is identical, then judge that the dot matrix that the grating image processor handles generation twice to the file destination differs Cause.
CN201610154523.0A 2016-03-17 2016-03-17 Dot matrix consistency judgment method and device Active CN107203499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610154523.0A CN107203499B (en) 2016-03-17 2016-03-17 Dot matrix consistency judgment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610154523.0A CN107203499B (en) 2016-03-17 2016-03-17 Dot matrix consistency judgment method and device

Publications (2)

Publication Number Publication Date
CN107203499A true CN107203499A (en) 2017-09-26
CN107203499B CN107203499B (en) 2019-10-15

Family

ID=59904149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610154523.0A Active CN107203499B (en) 2016-03-17 2016-03-17 Dot matrix consistency judgment method and device

Country Status (1)

Country Link
CN (1) CN107203499B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936823A (en) * 2006-09-21 2007-03-28 北京北大方正电子有限公司 Method for generating large plate lattice data and large plate lattice data senerating apparatus
CN102096565A (en) * 2009-12-11 2011-06-15 北大方正集团有限公司 Method and device for checking page dot matrix
CN104765722A (en) * 2014-01-08 2015-07-08 北大方正集团有限公司 Parameter configuration method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936823A (en) * 2006-09-21 2007-03-28 北京北大方正电子有限公司 Method for generating large plate lattice data and large plate lattice data senerating apparatus
CN102096565A (en) * 2009-12-11 2011-06-15 北大方正集团有限公司 Method and device for checking page dot matrix
CN104765722A (en) * 2014-01-08 2015-07-08 北大方正集团有限公司 Parameter configuration method and device

Also Published As

Publication number Publication date
CN107203499B (en) 2019-10-15

Similar Documents

Publication Publication Date Title
CN109634932B (en) Intelligent contract storage method and storage system
CN107807982B (en) Consistency checking method and device for heterogeneous database
CN107977346B (en) PDF document editing method and terminal equipment
JP7461344B2 (en) Convolution processing method, device, and storage medium for convolutional neural network
CN108985066A (en) Intelligent contract security vulnerability detection method, device, terminal and storage medium
CN102708183B (en) Method and device for data compression
CN101772043B (en) Office data checking method and device
CN102929646B (en) Application program generation method and device
CN111143446A (en) Data structure conversion processing method and device of data object and electronic equipment
CN106598922A (en) Character string conversion method and system
CN108460056A (en) Method for converting effective graphic elements of DXF file into JSON data
CN109450731A (en) A kind of test data generating method of application layer communication protocol
CN106168995A (en) It is applied to the figure of spacecraft, table conversion method and converting system
CN105446952A (en) Method and system for processing semantic fragments
US10142415B2 (en) Data migration
CN113192201B (en) Data fitting method, device and medium of point cloud data
CN110688055B (en) Data access method and system in large graph calculation
CN109857806A (en) The synchronization verification method and device of database table
CN113419719A (en) Interface case generation method and system based on business scene
CN107203499A (en) Dot matrix uniformity determination methods and device
US20170124027A1 (en) Method and system for generating an embedding pattern used for solving a quadratic binary optimization problem
CN111339042A (en) Data operation processing method and system and scheduling server
CN110196952A (en) Search processing method, device, equipment and the storage medium of program code
US4527239A (en) Digital data storage methods and apparatus
Lin et al. The reliability analysis of distributed computing systems with imperfect nodes

Legal Events

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

Effective date of registration: 20220617

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: Beijing Beida Founder Electronics Co., Ltd.

Address before: 100871, Beijing, Haidian District, Cheng Fu Road, No. 298, Zhongguancun Fangzheng building, 9 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: Beijing Beida Founder Electronics Co., Ltd.

TR01 Transfer of patent right