CN101430715A - Data memory method and apparatus after type-setting - Google Patents
Data memory method and apparatus after type-setting Download PDFInfo
- Publication number
- CN101430715A CN101430715A CNA2008102393758A CN200810239375A CN101430715A CN 101430715 A CN101430715 A CN 101430715A CN A2008102393758 A CNA2008102393758 A CN A2008102393758A CN 200810239375 A CN200810239375 A CN 200810239375A CN 101430715 A CN101430715 A CN 101430715A
- Authority
- CN
- China
- Prior art keywords
- type
- composing
- pattern
- variable data
- composing pattern
- 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
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
Abstract
The invention discloses a method for storing type-set data and a device thereof, and relates to the field of computer type-setting before printing. When a type-setting result before printing is stored, the method and the device can remarkably reduce occupied disk space, and greatly improve the utilization ratio of the disk space. The method for storing type-set data provided by the embodiment of the invention comprises the following steps: acquiring a type-setting pattern of each type in the type-setting result before printing; storing a copy of the type-setting pattern of each type, and storing all variable data contents having corresponding relations with the type-setting pattern.
Description
Technical field
The present invention relates to pre-printing computer typesetting field, relate in particular to a kind of storage means and device of the back data of setting type.
Background technology
Along with the development of digital printing technology, a personal printing that plays seal, a Zhang Butong becomes a reality, and has obtained increasingly extensive popularizing.
In Variable Data Printing, what the process that front end is made adopted usually is the mode that robotization is set type, by the composing pattern is defined as template, variable data content to be set type and template are bound, and then printed by set type merging, automatic typesetting and the output of pattern and variable data of typesetting engine.Because the high efficiency of Variable Data Printing has obtained using widely.
Usually in actual applications, the data content that carries out Variable Data Printing often has certain similarity, has certain rules and can follow.Yet, wherein often also can there be many nonstandard data owing to need treat that the typographical printing data volume is huge or according to customer personalized requirement.For these nonstandard data, after robotization was set type, the result that need set type to robotization in making software adjusted, and prints again.Therefore, the storage to result before printing is necessary.
In existing technology, be that the file content after setting type is directly stored to composing result's storage means.Owing to all comprised composing pattern and corresponding variable data content in the file content after each part composing, therefore had a large amount of composing style informations that repeat in the file after the composing of storage.Because variable printed printing usually is not a spot of, thousands of often or even magnanimity, the storage means of this back data of setting type of prior art, the disk space that takies is excessive, greatly reduces the utilization factor of disk space.
Summary of the invention
In order to solve problems of the prior art, embodiments of the invention provide a kind of storage means and device of the back data of setting type, and composing can significantly reduce the disk space that takies as a result the time before memory print, significantly improves the utilization factor of disk space.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of storage means of the back data of setting type, this method comprises:
Obtain the composing pattern of each type in the result before printing;
With the composing styles store portion of described each type, storage and described composing pattern have all variable data contents of corresponding relation.
Further, in the time of need not editing the file content after the robotization composing, robotization is set type preceding composing pattern as the composing pattern in the described result before printing.
When the composing pattern in the file content after at least two parts of robotizations composings has been carried out the editor of same way as, with described edited composing pattern, separate the file content after its corresponding robotization is set type, as the composing pattern in the described result before printing.
Further, this method also comprises: the file content after the robotization that each part edited according to ad hoc fashion is set type is directly stored, and the file content after described robotization of editing according to ad hoc fashion is set type comprises composing pattern and variable data content.
Wherein, the variable data content of described storage is the variable data content before robotization is set type; Described variable data content is organized according to tree structure; Described variable data content meets the expandable mark language XML standard criterion.
Wherein, described same type composing pattern satisfies following condition:
The content of the non-variable space of a whole page element that described composing pattern comprises is identical with attribute, and the variable data item of described composing pattern correspondence is identical.
Wherein, the corresponding relation of described composing pattern of record and variable data content in the described variable data item.
The embodiment of the invention also provides a kind of memory storage of the back data of setting type, and this device comprises:
Composing pattern acquiring unit is used for obtaining the composing pattern of result before printing each type;
Storage unit is used for the composing styles store portion with described each type, and storage and described composing pattern have all variable data contents of corresponding relation.
The technical scheme that the embodiment of the invention provides, the characteristics that the composing pattern is identical when making full use of the variable data composing, variable data content changes, composing is as a result the time before the memory print, composing pattern and variable data content are separated, the composing pattern of same type is only stored portion, thereby avoided a large amount of identical composing style informations to be repeated storage, problems of the prior art have been solved, composing is as a result the time before memory print, can significantly reduce the disk space that takies, significantly improve the utilization factor of disk space.
Description of drawings
The storage means process flow diagram of data after the composing that Fig. 1 provides for the embodiment of the invention;
A kind of composing pattern synoptic diagram that Fig. 2 provides for the embodiment of the invention;
The composing result schematic diagram that Fig. 3 (a) provides for the embodiment of the invention to Fig. 3 (d);
Composing result schematic diagram behind the editor that Fig. 4 (a) provides for the embodiment of the invention to Fig. 4 (d);
The memory device structure figure of data after the composing that Fig. 5 provides for the embodiment of the invention.
Embodiment
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, below in conjunction with accompanying drawing embodiments of the invention are described in detail, following description only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other embodiment of the present invention according to these embodiment.
The storage means of data after the composing that the embodiment of the invention provides, as described in Figure 1, this method comprises:
Step 11: the composing pattern that obtains each type in the result before printing;
Step 12: with the composing styles store portion of described each type, storage and described composing pattern have all variable data contents of corresponding relation.
Because under many situations, the file content after need setting type to robotization carries out editing and processing again, according to editor's situation difference of back file content that robotization is set type, divides three kinds of situations that the embodiment of the invention is specifically described below.
First kind of situation: need not edit to the file content after the robotization composing.
At this moment, step 11 can be specially robotization is set type preceding composing pattern as the composing pattern in the described result before printing.
Composing pattern before robotization is set type comprises the composing pattern of at least a type, and the embodiment of the invention comprises that a kind of composing pattern is that example describes before setting type with robotization.
As shown in Figure 2, a kind of composing pattern synoptic diagram that provides for the embodiment of the invention.Comprise a variable picture, word content " car name: " and " model: " in this composing pattern; Comprise the variable characters item "
The @ car Name @" and "
@ model @"; Should the composing pattern also have been described by each attribute of an element simultaneously, as word content " car name: ", " model: " and variable characters item "
@ car name @" and "
@ model @" word attribute such as font, font size, color; Also described variable picture "
@ picture @" attribute such as position, size.
When carrying out the variable data composing, should be defined as template by the composing pattern, with variable data content to be set type, comprise variable picture, word content " car name: " and " model: ", bind with template, by the set type merging of pattern and variable data of typesetting engine, carry out automatic typesetting.
Result after the composing as Fig. 3 (a) to shown in Fig. 3 (d), among the composing result, variable characters item and variable picture are replaced by variable characters content and picture in the data of correspondence, but non-variable characters content then is replicated many parts, and corresponding character attribute, picture attribute also have been replicated many parts simultaneously.
In first kind of situation, composing pattern and variable data content that step 12 can be specially before directly robotization being set type are stored respectively, and this composing pattern only need be stored portion, stores the variable data content of all correspondences.
Further, in embodiments of the present invention, the content of the variable data of storage meets extend markup language, and (EXtensible Markup Language, XML) standard criterion is organized according to tree structure.The XML that describes variable data content among Fig. 2 can be expressed as form:
<?xml?version=“1.0”encoding=“UTF-8”?>
-<Root>
<vehicle car name=" Audi " model=" 2004 sections of A41.8T basic models " picture=" .jpg of Audi "/〉
<vehicle car name=" Audi " model=" the comfortable honor of A42.4 is enjoyed 2004 sections on type " picture=" A424.jpg of Audi "/〉
<vehicle car name=" BMW " model=" 520i2004 money " picture=" BMW jpg "/〉
<vehicle car name=" the land despot of Beijing Automobile Workshop " model=" 3400 " picture=" the land despot .jpg of Beijing Automobile Workshop "/〉
</Root>
With four parts of files among Fig. 3 is example, under first kind of situation, adopt the technical scheme of the embodiment of the invention, only need the information of a composing pattern of storage, the variable data content that reaches in four parts of files gets final product, comparing the storage means that prior art provides, the storage of same row pressing formula information has been reduced 3 parts.
Further, the corresponding relation of described composing pattern of record and variable data content in the described variable data item.Corresponding relation when this corresponding relation can be set type for robotization between composing pattern and the variable data content also can be the corresponding relation that redefines, and can bind by its corresponding composing pattern to guarantee variable data content.
Second kind of situation: the editor who the composing pattern in the file content after at least two parts of robotizations composings has been carried out same way as.
In some scenarios, composing pattern in the file content after need setting type to a small amount of robotization is edited, at this moment, step 11 can be specially described edited composing pattern, separate the file content after its corresponding robotization is set type, as the composing pattern in the described result before printing.
Wherein, in embodiments of the present invention, the content of the non-variable space of a whole page element that described composing pattern comprises is identical with attribute, and the variable data item of described composing pattern correspondence is identical.
Further, in embodiments of the present invention, the content of the variable data of storage meets the XML standard criterion, organizes according to tree structure.
Further, the corresponding relation of described composing pattern of record and variable data content in the described variable data item.Corresponding relation when this corresponding relation can be set type for robotization between composing pattern and the variable data content also can be the corresponding relation that redefines, and can bind by its corresponding composing pattern to guarantee variable data content.
The third situation: the file content after a robotization composing is edited separately.
For some need the file of special processing, at this moment, the disposal route of the embodiment of the invention is that the file content after the robotization that each part edited according to ad hoc fashion is set type is directly stored, and the file content after described robotization of editing according to ad hoc fashion is set type comprises composing pattern and variable data content.
Be that example describes with the editing of variable data content below.
Four parts of file contents as shown in Figure 3, partial content among the robotization composing result among Fig. 3 (b) is edited, changed the word attribute of " the A42.4 honor is enjoyed 2004 sections on type " among Fig. 3 (b), its attribute is set to font-weight, and the composing result behind the editor as shown in Figure 4.File content after Fig. 4 (a), Fig. 4 (c) or Fig. 4 (d) robotization composing is not added editor.
In embodiments of the present invention, under the third situation, be directly to store the composing pattern before the automatic typesetting and the content of corresponding variable data to the storage means of Fig. 4 (a), Fig. 4 (c) or Fig. 4 (d) result before printing.Fig. 4 (b) is directly stored file content after robotization is set type.At this moment, the result after the composing as shown in Figure 4.
In embodiments of the present invention, the content of the variable data of storage meets the expandable mark language XML standard criterion, organizes according to tree structure.The content of the variable data of storage includes only the variable data among Fig. 4 (a), Fig. 4 (c) or Fig. 4 (d), and its XML form can be expressed as:
<?xml?version=“1.0”encoding=“UTF-8”?>
-<Root>
<vehicle car name=" Audi " model=" 2004 sections of A41.8T basic models " picture=" .jpg of Audi "/〉
<vehicle car name=" BMW " model=" 520i2004 money " picture=" BMW .jpg "/〉
<vehicle car name=" the land despot of Beijing Automobile Workshop " model=" 3400 " picture=" the land despot jpg of Beijing Automobile Workshop "/〉
</Root>
To the third situation, in embodiments of the present invention, for the file that has carried out editor after the robotization composing again, be the pairing composing result of Fig. 4 (b), directly store, Fig. 4 (a), Fig. 4 (c) or Fig. 4 (d) are only needed a composing pattern of storage, distinguish the variable data content among storage map 4 (a), Fig. 4 (c) or Fig. 4 (d) again, compared with prior art, the storage to same row pressing formula information has reduced 2 parts.
From the above mentioned, the technical scheme that the embodiment of the invention provides, the characteristics that the composing pattern is identical when making full use of the variable data composing, variable data content changes, composing is as a result the time before the memory print, composing pattern and variable data content are separated, the composing pattern of same type is only stored portion, thereby avoided a large amount of identical composing style informations to be repeated storage, problems of the prior art have been solved, composing is as a result the time before memory print, can significantly reduce the disk space that takies, significantly improve the utilization factor of disk space.
The embodiment of the invention also provides a kind of memory storage of the back data of setting type, and as shown in Figure 5, this device comprises:
Composing pattern acquiring unit 51 is used for obtaining the composing pattern of result before printing each type;
The technical scheme that the embodiment of the invention provides, the characteristics that the composing pattern is identical when making full use of the variable data composing, variable data content changes, composing is as a result the time before the memory print, composing pattern and variable data content are separated, the composing pattern of same type is only stored portion, thereby avoided a large amount of identical composing style informations to be repeated storage, problems of the prior art have been solved, composing is as a result the time before memory print, can significantly reduce the disk space that takies, significantly improve the utilization factor of disk space.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description, can finish by the programmed instruction related hardware.The software of described embodiment correspondence can be stored in a computing machine and can store in the medium that reads.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.
Claims (10)
1, a kind of storage means of the back data of setting type is characterized in that this method comprises:
Obtain the composing pattern of each type in the result before printing;
With the composing styles store portion of described each type, storage and described composing pattern have all variable data contents of corresponding relation.
2, the storage means of the back data of setting type according to claim 1 is characterized in that, the file content after robotization is set type need not edited, and the described composing pattern that obtains each type in the result before printing comprises:
Robotization is set type preceding composing pattern as the composing pattern in the described result before printing.
3, the storage means of the back data of setting type according to claim 1, it is characterized in that, composing pattern in the file content after at least two parts of robotizations are set type has carried out the editor of same way as, and the described composing pattern that obtains each type in the result before printing comprises:
With described edited composing pattern, separate the file content after its corresponding robotization is set type, as the composing pattern in the described result before printing.
4, the storage means of the back data of setting type according to claim 1 is characterized in that this method also comprises:
File content after the robotization that each part edited according to ad hoc fashion is set type is directly stored, and the file content after described robotization of editing according to ad hoc fashion is set type comprises composing pattern and variable data content.
According to the storage means of claim 2 or the 3 described back data of setting type, it is characterized in that 5, the variable data content of described storage is the variable data content before robotization is set type.
6, the storage means of the back data of setting type according to claim 5 is characterized in that described variable data content is organized according to tree structure.
7, the storage means of the back data of setting type according to claim 5 is characterized in that described variable data content meets the expandable mark language XML standard criterion.
8, according to the storage means of each described back data of setting type of claim 1 to 3, it is characterized in that described same type composing pattern satisfies following condition:
The content of the non-variable space of a whole page element that described composing pattern comprises is identical with attribute, and the variable data item of described composing pattern correspondence is identical.
9, the storage means of the back data of setting type according to claim 8 is characterized in that, the corresponding relation of described composing pattern of record and variable data content in the described variable data item.
10, a kind of memory storage of the back data of setting type is characterized in that this device comprises:
Composing pattern acquiring unit is used for obtaining the composing pattern of result before printing each type;
Storage unit is used for the composing styles store portion with described each type, and storage and described composing pattern have all variable data contents of corresponding relation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008102393758A CN101430715B (en) | 2008-12-11 | 2008-12-11 | Data memory method and apparatus after type-setting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008102393758A CN101430715B (en) | 2008-12-11 | 2008-12-11 | Data memory method and apparatus after type-setting |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101430715A true CN101430715A (en) | 2009-05-13 |
CN101430715B CN101430715B (en) | 2011-01-05 |
Family
ID=40646109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008102393758A Expired - Fee Related CN101430715B (en) | 2008-12-11 | 2008-12-11 | Data memory method and apparatus after type-setting |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101430715B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106240155A (en) * | 2015-06-09 | 2016-12-21 | 海德堡印刷机械股份公司 | The method creating labelling in the preparation level of printing process |
CN109472016A (en) * | 2018-12-24 | 2019-03-15 | 徐州华艺彩色印刷有限公司 | A kind of quick centralized typesetting plate change processing method suitable for printing industry |
CN109710198A (en) * | 2018-12-29 | 2019-05-03 | 森大(深圳)技术有限公司 | Method of printing, device and the equipment of local dynamic station variable image |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6327599B1 (en) * | 1995-06-07 | 2001-12-04 | R. R. Donnelley & Sons Company | Apparatus for controlling an electronic press to print fixed and variable information |
JP3799371B2 (en) * | 1999-03-10 | 2006-07-19 | 株式会社リコー | Composite printing method and printer driver |
JP4154976B2 (en) * | 2002-09-24 | 2008-09-24 | セイコーエプソン株式会社 | Layout system, program |
-
2008
- 2008-12-11 CN CN2008102393758A patent/CN101430715B/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106240155A (en) * | 2015-06-09 | 2016-12-21 | 海德堡印刷机械股份公司 | The method creating labelling in the preparation level of printing process |
CN106240155B (en) * | 2015-06-09 | 2019-11-08 | 海德堡印刷机械股份公司 | The method of label is created in the preparation grade of printing process |
CN109472016A (en) * | 2018-12-24 | 2019-03-15 | 徐州华艺彩色印刷有限公司 | A kind of quick centralized typesetting plate change processing method suitable for printing industry |
CN109710198A (en) * | 2018-12-29 | 2019-05-03 | 森大(深圳)技术有限公司 | Method of printing, device and the equipment of local dynamic station variable image |
CN109710198B (en) * | 2018-12-29 | 2020-12-25 | 森大(深圳)技术有限公司 | Printing method, device and equipment for local dynamic variable image |
Also Published As
Publication number | Publication date |
---|---|
CN101430715B (en) | 2011-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7469380B2 (en) | Dynamic document and template previews | |
CN106815184B (en) | System and method for automatically generating document based on FOG data | |
CN103136184B (en) | A kind of method of automatic typesetting and device thereof | |
CN108090037B (en) | Automatic typesetting method and device | |
CN105607880A (en) | Printing method and device for examined and approved documents | |
CN105183475A (en) | Method and system for customizing individuality pages of portal website by user himself | |
JPWO2008066142A1 (en) | Form creation system, network system using the same, and form creation method. | |
JP5341388B2 (en) | Document processing apparatus and document processing method | |
CN103440304A (en) | Method and device for storing picture | |
CN105589842A (en) | Typesetting method and device for digital publications | |
CN101430715B (en) | Data memory method and apparatus after type-setting | |
CN105488471A (en) | Character pattern recognition method and device | |
CN105512096B (en) | A kind of optimization method and device based on font embedded in document | |
CN117688921A (en) | Method for unifying format and personalized data setting of automatically generated ppt | |
CN106776527A (en) | The display methods of electronic book data, device and terminal device | |
CN112100977B (en) | Window local refreshing method, electronic device and storage medium | |
CN105373519B (en) | A kind of editing device and method of Technical symbol | |
US20040019848A1 (en) | Method for dynamically inserting and removing tab text | |
CN100382004C (en) | Print preview method | |
US20040019854A1 (en) | Dynamically configurable page numbering system | |
CN117236282B (en) | Intelligent typesetting method, device, terminal and medium based on XML data | |
CN111768819B (en) | Method, apparatus, device and medium for dynamically displaying or hiding header and footer | |
CN112232032B (en) | Automatic conversion method for content style of docx document | |
CN107391773A (en) | A kind of online text managemant method and apparatus | |
CN101937457A (en) | Version management method and system based on HTML (Hypertext Markup Language) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110105 Termination date: 20191211 |
|
CF01 | Termination of patent right due to non-payment of annual fee |