CN101430715B - Data memory method and apparatus after type-setting - Google Patents

Data memory method and apparatus after type-setting Download PDF

Info

Publication number
CN101430715B
CN101430715B CN2008102393758A CN200810239375A CN101430715B CN 101430715 B CN101430715 B CN 101430715B CN 2008102393758 A CN2008102393758 A CN 2008102393758A CN 200810239375 A CN200810239375 A CN 200810239375A CN 101430715 B CN101430715 B CN 101430715B
Authority
CN
China
Prior art keywords
composing
type
pattern
composing pattern
variable data
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.)
Expired - Fee Related
Application number
CN2008102393758A
Other languages
Chinese (zh)
Other versions
CN101430715A (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.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 CN2008102393758A priority Critical patent/CN101430715B/en
Publication of CN101430715A publication Critical patent/CN101430715A/en
Application granted granted Critical
Publication of CN101430715B publication Critical patent/CN101430715B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

A kind of storage means and device of the back data of setting type
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 "
Figure G2008102393758D0004101537QIETU
Car Name
Figure 2008102393758100002G2008102393758D0004101537QIETU
" and "
Figure 2008102393758100002G2008102393758D0004101537QIETU
Model
Figure 2008102393758100002G2008102393758D0004101537QIETU
"; 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 "
Figure 2008102393758100002G2008102393758D0004101537QIETU
The car name
Figure 2008102393758100002G2008102393758D0004101537QIETU
" and "
Figure 2008102393758100002G2008102393758D0004101537QIETU
Model
Figure 2008102393758100002G2008102393758D0004101537QIETU
" word attribute such as font, font size, color; Also described variable picture "
Figure 2008102393758100002G2008102393758D0004101537QIETU
Picture
Figure 2008102393758100002G2008102393758D0004101537QIETU
" 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.
Step 12 can be specially and will adopt the composing pattern of identical edit mode only to store portion, and all variable data contents before robotization is set type are stored.
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;
Storage unit 52 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.
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 (8)

  1. One kind set type the back data storage means, it is characterized in that this method comprises:
    The file content after robotization is set type obtains the composing pattern of each type in the result before printing by following at least a mode or its combination: when need not edited, robotization is set type preceding composing pattern as the composing pattern in the described result before printing, perhaps, 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;
    With the composing styles store portion of described each type, storage and described composing pattern have all variable data contents of corresponding relation.
  2. 2. 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.
  3. 3. the storage means of the back data of setting type according to claim 1 is characterized in that, the variable data content of described storage is the variable data content before robotization is set type.
  4. 4. the storage means of the back data of setting type according to claim 3 is characterized in that described variable data content is organized according to tree structure.
  5. 5. the storage means of the back data of setting type according to claim 3 is characterized in that described variable data content meets the expandable mark language XML standard criterion.
  6. 6. the storage means of the back data of setting type according to claim 1 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.
  7. 7. the storage means of the back data of setting type according to claim 6 is characterized in that, the corresponding relation of described composing pattern of record and variable data content in the described variable data item.
  8. One kind set type the back data memory storage, it is characterized in that this device comprises:
    Composing pattern acquiring unit, the file content after robotization is set type is used for obtaining the composing pattern of result before printing each type: when need not edited by following at least a mode or its combination, robotization is set type preceding composing pattern as the composing pattern in the described result before printing, perhaps, 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;
    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.
CN2008102393758A 2008-12-11 2008-12-11 Data memory method and apparatus after type-setting Expired - Fee Related CN101430715B (en)

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 CN101430715A (en) 2009-05-13
CN101430715B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102015210491A1 (en) * 2015-06-09 2016-12-15 Heidelberger Druckmaschinen Ag Creation of marks in the preliminary stage of a printing process
CN109472016A (en) * 2018-12-24 2019-03-15 徐州华艺彩色印刷有限公司 A kind of quick centralized typesetting plate change processing method suitable for printing industry
CN109710198B (en) * 2018-12-29 2020-12-25 森大(深圳)技术有限公司 Printing method, device and equipment for local dynamic variable image

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5963968A (en) * 1995-06-07 1999-10-05 R.R. Donnelley & Sons Company Apparatus and method for controlling an electronic press to print fixed and variable information
CN1267018A (en) * 1999-03-10 2000-09-20 株式会社理光 Synthesis printing method and printing system
CN1501285A (en) * 2002-09-24 2004-06-02 精工爱普生株式会社 Layout system, layout program and layout method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5963968A (en) * 1995-06-07 1999-10-05 R.R. Donnelley & Sons Company Apparatus and method for controlling an electronic press to print fixed and variable information
US5963968C1 (en) * 1995-06-07 2001-09-11 Donnelley & Sons Co Apparatus and method for controlling an electronic press to print fixed and variable information
CN1267018A (en) * 1999-03-10 2000-09-20 株式会社理光 Synthesis printing method and printing system
CN1501285A (en) * 2002-09-24 2004-06-02 精工爱普生株式会社 Layout system, layout program and layout method

Also Published As

Publication number Publication date
CN101430715A (en) 2009-05-13

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
US6901427B2 (en) Font sharing system in which data representing a character string can be communicated between a client computer and a server wherein only layout frames are displayed in a preview area of a display screen
CN105183475A (en) Method and system for customizing individuality pages of portal website by user himself
CN108090037B (en) Automatic typesetting method and device
JP5341388B2 (en) Document processing apparatus and document processing method
CN105654022A (en) Method and device for extracting structured document information
CN108710601A (en) A kind of text display method and its equipment, storage medium, electronic equipment
CN102779118A (en) Paper typesetting method and system
CN103440304A (en) Method and device for storing picture
CN105589842A (en) Typesetting method and device for digital publications
CN103885731A (en) Data printing method and device
CN101430715B (en) Data memory method and apparatus after type-setting
CN102567381A (en) Method and device for saving picture information
CN108073562A (en) Publication processing method and processing device based on cloud platform
US20050111044A1 (en) Incremental rendering
KR20050106559A (en) Method for outputting document form sheet
CN102880893A (en) Barcode displaying method
CN105373519B (en) A kind of editing device and method of Technical symbol
US20040019848A1 (en) Method for dynamically inserting and removing tab text
KR20230069374A (en) An automatic image placement and execution method using the DTP program, an adobe indesign
CN100382004C (en) Print preview method
CN106598934A (en) Electronic book data display method and device, and terminal equipment
US20040019854A1 (en) Dynamically configurable page numbering system
JPS60222270A (en) Table data insertion printer

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110105

Termination date: 20191211