CN108665038A - File output method with code sign and device - Google Patents

File output method with code sign and device Download PDF

Info

Publication number
CN108665038A
CN108665038A CN201710215040.1A CN201710215040A CN108665038A CN 108665038 A CN108665038 A CN 108665038A CN 201710215040 A CN201710215040 A CN 201710215040A CN 108665038 A CN108665038 A CN 108665038A
Authority
CN
China
Prior art keywords
code sign
point
resolution
output
reference point
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.)
Pending
Application number
CN201710215040.1A
Other languages
Chinese (zh)
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 TSTUDY TECHNOLOGY Co.,Ltd.
Original Assignee
田雪松
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 田雪松 filed Critical 田雪松
Priority to CN201710215040.1A priority Critical patent/CN108665038A/en
Publication of CN108665038A publication Critical patent/CN108665038A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06046Constructional details

Abstract

The present embodiments relate to a kind of file output method and device with code sign, the method includes:Output equipment obtains the output data for indicating code sign, wherein code sign includes the mark point for having given position relative to reference point;Obtain the point resolution of output equipment;Determine that the resolution grid of substrate, resolution grid have the point receiving unit that two-dimensional array indicates according to point resolution;The mark point of code sign is applied in resolution grid;The reference point of code sign is arranged in a receiving unit;Output equipment receives readable information layer data, and output data and the corresponding feature of readable information layer data are carried out spatial match and generate matched data;Output equipment receives page coded description, and matched data is incorporated in page coded description and is exported.

Description

File output method with code sign and device
Technical field
The present invention relates to technical field of information processing more particularly to a kind of file output methods and dress with code sign It sets.
Background technology
With the rapid development of information technology, people are increasingly commonly produced, are handled, exchanged and propagated using computer Various forms of information.Information technology gradually changes the traditional living habit of people.Traditional utilizes paper and pen into running hand The mode write can not carry out information process-, therefore cannot be satisfied the needs of people.
In the prior art, certain type of information is embedded in such as paper page, board or equivalent using coding pattern Passive base in.It can read, rebuild and use using the scanner of programming, facsimile machine, camera or digital pen and is local The information being embedded into substrate.This embedding information may include for graphical information, order, supplemental text or image, hyperlink It connects, the file data of absolute position etc. completely or partially rebuild.Coding pattern is generally created some form of machine readable Around code sign, these code signs regularly separate in substrate.In many cases, it can for example be printed using biasing The substrate with coding pattern on a large scale and is accurately generated in graphics industry.However, some occasions needs are relatively small The substrate with coding pattern is created to scale, can be come using the personal computer for being connected to ink-jet or laser digital printer It executes.
However, the ordinary numbers printer resolution that ordinary user uses is relatively low, therefore, to coding on digital printer This coding pattern run-of-the-mill generated on demand of substrate is poor, can not accurately reproduce the details that coding pattern carries information.
Invention content
The object of the present invention is to provide a kind of file output methods with code sign, to solve low point in the prior art Resolution output equipment can not export the problem of high-precision file with code sign.
To achieve the above object, on the one hand, described the present invention provides a kind of file output method with code sign Method includes:
Output equipment obtains the output data for indicating code sign, wherein the code sign includes relative to reference point Mark point with given position;
Determine that the resolution grid of substrate, the resolution grid have two dimension according to the point resolution of the output equipment The point receiving unit that array indicates;
The mark point of the code sign is applied in the resolution grid;
The reference point of the code sign is arranged in described receiving unit;
Receive readable information layer data, and by the output data and the corresponding feature of readable information layer data into Row spatial match generates matched data;
Page coded description is received, the matched data is incorporated in the page coded description and is exported.
Further, the reference point by the code sign is arranged in described receiving unit and specifically includes:
The reference point of the code sign is arranged in the geometric center of described receiving unit.
Further, the reference point and the mark point line are parallel to the grid line biasing of the resolution grid.
Further, the given position is specially position of the geometric center of the mark point relative to the reference point It moves.
Further, the resolution ratio is specially the rated full dot resolution of the output equipment.
Further, the output equipment is specially digital printer.
Further, the method further includes:
On the other hand, the present invention proposes a kind of file outputting mean with code sign, and described device includes:
Acquiring unit, for obtaining the output data for indicating code sign, the code sign includes relative to reference point Mark point with given position;
Determination unit, the resolution grid for determining substrate according to the point resolution of the output equipment, the resolution Rate grid has the point receiving unit that two-dimensional array indicates;
First processing units, for the mark point of the code sign to be applied in the resolution grid;
Second processing unit, for the reference point of the code sign to be arranged in described receiving unit;
Third processing unit, for receiving readable information layer data, and by the output data and the readable information layer The corresponding feature of data carries out spatial match and generates matched data;
The matched data is incorporated in the page coded description and carries out for receiving page coded description by output unit Output.
The output device exports additional code symbol, the reference point of the additional code symbol and institute on the substrate The described receiving unit of spacing and integer stated between the reference point of code sign matches.
File output method and device provided in an embodiment of the present invention with code sign, according to the resolution of output equipment Rate configures output equipment, and the mark point of code sign is applied in resolution grid, by the reference point of code sign Be arranged in the point receiving unit of resolution grid, obtain coded data, receive readable information layer data, and by coded data and The corresponding feature of readable information layer data exports after carrying out spatial match, so as to realize that low resolution output equipment exports The high-precision file with code sign.
Description of the drawings
Fig. 1 is the flow chart of the file output method provided in an embodiment of the present invention with code sign;
Fig. 2 is the enlarged diagram of the resolution grid and code symbol areas of nominal coding pattern;
Fig. 3 is the view after points of the Fig. 2 in re-scaling, arrangement reference point and application resolution grid;
Fig. 4 is the schematic diagram of the file outputting mean provided in an embodiment of the present invention with code sign.
Specific implementation mode
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Output equipment in technical solution of the present invention is specifically as follows digital printer with processing function etc. can be with Computer is attached the equipment communicated and with output function.
Fig. 1 is the flow chart of the file output method provided in an embodiment of the present invention with code sign.As shown in Figure 1, The file output method with code sign of the embodiment of the present invention includes:
Step 201, output equipment obtains the output data for indicating code sign.
Specifically, indicating that the output data of code sign is coding layer data.Code sign includes having relative to reference point There is the mark point of given position.Given position is displacement of the geometric center of mark point relative to reference point.It is set from computer etc. Coding layer data is retrieved in standby associated memory.Memory can be located at the internal or external of computer.Coding layer data It can be supplied to computer with the format generated in advance, or generated on demand by computer.Coding layer data includes code sign Value of symbol or its export thereof, the mutual spatial order of these symbols it is constant.
Step 202, the resolution grid of substrate is determined according to the point resolution of the output equipment.
Wherein, the point resolution of output equipment can be rated full dot resolution or the computer user's choosing of output equipment The arbitrary Sub-reso selected.Resolution grid has the point receiving unit that two-dimensional array indicates.
Specifically, obtaining the parameter value of coding layer data, these parameter values include:Code sign offset, code sign are big Small, grid spacing.The resolution ratio of output equipment can be expressed as the two-dimensional grid of non-overlapping dot cells.Calculate zoom factor, profit With zoom factor by grid spacing adaptation at resolution grid.Zoom factor makes grid spacing be equal to integer dot element Collective dot cell dimension, and the deviation of resolution grid is minimum.Zoom factor can be different between vertically and horizontally. This scaling purpose is to inhibit Moire fringe effect, is improved by the consistency in printing coding pattern.
Step 203, the mark point of the code sign is applied in the resolution grid.
In fig. 2, the code symbol areas 40 of above-mentioned coding pattern is covered in the resolution grid 42 of printer.Code Symbol area 40 is designed to one code sign of each holding and is tiled with non-overlap mode to form coding pattern.Therefore, The length of side in region 40 is equal to nominal grid spacing.Code symbol areas 40 and resolution grid 42 are only visually to be on the diagram Do not illustrate to exist between code symbol areas (300 μm × 300 μm of size) and dot element (42.3 μm of 42.3 μ m of size) not Match.The mismatch can be multiplied by 0.98778 zoom factor ɑ to correct by nominal grid spacing (300 μm), obtain actual Grid spacing is 296 μm.
Step 204, the reference point of the code sign is arranged in described receiving unit.
According to the shift value of the resolution value calculating reference point obtained in step 202.For example, shift value can indicate upward Shift the half of the half and right shift dot cell dimension of dot cell dimension.Reference point is arranged according to the shift value of reference point In the geometric center of receiving unit.Reference point and mark point line are parallel to the grid line biasing of resolution grid.
Fig. 3 illustrates the use that code sign time shift place value is generated in order printer.For illustrative purposes, reference point 46 It is visualized on the diagram, although it does not need to be visual on the medium printed.As shown in figure 3, reference point is not acquiescently It is placed on the lower left corner of relevant dot cell, but is displaced to and (is displaced 21.15 μm) virtual center point of dot element.Then it prints Machine is generated according to the instruction of page coded description at the offset or dish from the reference point 49.39 μm (ɑ × 50 μm) after such displacement One radius is the circular mark of 29.63 μm (ɑ × 30 μm).Printer by filling a point as closely as possible from setting biasing Unit forms code sign, generates the practical biasing (42.3 μm) of a dot element.As described above, by the reality of printing mark Appearance and size depend on printing technique.
It has been experienced that make reference point leave dot element edge can cause gained mark shape and mark centers relative to The stability of reference point locations significantly improves.At present, it is believed that by make reference point substantially with certain dot element center is consistent can To obtain optimal result.
Step 305, readable information layer data is received, and the output data and the readable information layer data is corresponding Feature carry out spatial match generate matched data.
Specifically, receiving readable information layer data, the page that readable information layer is generated according to readable information layer data describes generation Code, includes the instruction suitably by above-mentioned zoom factor re-scaling readable information layer.However, readable information layer can be derived from One does not allow the file format of this re-scaling, such as is designed to the PDF of reserving document graphical appearance.Obviously, if compiled One in code and Information Level changes size and another does not change size, then is not had between coding and Information Level not Match.If the reading device operated on by print media keeps predefined function associated with the set of locations encoded by coding layer, and And if these groups in Information Level graphically, which may cause problem.
Step 306, page coded description is received, the matched data is incorporated in the page coded description and is exported.
Page coded description is generated according to coding layer data, coding layer data includes:The digital representation of coding pattern, code pattern Parameter value, zoom factor and the shift value of case.By the way that in the position of code symbol areas internal shift reference point, shift value can be simultaneously Enter into the definition of each code sign, or makees the integral shift of user coordinate system.The page coded description of coding layer can be made It is generated for one group of function or routine call, each code sign uses a calling.As an alternative solution, the page of coding layer is retouched Stating can be used as one group of character to generate, the code sign of the given space layout of unique one group of each character representation.It is each this Character can be associated with being sent to or being pre-stored in font defi-nition in printer.The page coded description of coding layer can be with It is generated based on image definition, which reflects one or more basic Serial No.s of coding pattern.
In addition, output device exports additional code symbol, the reference point and code sign of additional code symbol in substrate Reference point between spacing and integer a receiving unit match.
It, can be by the way that code sign be added in other non-coded periphery, and by coding layer as additional measurement It is extended to so that being exactly matched with Information Level.If coding pattern be designed to by it is one-dimensional or it is two-dimentional position is encoded, by The code sign of addition can a pair position adjacent with the position that includes initially encode.
The page coded description of coding layer and the page coded description of Information Level can describe to combine in file in final page, and It is exported in substrate.
It will be noted that above each sequence of steps can overturn, can also modify as needed.For example, contracting again Strideing suddenly can operate grid spacing, and mark size and/or mark offset remain unaffected.In some embodiments, It can be omitted re-scaling step.Shift value can be retrieved from defining in file, rather than the resolution ratio based on printer calculates.
The generation of page coded description can execute under control of a computer program, which can be embodied in record medium On, it preserves in computer storage, is embodied in read-only memory or is carried in electric carrier signal.
In another embodiment, the work of printer need not be described the control of the programming instruction in file by page.Take and Instead of, printer has dedicated pattern generation module, it generates code pattern by software and or hardware realization Case.Once receiving the request printed out to coding pattern, which can retrieve the digital representation of coding pattern, also may be used To retrieve the parameter value and shift value of printer resolution, coding pattern.The module can also realize coding pattern again Scaling.Finally, which generates the printable image based on digital representation.Request to printout may include digital table Show, example value of symbol as described above is form.As an alternative solution, request can only include instruction to be encoded in substrate it is absolute The information on the boundary of position, is based on the information, and module can be derived by relevant digital representation.
In addition, output device exports additional code symbol on the substrate, the reference point of the additional code symbol with Described receiving unit of spacing and integer between the reference point of the code sign matches.
File output method provided in an embodiment of the present invention with code sign, according to the resolution ratio of output equipment to defeated Go out equipment to be configured, the mark point of code sign is applied in resolution grid, the reference point of code sign is arranged in In the point receiving unit of resolution grid, coded data is obtained, receive readable information layer data, and by coded data and readable letter The corresponding feature of breath layer data exports after carrying out spatial match, so as to realize low resolution output equipment output high-precision The file with code sign.
Fig. 4 is the schematic diagram of the file outputting mean provided in an embodiment of the present invention with code sign.As shown, institute Stating device includes:Acquiring unit 1, determination unit 2, first processing units 3, second processing unit 4, third processing unit 5 and defeated Go out unit 6.
Acquiring unit 1, for obtaining the output data for indicating code sign, the code sign includes relative to reference point Mark point with given position;
Determination unit 2, the resolution grid for determining substrate according to the point resolution of the output equipment, the resolution Rate grid has the point receiving unit that two-dimensional array indicates;
First processing units 3, for the mark point of the code sign to be applied in the resolution grid;
Second processing unit 4, for the reference point of the code sign to be arranged in described receiving unit;
Third processing unit 5, for receiving readable information layer data, and by the output data and the readable information layer The corresponding feature of data carries out spatial match and generates matched data;
The matched data is incorporated in the page coded description and carries out for receiving page coded description by output unit 6 Output.
The specific work process of each unit of the file outputting mean provided in this embodiment with code sign is It is described in detail in above method embodiment, details are not described herein again.
File outputting mean provided in an embodiment of the present invention with code sign, according to the resolution ratio of output equipment to defeated Go out equipment to be configured, the mark point of code sign is applied in resolution grid, the reference point of code sign is arranged in In the point receiving unit of resolution grid, coded data is obtained, receive readable information layer data, and by coded data and readable letter The corresponding feature of breath layer data exports after carrying out spatial match, so as to realize low resolution output equipment output high-precision The file with code sign.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description. These functions are implemented in hardware or software actually, depend on the specific application and design constraint of technical solution. Professional technician can use different methods to achieve the described function each specific application, but this realization It should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can use hardware, processor to execute The combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage medium well known to interior.
Above-described specific implementation mode has carried out further the purpose of the present invention, technical solution and advantageous effect It is described in detail, it should be understood that the foregoing is merely the specific implementation mode of the present invention, is not intended to limit the present invention Protection domain, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include Within protection scope of the present invention.

Claims (8)

1. a kind of file output method with code sign, which is characterized in that the method includes:
Output equipment obtains the output data for indicating code sign, wherein the code sign includes having relative to reference point The mark point of given position;
Determine that the resolution grid of substrate, the resolution grid have two-dimensional array according to the point resolution of the output equipment The point receiving unit of expression;
The mark point of the code sign is applied in the resolution grid;
The reference point of the code sign is arranged in described receiving unit;
Readable information layer data is received, and the output data and the corresponding feature of the readable information layer data are subjected to sky Between matching generate matched data;
Page coded description is received, the matched data is incorporated in the page coded description and is exported.
2. the file output method according to claim 1 with code sign, which is characterized in that described by the code The reference point of symbol is arranged in described receiving unit and specifically includes:
The reference point of the code sign is arranged in the geometric center of described receiving unit.
3. the file output method according to claim 1 with code sign, which is characterized in that the reference point and institute State the grid line biasing that mark point line is parallel to the resolution grid.
4. the file output method according to claim 1 with code sign, which is characterized in that the given position tool Body is displacement of the geometric center of the mark point relative to the reference point.
5. the file output method according to claim 1 with code sign, which is characterized in that the resolution ratio is specific For the rated full dot resolution of the output equipment.
6. the file output method according to claim 1 with code sign, which is characterized in that the output equipment tool Body is digital printer.
7. the file output method according to claim 1 with code sign, which is characterized in that the method is also wrapped It includes:
The output device exports additional code symbol, the reference point of the additional code symbol and the generation on the substrate Described receiving unit of spacing and integer between the reference point of code sign matches.
8. a kind of file outputting mean with code sign, which is characterized in that described device includes:
Acquiring unit, for obtaining the output data for indicating code sign, the code sign includes having relative to reference point The mark point of given position;
Determination unit, the resolution grid for determining substrate according to the point resolution of the output equipment, the resolution ratio lattice Grid have the point receiving unit that two-dimensional array indicates;
First processing units, for the mark point of the code sign to be applied in the resolution grid;
Second processing unit, for the reference point of the code sign to be arranged in described receiving unit;
Third processing unit, for receiving readable information layer data, and by the output data and the readable information layer data Corresponding feature carries out spatial match and generates matched data;
The matched data is incorporated in the page coded description and exports for receiving page coded description by output unit.
CN201710215040.1A 2017-04-02 2017-04-02 File output method with code sign and device Pending CN108665038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710215040.1A CN108665038A (en) 2017-04-02 2017-04-02 File output method with code sign and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710215040.1A CN108665038A (en) 2017-04-02 2017-04-02 File output method with code sign and device

Publications (1)

Publication Number Publication Date
CN108665038A true CN108665038A (en) 2018-10-16

Family

ID=63784866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710215040.1A Pending CN108665038A (en) 2017-04-02 2017-04-02 File output method with code sign and device

Country Status (1)

Country Link
CN (1) CN108665038A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6641053B1 (en) * 2002-10-16 2003-11-04 Xerox Corp. Foreground/background document processing with dataglyphs
US20060133877A1 (en) * 2003-06-13 2006-06-22 Stefan Lynggaard On-demand printing of coding patterns
CN1926506A (en) * 2004-02-13 2007-03-07 阿诺托股份公司 On-demand printing of coding patterns

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6641053B1 (en) * 2002-10-16 2003-11-04 Xerox Corp. Foreground/background document processing with dataglyphs
US20060133877A1 (en) * 2003-06-13 2006-06-22 Stefan Lynggaard On-demand printing of coding patterns
CN1926506A (en) * 2004-02-13 2007-03-07 阿诺托股份公司 On-demand printing of coding patterns

Similar Documents

Publication Publication Date Title
US9400910B2 (en) Method and apparatus for storing and retrieving data embedded into the surface of a 3D printed object
JP6614995B2 (en) Method and system for generating and printing a three-dimensional barcode
US7664312B2 (en) Information input and output method using dot pattern
CN106104564A (en) Decoder and encoder for digital finger-print code
SK10072003A3 (en) Data channel of the background on paper carrier or other carrier
CN1926506B (en) On-demand printing method, arrangement and equipment for coding patterns
CN103605974A (en) A coordinate positioning method based on two dimensional codes and a multimedia and handwriting data acquisition method
JP2007529141A (en) On-demand printing of coding patterns
CN108664862A (en) Position encoded file output system
JP5094869B2 (en) How to print the coding pattern
JP2007048217A (en) Handwritten information input device
US7987494B1 (en) Method and apparatus providing end to end protection for a document
JP4752565B2 (en) Electronic pen form manufacturing method
JP2007219779A (en) Two-dimensional code generation system and two-dimensional code generation program
CN108665038A (en) File output method with code sign and device
JP6171676B2 (en) Input device
JP2006309354A (en) Digital pen input system
JP2009118293A (en) Method of displaying electronic watermark pattern, and information holder
CN108664964A (en) File output method with coding pattern
JP2007264715A (en) Electronic pen form sheet production system, server, program and specification method
US8100338B2 (en) Data encoding pattern
JP4821616B2 (en) Information embedding device, embedded information acquisition device
US20100315660A1 (en) Printing of position-coded documents
JP5929403B2 (en) Image forming apparatus, image processing apparatus, and program
JP4811228B2 (en) Processing apparatus and program

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
TA01 Transfer of patent application right

Effective date of registration: 20200805

Address after: No.1108, 11th floor, Gaode building, No.10 Huayuan East Road, Haidian District, Beijing 100083

Applicant after: BEIJING TSTUDY TECHNOLOGY Co.,Ltd.

Address before: 100098, No. 2, building 18, North Third Ring Road, Haidian District, Beijing, 803-3

Applicant before: Tian Xuesong

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181016