Disclosure of Invention
Based on the problems, the invention provides a new technical scheme, which can effectively improve the work efficiency of book checking and typesetting.
In view of this, the first aspect of the present invention provides a method for transmitting book checking information, including: generating an identification code for each of a plurality of pages of a sample book; printing the corresponding identification code on each page so that the checking personnel can annotate the page printed with the identification code; acquiring images of pages with annotation information in the multiple pages; acquiring page information according to the identification code in the image, and associating the page information with the image; and transmitting the page information and the image with the association relationship.
In the technical scheme, when the sample book is printed, an identification code corresponding to each page is printed on each page of the sample book, the identification code is used for acquiring page information of each page, for example, the page information includes a book ID, a part ID, a file ID, and a page ID, and the identification code includes, but is not limited to, a bar code or a two-dimensional code. After the approval of the reviewer on the page printed with the identification code is finished, the image of the page with the approval information is collected, the identification code is printed on the page, so that the identification code is also on the collected image of the page, the corresponding page information can be obtained according to the identification code in the image, and then the page information is associated and transmitted with the image, so that the book typesetter can directly obtain the image and the corresponding page information, the manual association of the page information with the image by a user is avoided, the error rate during page typesetting is reduced, the condition that the user gets the paper sample after the approval from the door is also avoided, and the efficiency of the book approval and typesetting is improved.
In the above technical solution, preferably, before the step of acquiring the image of the page with the annotation information in the plurality of pages, the method includes: counting the number of pages with annotation information in the plurality of pages; and determining the equipment for acquiring the image according to the quantity.
In the technical scheme, the equipment for acquiring the images of the pages is determined according to the number of the pages with the annotation information, so that the efficiency and the effect of acquiring the images are ensured. For example, when the number of pages having annotation information exceeds a preset number of pages, an automatic continuous feed scanner is used to capture images, otherwise, a high-speed photographing scanner is used to capture patterns. Of course, different image capturing devices may be selected according to other factors, for example, if the requirement for the definition of the captured image is high, the image is captured by using a scanner, and if the requirement for the definition of the captured image is not high, the image is captured by using a digital camera.
In any one of the above technical solutions, preferably, the step of obtaining page information according to the identification code in the image specifically includes: acquiring a character code corresponding to the identification code according to the identification code; and checking the character codes according to a preset code checking rule, and acquiring the page information according to the character codes when the checking is successful.
In the technical scheme, after the character code corresponding to the identification code in the image is identified, the identified character code is verified, and the page information is acquired when the verification is successful, so that the accuracy of the acquired page information is ensured.
In any of the above technical solutions, preferably, the character code is printed on each page; and further comprising: and when the verification fails, reminding a user of manually inputting the character codes so as to acquire the page information according to the manually input character codes.
In the technical scheme, the character codes corresponding to the identification codes are printed on each page, so that a user can manually input the codes on the page to acquire page information when the verification fails, the user is prevented from manually searching for the corresponding page information, and the reliability of acquiring the page information is ensured. The codes manually input by the user also need to be verified, and the verification does not pass the prompt so as to ensure the accuracy of the codes input by the user.
In any of the above technical solutions, preferably, the page information and the image having an association relationship are transmitted by an upper network protocol supporting segmented transmission.
In the technical scheme, page information and images are transmitted through an upper network protocol supporting segmented transmission, wherein the upper network protocol includes but is not limited to: FTP (File Transfer Protocol), HTTP (HyperText Transfer Protocol), especially when the data of page information and image is bigger, the breakpoint continuous transmission of big data can be realized, thereby enhancing the reliability and usability of the transmission of book checking information.
The second aspect of the present invention provides a book checking information transmission system, including: a generating unit for generating an identification code for each of a plurality of pages of a sample book; the printing unit is used for printing the corresponding identification code on each page so as to allow a checking and calibrating staff to annotate the page printed with the identification code; the acquisition unit is used for acquiring images of pages with annotation information in the multiple pages; the association unit is used for acquiring page information according to the identification code in the image and associating the page information with the image; and the transmission unit is used for transmitting the page information and the image which have the association relationship.
In the technical scheme, when the sample book is printed, an identification code corresponding to each page is printed on each page of the sample book, the identification code is used for acquiring page information of each page, for example, the page information includes a book ID, a part ID, a file ID, and a page ID, and the identification code includes, but is not limited to, a bar code or a two-dimensional code. After the approval of the reviewer on the page printed with the identification code is finished, the image of the page with the approval information is collected, the identification code is printed on the page, so that the identification code is also on the collected image of the page, the corresponding page information can be obtained according to the identification code in the image, and then the page information is associated and transmitted with the image, so that the book typesetter can directly obtain the image and the corresponding page information, the manual association of the page information with the image by a user is avoided, the error rate during page typesetting is reduced, the condition that the user gets the paper sample after the approval from the door is also avoided, and the efficiency of the book approval and typesetting is improved.
In the above technical solution, preferably, the method further includes: the statistical unit is used for counting the number of pages with the annotation information in the plurality of pages; and the determining unit is used for determining the equipment for acquiring the images according to the number.
In the technical scheme, the equipment for acquiring the images of the pages is determined according to the number of the pages with the annotation information, so that the efficiency and the effect of acquiring the images are ensured. For example, when the number of pages having annotation information exceeds a preset number of pages, an automatic continuous feed scanner is used to capture images, otherwise, a high-speed photographing scanner is used to capture patterns. Of course, different image capturing devices may be selected according to other factors, for example, if the requirement for the definition of the captured image is high, the image is captured by using a scanner, and if the requirement for the definition of the captured image is not high, the image is captured by using a digital camera.
In any one of the above technical solutions, preferably, the associating unit includes: and the obtaining subunit is used for obtaining the character code corresponding to the identification code according to the identification code, verifying the character code according to a preset code verification rule, and obtaining the page information according to the character code when verification is successful.
In the technical scheme, after the character code corresponding to the identification code in the image is identified, the identified character code is verified, and the page information is acquired when the verification is successful, so that the accuracy of the acquired page information is ensured.
In any of the above technical solutions, preferably, the character code is printed on each page; and the obtaining subunit is further configured to, when the verification fails, prompt the user to manually input the character code, so as to obtain the page information according to the manually input character code.
In the technical scheme, the character codes corresponding to the identification codes are printed on each page, so that a user can manually input the codes on the page to acquire page information when the verification fails, the user is prevented from manually searching for the corresponding page information, and the reliability of acquiring the page information is ensured. The codes manually input by the user also need to be verified, and the verification does not pass the prompt so as to ensure the accuracy of the codes input by the user.
In any of the above technical solutions, preferably, the page information and the image having an association relationship are transmitted by an upper network protocol supporting segmented transmission.
In the technical scheme, page information and images are transmitted through an upper network protocol supporting segmented transmission, wherein the upper network protocol includes but is not limited to: FTP (File Transfer Protocol), HTTP (HyperText Transfer Protocol), especially when the data of page information and image is bigger, the breakpoint continuous transmission of big data can be realized, thereby enhancing the reliability and usability of the transmission of book checking information.
By the technical scheme of the invention, the work efficiency of book checking and typesetting can be effectively improved.
Detailed Description
So that the manner in which the above recited objects, features and advantages of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to the embodiments thereof which are illustrated in the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
FIG. 1 is a flow chart illustrating a method for transmitting book checking information according to an embodiment of the present invention.
As shown in FIG. 1, a transmission method of book checking information according to an embodiment of the present invention comprises:
step 102, an identification code is generated for each of a plurality of pages of a sample book.
And 104, printing the corresponding identification code on each page, so that the checking personnel can annotate the page printed with the identification code.
And 106, acquiring images of pages with the annotation information in the multiple pages.
And 108, acquiring page information according to the identification code in the image, and associating the page information with the image.
And step 110, transmitting the page information and the image with the association relationship.
In the technical scheme, when the sample book is printed, an identification code corresponding to each page is printed on each page of the sample book, the identification code is used for acquiring page information of each page, for example, the page information includes a book ID, a part ID, a file ID, and a page ID, and the identification code includes, but is not limited to, a bar code or a two-dimensional code. After the approval of the reviewer on the page printed with the identification code is finished, the image of the page with the approval information is collected, the identification code is printed on the page, so that the identification code is also on the collected image of the page, the corresponding page information can be obtained according to the identification code in the image, and then the page information is associated and transmitted with the image, so that the book typesetter can directly obtain the image and the corresponding page information, the manual association of the page information with the image by a user is avoided, the error rate during page typesetting is reduced, the condition that the user gets the paper sample after the approval from the door is also avoided, and the efficiency of the book approval and typesetting is improved.
In the above technical solution, preferably, before step 106, the method includes: counting the number of pages with annotation information in the plurality of pages; and determining the equipment for acquiring the image according to the quantity.
In the technical scheme, the equipment for acquiring the images of the pages is determined according to the number of the pages with the annotation information, so that the efficiency and the effect of acquiring the images are ensured. For example, when the number of pages having annotation information exceeds a preset number of pages, an automatic continuous feed scanner is used to capture images, otherwise, a high-speed photographing scanner is used to capture patterns. Of course, different image capturing devices may be selected according to other factors, for example, if the requirement for the definition of the captured image is high, the image is captured by using a scanner, and if the requirement for the definition of the captured image is not high, the image is captured by using a digital camera.
In any one of the above technical solutions, preferably, the step of obtaining page information according to the identification code in the image specifically includes: acquiring a character code corresponding to the identification code according to the identification code; and checking the character codes according to a preset code checking rule, and acquiring the page information according to the character codes when the checking is successful.
In the technical scheme, after the character code corresponding to the identification code in the image is identified, the identified character code is verified, and the page information is acquired when the verification is successful, so that the accuracy of the acquired page information is ensured.
In any of the above technical solutions, preferably, the character code is printed on each page; and further comprising: and when the verification fails, reminding a user of manually inputting the character codes so as to acquire the page information according to the manually input character codes.
In the technical scheme, the character codes corresponding to the identification codes are printed on each page, so that a user can manually input the codes on the page to acquire page information when the verification fails, the user is prevented from manually searching for the corresponding page information, and the reliability of acquiring the page information is ensured. The codes manually input by the user also need to be verified, and the verification does not pass the prompt so as to ensure the accuracy of the codes input by the user.
In any of the above technical solutions, preferably, the page information and the image having an association relationship are transmitted by an upper network protocol supporting segmented transmission.
In the technical scheme, page information and images are transmitted through an upper network protocol supporting segmented transmission, wherein the upper network protocol includes but is not limited to: FTP (File Transfer Protocol), HTTP (HyperText Transfer Protocol), especially when the data of page information and image is bigger, the breakpoint continuous transmission of big data can be realized, thereby enhancing the reliability and usability of the transmission of book checking information.
FIG. 2 is a flow chart illustrating a method for transmitting book checking information according to another embodiment of the present invention.
As shown in FIG. 2, a transmission method of book checking information according to another embodiment of the present invention comprises:
step 202, submitting a typesetting file, for example, submitting the typesetting file sample.
And 204, rasterizing the page, specifically, rasterizing each page of the sample.
Step 206, generating a code of the page (i.e. the character code in the above), for example, according to the following rule: the number of page digits (1 digit) + page number (variable length) + file ID (4 digits) + check digit (1 digit). If the document ID is 1234 page number 567, the code generated is: 356712348.
in step 208, a two-dimensional code (in this embodiment, the identification code is a two-dimensional code) is generated, and the code 356712348 is embedded into the QRCode two-dimensional code with the error correction level H, so as to facilitate automatic identification by a subsequent program.
Step 210, embedding the code and the two-dimensional code into the page, and embedding the code 356712348 and the corresponding two-dimensional code into the specified position of the page lattice file generated in step 204 according to the preset position coordinates.
And step 212, printing and outputting the page, namely, the two-dimensional code and the code are arranged at the designated position in the printed page dot matrix file.
Pdf, all pages have been processed, step 214? When all pages are processed, step 216 is entered, otherwise, step 204 is entered for processing the next page.
And step 216, checking and annotating the paper pattern.
At step 218, are pages with annotations? That is, whether the number of pages with annotations exceeds the preset number of pages is determined, and if so, it is determined that there are many pages with annotations, and the process goes to step 220, otherwise, it is determined that there are not many pages with annotations, and the process goes to step 222.
Step 220, the automatic continuous paper feed scanner collects the paper pattern.
Step 222, the high-speed scanner collects the pattern.
And step 224, automatically identifying the two-dimensional code.
Step 226, whether the automatic identification is successful or not is judged, and step 232 is entered when the automatic identification is successful, otherwise step 228 is entered.
Step 228, manually enter the code.
And step 230, checking whether the verification is successful, and entering step 232 when the verification is successful, or entering step 228.
Step 232, associating the page information with the pattern image.
In step 234, the page information and the pattern image are transmitted, for example, the page information and the pattern image are transmitted to the typesetting client, and the typesetter obtains the pattern image and the corresponding page information through the typesetting client.
Through the technical scheme, the book typesetting and checking work flow is combed and integrated by utilizing an automatic technical means, the working efficiency is improved, the manual work errors are reduced, and the method has strong practical significance for optimizing the book typesetting and checking work flow.
Fig. 3 is a schematic structural diagram illustrating a transmission system of book checking information according to an embodiment of the present invention.
As shown in FIG. 3, a transmission system 300 of book checking information according to one embodiment of the present invention comprises: a generating unit 302, configured to generate an identification code for each of a plurality of pages of a sample book; the printing unit 304 is configured to print the identification code corresponding to each page, so that a reviewer can annotate the page printed with the identification code; the acquisition unit 306 is used for acquiring images of pages with annotation information in the multiple pages; an associating unit 308, configured to obtain page information according to the identification code in the image, and associate the page information with the image; a transmission unit 310, configured to transmit the page information and the image having an association relationship.
In the technical scheme, when the sample book is printed, an identification code corresponding to each page is printed on each page of the sample book, the identification code is used for acquiring page information of each page, for example, the page information includes a book ID, a part ID, a file ID, and a page ID, and the identification code includes, but is not limited to, a bar code or a two-dimensional code. After the approval of the reviewer on the page printed with the identification code is finished, the image of the page with the approval information is collected, the identification code is printed on the page, so that the identification code is also on the collected image of the page, the corresponding page information can be obtained according to the identification code in the image, and then the page information is associated and transmitted with the image, so that the book typesetter can directly obtain the image and the corresponding page information, the manual association of the page information with the image by a user is avoided, the error rate during page typesetting is reduced, the condition that the user gets the paper sample after the approval from the door is also avoided, and the efficiency of the book approval and typesetting is improved.
In the above technical solution, preferably, the method further includes: a counting unit 312, configured to count the number of pages with annotation information in the multiple pages; a determining unit 314 for determining the device for acquiring the image according to the number.
In the technical scheme, the equipment for acquiring the images of the pages is determined according to the number of the pages with the annotation information, so that the efficiency and the effect of acquiring the images are ensured. For example, when the number of pages having annotation information exceeds a preset number of pages, an automatic continuous feed scanner is used to capture images, otherwise, a high-speed photographing scanner is used to capture patterns. Of course, different image capturing devices may be selected according to other factors, for example, if the requirement for the definition of the captured image is high, the image is captured by using a scanner, and if the requirement for the definition of the captured image is not high, the image is captured by using a digital camera.
In any one of the above technical solutions, preferably, the associating unit 308 includes: the obtaining subunit 3082 is configured to obtain, according to the identification code, a character code corresponding to the identification code, check the character code according to a preset code check rule, and obtain, when the check is successful, the page information according to the character code.
In the technical scheme, after the character code corresponding to the identification code in the image is identified, the identified character code is verified, and the page information is acquired when the verification is successful, so that the accuracy of the acquired page information is ensured.
In any of the above technical solutions, preferably, the character code is printed on each page; and the obtaining subunit 3082 is further configured to, when the verification fails, prompt the user to manually input the character code, so as to obtain the page information according to the manually input character code.
In the technical scheme, the character codes corresponding to the identification codes are printed on each page, so that a user can manually input the codes on the page to acquire page information when the verification fails, the user is prevented from manually searching for the corresponding page information, and the reliability of acquiring the page information is ensured. The codes manually input by the user also need to be verified, and the verification does not pass the prompt so as to ensure the accuracy of the codes input by the user.
In any of the above technical solutions, preferably, the page information and the image having an association relationship are transmitted by an upper network protocol supporting segmented transmission.
In the technical scheme, page information and images are transmitted through an upper network protocol supporting segmented transmission, wherein the upper network protocol includes but is not limited to: FTP (File Transfer Protocol), HTTP (HyperText Transfer Protocol), especially when the data of page information and image is bigger, the breakpoint continuous transmission of big data can be realized, thereby enhancing the reliability and usability of the transmission of book checking information.
Fig. 4 is a schematic structural diagram showing a transmission system of book checking information according to another embodiment of the present invention.
As shown in FIG. 4, the transmission system 400 of book checking information according to another embodiment of the present invention includes a checking client 402, a book pattern printing unit 404, a book pattern collecting unit 406, a book pattern identifying unit 408, a book pattern transmission unit 410, and a typesetting client 412.
The reviewing client 402 is an interface for the reviewing personnel of the publishing institution to interact with the system. The books, the typesetting files of the versions and the corresponding paper pattern image information can be managed and checked by the checking personnel through the checking client 402. Meanwhile, the relevant parameters of the modules such as the book pattern printing unit 404, the book pattern collecting unit 406, the book pattern identifying unit 408, the book pattern transmitting unit 410 and the like can be set.
After receiving the typesetting file from the typesetter, the proof reader submits the typesetting file to the book paper pattern printing unit 404 through the proof client 402 to print the paper pattern.
Preferably, the review client 402 supports on-line review and approval and uploading of attachments to the page by the review personnel as a supplement to the proof reading.
The book pattern printing unit 404 includes a typesetting document rasterization module, a page code generation module, a page identification code embedding module, and a printing device output module. The unit is responsible for printing the typeset document on paper to form a paper pattern for subsequent checking. In the printing process, the page information of the picture is coded according to a specified rule, a unique identification code of each page is formed, and the identification code is embedded into a specified position of each page and is printed together with the page.
Specifically, the typesetting document rasterization module is used for rasterizing the typesetting document according to the specified resolution to generate a page dot matrix so as to be conveniently sent to a printer for paper pattern printing.
The page code generating module is used for coding the page information according to a preset coding rule, and generating a corresponding printable one-dimensional code or two-dimensional code (namely an identification code) according to the coding and the resolution adopted by the typesetting file rasterization module, so as to be used for the automatic identification of a subsequent system.
The page information refers to page related information which needs to be obtained when the page is subsequently and automatically identified, and the page information includes but is not limited to book ID, part ID, file ID, page ID and the like according to specific requirements.
The preset coding rule is determined according to the specific situation of the system. Preferably, to prevent subsequent identification or input errors, a check bit may be set at the time of encoding; for easier recognition, the encoded content generated according to this rule should be as short as possible to facilitate error correction.
The page identification code embedding module is used for embedding the codes generated by the page code generating module and the one-dimensional codes or the two-dimensional codes corresponding to the codes into the page dot matrix generated by the typesetting document rasterization module according to the position preset by the user.
The preset position refers to the position coordinates of the layout of the identification code set by a user according to the typesetting characteristics of the book on the principle that the original contents of the layout center are not covered. Typically, this position is set at a portion of the page near the four corners to utilize the header footer and the left and right margins. This location may be different for different books.
And the printing equipment output module is responsible for connecting the printing equipment and outputting the page dot matrix embedded with the identification code to the printing equipment so as to obtain a book paper pattern for subsequent checking.
And after taking the book pattern, the checking personnel of the publishing company carries out annotation modification on the book pattern according to own habits. After the checking work is completed, the checking personnel submits the paper pattern with the annotation information to the book paper pattern collecting unit 406.
The book pattern collecting unit 406 is used for collecting pattern pictures (i.e. images in the above) of the book for subsequent network transmission. The unit comprises one or more image acquisition equipment connecting modules, and different image acquisition equipment can be selected according to the number of pages to be acquired or other factors. For example: in order to improve the image acquisition effect and efficiency, a high-speed shooting instrument can be used for replacing a common mobile phone or a digital camera; in order to increase the image acquisition speed, an automatic continuous paper feed scanner or the like is used for book patterns with a large number of modifications.
After the book pattern image information is collected by the book pattern collecting unit 406, the collected images are submitted to the book pattern identifying unit 408 one by one for page information identification and automatic binding of the pattern image information.
The book pattern recognition unit 408 is responsible for parsing the page information in the pattern image information and associating it with the current pattern image. The unit comprises a page information automatic identification module and an image correlation module.
The page information automatic identification module is used for analyzing the one-dimensional code or the two-dimensional code containing the page information in the paper pattern image submitted by the book paper pattern acquisition unit 406 and reading the relevant page information from the one-dimensional code or the two-dimensional code.
Preferably, after the code read out by the page information automatic identification module, the read code is checked according to a code check rule, and if the code does not pass the check, an error is reported to avoid causing subsequent errors.
Preferably, besides the one-dimensional code or the two-dimensional code, a code of page information is embedded on the page of the book pattern, and the code corresponds to the one-dimensional code or the two-dimensional code. When the automatic identification of the page information fails, the user is allowed to manually input the code for supplement. In the method, the user does not need to search the corresponding page information, and only needs to simply input according to the paper pattern. For codes manually input by a user, the system also needs to check, and the check does not pass the prompt so as to ensure the correctness of the input by the user.
The image correlation module is responsible for automatically correlating the page information with the paper pattern image according to the result analyzed by the page information automatic identification module so as to facilitate the structured display of the subsequent book checking result.
The book pattern transmission unit 410 is configured to transmit the page information associated with the book pattern identification unit 408 and the corresponding pattern image to the typesetting client 412 used by the typesetter through the internet.
Preferably, the book pattern transmission unit 410 transmits the file through an upper network protocol (such as FTP and HTTP) supporting segmented transmission, so as to implement breakpoint transmission of the big data, thereby enhancing reliability and availability of the system.
The typesetting client 412 is installed and deployed in a typesetting enterprise, and is responsible for receiving the book checking result information sent by the book pattern transmission unit 410, performing structured display, and providing a search function to facilitate typesetting personnel to adjust and modify the typesetting file based on the comment information. Meanwhile, the typesetting client 412 provides a paper pattern printing function to facilitate the typesetter to obtain the paper checking result.
The technical scheme of the invention is explained in detail in combination with the attached drawings, and the working efficiency of book checking and typesetting can be effectively improved through the technical scheme of the invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.