WO2016107401A1 - Image formation control system and image formation control method - Google Patents

Image formation control system and image formation control method Download PDF

Info

Publication number
WO2016107401A1
WO2016107401A1 PCT/CN2015/097390 CN2015097390W WO2016107401A1 WO 2016107401 A1 WO2016107401 A1 WO 2016107401A1 CN 2015097390 W CN2015097390 W CN 2015097390W WO 2016107401 A1 WO2016107401 A1 WO 2016107401A1
Authority
WO
WIPO (PCT)
Prior art keywords
imaging device
data
printed
module
client application
Prior art date
Application number
PCT/CN2015/097390
Other languages
French (fr)
Chinese (zh)
Inventor
王健
李嘉德
佘少华
谭轩
Original Assignee
珠海奔图电子有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 珠海奔图电子有限公司 filed Critical 珠海奔图电子有限公司
Publication of WO2016107401A1 publication Critical patent/WO2016107401A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1211Improving printing performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1224Client or server resources management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/126Job scheduling, e.g. queuing, determine appropriate device
    • G06F3/1264Job scheduling, e.g. queuing, determine appropriate device by assigning post-processing resources

Definitions

  • the present invention relates to the field of image formation, and in particular to an image forming control system and an image forming control method.
  • imaging devices such as printers, copiers, scanners, facsimile machines, or multifunction machines that integrate the above functions are increasingly used in daily life, and people are increasingly demanding the manner and variety of printing.
  • the conventional image forming apparatus can only provide the user with a local printing function, that is, the user can only perform a print job beside the image forming apparatus.
  • imaging devices that provide wireless connectivity such as imaging devices that are connected via WiFi and connected via wireless LAN, must be within the WiFi signal range or within the wireless LAN to perform print jobs. Such imaging devices impose significant limitations on user use.
  • a cloud printing system has appeared on the market, that is, a plurality of imaging devices are connected to each other by a server through a network, and connected to the Internet, and a user can remotely print anytime and anywhere through a client.
  • the client uploads the print data to the server
  • the server processes the print data into a format supported by the image forming device according to the image forming device information selected by the user, and delivers the processed print data to the image forming device for print output.
  • a cloud printing system processes print data by a server, and the uploading, processing, and processing of the print job take a long time, and the job processing efficiency is not high.
  • the client of this cloud printing system can only support cloud printing, and can not provide users with local printing functions, and user usage still has limitations.
  • One of the technical problems to be solved by the present invention is to provide an effective prevention of mobile terminal An image forming control system and an image forming control method for processing a memory overflow problem caused by a large picture.
  • the present invention provides an image forming control method.
  • the method includes: a first module of a client application installed on a client determines a file to be printed according to a user's selection; a first module of the client application converts the file to be printed into bitmap data; the client The first module of the end application sends the bitmap data to the second module of the client application; the second module of the client application converts the received bitmap data into a target imaging device that can identify and perform Printing the data to be printed; the second module of the client application sends the data to be printed to the target imaging device or the server to communicate with the client application and the target imaging device Print data is transmitted to the target imaging device; the target imaging device performs print output based on the received data to be printed.
  • the client application includes a first module and a second module, the first module is configured to implement processing related to the user access interface, and the second module is implemented at the driver layer.
  • the step of the first module of the client application transmitting the bitmap data to the second module of the client application may further comprise: the first module of the client application will be the bit The figure data is split into individual packets and sent to the second module of the client application; the second module of the client application receives the individual packets and then performs grouping to restore the bitmap data.
  • the step of converting the file to be printed into bitmap data by the first module of the client application may further include: when the file to be printed is not a picture, the first module of the client application is to be printed The file is converted into a picture to be printed, and the picture to be printed is converted into the bitmap data.
  • the processing by the second module of the client application to convert the received bitmap data into the data to be printed that the target imaging device can recognize and perform the printing operation may further include: converting the bitmap data into a grayscale image; scaling the grayscale image according to a print size to obtain a scaled grayscale image; performing black and white binarization processing on the scaled grayscale image to obtain a black and white image;
  • the black and white map data is subjected to JBIG algorithm compression processing to obtain compressed JBIG data; the compressed JBIG data is command combined to obtain data to be printed that the target imaging device can recognize and perform a printing operation.
  • the method further includes: in the grayscale image Or add a watermark to the black and white picture.
  • the method further includes: in the grayscale image Or add an electronic signature to the black and white picture.
  • the foregoing processing of compressing the black and white image data by the JBIG algorithm to obtain the compressed JBIG data includes: encrypting the compressed JBIG data by using a specific algorithm to obtain encrypted JBIG data; receiving the received image by the target imaging device After the data to be printed generated by the encrypted JBIG data is used, the data to be printed is decrypted and printed out using a specific algorithm.
  • the foregoing processing of combining the compressed JBIG data to obtain data to be printed that the target imaging device can recognize and perform a printing operation may further include: when the target imaging device is a network imaging device, the client The application converts the data obtained by combining the compressed JBIG data into a cloud print format file as data to be printed which the image forming apparatus can recognize and perform a printing operation.
  • the method may further include: the client application determines whether the cloud print format file is generated by detecting whether a cloud print format file of a specific format exists in the specified location; and when the detection result is that the generation has been completed, the cloud is The print format file is uploaded to the server.
  • the method further includes the following processing before the target imaging device performs print output based on the received data to be printed: the client application uploads as a cloud print format file to the server; the server notifies the target imaging The device to the server acquires a cloud print format file; the target imaging device actively selects an appropriate time to acquire a cloud print format file from the server as data to be printed.
  • the process of the server notifying the target imaging device to the server to acquire the cloud print format file may further include at least any one of the following: the client application sends an instruction to acquire a cloud print format file to the server, where the server The instruction is sent to the target imaging device to notify the target imaging device to actively obtain the cloud print format file from the server; after receiving the cloud print format file uploaded by the client application, the server automatically sends the file to the target The target imaging device sends an instruction to acquire a cloud print format file to notify the target imaging device to actively obtain a cloud print format file from the server; after receiving the cloud print format file uploaded by the client application, the server passes the When the instruction of the client application is not received, the instruction for acquiring the cloud print format file is automatically sent to the target imaging device to notify the target imaging device to actively obtain the cloud print format file from the server.
  • the aforementioned method may further include the first mode of the client application installed on the client
  • the block determines the following processing before the step of the file to be printed according to the user's selection: detecting whether the user account has been logged in, and if the detection result is no, searching for the local imaging device, and vice versa, searching for the network imaging device and the local imaging device; the client application is based on the user The selection is to determine one of the searched imaging devices as the target imaging device.
  • the foregoing method may further include: before the step of determining, by the first module of the client application installed by the client, the processing of the file to be printed according to the user's selection, when the startup type of the client is an automatic binding imaging device type,
  • the client application launches a two-dimensional code scanning function or a two-dimensional code scanning function of a client application manually initiated by a user; the client application scans a two-dimensional code containing imaging device information and extracts the two-dimensional code
  • the imaging device information is bound to the currently logged-in user account by the image device corresponding to the imaging device information obtained by the scanning according to the currently logged-in user account information and the imaging device information obtained by the scanning.
  • the present invention also provides an image forming control system.
  • the system includes a client, a server, a local imaging device, and a network imaging device that communicates with the client through the server, wherein the client determines to be printed according to a user's selection using a first module of the client application a file, converting the file to be printed into bitmap data, transmitting the bitmap data to a second module of the client application, and receiving the received by the second module of the client application
  • the bitmap data is converted into data to be printed that the target imaging device can recognize and perform a printing operation
  • the client application of the client includes a first module and a second module, and the first module is configured to implement a user access interface.
  • the second module is implemented at the driver layer; the local imaging device performs print output based on the data to be printed received from the client; the network imaging device performs print output based on the data to be printed actively acquired from the server, Receiving, by the server, data to be printed sent from the client, and in response to the network imaging device Request to be sent to the network print data forming device.
  • the first module of the client app splits the Bitmap data into individual packets and transmits them to the second module of the client app, and then the client app.
  • the second module performs a group package to restore Bitmap data. Since mobile terminals, such as Android (Android) devices, may experience memory overflow or insufficient memory when reading or processing large pictures, the second module of the client app can process large pictures, and the data is removed here. Divided into individual packets, and then transferred to the client app, the second module is recombined into a complete picture data packet for processing, which can effectively prevent the memory terminal from overflowing due to processing large pictures.
  • Android Android
  • the inventors of the present invention have proposed to notify the imaging device to actively obtain a cloud print format text from the server.
  • the imaging device can select the appropriate timing to obtain the print data according to its processing capability and state, for example, the image processing device has processed some of the jobs in the print queue, and has enough storage space for storing the next print.
  • the print data is actively acquired, which can greatly reduce the probability of data loss during the large number of communication with the cloud server, and simplify the system flow.
  • FIG. 1 is a block diagram showing an architecture of an image forming control system according to an embodiment of the present invention
  • FIG. 2 is a flow chart of an image forming control method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of an image forming control method according to still another embodiment of the present invention.
  • FIG. 4 is a flowchart of an image forming control method according to still another embodiment of the present invention.
  • FIG. 5 is a processing flow of a client application generating print data and a cloud print format file.
  • FIG. 1 is a block diagram showing an architecture of an image forming control system according to an embodiment of the present invention.
  • a plurality of clients 10 communicate with the server 30 via the Internet 20.
  • multiple clients 10 also pass none
  • the line access point 40 is in communication with a plurality of local imaging devices 50
  • the server 30 is in communication with a plurality of network imaging devices 60.
  • FIG. 1 is only an example, and the client 10 may be a terminal device with wireless communication functions, including a mobile phone, a smart phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted computer, and other smart terminals having wireless communication functions.
  • the wireless access point may be an access point having a wireless signal transceiving function, such as a router, a switch, a mobile terminal, a PC, etc., and the number may be at least one.
  • the access point may also be an imaging device 50 (also referred to as an image forming device, which is a printer, a multifunction machine that combines various imaging functions such as printing and faxing), which has a wireless hotspot function.
  • the local imaging device 50 refers to an imaging device that is not connected to the Internet (can access a local area network, as long as it is not connected to the Internet, that is, a local imaging device; when the local imaging device accesses the Internet, it can become a network imaging device).
  • the network imaging device 60 is an imaging device that accesses the Internet or accesses the Internet through the server 30. Server 30 can be one or more.
  • the local imaging device 50 performs print output based on the data to be printed received from the client 10.
  • the network imaging device 60 performs print output based on data to be printed actively acquired from the server 30.
  • the server 30 receives the data to be printed sent from the client 10 and transmits the data to be printed to the network imaging device 60 in response to a request from the network imaging device 60.
  • the imaging device may refer to the network imaging device 60 and/or the local imaging device 50 unless otherwise specified.
  • FIG. 2 shows a flowchart of an image forming control method according to the present embodiment.
  • the app is an application for executing a print job on the client, and is pre-installed on the client by the user.
  • the user logs in to the server 30 using the account and password registered in advance on the server 30.
  • the client app searches the server 30 for the imaging device in the network that is bound to the currently logged-in user account.
  • the client app completes the search by transmitting a request to acquire an imaging device on the server 30 that has been bound to the currently logged-in user account and receiving a return result of the server 30.
  • the displayed status information may include: device name, device number, device address (IP address), working status (busy, standby or not ready, etc.), Print speed, print resolution, supported print mode (black and white or color print), device network status (online or offline), device network transfer status (network transfer speed, network delay, packet loss rate), device consumables information (paper Information such as the remaining amount, the remaining amount of the toner cartridge, etc.).
  • the client app determines an imaging device for executing a print job according to a user selection, which is called a target imaging device.
  • the user selects an imaging device that wishes to execute a print job through the client's user interface.
  • the client app generates a cloud print format file.
  • the client app converts the print data into a cloud print format file that the selected image forming device can recognize and print as data to be printed.
  • the client app uploads the cloud print format file to the server 30.
  • the client app uploads the generated cloud print format file to the server 30.
  • the result information such as upload success or upload failure can be displayed on the user interface.
  • the server 30 notifies the target imaging device to the server 30 to acquire the cloud print format file.
  • the notification that the target imaging device actively obtains the cloud print format file from the server 30 can be implemented in one of the following ways: 1
  • the client app sends an instruction to obtain a cloud print format file to the server 30, and the server 30 delivers the instruction to the server 30.
  • the target imaging device notifies the target imaging device to actively obtain the cloud print format file from the server 30.
  • the server 30 After receiving the cloud print format file uploaded by the client app, the server 30 automatically sends an instruction to acquire the cloud print format file to the target imaging device to notify the target.
  • the imaging device actively obtains the cloud print format file from the server 30; after receiving the cloud print format file uploaded by the client app, the server 30 automatically images the target after a predetermined time, such as 5 seconds, without receiving the instruction of the client app.
  • the device sends an instruction to obtain a cloud print format file, and notifies the target imaging device to actively obtain the cloud print format file from the server 30.
  • the target imaging device actively selects an appropriate timing to acquire a cloud print format file from the server 30 and perform a printing operation.
  • the image forming apparatus downloads the cloud print format file from the server 30 and prints the cloud print format file on the recording medium.
  • the inventor has noticed that in the conventional imaging system, since the client and the imaging device are directly connected, the communication efficiency is high, and the print data loss caused by the printer being busy or malfunctioning is not easy to occur, and the cloud imaging is performed.
  • the client and the imaging system communicate through the cloud server 30, and the binding relationship between the client and the imaging device has greater variability, if the imaging device continues to be passively received by the conventional technology, the client is at any timing.
  • the processing method of the sent print data may cause the print data to be queued too long, the printing is cancelled frequently, the imaging device is out of paper, the imaging device is faulty, etc., and the imaging system has frequent errors, and in order to solve these possible errors, it needs to be introduced too much. Complex control program.
  • the inventors of the present invention have proposed a new processing method, in which it is notified in S206 that the image forming apparatus actively takes the cloud print format file to the server 30, and in S207, the image forming apparatus can be rooted. According to its processing power and state, choose the appropriate timing to obtain the print data. For example, if the imaging device has processed part of the job in the print queue, and has enough storage space to store the next print job, actively obtain the print data. This greatly reduces the probability of data loss and simplifies system flow.
  • the server 30 tends to have a strong data storage capability, but if the processing of the print data is placed in the server 30, the computing power of the server 30 is difficult to meet the demand. Therefore, the present invention modifies the scheme of converting the print data into the processing of the cloud print format file identifiable and printable by the selected image forming apparatus in the conventional cloud imaging system, and placing the processing in the server 30, but placing the processing On the client side, the computational processing is distributed, which greatly improves the processing power of the entire imaging system.
  • the client app requests the imaging device status and the print job status, and displays the result information.
  • the client app sends a request to the server 30 every time interval, such as 0.5 seconds, to acquire the state of the image forming apparatus that executes the print job and the print job state; the server 30 sends an instruction to perform the image forming of the print job.
  • the device acquires the imaging device status and the print job status; the imaging device transmits the self status information and the print job status information to the server 30 in response to the instruction issued by the server 30; the server 30 receives the status information sent back by the imaging device, and the status information Sended to the client app; the client app receives the status information sent back by the server 30, and displays the imaging device status information and the print job status information in the user interface.
  • the imaging device status may include: device network communication status (network speed, network delay, communication success), device consumables information (paper remaining amount, toner cartridge remaining amount, etc.), device failure information (jam, lack of ink, lack of Information such as paper, cover is opened, accidental power off).
  • the print job status includes: data analysis status (resolution progress, parsing success or parsing failure), job print status (number of printed pages, number of unprinted pages, elapsed time, required time, etc.).
  • FIG. 3 shows a flowchart of an image forming control method according to the present embodiment.
  • the client app is an application for executing a print job on the client, and is pre-installed on the client by the user.
  • the client app searches for a local imaging device.
  • the client app searches for the local imaging device by searching for a device that has broadcasted the wireless signal and its device identifier locally, and displays it on the client's user interface.
  • the searched local imaging device list and its status information, the displayed status information may include: device name, device number, working status (busy, standby or not ready, etc.), print speed, print resolution, supported print mode ( Black and white printing or color printing), equipment consumables information (paper remaining amount, toner cartridge remaining amount, etc.), user rights and other information.
  • the client app determines one of the searched imaging devices as the target imaging device for executing the print job according to the user's selection or preset. The user can select the imaging device that wants to execute the print job through the client's user interface.
  • the client app sends the print data to the imaging device.
  • the client app converts the print data into a format that the selected imaging device can recognize and print, sends it to the imaging device, and displays result information such as a successful transmission or a failed transmission on the user interface.
  • the imaging device performs a printing operation.
  • the image forming apparatus prints the received print data on a recording medium.
  • the client app requests the imaging device status and the print job status, and displays the result information.
  • the client app sends an instruction to the imaging device to acquire the state of the imaging device and the print job state every time interval, such as 0.5 seconds; the imaging device responds to the instruction issued by the client app to the client.
  • the end app sends its own status information and print job status information; the client app receives the status information sent back by the imaging device, and displays the imaging device status information and the print job status information in the user interface.
  • the image forming apparatus status may include information such as equipment consumables information (paper remaining amount, toner cartridge remaining amount, etc.), equipment failure information (jam, lack of ink, out of paper, cover is opened, accidental power off).
  • equipment consumables information paper remaining amount, toner cartridge remaining amount, etc.
  • equipment failure information jam, lack of ink, out of paper, cover is opened, accidental power off.
  • the print job status includes: data analysis status (resolution progress, parsing success or parsing failure), job print status (number of printed pages, number of unprinted pages, elapsed time, required time, etc.).
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • FIG. 4 shows a flowchart of an image forming control method according to the present embodiment.
  • the client app is an application for executing a print job on the client, and is pre-installed on the client by the user.
  • the user can log in to the server 30 using the account and password previously registered on the server 30.
  • the startup type of the app includes a normal startup type and an automatic binding imaging device startup type, and detects whether the startup type is a normal startup type or an automatic binding imaging device type by detecting a function initiated by the client app.
  • the detection result is "YES”
  • the process proceeds to step S405, and when the detection result is "NO”, the process proceeds to step S403.
  • the client app starts the two-dimensional code scanning function to scan the two-dimensional code on the imaging device.
  • the client app is provided with a QR code scanning function module. After entering this step, the system automatically starts the QR code scanning function or the user manually starts the QR code scanning function to scan the QR code on the imaging device.
  • the two-dimensional code scanning program automatically decodes the scanned two-dimensional code and extracts the imaging device information contained in the two-dimensional code.
  • the two-dimensional code may be directly printed on the image forming apparatus, may be printed on the label attached to the image forming apparatus, or may be sprayed on the image forming apparatus by the inkjet technique, or may be in a visible form by other means. Displayed on the image forming device.
  • the imaging device information includes at least imaging device identification information, and may further include information such as a device model, device attributes (such as print speed, print resolution), device functions (such as whether to support color printing), and the imaging device identification information refers to An imaging device is distinguished from other devices by unique identifiers, such as device codes.
  • the server 30 binds the imaging device to the currently logged-in user account according to the currently logged-in user account information and the imaging device information obtained by scanning.
  • the client app automatically submits the imaging device information to the server 30 for binding with the user account. If the user is not logged in, the user is prompted to log in first, and then the binding is performed. Binding refers to establishing a correspondence between an imaging device and a user account.
  • step S405. Detect whether the user account is logged in. When the detection result is "YES”, the process proceeds to step S406 to search for the network imaging device and the local imaging device; when the detection result is "NO”, the process proceeds to step S409 to search for the local imaging device.
  • the client searches for the imaging device through the server 30 and the local network.
  • the client app sends a request to obtain an imaging device on the server 30 that has been bound to the logged-in user account and receives the return result of the server 30, while searching for the local imaging device by searching for a device that has broadcasted the wireless signal and its device identification code locally.
  • the displayed status information may include: device type (network imaging device or local imaging device), device name, device number, device Address (IP address), working status (busy, standby or not ready, etc.), print speed, print resolution, supported print mode (black and white or color print), device network status (online or offline), device network transmission status (network transmission speed, network delay, packet loss rate), equipment consumables information (paper remaining amount, toner cartridge remaining amount, etc.), usage rights And other information.
  • the client app determines one of the searched imaging devices as the target imaging device for executing the print job according to the user's selection or preset. The user can select the imaging device that wants to execute the print job through the client's user interface.
  • step S408 Determine whether the selected target imaging device is a network imaging device. Whether or not the network imaging device is determined by the type of imaging device selected by the user. When the determination result is "YES”, the process proceeds to step S412, and when the determination result is "NO”, the process proceeds to step S411.
  • the client app sends the print data to the imaging device
  • steps S409, S410, and S411 are substantially the same as steps S302, S303, and S304 in FIG. 3, and are not described here.
  • the client app generates a cloud print format file.
  • the client app uploads the generated cloud print format file to the server 30;
  • the server 30 notifies the target imaging device to acquire the cloud print format file from the server 30;
  • steps S412, S413, and S414 are substantially the same as steps S204, S205, and S206 in FIG. 2, and are not described here.
  • the target imaging device actively selects an appropriate timing to acquire a cloud print format file from the server 30.
  • the imaging device downloads the cloud print format file from the server 30 and stores it in the imaging device memory.
  • the target imaging device performs a printing operation based on the cloud print format file acquired from the server 30.
  • the imaging device prints the data to be printed (ie, the cloud print format file) received and stored in the memory on the recording medium; when the imaging device is the local imaging device, the imaging device receives The data to be printed to be printed is printed on the recording medium.
  • step S417 is substantially the same as step S208 in FIG. 2; when the imaging device is a local imaging device, step S417 is substantially the same as step S306 in FIG. 3; therefore, it will not be described here.
  • the first module of the client app installed on the mobile terminal determines the file to be printed according to the user's selection.
  • the user can select a print file through the user interface of the client app, and the print file can be a picture type or a file type such as an electronic document, a spreadsheet, or the like.
  • the client app includes a first module and a second module, and the first module is used to implement processing related to the user access interface.
  • the processing independent of the user access interface is performed by the second module, and the second module is implemented at the driver layer. With such a design, the client app can be made to process larger pictures, which will be further explained later.
  • the client app first module converts the file to be printed into bitmap data.
  • the first module of the client app determines whether the file to be printed is a picture type. If the result of the determination is "NO”, the process proceeds to step S503, and when the result of the determination is "YES”, the process proceeds to step S504.
  • step S503 When the file to be printed is not a picture type, the first module of the client app converts the file to be printed into a picture to be printed. After the conversion is completed, the process proceeds to step S504.
  • the first module of the client app converts the picture to be printed into Bitmap data, for example, bitmap data in a 24-bit format.
  • the first module of the client app sends the Bitmap data to the second module of the client app.
  • the Bitmap data is split into individual packets and transmitted to the second module of the client app, and then the second module of the client app performs group package restoration of the Bitmap data.
  • mobile terminals such as Android (Android) devices
  • Android Android
  • the second module of the client app can process large pictures, and the data is removed here.
  • the second module is recombined into a complete picture data packet for processing, which can effectively prevent the mobile terminal from overflowing or insufficient memory.
  • the second module of the client application converts the received bitmap data into data to be printed that the imaging device can recognize and perform the printing operation.
  • the second module of the client app converts the Bitmap data into a grayscale image, such as an 8-bit grayscale image.
  • the second module of the client app scales the grayscale image according to the print size.
  • the second module of the client app performs black and white binarization processing on the scaled grayscale image.
  • the grayscale image is subjected to black and white binarization processing, that is, the data is converted into a black and white image.
  • the second module of the client app converts the Bitmap data into a grayscale image, or performs black and white binarization processing on the grayscale image to obtain a black and white image, that is, after step S506 or step S508, Add a watermark in the grayscale image or in the black and white image.
  • the watermark is to add certain digital information to electronic data (such as images, sounds, video signals, etc.) to achieve the functions of authenticity identification, copyright protection, and the like.
  • the embedded watermark information is hidden in the host file without affecting the observability and integrity of the original file.
  • the second module of the client app converts the Bitmap data into a grayscale image, or performs black and white binarization processing on the grayscale image to obtain a black and white image, that is, after step S506 or step S508, Add an electronic signature in the grayscale image or in the black and white image.
  • the electronic signature refers to data contained in an electronic form in electronic data, attached to identify the identity of the signer and indicating that the signer approves the content therein.
  • the second module of the client app performs the compression processing of the JBIG (Joint Bi-level Image Experts Group) algorithm to obtain the compressed JBIG data.
  • JBIG Joint Bi-level Image Experts Group
  • a binary image is an image that expresses the color value of each pixel using only 1 bit.
  • JBIG is a binary image compression standard that can be used to encode grayscale images and color images using a limited number of bits per pixel.
  • the compressed JBIG data is encrypted using a specific algorithm to obtain the encrypted JBIG data.
  • the second module of the client app combines the compressed JBIG data.
  • the command combination process combines the compressed JBIG data with the data command to generate data to be printed that the imaging device can recognize and perform the printing operation.
  • the commands combined by the above command combination process may include: a document start command (including a document start mark, a print copy parameter, a duplex print parameter, a total number of printed pages, etc.), a page start command (including a page start mark, double-sided printing, and a page). Copies, paper source, paper type, horizontal resolution, vertical resolution, image width, image height, image bit depth, ink saving, etc.), JBIG compression commands (including JBIG compression mark, JBIG compression parameter option setting), JBIG Data commands (including JBIG data tags, JBIG compressed data blocks), JBIG data end commands (including JBIG data end tags), page end commands (including page end tags), and document end commands (including document end tags).
  • a document start command including a document start mark, a print copy parameter, a duplex print parameter, a total number of printed pages, etc.
  • a page start command including a page start mark, double-sided printing, and a page. Copies, paper source, paper type, horizontal resolution, vertical resolution
  • the format of the data to be printed that the above-mentioned image forming apparatus can recognize and print includes a prn format, a ps format, and a pcl format.
  • the imaging device can recognize that the format of the print is determined by the language in which it is used.
  • the languages used by the device are GDI language, PS language, and PCL language. Devices using the GDI language can only recognize prn format files, devices using the PS language can only recognize ps format files, and devices using the PCL language can only recognize pcl format files.
  • the first module of the client app determines whether it is cloud printing. Whether the printing operation is cloud printing is judged by the type of the target imaging device (which may be determined according to user selection as described in the foregoing embodiment, which may also be a default/preset imaging device). When the imaging device selected by the user is the imaging device of the network, the determination result is “Yes”, and the process proceeds to step S513; when the imaging device selected by the user is the local imaging device, the determination result is “No”, and the process proceeds to step S512.
  • the type of the target imaging device which may be determined according to user selection as described in the foregoing embodiment, which may also be a default/preset imaging device.
  • the second module of the client app sends the final data to the local imaging device as the target imaging device for printing.
  • the client app transmits the final data to the target imaging device via a wireless network or a wired network, and the target imaging device performs print output based on the received print data.
  • the second module of the app sends the final data packet to the target imaging device, and the target imaging device combines the packetized data into complete print data for printing output.
  • the target imaging device decrypts the received print data using a particular algorithm and prints out the decrypted print data.
  • the second module of the client app When the target imaging device is a network imaging device, the second module of the client app generates the cloud print format file by combining the data obtained by combining the compressed JBIG data.
  • the client app will generate a file specific to the format recognized by the imaging device selected by the user, such as the prn format, the ps format, and the pcl format, by commanding the combined print data.
  • the second module of the client app determines whether the cloud print format file is generated.
  • the client app determines whether the cloud print format file is generated by detecting whether a cloud print format file of a specific format (prn format or ps format or pcl format) exists in the specified location. When it is detected that the file of the specific format exists, the determination result is "YES”, and the process proceeds to step S516; when the file of the specific format is not detected, the determination result is "NO”, and the process proceeds to step S515.
  • a cloud print format file of a specific format prn format or ps format or pcl format
  • step S515 the user selects whether to regenerate the cloud print format file.
  • a prompt message such as "Cloud Print Format File Generation Error” is displayed, and the user is allowed to select whether to regenerate the cloud print format file.
  • the second module of the client app uploads the cloud print format file to the cloud server 30 and prints when the detection result is that the generation has been completed.
  • the client app uploads the cloud print format file to the cloud server 30 and prints it out through the target imaging device.
  • Target imaging device based on received hits Print data for printout.
  • the second module of the app uploads the cloud print format file to the cloud server 30;
  • the cloud server 30 divides the data according to the active acquisition request of the target imaging device. They are respectively sent to the target imaging device, or combined into a complete cloud print format file and sent to the target imaging device; the target imaging device performs print output based on the received print data, or combines the packetized data into complete print data for print output.
  • the target imaging device decrypts the received print data using a particular algorithm and prints out the decrypted print data.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in a storage device by a computing device, or they may be fabricated into individual integrated circuit modules, or many of them Modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Abstract

An image formation control system and image formation control method, the method comprising: a first module of a client application installed on the client determines a file to be printed (S501); after converting a to be printed file to bitmap data, transmitting the same to a second module (S505); after the second module converts the bitmap data to data to be printed and recognizable by the target imaging device, directly transmitting to the target imaging device or via a server in communication with the client application and the target imaging device. The method can effectively prevent a memory outflow or memory insufficiency of a mobile terminal resulting from processing the picture to be printed.

Description

一种图像形成控制系统及图像形成控制方法Image forming control system and image forming control method
相关申请的交叉引用Cross-reference to related applications
本申请要求享有2014年12月30日提交的名称为“一种图像形成控制系统及图像形成控制方法”的中国专利申请CN201410843019.2的优先权,该申请的全部内容通过引用并入本文中。The present application claims priority to Chinese Patent Application No. CN201410843019.2, filed on Dec. 30, 2014, which is incorporated herein by reference.
技术领域Technical field
本发明涉及图像形成领域,尤其涉及一种图像形成控制系统及图像形成控制方法。The present invention relates to the field of image formation, and in particular to an image forming control system and an image forming control method.
背景技术Background technique
现如今,诸如打印机、复印机、扫描仪、传真机、或综合以上功能的多功能机等成像设备越来越多地应用在日常生活中,人们对于打印的方式和多样性要求越来越高。然而,传统的成像设备只能为用户提供本地打印功能,即用户只能在成像设备旁边执行打印作业。即使是能够提供无线连接功能的成像设备,如通过WiFi直连、通过无线局域网连接的成像设备,用户也必须在WiFi信号范围内或者在无线局域网范围内,才能执行打印作业。这样的成像设备给用户使用带来很大的局限性。Nowadays, imaging devices such as printers, copiers, scanners, facsimile machines, or multifunction machines that integrate the above functions are increasingly used in daily life, and people are increasingly demanding the manner and variety of printing. However, the conventional image forming apparatus can only provide the user with a local printing function, that is, the user can only perform a print job beside the image forming apparatus. Even imaging devices that provide wireless connectivity, such as imaging devices that are connected via WiFi and connected via wireless LAN, must be within the WiFi signal range or within the wireless LAN to perform print jobs. Such imaging devices impose significant limitations on user use.
因此,市场上出现了云打印系统,即通过网络由服务器把多台成像设备互相连接起来,并接入因特网,用户可以通过客户端随时随地进行远程打印。执行打印作业时,客户端上传打印数据到服务器,服务器根据用户所选择的成像设备信息将打印数据处理成成像设备支持的格式,并下发处理后的打印数据到成像设备进行打印输出。然而,这种云打印系统由服务器处理打印数据,打印作业的上传、下发以及处理占用很长时间,作业处理效率不高。而且,这种云打印系统的客户端只能支持云打印,不能为用户提供本地打印功能,用户使用依然存在局限性。Therefore, a cloud printing system has appeared on the market, that is, a plurality of imaging devices are connected to each other by a server through a network, and connected to the Internet, and a user can remotely print anytime and anywhere through a client. When the print job is executed, the client uploads the print data to the server, and the server processes the print data into a format supported by the image forming device according to the image forming device information selected by the user, and delivers the processed print data to the image forming device for print output. However, such a cloud printing system processes print data by a server, and the uploading, processing, and processing of the print job take a long time, and the job processing efficiency is not high. Moreover, the client of this cloud printing system can only support cloud printing, and can not provide users with local printing functions, and user usage still has limitations.
发明内容Summary of the invention
本发明所要解决的技术问题之一是需要提供一种能够有效防止移动终端因 处理大图片而导致的内存溢出问题的图像形成控制系统及图像形成控制方法。One of the technical problems to be solved by the present invention is to provide an effective prevention of mobile terminal An image forming control system and an image forming control method for processing a memory overflow problem caused by a large picture.
为了解决上述技术问题,本发明提供了一种图像形成控制方法。该方法包括:安装于客户端的客户端应用程序的第一模块根据用户的选择确定待打印文件;所述客户端应用程序的第一模块将所述待打印文件转换成位图数据;所述客户端应用程序的第一模块将所述位图数据发送到所述客户端应用程序的第二模块;客户端应用程序的第二模块将接收到的位图数据转换为目标成像设备能识别并进行打印操作的待打印数据;所述客户端应用程序的第二模块将所述待打印数据发送到所述目标成像设备或通过与客户端应用程序和所述目标成像设备通信的服务器将所述待打印数据发送到所述目标成像设备;所述目标成像设备基于接收到的待打印数据进行打印输出。其中,客户端应用程序包括第一模块和第二模块,所述第一模块用于实现与用户访问界面相关的处理,第二模块在驱动层实现。In order to solve the above technical problems, the present invention provides an image forming control method. The method includes: a first module of a client application installed on a client determines a file to be printed according to a user's selection; a first module of the client application converts the file to be printed into bitmap data; the client The first module of the end application sends the bitmap data to the second module of the client application; the second module of the client application converts the received bitmap data into a target imaging device that can identify and perform Printing the data to be printed; the second module of the client application sends the data to be printed to the target imaging device or the server to communicate with the client application and the target imaging device Print data is transmitted to the target imaging device; the target imaging device performs print output based on the received data to be printed. The client application includes a first module and a second module, the first module is configured to implement processing related to the user access interface, and the second module is implemented at the driver layer.
此外,所述客户端应用程序的第一模块将所述位图数据发送到所述客户端应用程序的第二模块的步骤可进一步包括:所述客户端应用程序的第一模块将所述位图数据拆分成各个小包后发送到所述客户端应用程序的第二模块;所述客户端应用程序的第二模块接收到所述各个小包后进行组包以还原所述位图数据。Furthermore, the step of the first module of the client application transmitting the bitmap data to the second module of the client application may further comprise: the first module of the client application will be the bit The figure data is split into individual packets and sent to the second module of the client application; the second module of the client application receives the individual packets and then performs grouping to restore the bitmap data.
此外,所述客户端应用程序的第一模块将所述待打印文件转换成位图数据的步骤可进一步包括:在所述待打印文件不是图片时,客户端应用程序的第一模块将待打印文件转换成待打印图片,再将所述待打印图片转换为所述位图数据。Furthermore, the step of converting the file to be printed into bitmap data by the first module of the client application may further include: when the file to be printed is not a picture, the first module of the client application is to be printed The file is converted into a picture to be printed, and the picture to be printed is converted into the bitmap data.
此外,所述客户端应用程序的第二模块将接收到的位图数据转换为所述目标成像设备能识别并进行打印操作的待打印数据的处理可进一步包括:将所述位图数据转换成灰度图;根据打印尺寸将所述灰度图进行成比例缩放处理,得到缩放后的灰度图;将所述缩放后的灰度图进行黑白二值化处理,得到黑白图;将所述黑白图数据进行JBIG算法压缩处理,得到压缩的JBIG数据;将所述压缩的JBIG数据进行命令组合,以得到所述目标成像设备能识别并进行打印操作的待打印数据。Further, the processing by the second module of the client application to convert the received bitmap data into the data to be printed that the target imaging device can recognize and perform the printing operation may further include: converting the bitmap data into a grayscale image; scaling the grayscale image according to a print size to obtain a scaled grayscale image; performing black and white binarization processing on the scaled grayscale image to obtain a black and white image; The black and white map data is subjected to JBIG algorithm compression processing to obtain compressed JBIG data; the compressed JBIG data is command combined to obtain data to be printed that the target imaging device can recognize and perform a printing operation.
此外,前述将所述位图数据转换成灰度图的处理之后,或将所述缩放后的灰度图进行黑白二值化处理得到黑白图的处理之后还包括:在所述灰度图中或所述黑白图中添加水印。 In addition, after the foregoing processing of converting the bitmap data into a grayscale image, or performing black and white binarization processing on the scaled grayscale image to obtain a black and white image, the method further includes: in the grayscale image Or add a watermark to the black and white picture.
此外,前述将所述位图数据转换成灰度图的处理之后,或将所述缩放后的灰度图进行黑白二值化处理得到黑白图的处理之后还包括:在所述灰度图中或所述黑白图中添加电子签名。In addition, after the foregoing processing of converting the bitmap data into a grayscale image, or performing black and white binarization processing on the scaled grayscale image to obtain a black and white image, the method further includes: in the grayscale image Or add an electronic signature to the black and white picture.
此外,前述将所述黑白图数据进行JBIG算法压缩处理得到压缩的JBIG数据的处理之后包括,使用特定算法对压缩后的JBIG数据进行加密处理,得到加密的JBIG数据;在目标成像设备接收到由所述加密的JBIG数据生成的待打印数据后,使用特定算法对所述待打印数据进行解密并打印输出。In addition, the foregoing processing of compressing the black and white image data by the JBIG algorithm to obtain the compressed JBIG data includes: encrypting the compressed JBIG data by using a specific algorithm to obtain encrypted JBIG data; receiving the received image by the target imaging device After the data to be printed generated by the encrypted JBIG data is used, the data to be printed is decrypted and printed out using a specific algorithm.
此外,前述将所述压缩的JBIG数据进行命令组合以得到目标成像设备能识别并进行打印操作的待打印数据的处理可进一步包括:在所述目标成像设备是网络成像设备时,所述客户端应用程序将所述压缩的JBIG数据进行命令组合后得到的数据转换成云打印格式文件,作为成像设备能识别并进行打印操作的待打印数据。Furthermore, the foregoing processing of combining the compressed JBIG data to obtain data to be printed that the target imaging device can recognize and perform a printing operation may further include: when the target imaging device is a network imaging device, the client The application converts the data obtained by combining the compressed JBIG data into a cloud print format file as data to be printed which the image forming apparatus can recognize and perform a printing operation.
此外,该方法还可包括:所述客户端应用程序通过检测指定位置是否存在特定格式的云打印格式文件来判断云打印格式文件是否生成完成;在检测结果为已经生成完成时,将所述云打印格式文件上传到服务器。In addition, the method may further include: the client application determines whether the cloud print format file is generated by detecting whether a cloud print format file of a specific format exists in the specified location; and when the detection result is that the generation has been completed, the cloud is The print format file is uploaded to the server.
此外,该方法还包括在所述目标成像设备基于接收到的待打印数据进行打印输出之前的以下处理:客户端应用程序上传作为云打印格式文件到所述服务器;所述服务器通知所述目标成像设备到服务器获取云打印格式文件;所述目标成像设备主动选择适当时机从所述服务器获取云打印格式文件,作为待打印数据。Further, the method further includes the following processing before the target imaging device performs print output based on the received data to be printed: the client application uploads as a cloud print format file to the server; the server notifies the target imaging The device to the server acquires a cloud print format file; the target imaging device actively selects an appropriate time to acquire a cloud print format file from the server as data to be printed.
此外,所述服务器通知所述目标成像设备到服务器获取云打印格式文件的处理可进一步包括以下至少任一:所述客户端应用程序发送获取云打印格式文件的指令到服务器,所述服务器将所述指令下发到所述目标成像设备以通知所述目标成像设备主动到所述服务器获取云打印格式文件;所述服务器接收到所述客户端应用程序上传的云打印格式文件后,自动向所述目标成像设备发送获取云打印格式文件的指令以通知所述目标成像设备主动到所述服务器获取云打印格式文件;所述服务器接收到所述客户端应用程序上传的云打印格式文件后,经过预定时间未接收到所述客户端应用程序的指令时,自动向所述目标成像设备发送获取云打印格式文件的指令,通知所述目标成像设备主动到服务器获取云打印格式文件。Further, the process of the server notifying the target imaging device to the server to acquire the cloud print format file may further include at least any one of the following: the client application sends an instruction to acquire a cloud print format file to the server, where the server The instruction is sent to the target imaging device to notify the target imaging device to actively obtain the cloud print format file from the server; after receiving the cloud print format file uploaded by the client application, the server automatically sends the file to the target The target imaging device sends an instruction to acquire a cloud print format file to notify the target imaging device to actively obtain a cloud print format file from the server; after receiving the cloud print format file uploaded by the client application, the server passes the When the instruction of the client application is not received, the instruction for acquiring the cloud print format file is automatically sent to the target imaging device to notify the target imaging device to actively obtain the cloud print format file from the server.
此外,前述方法还可包括在所述安装于客户端的客户端应用程序的第一模 块根据用户的选择确定待打印文件步骤之前的如下处理:检测用户账号是否已登录,若检测结果为否,搜索本地成像设备,反之,搜索网络成像设备和本地成像设备;客户端应用程序根据用户的选择来将搜索到的成像设备之一确定为所述目标成像设备。Furthermore, the aforementioned method may further include the first mode of the client application installed on the client The block determines the following processing before the step of the file to be printed according to the user's selection: detecting whether the user account has been logged in, and if the detection result is no, searching for the local imaging device, and vice versa, searching for the network imaging device and the local imaging device; the client application is based on the user The selection is to determine one of the searched imaging devices as the target imaging device.
此外,前述方法还可包括在所述安装于客户端的客户端应用程序的第一模块根据用户的选择确定待打印文件步骤之前的如下处理:在客户端的启动类型为自动绑定成像设备类型时,所述客户端应用程序启动二维码扫描功能或由用户手动启动客户端应用程序的二维码扫描功能;所述客户端应用程序扫描包含成像设备信息的二维码并提取该二维码中的成像设备信息;所述服务器根据当前登录的用户账号信息和通过扫描得到的成像设备信息将与通过扫描得到的成像设备信息对应的成像设备与当前登录的用户账号绑定。In addition, the foregoing method may further include: before the step of determining, by the first module of the client application installed by the client, the processing of the file to be printed according to the user's selection, when the startup type of the client is an automatic binding imaging device type, The client application launches a two-dimensional code scanning function or a two-dimensional code scanning function of a client application manually initiated by a user; the client application scans a two-dimensional code containing imaging device information and extracts the two-dimensional code The imaging device information is bound to the currently logged-in user account by the image device corresponding to the imaging device information obtained by the scanning according to the currently logged-in user account information and the imaging device information obtained by the scanning.
本发明还提供了一种图像形成控制系统。该系统包括客户端、服务器、本地成像设备、以及通过所述服务器与所述客户端通信的网络成像设备,其中,所述客户端利用客户端应用程序的第一模块根据用户的选择确定待打印文件,将所述待打印文件转换成位图数据,将所述位图数据发送到所述客户端应用程序的第二模块,以及,利用所述客户端应用程序的第二模块将接收到的位图数据转换为目标成像设备能识别并进行打印操作的待打印数据,所述客户端的客户端应用程序包括第一模块和第二模块,所述第一模块用于实现与用户访问界面相关的处理,第二模块在驱动层实现;所述本地成像设备基于从客户端接收到的待打印数据进行打印输出;所述网络成像设备基于从所述服务器主动获取的待打印数据进行打印输出,所述服务器接收从所述客户端发来的待打印数据,并响应于所述网络成像设备的请求将待打印数据发送至所述网络成像设备。The present invention also provides an image forming control system. The system includes a client, a server, a local imaging device, and a network imaging device that communicates with the client through the server, wherein the client determines to be printed according to a user's selection using a first module of the client application a file, converting the file to be printed into bitmap data, transmitting the bitmap data to a second module of the client application, and receiving the received by the second module of the client application The bitmap data is converted into data to be printed that the target imaging device can recognize and perform a printing operation, and the client application of the client includes a first module and a second module, and the first module is configured to implement a user access interface. Processing, the second module is implemented at the driver layer; the local imaging device performs print output based on the data to be printed received from the client; the network imaging device performs print output based on the data to be printed actively acquired from the server, Receiving, by the server, data to be printed sent from the client, and in response to the network imaging device Request to be sent to the network print data forming device.
与现有技术相比,本发明的一个或多个实施例中,由客户端app的第一模块将Bitmap数据拆分成各个小包后传送到客户端app的第二模块,再由客户端app的第二模块进行组包还原Bitmap数据。由于移动终端,如Android(安卓系统)设备,在读取或处理大图片时会出现内存溢出或内存不足的情况,而客户端app的第二模块能够进行大图片的处理,此处将数据拆分成各个小包,然后传送到客户端app第二模块重新组合成完整的图片数据包进行处理,这样能有效防止移动终端因处理大图片而导致的内存溢出问题。Compared with the prior art, in one or more embodiments of the present invention, the first module of the client app splits the Bitmap data into individual packets and transmits them to the second module of the client app, and then the client app. The second module performs a group package to restore Bitmap data. Since mobile terminals, such as Android (Android) devices, may experience memory overflow or insufficient memory when reading or processing large pictures, the second module of the client app can process large pictures, and the data is removed here. Divided into individual packets, and then transferred to the client app, the second module is recombined into a complete picture data packet for processing, which can effectively prevent the memory terminal from overflowing due to processing large pictures.
此外,本发明的发明人提出了通知成像设备主动到服务器获取云打印格式文 件的方式,成像设备可以根据自身的处理能力和状态来选择适当的时机来获取打印数据,例如在成像设备已处理完打印队列中的部分作业,有足够的存储空间用来存储下一份打印作业时,主动获取打印数据,这样可以大大降低与云服务器的大数量通信过程中的数据丢失概率,且简化系统流程。Furthermore, the inventors of the present invention have proposed to notify the imaging device to actively obtain a cloud print format text from the server. In a way, the imaging device can select the appropriate timing to obtain the print data according to its processing capability and state, for example, the image processing device has processed some of the jobs in the print queue, and has enough storage space for storing the next print. When the job is performed, the print data is actively acquired, which can greatly reduce the probability of data loss during the large number of communication with the cloud server, and simplify the system flow.
本发明的其他优点、目标和特征在某种程度上将在随后的说明书中进行阐述,并且在某种程度上,基于对下文的考察研究对本领域技术人员而言将是显而易见的,或者可以从本发明的实践中得到教导。本发明的目标和其他优点可以通过下面的说明书,权利要求书,以及附图中所特别指出的结构来实现和获得。Other advantages, objects, and features of the invention will be set forth in part in the description which follows, and in the <RTIgt; The teachings of the present invention are taught. The objectives and other advantages of the invention may be realized and obtained in the <RTIgt;
附图说明DRAWINGS
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例共同用于解释本发明,并不构成对本发明的限制。在附图中:The drawings are intended to provide a further understanding of the invention, and are intended to be a part of the description of the invention. In the drawing:
图1是根据本发明实施例的图像形成控制系统的架构示意图;1 is a block diagram showing an architecture of an image forming control system according to an embodiment of the present invention;
图2是根据本发明实施例的图像形成控制方法的流程图;2 is a flow chart of an image forming control method according to an embodiment of the present invention;
图3是根据本发明又一实施例的图像形成控制方法的流程图;FIG. 3 is a flowchart of an image forming control method according to still another embodiment of the present invention; FIG.
图4是根据本发明又一实施例的图像形成控制方法的流程图;4 is a flowchart of an image forming control method according to still another embodiment of the present invention;
图5是客户端应用程序生成打印数据和云打印格式文件的处理流程。FIG. 5 is a processing flow of a client application generating print data and a cloud print format file.
具体实施方式detailed description
以下将结合附图及实施例来详细说明本发明的实施方式,借此对本发明如何应用技术手段来解决技术问题,并达成技术效果的实现过程能充分理解并据以实施。需要说明的是,只要不构成冲突,本发明中的各个实施例以及各实施例中的各个特征可以相互结合,所形成的技术方案均在本发明的保护范围之内。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and embodiments, in which the present invention can be applied to the technical problems, and the implementation of the technical effects can be fully understood and implemented. It should be noted that the various embodiments of the present invention and the various features of the various embodiments may be combined with each other, and the technical solutions formed are all within the scope of the present invention.
另外,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。Additionally, the steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions, and although the logical order is illustrated in the flowchart, in some cases may be different The steps shown or described are performed in the order herein.
下面通过附图和具体实施例,对本发明的技术方案进行详细描述。The technical solutions of the present invention are described in detail below with reference to the accompanying drawings and specific embodiments.
图1为根据本发明实施例的图像形成控制系统的架构示意图。如图1所示,多个客户端10通过因特网20与服务器30通信。此外,多个客户端10还通过无 线接入点40与多台本地成像设备50通信,服务器30与多台网络成像设备60通信。FIG. 1 is a block diagram showing an architecture of an image forming control system according to an embodiment of the present invention. As shown in FIG. 1, a plurality of clients 10 communicate with the server 30 via the Internet 20. In addition, multiple clients 10 also pass none The line access point 40 is in communication with a plurality of local imaging devices 50, and the server 30 is in communication with a plurality of network imaging devices 60.
图1仅为举例,客户端10可以为具有无线通信功能的终端设备,包括手机、智能手机、平板电脑、笔记本电脑、掌上电脑、车载电脑以及其他具有无线通信功能的智能终端。以下以移动终端为例进行说明。无线接入点可以为具有无线信号收发功能的接入点,如路由器、交换机、移动终端、PC机等,数量可以为至少一个。此外,接入点也可以是自身具备无线热点功能的成像设备50(也称图像形成设备,指打印机、兼具打印、传真等多种成像功能于一体的多功能一体机等)兼任。本地成像设备50指未接入因特网的成像设备(可以接入局域网,只要未接入因特网,即为本地成像设备;当本地成像设备接入因特网时,可成为网络成像设备)。网络成像设备60为接入因特网或通过服务器30接入因特网的成像设备。服务器30可以为一个或多个。FIG. 1 is only an example, and the client 10 may be a terminal device with wireless communication functions, including a mobile phone, a smart phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted computer, and other smart terminals having wireless communication functions. The following describes a mobile terminal as an example. The wireless access point may be an access point having a wireless signal transceiving function, such as a router, a switch, a mobile terminal, a PC, etc., and the number may be at least one. In addition, the access point may also be an imaging device 50 (also referred to as an image forming device, which is a printer, a multifunction machine that combines various imaging functions such as printing and faxing), which has a wireless hotspot function. The local imaging device 50 refers to an imaging device that is not connected to the Internet (can access a local area network, as long as it is not connected to the Internet, that is, a local imaging device; when the local imaging device accesses the Internet, it can become a network imaging device). The network imaging device 60 is an imaging device that accesses the Internet or accesses the Internet through the server 30. Server 30 can be one or more.
本地成像设备50基于从客户端10接收到的待打印数据进行打印输出。网络成像设备60基于从服务器30主动获取的待打印数据进行打印输出。服务器30接收从客户端10发来的待打印数据,并响应于网络成像设备60的请求将待打印数据发送至网络成像设备60。下文中,若无特别说明,成像设备可以指网络成像设备60和/或本地成像设备50。The local imaging device 50 performs print output based on the data to be printed received from the client 10. The network imaging device 60 performs print output based on data to be printed actively acquired from the server 30. The server 30 receives the data to be printed sent from the client 10 and transmits the data to be printed to the network imaging device 60 in response to a request from the network imaging device 60. Hereinafter, the imaging device may refer to the network imaging device 60 and/or the local imaging device 50 unless otherwise specified.
实施例一Embodiment 1
参考图2来说明实施例一。图2示出根据本实施例的图像形成控制方法的流程图。Embodiment 1 will be described with reference to FIG. 2. FIG. 2 shows a flowchart of an image forming control method according to the present embodiment.
S201,启动客户端app(客户端应用程序)。app为客户端上用于执行打印任务的应用程序,由用户预先安装在客户端上。用户使用预先在服务器30上注册过的账号和密码登录服务器30。S201, start a client app (client application). The app is an application for executing a print job on the client, and is pre-installed on the client by the user. The user logs in to the server 30 using the account and password registered in advance on the server 30.
S202,客户端app通过服务器30搜索网络中的已与当前登录的用户账号绑定的成像设备。客户端app通过发送请求获取服务器30上已与当前登录的用户账号绑定的成像设备并接收服务器30的返回结果来完成搜索。在客户端的用户界面显示搜索到的成像设备列表及其状态信息,所显示的状态信息可包括:设备名称、设备编号、设备地址(IP地址)、工作状态(忙碌、待机或未就绪等)、打印速度、打印分辨率、支持的打印模式(黑白打印或者彩色打印)、设备网络状态(在线或离线)、设备网络传输状态(网络传输速度、网络延迟、丢包率)、设备耗材信息(纸张剩余量、粉盒剩余量等)等信息。 S202. The client app searches the server 30 for the imaging device in the network that is bound to the currently logged-in user account. The client app completes the search by transmitting a request to acquire an imaging device on the server 30 that has been bound to the currently logged-in user account and receiving a return result of the server 30. Displaying the searched imaging device list and its status information on the client user interface, the displayed status information may include: device name, device number, device address (IP address), working status (busy, standby or not ready, etc.), Print speed, print resolution, supported print mode (black and white or color print), device network status (online or offline), device network transfer status (network transfer speed, network delay, packet loss rate), device consumables information (paper Information such as the remaining amount, the remaining amount of the toner cartridge, etc.).
S203,客户端app根据用户选择确定用于执行打印作业的成像设备,称为目标成像设备。用户通过客户端的用户界面选择希望执行打印作业的成像设备。S203. The client app determines an imaging device for executing a print job according to a user selection, which is called a target imaging device. The user selects an imaging device that wishes to execute a print job through the client's user interface.
S204,客户端app生成云打印格式文件。客户端app将打印数据转换成所选择的成像设备可识别并可进行打印的云打印格式文件,作为待打印数据。S204. The client app generates a cloud print format file. The client app converts the print data into a cloud print format file that the selected image forming device can recognize and print as data to be printed.
客户端app生成云打印格式文件的具体处理流程见附图5及其描述。The specific processing flow of the client app to generate the cloud print format file is shown in Figure 5 and its description.
S205,客户端app上传云打印格式文件到服务器30。客户端app将生成的云打印格式文件上传到服务器30。可在用户界面显示上传成功或上传失败等结果信息。S205. The client app uploads the cloud print format file to the server 30. The client app uploads the generated cloud print format file to the server 30. The result information such as upload success or upload failure can be displayed on the user interface.
S206,服务器30通知目标成像设备到服务器30获取云打印格式文件。S206. The server 30 notifies the target imaging device to the server 30 to acquire the cloud print format file.
通知目标成像设备主动到服务器30获取云打印格式文件,可通过如下几种方式之一来实现:①客户端app发送获取云打印格式文件的指令到服务器30,服务器30将所述指令下发到目标成像设备,通知目标成像设备主动到服务器30获取云打印格式文件;②服务器30接收到客户端app上传的云打印格式文件后,自动向目标成像设备发送获取云打印格式文件的指令,通知目标成像设备主动到服务器30获取云打印格式文件;③服务器30接收到客户端app上传的云打印格式文件后,经过预定时间,如5秒,未接收到客户端app的指令时,自动向目标成像设备发送获取云打印格式文件的指令,通知目标成像设备主动到服务器30获取云打印格式文件。The notification that the target imaging device actively obtains the cloud print format file from the server 30 can be implemented in one of the following ways: 1 The client app sends an instruction to obtain a cloud print format file to the server 30, and the server 30 delivers the instruction to the server 30. The target imaging device notifies the target imaging device to actively obtain the cloud print format file from the server 30. After receiving the cloud print format file uploaded by the client app, the server 30 automatically sends an instruction to acquire the cloud print format file to the target imaging device to notify the target. The imaging device actively obtains the cloud print format file from the server 30; after receiving the cloud print format file uploaded by the client app, the server 30 automatically images the target after a predetermined time, such as 5 seconds, without receiving the instruction of the client app. The device sends an instruction to obtain a cloud print format file, and notifies the target imaging device to actively obtain the cloud print format file from the server 30.
S207,目标成像设备主动选择适当的时机从服务器30获取云打印格式文件并执行打印操作。成像设备从服务器30下载云打印格式文件并将云打印格式文件打印在记录介质上。S207. The target imaging device actively selects an appropriate timing to acquire a cloud print format file from the server 30 and perform a printing operation. The image forming apparatus downloads the cloud print format file from the server 30 and prints the cloud print format file on the recording medium.
需要重点说明的是,发明人注意到,传统的成像系统中由于客户端和成像设备直接连接,通信效率较高,不容易出现因打印机繁忙或故障导致的打印数据丢失的情况,而在云成像系统中,由于客户端和成像系统通过云服务器30来进行通信,且客户端和成像设备的绑定关系具有较大的可变性,若继续沿用传统技术中成像设备被动接收由客户端在任意时机发送来的打印数据的处理方式,会导致打印数据排队过长、打印取消频繁、成像设备缺纸、成像设备故障等各种原因导致成像系统出错频繁,且为了解决这些可能的出错,需要引入过于复杂的控制程序。因此,本发明的发明人提出了新的处理方式,在S206中通知成像设备主动到服务器30获取云打印格式文件,在S207中,成像设备可以根 据自身的处理能力和状态来选择适当的时机来获取打印数据,例如在成像设备已处理完打印队列中的部分作业,有足够的存储空间用来存储下一份打印作业时,主动获取打印数据,这可以大大降低数据丢失概率,且简化系统流程。It should be emphasized that the inventor has noticed that in the conventional imaging system, since the client and the imaging device are directly connected, the communication efficiency is high, and the print data loss caused by the printer being busy or malfunctioning is not easy to occur, and the cloud imaging is performed. In the system, since the client and the imaging system communicate through the cloud server 30, and the binding relationship between the client and the imaging device has greater variability, if the imaging device continues to be passively received by the conventional technology, the client is at any timing. The processing method of the sent print data may cause the print data to be queued too long, the printing is cancelled frequently, the imaging device is out of paper, the imaging device is faulty, etc., and the imaging system has frequent errors, and in order to solve these possible errors, it needs to be introduced too much. Complex control program. Therefore, the inventors of the present invention have proposed a new processing method, in which it is notified in S206 that the image forming apparatus actively takes the cloud print format file to the server 30, and in S207, the image forming apparatus can be rooted. According to its processing power and state, choose the appropriate timing to obtain the print data. For example, if the imaging device has processed part of the job in the print queue, and has enough storage space to store the next print job, actively obtain the print data. This greatly reduces the probability of data loss and simplifies system flow.
此外,本发明的发明人还注意到,服务器30往往具有较强的数据存储能力,但是,若将打印数据的处理都放到服务器30中,则服务器30的计算能力很难满足需求。因此,本发明一改传统的云成像系统中将打印数据转换成所选择的成像设备可识别并可进行打印的云打印格式文件的处理放在服务器30中的方案,而是将这一处理放在了客户端,使得计算处理分布式化,这大大提高了整个成像系统的处理能力。Furthermore, the inventors of the present invention have also noticed that the server 30 tends to have a strong data storage capability, but if the processing of the print data is placed in the server 30, the computing power of the server 30 is difficult to meet the demand. Therefore, the present invention modifies the scheme of converting the print data into the processing of the cloud print format file identifiable and printable by the selected image forming apparatus in the conventional cloud imaging system, and placing the processing in the server 30, but placing the processing On the client side, the computational processing is distributed, which greatly improves the processing power of the entire imaging system.
S208,客户端app请求成像设备状态和打印作业状态,并显示结果信息。成像设备执行打印操作过程中,客户端app每间隔一定时间,如0.5秒,向服务器30发送请求,获取执行打印作业的成像设备的状态和打印作业状态;服务器30发送指令到执行打印作业的成像设备,获取成像设备状态和打印作业状态;成像设备响应于服务器30下发的指令,向服务器30发送自身状态信息和打印作业状态信息;服务器30接收成像设备发回的状态信息,并将状态信息发送给客户端app;客户端app接收服务器30发回的状态信息,并在用户界面显示成像设备状态信息和打印作业状态信息。S208. The client app requests the imaging device status and the print job status, and displays the result information. During the execution of the printing operation by the image forming apparatus, the client app sends a request to the server 30 every time interval, such as 0.5 seconds, to acquire the state of the image forming apparatus that executes the print job and the print job state; the server 30 sends an instruction to perform the image forming of the print job. The device acquires the imaging device status and the print job status; the imaging device transmits the self status information and the print job status information to the server 30 in response to the instruction issued by the server 30; the server 30 receives the status information sent back by the imaging device, and the status information Sended to the client app; the client app receives the status information sent back by the server 30, and displays the imaging device status information and the print job status information in the user interface.
所述成像设备状态可包括:设备网络通讯状态(网络速度、网络延迟、通讯是否成功)、设备耗材信息(纸张剩余量、粉盒剩余量等)、设备故障信息(卡纸、缺墨、缺纸、机盖被打开、意外断电)等信息。所述打印作业状态包括:数据解析状态(解析进度、解析成功或解析失败)、作业打印状态(已打印页数、未打印页数、已用时间、所需时间等)。The imaging device status may include: device network communication status (network speed, network delay, communication success), device consumables information (paper remaining amount, toner cartridge remaining amount, etc.), device failure information (jam, lack of ink, lack of Information such as paper, cover is opened, accidental power off). The print job status includes: data analysis status (resolution progress, parsing success or parsing failure), job print status (number of printed pages, number of unprinted pages, elapsed time, required time, etc.).
S209,结束。客户端app在用户界面显示最终打印结果信息时,如“打印成功”,打印任务结束。S209, the end. When the client app displays the final print result information in the user interface, such as "Print Successful", the print job ends.
实施例二Embodiment 2
参考图3来说明实施例二。图3示出根据本实施例的图像形成控制方法的流程图。Embodiment 2 will be described with reference to FIG. 3. FIG. 3 shows a flowchart of an image forming control method according to the present embodiment.
S301,启动客户端app。客户端app为客户端上用于执行打印任务的应用程序,由用户预先安装在客户端上。S301. Start the client app. The client app is an application for executing a print job on the client, and is pre-installed on the client by the user.
S302,客户端app搜索本地成像设备。客户端app通过搜索本地已广播无线信号及其设备识别码的设备来搜索本地成像设备,并在客户端的用户界面显示 搜索到的本地成像设备列表及其状态信息,所显示的状态信息可包括:设备名称、设备编号、工作状态(忙碌、待机或未就绪等)、打印速度、打印分辨率、支持的打印模式(黑白打印或者彩色打印)、设备耗材信息(纸张剩余量、粉盒剩余量等)、用户权限等信息。S302. The client app searches for a local imaging device. The client app searches for the local imaging device by searching for a device that has broadcasted the wireless signal and its device identifier locally, and displays it on the client's user interface. The searched local imaging device list and its status information, the displayed status information may include: device name, device number, working status (busy, standby or not ready, etc.), print speed, print resolution, supported print mode ( Black and white printing or color printing), equipment consumables information (paper remaining amount, toner cartridge remaining amount, etc.), user rights and other information.
S303,客户端app根据用户的选择或预先设定将搜索到的成像设备之一确定为用于执行打印作业的目标成像设备。用户可通过客户端的用户界面选择希望执行打印作业的成像设备。S303. The client app determines one of the searched imaging devices as the target imaging device for executing the print job according to the user's selection or preset. The user can select the imaging device that wants to execute the print job through the client's user interface.
S304,客户端app发送打印数据到成像设备。客户端app将打印数据转换成所选择的成像设备可识别并可进行打印的格式,发送到成像设备,并在用户界面显示发送成功或发送失败等结果信息。S304. The client app sends the print data to the imaging device. The client app converts the print data into a format that the selected imaging device can recognize and print, sends it to the imaging device, and displays result information such as a successful transmission or a failed transmission on the user interface.
客户端app生成打印数据的具体处理流程见附图5及其描述。The specific processing flow of the client app to generate print data is shown in Figure 5 and its description.
S305,成像设备执行打印操作。成像设备将接收到的打印数据打印在记录介质上。S305. The imaging device performs a printing operation. The image forming apparatus prints the received print data on a recording medium.
S306,客户端app请求成像设备状态和打印作业状态,并显示结果信息。成像设备执行打印操作过程中,客户端app每间隔一定时间,如0.5秒,向成像设备发送指令,获取成像设备的状态和打印作业状态;成像设备响应于客户端app下发的指令,向客户端app发送自身状态信息和打印作业状态信息;客户端app接收成像设备发回的状态信息,并在用户界面显示成像设备状态信息和打印作业状态信息。S306. The client app requests the imaging device status and the print job status, and displays the result information. During the printing operation of the imaging device, the client app sends an instruction to the imaging device to acquire the state of the imaging device and the print job state every time interval, such as 0.5 seconds; the imaging device responds to the instruction issued by the client app to the client. The end app sends its own status information and print job status information; the client app receives the status information sent back by the imaging device, and displays the imaging device status information and the print job status information in the user interface.
所述成像设备状态可包括:设备耗材信息(纸张剩余量、粉盒剩余量等)、设备故障信息(卡纸、缺墨、缺纸、机盖被打开、意外断电)等信息。所述打印作业状态包括:数据解析状态(解析进度、解析成功或解析失败)、作业打印状态(已打印页数、未打印页数、已用时间、所需时间等)。The image forming apparatus status may include information such as equipment consumables information (paper remaining amount, toner cartridge remaining amount, etc.), equipment failure information (jam, lack of ink, out of paper, cover is opened, accidental power off). The print job status includes: data analysis status (resolution progress, parsing success or parsing failure), job print status (number of printed pages, number of unprinted pages, elapsed time, required time, etc.).
S307,结束。客户端app在用户界面显示最终打印结果信息时,如“打印成功”,打印任务结束。S307, the end. When the client app displays the final print result information in the user interface, such as "Print Successful", the print job ends.
实施例三:Embodiment 3:
参考图4来说明实施例三。图4示出根据本实施例的图像形成控制方法的流程图。Embodiment 3 will be described with reference to FIG. FIG. 4 shows a flowchart of an image forming control method according to the present embodiment.
S401,启动客户端app。客户端app为客户端上用于执行打印任务的应用程序,由用户预先安装在客户端上。可选的,用户可使用预先在服务器30上注册过的账号和密码登录服务器30。 S401, start the client app. The client app is an application for executing a print job on the client, and is pre-installed on the client by the user. Alternatively, the user can log in to the server 30 using the account and password previously registered on the server 30.
S402,检测当前启动类型是否为普通启动类型。app的启动类型包括普通启动类型和自动绑定成像设备启动类型,通过检测客户端app启动的功能来检测启动类型是普通启动类型还是自动绑定成像设备类型。当检测结果为“是”时,进入步骤S405,当检测结果为“否”时,进入步骤S403。S402. Detect whether the current startup type is a normal startup type. The startup type of the app includes a normal startup type and an automatic binding imaging device startup type, and detects whether the startup type is a normal startup type or an automatic binding imaging device type by detecting a function initiated by the client app. When the detection result is "YES", the process proceeds to step S405, and when the detection result is "NO", the process proceeds to step S403.
S403,客户端app启动二维码扫描功能扫描成像设备上的二维码。客户端app附带有二维码扫描功能模块,进入此步骤后,系统自动启动二维码扫描功能或由用户手动启动二维码扫描功能,扫描成像设备上的二维码。S403. The client app starts the two-dimensional code scanning function to scan the two-dimensional code on the imaging device. The client app is provided with a QR code scanning function module. After entering this step, the system automatically starts the QR code scanning function or the user manually starts the QR code scanning function to scan the QR code on the imaging device.
用户扫描成像设备上的二维码时,二维码扫描程序自动对扫描到的二维码进行解码,提取二维码包含的成像设备信息。二维码可以是直接印刷在图像形成设备上的,可以是印刷在图像形成设备所贴的标签上,也可以是通过喷码技术喷涂在图像形成设备上,还可以是通过其他方式以可见形式展示在图像形成设备上的。所述成像设备信息至少包含成像设备标识信息,还可以包含设备型号、设备属性(如打印速度、打印分辨率)、设备功能(如是否支持彩色打印)等信息,所述成像设备标识信息是指一台成像设备区别于其他设备的唯一标识,如设备编码等信息。When the user scans the two-dimensional code on the imaging device, the two-dimensional code scanning program automatically decodes the scanned two-dimensional code and extracts the imaging device information contained in the two-dimensional code. The two-dimensional code may be directly printed on the image forming apparatus, may be printed on the label attached to the image forming apparatus, or may be sprayed on the image forming apparatus by the inkjet technique, or may be in a visible form by other means. Displayed on the image forming device. The imaging device information includes at least imaging device identification information, and may further include information such as a device model, device attributes (such as print speed, print resolution), device functions (such as whether to support color printing), and the imaging device identification information refers to An imaging device is distinguished from other devices by unique identifiers, such as device codes.
S404,服务器30根据当前登录的用户账号信息和通过扫描得到的成像设备信息将成像设备与当前登录的用户账号绑定。客户端app自动向服务器30提交成像设备信息与用户账号进行绑定,若用户未登录,则先提示用户登录,再执行绑定。绑定是指在成像设备与用户账号之间建立对应关系。S404. The server 30 binds the imaging device to the currently logged-in user account according to the currently logged-in user account information and the imaging device information obtained by scanning. The client app automatically submits the imaging device information to the server 30 for binding with the user account. If the user is not logged in, the user is prompted to log in first, and then the binding is performed. Binding refers to establishing a correspondence between an imaging device and a user account.
S405,检测用户账号是否已登录。当检测结果为“是”时,进入步骤S406,以搜索网络成像设备和本地成像设备;当检测结果为“否”时,进入步骤S409,以搜索本地成像设备。S405. Detect whether the user account is logged in. When the detection result is "YES", the process proceeds to step S406 to search for the network imaging device and the local imaging device; when the detection result is "NO", the process proceeds to step S409 to search for the local imaging device.
S406,客户端通过服务器30和本地网络搜索成像设备。客户端app发送请求获取服务器30上已与所登录的用户账号绑定的成像设备并接收服务器30的返回结果,同时通过搜索本地已广播无线信号及其设备识别码的设备来搜索本地成像设备,并在客户端的用户界面显示搜索到的网络成像设备和本地成像设备列表及其状态信息,所显示的状态信息可包括:设备类型(网络成像设备或本地成像设备)、设备名称、设备编号、设备地址(IP地址)、工作状态(忙碌、待机或未就绪等)、打印速度、打印分辨率、支持的打印模式(黑白打印或者彩色打印)、设备网络状态(在线或离线)、设备网络传输状态(网络传输速度、网络延迟、丢包率)、设备耗材信息(纸张剩余量、粉盒剩余量等)、使用权限 等信息。S406. The client searches for the imaging device through the server 30 and the local network. The client app sends a request to obtain an imaging device on the server 30 that has been bound to the logged-in user account and receives the return result of the server 30, while searching for the local imaging device by searching for a device that has broadcasted the wireless signal and its device identification code locally. And displaying the searched network imaging device and the local imaging device list and status information thereof on the client user interface, the displayed status information may include: device type (network imaging device or local imaging device), device name, device number, device Address (IP address), working status (busy, standby or not ready, etc.), print speed, print resolution, supported print mode (black and white or color print), device network status (online or offline), device network transmission status (network transmission speed, network delay, packet loss rate), equipment consumables information (paper remaining amount, toner cartridge remaining amount, etc.), usage rights And other information.
S407,客户端app根据用户的选择或预先设定来将搜索到的成像设备之一确定为用于执行打印作业的目标成像设备。用户可通过客户端的用户界面选择希望执行打印作业的成像设备。S407. The client app determines one of the searched imaging devices as the target imaging device for executing the print job according to the user's selection or preset. The user can select the imaging device that wants to execute the print job through the client's user interface.
S408,判断所选择的目标成像设备是否为网络成像设备。通过用户所选择的成像设备类型来判断是否为网络成像设备。当判断结果为“是”时,进入步骤S412,当判断结果为“否”时,进入步骤S411。S408. Determine whether the selected target imaging device is a network imaging device. Whether or not the network imaging device is determined by the type of imaging device selected by the user. When the determination result is "YES", the process proceeds to step S412, and when the determination result is "NO", the process proceeds to step S411.
S409,搜索本地成像设备;S409, searching for a local imaging device;
S410,从搜索到的成像设备中选择目标成像设备执行打印作业;S410. Select a target imaging device from the searched imaging devices to perform a print job.
S411,客户端app发送打印数据到成像设备;S411, the client app sends the print data to the imaging device;
上述步骤S409、S410、S411分别与图3中的步骤S302、S303、S304大体相同,在此不再描述。The above steps S409, S410, and S411 are substantially the same as steps S302, S303, and S304 in FIG. 3, and are not described here.
S412,客户端app生成云打印格式文件;S412. The client app generates a cloud print format file.
客户端app生成上述S411步骤中发送的打印数据、S412步骤中的云打印格式文件的具体处理流程见附图5及其描述。The specific processing flow of the client app generating the print data sent in the above step S411 and the cloud print format file in the step S412 is shown in FIG. 5 and its description.
S413,客户端app上传所生成的云打印格式文件到服务器30;S413, the client app uploads the generated cloud print format file to the server 30;
S414,服务器30通知目标成像设备从服务器30获取云打印格式文件;S414, the server 30 notifies the target imaging device to acquire the cloud print format file from the server 30;
上述步骤S412、S413、S414分别与图2中的步骤S204、S205、S206大体相同,在此不再描述。The above steps S412, S413, and S414 are substantially the same as steps S204, S205, and S206 in FIG. 2, and are not described here.
S415,目标成像设备主动选择适当的时机从服务器30获取云打印格式文件。成像设备从服务器30下载云打印格式文件并存储在成像设备内存中。S415, the target imaging device actively selects an appropriate timing to acquire a cloud print format file from the server 30. The imaging device downloads the cloud print format file from the server 30 and stores it in the imaging device memory.
S416,目标成像设备基于从服务器30获取的云打印格式文件执行打印操作。当目标成像设备是网络成像设备时,成像设备将接收并存储在内存中的待打印数据(即,云打印格式文件)打印在记录介质上;当成像设备是本地成像设备时,成像设备将接收到的待打印数据打印在记录介质上。S416, the target imaging device performs a printing operation based on the cloud print format file acquired from the server 30. When the target imaging device is a network imaging device, the imaging device prints the data to be printed (ie, the cloud print format file) received and stored in the memory on the recording medium; when the imaging device is the local imaging device, the imaging device receives The data to be printed to be printed is printed on the recording medium.
S417,可选的,客户端app请求成像设备状态和打印作业状态,显示结果信息。当成像设备是网络成像设备时,步骤S417与图2中的步骤S208大体相同;当成像设备是本地成像设备时,步骤S417与图3中的步骤S306大体相同;故在此不再描述。S417. Optionally, the client app requests the imaging device status and the print job status to display the result information. When the imaging device is a network imaging device, step S417 is substantially the same as step S208 in FIG. 2; when the imaging device is a local imaging device, step S417 is substantially the same as step S306 in FIG. 3; therefore, it will not be described here.
S418,结束。客户端app在用户界面显示最终打印结果信息时,如“打印成功”,打印任务结束。 S418, the end. When the client app displays the final print result information in the user interface, such as "Print Successful", the print job ends.
下面参考图5来说明客户端app生成上述实施例中的打印数据和云打印格式文件的处理流程。The processing flow of the client app to generate the print data and the cloud print format file in the above embodiment will be described below with reference to FIG.
S501,安装于移动终端的客户端app的第一模块根据用户的选择确定待打印文件。用户可通过客户端app的用户界面选择打印文件,打印文件可以是图片类型,也可以是文件类型,如电子文档、电子表格等。客户端app包括第一模块和第二模块,第一模块用于实现与用户访问界面相关的处理。与用户访问界面无关的处理由第二模块完成,第二模块在驱动层实现。通过这样的设计,可以使得客户端app可以处理较大图片,这在后续将进一步说明。S501. The first module of the client app installed on the mobile terminal determines the file to be printed according to the user's selection. The user can select a print file through the user interface of the client app, and the print file can be a picture type or a file type such as an electronic document, a spreadsheet, or the like. The client app includes a first module and a second module, and the first module is used to implement processing related to the user access interface. The processing independent of the user access interface is performed by the second module, and the second module is implemented at the driver layer. With such a design, the client app can be made to process larger pictures, which will be further explained later.
在后续S502至S504中,客户端app第一模块将待打印文件转换为位图数据。In subsequent S502 to S504, the client app first module converts the file to be printed into bitmap data.
S502,客户端app的第一模块判断待打印文件是否为图片类型。若判断结果为“否”时,进入步骤S503,当检测结果为“是”时,进入步骤S504。S502. The first module of the client app determines whether the file to be printed is a picture type. If the result of the determination is "NO", the process proceeds to step S503, and when the result of the determination is "YES", the process proceeds to step S504.
S503,在待打印文件不是图片类型时,客户端app的第一模块将待打印文件转换成待打印图片。转换完成后进入步骤S504。S503. When the file to be printed is not a picture type, the first module of the client app converts the file to be printed into a picture to be printed. After the conversion is completed, the process proceeds to step S504.
S504,客户端app的第一模块将待打印图片转换为Bitmap(位图)数据,例如可以为24位格式的位图数据。S504. The first module of the client app converts the picture to be printed into Bitmap data, for example, bitmap data in a 24-bit format.
S505,客户端app的第一模块将Bitmap数据发送到客户端app的第二模块。优选的,将Bitmap数据拆分成各个小包后传送到客户端app的第二模块,再由客户端app的第二模块进行组包还原Bitmap数据。由于移动终端,如Android(安卓系统)设备,在读取或处理大图片时会出现内存溢出或内存不足的情况,而客户端app的第二模块能够进行大图片的处理,此处将数据拆分成各个小包,然后传送到客户端app第二模块重新组合成完整的图片数据包进行处理,能有效防止移动终端内存溢出或内存不足的情况发生。S505. The first module of the client app sends the Bitmap data to the second module of the client app. Preferably, the Bitmap data is split into individual packets and transmitted to the second module of the client app, and then the second module of the client app performs group package restoration of the Bitmap data. Since mobile terminals, such as Android (Android) devices, may experience memory overflow or insufficient memory when reading or processing large pictures, the second module of the client app can process large pictures, and the data is removed here. Divided into individual packets, and then transmitted to the client app, the second module is recombined into a complete picture data packet for processing, which can effectively prevent the mobile terminal from overflowing or insufficient memory.
然后通过步骤S506至S510,客户端应用程序的第二模块将接收到的位图数据转换成成像设备能识别并进行打印操作的待打印数据。Then, through steps S506 to S510, the second module of the client application converts the received bitmap data into data to be printed that the imaging device can recognize and perform the printing operation.
S506,客户端app的第二模块将Bitmap数据转换成灰度图,例如8位灰度图。S506, the second module of the client app converts the Bitmap data into a grayscale image, such as an 8-bit grayscale image.
S507,客户端app的第二模块根据打印尺寸将灰度图进行成比例缩放处理。S507. The second module of the client app scales the grayscale image according to the print size.
S508,客户端app的第二模块将缩放后的灰度图进行黑白二值化处理。将灰度图进行黑白二值化处理,即将数据转换得到黑白图。 S508. The second module of the client app performs black and white binarization processing on the scaled grayscale image. The grayscale image is subjected to black and white binarization processing, that is, the data is converted into a black and white image.
在本发明的其他实施例中,客户端app第二模块将Bitmap数据转换成灰度图后,或者将灰度图进行黑白二值化处理得到黑白图后,即在步骤S506或步骤S508后,在灰度图中或者黑白图中添加水印。In other embodiments of the present invention, after the second module of the client app converts the Bitmap data into a grayscale image, or performs black and white binarization processing on the grayscale image to obtain a black and white image, that is, after step S506 or step S508, Add a watermark in the grayscale image or in the black and white image.
所述水印是向电子数据(如图像、声音、视频信号等)中添加某些数字信息以达到文件真伪鉴别、版权保护等功能。嵌入的水印信息隐藏于宿主文件中,不影响原始文件的可观性和完整性。The watermark is to add certain digital information to electronic data (such as images, sounds, video signals, etc.) to achieve the functions of authenticity identification, copyright protection, and the like. The embedded watermark information is hidden in the host file without affecting the observability and integrity of the original file.
在本发明的其他实施例中,客户端app第二模块将Bitmap数据转换成灰度图后,或者将灰度图进行黑白二值化处理得到黑白图后,即在步骤S506或步骤S508后,在灰度图中或者黑白图中添加电子签名。In other embodiments of the present invention, after the second module of the client app converts the Bitmap data into a grayscale image, or performs black and white binarization processing on the grayscale image to obtain a black and white image, that is, after step S506 or step S508, Add an electronic signature in the grayscale image or in the black and white image.
所述电子签名是指电子数据中以电子形式所含、所附用于识别签名人身份并表明签名人认可其中内容的数据。The electronic signature refers to data contained in an electronic form in electronic data, attached to identify the identity of the signer and indicating that the signer approves the content therein.
S509,客户端app的第二模块将转换得到的黑白图数据进行JBIG(Joint Bi-level Image Experts Group,联合二值图像专家组)算法压缩处理,得到压缩的JBIG数据。二值图像是一种只用1bit来表达每个像素的颜色值的图像,JBIG是一种二值图像压缩标准,可用于对灰度图像以及每个像素使用有限个比特的彩色图像进行编码。S509, the second module of the client app performs the compression processing of the JBIG (Joint Bi-level Image Experts Group) algorithm to obtain the compressed JBIG data. A binary image is an image that expresses the color value of each pixel using only 1 bit. JBIG is a binary image compression standard that can be used to encode grayscale images and color images using a limited number of bits per pixel.
在本发明的其他实施例中,在app的第二模块得到压缩的JBIG数据后,即在步骤S509后,使用特定算法对压缩后的JBIG数据进行加密处理,得到加密的JBIG数据。In other embodiments of the present invention, after the second module of the app obtains the compressed JBIG data, that is, after step S509, the compressed JBIG data is encrypted using a specific algorithm to obtain the encrypted JBIG data.
S510,客户端app的第二模块将压缩的JBIG数据进行命令组合。命令组合的过程即将压缩的JBIG数据与数据命令进行组合,生成成像设备能识别并进行打印操作的待打印数据。S510. The second module of the client app combines the compressed JBIG data. The command combination process combines the compressed JBIG data with the data command to generate data to be printed that the imaging device can recognize and perform the printing operation.
上述命令组合过程组合的命令可包括:文档开始命令(包括文档开始标记、打印份数参数、双面打印参数、打印页总数等)、页开始命令(包括页开始标记、双面打印、本页份数、纸张来源、纸张类型、水平解析度、垂直解析度、图像宽度、图像高度、图像位深、是否省墨等)、JBIG压缩命令(包括JBIG压缩标记、JBIG压缩参数选项设置)、JBIG数据命令(包括JBIG数据标记、JBIG压缩数据块)、JBIG数据结束命令(包括JBIG数据结束标记)、页结束命令(包括页结束标记)、文档结束命令(包括文档结束标记)。The commands combined by the above command combination process may include: a document start command (including a document start mark, a print copy parameter, a duplex print parameter, a total number of printed pages, etc.), a page start command (including a page start mark, double-sided printing, and a page). Copies, paper source, paper type, horizontal resolution, vertical resolution, image width, image height, image bit depth, ink saving, etc.), JBIG compression commands (including JBIG compression mark, JBIG compression parameter option setting), JBIG Data commands (including JBIG data tags, JBIG compressed data blocks), JBIG data end commands (including JBIG data end tags), page end commands (including page end tags), and document end commands (including document end tags).
上述成像设备能识别并进行打印的待打印数据的格式包括prn格式、ps格式、pcl格式。成像设备能识别打印的格式由其使用的语言决定,目前主流成像 设备使用的语言分别为GDI语言、PS语言、PCL语言。使用GDI语言的设备只能识别prn格式文件,使用PS语言的设备只能识别ps格式文件,使用PCL语言的设备只能识别pcl格式文件。The format of the data to be printed that the above-mentioned image forming apparatus can recognize and print includes a prn format, a ps format, and a pcl format. The imaging device can recognize that the format of the print is determined by the language in which it is used. Currently mainstream imaging The languages used by the device are GDI language, PS language, and PCL language. Devices using the GDI language can only recognize prn format files, devices using the PS language can only recognize ps format files, and devices using the PCL language can only recognize pcl format files.
S511,客户端app的第一模块判断是否为云打印。通过目标成像设备(可以为如根据前述实施例中所述根据用户选择确定成像设备,也可以是默认/预设的成像设备)的类型来判断打印操作是否为云打印。当用户选择的成像设备是网络的成像设备时,判断结果为“是”,进入步骤S513;当用户选择的成像设备是本地成像设备时,判断结果为“否”,进入步骤S512。S511. The first module of the client app determines whether it is cloud printing. Whether the printing operation is cloud printing is judged by the type of the target imaging device (which may be determined according to user selection as described in the foregoing embodiment, which may also be a default/preset imaging device). When the imaging device selected by the user is the imaging device of the network, the determination result is “Yes”, and the process proceeds to step S513; when the imaging device selected by the user is the local imaging device, the determination result is “No”, and the process proceeds to step S512.
S512,客户端app的第二模块将最终数据发送到作为目标成像设备的本地成像设备进行打印。客户端app通过无线网络或有线网络将最终数据发送到目标成像设备,目标成像设备基于接收到的打印数据进行打印输出。可选的,当最终数据包含多页时,app的第二模块将最终数据分包发送到目标成像设备,目标成像设备将分包数据组合成完整的打印数据进行打印输出。S512, the second module of the client app sends the final data to the local imaging device as the target imaging device for printing. The client app transmits the final data to the target imaging device via a wireless network or a wired network, and the target imaging device performs print output based on the received print data. Optionally, when the final data includes multiple pages, the second module of the app sends the final data packet to the target imaging device, and the target imaging device combines the packetized data into complete print data for printing output.
在本发明的其他实施例中,目标成像设备使用特定算法对接收到的打印数据进行解密,将解密后的打印数据打印输出。In other embodiments of the invention, the target imaging device decrypts the received print data using a particular algorithm and prints out the decrypted print data.
S513,在目标成像设备是网络成像设备时,客户端app的第二模块将所述压缩的JBIG数据进行命令组合后得到的数据生成云打印格式文件。客户端app将通过命令组合的打印数据生成特定于用户所选择的成像设备能识别的格式的文件,如prn格式、ps格式、pcl格式。S513. When the target imaging device is a network imaging device, the second module of the client app generates the cloud print format file by combining the data obtained by combining the compressed JBIG data. The client app will generate a file specific to the format recognized by the imaging device selected by the user, such as the prn format, the ps format, and the pcl format, by commanding the combined print data.
S514,客户端app的第二模块判断云打印格式文件是否生成完成。客户端app通过检测指定位置是否存在特定格式(prn格式或ps格式或pcl格式)的云打印格式文件来判断云打印格式文件是否生成完成。当检测到特定格式的文件存在时,判断结果为“是”,进入步骤S516;当未检测到特定格式的文件时,判断结果为“否”,进入步骤S515。S514. The second module of the client app determines whether the cloud print format file is generated. The client app determines whether the cloud print format file is generated by detecting whether a cloud print format file of a specific format (prn format or ps format or pcl format) exists in the specified location. When it is detected that the file of the specific format exists, the determination result is "YES", and the process proceeds to step S516; when the file of the specific format is not detected, the determination result is "NO", and the process proceeds to step S515.
S515,用户选择是否重新生成云打印格式文件。当客户端app未检测到特定格式的文件时,显示提示信息,如“云打印格式文件生成错误”,并让用户选择是否重新生成云打印格式文件。当用户选择“是”时,返回步骤S513;当用户选择“否”时,返回步骤S501。S515, the user selects whether to regenerate the cloud print format file. When the client app does not detect a file in a specific format, a prompt message such as "Cloud Print Format File Generation Error" is displayed, and the user is allowed to select whether to regenerate the cloud print format file. When the user selects "Yes", the process returns to step S513; when the user selects "No", the process returns to step S501.
S516,客户端app的第二模块在检测结果为已经生成完成时,将云打印格式文件上传到云服务器30并进行打印。客户端app将云打印格式文件上传到云服务器30,并通过目标成像设备进行打印输出。目标成像设备基于接收到的打 印数据进行打印输出。可选的,当云打印格式文件包含多页打印数据时,app的第二模块将云打印格式文件分包上传到云服务器30;云服务器30基于目标成像设备的主动获取请求,将分包数据分别发送到目标成像设备,或组合成完整的云打印格式文件发送到目标成像设备;目标成像设备基于接收到的打印数据进行打印输出,或将分包数据组合成完整的打印数据进行打印输出。S516. The second module of the client app uploads the cloud print format file to the cloud server 30 and prints when the detection result is that the generation has been completed. The client app uploads the cloud print format file to the cloud server 30 and prints it out through the target imaging device. Target imaging device based on received hits Print data for printout. Optionally, when the cloud print format file includes multiple pages of print data, the second module of the app uploads the cloud print format file to the cloud server 30; the cloud server 30 divides the data according to the active acquisition request of the target imaging device. They are respectively sent to the target imaging device, or combined into a complete cloud print format file and sent to the target imaging device; the target imaging device performs print output based on the received print data, or combines the packetized data into complete print data for print output.
在本发明的其他实施例中,目标成像设备使用特定算法对接收到的打印数据进行解密,将解密后的打印数据打印输出。In other embodiments of the invention, the target imaging device decrypts the received print data using a particular algorithm and prints out the decrypted print data.
本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in a storage device by a computing device, or they may be fabricated into individual integrated circuit modules, or many of them Modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
虽然本发明所揭露的实施方式如上,但所述的内容只是为了便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属技术领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式上及细节上作任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。 While the embodiments of the present invention have been described above, the described embodiments are merely illustrative of the embodiments of the invention, and are not intended to limit the invention. Any modification and variation of the form and details of the invention may be made by those skilled in the art without departing from the spirit and scope of the invention. It is still subject to the scope defined by the appended claims.

Claims (14)

  1. 一种图像形成控制方法,其中,包括:An image forming control method, comprising:
    安装于客户端的客户端应用程序的第一模块根据用户的选择确定待打印文件;The first module of the client application installed on the client determines the file to be printed according to the user's selection;
    所述客户端应用程序的第一模块将所述待打印文件转换成位图数据;The first module of the client application converts the file to be printed into bitmap data;
    所述客户端应用程序的第一模块将所述位图数据发送到所述客户端应用程序的第二模块;The first module of the client application sends the bitmap data to a second module of the client application;
    客户端应用程序的第二模块将接收到的位图数据转换为目标成像设备能识别并进行打印操作的待打印数据;The second module of the client application converts the received bitmap data into data to be printed that the target imaging device can recognize and perform the printing operation;
    所述客户端应用程序的第二模块将所述待打印数据发送到所述目标成像设备或通过与客户端应用程序和所述目标成像设备通信的服务器将所述待打印数据发送到所述目标成像设备;The second module of the client application sends the data to be printed to the target imaging device or transmits the data to be printed to the target through a server in communication with the client application and the target imaging device Imaging device
    所述目标成像设备基于接收到的待打印数据进行打印输出,The target imaging device performs print output based on the received data to be printed,
    其中,客户端应用程序包括第一模块和第二模块,所述第一模块用于实现与用户访问界面相关的处理,第二模块在驱动层实现。The client application includes a first module and a second module, the first module is configured to implement processing related to the user access interface, and the second module is implemented at the driver layer.
  2. 根据权利要求1所述的方法,其中,所述客户端应用程序的第一模块将所述位图数据发送到所述客户端应用程序的第二模块的步骤进一步包括:The method of claim 1 wherein the step of the first module of the client application transmitting the bitmap data to the second module of the client application further comprises:
    所述客户端应用程序的第一模块将所述位图数据拆分成各个小包后发送到所述客户端应用程序的第二模块;The first module of the client application splits the bitmap data into individual packets and sends the second module to the client application;
    所述客户端应用程序的第二模块接收到所述各个小包后进行组包以还原所述位图数据。The second module of the client application receives the individual packets and then performs grouping to restore the bitmap data.
  3. 根据权利要求1所述的方法,其中,所述客户端应用程序的第一模块将所述待打印文件转换成位图数据的步骤进一步包括:The method of claim 1, wherein the step of converting the file to be printed into bitmap data by the first module of the client application further comprises:
    在所述待打印文件不是图片时,客户端应用程序的第一模块将待打印文件转换成待打印图片,再将所述待打印图片转换为所述位图数据。When the file to be printed is not a picture, the first module of the client application converts the file to be printed into a picture to be printed, and then converts the picture to be printed into the bitmap data.
  4. 根据权利要求1所述的方法,其中,所述客户端应用程序的第二模块将接收到的位图数据转换为所述目标成像设备能识别并进行打印操作的待打印数据的处理进一步包括:The method of claim 1, wherein the converting, by the second module of the client application, the received bitmap data to the data to be printed that the target imaging device can recognize and perform the printing operation further comprises:
    将所述位图数据转换成灰度图;Converting the bitmap data into a grayscale image;
    根据打印尺寸将所述灰度图进行成比例缩放处理,得到缩放后的灰度图; Performing a scaling process on the grayscale image according to a print size to obtain a scaled grayscale image;
    将所述缩放后的灰度图进行黑白二值化处理,得到黑白图;Performing black and white binarization processing on the scaled grayscale image to obtain a black and white image;
    将所述黑白图数据进行JBIG算法压缩处理,得到压缩的JBIG数据;Performing the JBIG algorithm compression processing on the black and white map data to obtain compressed JBIG data;
    将所述压缩的JBIG数据进行命令组合,以得到所述目标成像设备能识别并进行打印操作的待打印数据。The compressed JBIG data is combined in a command to obtain data to be printed that the target imaging device can recognize and perform a printing operation.
  5. 根据权利要求4所述的方法,其中,将所述位图数据转换成灰度图的处理之后,或将所述缩放后的灰度图进行黑白二值化处理得到黑白图的处理之后还包括:The method according to claim 4, wherein after the process of converting the bitmap data into a grayscale image, or performing the black and white binarization processing on the scaled grayscale image to obtain a black and white image, the method further includes :
    在所述灰度图中或所述黑白图中添加水印。A watermark is added to the grayscale map or the black and white map.
  6. 根据权利要求4所述的方法,其中,将所述位图数据转换成灰度图的处理之后,或将所述缩放后的灰度图进行黑白二值化处理得到黑白图的处理之后还包括:The method according to claim 4, wherein after the process of converting the bitmap data into a grayscale image, or performing the black and white binarization processing on the scaled grayscale image to obtain a black and white image, the method further includes :
    在所述灰度图中或所述黑白图中添加电子签名。An electronic signature is added to the grayscale map or to the black and white map.
  7. 根据权利要求4所述的方法,其中,将所述黑白图数据进行JBIG算法压缩处理得到压缩的JBIG数据的处理之后包括,使用特定算法对压缩后的JBIG数据进行加密处理,得到加密的JBIG数据;The method according to claim 4, wherein the processing of the black and white map data by the JBIG algorithm to obtain the compressed JBIG data comprises: encrypting the compressed JBIG data using a specific algorithm to obtain the encrypted JBIG data. ;
    在目标成像设备接收到由所述加密的JBIG数据生成的待打印数据后,使用特定算法对所述待打印数据进行解密并打印输出。After the target imaging device receives the data to be printed generated by the encrypted JBIG data, the data to be printed is decrypted and printed out using a specific algorithm.
  8. 根据权利要求4所述的方法,其中,将所述压缩的JBIG数据进行命令组合以得到目标成像设备能识别并进行打印操作的待打印数据的处理进一步包括:The method of claim 4, wherein the processing of combining the compressed JBIG data to obtain data to be printed that the target imaging device can recognize and perform the printing operation further comprises:
    在所述目标成像设备是网络成像设备时,所述客户端应用程序将所述压缩的JBIG数据进行命令组合后得到的数据转换成云打印格式文件,作为成像设备能识别并进行打印操作的待打印数据。When the target imaging device is a network imaging device, the client application converts the data obtained by combining the compressed JBIG data into a cloud print format file, and the image forming device can recognize and perform a printing operation. Print the data.
  9. 根据权利要求8所述的方法,其中,还包括:The method of claim 8 further comprising:
    所述客户端应用程序通过检测指定位置是否存在特定格式的云打印格式文件来判断云打印格式文件是否生成完成;The client application determines whether the cloud print format file is generated by detecting whether a cloud print format file of a specific format exists in the specified location;
    在检测结果为已经生成完成时,将所述云打印格式文件上传到服务器。The cloud print format file is uploaded to the server when the detection result is that the generation has been completed.
  10. 根据权利要求1至9中任一项所述的方法,其中,还包括在所述目标成像设备基于接收到的待打印数据进行打印输出之前的以下处理:The method according to any one of claims 1 to 9, further comprising the following processing before the target imaging device performs print output based on the received data to be printed:
    客户端应用程序上传作为云打印格式文件到所述服务器;The client application uploads the file as a cloud print format to the server;
    所述服务器通知所述目标成像设备到服务器获取云打印格式文件; The server notifying the target imaging device to the server to acquire a cloud print format file;
    所述目标成像设备主动选择适当时机从所述服务器获取云打印格式文件,作为待打印数据。The target imaging device actively selects an appropriate time to acquire a cloud print format file from the server as data to be printed.
  11. 根据权利要求10所述的方法,其中,所述服务器通知所述目标成像设备到服务器获取云打印格式文件的处理进一步包括以下至少任一:The method of claim 10, wherein the process of the server notifying the target imaging device to the server to acquire a cloud print format file further comprises at least any of the following:
    所述客户端应用程序发送获取云打印格式文件的指令到服务器,所述服务器将所述指令下发到所述目标成像设备以通知所述目标成像设备主动到所述服务器获取云打印格式文件;Sending, by the client application, an instruction to obtain a cloud print format file to a server, the server sending the instruction to the target imaging device to notify the target imaging device to actively obtain a cloud print format file from the server;
    所述服务器接收到所述客户端应用程序上传的云打印格式文件后,自动向所述目标成像设备发送获取云打印格式文件的指令以通知所述目标成像设备主动到所述服务器获取云打印格式文件;After receiving the cloud print format file uploaded by the client application, the server automatically sends an instruction to acquire the cloud print format file to the target imaging device to notify the target imaging device to actively obtain the cloud print format from the server. file;
    所述服务器接收到所述客户端应用程序上传的云打印格式文件后,经过预定时间未接收到所述客户端应用程序的指令时,自动向所述目标成像设备发送获取云打印格式文件的指令,通知所述目标成像设备主动到服务器获取云打印格式文件。After receiving the cloud print format file uploaded by the client application, the server automatically sends an instruction for acquiring a cloud print format file to the target imaging device when the instruction of the client application is not received within a predetermined time. And notifying the target imaging device to actively obtain a cloud print format file from the server.
  12. 根据权利要求11所述的方法,其中,还包括在所述安装于客户端的客户端应用程序的第一模块根据用户的选择确定待打印文件步骤之前的如下处理:The method according to claim 11, further comprising the following processing before the step of determining the file to be printed according to the user's selection by the first module of the client-side client application:
    检测用户账号是否已登录,若检测结果为否,搜索本地成像设备,反之,搜索网络成像设备和本地成像设备;Detecting whether the user account has been logged in, and if the detection result is no, searching for the local imaging device, and vice versa, searching for the network imaging device and the local imaging device;
    客户端应用程序根据用户的选择来将搜索到的成像设备之一确定为所述目标成像设备。The client application determines one of the searched imaging devices as the target imaging device according to the user's selection.
  13. 根据权利要求11或12所述的方法,其中,还包括在所述安装于客户端的客户端应用程序的第一模块根据用户的选择确定待打印文件步骤之前的如下处理:The method according to claim 11 or 12, further comprising the following processing before the step of determining the file to be printed according to the user's selection by the first module of the client-side client application:
    在客户端的启动类型为自动绑定成像设备类型时,所述客户端应用程序启动二维码扫描功能或由用户手动启动客户端应用程序的二维码扫描功能;When the startup type of the client is an automatic binding imaging device type, the client application starts a QR code scanning function or manually starts a QR code scanning function of the client application by a user;
    所述客户端应用程序扫描包含成像设备信息的二维码并提取该二维码中的成像设备信息;The client application scans a two-dimensional code containing imaging device information and extracts imaging device information in the two-dimensional code;
    所述服务器根据当前登录的用户账号信息和通过扫描得到的成像设备信息将与通过扫描得到的成像设备信息对应的成像设备与当前登录的用户账号绑定。 The server binds the imaging device corresponding to the imaging device information obtained by scanning to the currently logged-in user account according to the currently logged-in user account information and the imaging device information obtained by scanning.
  14. 一种图像形成控制系统,其中,包括客户端、服务器、本地成像设备、以及通过所述服务器与所述客户端通信的网络成像设备,其中,An image forming control system including a client, a server, a local imaging device, and a network imaging device that communicates with the client through the server, wherein
    所述客户端利用客户端应用程序的第一模块根据用户的选择确定待打印文件,将所述待打印文件转换成位图数据,将所述位图数据发送到所述客户端应用程序的第二模块,以及,利用所述客户端应用程序的第二模块将接收到的位图数据转换为目标成像设备能识别并进行打印操作的待打印数据,所述客户端的客户端应用程序包括第一模块和第二模块,所述第一模块用于实现与用户访问界面相关的处理,第二模块在驱动层实现;Determining, by the first module of the client application, the file to be printed according to the user's selection, converting the file to be printed into bitmap data, and transmitting the bitmap data to the client application a second module, and using the second module of the client application to convert the received bitmap data into data to be printed that the target imaging device can recognize and perform a printing operation, the client application of the client includes the first a module and a second module, the first module is configured to implement processing related to a user access interface, and the second module is implemented at a driver layer;
    所述本地成像设备基于从客户端接收到的待打印数据进行打印输出;The local imaging device performs print output based on data to be printed received from the client;
    所述网络成像设备基于从所述服务器主动获取的待打印数据进行打印输出,The network imaging device performs print output based on data to be printed actively acquired from the server,
    所述服务器接收从所述客户端发来的待打印数据,并响应于所述网络成像设备的请求将待打印数据发送至所述网络成像设备。 The server receives data to be printed sent from the client and transmits data to be printed to the network imaging device in response to a request by the network imaging device.
PCT/CN2015/097390 2014-12-30 2015-12-15 Image formation control system and image formation control method WO2016107401A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410843019.2 2014-12-30
CN201410843019.2A CN104636092B (en) 2014-12-30 2014-12-30 A kind of image forms control system and image formation control method

Publications (1)

Publication Number Publication Date
WO2016107401A1 true WO2016107401A1 (en) 2016-07-07

Family

ID=53214901

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/097390 WO2016107401A1 (en) 2014-12-30 2015-12-15 Image formation control system and image formation control method

Country Status (2)

Country Link
CN (1) CN104636092B (en)
WO (1) WO2016107401A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112331310A (en) * 2020-10-10 2021-02-05 深圳市智影医疗科技有限公司 Medical image data display method and device, storage medium and intelligent equipment
CN112433687A (en) * 2017-11-09 2021-03-02 西安艾润物联网技术服务有限责任公司 Self-service printing/copying method, system and computer readable storage medium
CN114089928A (en) * 2020-07-29 2022-02-25 钉钉控股(开曼)有限公司 Binding relationship establishing method and device and remote printing method

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636092B (en) * 2014-12-30 2018-06-12 珠海赛纳打印科技股份有限公司 A kind of image forms control system and image formation control method
CN106557285B (en) * 2015-09-25 2020-07-24 腾讯科技(深圳)有限公司 Printing method and apparatus
CN105302510A (en) * 2015-12-15 2016-02-03 李学聪 Cloud printing method and cloud printing system
CN107247567A (en) * 2017-05-12 2017-10-13 四川长虹电器股份有限公司 Uploaded based on multi-user's line and develop and print system and method under the line of drawing system
CN109992222A (en) * 2017-12-29 2019-07-09 南京信安宝信息科技有限公司 A kind of method of portable electronic device printing document
CN110275682B (en) * 2018-03-15 2023-05-02 阿里巴巴集团控股有限公司 Cloud printing method, device and system
CN108259696B (en) 2018-04-12 2019-12-17 珠海奔图电子有限公司 imaging device control method and device and electronic terminal applying same
CN109669646B (en) * 2018-11-20 2022-04-29 深圳前海百递网络有限公司 Printing method, printing device, computer equipment and storage medium
CN109582256B (en) * 2018-11-29 2022-04-26 珠海奔图电子有限公司 Printing method, device and system
CN109614156B (en) * 2018-12-26 2021-10-15 贵州华芯通半导体技术有限公司 Method, device and system for supporting driving of starting type external equipment
CN112130782A (en) * 2020-09-22 2020-12-25 上海汉图科技有限公司 Printing method and device and printing client
CN114721606A (en) * 2022-02-28 2022-07-08 阿里巴巴(中国)有限公司 Cloud desktop printing processing method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408836A (en) * 2007-10-09 2009-04-15 北京书生国际信息技术有限公司 Print implementing method
CN101807139A (en) * 2009-02-17 2010-08-18 鸿富锦精密工业(深圳)有限公司 Printing system and printing method thereof
CN102616022A (en) * 2011-01-27 2012-08-01 精工爱普生株式会社 Printing control server and printing system
CN102957841A (en) * 2011-08-11 2013-03-06 佳能株式会社 Image processing apparatus and image processing method
CN103135950A (en) * 2013-02-01 2013-06-05 北京鼎盾信息科技有限公司 Cloud printing management platform
CN103412729A (en) * 2013-07-22 2013-11-27 深圳Tcl新技术有限公司 Remote printing method and system
WO2014120198A1 (en) * 2013-01-31 2014-08-07 Hewlett-Packard Development Company, L.P. Linking a roaming device to a network-enabled resource through a cloud service using an address obtained through a local interaction
CN104636092A (en) * 2014-12-30 2015-05-20 珠海赛纳打印科技股份有限公司 Image forming control system and method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770350A (en) * 2009-01-05 2010-07-07 鸿富锦精密工业(深圳)有限公司 Printing system and printing method
CN102056094A (en) * 2009-11-10 2011-05-11 酷手机多媒体股份有限公司 System and method for transmitting file by using multimedia information
JP2012048581A (en) * 2010-08-27 2012-03-08 Canon Inc Printing system, repeating device, print server, and printing method
CN102591595A (en) * 2011-01-10 2012-07-18 鸿富锦精密工业(深圳)有限公司 Remote printing method and system
CN103942016B (en) * 2014-04-30 2016-08-17 杨文晖 A kind of self-help print method and system
CN103955347B (en) * 2014-05-06 2017-02-15 丁四涛 Network printing equipment, server, system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408836A (en) * 2007-10-09 2009-04-15 北京书生国际信息技术有限公司 Print implementing method
CN101807139A (en) * 2009-02-17 2010-08-18 鸿富锦精密工业(深圳)有限公司 Printing system and printing method thereof
CN102616022A (en) * 2011-01-27 2012-08-01 精工爱普生株式会社 Printing control server and printing system
CN102957841A (en) * 2011-08-11 2013-03-06 佳能株式会社 Image processing apparatus and image processing method
WO2014120198A1 (en) * 2013-01-31 2014-08-07 Hewlett-Packard Development Company, L.P. Linking a roaming device to a network-enabled resource through a cloud service using an address obtained through a local interaction
CN103135950A (en) * 2013-02-01 2013-06-05 北京鼎盾信息科技有限公司 Cloud printing management platform
CN103412729A (en) * 2013-07-22 2013-11-27 深圳Tcl新技术有限公司 Remote printing method and system
CN104636092A (en) * 2014-12-30 2015-05-20 珠海赛纳打印科技股份有限公司 Image forming control system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112433687A (en) * 2017-11-09 2021-03-02 西安艾润物联网技术服务有限责任公司 Self-service printing/copying method, system and computer readable storage medium
CN114089928A (en) * 2020-07-29 2022-02-25 钉钉控股(开曼)有限公司 Binding relationship establishing method and device and remote printing method
CN114089928B (en) * 2020-07-29 2024-03-22 钉钉控股(开曼)有限公司 Binding relation establishing method and device and remote printing method
CN112331310A (en) * 2020-10-10 2021-02-05 深圳市智影医疗科技有限公司 Medical image data display method and device, storage medium and intelligent equipment

Also Published As

Publication number Publication date
CN104636092A (en) 2015-05-20
CN104636092B (en) 2018-06-12

Similar Documents

Publication Publication Date Title
WO2016107401A1 (en) Image formation control system and image formation control method
US9116651B2 (en) Image processing apparatus, control method, and recording medium storing computer program for image processing
US10282148B2 (en) Communication device
US20120246248A1 (en) Image Forming Apparatus that Transmits/Receives an Electronic Mail Related to Image Formation, Image Forming Method, and Recording Medium
US20140063546A1 (en) Printing apparatus and printing system
US10097625B2 (en) Program, information processing apparatus, and communication system
US20170075633A1 (en) Information processing system, information processing method, and image generating device
US20150277837A1 (en) Data supplying device and image processing system
US8893151B2 (en) Apparatus for controlling job history recording settings in an image forming apparatus, and method and storage medium for controlling the same
US9317231B2 (en) Image forming apparatus, information processing apparatus, control method thereof, and storage medium
US9239885B2 (en) Acquiring data for processing using location information
US9001366B2 (en) Control device
US20150116752A1 (en) Information processing device, non-transitory computer readable medium, and information processing method
KR20190113577A (en) Printing system, printing method, image forming apparatus and method for controlling the same, and computer program
US20130107302A1 (en) Image processing apparatus, image processing method and memory medium
US9571676B2 (en) Image forming apparatus, control method for image forming apparatus, and storage medium
KR20200020087A (en) Image forming apparatus to print traceable printout
US9560238B2 (en) Portable terminal capable of displaying image, control method therefor, and storage medium storing control program therefor
JP2005173816A (en) Image forming apparatus and authenticating method
JP4748169B2 (en) Image forming apparatus
JP2017065202A (en) Printing device, printing system, control method, and program
JP2016036932A (en) Image formation apparatus
JP2017173933A (en) Information processing apparatus, information processing program, information processing system, and information processing method
JP2016111537A (en) Data transmission/reception method and data transmission/reception device
JP2017195427A (en) Image processing apparatus and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15875079

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15875079

Country of ref document: EP

Kind code of ref document: A1