Printer-based document processing method, printer-based document processing equipment and cloud server
By controlling the printer to scan using voice commands and processing images using a cloud server, the problem of low printer operating efficiency is solved, achieving automated document processing and efficient printing output.
Patent Information
- Application Number
- CN202410509632.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2025-10-28
AI Technical Summary
Existing printers have low operating efficiency, requiring users to manually select the scan button to scan and print, which is cumbersome and time-consuming, especially when there are many documents to be printed.
The printer or scanner scans a document using voice commands, the cloud server processes the image and generates a print job, the printing device displays the image and receives annotation instructions, the cloud server performs further operations based on the instructions, and finally the print output is produced.
It simplifies the user operation process, improves the ease of use and efficiency of the printer, and realizes automated operations such as scanning, grading, and collection of incorrect questions.
Smart Images

Figure CN120848822A_ABST
Abstract
Description
Technical Field
[0001] This application relates to printing technology, and more particularly to a printer-based document processing method, device, and cloud server. Background Technology
[0002] Currently, a printer is one of the output devices of a computer, used to print the results of computer processing onto relevant media. There are three main metrics for evaluating the quality of a printer: print resolution, print speed, and noise level.
[0003] In existing technology, users typically place the document to be printed under the printer's scanner and manually select the scan button to scan and print.
[0004] However, in existing technologies, users need to manually select the scan button to scan and print. If there are many documents to be printed, the manual selection operation is cumbersome and time-consuming, resulting in low printing efficiency. Summary of the Invention
[0005] This application provides a printer-based document processing method, device, and cloud server to solve the technical problem of low printer operating efficiency.
[0006] Firstly, this application provides a printer-based document processing method applied to a printing device, the method comprising:
[0007] If the paper document is located at the scanning position of the scanner of the printing device, and a voice command is obtained for the paper document, then the scanner is controlled to scan the paper document according to the voice command to obtain a first image;
[0008] Both the voice command and the first image are sent to a preset cloud server; so that the cloud server performs a first operation on the first image according to the voice command to obtain a second image, and generates a first print job based on the second image;
[0009] If the first print job is received from the cloud server, the second image in the first print job is printed and output.
[0010] Furthermore, the printing device is equipped with an electronic screen; the method further includes:
[0011] If the first print job is received from the cloud server, the second image is displayed on the preview page of the electronic screen;
[0012] Obtain annotation instructions, and annotate the second image using the annotation instructions to obtain an annotated image;
[0013] Both the annotation instruction and the annotation image are sent to a preset cloud server; so that the cloud server performs a second operation on the annotation image according to the annotation instruction to obtain a third image, and generates a second print job based on the third image;
[0014] If the second print job is received from the cloud server, the third image in the second print job is printed and output.
[0015] Furthermore, the printing device is equipped with a microphone; the acquisition of voice commands for the paper document includes:
[0016] Voice commands for the paper document are acquired through the microphone.
[0017] Furthermore, the voice command is a page refresh command, and the second image is obtained by the cloud server recognizing the handwritten characters in the first image according to the page refresh command; and performing a removal operation on the recognized handwritten characters.
[0018] Alternatively, the voice command may be a page editing command, and the second image may be obtained by the cloud server performing editing operations on the first image according to the page editing command;
[0019] Alternatively, the voice command may be a wrong question collection command, and the second image may be obtained by the cloud server according to the wrong question collection command, which processes the questions in the first image to identify wrong questions, performs a summary operation on the identified wrong questions, and sends the summary wrong questions to the account associated with the printing device.
[0020] Secondly, this application provides a printer-based document processing method applied to a cloud server, comprising:
[0021] The printer acquires a voice command and a first image sent by the printing device; wherein the voice command is issued by the printing device when the paper document is located at the scanning position of the printer's scanner, and the first image is obtained by the printing device controlling the printer's scanner to scan the paper document according to the voice command.
[0022] Perform a first operation on the first image according to the voice command to obtain a second image, and generate a first print job based on the second image;
[0023] A first print job containing the second image is sent to the printing device so that the printing device prints and outputs the second image in the first print job according to the received first print job.
[0024] Furthermore, the method also includes:
[0025] The annotation instruction sent by the printing device and the annotation image are obtained; wherein, the annotation image is obtained by annotating the second image according to the obtained annotation instruction when the preview page on the electronic screen of the printing device displays the second image in the first print job;
[0026] Perform a second operation on the annotated image according to the annotation instructions to obtain a third image, and generate a second print job based on the third image;
[0027] The second print job is sent to the printing device so that the printing device prints and outputs the third image in the second print job according to the received second print job.
[0028] Further, the step of performing the first operation on the first image according to the voice command to obtain the second image includes:
[0029] According to the voice command, the first image is corrected and enhanced to obtain the enhanced first image;
[0030] Perform a first operation on the enhanced first image to obtain a second image.
[0031] Further, performing the first operation on the enhanced first image to obtain the second image includes:
[0032] If the voice command is a page refresh command, then the handwritten font in the first image is recognized according to the page refresh command;
[0033] The identified handwritten characters are removed to obtain the second image;
[0034] Alternatively, if the voice command is a page editing command, then the first image is edited according to the page editing command to obtain the second image;
[0035] Alternatively, if the voice command is a wrong question collection command, then according to the wrong question collection command, the exercises in the first image are processed for question segmentation and identification, and wrong questions are identified;
[0036] The identified incorrect questions are summarized and sent to the account associated with the printing device.
[0037] Thirdly, this application provides a printer-based document processing apparatus for use in printing devices, the apparatus comprising:
[0038] The scanning module is used to control the scanner to scan the paper document and obtain a first image if the paper document is located at the scanning position of the scanner of the printing device and a voice command is obtained for the paper document.
[0039] A first sending module is configured to send both the voice command and the first image to a preset cloud server, so that the cloud server performs a first operation on the first image according to the voice command to obtain a second image, and generates a first print job based on the second image;
[0040] The first output module is configured to print and output the second image in the first print job if it receives the first print job sent by the cloud server.
[0041] Furthermore, the printing device is equipped with an electronic screen; the device also includes:
[0042] The display module is configured to display the second image on the preview page of the electronic screen if the first print job is received from the cloud server.
[0043] The annotation module is used to obtain annotation instructions and annotate the second image using the annotation instructions to obtain an annotated image;
[0044] The second sending module is used to send both the annotation instruction and the annotation image to a preset cloud server; so that the cloud server performs a second operation on the annotation image according to the annotation instruction to obtain a third image, and generates a second print job based on the third image;
[0045] The second output module is used to print and output the third image in the second print job if it receives the second print job sent by the cloud server.
[0046] Furthermore, the printing device is equipped with a microphone; the scanning module is specifically used for:
[0047] Voice commands for the paper document are acquired through the microphone.
[0048] Furthermore, the voice command is a page refresh command, and the second image is obtained by the cloud server recognizing the handwritten characters in the first image according to the page refresh command; and performing a removal operation on the recognized handwritten characters.
[0049] Alternatively, the voice command may be a page editing command, and the second image may be obtained by the cloud server performing editing operations on the first image according to the page editing command;
[0050] Alternatively, the voice command may be a wrong question collection command, and the second image may be obtained by the cloud server according to the wrong question collection command, which processes the questions in the first image to identify wrong questions, performs a summary operation on the identified wrong questions, and sends the summary wrong questions to the account associated with the printing device.
[0051] Fourthly, this application provides a printer-based document processing device applied to a cloud server, comprising:
[0052] The first acquisition module is used to acquire a voice command and a first image sent by the printing device; wherein, the voice command is issued by the printing device when the paper document is located at the scanning position of the scanner of the printing device, and the first image is obtained by the printing device controlling the scanner of the printing device to scan the paper document according to the voice command;
[0053] The first operation module is used to perform a first operation on the first image according to the voice command to obtain a second image;
[0054] A first generation module is used to generate a first print job based on the second image;
[0055] A first sending module is configured to send a first print job containing the second image to the printing device, so that the printing device prints and outputs the second image in the first print job according to the received first print job.
[0056] Furthermore, the device also includes:
[0057] The second acquisition module is used to acquire the annotation instructions sent by the printing device and the annotation image; wherein, the annotation image is obtained by annotating the second image according to the acquired annotation instructions when the preview page on the electronic screen of the printing device displays the second image in the first print job;
[0058] The second generation module is used to perform a second operation on the labeled image according to the labeled instructions to obtain a third image, and generate a second print job based on the third image;
[0059] The second sending module is used to send the second print job to the printing device so that the printing device prints and outputs the third image in the second print job according to the received second print job.
[0060] Further, the first operation module includes:
[0061] An enhancement unit is used to perform correction and image enhancement on the first image according to the voice command, so as to obtain an enhanced first image;
[0062] An operation unit is used to perform a first operation on the enhanced first image to obtain a second image.
[0063] Further, the operating unit includes:
[0064] The first recognition subunit is configured to, if the voice command is a page refresh command, recognize the handwritten font in the first image according to the page refresh command;
[0065] The removal sub-unit is used to perform a removal operation on the recognized handwritten characters to obtain a second image;
[0066] Alternatively, the operation unit is specifically used for:
[0067] If the voice command is a page editing command, then the first image is edited according to the page editing command to obtain the second image;
[0068] Alternatively, the operating unit may include:
[0069] The second recognition subunit is used to, if the voice instruction is a wrong question collection instruction, perform question cutting and recognition processing on the exercises in the first image according to the wrong question collection instruction, and identify wrong questions;
[0070] The summarization subunit is used to perform a summary operation on the identified incorrect questions and send the summarized incorrect questions to the account associated with the printing device.
[0071] Fifthly, this application provides a voice printing system, the system including a printing device and a cloud server, wherein the printing device is equipped with a voice module and a voice parser;
[0072] The voice module is used to acquire voice commands;
[0073] The speech parser is used to parse the speech command, generate the semantics of the speech command, and send the semantics to the cloud server;
[0074] The cloud server is used to perform operations according to the received semantics, obtain a first print job, and send the first print job to the printing device;
[0075] The printing device is used to receive the first print job sent by the cloud server and execute the printing operation.
[0076] In a sixth aspect, this application provides a printing device, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the method described in the first aspect.
[0077] In a seventh aspect, this application provides a cloud server, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the method described in the first aspect.
[0078] Eighthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method described in the first aspect.
[0079] Ninthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the method described in the first aspect.
[0080] This application provides a document processing method, device, and cloud server based on a printer. If a paper document is located at the scanning position of the scanner on the printing device, and a voice command is received regarding the paper document, the scanner is controlled to scan the paper document according to the voice command to obtain a first image. Both the voice command and the first image are sent to a preset cloud server; the cloud server then performs a first operation on the first image according to the voice command to obtain a second image, and generates a first print job based on the second image. If the first print job is received from the cloud server, the second image in the first print job is printed and output. In this solution, the printing device receives the voice command issued by the user, performs a series of operations according to the voice command, including scanning, uploading to the cloud server, and receiving the first print job generated by the cloud server, and finally prints and outputs the second image in the first print job on paper. Therefore, this voice-based printer implementation allows users to initiate requests via voice commands, and the system automatically completes scanning and printing operations, greatly simplifying the user's operation process, improving the convenience and efficiency of user operation, and solving the technical problem of low printer operating efficiency. Attached Figure Description
[0081] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0082] Figure 1 A schematic flowchart illustrating a printer-based document processing method provided in an embodiment of this application;
[0083] Figure 2 A flowchart illustrating another printer-based document processing method provided in this application embodiment;
[0084] Figure 3A schematic diagram of the interactive flow of a printer-based document processing method provided in an embodiment of this application;
[0085] Figure 4 A schematic diagram of the interactive flow of another printer-based document processing method provided in this application embodiment;
[0086] Figure 5 A schematic diagram of the interactive flow of another printer-based document processing method provided in the embodiments of this application;
[0087] Figure 6 A schematic diagram of the interactive flow of another printer-based document processing method provided in the embodiments of this application;
[0088] Figure 7 A flowchart illustrating yet another printer-based document processing method provided in this application embodiment;
[0089] Figure 8 A flowchart illustrating yet another printer-based document processing method provided in this application embodiment;
[0090] Figure 9 This application provides a schematic diagram of the architecture of a voice printing system.
[0091] Figure 10 A flowchart illustrating another printer-based document processing method provided in this application embodiment;
[0092] Figure 11 A schematic diagram of a printer-based document processing device provided in an embodiment of this application;
[0093] Figure 12 A schematic diagram of another printer-based document processing device provided in an embodiment of this application;
[0094] Figure 13 A schematic diagram of a printer-based document processing device provided in an embodiment of this application;
[0095] Figure 14 A schematic diagram of another printer-based document processing device provided in an embodiment of this application;
[0096] Figure 15 This is a schematic diagram of the structure of a printing device provided in an embodiment of this application;
[0097] Figure 16 This is a schematic diagram of the structure of a cloud server provided in an embodiment of this application;
[0098] Figure 17 This is a block diagram of a printing device provided in an embodiment of this application.
[0099] The accompanying drawings have illustrated specific embodiments of this disclosure, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concepts of this disclosure to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0100] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure.
[0101] Currently, a printer is one of the output devices of a computer, used to print the results of computer processing onto relevant media. There are three main metrics for evaluating the quality of a printer: print resolution, print speed, and noise level.
[0102] In one example, a user typically places the document to be printed under the printer's scanner and manually selects the scan button to print. However, in existing technology, because the user needs to manually select the scan button, the process becomes cumbersome and time-consuming, especially when there are many documents to print, resulting in low printing efficiency.
[0103] In one example, users typically take photos of their homework, upload them, and then grade and collect incorrect answers through an app. Finally, users retrieve the graded homework and collected incorrect answers on the app.
[0104] This application provides a printer-based document processing method, device, and cloud server, which aims to solve the above-mentioned technical problems in the prior art.
[0105] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0106] Figure 1 This application provides a schematic flowchart of a printer-based document processing method, applicable to a printing device, such as... Figure 1 As shown, the method includes:
[0107] Step 101: If the paper document is located at the scanning position of the scanner on the printing device, and a voice command for the paper document is obtained, then the scanner is controlled to scan the paper document according to the voice command to obtain the first image.
[0108] For example, the execution subject in this embodiment can be a printing device, such as a printer that integrates printing and scanning. The printer is equipped with a microphone, which is used to acquire voice commands and issue prompts. First, the paper document refers to a completed assignment or exam paper on paper. In this step, if the user places the paper document at the scanning position of the scanner on the printing device and acquires a voice command for the paper document, then the scanner is controlled to scan the paper document according to the voice command to obtain a first image.
[0109] In the first scanning scenario, the scanner can only scan one side of the document at a time. Following voice commands, the scanner scans the first side of the document and then issues a prompt message asking the user whether to scan the next side. If the user places the next side in the scanner's scanning position and receives a scan command from the user, the scanner continues scanning the next side until a "stop scanning" command is received from the user. Based on this command, the scanning stops, and all images acquired from the multiple scans are designated as the first image.
[0110] Alternatively, in the second scanning scenario, the scanner can automatically scan multiple pages at a time. Based on voice commands, it can automatically flip through the pages of the paper document to obtain multiple page images, and then select the multiple page images as the first image.
[0111] Step 102: Send both the voice command and the first image to a preset cloud server; so that the cloud server performs a first operation on the first image according to the voice command, obtains a second image, and generates a first print job based on the second image.
[0112] For example, the printing device sends both the voice command and the first image to a preset cloud server. The cloud server receives the voice command and the first image, performs a first operation on the first image according to the voice command to obtain a second image, generates a first print job based on the second image, and sends the first print job to the printing device.
[0113] For example, if the voice command is a page refresh command, the cloud server can recognize the handwritten characters in the first image according to the command, and remove the recognized handwritten characters to obtain the second image. Alternatively, if the voice command is a page correction command, the cloud server can perform correction operations on the first image according to the command to obtain the second image. Or, if the voice command is a wrong question collection command, the cloud server can process the questions in the first image by identifying and recognizing them, identify the incorrect questions, summarize the identified incorrect questions, and send the summarized incorrect questions to the account associated with the printing device to obtain the second image.
[0114] Step 103: If the first print job is received from the cloud server, print and output the second image from the first print job.
[0115] For example, if the printing device receives a first print job sent by the cloud server, it prints the second image in the first print job and outputs the second image on paper.
[0116] In this embodiment, if the paper document is located at the scanning position of the scanner on the printing device, and a voice command is obtained for the paper document, the scanner is controlled to scan the paper document according to the voice command to obtain a first image. Both the voice command and the first image are sent to a preset cloud server; the cloud server then performs a first operation on the first image according to the voice command to obtain a second image, and generates a first print job based on the second image. If the first print job sent by the cloud server is received, the second image in the first print job is printed and output. In this solution, the printing device obtains the voice command issued by the user, performs a series of operations according to the voice command, including scanning, uploading to the cloud server, and receiving the first print job generated by the cloud server, and finally prints and outputs the second image in the first print job on paper. Therefore, this voice-based printer implementation allows users to initiate a request via voice command, and the system automatically completes scanning, printing, and other operations, greatly simplifying the user's operation process, improving the convenience and efficiency of user operation, and solving the technical problem of low printer operating efficiency.
[0117] Figure 2 This is a flowchart illustrating another printer-based document processing method provided in an embodiment of this application, applied to a printing device, such as... Figure 2 As shown, the method includes:
[0118] Step 201: The printing device is equipped with a microphone; if the paper document is located at the scanning position of the scanner on the printing device, and a voice command for the paper document is obtained through the microphone, then the scanner is controlled to scan the paper document according to the voice command to obtain the first image.
[0119] For example, this step can be referred to Figure 1 Step 101 in the text will not be repeated here.
[0120] Step 202: Send both the voice command and the first image to a preset cloud server; so that the cloud server performs a first operation on the first image according to the voice command, obtains a second image, and generates a first print job based on the second image.
[0121] In one example, the second image is obtained by the cloud server performing the first operation on the enhanced first image; the enhanced first image is obtained by the cloud server performing correction and image enhancement on the first image according to voice commands.
[0122] In one example, the voice command is a page refresh command, and the second image is obtained by the cloud server recognizing the handwritten characters in the first image according to the page refresh command; and then performing a removal operation on the recognized handwritten characters.
[0123] Alternatively, the voice command can be a page editing command, and the second image can be obtained by the cloud server performing editing operations on the first image according to the page editing command.
[0124] Alternatively, the voice command is a command to collect incorrect questions. The second image is generated by the cloud server according to the command, which processes the questions in the first image to identify and recognize the incorrect questions. The server then summarizes the identified incorrect questions and sends the summarized incorrect questions to the account associated with the printing device.
[0125] For example, the printing device includes a voice module and a voice parser. The voice module acquires voice commands, and the voice parser parses the voice commands to generate their semantics. After acquiring the voice command through the voice module, the printing device uses its built-in voice parser to recognize the voice command as semantics and sends both the semantics of the voice command and a first image to a preset cloud server. The cloud server receives the semantics of the voice command and the first image, performs a first operation on the first image according to the semantics of the voice command to obtain a second image, generates a first print job based on the second image, and sends the first print job to the printing device. Simultaneously, the printing device retrieves the target response audio corresponding to the voice command based on a preset correspondence between voice commands and response audios, and responds with the target response audio via voice. For example, the target response audio might be: "Refurbishing, please wait."
[0126] For example, if the voice command is a page refresh command, the cloud server can recognize the handwritten characters in the first image according to the semantics of the page refresh command, and perform a removal operation on the recognized handwritten characters to obtain the second image. If the first image is an image of an exam paper containing handwritten marks, the cloud server can, according to the semantics of the page refresh command, use a preset font recognition algorithm to recognize the handwritten characters in the first image and the printed characters on the exam paper itself, identify the recognized handwritten characters as the fonts to be removed, perform a removal operation on the recognized handwritten characters, and obtain the second image, thus completing the exam paper refresh.
[0127] Alternatively, the voice command can be a page-based grading command. Following this command, the cloud server first detects and identifies newly added text content on the first image, as well as the printed text of the questions on the test paper itself. Based on the answer areas between each question, it determines the answer area for each question. Then, based on each question's answer area, it identifies all answers for each question, using each question's answer area as a cutting area, and segments the first image into images containing multiple cutting areas. Finally, it performs grading operations on each question within each cutting area of the images containing multiple cutting areas, resulting in the second image. Furthermore, during grading, each question can be graded based on preset answers to the same questions in a pre-set question bank; or, each question can be identified, a standard answer generated, and grading performed based on the standard answer—this is not limited.
[0128] Alternatively, the voice command can be a "Collect Errors" command. Following this command, the cloud server identifies the exercises in the first image, determines the answer area for each exercise, and then identifies all answers for each exercise based on its answer area. Using each answer area as a segmentation area, the first image is segmented into images containing multiple segmentation areas. Errors are then identified within these images. Furthermore, for each identified error, it can be individually segmented from the images containing multiple segmentation areas to obtain a segmented image. Therefore, multiple segmented images representing multiple errors can be obtained. These multiple segmented images are then aggregated and sent to the account associated with the printing device to obtain the second image. Alternatively, the voice command can be a similar incorrect question collection command. The cloud server will process the questions in the first image according to the similar incorrect question collection command, identify the incorrect questions, and search for questions of the same type in the preset question bank. The incorrect questions of the searched questions will be sent to the account associated with the printing device to obtain the second image. Alternatively, the incorrect questions of the searched questions can be sent directly to the printing device and printed out.
[0129] Therefore, this new and efficient learning method combining voice and printer can automate various operations such as homework grading and error collection through voice commands. By leveraging voice commands and the printer's built-in algorithms, it achieves fast and accurate homework grading, saving time and effort. Users simply initiate a grading request via voice command, and the system automatically completes scanning, grading, and printing, simplifying the user's workflow. The built-in algorithm provides accurate grading results, improving the accuracy and objectivity of homework evaluation.
[0130] Step 203: If the first print job is received from the cloud server, print and output the second image from the first print job.
[0131] For example, if the printing device receives a first print job sent by the cloud server, it prints the second image in the first print job and outputs the second image on paper.
[0132] Step 204: If the first print job is received from the cloud server, the second image is displayed on the preview page on the electronic screen.
[0133] For example, if the printing device receives a first print job from a cloud server, it displays a second image on a preview page on an electronic screen.
[0134] Step 205: Obtain annotation instructions and annotate the second image using the annotation instructions to obtain the annotated image.
[0135] For example, the second image is the image after the page has been redesigned. If the redesign is incomplete, some residual handwriting may remain in the second image. After the redesign is complete, the user enters a preview page on the electronic screen, where the second image is displayed. The user can review, adjust, and annotate the redesigned second image, obtaining an annotated image. The printing device receives the annotation instructions and sends them, along with the annotated image, to the cloud server. The cloud server receives the annotation instructions and the annotated image, and annotates the image according to the instructions to correct potential errors or provide feedback, thereby improving the user experience and the accuracy of the results. Annotation instructions can be obtained via a physical button next to the electronic screen or via a touch button on the screen; there is no limitation on which method is used.
[0136] Step 206: Send both the annotation instructions and the annotation image to the preset cloud server; so that the cloud server performs the second operation on the annotation image according to the annotation instructions, obtains the third image, and generates the second print job based on the third image.
[0137] For example, the printing device sends both the annotation instruction and the annotation image to a preset cloud server. The cloud server receives the annotation instruction and the annotation image, performs a second operation on the annotation image according to the annotation instruction to obtain a third image, and generates a second print job based on the third image.
[0138] Specifically, the annotation instructions are generated based on the boxes marked by the user on the second image, without specifying the shape of the boxes. The cloud server receives the annotation instructions and the annotated image, identifies the marked boxes according to the instructions, locates multiple boxes within the annotated image, and determines that the content within these boxes is the handwritten trace to be removed. Removal operations are performed on the content within these boxes in the annotated image, resulting in a third image. A second print job is then generated based on the third image to further remove any remaining handwritten traces from the second image. It should be noted that multiple removal operations can be performed on the second image.
[0139] Furthermore, when the user marks the areas in the second image that are not fully renovated and sends them to the cloud server, the cloud server will perform secondary or multiple processing on the flawed areas. For example, it will refine the boundaries, remove residual noise, or attempt to repair them using image inpainting algorithms until the user's requirements are met. At the same time, the cloud server will also save the images of the flawed areas and the repaired images from each renovation task to optimize the artificial intelligence model during the renovation process.
[0140] Step 207: If a second print job is received from the cloud server, print and output the third image from the second print job.
[0141] For example, if the printing device receives a second print job sent by the cloud server, it prints the third image in the second print job and outputs the third image on paper.
[0142] In this embodiment, the printing device is equipped with a microphone. If a paper document is located at the scanning position of the scanner on the printing device, and a voice command for the paper document is obtained through the microphone, the scanner is controlled to scan the paper document according to the voice command to obtain a first image. Both the voice command and the first image are sent to a preset cloud server, so that the cloud server performs a first operation on the first image according to the voice command to obtain a second image, and generates a first print job based on the second image. If the first print job is received from the cloud server, the second image in the first print job is printed and output. If the first print job is received from the cloud server, the second image is displayed on a preview page on an electronic screen. An annotation command is obtained, and the second image is annotated using the annotation command to obtain an annotated image. Both the annotation command and the annotated image are sent to the preset cloud server, so that the cloud server performs a second operation on the annotated image according to the annotation command to obtain a third image, and generates a second print job based on the third image. If the second print job is received from the cloud server, the third image in the second print job is printed and output. In this solution, the printing device receives voice commands from the user and performs a series of operations based on these commands, including scanning, uploading to the cloud server, receiving the first print job generated by the cloud server, and finally printing and outputting the second image from the first print job on paper. Therefore, this voice-based printer implementation allows users to initiate requests simply through voice commands, and the system automatically completes scanning, printing, and other operations, greatly simplifying the user's workflow, improving the convenience and efficiency of user operation, and solving the technical problem of low printer operating efficiency.
[0143] Taking printers as an example, Figure 3 This application provides an example of an interactive flowchart illustrating a printer-based document processing method. Figure 3 As shown, the method includes: user, printer, and cloud server, and the interaction process is as follows:
[0144] user:
[0145] 1. The user (child) puts the paper document (i.e., the completed test paper / homework, etc.) into the scanner of the printer.
[0146] 2. Issue page refresh instructions to the printer, such as: refresh the exam paper / remove handwriting, etc.
[0147] printer:
[0148] 3. The printer recognizes page refresh commands via microphone, converts them into text information using its built-in voice recognition module, retrieves the corresponding audio response based on the preset correspondence between page refresh commands and response audio, and then provides a voice response: "Refreshing, please wait."
[0149] 4. Simultaneously, according to the preset page refresh instructions, the printer starts the barcode scanner to scan and sends the first image and voice instructions generated by the scan to the cloud server through the preset HTTP interface.
[0150] Cloud server:
[0151] 5. After receiving the page refresh instruction and the first image, the cloud server corrects and enhances the first image.
[0152] 6. Remove handwriting marks from the exam paper / renovate the exam paper to obtain a second image, and store the processed second image on the cloud server.
[0153] 7. The cloud server creates the first print job based on the processed second image and the printer's identification information, and sends the first print job to the printer.
[0154] printer:
[0155] 8. After receiving the first print job, the printer prints the second image, and the user receives a brand new test paper for further practice.
[0156] Taking printers as an example, Figure 4 A schematic diagram of the interaction flow of another printer-based document processing method provided in this application embodiment is shown below. Figure 4 As shown, the method includes: user, printer, and cloud server, and the interaction process is as follows:
[0157] user:
[0158] 1. The user (child) places the completed test paper / homework into the printer scanner;
[0159] 2. Issue page correction instructions to the printer, such as: homework correction, test paper correction, etc.
[0160] printer:
[0161] 3. The printer recognizes the page correction instructions through the microphone and responds with a voice message: "Correcting, please wait."
[0162] 4. At the same time, the printer's barcode scanner scans the image and sends the generated first image and page correction instructions to the cloud server.
[0163] Cloud server:
[0164] 5. After receiving the page correction instructions and the first image, the cloud server corrects and enhances the first image (to improve the accuracy of subsequent corrections);
[0165] 6. Use algorithms or large models to grade the test papers, tick the correct answers, cross the incorrect answers, circle the blank questions and mark the correct answers and solutions to obtain the second image;
[0166] 7. The cloud server sends the processed second image to the printer for printing;
[0167] printer:
[0168] 8. The printer receives the second image and completes the printing. Users can review and study the image on their own.
[0169] Taking printers as an example, Figure 5 A schematic diagram of the interactive flow of another printer-based document processing method provided in this application embodiment is shown below. Figure 5 As shown, this method includes: user, printer, cloud server, APP / mini-program, and the interaction process is as follows:
[0170] user:
[0171] 1. The user (child) places the graded test paper / homework into the printer scanner;
[0172] 2. Issue instructions to the printer to collect incorrect questions, such as: collect incorrect questions, collect incorrect questions, etc.
[0173] printer:
[0174] 3. The printer recognizes the error collection command through the microphone and responds with a voice message: "Collecting error questions, please wait."
[0175] 4. At the same time, the printer's barcode scanner scans the code and sends the first image generated by the scan, along with the error collection instruction, to the cloud server.
[0176] Cloud server:
[0177] 5. After receiving the error collection instruction and the first image, the cloud server corrects and enhances the first image (to improve the accuracy of subsequent recognition).
[0178] 6. Perform the problem identification and recognition operations, collect the incorrect problems into the error notebook under the user's cloud account, and send the completion command to the printer;
[0179] printer:
[0180] 7. After receiving the completion instruction, the printer will announce: "X wrong questions have been collected into your error notebook. You can view them in the preset APP or mini-program, or you can directly say 'similar wrong question practice' to the user to further consolidate your practice."
[0181] Taking printers as an example, Figure 6A schematic diagram of the interactive flow of another printer-based document processing method provided in this application embodiment is shown below. Figure 6 As shown, the method includes: user, printer, and cloud server, and the interaction process is as follows:
[0182] user:
[0183] 1. Issue instructions to the printer to collect similar incorrect questions, such as: practice similar incorrect questions, apply knowledge to other problems, etc.
[0184] printer:
[0185] 2. The printer uses a microphone to identify similar incorrect questions and collect instructions, and responds with a voice message: "Received, please wait," and then sends the instructions to the cloud server.
[0186] Cloud server:
[0187] 3. After receiving the instruction to collect similar incorrect questions, the cloud server searches for similar questions based on the incorrect question records under the current user account;
[0188] 4. Send the generated file of recommended questions to the printer;
[0189] printer:
[0190] 5. The printer completes printing.
[0191] Figure 7 This is a flowchart illustrating another printer-based document processing method provided in an embodiment of this application, applied to a cloud server, such as... Figure 7 As shown, the method includes:
[0192] Step 301: Obtain the voice command and the first image sent by the printing device; wherein, the voice command is issued by the printing device when the paper document is located at the scanning position of the scanner of the printing device, and the first image is obtained by the printing device controlling the scanner of the printing device to scan the paper document according to the voice command.
[0193] Step 302: Perform the first operation on the first image according to the voice command to obtain the second image, and generate the first print job based on the second image.
[0194] Step 303: Send the first print job containing the second image to the printing device so that the printing device prints and outputs the second image in the first print job according to the received first print job.
[0195] In this embodiment, a voice command and a first image sent by the printing device are acquired. The voice command is issued by the printing device when the paper document is at the scanning position of the scanner. The first image is obtained by the printing device controlling the scanner to scan the paper document according to the voice command. A first operation is performed on the first image according to the voice command to obtain a second image, and a first print job is generated based on the second image. The first print job containing the second image is sent to the printing device so that the printing device prints and outputs the second image in the first print job. In this solution, the printing device acquires the voice command issued by the user, performs a series of operations such as scanning, uploading to the cloud server, and receiving the first print job generated by the cloud server according to the voice command, and finally prints and outputs the second image in the first print job on paper. Therefore, the voice combined with the printer implementation means that the user only needs to initiate a request through a voice command, and the system automatically completes scanning, printing and other operations, which greatly simplifies the user's operation process, improves the convenience and efficiency of the user's operation, and solves the technical problem of low printer operation efficiency.
[0196] Figure 8 This is a flowchart illustrating another printer-based document processing method provided in an embodiment of this application, applied to a cloud server, such as... Figure 8 As shown, the method includes:
[0197] Step 401: Obtain the voice command and the first image sent by the printing device; wherein, the voice command is issued by the printing device when the paper document is located at the scanning position of the scanner of the printing device, and the first image is obtained by the printing device controlling the scanner of the printing device to scan the paper document according to the voice command.
[0198] Step 402: Following the voice command, correct and enhance the first image to obtain the enhanced first image.
[0199] Step 403: Perform the first operation on the enhanced first image to obtain the second image.
[0200] Step 403 includes several implementation methods:
[0201] The first implementation of step 403: If the voice command is a page refresh command, then according to the page refresh command, the handwritten font in the first image is recognized; the recognized handwritten font is removed to obtain the second image.
[0202] The second implementation of step 403: If the voice command is a page editing command, then the first image is edited according to the page editing command to obtain the second image.
[0203] The third implementation method of step 403: If the voice command is a wrong question collection command, then according to the wrong question collection command, the exercises in the first image are processed for question segmentation and recognition, and wrong questions are identified; the identified wrong questions are summarized and sent to the account associated with the printing device.
[0204] Step 404: Generate the first print job based on the second image.
[0205] Step 405: Send the first print job containing the second image to the printing device so that the printing device prints and outputs the second image in the first print job according to the received first print job.
[0206] In one example, the first print job includes the identifier of the printing device.
[0207] In one example, step 205 includes sending a first print job containing the second image and the identifier to a printing device.
[0208] Step 406: Obtain the annotation instructions and annotation image sent by the printing device; wherein, the annotation image is obtained by annotating the second image according to the obtained annotation instructions when the preview page on the electronic screen of the printing device displays the second image in the first print job.
[0209] Step 407: Perform the second operation on the annotated image according to the annotation instructions to obtain the third image, and generate the second print job based on the third image.
[0210] Step 408: Send the second print job to the printing device so that the printing device can print and output the third image in the second print job according to the received second print job.
[0211] In this embodiment, a voice command and a first image sent by the printing device are acquired. The voice command is issued by the printing device when the paper document is at the scanning position of the scanner. The first image is obtained by the printing device controlling the scanner to scan the paper document according to the voice command. The first image is corrected and enhanced according to the voice command to obtain an enhanced first image. A first operation is performed on the enhanced first image to obtain a second image. A first print job is generated based on the second image. The first print job containing the second image is sent to the printing device so that the printing device prints and outputs the second image in the first print job. An annotation command and an annotation image sent by the printing device are acquired. The annotation image is obtained by annotating the second image according to the acquired annotation command when the preview page on the printing device's electronic screen displays the second image in the first print job. A second operation is performed on the annotation image according to the annotation command to obtain a third image, and a second print job is generated based on the third image. The second print job is sent to the printing device so that the printing device prints and outputs the third image in the second print job. In this solution, the printing device receives voice commands from the user and performs a series of operations based on these commands, including scanning, uploading to the cloud server, receiving the first print job generated by the cloud server, and finally printing and outputting the second image from the first print job on paper. Therefore, this voice-based printer implementation allows users to initiate requests simply through voice commands, and the system automatically completes scanning, printing, and other operations, greatly simplifying the user's workflow, improving the convenience and efficiency of user operation, and solving the technical problem of low printer operating efficiency.
[0212] In one example Figure 9 This is a schematic diagram of the architecture of a voice printing system provided in an embodiment of this application, such as... Figure 9 As shown, the voice printing system includes a printing device and a cloud server (such as Pantum Cloud, etc., which is not limited to this). The printing device is equipped with a voice module and a voice parser.
[0213] The voice module is used to acquire voice commands;
[0214] A speech parser is used to parse speech commands, generate the semantics of the speech commands, and send the semantics to a cloud server.
[0215] A cloud server is used to perform operations according to the received semantics, obtain a first print job, and send the first print job to the printing device;
[0216] The printing device is used to receive the first print job from the cloud server and execute the printing operation.
[0217] For example, the voice printing system is a cloud-based offline voice printing system. Specifically, an offline voice module is built into the printer, enabling the printer to have voice interaction capabilities. Users can operate the printer by speaking to it, such as saying "Print the homework in the homework box" or "Refresh the exam paper".
[0218] The voice parser acts as a bridge connecting the voice module and the cloud server. It is responsible for parsing the user's voice commands and generating corresponding semantics. Once it receives a voice command from the voice module, the voice parser immediately parses the semantics of the voice command and sends the semantics to the cloud server.
[0219] The cloud server is the control center of the entire system, executing corresponding operations based on the received semantics. In this application, after receiving the semantics sent by the speech parser, the cloud server processes it according to a preset program. For example, a user can say "print the homework in the homework box" to the printer. After the speech parser parses the semantics, it sends a request to the cloud server. When the cloud server receives the request, i.e., obtains the semantics of "print the homework in the homework box," it retrieves the homework data from the preset connected homework boxes and sends the homework data to the printer for printing. Similarly, a user can also say "exam paper refurbishment," and the printer will send a request to the cloud server. When the cloud server receives the semantics of "exam paper refurbishment," it performs the refurbishment operation and sends the first print job to the printing device, i.e., the printer, for printing.
[0220] The printer is the final execution device, responsible for receiving data from the cloud server and performing the printing operation. In this application, the printer, through communication with the cloud server, is able to directly receive and print job data or refurbished exam papers without any additional user intervention.
[0221] Therefore, the printer's built-in offline intelligent voice technology can recognize and respond to voice commands, improving the convenience and efficiency of user operation.
[0222] In one example Figure 10 A flowchart illustrating another printer-based document processing method provided in this application embodiment is shown below. Figure 10The diagram illustrates the interaction process between the user (Actor), the (offline) voice module, the voice command parsing module (including a voice parser), the printer (DC), and the cloud server. The interaction process includes: regarding preset assignment boxes, the printer queries and distributes assignments from the boxes based on the user's voice commands; regarding preset common formats or guidelines, the printer responds with the audio message "OK, printing"; regarding preset information pages, the printer creates corresponding information report assignments based on the instructions and responds with the audio message "OK, printing"; regarding test paper revision and assignment grading, the cloud server performs a series of operations and responds with the audio message "OK, revision"; finally, it can also send voice commands to proactively announce the results of the operations.
[0223] Figure 11 A schematic diagram of a printer-based document processing device provided in this application embodiment is shown below. Figure 11 As shown, the device is used in a printing apparatus and includes:
[0224] The scanning module 31 is used to control the scanner to scan the paper document and obtain a first image if the paper document is located at the scanning position of the scanner of the printing device and a voice command for the paper document is obtained.
[0225] The first sending module 32 is used to send both the voice command and the first image to a preset cloud server, so that the cloud server performs a first operation on the first image according to the voice command, obtains a second image, and generates a first print job based on the second image.
[0226] The first output module 33 is used to print and output the second image in the first print job if it receives the first print job sent by the cloud server.
[0227] The apparatus in this embodiment can execute the technical solutions in the above method. Its specific implementation process and technical principles are the same, and will not be repeated here.
[0228] Figure 12 This is a schematic diagram of another printer-based document processing device provided in an embodiment of this application. Figure 11 Based on the illustrated embodiments, as Figure 12 As shown, the printing device is equipped with an electronic screen; the device also includes:
[0229] Display module 41 is used to display a second image on a preview page on an electronic screen if a first print job is received from a cloud server.
[0230] The annotation module 42 is used to obtain annotation instructions and annotate the second image using the annotation instructions to obtain an annotated image.
[0231] The second sending module 43 is used to send both the annotation instructions and the annotation image to a preset cloud server, so that the cloud server performs a second operation on the annotation image according to the annotation instructions to obtain a third image, and generates a second print job based on the third image.
[0232] The second output module 44 is used to print and output the third image in the second print job if it receives a second print job sent by the cloud server.
[0233] Furthermore, the printing device is equipped with a microphone; the scanning module 31 is specifically used for:
[0234] Voice commands for paper documents are captured via microphone.
[0235] In one example, the device also includes:
[0236] The response module 45 is used to find the target response audio corresponding to the voice command after obtaining the voice command for the paper document, based on the preset correspondence between the voice command and the response audio, and to respond to the target response audio by voice.
[0237] In one example, the second image is obtained by the cloud server performing the first operation on the enhanced first image; the enhanced first image is obtained by the cloud server performing correction and image enhancement on the first image according to voice commands.
[0238] In one example, the voice command is a page refresh command, and the second image is obtained by the cloud server recognizing the handwritten characters in the first image according to the page refresh command; and then performing a removal operation on the recognized handwritten characters.
[0239] Alternatively, the voice command can be a page editing command, and the second image can be obtained by the cloud server performing editing operations on the first image according to the page editing command.
[0240] Alternatively, the voice command is a command to collect incorrect questions. The second image is generated by the cloud server according to the command, which processes the questions in the first image to identify and recognize the incorrect questions. The server then summarizes the identified incorrect questions and sends the summarized incorrect questions to the account associated with the printing device.
[0241] The apparatus in this embodiment can execute the technical solutions in the above method. Its specific implementation process and technical principles are the same, and will not be repeated here.
[0242] Figure 13 This application provides a schematic diagram of a printer-based document processing device, which is applied to a cloud server. Figure 13 As shown, the device includes:
[0243] The first acquisition module 51 is used to acquire voice commands and a first image sent by the printing device; wherein, the voice command is issued by the printing device when the paper document is located at the scanning position of the scanner of the printing device, and the first image is obtained by the printing device controlling the scanner of the printing device to scan the paper document according to the voice command.
[0244] The first operation module 52 is used to perform a first operation on the first image according to a voice command to obtain a second image.
[0245] The first generation module 53 is used to generate a first print job based on the second image.
[0246] The first sending module 54 is used to send a first print job containing a second image to a printing device, so that the printing device prints and outputs the second image in the first print job according to the received first print job.
[0247] The apparatus in this embodiment can execute the technical solutions in the above method. Its specific implementation process and technical principles are the same, and will not be repeated here.
[0248] Figure 14 This is a schematic diagram of another printer-based document processing device provided in an embodiment of this application. Figure 13 Based on the illustrated embodiments, as Figure 14 As shown, the device also includes:
[0249] The second acquisition module 61 is used to acquire the annotation instructions and annotation images sent by the printing device; wherein, the annotation image is obtained by annotating the second image according to the acquired annotation instructions when the preview page on the electronic screen of the printing device displays the second image in the first print job.
[0250] The second generation module 62 is used to perform a second operation on the annotated image according to the annotation instructions to obtain a third image, and generate a second print job based on the third image.
[0251] The second sending module 63 is used to send the second print job to the printing device so that the printing device can print and output the third image in the second print job according to the received second print job.
[0252] In one example, the first operation module 52 includes:
[0253] The enhancement unit 521 is used to perform correction and image enhancement on the first image according to the voice command, so as to obtain the enhanced first image.
[0254] The operation unit 522 is used to perform a first operation on the enhanced first image to obtain a second image.
[0255] In one example, operation unit 522 includes:
[0256] The first recognition subunit 5221 is used to recognize the handwritten font in the first image according to the page refresh instruction if the voice instruction is a page refresh instruction.
[0257] The removal subunit 5222 is used to perform a removal operation on the recognized handwritten characters to obtain the second image.
[0258] Alternatively, operation unit 522 is specifically used for:
[0259] If the voice command is a page editing command, then the editing operation is performed on the first image according to the page editing command to obtain the second image.
[0260] Alternatively, operation unit 522 includes:
[0261] The second recognition subunit 5223 is used to process the questions in the first image according to the wrong question collection instruction if the voice instruction is a wrong question collection instruction, and to identify the wrong questions.
[0262] The summary subunit 5224 is used to perform a summary operation on the identified incorrect questions and send the summarized incorrect questions to the account associated with the printing device.
[0263] In one example, the first print job includes an identifier for the printing device; the first sending module 54 is specifically used for:
[0264] The first print job, which includes the second image and the logo, is sent to the printing device.
[0265] The apparatus in this embodiment can execute the technical solutions in the above method. Its specific implementation process and technical principles are the same, and will not be repeated here.
[0266] Figure 15 This is a schematic diagram of the structure of a printing device provided in an embodiment of this application, such as... Figure 15 As shown, the printing device includes: memory 71 and processor 72.
[0267] The memory 71 stores a computer program that can run on the processor 72.
[0268] The processor 72 is configured to perform the methods provided in the embodiments described above.
[0269] The printing device also includes a receiver 73 and a transmitter 74. The receiver 73 is used to receive instructions and data sent by an external device, and the transmitter 74 is used to send instructions and data to an external device.
[0270] Figure 16 This is a schematic diagram of the structure of a cloud server provided in an embodiment of this application, such as... Figure 16 As shown, the cloud server includes: a memory 81 and a processor 82.
[0271] The memory 81 stores a computer program that can run on the processor 82.
[0272] Processor 82 is configured to perform the methods provided in the embodiments described above.
[0273] The cloud server also includes a receiver 83 and a transmitter 84. The receiver 83 is used to receive instructions and data sent by external devices, and the transmitter 84 is used to send instructions and data to external devices.
[0274] Figure 17 This is a block diagram of a printing device provided in an embodiment of this application. The printing device may be a printer, mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0275] The device 900 may include one or more of the following components: a processing component 902, a memory 904, a power supply component 906, a multimedia component 908, an audio component 910, an input / output (I / O) interface 912, a sensor component 914, and a communication component 916.
[0276] Processing component 902 typically controls the overall operation of device 900, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 902 may include one or more processors 920 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 902 may include one or more modules to facilitate interaction between processing component 902 and other components. For example, processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
[0277] Memory 904 is configured to store various types of data to support the operation of device 900. Examples of this data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, etc. Memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 storage, flash memory, magnetic disk, or optical disk.
[0278] Power supply component 906 provides power to various components of device 900. Power supply component 906 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to device 900.
[0279] Multimedia component 908 includes a screen that provides an output interface between device 900 and 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 touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 908 includes a front-facing camera and / or a rear-facing camera. When device 900 is in an operating mode, such as shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0280] Audio component 910 is configured to output and / or input audio signals. For example, audio component 910 includes a microphone (MIC) configured to receive external audio signals when device 900 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 904 or transmitted via communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
[0281] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0282] Sensor assembly 914 includes one or more sensors for providing state assessments of various aspects of device 900. For example, sensor assembly 914 may detect the on / off state of device 900, the relative positioning of components such as the display and keypad of device 900, changes in the position of device 900 or a component of device 900, the presence or absence of user contact with device 900, the orientation or acceleration / deceleration of device 900, and temperature changes of device 900. Sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 914 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0283] Communication component 916 is configured to facilitate wired or wireless communication between device 900 and other devices. Device 900 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 916 also includes a near-field communication (NFC) module to facilitate short-range communication. 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.
[0284] In an exemplary embodiment, the apparatus 900 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, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0285] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, which can be executed by a processor 920 of the device 900 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0286] This application also provides a non-transitory computer-readable storage medium, which, when the instructions in the storage medium are executed by the processor of a printing device, enables the printing device to perform the methods provided in the above embodiments.
[0287] This application also provides a computer program product, which includes a computer program stored in a readable storage medium. At least one processor of the printing device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to cause the printing device to perform the solution provided in any of the above embodiments.
[0288] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0289] It should be understood that the present disclosure is not limited to the exact structures that have been 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
1. A printer-based document processing method, characterized in that, Applied to a printing device, the method includes: If the paper document is located at the scanning position of the scanner of the printing device, and a voice command is obtained for the paper document, then the scanner is controlled to scan the paper document according to the voice command to obtain a first image; Both the voice command and the first image are sent to a preset cloud server; so that the cloud server performs a first operation on the first image according to the voice command to obtain a second image, and generates a first print job based on the second image; If the first print job is received from the cloud server, the second image in the first print job is printed and output.
2. The method according to claim 1, characterized in that, The printing device is equipped with an electronic screen; the method further includes: If the first print job is received from the cloud server, the second image is displayed on the preview page of the electronic screen; Obtain annotation instructions, and annotate the second image using the annotation instructions to obtain an annotated image; Both the annotation instruction and the annotation image are sent to a preset cloud server; so that the cloud server performs a second operation on the annotation image according to the annotation instruction to obtain a third image, and generates a second print job based on the third image; If the second print job is received from the cloud server, the third image in the second print job is printed and output.
3. The method according to claim 1, characterized in that, The printing device is equipped with a microphone; the acquisition of voice commands for the paper document includes: Voice commands for the paper document are acquired through the microphone.
4. The method according to claim 3, characterized in that, The voice command is a page refresh command, and the second image is the handwritten font in the first image recognized by the cloud server according to the page refresh command; The handwritten characters were then removed. Alternatively, the voice command may be a page editing command, and the second image may be obtained by the cloud server performing editing operations on the first image according to the page editing command; Alternatively, the voice command is a wrong question collection command, and the second image is the cloud server performing question segmentation and recognition processing on the exercises in the first image according to the wrong question collection command, and identifying wrong questions; The system then summarizes the identified incorrect questions and sends the summarized incorrect questions to the account associated with the printing device.
5. A document processing method based on a printer, characterized in that, Applications to cloud servers include: The printer acquires a voice command and a first image sent by the printing device; wherein the voice command is issued by the printing device when the paper document is located at the scanning position of the printer's scanner, and the first image is obtained by the printing device controlling the printer's scanner to scan the paper document according to the voice command. Perform a first operation on the first image according to the voice command to obtain a second image, and generate a first print job based on the second image; A first print job containing the second image is sent to the printing device so that the printing device prints and outputs the second image in the first print job according to the received first print job.
6. The method according to claim 5, characterized in that, The method further includes: The annotation instruction sent by the printing device and the annotation image are obtained; wherein, the annotation image is obtained by annotating the second image according to the obtained annotation instruction when the preview page on the electronic screen of the printing device displays the second image in the first print job; Perform a second operation on the annotated image according to the annotation instructions to obtain a third image, and generate a second print job based on the third image; The second print job is sent to the printing device so that the printing device prints and outputs the third image in the second print job according to the received second print job.
7. The method according to claim 5, characterized in that, The step of performing a first operation on the first image according to the voice command to obtain a second image includes: According to the voice command, the first image is corrected and enhanced to obtain the enhanced first image; Perform a first operation on the enhanced first image to obtain a second image.
8. The method according to claim 7, characterized in that, The step of performing a first operation on the enhanced first image to obtain a second image includes: If the voice command is a page refresh command, then the handwritten font in the first image is recognized according to the page refresh command; The identified handwritten characters are removed to obtain the second image; Alternatively, if the voice command is a page editing command, then the first image is edited according to the page editing command to obtain the second image; Alternatively, if the voice command is a wrong question collection command, then according to the wrong question collection command, the exercises in the first image are processed for question segmentation and identification, and wrong questions are identified; The identified incorrect questions are summarized and sent to the account associated with the printing device.
9. A voice printing system, characterized in that, The system includes a printing device and a cloud server, and the printing device is equipped with a voice module and a voice parser. The voice module is used to acquire voice commands; The speech parser is used to parse the speech command, generate the semantics of the speech command, and send the semantics to the cloud server; The cloud server is used to perform operations according to the received semantics, obtain a first print job, and send the first print job to the printing device; The printing device is used to receive the first print job sent by the cloud server and execute the printing operation.
10. A printing device, characterized in that, The method includes a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the method of any one of claims 1-4.