CN104636092B - A kind of image forms control system and image formation control method - Google Patents
A kind of image forms control system and image formation control method Download PDFInfo
- Publication number
- CN104636092B CN104636092B CN201410843019.2A CN201410843019A CN104636092B CN 104636092 B CN104636092 B CN 104636092B CN 201410843019 A CN201410843019 A CN 201410843019A CN 104636092 B CN104636092 B CN 104636092B
- Authority
- CN
- China
- Prior art keywords
- printed
- data
- module
- client application
- imaging device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
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
The invention discloses a kind of images to form control system and image formation control method.This method includes:The first module for being installed on the client application of client determines file to be printed according to the selection of user;File to be printed is converted into bitmap data by the first module;Bitmap data is sent to the second module of client application by the first module;The bitmap data received is converted to the data to be printed that target imaging equipment can identify and carry out printing by the second module;Data to be printed are sent to second module target imaging equipment or data to be printed are sent to target imaging equipment by the server by communicating with client application and target imaging equipment;Target imaging equipment is printed out based on the data to be printed received.First module is used to implement accesses the relevant processing in interface with user, and the second module is realized in driving layer.The present invention can effectively prevent mobile terminal memory spilling caused by handling picture to be printed or the situation of low memory.
Description
Technical field
Control system is formed the present invention relates to image formation field more particularly to a kind of image and image forms controlling party
Method.
Background technology
Nowadays, printer, duplicator, scanner, facsimile machine or the in summary imagings such as Multi Role Aircraft of function
Equipment is increasingly used in daily life, and people are higher and higher for the mode and diversity requirements of printing.However, it passes
The imaging device of system can only provide local printing function to the user, i.e. user can only perform print job beside imaging device.
Even being capable of providing the imaging device of wireless connecting function, such as by WiFi it is direct-connected, by WLAN connect imaging
Equipment, user also must could perform print job in the range of WiFi signal or in the range of WLAN.It is such
Imaging device brings significant limitation to user's use.
Therefore, occur cloud print system in the market, i.e., more imaging devices are interconnected by server by network
Get up, and access internet, user can carry out remote printing whenever and wherever possible by client.When performing print job, client
End uploads and prints data to server, and print data is processed into imaging by server according to the selected imaging device information of user
The form that equipment is supported, and issue that treated and print data to imaging device and printed out.However, this cloud printing system
System is issued by server process print data, the upload of print job and is handled occupancy for a long time, and job processing efficiency is not
It is high.Moreover, the client of this cloud print system can only support cloud to print, it is impossible to provide local printing function, user to the user
Using still remaining limitation.
Invention content
The first technical problem to be solved by the present invention is to need offer one kind that can effectively prevent mobile terminal because of processing
The image of memory overflow problem forms control system and image formation control method caused by big picture.
In order to solve the above technical problem, the present invention provides a kind of image formation control methods.This method includes:Installation
File to be printed is determined according to the selection of user in the first module of the client application of client;The client application
The file to be printed is converted into bitmap data by the first module of program;First module of the client application is by institute
Bit-map data is sent to the second module of the client application;Second module of client application will receive
Bitmap data be converted to the data to be printed that target imaging equipment can identify and carry out printing;The client application journey
Second module of sequence by the data to be printed be sent to the target imaging equipment or by with client application and institute
The data to be printed are sent to the target imaging equipment by the server for stating the communication of target imaging equipment;The target imaging
Equipment is printed out based on the data to be printed received.Wherein, client application includes the first module and second
Module, first module is used to implement accesses the relevant processing in interface with user, and the second module is realized in driving layer.
In addition, institute's bit-map data is sent to the client application journey by the first module of the client application
The step of second module of sequence, can further comprise:First module of the client application splits institute's bit-map data
The second module of the client application is sent to after into each parcel;Second module of the client application connects
Receive the bit-map data to restore that packages after each parcel.
In addition, the step of file to be printed is converted into bitmap data by the first module of the client application
It can further comprise:When the file to be printed is not picture, the first module of client application is by file to be printed
Picture to be printed is converted into, then the picture to be printed is converted into institute's bit-map data.
In addition, the bitmap data received is converted to the target imaging by the second module of the client application
The processing that equipment can identify and carry out the data to be printed of printing can further comprise:Institute's bit-map data is converted into ash
Degree figure;The gray-scale map is carried out by proportional scaling processing, the gray-scale map after being scaled according to stamp with the size;By the scaling
Gray-scale map afterwards carries out black white binarization processing, obtains artwork master;The black and white diagram data is subjected to JBIG compression algorithm processing,
The JBIG data compressed;The JBIG data of the compression are subjected to command in combination, to obtain the target imaging equipment energy
Identify and carry out the data to be printed of printing.
It can be identified with to obtain target imaging equipment and gone forward side by side in addition, the aforementioned JBIG data by the compression carry out command in combination
The processing of the data to be printed of row printing can further comprise:When the target imaging equipment is network imaging device,
The JBIG data of the compression are carried out the data conversion obtained after command in combination and print lattice into cloud by the client application
Formula file as imaging device can identify and carry out the data to be printed of printing.
In addition, this method may also include:The client application is by detecting designated position with the presence or absence of particular bin
The cloud layout file of formula judges whether cloud layout file generates completion;In testing result to have generated completion
When, the cloud layout file is uploaded onto the server.
It is printed out in addition, this method is additionally included in the target imaging equipment based on the data to be printed received
Following processing before:Client application is uploaded as cloud layout file to the server;The server leads to
Know that the target imaging equipment obtains cloud layout file to server;The target imaging equipment actively selects opportune moment
Cloud layout file is obtained from the server, as data to be printed.
In addition, the processing that the server notifies the target imaging equipment to server acquisition cloud layout file can
Further comprise following at least any:The client application, which is sent, obtains the instruction of cloud layout file to servicing
Described instruction is issued to the target imaging equipment to notify the target imaging equipment actively to described by device, the server
Server obtains cloud layout file;The server receives the cloud layout text that the client application uploads
After part, sent from target imaging equipment described in trend and obtain the instruction of cloud layout file to notify the target imaging equipment
It actively arrives the server and obtains cloud layout file;The server receives the cloud that the client application uploads
After layout file, when not receiving the instruction of the client application by the predetermined time, from target described in trend
Imaging device sends the instruction for obtaining cloud layout file, and the target imaging equipment is notified actively to arrive server acquisition cloud and beat
Print formatted file.
In addition, preceding method may additionally include the first module of the client application for being installed on client according to
The selection of user determines the following processing before file to be printed step:Whether detection user account has logged in, if testing result
It is no, searches for local imaging device, conversely, search network imaging device and local imaging device;Client application according to
One of imaging device searched is determined as the target imaging equipment by the selection of user.
In addition, preceding method may additionally include the first module of the client application for being installed on client according to
The selection of user determines the following processing before file to be printed step:It is set in the startup type of client for automatic binding imaging
During standby type, the client application starts two-dimensional code scanning function or manually boots client application by user
Two-dimensional code scanning function;Quick Response Code of the client application scanning comprising imaging device information is simultaneously extracted in the Quick Response Code
Imaging device information;The server is believed according to the user account information currently logged in and by scanning obtained imaging device
Breath binds imaging device corresponding with by scanning obtained imaging device information with the user account currently logged in.
The present invention also provides a kind of images to form control system.The system is set including client, server, local imaging
Network imaging device standby and by the server and the client communication, wherein, the client utilizes client
First module of application program determines file to be printed according to the selection of user, and the file to be printed is converted into bitmap number
According to, by institute's bit-map data be sent to the client application the second module and, utilize the client application journey
The bitmap data received is converted to target imaging equipment and can identify and carry out the to be printed of printing by the second module of sequence
Data, the client application of the client include the first module and the second module, first module be used to implement with
User accesses the relevant processing in interface, and the second module is realized in driving layer;The local imaging device is based on receiving from client
To data to be printed printed out;The network imaging device is based on the number to be printed from the server active obtaining
According to being printed out, data to be printed that the server reception is sent from the client, and in response to the network into
As data to be printed are sent to the network imaging device by the request of equipment.
It compared with prior art, will by the first module of client app in one or more embodiments of the invention
Bitmap data split into after each parcel the second module for being transmitted to client app, then by client app the second module into
Row group packet reduction Bitmap data.Due to mobile terminal, such as Android (Android system) equipment, big picture is being read or handled
When will appear memory and overflow or the situation of low memory, and the second module of client app can carry out the processing of big picture, this
Data are split into each parcel by place, are then delivered to the second modules of client app and are reassembled into complete image data packet
It is handled, can effectively prevent mobile terminal memory overflow problem caused by handling big picture in this way.
In addition, the present inventor, which proposes notice imaging device, actively arrives server acquisition cloud layout file
Mode, imaging device can obtain print data according to the processing capacity and state of itself to select appropriate opportunity, such as
Partial Jobs in the processed print queue of imaging device have enough memory spaces to be used for storing lower a print job
When, active obtaining print data, the loss of data that can be substantially reduced in this way in the big quantity communication process with Cloud Server is general
Rate, and simplify system flow.
Other advantages, target and the feature of the present invention will be illustrated in the following description to a certain extent, and
And to a certain extent, based on will be apparent to those skilled in the art to investigating hereafter, Huo Zheke
To be instructed from the practice of the present invention.The target and other advantages of the present invention can be wanted by following specification, right
Specifically noted structure is sought in book and attached drawing to realize and obtain.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, the reality with the present invention
It applies example and is used together to explain the present invention, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the configuration diagram that image according to embodiments of the present invention forms control system;
Fig. 2 is the flow chart of image formation control method according to embodiments of the present invention;
Fig. 3 is the flow chart according to the image formation control method of further embodiment of this invention;
Fig. 4 is the flow chart according to the image formation control method of further embodiment of this invention;
Fig. 5 is client application generation print data and the process flow of cloud layout file.
Specific embodiment
Carry out the embodiment that the present invention will be described in detail below with reference to accompanying drawings and embodiments, how the present invention is applied whereby
Technological means solves technical problem, and the realization process for reaching technique effect can fully understand and implement according to this.It needs to illustrate
As long as not forming conflict, each embodiment in the present invention and each feature in each embodiment can be combined with each other,
The technical solution formed is within protection scope of the present invention.
In addition, step shown in the flowchart of the accompanying drawings can be in the department of computer science of such as a group of computer-executable instructions
It is performed in system, although also, show logical order in flow charts, it in some cases, can be to be different from herein
Sequence perform shown or described step.
Below by the drawings and specific embodiments, technical scheme of the present invention is described in detail.
Fig. 1 is the configuration diagram that control system is formed according to the image of the embodiment of the present invention.As shown in Figure 1, multiple visitors
Family end 10 is communicated by internet 20 with server 30.In addition, multiple client 10 also passes through wireless access point 40 and more playscripts with stage directions
Ground imaging device 50 communicates, and server 30 communicates with more network imaging devices 60.
Fig. 1 is only for example, and client 10 can be the terminal device with wireless communication function, including mobile phone, intelligent hand
Machine, tablet computer, laptop, palm PC, vehicle-mounted computer and other intelligent terminals with wireless communication function.With
Under illustrated by taking mobile terminal as an example.Wireless access point can be the access point with wireless signal transmission-receiving function, such as route
Device, interchanger, mobile terminal, PC machine etc., quantity can be at least one.In addition, access point can also itself be had wirelessly
Hot spot function imaging device 50 (also referred to as image forming apparatus, refer to printer, have both a variety of imaging functions such as printing, fax in
All-in-one multifunctional machine of one etc.) it holds a concurrent post.Local imaging device 50, which refers to, not to be accessed the imaging device of internet and (can access local
Net, as long as not accessing internet, as local imaging device;When local imaging device access internet when, can become network into
As equipment).Network imaging device 60 is the imaging device for accessing internet or internet being accessed by server 30.Server 30
It can be one or more.
Local imaging device 50 is printed out based on the data to be printed received from client 10.Network imaging is set
Standby 60 are printed out based on the data to be printed from 30 active obtaining of server.Server 30 is received to be sent from client 10
Data to be printed, and data to be printed are sent to network imaging device 60 in response to the request of network imaging device 60.Under
Wen Zhong, unless otherwise noted, imaging device can refer to network imaging device 60 and/or local imaging device 50.
Embodiment one
Illustrate embodiment one with reference to figure 2.Fig. 2 shows the flow charts of the image formation control method according to the present embodiment.
S201 starts client app (client application).App is to be used to perform answering for print out task in client
With program, it is pre-installed in client by user.User is stepped on using the account and password registered on server 30 in advance
Record server 30.
S202, client app by server 30 search in network bound with the user account that currently logs in into
As equipment.Client app is set by sending the imaging bound with the user account currently logged on acquisition request server 30
It is standby and receive server 30 return the result complete to search for.The imaging device row searched are shown in the user interface of client
Table and its status information, shown status information may include:Device name, device numbering, device address (IP address), work
State (busy, standby or not ready etc.), print speed, print resolution, printing model (black and white printing or the colour supported
Printing), device network state (online or offline), device network transmission state (network transfer speeds, network delay, packet loss
Rate), the information such as equipment consumable information (paper surplus, powder box surplus etc.).
S203, client app determine the imaging device for performing print job, referred to as target imaging according to user's selection
Equipment.User wishes to perform the imaging device of print job by the user interface selection of client.
S204, client app generate cloud layout file.Client app by print data be converted into it is selected into
As the cloud layout file that equipment can recognize that and can be printed, as data to be printed.
The specific process flow of client app generation cloud layout files is shown in attached drawing 5 and its description.
S205, client app upload cloud layout file to server 30.The cloud of generation is printed lattice by client app
Formula file uploads onto the server 30.It can show to upload successfully or upload in user interface and unsuccessfully wait result informations.
S206, server 30 notify target imaging equipment to obtain cloud layout file to server 30.
Notice target imaging equipment actively arrive server 30 acquisition cloud layout file, can by following several ways it
One realizes:1. client app sends the instruction for obtaining cloud layout file to server 30, server 30 is by described instruction
Target imaging equipment is issued to, notice target imaging equipment actively arrives server 30 and obtains cloud layout file;2. server
After 30 receive the cloud layout file of client app uploads, sent from trend target imaging equipment and obtain cloud layout
The instruction of file, notice target imaging equipment actively arrive server 30 and obtain cloud layout file;3. server 30 receives
After the cloud layout file that client app is uploaded, by the predetermined time, such as 5 seconds, when not receiving the instruction of client app,
The instruction for obtaining cloud layout file is sent from trend target imaging equipment, notice target imaging equipment actively arrives server 30
Obtain cloud layout file.
S207, target imaging equipment actively select appropriate opportunity to obtain cloud layout file from server 30 and perform
Printing.Imaging device downloads cloud layout file and by cloud layout file printout in recording medium from server 30
On.
It needs to stress, inventors noted that since client and imaging device are straight in traditional imaging system
Connect in succession, communication efficiency is higher, it is not easy to occur because printer is busy or failure caused by print data lose situation, and
In cloud imaging system, since client and imaging system are communicated by Cloud Server 30, and client and imaging device
Binding relationship there is larger changeability, passively received if continuing to continue to use in traditional technology imaging device by client arbitrary
The processing mode for the print data that opportunity sends, print data can be caused to be lined up, and long, printing is cancelled frequently, imaging device lacks
The a variety of causes such as paper, imaging device failure cause imaging system error frequent, and in order to solve these possible errors, need to draw
Enter excessively complicated control program.Therefore, the present inventor proposes new processing mode, and notice is imaged and sets in S206
It is standby actively arrive the acquisition cloud layout file of server 30, in S207, imaging device can according to the processing capacity of itself with
State obtains print data, such as the part in the processed print queue of imaging device is made to select appropriate opportunity
Industry, when having enough memory spaces for storing lower a print job, active obtaining print data, this can substantially reduce number
According to losing probability, and simplify system flow.
In addition, the present inventor is also noted that server 30 often has stronger data storage capacities, still,
If the processing of print data is all put into server 30, the computing capability of server 30 is difficult meet demand.Therefore, this hair
Print data is converted into selected imaging device in traditional cloud imaging system and can recognize that and can print by bright change
The processing of cloud layout file is placed on the scheme in server 30, but this processing has been placed on client so that calculates
Distributionization is handled, which greatly enhances the processing capacities of entire imaging system.
S208, client app ask imaging apparatus status and print job state, and show result information.Imaging device
It performs in printing operation process, client app sent to server 30 and asks, acquisition is held at interval of certain time, such as 0.5 second
The state of the imaging device of row print job and print job state;Server 30 sends instructions to the imaging for performing print job
Equipment obtains imaging apparatus status and print job state;The instruction that imaging device is issued in response to server 30, to server
30 send oneself state information and print job status information;Server 30 receives the status information that imaging device is beamed back, and will
Status information is sent to client app;Client app receives the status information that server 30 is beamed back, and is shown in user interface
Imaging apparatus status information and print job status information.
The imaging apparatus status may include:Device network communication state (network speed, network delay, communication whether into
Work(), equipment consumable information (paper surplus, powder box surplus etc.), device fault information (paperboard, lack ink, lack paper, cover quilt
Open, accident power-off) etc. information.The print job state includes:Data analysis state (parsing progress, successfully resolved or solution
Analysis failure), operation print state (number of print pages, non-number of print pages, used time, required time etc.).
S209 terminates.Client app is when user interface shows final print result information, such as " printing successfully ", printing
Task terminates.
Embodiment two
Illustrate embodiment two with reference to figure 3.Fig. 3 shows the flow chart of the image formation control method according to the present embodiment.
S301 starts client app.Client app be for performing the application program of print out task in client, by with
Family is pre-installed in client.
The local imaging device of S302, client app search.Client app by search for local broadcast wireless signal and
The equipment of its EIC equipment identification code shows that the local searched is imaged to search for local imaging device in the user interface of client
List of devices and its status information, shown status information may include:Device name, device numbering, working condition (it is busy,
It is standby or not ready etc.), print speed, print resolution, printing model (black and white print or colour print), the equipment supported
The information such as consumable information (paper surplus, powder box surplus etc.), user right.
One of imaging device that S303, client app will be searched according to the selection of user or preset is determined as using
In the target imaging equipment for performing print job.User can select to wish to perform print job by the user interface of client
Imaging device.
S304, client app transmission print data to imaging device.Print data is converted into selected by client app
The imaging device form that can recognize that and can be printed, be sent to imaging device, and user interface display send successfully or
It sends and unsuccessfully waits result informations.
The specific process flow of client app generation print datas is shown in attached drawing 5 and its description.
S305, imaging device perform printing.Imaging device prints the print data received on the recording medium.
S306, client app ask imaging apparatus status and print job state, and show result information.Imaging device
It performs in printing operation process, client app sent to imaging device and instructs, obtain at interval of certain time, such as 0.5 second
As the state of equipment and print job state;The instruction that imaging device is issued in response to client app is sent to client app
Oneself state information and print job status information;Client app receives the status information that imaging device is beamed back, and in user circle
Face display imaging status information of equipment and print job status information.
The imaging apparatus status may include:Equipment consumable information (paper surplus, powder box surplus etc.), equipment fault
The information such as information (paperboard, scarce ink, scarce paper, cover are opened, accident power-off).The print job state includes:Data parse
State (parsing progress, successfully resolved or parsing failure), operation print state (number of print pages, non-number of print pages, used time
Between, required time etc.).
S307 terminates.Client app is when user interface shows final print result information, such as " printing successfully ", printing
Task terminates.
Embodiment three:
Illustrate embodiment three with reference to figure 4.Fig. 4 shows the flow chart of the image formation control method according to the present embodiment.
S401 starts client app.Client app be for performing the application program of print out task in client, by with
Family is pre-installed in client.Optionally, the account registered on server 30 in advance and password login can be used in user
Server 30.
S402, detection are currently up whether type is common startup type.The startup type of app includes common startup type
Start type with automatic binding imaging device, to start type be commonly to open to detect by detecting the function of client app startups
Dynamic type or automatic binding imaging device type.When testing result is "Yes", S405 is entered step, when testing result is
During "No", S403 is entered step.
S403, client app start the Quick Response Code on two-dimensional code scanning functionality scan imaging device.Client app is attached to
There is two-dimensional code scanning function module, into after this step, system starts two-dimensional code scanning function or manually booted by user automatically
Two-dimensional code scanning function, the Quick Response Code in scanning imagery equipment.
During Quick Response Code on scanning input imaging device, two-dimensional code scanning program automatically solves the Quick Response Code scanned
Code, the imaging device information that extraction Quick Response Code includes.Quick Response Code can be directly printed on image forming apparatus, Ke Yishi
It is printed on image forming apparatus to be labeled or be sprayed on image forming apparatus by code spraying technology, may be used also
To be to be illustrated on image forming apparatus in a visible form by other means.The imaging device information includes at least imaging
Equipment identification information can also include unit type, device attribute (such as print speed, print resolution), functions of the equipments (in this way
No support colour print) etc. information, the imaging device identification information refer to that an imaging device is different from other equipment only
One mark, such as device coding information.
S404, server 30 are incited somebody to action according to the user account information currently logged in and by scanning obtained imaging device information
Imaging device and the user account currently logged in are bound.Client app submits imaging device information with using from trend server 30
Family account is bound, if user is not logged in, first user is prompted to log in, then perform binding.Binding refer to imaging device with
Correspondence is established between user account.
Whether S405, detection user account have logged in.When testing result is "Yes", S406 is entered step, with dragnet
Network imaging device and local imaging device;When testing result is "No", S409 is entered step, to search for local imaging device.
S406, client search for imaging device by server 30 and local network.Client app sends acquisition request clothes
Business device 30 on logged in user account binding imaging device and receive returning the result for server 30, while by searching
The rope local equipment of broadcast wireless signal and its EIC equipment identification code searches for local imaging device, and in user circle of client
Face shows that the network imaging device searched and local imaging device list and its status information, shown status information can wrap
It includes:Device type (network imaging device or local imaging device), device name, device numbering, device address (IP address), work
Make state (busy, standby or not ready etc.), print speed, print resolution, printing model (black and white printing or the coloured silk supported
Color prints), device network state (online or offline), device network transmission state (network transfer speeds, network delay, packet loss
Rate), equipment consumable information (paper surplus, powder box surplus etc.), the information such as access right.
S407, client app are according to the selection of user or are preset to one of imaging device that will be searched and are determined as
For performing the target imaging equipment of print job.User can select to wish to perform print job by the user interface of client
Imaging device.
S408 judges whether selected target imaging equipment is network imaging device.Pass through the selected imaging of user
Device type is to determine whether for network imaging device.When judging result is "Yes", S412 is entered step, when judging result is
During "No", S411 is entered step.
S409 searches for local imaging device;
S410, selection target imaging device performs print job from the imaging device searched;
S411, client app transmission print data to imaging device;
Above-mentioned steps S409, S410, S411 are substantially the same respectively with step S302, S303, S304 in Fig. 3, herein not
It describes again.
S412, client app generate cloud layout file;
Client app generates the cloud layout file in the print data sent in above-mentioned S411 steps, S412 steps
Specific process flow see attached drawing 5 and its description.
S413, client app upload generated cloud layout file to server 30;
S414, server 30 notify target imaging equipment to obtain cloud layout file from server 30;
Above-mentioned steps S412, S413, S414 are substantially the same respectively with step S204, S205, S206 in Fig. 2, herein not
It describes again.
S415, target imaging equipment actively select appropriate opportunity to obtain cloud layout file from server 30.Imaging
Equipment is downloaded cloud layout file from server 30 and is stored in imaging device memory.
S416, target imaging equipment perform printing based on the cloud layout file obtained from server 30.Work as mesh
When mark imaging device is network imaging device, imaging device is by the data to be printed being received and stored in memory (that is, cloud prints
Formatted file) printing is on the recording medium;When imaging device is local imaging device, imaging device is to be printed by what is received
Data-printing is on the recording medium.
S417, optionally, client app request imaging apparatus status and print job state show result information.Treat as
When as equipment being network imaging device, step S417 is substantially the same with the step S208 in Fig. 2;When imaging device is local imaging
During equipment, step S417 is substantially the same with the step S306 in Fig. 3;Therefore it no longer describes herein.
S418 terminates.Client app is when user interface shows final print result information, such as " printing successfully ", printing
Task terminates.
Illustrate that client app generates the print data in above-described embodiment and cloud layout file below with reference to Fig. 5
Process flow.
S501, the first module for being installed on the client app of mobile terminal determine file to be printed according to the selection of user.
User can select mimeograph documents by the user interface of client app, and mimeograph documents can be picture/mb-type or file
Type, such as electronic document, electrical form.Client app include the first module and the second module, the first module be used to implement with
User accesses the relevant processing in interface.The unrelated processing in interface is accessed with user to be completed by the second module, the second module is driving
Layer is realized.Design in this way can allow client app to handle larger picture, this subsequently will be further illustrated.
In follow-up S502 to S504, file to be printed is converted to bitmap data by the first modules of client app.
The first module of S502, client app judge whether file to be printed is picture/mb-type.If judging result is "No"
When, S503 is entered step, when testing result is "Yes", enters step S504.
S503, when file to be printed is not picture/mb-type, file to be printed is converted by the first module of client app
Picture to be printed.S504 is entered step after converting.
Picture to be printed is converted to Bitmap (bitmap) data by the first module of S504, client app, such as can be
The bitmap data of 24 bit formats.
Bitmap data are sent to the second module of client app by the first module of S505, client app.Preferably,
Bitmap data are split into after each parcel to the second module for being transmitted to client app, then the second module by client app
Package reduction Bitmap data.Due to mobile terminal, such as Android (Android system) equipment, big figure is being read or handled
It will appear memory spilling or the situation of low memory during piece, and the second module of client app can carry out the processing of big picture,
Data are split into each parcel herein, the second modules of client app is then delivered to and is reassembled into complete image data
Packet is handled, and can effectively prevent that mobile terminal memory overflows or low memory happens.
Then by step S506 to S510, the second module of client application converts the bitmap data received
The data to be printed of printing can be identified and carried out into imaging device.
The second module of S506, client app are by Bitmap data conversions into gray-scale map, such as 8 gray-scale maps.
Gray-scale map is carried out proportional scaling processing by the second module of S507, client app according to stamp with the size.
Gray-scale map after scaling is carried out black white binarization processing by the second module of S508, client app.By gray-scale map into
The processing of row black white binarization, i.e., obtain artwork master by data conversion.
The black and white diagram data being converted to is carried out JBIG (Joint Bi-level by the second module of S509, client app
Image Experts Group, joint bianry image expert group) compression algorithm processing, the JBIG data compressed.Binary map
Seem the image of a kind of color value that each pixel is expressed with 1bit, JBIG is a kind of two-tone image compression standard, can be used
It is encoded in gray level image and each pixel using the coloured image of limited a bit.
The JBIG data of compression are carried out command in combination by the second module of S510, client app.The process of command in combination is
The JBIG data of compression are combined with data command, generation imaging device can identify and carry out the number to be printed of printing
According to.
The order of mentioned order anabolic process combination may include:Document initiation command is (including document beginning label, printing part
Number parameters, duplex printing parameter, type face sum etc.), page initiation command is (including page beginning label, duplex printing, this page of part
Whether number paper source, paper type, horizontal resolution, vertical resolution, picture traverse, picture altitude, image locating depth, saves
Ink etc.), JBIG compress orders (including JBIG compact tokens, JBIG compression parameters option set), JBIG data commands (including
JBIG data markers, JBIG compression data blocks), JBIG end of data order (including JBIG end-of-data markers), the end of the page life
It enables and (being marked including the end of the page), document terminates order (terminating to mark including document).
The form of data to be printed that above-mentioned imaging device can be identified and be printed includes prn forms, ps forms, pcl
Form.Imaging device can identify that the language that the form of printing is used by it determines, the language that mainstream imaging device uses at present point
It Wei not GDI language, PS language, PCL language.Prn formatted files can only be identified using the equipment of GDI language, use PS language
Equipment can only identify ps formatted files, and pcl formatted files can only be identified using the equipment of PCL language.
The first module of S511, client app determine whether that cloud prints.(can be such as root by target imaging equipment
According to being selected to determine imaging device or acquiescence/preset imaging device according to user described in previous embodiment) type
To judge whether printing is cloud printing.When the imaging device of user's selection is the imaging device of network, judging result is
"Yes" enters step S513;When the imaging device of user's selection is local imaging device, judging result is "No", into step
Rapid S512.
Final data is sent to and is set as the local imaging of target imaging equipment by the second module of S512, client app
It is standby to be printed.Final data is sent to target imaging equipment by client app by wireless network or cable network, target into
As equipment is printed out based on the print data received.Optionally, when final data includes multipage, the second of app
Final data subpackage is sent to target imaging equipment by module, and packetized data is combined into complete printing number by target imaging equipment
According to being printed out.
S513, when target imaging equipment is network imaging device, the second module of client app is by the compression
JBIG data carry out the data obtained after command in combination generation cloud layout file.Client app will pass through command in combination
The file of form that print data generation can be identified specific to the selected imaging device of user, such as prn forms, ps forms, pcl
Form.
The second module of S514, client app judge whether cloud layout file generates completion.Client app passes through
Detection designated position judges with the presence or absence of the cloud layout file of specific format (prn forms or ps forms or pcl forms)
Whether cloud layout file generates completion.In the presence of the file of specific format is detected, judging result is "Yes", into step
Rapid S516;When the file that specific format is not detected, judging result is "No", enters step S515.
S515, user choose whether to regenerate cloud layout file.When specific format is not detected in client app
During file, display reminding information such as " cloud layout file generated mistake ", and allows user to choose whether to regenerate cloud printing
Formatted file.When user selects "Yes", return to step S513;When user selects "No", return to step S501.
The second module of S516, client app, will be on cloud layout files when testing result is to have generated completion
It passes to Cloud Server 30 and is printed.Cloud layout file is uploaded to Cloud Server 30, and pass through target by client app
Imaging device is printed out.Target imaging equipment is printed out based on the print data received.Optionally, work as cloud
When layout file includes multi-page printing data, cloud layout file subpackage is uploaded to cloud service by the second module of app
Device 30;Active obtaining request of the Cloud Server 30 based on target imaging equipment, is separately sent to target imaging by packetized data and sets
It is standby or be combined into complete cloud layout file and be sent to target imaging equipment;Target imaging equipment is beaten based on what is received
Printing is printed out according to being printed out or packetized data is combined into complete print data.
Those skilled in the art should be understood that each module of the above-mentioned present invention or each step can use general calculating
Device realizes that they can concentrate on single computing device or be distributed in the network that multiple computing devices are formed
On, optionally, they can be realized with the program code that computing device can perform, it is thus possible to be stored in storage
They are either fabricated to each integrated circuit modules respectively or will be more in them by computing device to perform in device
A module or step are fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and
Software combines.
Although disclosed herein embodiment as above, the content only to facilitate understand the present invention and adopt
Embodiment is not limited to the present invention.Any those skilled in the art to which this invention pertains are not departing from this
Under the premise of the disclosed spirit and scope of invention, any modification and change can be made in the implementing form and in details,
But the scope of patent protection of the present invention, still should be subject to the scope of the claims as defined in the appended claims.
Claims (11)
1. a kind of image formation control method, which is characterized in that including:
The first module for being installed on the client application of client determines file to be printed according to the selection of user;
The file to be printed is converted into bitmap data by the first module of the client application;
Institute's bit-map data is sent to the second of the client application by the first module of the client application
Module;
The bitmap data received is converted to target imaging equipment and can identify and carry out by the second module of client application
The data to be printed of printing;
The data to be printed are sent to the target imaging equipment or passed through by the second module of the client application
The data to be printed are sent to the target by the server to communicate with client application and the target imaging equipment
Imaging device;
The target imaging equipment is printed out based on the data to be printed received,
Wherein, client application includes the first module and the second module, and first module is used to implement to be accessed with user
The relevant processing in interface, the second module are realized in driving layer;
Wherein, by sending out the data to be printed with the server that client application and the target imaging equipment communicate
The target imaging equipment is sent to, including:
Client application is uploaded as cloud layout file to the server;
The server notifies the target imaging equipment to obtain cloud layout file to server;
The target imaging equipment actively selects opportune moment to obtain cloud layout file from the server, as to be printed
Data.
2. according to the method described in claim 1, it is characterized in that, the first module of the client application is by institute's rheme
Diagram data is sent to the step of the second module of the client application and further comprises:
Institute's bit-map data is split into after each parcel and is sent to the client by the first module of the client application
Hold the second module of application program;
Second module of the client application packages to restore the bitmap number after receiving each parcel
According to.
3. according to the method described in claim 1, it is characterized in that, the first module of the client application is treated described
Mimeograph documents are converted into the step of bitmap data and further comprise:
When the file to be printed is not picture, file to be printed is converted into waiting to beat by the first module of client application
Impression piece, then the picture to be printed is converted into institute's bit-map data.
4. according to the method described in claim 1, it is characterized in that, the second module of the client application will receive
Bitmap data be converted to the data to be printed that the target imaging equipment can identify and carry out printing processing it is further
Including:
Institute's bit-map data is converted into gray-scale map;
The gray-scale map is carried out by proportional scaling processing, the gray-scale map after being scaled according to stamp with the size;
Gray-scale map after the scaling is subjected to black white binarization processing, obtains artwork master;
The black and white diagram data is subjected to JBIG compression algorithm processing, the JBIG data compressed;
The JBIG data of the compression are subjected to command in combination, can identify to obtain the target imaging equipment and carry out printing behaviour
The data to be printed made.
5. according to the method described in claim 4, it is characterized in that, the JBIG data of the compression are subjected to command in combination to obtain
The processing that the data to be printed of printing can be identified and carried out to target imaging equipment further comprises:
When the target imaging equipment is network imaging device, the client application is by the JBIG data of the compression
The data conversion obtained after command in combination can identify as imaging device into cloud layout file and carry out printing
Data to be printed.
6. it according to the method described in claim 5, it is characterized in that, further includes:
The client application is judged by detecting designated position with the presence or absence of the cloud layout file of specific format
Whether cloud layout file generates completion;
In testing result for when having generated completion, the cloud layout file is uploaded onto the server.
7. according to the method described in claim 1-6 any one, which is characterized in that the server notifies the target imaging
The processing of equipment to server acquisition cloud layout file further comprises following at least any:
The client application, which is sent, obtains the instruction of cloud layout file to server, and the server is by the finger
Order is issued to the target imaging equipment to notify the target imaging equipment actively arrives the server to obtain cloud layout
File;
After the server receives the cloud layout file that the client application uploads, from target described in trend into
The instruction of cloud layout file is obtained so that the target imaging equipment to be notified actively to arrive server acquisition as equipment is sent
Cloud layout file;
After the server receives the cloud layout file that the client application uploads, do not connect by the predetermined time
When receiving the instruction of the client application, sent from target imaging equipment described in trend and obtain cloud layout file
Instruction notifies the target imaging equipment actively to arrive server and obtain cloud layout file.
8. the method according to the description of claim 7 is characterized in that it is additionally included in the client application for being installed on client
First module of program determines the following processing before file to be printed step according to the selection of user:
Whether detection user account has logged in, if testing result is no, searches for local imaging device, conversely, search network imaging
Equipment and local imaging device;
Client application is set according to the selection of user one of imaging device searched is determined as the target imaging
It is standby.
9. the method according to the description of claim 7 is characterized in that it is additionally included in the client application for being installed on client
First module of program determines the following processing before file to be printed step according to the selection of user:
When the startup type of client is automatic binding imaging device type, the client application starts Quick Response Code and sweeps
It retouches function or the two-dimensional code scanning function of client application is manually booted by user;
Quick Response Code of the client application scanning comprising imaging device information simultaneously extracts the imaging device in the Quick Response Code
Information;
The server is according to the user account information currently logged in and will be with passing through by scanning obtained imaging device information
It scans the obtained corresponding imaging device of imaging device information and the user account currently logged in is bound.
10. it according to the method described in claim 8, is answered it is characterized in that, being additionally included in the client for being installed on client
The following processing before file to be printed step is determined according to the selection of user with the first module of program:
When the startup type of client is automatic binding imaging device type, the client application starts Quick Response Code and sweeps
It retouches function or the two-dimensional code scanning function of client application is manually booted by user;
Quick Response Code of the client application scanning comprising imaging device information simultaneously extracts the imaging device in the Quick Response Code
Information;
The server is according to the user account information currently logged in and will be with passing through by scanning obtained imaging device information
It scans the obtained corresponding imaging device of imaging device information and the user account currently logged in is bound.
11. a kind of image forms control system, which is characterized in that including client, server, local imaging device, Yi Jitong
The network imaging device of the server and the client communication is crossed, wherein,
The client determines file to be printed using the first module of client application according to the selection of user, by described in
File to be printed is converted into bitmap data, and institute's bit-map data is sent to the second module of the client application, with
And it the bitmap data received is converted into target imaging equipment can identify using the second module of the client application
And the data to be printed of printing are carried out, the client application of the client includes the first module and the second module,
First module is used to implement accesses the relevant processing in interface with user, and the second module is realized in driving layer;
The local imaging device is printed out based on the data to be printed received from client;
The network imaging device is printed out based on the data to be printed from the server active obtaining,
The data to be printed that the server reception is sent from the client, and in response to the request of the network imaging device
Data to be printed are sent to the network imaging device;
Wherein, the network imaging device carries out printing out it based on the data to be printed from the server active obtaining
Before, it further includes:
Client application is uploaded as cloud layout file to the server;
The server notifies the target imaging equipment to obtain cloud layout file to server;
The target imaging equipment actively selects opportune moment to obtain cloud layout file from the server, as to be printed
Data.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410843019.2A CN104636092B (en) | 2014-12-30 | 2014-12-30 | A kind of image forms control system and image formation control method |
PCT/CN2015/097390 WO2016107401A1 (en) | 2014-12-30 | 2015-12-15 | Image formation control system and image formation control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410843019.2A CN104636092B (en) | 2014-12-30 | 2014-12-30 | A kind of image forms control system and image formation control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104636092A CN104636092A (en) | 2015-05-20 |
CN104636092B true CN104636092B (en) | 2018-06-12 |
Family
ID=53214901
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410843019.2A Active CN104636092B (en) | 2014-12-30 | 2014-12-30 | A kind of image forms control system and image formation control method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104636092B (en) |
WO (1) | WO2016107401A1 (en) |
Families Citing this family (15)
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 |
CN112433687A (en) * | 2017-11-09 | 2021-03-02 | 西安艾润物联网技术服务有限责任公司 | Self-service printing/copying method, system and computer readable storage medium |
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 |
CN114089928B (en) * | 2020-07-29 | 2024-03-22 | 钉钉控股(开曼)有限公司 | Binding relation establishing method and device and remote printing method |
CN112130782A (en) * | 2020-09-22 | 2020-12-25 | 上海汉图科技有限公司 | Printing method and device and printing client |
CN112331310A (en) * | 2020-10-10 | 2021-02-05 | 深圳市智影医疗科技有限公司 | Medical image data display method and device, storage medium and intelligent equipment |
CN114721606A (en) * | 2022-02-28 | 2022-07-08 | 阿里巴巴(中国)有限公司 | Cloud desktop printing processing method and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408836A (en) * | 2007-10-09 | 2009-04-15 | 北京书生国际信息技术有限公司 | Print implementing method |
CN101770350A (en) * | 2009-01-05 | 2010-07-07 | 鸿富锦精密工业(深圳)有限公司 | Printing system and printing method |
CN101807139A (en) * | 2009-02-17 | 2010-08-18 | 鸿富锦精密工业(深圳)有限公司 | Printing system and printing method thereof |
CN102056094A (en) * | 2009-11-10 | 2011-05-11 | 酷手机多媒体股份有限公司 | System and method for transmitting file by using multimedia information |
CN103942016A (en) * | 2014-04-30 | 2014-07-23 | 杨文晖 | Self-service printing method and system |
CN103955347A (en) * | 2014-05-06 | 2014-07-30 | 丁四涛 | Network printing equipment, server, system and method |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
JP2012155575A (en) * | 2011-01-27 | 2012-08-16 | Seiko Epson Corp | Print control server and print system |
JP5885422B2 (en) * | 2011-08-11 | 2016-03-15 | キヤノン株式会社 | 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 |
CN104636092B (en) * | 2014-12-30 | 2018-06-12 | 珠海赛纳打印科技股份有限公司 | A kind of image forms control system and image formation control method |
-
2014
- 2014-12-30 CN CN201410843019.2A patent/CN104636092B/en active Active
-
2015
- 2015-12-15 WO PCT/CN2015/097390 patent/WO2016107401A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408836A (en) * | 2007-10-09 | 2009-04-15 | 北京书生国际信息技术有限公司 | Print implementing method |
CN101770350A (en) * | 2009-01-05 | 2010-07-07 | 鸿富锦精密工业(深圳)有限公司 | Printing system and printing method |
CN101807139A (en) * | 2009-02-17 | 2010-08-18 | 鸿富锦精密工业(深圳)有限公司 | Printing system and printing method thereof |
CN102056094A (en) * | 2009-11-10 | 2011-05-11 | 酷手机多媒体股份有限公司 | System and method for transmitting file by using multimedia information |
CN103942016A (en) * | 2014-04-30 | 2014-07-23 | 杨文晖 | Self-service printing method and system |
CN103955347A (en) * | 2014-05-06 | 2014-07-30 | 丁四涛 | Network printing equipment, server, system and method |
Also Published As
Publication number | Publication date |
---|---|
WO2016107401A1 (en) | 2016-07-07 |
CN104636092A (en) | 2015-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104636092B (en) | A kind of image forms control system and image formation control method | |
US20040105104A1 (en) | Image-processing apparatus and image-processing system | |
US9116651B2 (en) | Image processing apparatus, control method, and recording medium storing computer program for image processing | |
US9473669B2 (en) | Electronic document generation system, electronic document generation apparatus, and recording medium | |
US20110292445A1 (en) | Image forming apparatus and information processing system | |
US20160065683A1 (en) | Relay server and non-transitory storage medium storing instructions executable by the relay server | |
US9250846B2 (en) | Print service providing apparatus that supplies conversion data and printing system including the same | |
US9720631B2 (en) | Relay server, storage medium storing instructions executable by the relay server, and control method | |
US9232100B2 (en) | Information processing system, control method thereof, and non-transitory computer-readable medium with generating authorization information to use a function of the first service and link information to call an input window | |
JP2010211627A (en) | Image processor and method of controlling the same | |
EP2933716B1 (en) | Image output system, image output method, document server | |
CN104079734A (en) | Relaying device, and method for controlling the relaying device | |
US20100231961A1 (en) | Image processing apparatus, system, and image processing method | |
US11336782B2 (en) | Image forming apparatus for creating image including multiple document images, and image forming method, and recording medium therefore | |
CN104375821B (en) | Message processing device, information processing method and processing equipment | |
US20080174807A1 (en) | System and method for preview of document processing media | |
EP3151105A1 (en) | Image forming apparatus and scanning method by image forming apparatus | |
US8824019B2 (en) | Image processing apparatus, charging system, charging method, and program | |
US9538018B2 (en) | MFP for scanning delivery address information and for receiving images from a server to be printed with the delivery address | |
US9383952B1 (en) | Systems and methods for overriding a print ticket when printing from a mobile device | |
JP2006255914A (en) | Image forming apparatus | |
KR101645324B1 (en) | Apparatus and method for controlling automatic printing of printed document for a large number of printing | |
CN104038655A (en) | Relaying Device And Method For Controlling The Relaying Device | |
US20160150103A1 (en) | Printing server, printing management method, and data storage printing system | |
JP2008153989A (en) | Image processing system, image processor, setting holding device, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190428 Address after: 519060 Central District A, Building 3, 01, 3883 Zhuhai Avenue, Zhuhai City, Guangdong Province Patentee after: ZHUHAI PANTUM ELECTRONICS Co.,Ltd. Address before: 519075 No. 3883 Zhuhai Avenue, Xiangzhou District, Zhuhai City, Guangdong Province Patentee before: Zhuhai Saine Printing Technology Co.,Ltd. |
|
TR01 | Transfer of patent right |