Image processing method and device, electronic equipment and storage medium
By pre-processing the image forming of the prediction file and generating the intermediate file, the problem of inefficiency of the image forming device when waiting for the selection of the file to be printed is solved, and a more efficient image forming operation is achieved.
Patent Information
- Application Number
- CN202411622186.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-04-08
AI Technical Summary
In the prior art, time is not fully utilized from the process from the image forming device to the process from the process from the image forming device to the user selecting the file to be printed, resulting in low operating efficiency of the image forming device.
By pre-processing the image formation of the prediction file, an intermediate file is generated, and whether the file to be printed matches the prediction file. When matched, the image forming device is directly controlled to perform an image forming job according to the intermediate file.
The operation efficiency of the image forming device is improved, the preprocessing steps for printing files are reduced, and the waiting time is fully utilized.
Smart Images

Figure CN119788781A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image forming technology, and specifically to an image processing method, device, electronic device and storage medium. Background Art
[0002] An image forming apparatus is a device that forms an image on an imaging medium by the imaging principle, such as a printer, a copier, a fax machine, a multifunctional image making and copying device, an electrostatic printing device, and any other similar device.
[0003] Currently, some image forming devices obtain files to be printed from the outside. Specifically, a user can communicate with the image forming device through a local memory (such as a USB memory) or a cloud server, and then select the file to be printed on the operation panel of the image forming device to perform an image forming job.
[0004] However, it takes some time from the time when the image forming device accesses the USB disk / cloud server to the time when the user selects the file to be printed, and this time is not fully utilized, thereby making the operating efficiency of the image forming device low.
[0005] It should be pointed out that the information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or suggestion in any form that the information constitutes prior art already known to those skilled in the art. Summary of the invention
[0006] In view of this, the present application provides an image processing method, device, electronic device and storage medium, so as to solve the problem in the prior art that the time from the image forming device accessing the USB flash drive / cloud server to the user selecting the file to be printed is not fully utilized, thereby resulting in low operating efficiency of the image forming device.
[0007] In a first aspect, an embodiment of the present application provides an image processing method, which is applied to an image forming device, and the method includes:
[0008] Performing image formation preprocessing on the predicted file to generate an intermediate file corresponding to the predicted file, wherein the predicted file is a file predicted to undergo image formation operation;
[0009] Determining whether the determined file to be printed matches the predicted file;
[0010] When the to-be-printed file matches the predicted file, the image forming device is controlled to perform an image forming job according to the intermediate file.
[0011] In the embodiment of the present application, first, the predicted file is preprocessed for image formation to generate an intermediate file corresponding to the predicted file; then, it is determined whether the determined file to be printed matches the predicted file; finally, when the file to be printed matches the predicted file, the image forming device is controlled to perform an image forming operation according to the intermediate file. It can be understood that before determining the file to be printed, the predicted file can be preprocessed for image formation, so that when the file to be printed matches the predicted file, there is no need to preprocess the file to be printed, but directly control the image forming device to perform an image forming operation according to the intermediate file, which improves the operating efficiency of the image forming device to a certain extent.
[0012] In a possible implementation, performing image formation preprocessing on the prediction file to generate an intermediate file corresponding to the prediction file includes:
[0013] In response to the communication connection with the external device, determining the prediction file from the external device, wherein the external device includes: a local memory or a cloud server;
[0014] The prediction file is subjected to image formation preprocessing to generate an intermediate file corresponding to the prediction file.
[0015] In the embodiment of the present application, before the predicted file is preprocessed for image formation and an intermediate file corresponding to the predicted file is generated, the predicted file is determined from the external device in response to the communication connection with the external device. It can be understood that when the image forming device is connected to the external device for communication, the predicted file is immediately determined so as to quickly obtain the intermediate file corresponding to the predicted file, thereby ensuring that when the file to be printed matches the predicted file, the image forming device is directly controlled to perform the image forming operation according to the intermediate file, which improves the operation efficiency of the image forming device to a certain extent.
[0016] In a possible implementation, in response to the communication connection with the external device, determining the prediction file from the external device includes:
[0017] In response to the communication connection with the external device, obtaining a file information list of the external device;
[0018] According to the file information list, a predicted file is determined.
[0019] In the embodiment of the present application, first, in response to the communication connection with the external device, the file information list of the external device is obtained; then, the predicted file is determined according to the file information list. It can be understood that the predicted file determined according to the file information list can be more accurate, which is conducive to improving the matching rate between the file to be printed and the predicted file, and to a certain extent, improves the operating efficiency of the image forming device.
[0020] In a possible implementation, the determining of the predicted file according to the file information list includes:
[0021] The predicted file is determined according to the file modification time and / or file format in the file information list.
[0022] In an embodiment of the present application, based on the file modification time and / or file format in the file information list, the accuracy of the determined predicted file can be made higher, which is beneficial to improving the matching rate between the file to be printed and the predicted file, and to a certain extent, improving the operating efficiency of the image forming device.
[0023] In a possible implementation manner, the preprocessing includes rasterization processing and / or JBIG compression processing.
[0024] In the embodiment of the present application, when the preprocessing includes rasterization processing and / or JBIG compression processing, it can be ensured that the predicted file is preprocessed before the file to be printed is determined; at the same time, the processing steps of the file to be printed are reduced, and to a certain extent, the operating efficiency of the image forming device is improved.
[0025] In a possible implementation, when the external device is the cloud server, performing image preprocessing on the prediction file to generate an intermediate file corresponding to the prediction file includes:
[0026] An intermediate file is received from the cloud server, where the intermediate file is a file generated by the cloud server performing image formation preprocessing on the prediction file.
[0027] In an embodiment of the present application, when the cloud server has the function of performing image formation preprocessing on the predicted file, the image forming device receives the image formation preprocessing of the predicted file by the cloud server and generates an intermediate file. To a certain extent, the memory usage of the image forming device processor is reduced, and the operating efficiency of the image forming device is improved.
[0028] In a possible implementation, it is characterized by further comprising:
[0029] When the file to be printed does not match the predicted file, the image forming device is controlled to continue to perform the image forming job according to the file to be printed.
[0030] In an embodiment of the present application, when the file to be printed does not match the predicted file, the image forming device is controlled to continue to perform the image forming operation according to the file to be printed, thereby ensuring that the image forming device can correctly perform the image forming operation and ensuring that user needs are met.
[0031] In a possible implementation, the controlling the image forming device to continue to perform the image forming job according to the file to be printed includes:
[0032] The image forming device is controlled to delete the intermediate file and continue to perform the image forming job according to the file to be printed.
[0033] In an embodiment of the present application, when the file to be printed does not match the predicted file, the image forming device is controlled to delete the intermediate file, and the image forming job is continued to be performed according to the file to be printed. On the basis of ensuring that the image forming device can correctly perform the image forming job, the cache space of the image forming device is released to ensure that the intermediate files do not occupy too much storage space.
[0034] In a second aspect, an embodiment of the present application provides an image processing method, which is applied to a cloud server, and the method includes:
[0035] Determining a predicted file, wherein the predicted file is a file predicted to undergo an image forming operation;
[0036] Performing image formation preprocessing on the prediction file to generate an intermediate file;
[0037] The intermediate file is sent to the image forming apparatus.
[0038] In the embodiment of the present application, first, the prediction file is determined; then, the prediction file is preprocessed for image formation to generate an intermediate file; finally, the intermediate file is sent to the image forming device. It can be understood that the cloud server preprocesses the prediction file for image formation to generate an intermediate file, which, to a certain extent, reduces the memory usage of the image forming device processor and improves the operating efficiency of the image forming device.
[0039] In a possible implementation, the method further includes:
[0040] determining a target image forming device according to a historical usage record of the cloud server;
[0041] The sending the intermediate file to the image forming apparatus includes: sending the intermediate file to the target image forming apparatus.
[0042] In the embodiment of the present application, first, the target image forming device is determined based on the historical usage record of the cloud server; then, the intermediate file is sent to the target image forming device. It can be understood that the cloud server can directly determine the target image forming device based on the historical usage record, which improves the intelligent level of image formation to a certain extent.
[0043] In a third aspect, an embodiment of the present application provides an image processing device, including:
[0044] An intermediate file generation module, used for performing image formation preprocessing on the predicted file to generate an intermediate file corresponding to the predicted file, wherein the predicted file is a file predicted to undergo image formation operation;
[0045] A judgment module, used for judging whether the determined file to be printed matches the predicted file;
[0046] The control module is used to control the image forming device to perform an image forming operation according to the intermediate file when the file to be printed matches the predicted file.
[0047] In a fourth aspect, an embodiment of the present application provides an electronic device, characterized in that it includes:
[0048] processor;
[0049] Memory;
[0050] And a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, and when the instructions are executed by the processor, the electronic device executes the method described in any one of the first aspect or the second aspect.
[0051] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, characterized in that the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the method described in the first aspect or any one of the second aspects.
[0052] It can be understood that the image processing device provided in the third aspect, the electronic device provided in the fourth aspect, and the computer-readable storage medium provided in the fourth aspect are all used to execute the method provided in the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0054] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application.
[0055] Figure 2 A flowchart of an image processing method provided for related technology.
[0056] Figure 3 A flowchart of an image processing method provided in an embodiment of the present application.
[0057] Figure 4 A schematic diagram of a file information list provided in an embodiment of the present application.
[0058] Figure 5 A schematic diagram of communication between a cloud server and an image forming device provided in an embodiment of the present application.
[0059] Figure 6 A schematic diagram of another image processing method provided in an embodiment of the present application.
[0060] Figure 7 A schematic diagram of the structure of an image processing device provided in this application.
[0061] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0063] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0064] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0065] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0066] To facilitate understanding, a specific application scenario is first exemplified below.
[0067] See also Figure 1 , is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1As shown, the application scenario includes: an image forming device 101. Specifically, the image forming device 101 is used to form an image on an imaging medium through an imaging principle.
[0068] It should be pointed out that Figure 1 The image forming device 101 shown in the figure is only an exemplary description and should not be used as a limitation of the protection scope of the present application. For example, the image forming device 101 includes but is not limited to a printer, a copier, a fax machine, a multi-function image making and copying device, an electrostatic printing device, and any other similar device.
[0069] In the prior art, some image forming devices obtain the file to be printed from the outside. Specifically, firstly, a USB memory or a cloud server is connected to the image forming device, the file to be printed is selected on the operation panel of the image forming device, and then an image forming job is performed based on the file to be printed. For ease of understanding, see Figure 2 , which is a flowchart of an image processing method provided by the related technology. As shown in the figure, it specifically includes the following steps:
[0070] Step S201: Determine the file to be printed from the USB storage device / cloud server.
[0071] Step S202: pre-process the file to be printed to generate a target file.
[0072] Step S203: controlling the image forming apparatus to execute an image forming job according to the target file.
[0073] For example, taking a USB memory as an example, first, the user inserts the USB memory into the USB interface of the image forming device; then, no printing-related actions are triggered until the user selects a file to be printed (i.e., a file to be printed) on the operation panel of the image forming device, and then the image forming device performs the image forming job.
[0074] However, it takes some time from the time when the image forming device accesses the USB disk / cloud server to the time when the user selects the file to be printed, and this time is not fully utilized, thereby making the operating efficiency of the image forming device low.
[0075] In view of the above problems, in the embodiment of the present application, first, the predicted file is preprocessed for image formation to generate an intermediate file corresponding to the predicted file; then, it is determined whether the determined file to be printed matches the predicted file; finally, when the file to be printed matches the predicted file, the image forming device is controlled to perform an image forming operation according to the intermediate file. It can be understood that before determining the file to be printed, the predicted file can be preprocessed for image formation, so that when the file to be printed matches the predicted file, it is no longer necessary to preprocess the file to be printed, but directly control the image forming device to perform an image forming operation according to the intermediate file, which improves the operating efficiency of the image forming device to a certain extent. Specifically, a detailed description is given below in conjunction with the accompanying drawings and specific embodiments.
[0076] See also Figure 3 , is a flow chart of an image processing method provided in an embodiment of the present application. The method can be applied to Figure 1 In the application scenario shown, Figure 3 As shown, it mainly includes the following steps.
[0077] Step S301: Perform image formation preprocessing on the prediction file to generate an intermediate file corresponding to the prediction file.
[0078] In the embodiment of the present application, the predicted file is subjected to image formation preprocessing to generate an intermediate file corresponding to the predicted file, wherein the predicted file is a file predicted to undergo image formation operation.
[0079] In practical applications, the prediction file should be obtained first. Specifically, in a possible implementation, in response to a communication connection with an external device, the prediction file is determined from the external device.
[0080] It can be understood that when the image forming apparatus detects that there is a communication connection with an external device, the image forming apparatus first obtains a file that is most likely to be used for an image forming operation from the external device as a predicted file.
[0081] It should be pointed out that the external devices include: local storage or cloud servers. Of course, the external devices may also include other devices, etc. This application does not impose any specific restrictions on this.
[0082] In an embodiment of the present application, after the image forming apparatus is connected to the external device for communication, the prediction file is immediately determined so as to quickly obtain the intermediate file corresponding to the prediction file, thereby ensuring that when the file to be printed matches the prediction file, the image forming apparatus is directly controlled to perform the image forming operation according to the intermediate file, thereby improving the operating efficiency of the image forming apparatus to a certain extent.
[0083] In practical applications, the predicted file can be determined through the file information list in the external device. Specifically, in a possible implementation, in response to the communication connection with the external device, the file information list of the external device is first obtained; and then the predicted file is determined according to the file information list.
[0084] For easier understanding, see Figure 4 , is a schematic diagram of a file information list provided in an embodiment of the present application. As shown in the figure, Tables 1 to 4, Programs 1 to 2, Texts 1 to 3, and Documents 1 to 8 are shown; as well as the modification time and file type corresponding to each file.
[0085] Exemplarily, in response to the communication connection with the external device, the file information list of the external device is first obtained; then, according to the file information list, the first file in the list, that is, Table 1, is used as the predicted file.
[0086] In the embodiment of the present application, the accuracy of the predicted file determined based on the file information list can be made higher, which is beneficial to improve the matching rate between the file to be printed and the predicted file, and to a certain extent, improves the operating efficiency of the image forming device.
[0087] In actual applications, the "Program" and "Text" categories are not common printing formats, and recently modified files are usually more likely to be printed. Therefore, the accuracy of the predicted file can be higher based on the file modification time and / or file format in the file information list. Specifically, in a possible implementation, the predicted file is determined based on the file modification time and / or file format in the file information list.
[0088] by Figure 4 The file information list shown is taken as an example. Specifically:
[0089] Those skilled in the art may set N files with the closest modification time as predicted files, for example, three files with the closest modification time as predicted files, namely, table 4, document 7, and document 8.
[0090] Those skilled in the art can set the order of file formats as predicted files. For example, pdf document>docx document>txt text>xlsx table>exe program, then the predicted files are document 1, document 2, document 5 and document 8. Of course, those skilled in the art can adjust the order of file formats according to actual needs, or set different file formats to the same order, and this application does not make specific restrictions on this.
[0091] Those skilled in the art can determine the predicted file based on the file format order and modification time. For example, the file format order is: pdf document = docx document > txt text > xlsx table > exe program, and the modification time is the three files closest to the modification time. In this case, the predicted files are document 7 and document 8.
[0092] In an embodiment of the present application, based on the file modification time and / or file format in the file information list, the accuracy of the determined predicted file can be made higher, which is beneficial to improving the matching rate between the file to be printed and the predicted file, and to a certain extent, improving the operating efficiency of the image forming device.
[0093] In a possible implementation manner, the pre-processing mentioned above includes rasterization processing and / or JBIG compression processing.
[0094] It is understandable that when actually performing image processing, the determined file to be printed also needs to be rasterized and / or compressed by JBIG. In the embodiment of the present application, when the preprocessing includes rasterization and / or JBIG compression, it can be ensured that the predicted file is preprocessed before the file to be printed is determined; at the same time, the processing steps for the file to be printed are reduced. To a certain extent, the operating efficiency of the image forming device is improved.
[0095] Step S302: Determine whether the determined file to be printed matches the predicted file.
[0096] In practical applications, after the intermediate file is determined, the user is first waited to determine the file to be printed. In the embodiment of the present application, after the user determines the file to be printed, it is determined whether the determined file to be printed matches the predicted file.
[0097] Specifically, after the user determines the file to be printed, it is determined whether the predicted file includes the print file. For example, the file to be printed is document 1. When the predicted files are document 1, document 2, and document 3, since the predicted files include the print file, the file to be printed matches the predicted file; similarly, when the predicted files are document 4, document 2, and document 3, since the predicted files do not include the print file, the file to be printed does not match the predicted file.
[0098] In a possible implementation, when the file to be printed does not match the predicted file, the image forming device is controlled to continue to perform the image forming job according to the file to be printed.
[0099] In an embodiment of the present application, when the file to be printed does not match the predicted file, the image forming device is controlled to continue to perform the image forming operation according to the file to be printed, thereby ensuring that the image forming device can correctly perform the image forming operation and ensuring that user needs are met.
[0100] Furthermore, in a possible implementation, when the file to be printed does not match the predicted file, the image forming device is controlled to delete the intermediate file, and continues to perform the image forming job according to the file to be printed. On the basis of ensuring that the image forming device can correctly perform the image forming job, the cache space of the image forming device is released to ensure that the intermediate files do not occupy too much storage space.
[0101] It is understandable that, in addition to controlling the image forming device to delete the intermediate file to release the cache space of the image forming device when the file to be printed does not match the predicted file, a timed task of clearing the intermediate file can also be set.
[0102] In a specific application, when the cache time of the intermediate file has reached the set expiration time, the old cached intermediate file is automatically cleared. Of course, those skilled in the art can also set it according to actual needs, when there is a new external device communicating with the image forming device, automatically clear the old cached intermediate file to release the cache space of the image forming device, and this application does not make specific restrictions on this.
[0103] Step S303: When the file to be printed matches the predicted file, the image forming device is controlled to perform an image forming job according to the intermediate file.
[0104] In the embodiment of the present application, when the file to be printed matches the predicted file, the image forming device is controlled to perform an image forming job according to the intermediate file.
[0105] In the embodiment of the present application, first, the predicted file is preprocessed for image formation to generate an intermediate file corresponding to the predicted file; then, it is determined whether the determined file to be printed matches the predicted file; finally, when the file to be printed matches the predicted file, the image forming device is controlled to perform an image forming operation according to the intermediate file. It can be understood that before determining the file to be printed, the predicted file can be preprocessed for image formation, so that when the file to be printed matches the predicted file, there is no need to preprocess the file to be printed, but directly control the image forming device to perform an image forming operation according to the intermediate file, which improves the operating efficiency of the image forming device to a certain extent.
[0106] In actual applications, when the external device is a cloud server, the cloud server and the image forming device are interconnected via a wired or wireless communication network. Figure 5 , is a schematic diagram of communication between a cloud server and an image forming device provided in an embodiment of the present application. As shown in the figure, a cloud server 501 and an image forming device 502 are shown, wherein the cloud server 501 and the image forming device 502 are interconnected via a wired or wireless communication network for information transmission.
[0107] During the image forming process, the cloud server 501 may first perform image forming preprocessing on the to-be-printed file, and send the preprocessed to-be-printed file to the image forming device 502 , which then performs the image forming operation.
[0108] It is understandable that the predicted file can also be pre-processed for image formation in the cloud server, which, to a certain extent, reduces the memory usage of the image forming device processor. Specifically, the following is a detailed description in conjunction with the accompanying drawings and specific embodiments.
[0109] See also Figure 6 , is a schematic diagram of another image processing method provided in an embodiment of the present application. As shown in the figure, it specifically includes the following steps:
[0110] Step S601: The cloud server determines the prediction file.
[0111] In the embodiment of the present application, the cloud server determines the predicted file. The cloud server can determine the predicted file through the file information list. Specifically, refer to the method embodiment described above. For the sake of brevity, this application will not elaborate on it here.
[0112] Step S602: The cloud server performs image formation preprocessing on the prediction file to generate an intermediate file.
[0113] In the embodiment of the present application, the cloud server performs image formation preprocessing on the prediction file to generate an intermediate file. The cloud server can perform rasterization processing and / or JBIG compression processing on the prediction file. Specifically, refer to the method embodiment described above. For the sake of brevity, this application will not elaborate on this.
[0114] Step S603: The cloud server sends the intermediate file to the image forming device.
[0115] In the embodiment of the present application, after the intermediate file is generated, the cloud server sends the intermediate file to the image forming device.
[0116] In actual applications, the cloud server can determine the target image forming device based on the historical usage records (i.e., the image forming device that the cloud server has recently communicated with), and then send the intermediate file to the target image forming device. It can be understood that the cloud server can directly determine the target image forming device based on the historical usage records, which improves the intelligent level of image formation to a certain extent.
[0117] Step S604: the image forming apparatus determines whether the determined file to be printed matches the predicted file.
[0118] Step S605: When the file to be printed matches the predicted file, the image forming device controls the image forming device to perform an image forming job according to the intermediate file.
[0119] The details of steps S604 and S605 described above can refer to the method embodiments corresponding to steps S302 and S303 described above. For the sake of brevity, this application will not elaborate on them here.
[0120] Corresponding to the above embodiment, the present application also provides an image processing device. Specifically, see Figure 7 , which is a structural schematic diagram of an image processing device provided by the present application. As shown in the figure, the figure shows an intermediate file generation module 701, a judgment module 702 and a control module 703. Among them, the intermediate file generation module is used to perform image formation preprocessing on the predicted file and generate an intermediate file corresponding to the predicted file; the judgment module is used to determine whether the determined file to be printed matches the predicted file; the control module is used to control the image forming device to perform an image forming operation according to the intermediate file when the file to be printed matches the predicted file.
[0121] Corresponding to the above embodiment, the present application also provides an electronic device. Figure 8 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, and the electronic device 800 may include: a processor 801, a memory 802, and a communication unit 803. These components communicate through one or more buses. Those skilled in the art can understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiment of the present invention. It can be a bus structure or a star structure, and can also include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0122] The communication unit 803 is used to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices or send user data to other devices.
[0123] The processor 801 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs, instructions, and / or modules stored in the memory 802, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 801 can only include a central processing unit (CPU). In an embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
[0124] The memory 802 is used to store the execution instructions of the processor 801. The memory 802 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 memory, flash memory, magnetic disk or optical disk.
[0125] When the execution instruction in the memory 802 is executed by the processor 801, the electronic device 800 can execute Figure 1 Some or all of the steps in the illustrated embodiments.
[0126] In a specific implementation, the present application further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the simulation scene generation method provided by the present invention. The storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0127] In a specific implementation, the present application also provides a computer program product, wherein the computer program product includes executable instructions, and when the executable instructions are executed on a computer, the computer executes part or all of the steps in each embodiment of the simulation scene generation method provided by the present invention.
[0128] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0129] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0130] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0131] In several embodiments provided in the present application, any function can be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.
[0132] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
Claims
1. An image processing method, characterized in that: Applied to an image forming device, the method comprises: Performing image formation preprocessing on the predicted file to generate an intermediate file corresponding to the predicted file, wherein the predicted file is a file predicted to undergo image formation operation; Determining whether the determined file to be printed matches the predicted file; When the to-be-printed file matches the predicted file, the image forming device is controlled to perform an image forming job according to the intermediate file.
2. The method according to claim 1, characterized in that The performing image formation preprocessing on the prediction file to generate an intermediate file corresponding to the prediction file includes: In response to the communication connection with the external device, determining the prediction file from the external device, wherein the external device includes: a local memory or a cloud server; The prediction file is subjected to image formation preprocessing to generate an intermediate file corresponding to the prediction file.
3. The method according to claim 2, characterized in that The step of determining a prediction file from the external device in response to the communication connection with the external device includes: In response to the communication connection with the external device, obtaining a file information list of the external device; According to the file information list, a predicted file is determined.
4. The method according to claim 3, characterized in that: Determining the predicted file according to the file information list includes: The predicted file is determined according to the file modification time and / or file format in the file information list.
5. The method according to claim 1, characterized in that The pre-processing includes rasterization processing and / or JBIG compression processing.
6. The method according to claim 2, characterized in that When the external device is the cloud server, the image formation preprocessing is performed on the prediction file to generate an intermediate file corresponding to the prediction file, including: An intermediate file is received from the cloud server, where the intermediate file is a file generated by the cloud server performing image formation preprocessing on the prediction file.
7. The method according to claim 1, characterized in that Also includes: When the file to be printed does not match the predicted file, the image forming device is controlled to continue to perform the image forming job according to the file to be printed.
8. The method according to claim 7, characterized in that The controlling the image forming device to continue to perform the image forming operation according to the file to be printed comprises: The image forming device is controlled to delete the intermediate file and continue to perform the image forming job according to the file to be printed.
9. An image processing method, characterized in that: Applied to a cloud server, the method includes: Determining a predicted file, wherein the predicted file is a file predicted to undergo an image forming operation; Performing image formation preprocessing on the prediction file to generate an intermediate file; The intermediate file is sent to the image forming apparatus.
10. The method according to claim 9, characterized in that Also includes: determining a target image forming device according to a historical usage record of the cloud server; The sending the intermediate file to the image forming apparatus includes: sending the intermediate file to the target image forming apparatus.
11. An image processing device, characterized in that: include: An intermediate file generation module, used for performing image formation preprocessing on the predicted file to generate an intermediate file corresponding to the predicted file, wherein the predicted file is a file predicted to undergo image formation operation; A judgment module, used for judging whether the determined file to be printed matches the predicted file; The control module is used to control the image forming device to perform an image forming operation according to the intermediate file when the file to be printed matches the predicted file.
12. An electronic device, characterized in that: include: processor; Memory; And a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, which, when executed by the processor, enable the electronic device to perform the method described in any one of claims 1 to 8, or the method described in any one of claims 9 to 10.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method described in any one of claims 1 to 8, or any one of claims 9 to 10.
Citation Information
Patent Citations
File printing method and device and electronic equipment
CN116048435A
Method and device for editing audio data
JP1994259088A
Image print system
JP2003145849A
Printing system, printing request terminal, printer, printing data division generation program, printing control program, and printing method
JP2005071024A
Processing method and image processing system
JP2006215752A