[go: up one dir, main page]

CN1912864A - Method of embedding dark lines in sheet - Google Patents

Method of embedding dark lines in sheet Download PDF

Info

Publication number
CN1912864A
CN1912864A CN 200610089129 CN200610089129A CN1912864A CN 1912864 A CN1912864 A CN 1912864A CN 200610089129 CN200610089129 CN 200610089129 CN 200610089129 A CN200610089129 A CN 200610089129A CN 1912864 A CN1912864 A CN 1912864A
Authority
CN
China
Prior art keywords
dark line
dark
space
unit
whole page
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
CN 200610089129
Other languages
Chinese (zh)
Other versions
CN1912864B (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
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University
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, Beijing Founder Electronics Co Ltd filed Critical Peking University
Priority to CN200610089129A priority Critical patent/CN1912864B/en
Publication of CN1912864A publication Critical patent/CN1912864A/en
Application granted granted Critical
Publication of CN1912864B publication Critical patent/CN1912864B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)

Abstract

本发明涉及一种版面中嵌入暗纹的方法,属于印刷排版技术领域。现有技术中,通常通过手工制作胶片将高精度的微小的暗纹定位在其对应的内容下面,精确度与效率都很低。本发明所述的方法,通过建立暗纹对应表,自动检索要嵌入内容的对应暗纹编号,在排版时计算出当前的排版区域,然后在此区域中重复填充指定编号的暗纹图片。采用本发明所述的方法,可以将暗纹精确地排入合适的位置,实现暗纹信息与内容的同步,且不损坏印刷物的品质,从而可以实现印刷物的跨媒体连接。

Figure 200610089129

The invention relates to a method for embedding dark lines in a layout, and belongs to the technical field of printing and typesetting. In the prior art, the high-precision tiny dark lines are usually positioned under the corresponding content by hand-made film, and the accuracy and efficiency are very low. The method of the present invention automatically retrieves the corresponding dark pattern number of the content to be embedded by establishing the dark pattern corresponding table, calculates the current typesetting area during typesetting, and then repeatedly fills the dark pattern picture with the specified number in this area. By adopting the method of the invention, the dark lines can be accurately arranged in a suitable position, and the synchronization of the dark lines information and content can be realized without damaging the quality of the printed matter, so that the cross-media connection of the printed matter can be realized.

Figure 200610089129

Description

一种版面中嵌入暗纹的方法A Method of Embedding Dark Patterns in Layout

技术领域technical field

本发明属于印刷排版技术领域,具体涉及一种版面中嵌入暗纹的方法。The invention belongs to the technical field of printing and typesetting, and in particular relates to a method for embedding dark lines in a layout.

背景技术Background technique

一直以来,人们都在研制如何以纸介质来传递或联接电子信息,如比较成熟的条码技术,如图2所示。现在,日本已经推出了可以直接识别条码的手机,进而可以通过它实现从杂志到互联网的联接;国内外的各大快递公司都已采用二维条码来管理物流,使得人们能够在网络上追踪物品的运送状态。我国在办公领域也应用了二维条码技术,对各类公文实施了更为安全的管理。For a long time, people have been developing how to transmit or connect electronic information with paper media, such as the relatively mature barcode technology, as shown in Figure 2. Now, Japan has launched a mobile phone that can directly recognize barcodes, and then can use it to realize the connection from magazines to the Internet; major express companies at home and abroad have adopted two-dimensional barcodes to manage logistics, enabling people to track items on the Internet the shipping status of . Our country has also applied two-dimensional barcode technology in the office field, implementing more secure management of various official documents.

但是,条码技术作为跨媒体联接的一种方式,其缺陷也是十分明显的。一是信息容量有限,目前二维条码的容量约为1KB;二是继续增加条码的复杂度将导致扫描与识别设备的复杂化,成本大幅度提高;三是扫描物品时必须要找到条码的位置,使用并不方便;四是大量条码堆积在物品包装上,会损坏物品包装的美观度,也会干扰人眼的阅读,难以在信息密集型的出版物中达到“隐身”的效果,也难以在有限的版面中表现或联接更丰富的多媒体信息。However, as a way of cross-media connection, barcode technology has obvious defects. One is that the information capacity is limited, and the current capacity of the two-dimensional barcode is about 1KB; the other is that continuing to increase the complexity of the barcode will lead to the complexity of scanning and identification equipment, and the cost will be greatly increased; the third is that the location of the barcode must be found when scanning items , it is not convenient to use; Fourth, a large number of barcodes are piled up on the item packaging, which will damage the aesthetics of the item package and interfere with human reading. It is difficult to achieve the effect of "invisibility" in information-intensive publications, and it is also difficult to Present or connect richer multimedia information in a limited layout.

而另一类看似与纸介质多媒体技术有关的“读书机”,实际是靠书本以外的机器来感知用户输入的坐标,并且要人工地保持书本与机器的严格对齐。严格意义上讲,此类技术并未给纸介质增加任何信息。其缺陷是必须配备一个相对笨重的坐标板或接收装置,不便于携带,而且不能很好地解决同步翻页的问题。Another type of "reading machine" that seems to be related to paper media multimedia technology actually relies on machines other than books to perceive the coordinates input by users, and manually maintains the strict alignment between books and machines. Strictly speaking, such technologies do not add any information to paper media. Its disadvantage is that it must be equipped with a relatively bulky coordinate board or receiving device, which is not easy to carry, and cannot solve the problem of synchronous page turning well.

近年来,国际上把新的重点集中在以下三个方面:In recent years, the international community has focused on the following three aspects:

第一,延续条码的思路,继续探索可能的标记形式。如上文所述直接在纸张的空白处印上条码。无论一维的和二维的,虽勉强可建立一些多媒体数据的简单联接,但是当用户要求更大的信息表现力时条码往往会损坏页面的美观。因此,有的研究者延续条码的思路,设计并实现了一些简易的图形码,可以在一些特定环境中获得很好的交互效果。First, continue the idea of barcodes and continue to explore possible marking forms. Print the barcode directly on the blank space of the paper as described above. Regardless of one-dimensional or two-dimensional, although it is possible to establish a simple connection of some multimedia data, barcodes often damage the beauty of the page when users require greater information expression. Therefore, some researchers continued the idea of barcodes, designed and implemented some simple graphic codes, which can obtain good interactive effects in some specific environments.

第二,利用增强现实、模式识别技术搭建的人机交互环境Second, the human-computer interaction environment built with augmented reality and pattern recognition technology

PaperLink(Arai,T.,Aust,D.,Hudson,S.:PaperLink:A Techniquefor Hyperlinking from Real Paper to Electronic Content,Proceedingsof the SIGCHI Conference on Human Factors in Computing Systems,pp.327-334,1997)是一个较早把摄像装置和纸笔联接在一起的系统,它能够记录人工标记并转成电子内容。Interactive Paper,PADD(Paper AugmentedDigital Documents),Insight Lab,LivePape等技术都可以看成是扩展的纸界面(Augmented Paper Interfaces),即把物理纸张或桌面摄录并输出,通过计算机的“视觉”来感知用户对纸的动作。根据用户手指、笔或一系列姿势与纸张的交互,来驱动文件操作或采集信息。以往,这些技术需把纸张限制在一个平面上,而新近提出的Paperwindow则可以在三维的空间中使用,描绘了更加人性化的数字纸张模拟环境。PaperLink (Arai, T., Aust, D., Hudson, S.: PaperLink: A Technique for Hyperlinking from Real Paper to Electronic Content, Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, pp.327-334, 1997) is a An earlier system that linked a camera device with a pen and paper, which was able to record manual markings and convert them into electronic content. Technologies such as Interactive Paper, PADD (Paper Augmented Digital Documents), Insight Lab, and LivePape can all be regarded as extended paper interfaces (Augmented Paper Interfaces), that is, to record and output physical paper or desktop, and perceive it through the "vision" of the computer The user's actions on the paper. Drive file operations or capture information based on the interaction of the user's finger, pen, or a series of gestures with the paper. In the past, these technologies needed to limit paper to a plane, but the newly proposed Paperwindow can be used in three-dimensional space, depicting a more humane digital paper simulation environment.

此类方法的不足是:仍处于探索阶段,且依赖复杂的摄像或扫描设备。The downside of such methods is that they are still exploratory and rely on complex camera or scanning equipment.

第三,利用精细图案表示并排入数据Third, represent and arrange data with fine patterns

Nakagawa提出的“活动表格”(active form)采用特殊的精细图案作为表格的边框,利用微小斜线的方向及其组合表示数据,同时用它们隔离用户手写的的数据,以便设备可以自适应地分析和辨认(Shimamura,T.,Bilan Zhu,Masuda,A.,Onuma,M.,Sakurada,T.,Nakagawa,M.:A Prototype of anActive Form System,Proceedings of the Seventh InternationalConference on Document Analysis and Recognition,pp.921-925,2003)。David L.Hecht提出的“DataGlyph”也是使用斜线“\”和“/”来记录数据,见文献“Printed Embedded Data Graphical User Interfaces”(IEEEComputer,March 2001),所不同的是,DataGlyph可改变线的长宽、颜色来合成图形甚至图像,以期达到不破坏页面的外观就可以记录大量的信息的目的。就不损坏页面而言,Koichi Kise也提出过另一种能记录更多信息的方法,该方法是通过在页面的空白背景上印刷精细点阵来记录数据,若干点构成一个单元,在一个单元的区域内不同的排列方式可构成不同的编码信息,这些点同页面上的文字相比显得较小,以降低他们对人眼阅读的干扰(Kise,K.,Miki,Y.,Matsumoto,K.:Stippling Data on Backgrounds of Pages-Toward Seamless Integration of Paper and Electronic Documents,Proceedings of the Seventh International Conference on DocumentAnalysis and Recognition,pp.1213-1217,2003)。The "active form" proposed by Nakagawa uses a special fine pattern as the border of the table, uses the direction and combination of tiny slashes to represent data, and uses them to isolate the data handwritten by the user so that the device can analyze it adaptively and recognition (Shimamura, T., Bilan Zhu, Masuda, A., Onuma, M., Sakurada, T., Nakagawa, M.: A Prototype of an Active Form System, Proceedings of the Seventh International Conference on Document Analysis and Recognition, pp .921-925, 2003). The "DataGlyph" proposed by David L. Hecht also uses slashes "\" and "/" to record data. See the document "Printed Embedded Data Graphical User Interfaces" (IEEE Computer, March 2001). The length, width, and color of the page can be used to synthesize graphics and even images, in order to achieve the purpose of recording a large amount of information without destroying the appearance of the page. In terms of not damaging the page, Koichi Kise also proposed another method to record more information. This method is to record data by printing a fine dot matrix on the blank background of the page. Several dots form a unit. Different arrangements in the area can constitute different coded information, and these points appear smaller compared with the text on the page, so as to reduce their interference to human reading (Kise, K., Miki, Y., Matsumoto, K .: Stippling Data on Backgrounds of Pages-Toward Seamless Integration of Paper and Electronic Documents, Proceedings of the Seventh International Conference on Document Analysis and Recognition, pp.1213-1217, 2003).

然而,将暗纹应用在实际的出版印刷领域并非易事,人们通常的做法是:However, it is not easy to apply obscurity to the actual publishing and printing field. People usually do it as follows:

1、对于暗纹单元不够精细的暗纹如条码,人们主要是利用出版物版面的空白区域铺设信息,将暗纹图片人工贴在空白区域,效率低,且无法达到暗纹与内容同步的效果。1. For dark lines such as barcodes whose dark lines are not fine enough, people mainly use the blank area of the publication layout to lay information, and manually paste the dark picture on the blank area, which is inefficient and cannot achieve the effect of synchronizing the dark lines with the content .

2、对于精细的不干扰人眼阅读的暗纹,要达到与内容同步的效果,需要人工去选择大量的暗纹图片,采用人工对位的方法将暗纹放在合适的位置。2. For fine dark lines that do not interfere with human reading, in order to achieve the effect of synchronizing with the content, it is necessary to manually select a large number of dark picture pictures, and use manual alignment to place the dark lines in a suitable position.

上述做法制作效率低下,在一定程度上阻碍了暗纹技术的发展应用,也限制了纸质媒体的跨媒体连接。The production efficiency of the above method is low, which hinders the development and application of dark pattern technology to a certain extent, and also limits the cross-media connection of paper media.

发明内容Contents of the invention

针对现有技术中存在的缺陷,本发明的目的是提供一种版面中嵌入暗纹的方法,采用该方法能够解决暗纹嵌入不能与其对应内容同步及手工嵌入效率低下的问题,并且不影响印刷物的美观度,不干扰人们的阅读。In view of the defects in the prior art, the purpose of the present invention is to provide a method for embedding dark lines in the layout, which can solve the problems that the embedding of dark lines cannot be synchronized with the corresponding content and the low efficiency of manual embedding, and does not affect the printed matter. The beauty of the text does not interfere with people's reading.

为达到以上目的,本发明采用的技术方案是:一种版面中嵌入暗纹的方法,包括以下步骤:In order to achieve the above purpose, the technical solution adopted by the present invention is: a method for embedding dark lines in a layout, comprising the following steps:

a.为所有的暗纹单元统一编号;a. Unified numbers for all dark grain units;

b.建立暗纹单元与字符或字符串的对应数据表,所述的字符串是词语或句子;b. Establish the corresponding data table of dark pattern unit and character or character string, described character string is word or sentence;

c.选中要添加暗纹单元的目标内容,发出添加暗纹指令,排版系统自动检索对应数据表,看其是否有与该内容对应的暗纹单元,如果没有,则结束处理,如果有,则自动对该目标内容添加暗纹标记,标记其对应的暗纹编号;c. Select the target content to add the dark grain unit, issue the command to add dark grain, the typesetting system will automatically search the corresponding data table to see if there is a dark grain unit corresponding to the content, if not, end the processing, if yes, then Automatically add a dark pattern mark to the target content, and mark its corresponding dark pattern number;

d.排版系统根据暗纹标记,自动计算出当前目标内容的排版区域,用对应编号的暗纹单元填充目标内容所在的排版区域;d. The typesetting system automatically calculates the typesetting area of the current target content according to the dark pattern mark, and fills the typesetting area where the target content is located with the corresponding numbered dark pattern unit;

e.排版系统发排生成PS文件,即页面描述语言文件,暗纹信息被写入PS文件。e. The typesetting system generates a PS file, that is, a page description language file, and the dark pattern information is written into the PS file.

进一步,所述的字符串包括数字、汉字、中文单词、英文字母和英文单词。Further, the character string includes numbers, Chinese characters, Chinese words, English letters and English words.

进一步,步骤c中,当选中的目标内容对应多个暗纹单元时,由用户进行选择,然后对该内容做上标记,标记其对应的暗纹编号。Further, in step c, when the selected target content corresponds to multiple dark pattern units, the user selects, and then marks the content and marks its corresponding dark pattern number.

进一步,步骤d中,对目标内容作出暗纹标记后,在排版系统发排时,先将整个版面都铺上空白码,然后再用对应的暗纹单元替换空白码,所述的空白码是不指向任何字符或字符串的暗纹单元,是由用户或系统来指定的。Further, in step d, after marking the target content with a dark pattern, when the typesetting system sends out the typesetting system, first lay the blank code on the entire layout, and then replace the blank code with the corresponding dark pattern unit, and the blank code is A shaded unit that does not point to any character or string is specified by the user or the system.

更进一步,进行替换时,排版区域左边缘和上边缘的空白码分别使用隔离码替代,所述的隔离码是不指向任何字符或字符串的暗纹单元,是由用户或系统来指定的。Furthermore, when replacing, the blank codes on the left edge and the upper edge of the typesetting area are respectively replaced with isolation codes. The isolation codes are dark pattern units that do not point to any characters or character strings, and are specified by the user or the system.

进一步,步骤d中,添加暗纹时,以字符为单位,在每个字符的版面排版区域嵌入与该字符对应的暗纹。或者,以词为单位,在词中每个字符的版面排版区域嵌入与该词对应的暗纹。或者,以句子为单位,在句子中每个字符的版面排版区域嵌入与该句子对应的暗纹。Further, in step d, when adding the dark pattern, the dark pattern corresponding to the character is embedded in the layout area of each character in units of characters. Or, taking a word as a unit, a dark pattern corresponding to the word is embedded in the layout area of each character in the word. Or, taking a sentence as a unit, embedding a dark pattern corresponding to the sentence in the layout area of each character in the sentence.

进一步,所述的暗纹单元是由10-20个精细的点排列而成,最好是16个精细的点。步骤d中用对应编号的暗纹单元填充目标内容所在的排版区域时,所填充的暗纹单元的大小在0.8mm*0.8mm到1.5mm*1.5mm之间,最好是1.35mm*1.35mm。印刷时的印刷精度大于或等于1200dpi。Further, the dark grain unit is formed of 10-20 fine dots, preferably 16 fine dots. When filling the typesetting area where the target content is located with the corresponding numbered dark grain unit in step d, the size of the filled dark grain unit is between 0.8mm*0.8mm and 1.5mm*1.5mm, preferably 1.35mm*1.35mm . The printing accuracy during printing is greater than or equal to 1200dpi.

进一步,所述的暗纹单元是BMP格式的图片,步骤e中,将暗纹单元的BMP格式的图片转换为专色空间的EPS格式的图片,然后在PS文件输出时将暗纹单元输出在专色版上。Further, the dark grain unit is a picture in BMP format. In step e, the picture in the BMP format of the dark grain unit is converted into a picture in the EPS format of the spot color space, and then the dark grain unit is output in the PS file output. On the spot color version.

本发明的效果在于:采用本发明所述的方法,可以自动将暗纹嵌入版面中正确的位置,该位置既可以是版面中的空白区域,也可以是有内容的区域。且印刷出来后不破坏版面的美观度。从而方便实现出版物的跨媒体连接。本发明所述的方法不仅可以应用于出版印刷领域,同时也能应用于物流领域等,依照本发明所述方法制成的隐形标签,可以方便快捷的实现物品配送。The effect of the present invention is that: by adopting the method described in the present invention, the dark pattern can be automatically embedded in the correct position in the layout, and the position can be either a blank area in the layout or an area with content. And it will not damage the aesthetics of the layout after printing. This facilitates the cross-media connection of publications. The method of the present invention can be applied not only to the field of publishing and printing, but also to the field of logistics, etc. The invisible label made according to the method of the present invention can conveniently and quickly realize the distribution of articles.

附图说明Description of drawings

图1是版面中嵌入暗纹的流程图;Figure 1 is a flow chart of embedding dark lines in the layout;

图2是一维条码和二维条码的示意图;Fig. 2 is a schematic diagram of a one-dimensional barcode and a two-dimensional barcode;

图3是放大后的4个相同暗纹单元的示意图;Fig. 3 is a schematic diagram of four identical dark grain units enlarged;

图4是英文单词China下重复嵌入56个暗纹单元后的示意图;Figure 4 is a schematic diagram of the repeated embedding of 56 dark grain units under the English word China;

图5是英文单词China下重复嵌入56个暗纹单元后的放大示意图。Figure 5 is an enlarged schematic diagram of the repeated embedding of 56 dark grain units under the English word China.

具体实施方式Detailed ways

下面结合说明书附图和具体实施方式,对本发明作进一步的阐述:Below in conjunction with accompanying drawing of description and specific embodiment, the present invention is further elaborated:

实施例1:Example 1:

如图1所示,一种版面中嵌入暗纹的方法,包括以下步骤:As shown in Figure 1, a method for embedding dark lines in a layout includes the following steps:

(1)为所有的暗纹单元统一编号;(1) Unified numbering for all dark grain units;

本实施例中,所要嵌入的暗纹是Clevercode(聪明码),Clevercode是目前研究中暗纹单元的图形化表达最精细和隐蔽的一种暗纹,它是由4*4共计16个精细的点按照一定的排列方式排在大约1.35mm*1.35mm的区域内,按照点的不同排列方式能够产生不同的暗纹,目前可以组成65536个不同的暗纹(或称暗纹单元或暗纹图片),其编号为:0-65535,暗纹的文件格式为BMP图片。印刷时使用普通的含碳油墨印刷,精度大于1200dpi,则可以被现有的识别设备识别,且印刷出的暗纹用肉眼难以分辨。In this embodiment, the dark pattern to be embedded is Clevercode (smart code). Clevercode is the most refined and concealed dark pattern in the graphic expression of the dark pattern unit in the current research. It consists of 16 fine patterns in total of 4*4 The dots are arranged in an area of about 1.35mm*1.35mm according to a certain arrangement, and different dark patterns can be produced according to different arrangements of the dots. At present, 65536 different dark patterns (or dark pattern units or dark pattern pictures) can be formed ), its number is: 0-65535, and the file format of the dark pattern is a BMP image. When printing with ordinary carbon-containing ink, the accuracy is greater than 1200dpi, which can be recognized by existing recognition equipment, and the printed dark lines are difficult to distinguish with the naked eye.

(2)建立一个暗纹单元与字符串(字符、词语或句子)的数据对应表。(2) Establish a data correspondence table between dark pattern units and character strings (characters, words or sentences).

所述的暗纹单元的具体数量可以根据用户的需要来确定。本实施例中,Clevercode的65536个暗纹单元与GBK编码的21003个字符和常用的26000个英文单词建立了暗纹对应数据表。空余的暗纹单元,用户可以自己根据需要建立自定义内容与暗纹编号对应的数据表;The specific number of the dark grain units can be determined according to the needs of users. In this embodiment, 65536 dark pattern units of Clevercode, 21003 characters encoded by GBK and 26000 commonly used English words establish a dark pattern corresponding data table. For the spare dark pattern unit, the user can create a data table corresponding to the custom content and the dark pattern number according to the needs;

(3)选中要添加暗纹的目标内容,选择添加暗纹指令,排版系统自动检索数据对应表;(3) Select the target content to add dark lines, select the command to add dark lines, and the typesetting system automatically retrieves the data correspondence table;

本实施例中,对英文单词“China”嵌入Clevercode暗纹单元,首先选中“China”,发出添加暗纹指令,排版系统自动检索对应数据表,In this embodiment, the English word "China" is embedded in the Clevercode dark pattern unit, first select "China", issue the command to add dark patterns, and the typesetting system automatically retrieves the corresponding data table,

1)如果数据对应表中没有与“China”对应的暗纹单元,则排版系统不做处理;1) If there is no dark pattern unit corresponding to "China" in the data correspondence table, the typesetting system will not process it;

2)如果数据对应表中有与“China”对应的唯一的暗纹单元,则排版系统自动对其做上暗纹标记,标记其对应的暗纹单元编号;2) If there is a unique dark-grain unit corresponding to "China" in the data correspondence table, the typesetting system will automatically mark it with a dark-grain mark and mark its corresponding dark-grain unit number;

对于Clevercode暗纹单元建立的暗纹对应数据表,有时一个字符串对应两个以上的暗纹单元,当排版系统检索到两个以上的对应暗纹单元时,排版系统提示用户进行选择。如对“¥”添加暗纹,排版系统检索到两个对应的暗纹单元:196号(对应人民币)与197号(对应日元),这时,系统提示用户选择“人民币”或“日元”,用户选择人民币,则标记196号暗纹单元;选择日元,则标记197号暗纹单元。For the dark pattern corresponding data table created by the Clevercode dark pattern unit, sometimes a character string corresponds to more than two dark pattern units. When the typesetting system retrieves more than two corresponding dark pattern units, the typesetting system prompts the user to make a choice. For example, adding a dark pattern to "¥", the typesetting system retrieves two corresponding dark pattern units: No. 196 (corresponding to RMB) and No. 197 (corresponding to Japanese Yen). At this time, the system prompts the user to select "RMB" or "Japanese Yen". ", the user selects RMB, then marks No. 196 dark pattern unit; selects Japanese Yen, then marks No. 197 dark pattern unit.

同时,对于多音字,Clevercode暗纹单元建立的暗纹对应数据表,能够让用户通过选择需要的读音来标记相应的要添加的暗纹单元。At the same time, for polyphonic characters, the dark pattern corresponding data table established by the Clevercode dark pattern unit allows users to mark the corresponding dark pattern unit to be added by selecting the required pronunciation.

(4)为了使印刷出来的版面有相同的灰度阶,排版系统发排,将整个排版区域从起点坐标开始依次排入无意义的空白码,该空白码是和其他Clevercode暗纹单元类似的暗纹图片,是不指向任何字符或字符串的暗纹单元,是由用户或系统来指定的。(4) In order to make the printed layout have the same gray scale, the typesetting system arranges the entire typesetting area from the starting point coordinates into meaningless blank codes, which are similar to other Clevercode dark pattern units The dark pattern picture is a dark pattern unit that does not point to any character or character string, and is specified by the user or the system.

(5)排版系统根据步骤(3)所作的暗纹标记,计算“China”的排版区域。首先程序记录首字符“C”的起点坐标即为排版区域的起点;高度是字高,由字号决定;宽度是由这五个字符的宽度累加而得到,这样就可以计算出通过排版算法取得该排版区域的左上角坐标和排版区域的宽和高。遇到“China”在一行排不下要换行时,系统会在要换行的位置做上标记,相当于将″China″分成两部分来添加同样的暗纹,第一部分为“China”的首字符“C”到本行末,第二部分为另行的行首至″China″的尾字符“a”。(5) The typesetting system calculates the typesetting area of "China" according to the dark mark made in step (3). Firstly, the coordinates of the starting point of the first character "C" recorded by the program is the starting point of the typesetting area; the height is the character height, which is determined by the font size; The coordinates of the upper left corner of the layout area and the width and height of the layout area. When "China" does not fit in a line and needs to be changed, the system will mark the position where the line needs to be changed, which is equivalent to dividing "China" into two parts to add the same dark pattern. The first part is the first character of "China". C" to the end of the line, and the second part is the character "a" from the beginning of the line to the end of "China".

(6)排版系统将排版区域内的空白码用目标暗纹替代,同时为了减少硬件识别时的干扰,对于排版区域左边缘和上边缘的空白码分别使用隔离码替代,所述的隔离码也是和其他Clevercode暗纹单元类似的暗纹图片,是不指向任何字符或字符串的暗纹单元,是由用户或系统来指定的。(6) The typesetting system replaces the blank codes in the typesetting area with the target dark pattern. At the same time, in order to reduce the interference during hardware recognition, the blank codes on the left edge and upper edge of the typesetting area are replaced by isolation codes. The isolation codes are also Similar to other Clevercode dark pattern units, it is a dark pattern unit that does not point to any character or character string, and is specified by the user or the system.

本实施例中,在英文单词“China”每个字符的排版区域嵌入对应的暗纹单元,共重复嵌入了56个暗纹单元,如图5所示。In this embodiment, a corresponding dark pattern unit is embedded in the typesetting area of each character of the English word "China", and a total of 56 dark pattern units are repeatedly embedded, as shown in FIG. 5 .

(7)排版系统发排生成PS(页面描述语言)文件,暗纹信息被写入PS文件;(7) The typesetting system generates a PS (page description language) file, and the dark pattern information is written into the PS file;

本实施例中,将步骤(1)中的暗纹单元的BMP格式的图片转为专色空间的EPS格式的图片,PS文件输出时将暗纹单元输出在专色版上。In this embodiment, the picture in BMP format of the dark texture unit in step (1) is converted into a picture in EPS format of the spot color space, and the dark texture unit is output on the spot color plate when the PS file is output.

(8)PS文件经RIP解释后,印制版面中的暗纹图片,如图4所示。(8) After the PS file is interpreted by RIP, the dark grain picture in the printed layout is printed, as shown in Figure 4.

实施例2:Example 2:

其他步骤与实施例1相同,不同之处在于步骤(3)中,选中要添加暗纹的目标内容,选择添加暗纹指令,排版系统自动检索数据对应表,添加暗纹时是以字符为单位来添加的,如:在字母“C”所在排版区域内嵌入与“C”对应的暗纹单元,在字母“h”所在排版区域内嵌入与“h”对应的暗纹单元,在其他i、n、a三个字母各自所在的排版区域内嵌入与这三个字母分别对应的暗纹单元。Other steps are the same as in Example 1, the difference is that in step (3), select the target content to add dark lines, select the command to add dark lines, the typesetting system automatically retrieves the data correspondence table, and adds dark lines in units of characters To add, such as: embed the dark pattern unit corresponding to "C" in the typesetting area where the letter "C" is located, embed the dark line unit corresponding to "h" in the typesetting area where the letter "h" is located, and in other i, In the typesetting areas where the three letters n and a are respectively located, dark pattern units corresponding to the three letters are respectively embedded.

在计算各个字母的排版区域时,采用的方法是根据当前字体和字号,从字库中取得相应字母的字宽,而所有的字母高度相同,即为当前行的字高,这样每个字母的排版区域可计算为字宽*字高。When calculating the typesetting area of each letter, the method used is to obtain the width of the corresponding letter from the font library according to the current font and font size, and all the letters have the same height, which is the height of the current line, so that the typesetting of each letter The area can be calculated as character width * character height.

本发明所述的方法具有极其广泛地用途,比如可用于物流领域,用于制作各个商品的隐形标签。通过各个商品上的隐形标签及相应的识别设备可以知道有关该商品的相关信息。比如采用本发明所述的在版面中嵌入暗纹的方法及实施例1中所述的聪明码,在商品的外包装盒、产品说明书、产品合格证等相关资料的相应文字下面嵌入与该文字对应的暗纹单元。一方面,所嵌入的暗纹不会影响这些资料的外观,也不会干扰人们的阅读。另一方面,通过相应的手持识别设备,可以识别这些资料上所嵌入的暗纹,进一步知悉该暗纹所代表的相关信息(文字、词语等),而且还能通过手持识别设备上的发音装置发出相应文字、词语的语音信息。例如,某一商品为电冰箱,在电冰箱的外包装盒上的“冰箱”这两个字所在版面区域内嵌入与“冰箱”这个词语相对应的暗纹单元,当手持识别设备点到“冰箱”两个字的时候就会发出“冰箱”的语音。当然,与“冰箱”这个词语相对应的暗纹单元也可以嵌入到用户指定的其他任何位置,如外包装箱上冰箱图片的下面或是其他区域。The method described in the present invention has extremely wide applications, for example, it can be used in the field of logistics and used to make invisible labels for various commodities. The relevant information about the commodity can be known through the invisible label on each commodity and the corresponding identification equipment. For example, adopt the method of embedding dark patterns in the layout of the present invention and the smart code described in Embodiment 1, and embed the text below the corresponding text of the relevant materials such as the outer packaging box of the commodity, the product manual, the product certificate, etc. Corresponding dark grain unit. On the one hand, the embedded dark lines do not affect the appearance of these materials and do not interfere with people's reading. On the other hand, through the corresponding handheld identification device, it is possible to identify the dark lines embedded in these materials, and further know the relevant information (text, words, etc.) Send out the voice information of the corresponding characters and words. For example, if a product is a refrigerator, a dark pattern unit corresponding to the word "refrigerator" is embedded in the layout area where the word "refrigerator" is located on the outer packaging box of the refrigerator. When the word "refrigerator" is used, the voice of "refrigerator" will be issued. Of course, the dark pattern unit corresponding to the word "refrigerator" can also be embedded in any other position specified by the user, such as under the picture of the refrigerator on the outer packing box or in other areas.

由于使用该高精度的暗纹单元图片组成的隐形标签肉眼难以分辨,它可以铺在物品包装的任何位置,可以铺在文字或图片的下面而不影响物品包装的外观;同时,它易于被识别,识读时无需去找标签所在的位置,只要结合识别设备即可很好的实现物品的互联网连接,从而可以更好的实现物品信息的存储及防伪验证,方便快捷地实现物流配送。Since the invisible label composed of high-precision dark grain unit pictures is difficult to distinguish with the naked eye, it can be placed anywhere on the item package, and can be placed under text or pictures without affecting the appearance of the item package; at the same time, it is easy to be identified , There is no need to find the location of the label when reading, as long as it is combined with the identification device, the Internet connection of the item can be well realized, so that the storage of item information and anti-counterfeiting verification can be better realized, and the logistics distribution can be realized conveniently and quickly.

另外,通过以上实施例还可以看出,采用本发明所述的方法可以在排版系统能够输出的任何版面中嵌入想要嵌入的暗纹,这些暗纹可以是与版面中各个字符或字符串相对应的暗纹,也可以是用户自己定义的暗纹。通过手持识别设备,可以读取并识别这些嵌入的暗纹单元,然后通过手持识别设备本身或与手持识别设备连接的其他信息处理装置进一步获取这些暗纹单元所对应的字符、字符串(词语或句子)并发出相应的声音,或者是获得用户自己定义的图片、声音、视频等其他信息。不难想象,如果以后的各类出版物都采用本发明所述的方法嵌入实施例1中所述的聪明码的话,那么,这些出版物结合手持识别设备,就可以解决盲人阅读的问题。人们只要拿手持识别设备放在这些出版物的页面上面,然后通过手持识别设备发出相应的声音信息,这样不用眼睛看就可以知道页面上的文字内容或其他信息内容,这将会彻底解决盲人阅读的问题,而这类出版物又不会干扰正常人的肉眼阅读。In addition, it can also be seen from the above embodiments that the method of the present invention can be used to embed the desired dark lines in any layout that the typesetting system can output. These dark lines can be related to each character or string in the layout. The corresponding dark pattern can also be a dark pattern defined by the user. Through the handheld identification device, these embedded dark pattern units can be read and identified, and then the characters, character strings (words or characters) corresponding to these dark pattern units can be further obtained through the handheld identification device itself or other information processing devices connected to the handheld identification device. sentences) and emit corresponding sounds, or obtain user-defined pictures, sounds, videos and other information. It is not difficult to imagine that if all kinds of publications in the future adopt the method described in the present invention to embed the smart code described in Embodiment 1, then these publications can solve the problem of reading for the blind by combining hand-held identification devices. People only need to put the hand-held identification device on the pages of these publications, and then send out the corresponding sound information through the hand-held identification device, so that they can know the text content or other information content on the page without looking at them, which will completely solve the blind reading problem. problems, and such publications do not interfere with the naked eye reading of normal people.

当然,本发明所述的方法并不限于具体实施方式中所述的实施例,比如,步骤(1)中要嵌入的暗纹单元还可以是其他类型的暗纹单元,并不局限于实施例中所提到的聪明码Clevercode。不同暗纹单元的具体数量可以根据用户的需要进行设定并制作,不一定要制作出65536个不同的暗纹单元。对于由精细的点排列而成的暗纹单元,每个暗纹单元内精细点的数量和排列方式也可以灵活地设置。在排版时,每个暗纹单元的大小可以根据字体的大小灵活地调整,比如对于大字体,暗纹单元的大小可以适当地大一些,对于小字体,暗纹单元的大小可以适当地小一些,大小是否合适要看最终印出的暗纹是否干扰人们的阅读,影响版面的外观。当然,本领域技术人员根据本发明的技术方案得出其他的实施方式,同样属于本发明的技术创新范围。Certainly, the method described in the present invention is not limited to the examples described in the specific implementation, for example, the dark pattern unit to be embedded in step (1) can also be other types of dark pattern units, and is not limited to the examples Clevercode mentioned in Clevercode. The specific number of different dark pattern units can be set and produced according to the needs of users, and it is not necessary to produce 65536 different dark pattern units. For the dark grain units arranged by fine dots, the number and arrangement of fine dots in each dark grain unit can also be flexibly set. During typesetting, the size of each dark-grain unit can be flexibly adjusted according to the size of the font. For example, for a large font, the size of the dark-grain unit can be appropriately larger, and for a small font, the size of the dark-grain unit can be appropriately smaller Whether the size is appropriate depends on whether the final printed dark lines interfere with people's reading and affect the appearance of the layout. Of course, those skilled in the art can derive other implementations according to the technical solutions of the present invention, which also belong to the technical innovation scope of the present invention.

Claims (14)

1. embed the method for dark line in the space of a whole page, may further comprise the steps:
A. be all unified numberings in dark line unit;
B. set up the corresponding data table of dark line unit and character, character string, described character string is word or sentence;
C. choose the object content that will add dark line unit, send and add dark line instruction, composing system is retrieved the corresponding data table automatically, see whether it has the dark line unit corresponding with this object content, if no, end process then is if having, then automatically this object content is added dark line mark, the dark line numbering of its correspondence of mark;
D. composing system calculates the one layout region of current goal content automatically according to dark line mark, fills the one layout region at object content place with the dark line unit of reference numeral;
E. composing system is sent a manuscript to the compositor and is generated the PS file, i.e. page-description language file, and dark line information is written into the PS file.
2. embed the method for dark line in a kind of space of a whole page as claimed in claim 1, it is characterized in that: among the step b, described character string comprises numeral, Chinese character, Chinese word, English alphabet and English word.
3. embed the method for dark line in a kind of space of a whole page as claimed in claim 1, it is characterized in that: among the step c, during the corresponding a plurality of dark lines of object content unit in elected, selected by the user, then this content is done mark, the dark line of its correspondence of mark is numbered.
4. embed the method for dark line in a kind of space of a whole page as claimed in claim 3, it is characterized in that: in the steps d, after object content made dark line mark, when composing system is sent a manuscript to the compositor, earlier the whole space of a whole page is all spread blank code, and then replace blank code with corresponding dark line unit, described blank code is the dark line unit that does not point to any character or character string, comes appointment by user or system.
5. embed the method for dark line in a kind of space of a whole page as claimed in claim 4, it is characterized in that: when replacing, the blank code of one layout region left hand edge and coboundary uses barrier code to substitute respectively, described barrier code is the dark line unit that does not point to any character or character string, comes appointment by user or system.
6. embed the method for dark line in a kind of space of a whole page as claimed in claim 5, it is characterized in that: in the steps d, when adding dark line, be unit, embed the dark line corresponding with this character in the space of a whole page one layout region of each character with the character.
7. embed the method for dark line in a kind of space of a whole page as claimed in claim 5, it is characterized in that: in the steps d, when adding dark line, be unit with the speech, the space of a whole page one layout region of each character embeds the dark line corresponding with this speech in speech.
8. embed the method for dark line in a kind of space of a whole page as claimed in claim 5, it is characterized in that: in the steps d, when adding dark line, be unit with the sentence, then the space of a whole page one layout region of each character embeds the dark line corresponding with this sentence in sentence.
9. as embedding the method for dark line in described a kind of space of a whole page one of in the claim 1 to 8, it is characterized in that: described dark line unit is to be arranged by 10 to 20 meticulous points to form, when filling the one layout region at object content place with the dark line unit of reference numeral in the steps d, the size of the dark line unit of being filled at 0.5mm*0.5mm between the 2mm*2mm.
10. embed the method for dark line in a kind of space of a whole page as claimed in claim 9, it is characterized in that: described dark line unit is to be arranged by 16 meticulous points to form, and the size of dark line unit is 1.35mm*1.35mm.
11. embed the method for dark line in a kind of space of a whole page as claimed in claim 10, it is characterized in that: the printing precision during printing is more than or equal to 1200dpi.
12. as embedding the method for dark line in described a kind of space of a whole page one of in the claim 1 to 8, it is characterized in that: described dark line unit is the picture of BMP form.
13. embed the method for dark line in a kind of space of a whole page as claimed in claim 9, it is characterized in that: among the step e, the picture of the BMP form of dark line unit is converted to the picture of the EPS form of the special color space, then when the PS file is exported with the output of dark line unit on special look version.
14. embed the method for dark line in a kind of space of a whole page as claimed in claim 11, it is characterized in that: described dark line unit is the picture of BMP form, among the step e, the picture of the BMP form of dark line unit is converted to the picture of the EPS form of the special color space, then when the PS file is exported with the output of dark line unit on special look version.
CN200610089129A 2006-08-04 2006-08-04 A Method of Embedding Dark Patterns in Layout Expired - Fee Related CN1912864B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610089129A CN1912864B (en) 2006-08-04 2006-08-04 A Method of Embedding Dark Patterns in Layout

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610089129A CN1912864B (en) 2006-08-04 2006-08-04 A Method of Embedding Dark Patterns in Layout

Publications (2)

Publication Number Publication Date
CN1912864A true CN1912864A (en) 2007-02-14
CN1912864B CN1912864B (en) 2010-05-12

Family

ID=37721804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610089129A Expired - Fee Related CN1912864B (en) 2006-08-04 2006-08-04 A Method of Embedding Dark Patterns in Layout

Country Status (1)

Country Link
CN (1) CN1912864B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102496137A (en) * 2011-12-16 2012-06-13 方正国际软件有限公司 Method and device for dynamically generating watermark
CN106611434A (en) * 2015-10-26 2017-05-03 北大方正集团有限公司 Drawing method and drawing device of text shading
CN108099416A (en) * 2017-12-14 2018-06-01 格力电器(武汉)有限公司 Bar code visual inspection frock

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102496137A (en) * 2011-12-16 2012-06-13 方正国际软件有限公司 Method and device for dynamically generating watermark
CN106611434A (en) * 2015-10-26 2017-05-03 北大方正集团有限公司 Drawing method and drawing device of text shading
CN108099416A (en) * 2017-12-14 2018-06-01 格力电器(武汉)有限公司 Bar code visual inspection frock
CN108099416B (en) * 2017-12-14 2019-09-03 格力电器(武汉)有限公司 Bar code visual inspection frock

Also Published As

Publication number Publication date
CN1912864B (en) 2010-05-12

Similar Documents

Publication Publication Date Title
US11687739B2 (en) Decoder and encoder for a digital fingerprint code
JP4975109B2 (en) Two-dimensional code, decoding method thereof, and printed publication to which the two-dimensional code is applied
CN101375278B (en) Strategies for processing annotations
US7397949B2 (en) Serial storage of ink and its properties
US7006711B2 (en) Transform table for ink sizing and compression
US20040139391A1 (en) Integration of handwritten annotations into an electronic original
US20130181995A1 (en) Handwritten character font library
US20130036113A1 (en) System and Method for Automatically Providing a Graphical Layout Based on an Example Graphic Layout
US6956970B2 (en) Information storage using tables and scope indices
JP2004246577A (en) Image processing method
CN1912864A (en) Method of embedding dark lines in sheet
CN102591849B (en) Document format conversion method and device
CN112417087B (en) Text-based tracing method and system
US7343053B2 (en) Transform table for ink sizing and compression
CN1256689C (en) Method for forming hand-written texts and storage method thereof
Parhami Computers and challenges of writing in Persian: Explorations at the intersection of culture and technology
CN2563645Y (en) Reading material convenient for information electronization and device for forming said reading material
CN100392582C (en) A processing method for automatic numbering
Xie et al. D-Note: computer-aided digital note taking system on physical book
JP3823005B2 (en) Bitmap font creation device and document restoration device
CN117975468A (en) Braille recognition and translation method and system based on deep learning
Impedovo et al. New Trends in Digital Scanning Processes
UA4039U (en) METHOD OF AUTOMATED DOCUMENT PROCESSING
Bansal et al. A Theoretical Review on Optical Character Recognition
Shim et al. Topological graph matching based dot pattern recognition scheme for smart book

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: 20100512