CN104793906A - Method and device for achieving intelligent marking - Google Patents

Method and device for achieving intelligent marking Download PDF

Info

Publication number
CN104793906A
CN104793906A CN201410023233.3A CN201410023233A CN104793906A CN 104793906 A CN104793906 A CN 104793906A CN 201410023233 A CN201410023233 A CN 201410023233A CN 104793906 A CN104793906 A CN 104793906A
Authority
CN
China
Prior art keywords
smart tags
space
whole page
described smart
information
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
CN201410023233.3A
Other languages
Chinese (zh)
Other versions
CN104793906B (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 CN201410023233.3A priority Critical patent/CN104793906B/en
Publication of CN104793906A publication Critical patent/CN104793906A/en
Application granted granted Critical
Publication of CN104793906B publication Critical patent/CN104793906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and device for achieving intelligent marking. The method comprises the steps that in a preprocessing stage, intelligent marking information is defined and stored in a memorizer; in the stage for adding printing marks, the intelligent marking information is read from the memorizer and analyzed, an intelligent marking object is established according to the analyzed intelligent marking information, and related parameters of the intelligent marking object are set; the intelligent marking object and corresponding standard page elements on a page are dynamically bound according to the related parameters of the intelligent marking object, and the locating information of the intelligent marking object is set; the intelligent marking object is drawn on the page according to the related parameters and the locating information of the intelligent marking object; the page where the intelligent marking object is located is stored. The method improves the flexibility, the convenience and the reusability of the printing marks, complex manual operations for adding the printing marks are reduced, and the accuracy and the flexibility of locating of the printing marks are improved.

Description

A kind of implementation method of smart tags and device
Technical field
The present invention relates to printing technology, particularly a kind of implementation method of smart tags and device.
Background technology
At print field, layout is an important technology in printing process.In order to save material, reduce costs and raise the efficiency, the page of multiple publications that usually will print is spelled formation large version on the same space of a whole page according to certain requirement and is gone printing again, carry out again after printing cutting, the rear PROCESS FOR TREATMENT such as bookbinding, finally obtain publication finished product.In order to the needs of the PROCESS FOR TREATMENT such as follow-up printing, add mark right and wrong and usually see and a very important ring in layout process, this directly has influence on correctness and the accuracy of printing process and final printed publication.Along with the universal of digital printing technologies and development, while the requirement of active user to layout technology, folding workmanship art improves, require also particularly urgent to the application technology of typographic(al) mark.
In prior art, typographic(al) mark is added in printing process, usually two kinds of modes are had: one is manual mode, namely add on the tagged space of a whole page at needs, add one by one to manually and multiplely independently to mark, flag parameters is set one by one, then carries out craft and pull location or absolute coordinates location is set; One is fixed form, namely adds the independent marking of fixed type, preset parameter at fixing position batch.
But existing mode also exists following deficiency or defect all separately in practical application and work:
Add typographic(al) mark by manual mode, although flexible operation, interpolation efficiency is too low, and operation steps is various, easily makes mistakes, and is particularly inaccurate by pulling to position by hand, and positions inconvenience by arranging absolute coordinates; Once the size positions of space of a whole page element changes, so all marks all will re-start location amendment, even the mark of identical type also needs repeatedly to repeat to add; And owing to being separate between mark, mark adds to after on the space of a whole page, can only modify one by one once needs amendment, complex operation and inefficiency.
Add typographic(al) mark by fixed form, although efficiency is high, lack dirigibility, type and parameter more fixing, amendment get up more difficult, some simple demand can only be met.
The mark that this two kinds of modes are added, is all static tay usually, does not possess dynamic perfromance.And the mark that this two kinds of modes are added, each all needs when using to reset, repetitive operation, does not possess reusability, complex operation and inefficiency.
Summary of the invention
The embodiment of the present invention provides a kind of implementation method and device of smart tags, does not possess dynamic and reusability, complex operation and the problem of inefficiency in order to solve prior art.
The concrete technical scheme that the embodiment of the present invention provides is as follows:
First aspect, a kind of implementation method of smart tags, comprising:
At pretreatment stage, definition smart tags information, and this smart tags information is stored in storer;
In the interpolation typographic(al) mark stage, from storer, read smart tags information and resolve, the correlation parameter of this smart tags object is set according to the smart tags information creating smart tags object parsed;
According to the correlation parameter of smart tags object, benchmark space of a whole page element corresponding with on the space of a whole page for smart tags object is carried out dynamic binding, and the locating information of smart tags object is set;
According to correlation parameter and the locating information of smart tags object, by smart tags objects draw on the space of a whole page;
Preserve the space of a whole page at smart tags object place.
By such smart tags implementation method, the parameter of typographic(al) mark can be defined as required flexibly, realize revising at any time, automatically locating, certain definition can repeatedly be reused, achieve dynamic binding according to the correlation parameter of smart tags object simultaneously and automatically locate, decrease the manual operations of complexity when adding typographic(al) mark, improve the dirigibility of typographic(al) mark use, convenience and reusability.
In conjunction with first aspect, in the implementation that the first is possible, smart tags information comprises:
Title, type, relative position, size, rotates, color, the positive back side, other specific information.
By definition smart tags information, instead of traditional static tay, above-mentioned parameter can be defined flexibly as required, convenient amendment, improve dirigibility and the convenience of typographic(al) mark use.
In conjunction with first aspect, in the implementation that the second is possible, smart tags information is stored in storer, comprises:
Smart tags convert information is become the structured parameter of serializability and unserializing, and this structured parameter is stored in storer.
In this way, convenient reading and use, can realize once defining, repeatedly using simultaneously, enhance the reusability of smart tags scheme.
In conjunction with first aspect, in the implementation that the third is possible, according to the correlation parameter of smart tags object, benchmark space of a whole page element corresponding with on the space of a whole page for smart tags object is carried out dynamic binding, comprising:
The reference object recorded in correlation parameter according to smart tags object, is set to the daughter element of the benchmark space of a whole page element space of a whole page with this reference object with same alike result by this smart tags object.
Like this, the correlation parameter according to smart tags object achieves dynamic binding, decreases the manual operations of complexity when adding typographic(al) mark, convenient.
In conjunction with first aspect, in the 4th kind of possible implementation, the locating information of smart tags object is set, comprises:
Based on binding result, with benchmark space of a whole page element for benchmark, according to the benchmark element anchor point in the correlation parameter of this smart tags object and object element anchor point, determine horizontal coordinate and the vertical coordinate of this smart tags object;
According to the horizontal-shift coordinate in the correlation parameter of smart tags object and vertical shift coordinate, this smart tags object is offset;
Record and the relative coordinate of this smart tags object is set.
Like this, achieve automatic location according to the correlation parameter of smart tags object, decrease complex operations when adding typographic(al) mark, provide accuracy and the dirigibility of typographic(al) mark location.
In conjunction with first aspect, in the 5th kind of possible implementation, comprise further:
When the content changing of smart tags information, upgrade the relevant parameter of smart tags object, and upgrade the binding relationship of this smart tags object and its benchmark space of a whole page element and the locating information of this smart tags object;
When the content changing of benchmark space of a whole page element, upgrade the binding relationship of smart tags object and this benchmark space of a whole page element, and upgrade the locating information of this smart tags object.
Like this, typographic(al) mark has just possessed dynamic perfromance, when the content change of the content of smart tags information or benchmark space of a whole page element, without the need to carrying out manual setting again, can realize the automatic renewal of smart tags.
In conjunction with first aspect, in the 6th kind of possible implementation, comprise further:
When the space of a whole page adds a space of a whole page element, if the space of a whole page element space of a whole page having realized reference object and the interpolation of recording in the correlation parameter of the smart tags object of dynamic binding has same alike result, then the smart tags object this having been realized dynamic binding is set to the daughter element of the space of a whole page element of this interpolation;
When the space of a whole page is deleted a space of a whole page element, delete the smart tags object realizing dynamic binding with the space of a whole page element deleted.
Like this, when adding or delete a space of a whole page element, just can automatically bind or delete corresponding smart tags object, binding without the need to carrying out one by one or delete, decrease manual operations, improve dirigibility and the convenience of typographic(al) mark use.
Second aspect, a kind of implement device of smart tags, comprising:
Definition module, at pretreatment stage, defines smart tags information, and is stored in storer by this smart tags information;
Parsing module, in the interpolation typographic(al) mark stage, read smart tags information and resolve from storer, arranges the correlation parameter of this smart tags object according to the smart tags information creating smart tags object parsed;
Locating module, for the correlation parameter according to smart tags object, carries out dynamic binding by benchmark space of a whole page element corresponding with on the space of a whole page for smart tags object, and arranges the locating information of smart tags object;
Drafting module, for according to the correlation parameter of smart tags object and locating information, by smart tags objects draw on the space of a whole page;
Preserve module, for preserving the space of a whole page at smart tags object place.
By the mutual cooperation of above-mentioned five modules, the parameter defining typographic(al) mark as required flexibly can be realized, realize revising at any time, automatically locating, certain definition can repeatedly be reused, achieve dynamic binding according to the correlation parameter of smart tags object simultaneously and automatically locate, decrease the manual operations of complexity when adding typographic(al) mark, improve the dirigibility of typographic(al) mark use, convenience and reusability.
In conjunction with second aspect, in the implementation that the first is possible, smart tags information comprises:
Title, type, relative position, size, rotates, color, the positive back side, other specific information.
The smart tags information defined by definition module, instead of traditional static tay, can define above-mentioned parameter flexibly as required, convenient amendment, improves dirigibility and the convenience of typographic(al) mark use.
In conjunction with second aspect, in the implementation that the second is possible, definition module specifically for:
When smart tags information is stored in storer, this smart tags convert information is become the structured parameter of serializability and unserializing, and this structured parameter is stored in storer.
By definition module, smart tags information is carried out permanent storage mutually, convenient reading and use, can realize once defining, repeatedly using simultaneously, enhance the reusability of smart tags scheme.
In conjunction with second aspect, in the implementation that the third is possible, locating module specifically for:
At the correlation parameter according to smart tags object, when benchmark space of a whole page element corresponding with on the space of a whole page for smart tags object is carried out dynamic binding, the reference object recorded in correlation parameter according to smart tags object, is set to the daughter element of the benchmark space of a whole page element space of a whole page with this reference object with same alike result by smart tags object.
Like this, locating module achieves the dynamic binding of smart tags according to the correlation parameter of smart tags object, decreases the manual operations of complexity when adding typographic(al) mark, convenient.
In conjunction with second aspect, in the 4th kind of possible implementation, locating module specifically for:
When arranging the locating information of smart tags object, based on binding result, with benchmark space of a whole page element for benchmark, according to the benchmark element anchor point in the correlation parameter of smart tags object and object element anchor point, determine horizontal coordinate and the vertical coordinate of this smart tags object;
According to the horizontal-shift coordinate in the correlation parameter of smart tags object and vertical shift coordinate, this smart tags object is offset;
Record and the relative coordinate of this smart tags object is set.
Like this, locating module achieves the automatic location of smart tags according to the correlation parameter of smart tags object, decreases complex operations when adding typographic(al) mark, provides accuracy and the dirigibility of typographic(al) mark location.
In conjunction with second aspect, in the 5th kind of possible implementation, locating module is further used for:
When the content changing of smart tags information, upgrade the relevant parameter of smart tags object, and upgrade the binding relationship of this smart tags object and its benchmark space of a whole page element and the locating information of this smart tags object;
When the content changing of benchmark space of a whole page element, upgrade the binding relationship of smart tags object and this benchmark space of a whole page element, and upgrade the locating information of this smart tags object.
Like this, typographic(al) mark has just possessed dynamic perfromance, when the content change of the content of smart tags information or benchmark space of a whole page element, without the need to carrying out manual setting again, can realize the automatic renewal of smart tags.
In conjunction with second aspect, in the 6th kind of possible implementation, locating module is further used for:
When the space of a whole page adds a space of a whole page element, if the space of a whole page element space of a whole page having realized reference object and the interpolation of recording in the correlation parameter of the smart tags object of dynamic binding has same alike result, then the smart tags object that this has been realized dynamic binding by locating module is set to the daughter element of the space of a whole page element of this interpolation;
When the space of a whole page is deleted a space of a whole page element, locating module deletes the smart tags object realizing dynamic binding with the space of a whole page element deleted.
Like this, when adding or delete a space of a whole page element, corresponding smart tags object just can be bound or delete to locating module automatically, binding or deleting, decreasing manual operations without the need to carrying out one by one, improves dirigibility and the convenience of typographic(al) mark use.
Accompanying drawing explanation
Fig. 1 is the particular flow sheet realizing smart tags in the embodiment of the present invention;
Fig. 2 is the interactive interface schematic diagram defining smart tags information in the embodiment of the present invention;
Fig. 3 is the interface schematic diagram of definition smart tags relative position;
Fig. 4 is to the schematic diagram that smart tags object is bound and located in the embodiment of the present invention;
Fig. 5 is the space of a whole page schematic diagram not adding smart tags in the embodiment of the present invention;
Fig. 6 is the space of a whole page schematic diagram after adding smart tags in the embodiment of the present invention;
Fig. 7 is the space of a whole page schematic diagram after adding smart tags A in the embodiment of the present invention;
Fig. 8 is the space of a whole page schematic diagram in the embodiment of the present invention after the change of smart tags A reference object;
Fig. 9 is the space of a whole page schematic diagram in the embodiment of the present invention after page size change;
Figure 10 is the space of a whole page schematic diagram after adding a page in the embodiment of the present invention;
Figure 11 is the space of a whole page schematic diagram after deleting the page in the embodiment of the present invention;
Figure 12 is the implement device schematic diagram of smart tags in the embodiment of the present invention.
Embodiment
Not possessing dynamic and reusability, complex operation and the problem of inefficiency to solve the implementation of adding at present typographic(al) mark in printing process, in the embodiment of the present invention, providing a kind of implementation method and device of smart tags.
Below in conjunction with accompanying drawing, the preferred embodiment of the present invention is described in detail.
Consult shown in Fig. 1, in the embodiment of the present invention, the idiographic flow realizing smart tags is as follows:
Step 100: at pretreatment stage, treating apparatus definition smart tags information, and this smart tags information is stored in storer.
In the embodiment of the present invention, smart tags information, namely for describing the parameter of smart tags, comprises following parameter: title, for identifying and show the name of smart tags; Type, for sorting out and divide the classification of smart tags; Relative position, for specifying the position of smart tags in the space of a whole page; Size, for specifying the size of smart tags; Rotate, for specifying the anglec of rotation of smart tags; Color, for specifying the print color of smart tags; The positive back side, for specifying the display properties of smart tags, namely only showing front, only the display back side or the back side, front and all showing; Other specific information, for supplementing the special nature needed for dissimilar smart tags.Fig. 2 shows the interactive interface schematic diagram of definition smart tags information.
Concrete, smart tags type includes the types such as intelligent folding mark, intelligent slitter marks, intelligent linear mark, intelligent rectangle marked, intelligent register mark, intelligent word marking, intelligent step-wedge mark, intelligent customize tag.Wherein, intelligent register mark is divided into again cross anti-end mark, interior point of aim mark, oval point of aim mark, cross curve mark, outer point of aim mark, solid point of aim mark six type.
Smart tags relative position includes reference object, benchmark element anchor point, object element anchor point, horizontal-shift coordinate, vertical shift coordinate five kinds of parameters.Fig. 3 shows the interface schematic diagram of definition smart tags relative position.Wherein, references object when reference object refers to add smart tags on the space of a whole page, the space of a whole page mentioned here refers generally to the large version in layout process.As shown in table 1, reference object includes following 16 kinds of references object: plate, paper, layout, layout are hemorrhage, the page, the page are hemorrhage, level page spacing, vertically page spacing, top margin, bottom margin, left side margin, the right margin, upper left margin, upper right margin, lower-left margin, bottom right margin.Benchmark element anchor point is used for specifying a positioning datum point in nine positioning datum points of reference object.Object element anchor point is used for specifying a positioning datum point in nine positioning datum points in a selected reference object reference point locations.Wherein, it is nine reference point locations that nine positioning datum points to refer to an anchored object according to the model split of nine grids, is respectively: upper left, in upper, upper right, left, placed in the middle, right, lower-left, under, bottom right.Horizontal-shift coordinate is used for the horizontal-shift of define objective element anchor point relative to benchmark element anchor point, offset to the right relative to benchmark element location on the occasion of expression object element anchor point, negative value represents that object element anchor point offsets relative to benchmark element location left.Vertical shift coordinate is used for the vertical shift of define objective element anchor point relative to benchmark element anchor point, upwards offset relative to benchmark element location on the occasion of expression object element anchor point, negative value represents that object element anchor point offsets downward relative to benchmark element location.
Table 1
Sequence number Mark Title
1 PLATE Plate
2 PAPER Paper
3 IMPOSITION Layout
4 IMPOSITIONBLEED Layout is hemorrhage
5 PAGE The page
6 PAGEBLEED The page is hemorrhage
7 GUTTERSHORIZONTAL Level page spacing
8 GUTTERSVERTICAL Vertical page spacing
9 MARGINtop Top blank
10 MARGINbottom Bottom is blank
11 MARGINleft Left margin
12 MARGINright The right is blank
13 MARGINtopleft Upper left is blank
14 MARGINtopright Upper right is blank
15 MARGINbottomleft Lower-left is blank
16 MARGINbottomRIGH Bottom right is blank
Smart tags size, refer to smart tags width and height, optionally, in the embodiment of the present invention, the width of smart tags can run through the whole width of reference object as required, by smart tags repeated be paved with whole reference object.
Smart tags rotates, and refer to the anglec of rotation of smart tags, the anglec of rotation can select 0 degree, 90 degree, 180 degree or 270 degree that fix, and meanwhile, provide the optional self-defined anglec of rotation in the embodiment of the present invention, scope is 0-360 degree.
Other specific information of smart tags, refers to that dissimilar smart tags is except the necessary information on basis, also may need personalizing parameters information different separately, and such as, text mark also needs information such as record font, word content etc.
In the embodiment of the present invention, the smart tags convert information defined is become the structured parameter of serializability and unserializing by treating apparatus, then this structured parameter is stored in storer and carries out lasting storage, thus facilitate reading to smart tags information, the operation such as amendment and use, can realize once defining and repeatedly reuse, enhance the reusability of smart tags information.Said storer normally extend markup language (Extensible Markup Language, XML) file herein, but be not limited only to this, also can be any memory device or storage medium that can store and read data, this is no longer going to repeat them.
Step 110: in the interpolation typographic(al) mark stage, treating apparatus reads smart tags information and resolves from storer, arranges the correlation parameter of smart tags object according to the smart tags information creating smart tags object parsed.
Concrete, the correlation parameter of above-mentioned smart tags object, at least comprise following one of at least: title, type, relative position, size, rotation, color, the positive back side, other specific information.
Step 120: benchmark space of a whole page element corresponding with on the space of a whole page for smart tags object, according to the correlation parameter of smart tags object, is carried out dynamic binding, and arranges the locating information of smart tags object by treating apparatus.
Particularly, in the embodiment of the present invention, this smart tags object, according to the reference object recorded in the correlation parameter of this smart tags object, is set to the daughter element of the benchmark space of a whole page element space of a whole page with this reference object with same alike result by treating apparatus.Then, treating apparatus, based on above-mentioned binding result, with this benchmark space of a whole page element for benchmark, according to the benchmark element anchor point in the correlation parameter of smart tags object and object element anchor point, determines horizontal coordinate and the vertical coordinate of this smart tags object.Next, then according to the horizontal-shift coordinate in the correlation parameter of smart tags object and vertical shift coordinate, this smart tags object is offset.Finally, treating apparatus record also arranges the relative coordinate of this smart tags object, i.e. the coordinate of this smart tags object its reference object relatively.
In actual applications, treating apparatus usually disposable by multiple smart tags object binding on the space of a whole page, this process can be on the same space of a whole page by the smart tags object binding of multiple identical type, can be by multiple dissimilar smart tags object binding on the same space of a whole page, also can be multiple identical type or dissimilar smart tags are tied on the different spaces of a whole page.
Fig. 4 shows the schematic diagram that treating apparatus is bound according to the relative position of smart tags object smart tags object and located.Below, for the figure of first in Fig. 4, the detailed process that treating apparatus is once bound smart tags object and located is described.Large rectangle in figure represents reference object, little rectangle expressive notation object, the reference object of this tagged object is set to the page, and benchmark element anchor point and object element anchor point are all set to upper right, horizontal-shift coordinate is 100 millimeters, and vertical shift coordinate is 50 millimeters.This tagged object, first according to the reference object of this tagged object, is added to the daughter element of all pages on the space of a whole page by treating apparatus.After having bound, again according to the benchmark element anchor point of this tagged object, be nine reference point locations by the page by nine grids model split, and the upper-right position selected in these nine reference point locations wherein, then according to object element anchor point, be in nine reference point locations by nine grids model split again by selected page upper-right position, and choose upper-right position wherein.Finally, according to horizontal-shift coordinate and the vertical shift coordinate of this tagged object, this tagged object offset 100 millimeters to the right, upwards offset 50 millimeters, complete final location, and record the now relative coordinate values of this tagged object on the space of a whole page.
Step 130: treating apparatus according to the correlation parameter of this smart tags object and locating information, by this smart tags objects draw on the space of a whole page.
According to the correlation parameter of smart tags object, as title, type, relative position, size, rotation, color, the positive back side, other specific information etc., and the relative coordinate of smart tags, by smart tags objects draw on the space of a whole page, be convenient to the display effect of preview smart tags on the space of a whole page intuitively.Such as, the space of a whole page not adding smart tags shown in Fig. 5 draws smart tags, wherein, this space of a whole page has eight pages.To have supposed newly-built intelligent step-wedge mark 1, intelligence rectangle marked 2, intelligent linear mark 3, intelligent slitter marks 4, intelligent folding mark 5, intelligent word marking 6, and intelligent step-wedge mark 1 is dynamically bound to paper, intelligent rectangle marked 2, intelligent linear mark 3 and intelligent slitter marks 4 are dynamically bound to the page, intelligent folding mark 5 and intelligent word marking 6 are dynamically bound to layout, and the setting of all the other parameters repeats no more.After dynamic binding and location, be finally plotted on the space of a whole page by above-mentioned multiple smart tags, Fig. 6 shows the display effect of the space of a whole page after adding smart tags.
Step 140: the space of a whole page at this smart tags object place preserved by treating apparatus.
In the embodiment of the present invention, after completing, treating apparatus can will draw the whole space of a whole page having smart tags object, and embedded the outputting in layout file of correlation parameter together with smart tags object on the space of a whole page carries out permanent storage.In follow-up space of a whole page process, corresponding layout file can be transferred at any time as required, smart tags object is wherein modified or adjusted, to obtain required smart tags scheme.
Further, in the embodiment of the present invention, when the content of this smart tags information changes in the process of above-mentioned arbitrary step, treating apparatus can upgrade the relevant parameter of this smart tags object, and upgrades the binding relationship of this smart tags object and its benchmark space of a whole page element and the locating information of this smart tags object.Such as, the reference object of certain smart tags A is the page, it is plotted to display effect on the space of a whole page as shown in Figure 7, if when the reference object in the label information of this smart tags A is become paper from the page, the reference object parameter of this smart tags A can be correspondingly paper by renewal of the page by treating apparatus, simultaneously by the page unbind relation on this smart tags A and the space of a whole page, and the paper on smart tags A and the space of a whole page set up new binding relationship and again position, now the display effect of smart tags A on the space of a whole page will change Fig. 8 into by Fig. 7.On the other hand, when the content with the benchmark space of a whole page element on the space of a whole page of this smart tags object binding changes in the process of above-mentioned arbitrary step, treating apparatus can upgrade the binding relationship of this smart tags object and this benchmark space of a whole page element, and upgrades the locating information of this smart tags object.Such as, on the space of a whole page shown in Fig. 7, if the page bound with smart tags A there occurs change dimensionally, treating apparatus can establish the binding relationship of smart tags A and the page again, and again position, then upgrade the relative coordinate values of smart tags A, now the display effect of smart tags A on the space of a whole page will change Fig. 9 into by Fig. 7.
Further, when treating apparatus adds a space of a whole page element on the space of a whole page, if the space of a whole page element space of a whole page having realized reference object and the interpolation of recording in the correlation parameter of the smart tags object of dynamic binding has same alike result, then the smart tags object this having been realized dynamic binding is set to the daughter element of the space of a whole page element of this interpolation.Such as, add a page in the space of a whole page shown in Fig. 9 again, the smart tags A now having realized with the page binding also can realize binding with the page of this new interpolation automatically, and now the display effect of smart tags A on the space of a whole page will change Figure 10 into by Fig. 9.On the other hand, when a space of a whole page element deleted by treating apparatus on the space of a whole page, the smart tags object that the space of a whole page element deleted with this realizes dynamic binding can be deleted.Such as, when deleting this space of a whole page element of the page in the space of a whole page shown in Figure 10, the smart tags A now bound with the page also can delete automatically, and now the display effect of the space of a whole page will change Figure 11 into by Figure 10.
Based on above-described embodiment, consult shown in Figure 12, in the embodiment of the present invention, the implement device 12 of smart tags comprises:
Definition module 120, at pretreatment stage, defines smart tags information, and this smart tags information is stored in storer.
In the embodiment of the present invention, definition module 120 adopts the mode of Visual Intelligent Interface Model to receive user-defined smart tags information, and wherein, smart tags information comprises following parameter: title, type, relative position, size, rotates, color, the positive back side, other specific information.
Parsing module 121, in the interpolation typographic(al) mark stage, read smart tags information and resolve from storer, arranges the correlation parameter of this smart tags object according to the smart tags information creating smart tags object parsed.
Locating module 122, for the correlation parameter according to smart tags object, carries out dynamic binding by benchmark space of a whole page element corresponding with on the space of a whole page for smart tags object, and arranges the locating information of smart tags object.
Drafting module 123, for according to the correlation parameter of smart tags object and locating information, by smart tags objects draw on the space of a whole page.
Preserve module 124, for preserving the space of a whole page at smart tags object place.
Particularly, smart tags convert information, when smart tags information being stored in storer, is first become the structured parameter of serializability and unserializing by definition module 120, then is stored in storer by this structured parameter.
Particularly, locating module 122 is at the correlation parameter according to smart tags object, when benchmark space of a whole page element corresponding with on the space of a whole page for smart tags object is carried out dynamic binding, be the reference object recorded in the correlation parameter according to smart tags object, smart tags object be set to the daughter element of the benchmark space of a whole page element space of a whole page with reference object with same alike result.
Particularly, in the embodiment of the present invention, locating module 122 is when arranging the locating information of smart tags object, based on binding result, with benchmark space of a whole page element for benchmark, according to the benchmark element anchor point in the correlation parameter of smart tags object and object element anchor point, determine horizontal coordinate and the vertical coordinate of this smart tags object, then according to the horizontal-shift coordinate in the correlation parameter of this smart tags object and vertical shift coordinate, this smart tags object is offset, finally records and the relative coordinate of this smart tags object is set.
Further, when the content changing of smart tags information, locating module 122 can upgrade the relevant parameter of smart tags object, and upgrades the binding relationship of this smart tags object and its benchmark space of a whole page element and the locating information of this smart tags object.And when the content changing of benchmark space of a whole page element, locating module 122 can upgrade the binding relationship of smart tags object and this benchmark space of a whole page element, and upgrade the locating information of this smart tags object.
Further, in the embodiment of the present invention, when the space of a whole page adds a space of a whole page element, if the space of a whole page element space of a whole page having realized reference object and this interpolation of recording in the correlation parameter of the smart tags object of dynamic binding has same alike result, then locating module 122 understands the daughter element that the smart tags object that this has been realized dynamic binding is set to the space of a whole page element of this interpolation.And when deleting a space of a whole page element on the space of a whole page, locating module 122 can delete the smart tags object that the space of a whole page element deleted with this realizes dynamic binding.
In sum, technical scheme described in the embodiment of the present invention adopts smart tags to define the parameter of typographic(al) mark as required neatly, compared to traditional static tay, can revise at any time, automatically upgrade, improve dirigibility and the convenience of typographic(al) mark use.In addition, the smart tags information of definition and drafting have the layout file of smart tags object to preserve in memory enduringly by the present invention, thus reach the object once defining, repeatedly reuse, and enhance the reusability of smart tags scheme.In addition, the present invention achieves dynamic binding according to the correlation parameter of smart tags object and automatically locates, and decreases the manual operations of complexity when adding typographic(al) mark, improves accuracy and the dirigibility of typographic(al) mark location.
Obviously, those skilled in the art can carry out various change and modification to the embodiment of the present invention and not depart from the spirit and scope of the embodiment of the present invention.Like this, if these amendments of the embodiment of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (14)

1. an implementation method for smart tags, is characterized in that, comprising:
At pretreatment stage, definition smart tags information, and described smart tags information is stored in storer;
In the interpolation typographic(al) mark stage, from described storer, read described smart tags information and resolve, the correlation parameter of described smart tags object is set according to the smart tags information creating smart tags object parsed;
According to the correlation parameter of described smart tags object, benchmark space of a whole page element corresponding with on the space of a whole page for described smart tags object is carried out dynamic binding, and the locating information of described smart tags object is set;
According to correlation parameter and the described locating information of described smart tags object, by described smart tags objects draw on the described space of a whole page;
Preserve the described space of a whole page at described smart tags object place.
2. the method for claim 1, is characterized in that, described smart tags information comprises:
Title, type, relative position, size, rotates, color, the positive back side, other specific information.
3. the method for claim 1, is characterized in that, is stored in storer, comprises described smart tags information:
Described smart tags convert information is become the structured parameter of serializability and unserializing, and described structured parameter is stored in storer.
4. the method for claim 1, is characterized in that, according to the correlation parameter of described smart tags object, benchmark space of a whole page element corresponding with on the space of a whole page for described smart tags object is carried out dynamic binding, comprising:
The reference object recorded in correlation parameter according to described smart tags object, is set to the daughter element of the benchmark space of a whole page element space of a whole page with described reference object with same alike result by described smart tags object.
5. the method for claim 1, is characterized in that, arranges the locating information of described smart tags object, comprising:
Based on binding result, with described benchmark space of a whole page element for benchmark, according to the benchmark element anchor point in the correlation parameter of described smart tags object and object element anchor point, determine horizontal coordinate and the vertical coordinate of described smart tags object;
According to the horizontal-shift coordinate in the correlation parameter of described smart tags object and vertical shift coordinate, described smart tags object is offset;
Record and the relative coordinate of described smart tags object is set.
6. the method for claim 1, is characterized in that, comprises further:
When the content changing of described smart tags information, upgrade the relevant parameter of described smart tags object, and upgrade the binding relationship of described smart tags object and described benchmark space of a whole page element and the locating information of described smart tags object;
When the content changing of described benchmark space of a whole page element, upgrade the binding relationship of described smart tags object and described benchmark space of a whole page element, and upgrade the locating information of described smart tags object.
7. the method for claim 1, is characterized in that, comprises further:
When the space of a whole page adds a space of a whole page element, if the space of a whole page element space of a whole page having realized reference object and the interpolation of recording in the correlation parameter of the smart tags object of dynamic binding has same alike result, then the described smart tags object having realized dynamic binding is set to the daughter element of the space of a whole page element of described interpolation;
When the space of a whole page is deleted a space of a whole page element, delete the smart tags object realizing dynamic binding with the space of a whole page element deleted.
8. an implement device for smart tags, is characterized in that, comprising:
Definition module, at pretreatment stage, defines smart tags information, and is stored in storer by described smart tags information;
Parsing module, in the interpolation typographic(al) mark stage, read described smart tags information and resolve from described storer, arranges the correlation parameter of described smart tags object according to the smart tags information creating smart tags object parsed;
Locating module, for the correlation parameter according to described smart tags object, carries out dynamic binding by benchmark space of a whole page element corresponding with on the space of a whole page for described smart tags object, and arranges the locating information of described smart tags object;
Drafting module, for according to the correlation parameter of described smart tags object and described locating information, by described smart tags objects draw on the described space of a whole page;
Preserve module, for preserving the described space of a whole page at described smart tags object place.
9. device as claimed in claim 8, it is characterized in that, described smart tags information comprises:
Title, type, relative position, size, rotates, color, the positive back side, other specific information.
10. device as claimed in claim 8, is characterized in that, described definition module specifically for:
When described smart tags information is stored in storer, described smart tags convert information is become the structured parameter of serializability and unserializing, and described structured parameter is stored in storer.
11. devices as claimed in claim 8, is characterized in that, described locating module specifically for:
At the correlation parameter according to described smart tags object, when benchmark space of a whole page element corresponding with on the space of a whole page for described smart tags object is carried out dynamic binding, the reference object recorded in correlation parameter according to described smart tags object, is set to the daughter element of the benchmark space of a whole page element space of a whole page with described reference object with same alike result by described smart tags object.
12. devices as claimed in claim 8, is characterized in that, described locating module specifically for:
When arranging the locating information of described smart tags object, based on binding result, with described benchmark space of a whole page element for benchmark, according to the benchmark element anchor point in the correlation parameter of described smart tags object and object element anchor point, determine horizontal coordinate and the vertical coordinate of described smart tags object;
According to the horizontal-shift coordinate in the correlation parameter of described smart tags object and vertical shift coordinate, described smart tags object is offset;
Record and the relative coordinate of described smart tags object is set.
13. devices as claimed in claim 8, it is characterized in that, described locating module is further used for:
When the content changing of described smart tags information, upgrade the relevant parameter of described smart tags object, and upgrade the binding relationship of described smart tags object and described benchmark space of a whole page element and the locating information of described smart tags object;
When the content changing of described benchmark space of a whole page element, upgrade the binding relationship of described smart tags object and described benchmark space of a whole page element, and upgrade the locating information of described smart tags object.
14. devices as claimed in claim 8, it is characterized in that, described locating module is further used for:
When the space of a whole page adds a space of a whole page element, if the space of a whole page element space of a whole page having realized reference object and the interpolation of recording in the correlation parameter of the smart tags object of dynamic binding has same alike result, then the described smart tags object having realized dynamic binding is set to the daughter element of the space of a whole page element of described interpolation by described locating module;
When the space of a whole page is deleted a space of a whole page element, described locating module deletes the smart tags object realizing dynamic binding with the space of a whole page element deleted.
CN201410023233.3A 2014-01-17 2014-01-17 A kind of implementation method and device of smart tags Active CN104793906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410023233.3A CN104793906B (en) 2014-01-17 2014-01-17 A kind of implementation method and device of smart tags

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410023233.3A CN104793906B (en) 2014-01-17 2014-01-17 A kind of implementation method and device of smart tags

Publications (2)

Publication Number Publication Date
CN104793906A true CN104793906A (en) 2015-07-22
CN104793906B CN104793906B (en) 2018-09-28

Family

ID=53558729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410023233.3A Active CN104793906B (en) 2014-01-17 2014-01-17 A kind of implementation method and device of smart tags

Country Status (1)

Country Link
CN (1) CN104793906B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107180139A (en) * 2017-06-06 2017-09-19 北京华大九天软件有限公司 A kind of method and device that not isolabeling is created in domain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6380954B1 (en) * 1998-02-09 2002-04-30 Reuters, Ltd. Method and system for layout of objects within a perimeter using constrained interactive search
CN1607522A (en) * 2003-10-15 2005-04-20 佳能株式会社 User interface for creation and editing of variable data documents
US20110043358A1 (en) * 2009-08-20 2011-02-24 Airpointe Of New Hampshire, Inc. Position locating by polyhedral morphing
CN103034624A (en) * 2011-09-29 2013-04-10 北京大学 Method and system for accurately positioning page object

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6380954B1 (en) * 1998-02-09 2002-04-30 Reuters, Ltd. Method and system for layout of objects within a perimeter using constrained interactive search
CN1607522A (en) * 2003-10-15 2005-04-20 佳能株式会社 User interface for creation and editing of variable data documents
US20110043358A1 (en) * 2009-08-20 2011-02-24 Airpointe Of New Hampshire, Inc. Position locating by polyhedral morphing
CN103034624A (en) * 2011-09-29 2013-04-10 北京大学 Method and system for accurately positioning page object

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107180139A (en) * 2017-06-06 2017-09-19 北京华大九天软件有限公司 A kind of method and device that not isolabeling is created in domain

Also Published As

Publication number Publication date
CN104793906B (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN109948134B (en) Report automatic generation method, system, electronic equipment and storage medium
CN101308488B (en) Document stream type information processing method based on format document and device therefor
CN104239284A (en) Method and device for automatic image-text composition
CN101430676B (en) Electronic checking method, system and terminal
CN102043762B (en) Method and device for comparing layouts
CN101751379B (en) Method and equipment for manufacturing electronic newspaper document
CN101504662A (en) Data conversion method and apparatus
CN105335445A (en) Layout display method and device
CN103914496A (en) Page correction method and device
CN102662921A (en) Document processing method, device and editor
CN101799799A (en) Electronic document noting method and device
US20070234205A1 (en) Defining virtual shapes to position text and graphics
CN108052496A (en) A kind of word picture and text formatting system and its implementation based on source file
CN108229614A (en) Label generating method, computer readable storage medium and system
CN104572744A (en) Structured document generating method and device
CN102467495A (en) Method for handwriting comment for odt format file
CN110598187A (en) Batch manufacturing method of cable nameplates
CN104793906A (en) Method and device for achieving intelligent marking
CN102467353B (en) Document printing method and computer
CN102880893A (en) Barcode displaying method
CN111198664A (en) Document printing method and device, computer storage medium and terminal
CN110941947A (en) Document editing method and device, computer storage medium and terminal
CN112365402B (en) Intelligent winding method and device, storage medium and electronic equipment
CN101430715B (en) Data memory method and apparatus after type-setting
CN103049231A (en) Printing parameter setting method and printing method of dynamically adjusting printing parameters

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220616

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 298, founder building, 5 floor

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

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