[go: up one dir, main page]

CN108556492B - Document binding processing method and device - Google Patents

Document binding processing method and device Download PDF

Info

Publication number
CN108556492B
CN108556492B CN201810064454.3A CN201810064454A CN108556492B CN 108556492 B CN108556492 B CN 108556492B CN 201810064454 A CN201810064454 A CN 201810064454A CN 108556492 B CN108556492 B CN 108556492B
Authority
CN
China
Prior art keywords
pages
relevance
binding
printed
determining
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.)
Active
Application number
CN201810064454.3A
Other languages
Chinese (zh)
Other versions
CN108556492A (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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810064454.3A priority Critical patent/CN108556492B/en
Publication of CN108556492A publication Critical patent/CN108556492A/en
Application granted granted Critical
Publication of CN108556492B publication Critical patent/CN108556492B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/44Typewriters or selective printing mechanisms having dual functions or combined with, or coupled to, apparatus performing other functions

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Abstract

The disclosure relates to a document binding processing method and device. The method comprises the following steps: determining a plurality of pages to be printed by a printer; detecting whether a plurality of pages comprise related pages or not; and when detecting that the plurality of pages comprise the pages with the relevance, binding the printed pages with the relevance through the binding part. The relevance of a plurality of pages to be printed by the printer can be automatically detected, and then the printed pages with relevance are bound, so that the working efficiency is improved, and the binding reliability is effectively improved.

Description

Document binding processing method and device
Technical Field
The disclosure relates to the technical field of office supply equipment, in particular to a document binding processing method and device.
Background
In daily life and work, electronic documents are often printed by a printer for easy viewing or saving. If the printed content is more, the printed content is often distributed on a plurality of different paper documents, and at this time, in order to avoid losing the printed paper documents, the user needs to use other binding devices such as a stapler to bind the printed content into a book.
Disclosure of Invention
In order to overcome the problems in the related art, the embodiments of the present disclosure provide a document binding processing method and apparatus. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a document binding processing method applied to a printer provided with a binding section for performing document binding, the method including:
determining a plurality of pages to be printed by the printer;
detecting whether a page with relevance is included in the multiple pages;
and when detecting that the plurality of pages comprise related pages, binding the printed related pages through the binding part.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: determining a plurality of pages to be printed by a printer; detecting whether a plurality of pages comprise related pages or not; and when detecting that the plurality of pages comprise the pages with the relevance, binding the printed pages with the relevance through the binding part. The relevance of a plurality of pages to be printed by the printer can be automatically detected, and then the printed pages with relevance are bound, so that the working efficiency is improved, and the binding reliability is effectively improved.
In one embodiment, the detecting whether the plurality of pages include a page with an association includes:
detecting whether every two pages of the multiple pages comprise relevance elements;
determining two pages comprising the relevance elements as the pages with relevance;
the relevance element comprises at least one of continuous page numbers, relevant text content, relevant image information, pages with the same size information, pages with the same font information and pages with the same file type.
In one embodiment, the determining that every two pages including the relevance element are the pages with relevance comprises:
detecting the type number of the relevance elements included in every two pages of the multiple pages;
and determining two pages with the number of the types of the included relevance elements larger than the preset number as the relevant pages.
In one embodiment, the detecting whether each two of the plurality of pages includes a relevance element includes:
determining an initial page arrangement order of the plurality of pages as they are transferred to the printer;
and sequentially detecting whether the two adjacent pages comprise the relevance element or not according to the initial page arrangement sequence.
In one embodiment, the binding the printed pages with the relationship by the binding part includes:
printing the pages with the relevance according to the relevant sequence;
and binding the related pages according to the printed sequence by the binding part.
According to a second aspect of the embodiments of the present disclosure, there is provided a document binding processing apparatus applied to a printer provided with a binding section for binding a document, the apparatus further comprising:
the determining module is used for determining a plurality of pages to be printed by the printer;
a detection module, configured to detect whether the multiple pages determined by the determination module include a page with an association;
and the binding module is used for binding the printed pages with the relevance through the binding part when the detection module detects that the pages with the relevance comprise the pages with the relevance.
In one embodiment, the detection module comprises: a first detection submodule and a first determination submodule;
the first detection submodule is configured to detect whether each two of the multiple pages determined by the determination module includes a relevance element;
the first determining sub-module is configured to determine that every two pages including the association element detected by the first detecting sub-module are the pages with the association;
the relevance element comprises at least one of continuous page numbers, relevant text content, relevant image information, pages with the same size information, pages with the same font information and pages with the same file type.
In one embodiment, the first determination submodule includes: a second detection submodule and a second determination submodule;
the second detection submodule is configured to detect the number of types of the relevance elements included in each of the multiple pages detected by the first detection submodule;
the second determining submodule is configured to determine that two pages, which are detected by the second detecting submodule and include the relevance elements whose number of types is greater than a preset number, are the pages with the relevance.
In one embodiment, the first detection submodule includes: a third determination submodule and a third detection submodule;
the third determining submodule is used for determining the initial page arrangement sequence of the plurality of pages determined by the determining module when the pages are transmitted to the printer;
the third detection submodule is configured to sequentially detect whether the two adjacent pages include the relevance element according to the initial page arrangement order determined by the third determination submodule.
In one embodiment, the binding module comprises: a printing submodule and a binding submodule;
the printing sub-module is used for printing the pages with the relevance detected by the detection module according to a relevant sequence;
and the binding submodule is used for binding the pages with the relevance according to the order of the printed pages of the printing submodule through the binding part.
According to a third aspect of the embodiments of the present disclosure, there is provided a document binding processing apparatus applied to a printer provided with a binding section for performing document binding, the apparatus further comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining a plurality of pages to be printed by the printer;
detecting whether a page with relevance is included in the multiple pages;
and when detecting that the plurality of pages comprise related pages, binding the printed related pages through the binding part.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of any one of the first aspects.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a document binding processing method according to an exemplary embodiment.
FIG. 2 is a schematic diagram of a page shown in accordance with an exemplary embodiment.
FIG. 3 is a diagram illustrating a page according to an exemplary embodiment.
FIG. 4 is a page schematic diagram that is shown in accordance with an example embodiment two.
FIG. 5 is a flow diagram illustrating a document binding processing method in accordance with one illustrative embodiment.
FIG. 6 is a flow diagram illustrating a document binding processing method in accordance with one illustrative embodiment.
Fig. 7 is a block diagram illustrating a document binding processing apparatus according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating a detection module 12 in a document binding processing apparatus according to an exemplary embodiment.
Fig. 9 is a block diagram showing a first determination sub-module 122 in a document binding processing apparatus according to an exemplary embodiment.
Fig. 10 is a block diagram showing a first detection submodule 121 in a document binding processing apparatus according to an exemplary embodiment.
Fig. 11 is a block diagram illustrating a binding module 13 in a document binding processing apparatus according to an exemplary embodiment.
Fig. 12 is a block diagram illustrating a type of a document binding processing apparatus 80 according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a document binding processing method according to an exemplary embodiment, which is applied to a printer provided with a binding section for performing document binding, as illustrated in fig. 1, the method including the following steps S101 to S103:
in step S101, a plurality of pages to be printed by the printer are determined.
In step S102, it is detected whether a page having an association is included in the plurality of pages.
In step S103, when it is detected that the plurality of pages includes a related page, the printed related page is bound by the binding unit.
In this embodiment, the pages with associations are pages in page form and/or pages with associations on page content. The associated pages include a plurality of pages with the number of 2 or more than 2. For example, a paper from the abstract, the directory … …, to the thank you, is a page with logical associations between the front and back pages, which can be referred to as an association.
In this embodiment, after all the pages to be printed are printed, the pages with the relevance are selected from the pages; alternatively, before printing a plurality of pages, a page having a relationship may be selected, the selected page may be printed and bound, and thereafter, another page may be printed.
In this embodiment, after a plurality of pages to be printed are detected, a group of related pages can be determined, or a plurality of groups of related pages can be determined. For example, the plurality of pages to be printed includes pages a, b ….. h, detected, where a and b, b and c, c and d are related pages, and e and f, f and g, g and h are related pages. It can be determined that a, b, c, d are a set of pages with associations and e, f, g, h are a set of pages with associations. Each group of related pages may be bound separately, that is, 2 groups of related pages may be bound separately in this embodiment.
In this embodiment, a binding unit may be provided at the printout end of the printer, and after detecting that each set of related pages is completely output, the binding unit may be activated to bind the printed related pages. In other states, the binding portion is in the sleep mode.
In the related art, after a user prints a document by using a printer, in order to avoid loss of the printed paper document, the printed document is often bound manually, so that the printed document is convenient to store and refer. However, if the number of documents is large, the user often performs manual binding, and the situations of wrong binding and missed binding often occur, so that the working efficiency and the binding reliability are low, in order to effectively improve the working efficiency and the binding reliability, the relevance of each page in a plurality of pages to be printed by the printer is automatically detected, and then the printed pages with the relevance are bound based on the detected relevance without manual binding by the user, so that the working efficiency and the binding reliability are effectively improved.
In one embodiment, the step S102 may include the following sub-steps A1-A2:
in a1, it is detected whether a relevance element is included in every two pages of the plurality of pages.
The relevance element comprises at least one of continuous page numbers, relevant text content, relevant image information, pages with the same size information, pages with the same font information and pages with the same file type.
In a2, two pages including the relevance element are determined as the pages having relevance.
In one embodiment, whether two pages of the multiple pages comprise continuous page numbers is detected, and the two pages comprising the continuous page numbers are determined to be related pages. As shown in fig. 2, the page number information of the lower part of the two pages in fig. 2 is detected by an image recognition method, the page number information of the first page is "page 4", the page number information of the second page is "page 5", and it is recognized that 4 and 5 are consecutive by a number recognition algorithm, so that it is determined that the two pages in fig. 2 include consecutive page numbers, that is, the two pages in fig. 2 are related pages.
In one embodiment, whether each two pages of the multiple pages comprise associated text content is detected, and each two pages comprising the associated text content are determined to be the associated pages. As shown in fig. 3, the text content at the lower part of the first page in fig. 3 is identified as "south africa of ormosia and several branches in spring coming" by an image identification method, the text content at the upper part of the second page in fig. 3 is identified as "many wisdom", which is the most thoughts of poetry "by spring", and then the preset database is used for searching for "south africa of ormosia and several branches in spring coming" and "many wisdom, so that it is determined that the two pages in fig. 3 include related text content, that is, the two pages in fig. 3 are related pages.
The identified text content can be uploaded to a server, and whether the identified text content is related or not can be searched by the server.
In one embodiment, whether each two pages of the multiple pages comprise related image information is detected, and each two pages comprising the related image information are determined to be related pages. As shown in fig. 4, a picture is printed on different pages, the image contents in the two printed pages are identified by an image identification method, and then whether the images in the two pages belong to the same picture is detected, and it is determined that the images in the two pages in fig. 4 belong to the same picture by the detection, that is, the two pages in fig. 4 include related image information, and then it is determined that the two pages in fig. 4 are related pages.
It is to be noted that the image information includes at least one of image content, image color, or image shape.
In one embodiment, whether pages with the same size information are included in every two pages of the multiple pages is detected, and the pages with the same size information are determined to be related pages. By acquiring the size information of each page in a plurality of pages to be printed, when the size information of two pages is detected to be the same, the two pages are determined to be related pages.
In one embodiment, whether pages with the same font information are included in every two pages of the multiple pages is detected, and the pages with the same font information are determined to be related pages. By acquiring the font information of each page in a plurality of pages to be printed, when the font information of two pages is detected to be the same, the two pages are determined to be related pages.
In one embodiment, whether pages with the same file type are included in every two pages of the multiple pages is detected, and the pages with the same file type are determined to be related pages. By obtaining the file type (such as word or PDF) of the file where each page in a plurality of pages to be printed is located, when the file types of the files where two pages are located are detected to be the same, the two pages are determined to be related pages.
For example: when a plurality of pages to be printed are contents in an electronic document, if a user prints a word document, the electronic document has 8 pages of contents, and because all the contents are from the electronic document, the 8 pages are acquiescent with the relevance; when a plurality of pages to be printed are different file types (for example, 30 pictures in Joint Photographic Experts Group (JPEG) Format and 20 documents in Portable Document Format (PDF) Format are printed), the 30 documents in the JPG Format are determined to be related pages, the 20 documents in the PDF Format are determined to be related pages, and then the 30 pictures of the JPG are bound into a book, and the 20 documents in the PDF Format are bound into a book.
It should be noted that, in actual implementation, whether a plurality of pages include a page with a relationship may be detected through any of the above implementation manners; or whether the multiple pages comprise the pages with the relevance or not can be detected by combining any two implementation modes; or may be implemented by combining three or more implementations as detecting whether a page having an association is included in the plurality of pages.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: detecting whether each two pages of the multiple pages comprise relevance elements; and then, determining that every two pages comprising the relevance elements are pages with relevance, and detecting whether the pages have relevance through the preset relevance elements, so that the reliability of determining the relevance pages is effectively improved.
In one embodiment, the step of determining that two pages including an association element are related pages comprises the following sub-steps B1-B2:
in B1, the number of kinds of the relevance elements included in two pages of the plurality of pages is detected.
In B2, two pages including the association elements whose number of types is greater than the preset number are determined as the pages having the association.
In order to improve the binding reliability, two pages may be determined to be related pages when multiple types of association elements are included in the two pages at the same time.
The preset number can be preset or can be set by a user, and the preset number is not limited in the disclosure.
For example, in order to effectively count the number of types of association elements included in two pages, the association may be represented by a hierarchical classification (e.g., 0-10 points) from no association to complete association, an association score is set for each type of association element, and when the association score reaches a preset value, for example, 4 points (a specific score may be set according to user needs), it may be determined that a page is associated.
For example: the relevance element correspondence relevance score may be as follows:
① pages with the same size information (e.g., all A4 paper size) -corresponding to 2 points;
② page with same font information (for example, 'Hongdong south China' font size is consistent with 'wish you pick up more' font size) — corresponding to 2 points;
③ relevance of image information (e.g. all black) -corresponding to 2 points;
④ consecutive page numbers — corresponding to 2 points;
⑤ the printing parameters are consistent (for example, the parameters of the printer are set to be positive and negative printing, photo paper printing, high-quality printing and the like) -corresponding to 2 points.
Continuing to follow the above example, when detecting the continuous page numbers in the two pages, the association scores of the two pages are 2 scores, when continuously detecting that the font information in the two pages is the same, the association scores of the two pages are accumulated to 4 scores, when continuously detecting that the size information in the two pages is the same, the association scores of the two pages are accumulated to 6 scores, and when the 6 scores are greater than the preset value of 4 scores, determining that the two pages are related pages.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when the two pages with the types and the number of the relevance elements in every two of the multiple pages larger than the preset number are detected as the relevant pages, the reliability of the relevance page determination is effectively improved.
In one embodiment, detecting whether a relevance element is included in a pairwise page of the plurality of pages may include the following sub-steps C1-C2:
in C1, the initial page arrangement order when the plurality of pages are transferred to the printer is determined.
In C2, it is sequentially detected whether the two pages adjacent to each other before and after include the relevance element according to the initial page arrangement order.
In order to reliably judge the relevance of a plurality of pages to be printed, whether relevance elements are included in two adjacent pages in front and back is sequentially detected according to the initial page arrangement sequence.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: according to the initial page arrangement sequence, the accuracy of judging the relevance of the multiple pages to be printed can be improved, and the detection efficiency is improved.
In one embodiment, the association can also be marked and set in advance, the association between the designated page of the printing document and the designated page number is set in advance before printing, and the association sequence is set. The automatic binding function is started after the print job is executed.
For example: the content of 1-8 pages in a Word document is provided, a user designates 1, 3, 5 and 7 odd pages as a binding page in advance, 2, 4, 6 and 8 even pages as a binding page, and after a printing task is executed, the odd pages are bound into a book, the even pages are bound into a book, and the book is a total of two books.
In one embodiment, the document to be printed may also be printed directly, and then bound according to the relevance of each identified page.
For example: when printing a continuous 1-8 pages document, setting the printing task to be 2-1-5-4-3-6-8-7 instead of the correct page number sequence, when executing the printing task, the printer automatically recognizes the relevance of the 8 pages, then prints according to the sequence of 2-1-5-4-3-6-8-7, and after printing, binds according to the relevant sequence of 1-2-3-4-5-6-7-8 pages.
However, if the binding process is complicated when the document is printed and binding is performed according to the identified association of each page, in one embodiment, the step S103 may include the following substeps D1-D2:
in D1, the pages with the association are printed in the order of association.
In D2, the pages having the relationship are bound by the binding unit in the order of printing.
The pages with the relevance are printed according to the identified relevance in the relevant sequence, and then the pages with the relevance are bound by the binding part in the printed sequence.
For example: when printing a continuous 1-8 page document, the correct page number order is not set but set to 2-1-5-4-3-6-8-7 when setting a print job, and when executing the print job, the printer automatically recognizes the relevance of the 8 pages, prints the 8 pages in the relevant order 1-2-3-4-5-6-7-8 pages, and then performs binding.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the pages with the relevance are printed according to the relevant sequence, and then the pages with the relevance are bound through the binding part according to the printed sequence, so that the binding efficiency is effectively improved.
The implementation is described in detail below by way of several embodiments.
Fig. 5 is a flowchart illustrating a document binding processing method according to an exemplary embodiment, applied to a printer provided with a binding section for binding a document, as illustrated in fig. 5, the method including the steps of:
in step S201, a plurality of pages to be printed by the printer are determined.
In step S202, it is detected whether each of the pages includes a relevance element.
The relevance element comprises at least one of continuous page numbers, relevant text content, relevant image information, pages with the same size information, pages with the same font information and pages with the same file type.
In step S203, the number of kinds of the relevance elements included in two pages of the plurality of pages is detected.
In step S204, two pages including the relevance elements whose number of types is greater than the preset number are determined as relevant pages.
In step S205, the pages having the association are printed in the order of association.
In step S206, the pages having the relationship are bound by the binding section in the order after printing.
Fig. 6 is a flowchart illustrating a document binding processing method according to an exemplary embodiment, applied to a printer provided with a binding section for binding a document, as illustrated in fig. 6, the method including the steps of:
in step S301, a plurality of pages to be printed by the printer are determined.
In step S302, an initial page arrangement order when a plurality of pages are transferred to the printer is determined.
In step S303, whether the two pages adjacent to each other before and after include the relevance element is sequentially detected according to the initial page arrangement order.
The relevance element comprises at least one of continuous page numbers, relevant text content, relevant image information, pages with the same size information, pages with the same font information and pages with the same file type.
In step S304, it is determined that every two pages including the relevance element are related pages.
In step S305, the pages having the association are printed in the order of association.
In step S306, the pages having the relationship are bound by the binding section in the order after printing.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 7 is a block diagram showing a document binding processing apparatus according to an exemplary embodiment, applied to a printer provided with a binding section for binding a document, the apparatus further including:
a determining module 11, configured to determine multiple pages to be printed by the printer;
a detecting module 12, configured to detect whether a page with an association is included in the multiple pages determined by the determining module 11;
a binding module 13, configured to bind the printed pages with relevance through the binding portion when the detecting module 12 detects that the pages with relevance include the pages with relevance.
In one embodiment, as shown in fig. 8, the detection module 12 includes: a first detection submodule 121 and a first determination submodule 122;
the first detecting sub-module 121 is configured to detect whether each two of the multiple pages determined by the determining module 11 include an association element;
the first determining sub-module 122 is configured to determine that every two pages including the association element detected by the first detecting sub-module 121 are the pages with the association;
the relevance element comprises at least one of continuous page numbers, relevant text content, relevant image information, pages with the same size information, pages with the same font information and pages with the same file type.
In one embodiment, as shown in FIG. 9, the first determination sub-module 122 includes: a second detection submodule 1221 and a second determination submodule 1222;
the second detecting submodule 1221 is configured to detect the number of types of the relevance elements included in each of the multiple pages detected by the first detecting submodule 121;
the second determining submodule 1222 is configured to determine, as the page having the relationship, two pages, which are detected by the second detecting submodule 1221 and include the number of the types of the relationship elements that is greater than the preset number.
In one embodiment, as shown in fig. 10, the first detection submodule 121 includes: a third determination submodule 1211 and a third detection submodule 1212;
the third determining sub-module 1211, configured to determine an initial page arrangement order of the plurality of pages determined by the determining module 11 when the plurality of pages are transmitted to the printer;
the third detecting sub-module 1212 is configured to sequentially detect whether the two adjacent pages include the relevance element according to the initial page arrangement order determined by the third determining sub-module 1211.
In one embodiment, as shown in fig. 11, the binding module 13 includes: a print sub-module 131 and a binding sub-module 132;
the printing sub-module 131 is configured to print the pages with the association detected by the detecting module 12 according to an associated order;
the binding sub-module 132 is configured to bind the pages with the association by the binding unit in the order printed by the printing sub-module 131.
According to an embodiment of the present disclosure, there is provided a document binding processing apparatus applied to a printer provided with a binding section for binding a document, the apparatus further including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining a plurality of pages to be printed by the printer;
detecting whether a page with relevance is included in the multiple pages;
and when detecting that the plurality of pages comprise related pages, binding the printed related pages through the binding part.
The processor may be further configured to:
the detecting whether the plurality of pages include a page with an association includes:
detecting whether every two pages of the multiple pages comprise relevance elements;
determining two pages comprising the relevance elements as the pages with relevance;
the relevance element comprises at least one of continuous page numbers, relevant text content, relevant image information, pages with the same size information, pages with the same font information and pages with the same file type.
The determining that every two pages including the relevance element are the pages with relevance comprises:
detecting the type number of the relevance elements included in every two pages of the multiple pages;
and determining two pages with the number of the types of the included relevance elements larger than the preset number as the relevant pages.
The detecting whether every two of the multiple pages include a relevance element includes:
determining an initial page arrangement order of the plurality of pages as they are transferred to the printer;
and sequentially detecting whether the two adjacent pages comprise the relevance element or not according to the initial page arrangement sequence.
The binding the printed pages with the relevance through the binding part comprises the following steps:
printing the pages with the relevance according to the relevant sequence;
and binding the related pages according to the printed sequence by the binding part.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 12 is a block diagram showing a document binding processing apparatus 80 according to an exemplary embodiment, which is applied to a printer provided with a binding section for binding documents.
The apparatus 80 may also include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 80, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 80. Examples of such data include instructions for any application or method operating on the device 80, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the device 80. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 80.
The multimedia component 808 includes a screen that provides an output interface between the device 80 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 80 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 80 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 80. For example, the sensor assembly 814 may detect the open/closed status of the device 80, the relative positioning of the components, such as a display and keypad of the device 80, the change in position of the device 80 or a component of the device 80, the presence or absence of user contact with the device 80, the orientation or acceleration/deceleration of the device 80, and the change in temperature of the device 80. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the apparatus 80 and other devices. The device 80 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 80 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the apparatus 80 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an apparatus 80, enable the apparatus 80 to perform the document binding processing method described above, the method comprising:
determining a plurality of pages to be printed by the printer;
detecting whether a page with relevance is included in the multiple pages;
and when detecting that the plurality of pages comprise related pages, binding the printed related pages through the binding part.
The detecting whether the plurality of pages include a page with an association includes:
detecting whether every two pages of the multiple pages comprise relevance elements;
determining two pages comprising the relevance elements as the pages with relevance;
the relevance element comprises at least one of continuous page numbers, relevant text content, relevant image information, pages with the same size information, pages with the same font information and pages with the same file type.
The determining that every two pages including the relevance element are the pages with relevance comprises:
detecting the type number of the relevance elements included in every two pages of the multiple pages;
and determining two pages with the number of the types of the included relevance elements larger than the preset number as the relevant pages.
The detecting whether every two of the multiple pages include a relevance element includes:
determining an initial page arrangement order of the plurality of pages as they are transferred to the printer;
and sequentially detecting whether the two adjacent pages comprise the relevance element or not according to the initial page arrangement sequence.
The binding the printed pages with the relevance through the binding part comprises the following steps:
printing the pages with the relevance according to the relevant sequence;
and binding the related pages according to the printed sequence by the binding part.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1. A document binding processing method applied to a printer, characterized in that the printer is provided with a binding section for performing document binding, the method comprising:
determining a plurality of pages to be printed by the printer;
detecting whether a page with relevance is included in the multiple pages;
when detecting that the plurality of pages comprise related pages, binding the printed related pages through the binding part;
the detecting whether the plurality of pages include a page with an association includes:
detecting whether every two pages of the multiple pages comprise relevance elements;
determining two pages comprising the relevance elements as the pages with relevance;
the relevance element comprises at least one of continuous page numbers, relevant text content, relevant image information, pages with the same size information, pages with the same font information and pages with the same file type;
the determining that every two pages including the relevance element are the pages with relevance comprises:
detecting the type number of the relevance elements included in every two pages of the multiple pages;
and determining two pages with the number of the types of the included relevance elements larger than the preset number as the relevant pages.
2. The method of claim 1, wherein the detecting whether each pair of pages of the plurality of pages includes a relevance element comprises:
determining an initial page arrangement order of the plurality of pages as they are transferred to the printer;
and sequentially detecting whether the two adjacent pages comprise the relevance element or not according to the initial page arrangement sequence.
3. The method of claim 1, wherein said binding the printed pages with associations by the binding portion comprises:
printing the pages with the relevance according to the relevant sequence;
and binding the related pages according to the printed sequence by the binding part.
4. A document binding processing apparatus applied to a printer, characterized in that the printer is provided with a binding section for binding a document, the apparatus further comprising:
the determining module is used for determining a plurality of pages to be printed by the printer;
a detection module, configured to detect whether the multiple pages determined by the determination module include a page with an association;
the binding module is used for binding the printed pages with the relevance through the binding part when the detection module detects that the pages with the relevance comprise the pages with the relevance;
the detection module comprises: a first detection submodule and a first determination submodule;
the first detection submodule is configured to detect whether each two of the multiple pages determined by the determination module includes a relevance element;
the first determining sub-module is configured to determine that every two pages including the association element detected by the first detecting sub-module are the pages with the association;
the relevance element comprises at least one of continuous page numbers, relevant text content, relevant image information, pages with the same size information, pages with the same font information and pages with the same file type;
the first determination submodule includes: a second detection submodule and a second determination submodule;
the second detection submodule is configured to detect the number of types of the relevance elements included in each of the multiple pages detected by the first detection submodule;
the second determining submodule is configured to determine that two pages, which are detected by the second detecting submodule and include the relevance elements whose number of types is greater than a preset number, are the pages with the relevance.
5. A document binding processing apparatus applied to a printer, characterized in that the printer is provided with a binding section for binding a document, the apparatus further comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining a plurality of pages to be printed by the printer;
detecting whether a page with relevance is included in the multiple pages;
when detecting that the plurality of pages comprise related pages, binding the printed related pages through the binding part;
the detecting whether the plurality of pages include a page with an association includes:
detecting whether every two pages of the multiple pages comprise relevance elements;
determining two pages comprising the relevance elements as the pages with relevance;
the relevance element comprises at least one of continuous page numbers, relevant text content, relevant image information, pages with the same size information, pages with the same font information and pages with the same file type;
the determining that every two pages including the relevance element are the pages with relevance comprises:
detecting the type number of the relevance elements included in every two pages of the multiple pages;
and determining two pages with the number of the types of the included relevance elements larger than the preset number as the relevant pages.
6. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, carry out the steps of the method according to any one of claims 1 to 3.
CN201810064454.3A 2018-01-23 2018-01-23 Document binding processing method and device Active CN108556492B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810064454.3A CN108556492B (en) 2018-01-23 2018-01-23 Document binding processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810064454.3A CN108556492B (en) 2018-01-23 2018-01-23 Document binding processing method and device

Publications (2)

Publication Number Publication Date
CN108556492A CN108556492A (en) 2018-09-21
CN108556492B true CN108556492B (en) 2020-01-10

Family

ID=63529861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810064454.3A Active CN108556492B (en) 2018-01-23 2018-01-23 Document binding processing method and device

Country Status (1)

Country Link
CN (1) CN108556492B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103802490A (en) * 2012-11-13 2014-05-21 佳能株式会社 Printing apparatus and method of controlling the printing apparatus
CN103895386A (en) * 2012-12-24 2014-07-02 北大方正集团有限公司 Bookbinding method and device
CN107471850A (en) * 2017-08-31 2017-12-15 牟文正 Binding device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4659581B2 (en) * 2005-10-07 2011-03-30 キヤノン株式会社 Image processing apparatus, control method therefor, and program
JP5021405B2 (en) * 2006-09-19 2012-09-05 株式会社リコー Image forming apparatus, control method therefor, and program
JP2008126482A (en) * 2006-11-20 2008-06-05 Ricoh Co Ltd Image forming apparatus, program and computer-readable recording medium
US20080252062A1 (en) * 2007-04-16 2008-10-16 Xerox Corporation Dynamic double crease or double score booklet
JP4819922B2 (en) * 2009-06-03 2011-11-24 シャープ株式会社 Image forming apparatus
JP5671906B2 (en) * 2010-09-17 2015-02-18 富士ゼロックス株式会社 Image processing apparatus, image processing system, and program
JP2012161974A (en) * 2011-02-07 2012-08-30 Konica Minolta Business Technologies Inc Image forming system
CN103034990B (en) * 2011-09-30 2016-03-16 北大方正集团有限公司 The method and apparatus of publication verification
JP2013158915A (en) * 2012-02-01 2013-08-19 Konica Minolta Inc Image forming device
CN102799365A (en) * 2012-06-29 2012-11-28 鸿富锦精密工业(深圳)有限公司 Electronic equipment and selected printing and faxing method thereof
JP6551796B2 (en) * 2016-07-01 2019-07-31 京セラドキュメントソリューションズ株式会社 Image forming apparatus, image forming method, and image forming program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103802490A (en) * 2012-11-13 2014-05-21 佳能株式会社 Printing apparatus and method of controlling the printing apparatus
CN103895386A (en) * 2012-12-24 2014-07-02 北大方正集团有限公司 Bookbinding method and device
CN107471850A (en) * 2017-08-31 2017-12-15 牟文正 Binding device

Also Published As

Publication number Publication date
CN108556492A (en) 2018-09-21

Similar Documents

Publication Publication Date Title
US8375283B2 (en) System, device, method, and computer program product for annotating media files
CN103488412B (en) Image display device, image control apparatus, image processing system and display control method
CN105094760B (en) A kind of picture indicia method and device
JP7125834B2 (en) Image acquisition method and apparatus
US20090140998A1 (en) Mobile terminal having touch screen and method for inputting characters through the same
TWI239754B (en) Mobile phone system with card character recognition function
US20090112572A1 (en) System and method for input of text to an application operating on a device
RU2643464C2 (en) Method and apparatus for classification of images
CN103810471B (en) Identify the method and apparatus and its image pickup method of file and picture
RU2648616C2 (en) Font addition method and apparatus
US9621498B2 (en) Mobile terminal and controlling method thereof
CN105138519B (en) Lexical translation method and apparatus
CN112929557A (en) Shooting method, device, terminal and storage medium
WO2022068719A1 (en) Image display method and apparatus, and electronic device
CN106250518A (en) Intelligent question searching method and device
CN106095236A (en) The method and device of arranging desktop icons
WO2018171560A1 (en) Method and device for quickly inserting recognized word
CN106294717A (en) Question searching method and device based on intelligent terminal
CN110085066B (en) Method and device for displaying reading information and electronic equipment
US20100083174A1 (en) Portable terminal and method for displaying contents list thereof
CN105487799A (en) Content conversion method and device
CN108556492B (en) Document binding processing method and device
CN105430194A (en) Method for making calls, device and terminal
CN112513800B (en) Shorthand method and device, terminal and storage medium
US20120317477A1 (en) Display processor, method of display processing, and nontransitory storage medium storing program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant