CN105224264B - Network printing control method and system and printer and network server - Google Patents
Network printing control method and system and printer and network server Download PDFInfo
- Publication number
- CN105224264B CN105224264B CN201410255161.5A CN201410255161A CN105224264B CN 105224264 B CN105224264 B CN 105224264B CN 201410255161 A CN201410255161 A CN 201410255161A CN 105224264 B CN105224264 B CN 105224264B
- Authority
- CN
- China
- Prior art keywords
- printer
- entry
- printed
- data
- network
- 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
Abstract
The invention discloses a kind of network printing control method and system and printers and network server.The network printing control method, which includes: printer, sends request data to network server, wherein, request data includes network services identification, network services identification is the mark of network service provider belonging to printer, the entry to be printed that printer requests network server to inquire the printer by sending request data;Printer receives the request response data that network server returns;Printer analysis request response data, obtains the print data of entry to be printed;Printer is treated type slug purpose print data and is printed.By means of the invention it is possible to reduce the equipment cost of network print system.
Description
Technical field
The present invention relates to network printing fields, in particular to a kind of network printing control method and system and printing
Machine and network server.
Background technique
With the development of internet and e-commerce technology, people are more next by the behavior of cyber ordering product or service
More universal, network meal-ordering business is also gradually risen therewith.Consumer stays indoors, so that it may eventually by PC machine, mobile phone, PAD etc.
End equipment (hereinafter referred to as client terminal) orders the food oneself liked.Compared with mode of ordering in traditional shop, network meal-ordering
Both the time for having saved consumer also saves the time of the attendant in trade company restaurant, and therefore, network meal-ordering business is by disappearing
The welcome of the person of expense and trade company.
Fig. 1 is a kind of schematic diagram of network meal-ordering system of the prior art, as shown, the network meal-ordering system includes visitor
Family terminal 1', order Website server 2' and trade company handheld terminal 3', is carried out data transmission between three by internet,
In, client terminal 1' is the terminal devices such as PC machine, mobile phone, PAD, and the Website server 2' that orders is that third party orders what website provided
The server that server or trade company provide, trade company handheld terminal 3' are a kind of handheld terminal of trade company customization, which can
To receive by the voice communication information for Website server 2' transmission of ordering.Consumer logs in website of ordering by client terminal 1', utilizes
Application software of ordering carries out network meal-ordering and places an order, hand-held to trade company after the Website server 2' that orders receives the order of consumer
Terminal 3' sends a voice communication information, and the holder of trade company handheld terminal 3' clicks trade company's handheld terminal after receiving voice communication information
The acknowledgement key of 3' carries out order, and records the order information of consumer, which is transmitted to kitchen work personnel and outer
It sells staff, kitchen work personnel and takes out staff and prepared for a meal according to order information and food delivery.Due to for trade company
For, the holder of trade company handheld terminal 3' is often the attendant on foreground, after the attendant's order of foreground, to kitchen work
It is more troublesome that personnel and take-away staff transmit order information, and when the information content of order is larger, foreground attendant
It is easy incomplete recording, therefore, which has that working efficiency is low, is easy to appear wrong list or loses single.
Fig. 2 is the schematic diagram of another network meal-ordering system of the prior art, as shown, the network meal-ordering system includes
Client terminal 1', the Website server 2' that orders, trade company PC machine 4' and plurality of printers 5', wherein client terminal 1', net of ordering
Carried out data transmission between site server 2', trade company PC machine 4' by internet, trade company PC machine 4' and more connected to it beat
Being carried out data transmission between print machine by local area network, plurality of printers 5' is separately positioned on the different departments in trade company, such as
Kitchen and foreground respectively configure a printer 5' afterwards.Trade company PC machine 4' is connect in the business hours with internet, when carrying out network meal-ordering,
Consumer logs in website of ordering using client terminal 1', carries out network meal-ordering using application software of ordering and places an order, website clothes of ordering
Business device 2' is received and the order is sent to trade company PC machine 4' after the order of consumer, after trade company PC machine 4' receives order, control
The printer 5' for making corresponding department carries out order printing, kitchen work personnel and the order and root for taking out staff's reception printing
It is prepared for a meal according to order information and food delivery.Since the network meal-ordering system needs trade company that must configure an at least PC machine,
The network meal-ordering system increases the operation cost of trade company.
For the high problem of equipment cost in the network print system of the prior art, effective solution side is not yet proposed at present
Method.
Summary of the invention
The main purpose of the present invention is to provide a kind of network printing control method and system and printer and network services
Device, to solve the problems, such as that equipment cost is high in network print system.
To achieve the goals above, according to an aspect of the invention, there is provided a kind of network printing control method.The net
Network print control program, which includes: printer, sends request data to network server, wherein request data includes network service mark
Know, network services identification is the mark of network service provider belonging to printer, and printer requests net by sending request data
Network server inquires the entry to be printed of the printer;Printer receives the request response data that network server returns;Printing
Machine analysis request response data, obtains the print data of entry to be printed;Printer treats the progress of type slug purpose print data
Printing.
Further, request response data packet includes the first mark, and first indicates the database for indicating network server
In whether there is printer entry to be printed, printer is after receiving request response data, and network printing control method is also
It include: that printer obtains the first mark from request response data;Printer requests number of responses according to the value judgement of the first mark
In whether include entry to be printed print data, wherein printer according to first mark value judging request response
When in data including the print data of entry to be printed, parsing obtains the printing number of entry to be printed from request response data
According to.
Further, request response data packet includes the second mark, the second mark for indicates to remove currently to be printed wait beat
It whether prints in the database of entry outer network server there is also the entry to be printed of other printers, printer is asked in reception
After seeking response data, network printing control method further include: printer obtains the second mark from request response data;Printing
Machine judges whether also deposit in the database except the entry outer network server to be printed currently to be printed according to the value of the second mark
In the entry to be printed of other printers, wherein printer is judged according to the value of the second mark except currently being printed
There is also when the entry to be printed of other printers, continue to send request in the database of entry outer network server to be printed
Data, printer are judging the data except the entry outer network server to be printed currently to be printed according to the value of the second mark
When the entry to be printed of other printers being not present in library, preset interval time is first waited, then proceedes to send request data.
Further, request data further includes printing entry data reporting, and printing entry data reporting includes printing entry
Serial number and printing entry Status Flag, wherein printing entry serial number is printed before this sends request data by printer
Type slug purpose serial number, whether printing entry Status Flag for indicating printing entry corresponding with entry serial number is printed
It prints successfully.
Further, the request data that printer is sent further includes equipment report data, and equipment report data include printing
The mark of machine and the Status Flag of printer, printer report the shape of printer by equipment report data to network server
State.
To achieve the goals above, according to another aspect of the present invention, a kind of network printing control method is provided.The net
Network print control program includes: that network server receives the request data that printer is sent, wherein request data includes network clothes
Business mark, network services identification are the mark of network service provider belonging to printer;Network server is sent according to printer
Request data inquire the printer entry to be printed and based on entry to be printed generate request response data;Network server
Request response data is sent to printer.
Further, request response data packet includes the first mark, and first indicates the database for indicating network server
In whether there is the entry to be printed of printer, network server inquires the printer according to the request data that printer is sent
Entry to be printed is simultaneously included based on entry to be printed generation request response data packet: network server is inquired according to network services identification
Print articles database;With the presence or absence of corresponding with network services identification wait beat in network server judgement printing articles database
Print entry is to judge to print the entry to be printed in articles database with the presence or absence of the printer;Network server is being judged to beat
It prints there are when the entry to be printed of the printer in articles database, the value of the first mark of setting is the first value, is judging to beat
When printing the entry to be printed that the printer is not present in articles database, the value of the first mark of setting is second value;Network service
Device generates request response data, and request response data packet includes the first mark, and there are the printers in printing articles database
When entry to be printed, request response data further includes the print data of entry to be printed.
Further, request response data packet includes the second mark, the second mark for indicates to remove currently to be printed wait beat
Print whether there is also the entry to be printed of other printers in the database of entry outer network server, network server according to
The request data that printer is sent inquires the entry to be printed of the printer and generates request response data based on entry to be printed
It include: network server according to network services identification inquiry printing articles database;Network server judgement is removed and currently to be printed
Entry to be printed outside print articles database in whether there is also the entries to be printed of other printers;Network server exists
Judge that there is also the items to be printed of other printers in printing articles database in addition to the entry to be printed currently to be printed
When mesh, the value of the second mark of setting is the first value, is judging to print entry data in addition to the entry to be printed currently to be printed
When the entry to be printed of other printers being not present in library, the value of the second mark of setting is second value;Network server generates
Request response data, request response data packet include the second mark.
Further, request data further includes printing entry data reporting, and printing entry data reporting includes printing entry
Serial number and printing entry Status Flag, wherein printing entry serial number is printed before this sends request data by printer
Type slug purpose serial number, whether printing entry Status Flag for indicating printing entry corresponding with entry serial number is printed
It prints successfully, network server is after receiving request data, network printing control method further include: network server is according to beating
It prints entry serial number and printing entry Status Flag updates printing articles database.
Further, request data further includes equipment report data, and equipment report data include the mark of printer and beat
The Status Flag of print machine, after network server receives request data, network printing control method further include: network server
Judge whether printer is in normal condition according to equipment report data;Network server is judging printer in abnormal shape
The inquiry of type slug purpose is not executed when state;Network server executes type slug purpose when judging that printer is in normal condition
Inquiry.
To achieve the goals above, according to another aspect of the present invention, a kind of printer is provided, which includes:
Transmission unit, for sending request data to network server, wherein request data includes network services identification, network service
It is identified as the mark of network service provider belonging to printer, printer requests network server inquiry by sending request data
The entry to be printed of the printer;Receiving unit, for receiving the request response data of network server return;Resolution unit,
For analysis request response data, the print data of entry to be printed is obtained;Print unit, for treating the printing of type slug purpose
Data are printed.
To achieve the goals above, according to another aspect of the present invention, a kind of network server is provided, the network service
Device includes: receiving unit, for receiving the request data of printer transmission, wherein request data includes network services identification, net
Network service identifiers are the mark of network service provider belonging to printer;Generation unit, the request for being sent according to printer
The entry to be printed of the data query printer simultaneously generates request response data based on entry to be printed;Transmission unit, being used for will
Request response data is sent to printer.
To achieve the goals above, according to another aspect of the present invention, a kind of network print system is provided, which beats
Print system includes printer and network server, in which: printer is used to send request data to network server, receives network
The request response data that server returns, analysis request response data obtain the print data of entry to be printed, and treat and beat
The print data of print entry is printed, wherein request data includes network services identification, and network services identification is printer institute
The mark of the network service provider of category, printer by send request data request network server inquire the printer wait beat
Print entry;Network server is used to receive the request data of printer transmission, and the request data inquiry sent according to printer should
The entry to be printed of printer simultaneously generates request response data based on entry to be printed, and request response data is sent to and is beaten
Print machine.
In the present invention, printer sends the request data request network clothes including network services identification to network server
Business device inquires the entry to be printed of the printer, and receives the request response data of network server return, analysis request response
Data obtain the print data of entry to be printed, and treat type slug purpose print data and printed, network of the invention
Print system is without being reconfigured PC machine.The present invention solves the problems, such as that equipment cost is high in network print system, and then reaches
Reduce the effect of equipment cost in network print system.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention
It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of network meal-ordering system of the prior art;
Fig. 2 is the schematic diagram of another network meal-ordering system of the prior art;
Fig. 3 is the module composition schematic diagram of network print system according to a first embodiment of the present invention;
Fig. 4 is the module composition schematic diagram of network print system according to a second embodiment of the present invention;
Fig. 5 is the flow chart of network printing control method according to a first embodiment of the present invention;
Fig. 6 is the flow chart of network printing control method according to a second embodiment of the present invention;
Fig. 7 is the flow chart of network printing control method according to a third embodiment of the present invention;
Fig. 8 is the flow chart of network printing control method according to a fourth embodiment of the present invention;
Fig. 9 is the flow chart of network printing control method according to a fifth embodiment of the present invention;
Figure 10 is the schematic diagram of printer according to an embodiment of the present invention;And
Figure 11 is the schematic diagram of network server according to an embodiment of the present invention.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
Fig. 3 is the module composition schematic diagram of network print system according to a first embodiment of the present invention, as shown, the net
Network print system includes client terminal 1, network server 2 and printer 3.Wherein, it client terminal 1, network server 2 and beats
Print machine 3 accesses internet, and client terminal 1 and printer 3 are carried out data transmission by internet with network server 2 respectively.
Client terminal 1 can provide for terminal devices, network servers 2 such as PC machine, mobile phone, PAD for third party website operator
Server, or trade company provide server, printer 3 can by cable access internet, can also pass through
The wireless modes such as WIFI access internet.
Fig. 4 is the module composition schematic diagram of network print system according to a second embodiment of the present invention, as shown, network
Print system includes plurality of printers 3, which, which is belonging respectively to trade company, n family, owns, and each trade company's application uses net
When network print system, the operator of network server 2 register the relevant information of the trade company and for the trade company distribute unique number (with
Lower abbreviation trade company ID), the relevant information of the trade company and its trade company ID one-to-one correspondence are stored in net by the operator of network server 2
In network server 2, and the trade company ID distributed is notified into the trade company.Each printer 3 has unique device numbering (following
Abbreviation printer ID), printer ID is distributed by printer manufacturer when printer 3 dispatches from the factory.Preferably, when plurality of printers 3
When belonging to same trade company simultaneously, each printer 3 in the plurality of printers 3 passes through router 4 and network server 2
Carry out data transmission.
Below by taking network meal-ordering business as an example, the order generating process of network print system is illustrated.Work as consumer
When carrying out network meal-ordering by the network print system, the application software of ordering that consumer is installed by operation client terminal 1, choosing
Determine trade company and required food, it includes containing trade company ID and order data that application software of ordering is generated according to the information of ordering of consumer
Order information, and the order information is sent to network server 2, wherein trade company ID uses net for distinguishing merchant identification
Each trade company of network print system all has unique trade company ID.Network server 2 receives consumer and is sent out by client terminal 1
After the order information sent, unique order serial number corresponding with the order information is generated, and order serial number and order are believed
Breath corresponds storage into the order database of network server 2.
Table 1
Order serial number | Trade company ID | Order data | Order status |
201404260001 | M001 | xxxxxxxx | It prints successfully |
201404260002 | M020 | xxxxxxxx | It prints successfully |
201404260003 | M006 | xxxxxxxx | It does not print |
201404260004 | M020 | xxxxxxxx | It does not print |
201404260005 | M016 | xxxxxxxx | Printing failure |
201404260006 | M008 | xxxxxxxx | It prints successfully |
…… | …… | …… | …… |
Table 1 illustrates the order stored in the order database of network server according to an embodiment of the invention, such as
Shown in table 1, several orders are stored in the order database of network server 2, every order includes order serial number, trade company
ID, order data, further, the every order stored in order database further include order status, and order status is for referring to
Show that this bar order is in non-print state, printing success status or printing status of fail, network service when every order generates
It is non-print state that its order status, which is arranged, in device.
The embodiment of the invention also provides a kind of network printing control method, which, which can be, is used for
The print control program of the network print system of the embodiment of the present invention, for controlling network printing.
Fig. 5 is the flow chart of network printing control method according to a first embodiment of the present invention.In this embodiment, pass through
Printer carries out network printing control.As shown in figure 5, the network printing control method of the embodiment includes:
Step S101, printer send request data to network server
In the network print system of the embodiment of the present invention, webserver storage has the item to be printed for printer printing
The network services identification of mesh and printer, network services identification are the mark of network service provider belonging to printer, network clothes
Business device distinguishes printer by network services identification, so that it is determined that corresponding with heterogeneous networks service provider or printer
Entry to be printed, for example, the embodiment that table 1 is illustrated is printed and stored in the order database that entry is network server
Order, the network services identification of printer is the trade company ID of the affiliated trade company of printer.
Printer requests entry to be printed corresponding with the printer by sending request data, and request data includes network
Service identifiers, so that printer can request network server inquiry corresponding with network services identification by sending request data
Entry to be printed, that is, the entry to be printed that the printer is printed can be used in request network server inquiry, that is, asking
Network server is asked to inquire the entry to be printed of the printer.
It preferably, can also include printing entry data reporting in request data, printing entry data reporting includes printing
Entry serial number and printing entry Status Flag, wherein for printer, this sends institute before request data to printing entry serial number
The type slug purpose serial number of printing, printing entry Status Flag is for indicating printing entry corresponding with entry serial number is printed
Whether printing is successful, for example, printing entry serial number is order serial number for the embodiment that table 1 is illustrated, prints entry shape
State mark is order status.
Preferably, the request data that printer is sent can also include equipment report data, and equipment report data include beating
The mark of print machine and the Status Flag of printer, printer report the shape of printer by equipment report data to network server
State, wherein the mark of printer can be printer ID.
Step S102, printer receive the request response data that network server returns
Network server according to preset agreement, the print data of the entry to be printed based on printer request according to
Predetermined format generates order request response data, and printer receives the request response data that network server returns.
Preferably, in order to make printer easily identify in request response data whether there is entry to be printed printing
Data, may include the first mark in request response data, in database of first mark for indicating network server whether
There are the entries to be printed of printer, and printer is after receiving request response data, network printing control method further include: beat
Print machine obtains the first mark from request response data;Printer according to the value of the first mark judge in request response data whether
Print data comprising entry to be printed, wherein printer is judged to wrap in request response data according to the value of the first mark
When print data containing entry to be printed, parsing obtains the print data of entry to be printed from request response data.
Preferably, in order to make printer that the entry to be printed stored in network server be appreciated more fully the case where, asks
Asking can also include the second mark in response data, and the second mark is for indicating except the entry outer network to be printed currently to be printed
Whether there is also the entry to be printed of other printers in the database of server, printer receive request response data it
Afterwards, network printing control method further include: printer obtains the second mark from request response data;Printer is according to the second mark
The value judgement of will is except whether there is also other printings in the database for the entry outer network server to be printed currently to be printed
The entry to be printed of machine, wherein printer is judged in addition to the entry to be printed currently to be printed according to the value of the second mark
There is also when the entry to be printed of other printers, continue to send request data, printer in the database of network server
Judging to be not present in the database except the entry outer network server to be printed currently to be printed according to the value of the second mark
When the entry to be printed of other printers, preset interval time is first waited, then proceedes to send request data.
Step S103, printer analysis request response data, obtains the print data of entry to be printed.
Printer is parsed to obtain the print data of the entry to be printed for printing by request response data.
Step S104, printer are treated type slug purpose print data and are printed.
Fig. 6 is the flow chart of network printing control method according to a second embodiment of the present invention.In this embodiment, pass through
Network server carries out network printing control.As shown in fig. 6, the network printing control method of the embodiment includes:
Step S201, network server receive the request data that printer is sent, wherein request data includes network service
Mark, network services identification are the mark of network service provider belonging to printer.
Request data in the embodiment can be the request data in embodiment illustrated in fig. 5.
Step S202, network server inquire the entry to be printed of the printer simultaneously according to the request data that printer is sent
Request response data is generated based on entry to be printed.
Included network services identification inquiry prints entry in the request data that network server is sent according to printer
Database judges to print with the presence or absence of entry to be printed corresponding with network services identification in articles database, so that judgement is beaten
With the presence or absence of the entry to be printed that the printer is printed can be used in print articles database, that is, it whether there is the printer
Entry to be printed.
Request response data in the embodiment can be the request response data in embodiment illustrated in fig. 5.
Request response data is sent to printer by step S203, network server.
Request response data is sent to printer by network server, so that printer can parse request response data,
The print data of entry to be printed is obtained, and treats type slug purpose print data and is printed.
Fig. 7 is the flow chart of network printing control method according to a third embodiment of the present invention, which can be used as
The preferred embodiment of above-mentioned the first embodiment or the second embodiment.In this embodiment, to of the invention real for printing order
The network printing control method for applying example is described, and for the embodiment of printing order, request data is order
Request data, request response data are order request response data, and network services identification is trade company ID, and printing entry serial number is
Order serial number, printing entry Status Flag are order status mark, and printing entry is order etc..It should be noted that this
The network printing control method of inventive embodiments is not limited to the printing to order, can be used for beating other type slug purposes
Print.
In the network print system of the embodiment of the present invention, network server and printer are established network by internet and are connected
It connects, in this embodiment, printer is at interval of preset time actively to web server requests order data, network server pair
The order request that printer is sent is responded, as shown, method includes the following steps:
Step S301, printer send order request data to network server
Printer sends order request data to network server, to request network server to be sent to it order data,
Wherein, the order request data that printer is sent include trade company ID, and trade company ID is the operator of network server for printer institute
The unique number for belonging to trade company's distribution, is stored in advance in the memory of printer by trade company.Preferably, printer
It is stored with configuration file in memory, after printer powers on, reads the configuration file, includes network server in configuration file
The information such as address, printer ID, trade company ID, printer IP address, printer MAC Address, wherein the address of network server,
Trade company ID is written in configuration file after buying printer by trade company.Printer obtains in the items in configuration file
Hold, order request data are sent to network server according to the address of network server.
Step S302, network server inquire order database after receiving the order request data that printer is sent, and
Order request response data is sent to printer according to query result
As described above, network server includes order database, order database passes through client's end for storing consumer
Hold the information of the order sent.After network server receives the order request data of printer transmission, order request number is parsed
According to and obtain trade company ID, then according to trade company ID inquire order database, determine in order database whether there is and the quotient
Family ID is corresponding not to print order, that is, determines in order database with the presence or absence of the printing that transmission order request data can be used
The order of machine printing.Network server is according to the first mark of the query result of order database setting, wherein the first mark is used for
It indicates with the presence or absence of the order that the printer printing for sending order request data can be used in order database, for example, when ordering
When there is the order that the printer printing for sending order request data can be used in single database, the value of the first mark of setting is
1;When, there is no when the order that the printer printing for sending order request data can be used, setting first is marked in order database
The value of will is 0.
Network server generates order request response data according to preset agreement, according to predetermined format, wherein orders
Single request response data packet includes the first mark, and the printer for sending order request data can be used when existing in order database
When the order of printing, order request response data further includes order data, which is to inquire in order database
To use the order data for sending the order of printer printing of order request data should for example, for network meal-ordering business
Order data includes food name and quantity.Generate order request response data after, network server to send order request number
According to printer send the order request response data.
Step S303, printer parses the order request response data that network server is sent, when order request number of responses
When including order data in, printer prints order data
When printer receives the order request response data of network server transmission, according to preset agreement solution
Analyse order request response data.Printer obtains the first mark in order request response data, is sentenced according to the value of the first mark
With the presence or absence of the order that printer printing can be used in the order database of circuit network server, that is, order request is rung
It whether answers in data comprising the order data to be printed, when determining to include the order data to be printed in order request response data
When, printer obtains the order data in order request response data, and prints the order data.
It should be noted that executing step again after waiting preset time after printer has executed order data printing
S301 continues to send next order request data to network server.When printer determines net by the value of the first mark
When the order that printer printing can be used being not present in the order database of network server, that is, order request number of responses
When not including the order data to be printed in, printer executes step S301 after waiting preset time again.
In the present embodiment, printer is based on trade company ID and sends order request data, network server base to network server
Order database is inquired in trade company ID, and order data is sent so that printer prints order numbers to printer according to query result
According to.Network print system and its print control program through this embodiment, trade company is without configuring PC machine, when network server connects
Receive printer transmission order request data when directly by client terminal send respective orders data be sent to printer with
Printer is set to print order data, network print system and its print control program provided by the invention are applied to network meal-ordering industry
Business, can solve, which there are problems that in the network meal-ordering system of the prior art, increases trade company's operation cost.
Fig. 8 is the flow chart of network printing control method according to a fourth embodiment of the present invention, and the method for the embodiment can
To be a kind of preferred embodiment of print control program shown in Fig. 7.As shown, method includes the following steps:
Step S401, printer send interactive demand signal to network server to report order status to network server
And request order data
Printer sends interactive demand signal to network server, to report that order status and request are ordered to network server
Forms data.Interactive demand signal includes trade company ID and order data reporting, wherein order data reporting include order serial number and
Order status mark.
When printer performs order data printing before this transmission interactive demand signal of printer, order serial number is
This sends the order serial number of the order printed before interactive demand signal with printer, and order status mark is for indicating and being somebody's turn to do
Whether the corresponding order data of order serial number prints success, for example, expression is ordered with this when the value of order status mark is 1
The corresponding order data of single serial number prints successfully, when the value of order status mark is 0, indicates corresponding with the order serial number
Order data print failure;Printer is not carried out order data printing before when printer, this sends interactive demand signal
When, for example, when printer just powers on or printer last time send interactive demand signal after network server send interaction ask
When response data being asked not include the order data to be printed, order serial number and order status mark are preset invalid
The order serial number for the last item order that value or order serial number are printed by printer, order status mark are used for table
Show whether order data corresponding with the order serial number prints success.
Step S402, network server parse the interactive demand signal received and update order database
After network server receives the interactive demand signal of printer transmission, according to the interaction of preset protocol analysis
Request data obtains trade company ID and order data reporting.Wherein, when the order serial number of order data reporting and order status mark
When will is preset invalid value, network server is without updating order database;When the order flowing water of order data reporting
Number and order status mark be virtual value when, network server according in order data reporting order serial number inquire order numbers
According to the respective orders in library, and the order status of the order is updated according to the order status mark in order data reporting, by this
The order status of bar order is set as printing success status or prints status of fail.
Step S403, network server inquires order database, and sends interaction request to printer according to query result
Response data
Network server trade company ID according to acquired in step S402 inquires order database, and determining in order database is
It is no to there is order corresponding with trade company ID, when there is order corresponding with trade company ID in order database, according to order
Order status determine whether using send interactive demand signal printer print the order.Concrete mode is network
Server inquires each order one by one since the initial address of order database, when inquiring order corresponding with trade company ID
And its order status be non-print state or printing status of fail when, network server stop order data library inquiry, determination order
There is the order that the printer printing for sending interactive demand signal can be used in single database;It has inquired and has ordered when network server
All orders stored in single database do not inquire order corresponding with trade company ID, or inquire and trade company ID
Corresponding order but its order status are when printing successfully, and network server determines that there is no can be used transmission in order data
The order of the printer printing of interactive demand signal.
The first mark is arranged according to query result in network server, and according to preset agreement, according to predetermined format
Generate interaction request response data, wherein interaction request response data includes the first mark, can be with when existing in order database
When using the order of printer printing for sending interactive demand signal, interaction request response data further includes the order to be printed
Order serial number and order data.After generating interaction request response data, network server is beaten to transmission interactive demand signal
Print machine sends the interaction request response data.
Step S404, printer parse the interaction request response data that receives, judge be in interaction request response data
It is no to include the order data to be printed
After printer receives the interaction request response data of network server transmission, according to preset protocol analysis
Interaction request response data.Printer obtains the first mark in interaction request response data, is judged according to the value of the first mark
With the presence or absence of the order that printer printing can be used in the order database of network server, that is, interaction request responds
In data whether include the order data to be printed, when determine interaction request response data in include the order data to be printed
When, execute step S405;When determining not including in interaction request response data has the order data to be printed, step is executed
S406。
Simultaneously order status mark is arranged in step S405, printer printing order data
When printer is determined in interaction request response data by the first mark comprising the order data to be printed, printing
Machine obtains the order serial number and order data of the order to be printed, and prints order data, and printer is according to the order data
Printing performance be arranged order status mark, for example, when complete order data print after, printer setup order status mark
The value of will is 1, indicates that order data prints successfully, leads to not complete (as lacked paper) when printer appearance is abnormal in print procedure
When order data prints, the value of printer setup order status mark is 0, indicates order data printing failure.Preferably, it prints
The state of monitor printer in machine operational process judges whether printer modes are normal before printer printing order data, when beating
When print machine abnormal state, printer sets the value of order status mark to indicate the value of order data printing failure, for example, setting
The value for setting order status mark is 0.
Step S406, printer wait preset interval time
Printer wait preset interval time, continue to execute step S401, i.e., according to trade company ID and execute step S404 and
Order serial number and order status mark after step S405 send next interactive demand signal to network server with to net
Network server reports order status and request order data.
In the present embodiment, printer reports order status to network server to report the printing performance of order, net
Network server updates the order status of respective orders in order database according to the order status that printer is reported.By this implementation
Example, network server can retransmit the order data to corresponding printer in printer printing order data failure
It is printed, avoids the generation for losing single phenomenon, ensure that the integrality of order printing.
Fig. 9 is the flow chart of network printing control method according to a fifth embodiment of the present invention, and the method for the embodiment can
To be a kind of preferred embodiment of print control program shown in Fig. 7.As shown, method includes the following steps:
Step S501, printer send interactive demand signal to network server to report state to network server and ask
Seek order data
Printer sends interactive demand signal to network server to report state and request order numbers to network server
According to, wherein report state includes report device states and report order status.Interactive demand signal includes trade company ID, equipment report
Accuse data and order data reporting, wherein equipment report data include printer ID, printer modes mark, order number of reports
According to including order serial number and order status mark.
Printer ID is unique device numbering, is distributed by printer manufacturer when printer dispatches from the factory.Preferably, when beating
Printer is registered to web server requests when printing prow time access network print system, and network server registers the printer simultaneously
The information of the printer is stored in its device databases.Specific registration process are as follows: printer reading is stored in advance in printing
The configuration file in memory inside machine, obtain the address of network server in configuration file, printer ID, trade company ID,
The information such as printer IP address, printer MAC Address.Printer is set according to the address of network server to network server transmission
The registration request data of the formula that fixes, registration request data include printer ID, trade company ID, printer IP address, printer MAC
The information such as location, network server receive after registration request data according to the preset protocol analysis registration request data,
And whether correctly and completely judge whether the printer of request registration is legal according to the format of registration request data, if printer
Legal, the information such as printer ID, trade company ID, printer IP address, printer MAC Address are stored in its equipment by network server
In database, and the information to succeed in registration is returned to printer;If printer is illegal, registration failure is returned to printer
Information.
Table 2
Printer ID | Trade company ID | Printer IP address | Printer MAC Address | Printer modes |
P0001 | M001 | 192.168.255.1 | F0-4D-A2-29-B8-4D | Normally |
P0002 | M020 | 192.168.24.2 | 00-0B-2F-19-D3-E0 | Normally |
P0003 | M006 | 192.168.45.30 | F8-0D-E2-3D-5F-80 | Lack paper |
…… | …… | …… | …… | …… |
Table 2 shows the Printer Information stored in the device databases of the network server of one embodiment of the invention, such as
Shown in the table, the information of several printers, the packet of every printer are stored in the device databases of network server
Include the contents such as printer ID, trade company ID, printer IP address, printer MAC Address.Every printer accesses network printing for the first time
System and when registering to web server requests, network server is by the relevant information of printer storage to device databases
In.Further, the information of the every printer stored in device databases further includes printer modes, and printer modes are used for
Indicate that the printer is in normal condition or abnormality, wherein abnormality includes paper out status, upper cover opening state, machine
Tool error condition etc..
The state of monitor printer in printer operational process, and printer modes are changed according to the state change of printer
Mark, printer to network server send interactive demand signal before, read trade company ID, printer ID, printer modes mark,
Order serial number, order status mark generate interactive demand signal according to preset agreement.Printer is to network server
Interactive demand signal is sent to order to report printer modes, order status to network server, and to web server requests
Forms data.
Step S502, network server parse the interactive demand signal received and update device databases and order data
Library
As described above, network server includes device databases and order database, wherein device databases are for storing
It is linked into the information of the printer of network print system, order database is ordered for storing consumer by what client terminal was sent
Single information.After network server receives the interactive demand signal of printer transmission, handed over according to preset protocol analysis
Mutual request data obtains trade company ID, equipment report data and order data reporting.
Network server inquires and this dozen first according to the printer ID query facility database in equipment report data
After the information of the corresponding printer of print machine ID, beating for the printer is updated according to the printer modes mark in equipment report data
Print machine state;Then according to the order serial number and order status mark update order database in order data reporting.
Step S503, network server judge whether the printer for sending interactive demand signal is in normal condition
Network server sends beating for interactive demand signal according to the printer modes mark judgement in equipment report data
Whether print machine is in normal condition, for example, determining that printer is in normal condition when the value of printer modes mark is 1;It is no
Then, determine that printer is in abnormality.When determining that the printer for sending interactive demand signal is in normal condition, network clothes
Be engaged in device execution step S504, otherwise, execution step S505.
Step S504, network server inquire order database, and the first mark and the second mark is arranged
When determining that the printer for sending interactive demand signal is in normal condition, network server is inquired according to trade company ID
Order database determines ordering with the presence or absence of the printer printing that transmission interactive demand signal can be used in order database
It is single.Concrete mode is that network server is inquired respectively one by one based on the trade company ID of acquisition since the initial address of order database
Bar order, when inquiring first order corresponding with trade company ID and its print state is non-print state or printing failure shape
When state, the printer printing for sending interactive demand signal is can be used to show to exist in order database in the first mark of setting
Order, for example, the value of the first mark of setting is 1;Network server continues order data library inquiry, when inquiring Article 2
When order corresponding with trade company ID and its print state are non-print state or printing status of fail, the second mark of setting is with table
It is bright that the printer for sending interactive demand signal can be used in order database there is also other in addition to the order currently to be printed
The order of printing, for example, the value of the second mark of setting is 1, at this point, network server stops order data library inquiry;Work as network
Server has inquired all orders stored in order database, does not inquire order corresponding with trade company ID, Huo Zhecha
When asking order corresponding with trade company ID but its order status to print success status, the first mark of setting is to show order numbers
According in library, there is no the orders that the printer printing for sending interactive demand signal can be used, for example, the value of the first mark of setting
Be 0, at this point, network server setting second mark value be preset invalid value, or setting second mark value with
Show that the order for sending the printer printing of interactive demand signal can be used in order database there is no other, for example, setting
The value for setting the second mark is 0;When network server has inquired all orders stored in order database, only inquire one with
When the corresponding order of trade company ID and its print state are non-print state or printing status of fail, the second mark of setting is to show
There is no other printers that transmission interactive demand signal can be used to beat in order database in addition to the order currently to be printed
The order of print, for example, the value of the second mark of setting is 0.
Step S505, the first mark of network server setting and the second mark
When determining that the printer for sending interactive demand signal is when in an abnormal state, network server is without inquiring order numbers
According to library, directly the first mark of setting is to show that there is no the printer for sending interactive demand signal can be used in order database
The order of printing, for example, the value of the first mark of setting is 0, the value of the second mark of network server setting is preset nothing
Valid value, or the value of the second mark of setting is to show that transmission interactive demand signal can be used there is no other in order database
Printer printing order, for example, setting second mark value be 0.
Step S506, network server send order request response data to printer
Network server generates interaction request response data according to preset agreement, according to predetermined format, wherein hands over
Mutual request response data packet includes the first mark, the second mark, sends interaction request number when existing can be used in order database
According to printer printing order when, interaction request response data further includes the order serial number and order numbers for the order to be printed
According to, wherein when network server inquires two printers that transmission interactive demand signal can be used in order database
When the order of printing, i.e., there is also other, and transmission interaction request can be used in order database in addition to the order currently to be printed
When the order of the printer printing of data, the order to be printed is first order inquired in order database.It generates
After interaction request response data, network server sends the interaction request number of responses to the printer for sending interactive demand signal
According to.
Step S507, printer parse the interaction request response data received, judge interaction request according to the first mark
It whether include the order data to be printed in response data
After printer receives the interaction request response data of network server transmission, according to preset protocol analysis
Interaction request response data.Printer obtains the first mark and the second mark in interaction request response data, according to the first mark
Whether the value of will judges comprising the order data to be printed in interaction request response data, when in judgement interaction request response data
When comprising the order data to be printed, step S508 is executed;When determining not including to have in interaction request response data to be printed
When order data, step S510 is executed.
Simultaneously order status mark is arranged in step S508, printer printing order data
The step is the same as step S405.
Step S509, printer judge whether there is also other, and this dozen can be used in order database according to the second mark
The order of print machine printing
Printer judges the order data in addition to the order currently printed according to the value of the second mark obtained in step S507
Whether there is also the order that printer printing can be used in other in library, when determine can be with there is also other in order database
When the order printed using the printer, execute step S501, i.e., according to trade company ID, printer ID, printer modes mark and
Order serial number and order status mark after executing step S507 and step S508, send next to network server immediately
Interactive demand signal is to report state and request order data to network server;When there is no other in judgement order database
When the order of printer printing can be used, step S510 is executed.
Step S510, printer wait preset interval time
Printer waits preset interval time, continues to execute step S501, i.e., according to trade company ID, printer ID, printer
Status Flag and execute step S507 and step S508 after order serial number and order status mark, to network server send
Next interactive demand signal is to report state and request order data to network server.
In the present embodiment, when judgement printer network server when in an abnormal state looking into without order database
It askes, the trade company ID progress order data library inquiry sent when determining that printer be in normal condition based on printer and to printing
Machine returns in the order database except the order outer network server currently to be printed whether there is also other, and this dozen can be used
The order of print machine printing, when there is also the orders that printer printing can be used in other in the order database of network server
When, printer sends next interactive demand signal after having printed the printing of current order data immediately.Through this embodiment, it improves
The working efficiency of network print system.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions
It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not
The sequence being same as herein executes shown or described step.
The embodiment of the invention also provides a kind of printer, which can beat for the network for the embodiment of the present invention
Printer in print system or network printing control method is provided with processor in the printer, which can be used for
The network printing control method of the embodiment of the present invention is executed, Figure 10 is the schematic diagram of printer according to an embodiment of the present invention.Such as
Shown in Figure 10, which includes transmission unit 31, receiving unit 32, resolution unit 33 and print unit 34.
Transmission unit 31, for sending request data to network server, wherein request data includes network service mark
Know, network services identification is the mark of network service provider belonging to printer, and printer requests net by sending request data
Network server inquires the entry to be printed of the printer.The transmission unit 31 can execute printer transmission in previous embodiment and ask
The correlation step of data is sought, details are not described herein for related content.
Receiving unit 32, for receiving the request response data of network server return.The receiving unit 32 can execute
Printer receives the correlation step of respond request data in previous embodiment, and details are not described herein for related content.
Resolution unit 33 is used for analysis request response data, obtains the print data of entry to be printed.The resolution unit 33
The correlation step of printer analysis request response data in previous embodiment can be executed, details are not described herein for related content.
Print unit 34 is printed for treating type slug purpose print data.Before the print unit 34 can execute
The correlation step that printer in embodiment executes printing is stated, details are not described herein for related content.
Figure 11 is the schematic diagram of network server according to an embodiment of the present invention.The network server can be for for this hair
The network print system or the network server in network printing control method of bright embodiment are provided in the network server
Processor, the processor can be used for executing the network printing control method of the embodiment of the present invention, and Figure 11 is real according to the present invention
Apply the schematic diagram of the network server of example.As shown in figure 11, which includes receiving unit 21, generation unit 22 and hair
Send unit 23.
Receiving unit 21, for receiving the request data of printer transmission, wherein request data includes network service mark
Know, network services identification is the mark of network service provider belonging to printer.The receiving unit 21 can execute aforementioned implementation
Network server receives the correlation step of request data in example, and details are not described herein for related content.
Generation unit 22, the request data for being sent according to printer are inquired the entry to be printed of the printer and are based on
Entry to be printed generates request response data.The generation unit 22 can execute network server in previous embodiment and generate request
The correlation step of response data, details are not described herein for related content.
Transmission unit 23, for request response data to be sent to printer.The transmission unit 23 can execute aforementioned reality
The correlation step that network server in example sends request response data is applied, details are not described herein for related content.
Obviously, those skilled in the art should be understood that above-mentioned each unit of the invention or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
Be performed by computing device in the storage device, perhaps they are fabricated to each integrated circuit modules or by they
In multiple units or step be fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific
Hardware and software combines.
In network print system provided in an embodiment of the present invention, printer is used to send number of request to network server
According to the request response data that reception network server returns, analysis request response data obtains the printing number of entry to be printed
According to, and treat type slug purpose print data and printed, wherein request data includes network services identification, network service
It is identified as the mark of network service provider belonging to printer, printer requests network server inquiry by sending request data
The entry to be printed of the printer;Network server is used to receive the request data of printer transmission, is sent according to printer
Request data inquires the entry to be printed of the printer and generates request response data based on entry to be printed, and request is rung
It answers data to be sent to printer, without PC machine is arranged again, reduces the equipment cost in network print system.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (11)
1. a kind of network printing control method characterized by comprising
Printer sends request data to network server, wherein the request data includes network services identification, the network
Service identifiers are the mark of network service provider belonging to the printer, and the printer is asked by sending the request data
The network server is asked to inquire the entry to be printed of the printer;
The printer receives the request response data that the network server returns;
The printer parses the request response data, obtains the print data of the entry to be printed;And
The printer prints the print data of the entry to be printed;
Wherein, printer actively sends request data to network server at interval of preset time;
Wherein, the request response data packet includes the first mark, and described first indicates the number for indicating the network server
According to the entry to be printed that whether there is the printer in library, the printer is after receiving the request response data, institute
State network printing control method further include: the printer obtains first mark from the request response data;And
Whether the printer judges in the request response data to include the entry to be printed according to the value of first mark
Print data, wherein the printer is judged in the request response data according to the value of first mark comprising institute
When stating the print data of entry to be printed, parsing obtains the printing number of the entry to be printed from the request response data
According to.
2. network printing control method according to claim 1, which is characterized in that the request response data packet includes second
Mark, second mark are in the database of the network server in addition to the entry to be printed currently to be printed for indicating
It is no there is also the entry to be printed of printer described in other, the printer is described after receiving the request response data
Network printing control method further include:
The printer obtains second mark from the request response data;And
The printer judges the network service in addition to the entry to be printed currently to be printed according to the value of second mark
Whether there is also the entry to be printed of printer described in other in the database of device,
Wherein, the printer is judged described in addition to the entry to be printed currently to be printed in the value indicated according to described second
There is also when the entry to be printed of printer described in other in the database of network server, continue to send the request data,
The printer is judging the network service in addition to the entry to be printed currently to be printed according to the value of second mark
When the entry to be printed of other printers being not present in the database of device, preset interval time is first waited, then proceedes to send out
Send the request data.
3. network printing control method according to claim 1, which is characterized in that the request data further includes type slug
Mesh data reporting, the printing entry data reporting include printing entry serial number and printing entry Status Flag, wherein described
Printing entry serial number, this sends the type slug purpose serial number printed before the request data by the printer, described
Printing entry Status Flag is for indicating whether printing entry corresponding with the printing entry serial number prints success.
4. network printing control method according to claim 1, which is characterized in that the request that the printer is sent
Data further include equipment report data, and the equipment report data include the mark of the printer and the state of the printer
Mark, the printer report the state of the printer by the equipment report data to the network server.
5. a kind of network printing control method characterized by comprising
Network server receives the request data that printer is sent, wherein the request data includes network services identification, described
Network services identification is the mark of network service provider belonging to the printer;
The network server inquires the entry to be printed of the printer according to the request data that the printer is sent
And request response data is generated based on the entry to be printed;And
The request response data is sent to the printer by the network server;
Wherein, printer actively sends request data to network server at interval of preset time;
Wherein, the request response data packet includes the first mark, and described first indicates the number for indicating the network server
According to the entry to be printed that whether there is the printer in library, the network server is asked according to printer transmission
It seeks the entry to be printed of printer described in data query and request response data packet is generated based on the entry to be printed and include: is described
Network server inquires printing articles database according to the network services identification;The network server judges the type slug
With the presence or absence of entry to be printed corresponding with the network services identification to judge the printing articles database in mesh database
In whether there is the printer entry to be printed;The network server is deposited in judging the printing articles database
In the entry to be printed of the printer, the value that first mark is arranged is the first value, is judging the printing entry
When the entry to be printed of the printer being not present in database, the value that first mark is arranged is second value;And it is described
Network server generates the request response data, and the request response data packet includes first mark, in the type slug
There are when the entry to be printed of the printer in mesh database, the request response data further includes the entry to be printed
Print data.
6. network printing control method according to claim 5, which is characterized in that the request response data packet includes second
Mark, second mark are in the database of the network server in addition to the entry to be printed currently to be printed for indicating
It is no that there is also the requests that the entry to be printed of printer described in other, the network server are sent according to the printer
The entry to be printed of printer described in data query is simultaneously included based on the entry generation request response data packet to be printed:
The network server inquires printing articles database according to the network services identification;
The network server judges whether also deposit in the printing articles database in addition to the entry to be printed currently to be printed
In the entry to be printed of other printers;
The network server is being judged also to deposit in the printing articles database in addition to the entry to be printed currently to be printed
In the entry to be printed of other printers, the value that second mark is arranged is the first value, is currently wanted judging to remove
When the entry to be printed of other printers is not present in the printing articles database outside the entry to be printed of printing, setting
The value of second mark is second value;And
The network server generates the request response data, and the request response data packet includes second mark.
7. network printing control method according to claim 5, which is characterized in that the request data further includes type slug
Mesh data reporting, the printing entry data reporting include printing entry serial number and printing entry Status Flag, wherein described
Printing entry serial number, this sends the type slug purpose serial number printed before the request data by the printer, described
Printing entry Status Flag is for indicating whether printing entry corresponding with the printing entry serial number prints success, the net
Network server is after receiving the request data, the network printing control method further include:
The network server updates printing entry number according to the printing entry serial number and the printing entry Status Flag
According to library.
8. network printing control method according to claim 5, which is characterized in that the request data further includes equipment report
Data are accused, the equipment report data include the mark of the printer and the Status Flag of the printer, in the network
After server receives the request data, the network printing control method further include:
The network server judges whether the printer is in normal condition according to the equipment report data;
The network server judge the printer it is when in an abnormal state do not execute type slug purpose inquiry;And
The network server executes the inquiry of type slug purpose when judging that the printer is in normal condition.
9. a kind of printer characterized by comprising
Transmission unit, for sending request data to network server, wherein the request data includes network services identification,
The network services identification is the mark of network service provider belonging to the printer, and the printer described in transmission by asking
Network server described in request of data is asked to inquire the entry to be printed of the printer;
Receiving unit, the request response data returned for receiving the network server;
Resolution unit obtains the print data of the entry to be printed for parsing the request response data;And
Print unit is printed for the print data to the entry to be printed;
Wherein, printer actively sends request data to network server at interval of preset time;
Wherein, the printer further include: acquiring unit, for the printer receive the request response data it
Afterwards, the printer obtains the first mark from the request response data, wherein the request response data packet includes described the
One mark, first mark whether there is the to be printed of the printer in the database for indicating the network server
Entry;Judging unit judges whether wrap in the request response data according to the value of first mark for the printer
Print data containing the entry to be printed, wherein the printer is judging described ask according to the value of first mark
Ask when in response data including the print data of the entry to be printed, from the request response data parsing obtain it is described to
Type slug purpose print data.
10. a kind of network server characterized by comprising
Receiving unit, for receiving the request data of printer transmission, wherein the request data includes network services identification,
The network services identification is the mark of network service provider belonging to the printer;
Generation unit, the request data for being sent according to the printer inquire the entry to be printed of the printer simultaneously
Request response data is generated based on the entry to be printed;And
Transmission unit, for the request response data to be sent to the printer;
Wherein, printer actively sends request data to network server at interval of preset time;
Wherein, generation unit includes: enquiry module, is inquired and is printed according to the network services identification for the network server
Articles database;Judgment module, for the network server judge in the printing articles database whether there is with it is described
Network services identification corresponding entry to be printed with judge in the printing articles database with the presence or absence of the printer to
Print entry;Setup module, for the network server, there are the printings in judging the printing articles database
When the entry to be printed of machine, the value of the first mark of setting is the first value, is not present in judging the printing articles database
When the entry to be printed of the printer, the value that first mark is arranged is second value;Generation module, is used for and the net
Network server generates the request response data, and the request response data packet includes first mark, in the printing entry
There are when the entry to be printed of the printer in database, the request response data further includes beating for the entry to be printed
Printing evidence, wherein with the presence or absence of the printer in database of first mark for indicating the network server
Entry to be printed.
11. a kind of network print system, which is characterized in that including printer and network server, in which:
The printer is used to send request data to network server, receives the request number of responses that the network server returns
According to parsing the request response data, obtain the print data of entry to be printed, and the printing number to the entry to be printed
According to being printed, wherein the request data includes network services identification, and the network services identification is belonging to the printer
Network service provider mark, the printer requested described in the network server inquiry by sending the request data
The entry to be printed of printer,
The network server is used to receive the request data of printer transmission, the number of request sent according to the printer
It is investigated that asking the entry to be printed of the printer and generating request response data based on the entry to be printed, and asked by described in
Response data is asked to be sent to the printer;
Wherein, printer actively sends request data to network server at interval of preset time;
Wherein, the request response data packet includes the first mark, and described first indicates the number for indicating the network server
According to the entry to be printed that whether there is the printer in library, the printer is after receiving the request response data, institute
State network printing control method further include: the printer obtains first mark from the request response data;And
Whether the printer judges in the request response data to include the entry to be printed according to the value of first mark
Print data, wherein the printer is judged in the request response data according to the value of first mark comprising institute
When stating the print data of entry to be printed, parsing obtains the printing number of the entry to be printed from the request response data
According to.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410255161.5A CN105224264B (en) | 2014-06-10 | 2014-06-10 | Network printing control method and system and printer and network server |
PCT/CN2015/080329 WO2015188703A1 (en) | 2014-06-10 | 2015-05-29 | Network printing control method and system, printer and network server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410255161.5A CN105224264B (en) | 2014-06-10 | 2014-06-10 | Network printing control method and system and printer and network server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105224264A CN105224264A (en) | 2016-01-06 |
CN105224264B true CN105224264B (en) | 2019-06-04 |
Family
ID=54832891
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410255161.5A Active CN105224264B (en) | 2014-06-10 | 2014-06-10 | Network printing control method and system and printer and network server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105224264B (en) |
WO (1) | WO2015188703A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106327304A (en) * | 2016-08-26 | 2017-01-11 | 北京小度信息科技有限公司 | Order processing method, device and system |
CN107845008B (en) * | 2016-09-21 | 2022-03-29 | 北京星选科技有限公司 | Information receiving control method and device |
CN106547499B (en) * | 2016-11-04 | 2019-05-28 | 南京富士通电子信息科技股份有限公司 | A method of control printer modes return |
CN107730772A (en) * | 2017-05-04 | 2018-02-23 | 西安艾润物联网技术服务有限责任公司 | Printer and the center service end of invoice self-service printing can be achieved |
CN108255444A (en) * | 2018-02-09 | 2018-07-06 | 上海宝尊电子商务有限公司 | A kind of general WIFI Method of printings and system based on iOS movement equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2692738Y (en) * | 2001-11-09 | 2005-04-13 | 兄弟工业株式会社 | Printing system |
CN1662031A (en) * | 2004-02-26 | 2005-08-31 | 松下电器产业株式会社 | Multifunction apparatus |
CN101061457A (en) * | 2004-08-02 | 2007-10-24 | 精工爱普生株式会社 | Output system, output data management apparatus, network device, output data management program, output program, and output method |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007257552A (en) * | 2006-03-24 | 2007-10-04 | Ricoh Co Ltd | Security management system by means of print log and print data storage |
CN101106631A (en) * | 2007-08-02 | 2008-01-16 | 郑巍华 | Method and system for self-service development and print device to print photo via network |
JP2011170818A (en) * | 2010-02-22 | 2011-09-01 | Canon Inc | Printing system, and control method |
CN102375934A (en) * | 2011-09-30 | 2012-03-14 | 宋旭东 | Tablet personal computer dish ordering and advertising simulcasting system |
JP2013205968A (en) * | 2012-03-27 | 2013-10-07 | Sharp Corp | Server system, print system, and printer |
CN103389886A (en) * | 2013-07-23 | 2013-11-13 | 深圳市知正科技有限公司 | Mixed cloud structure merchant automatic order-printing system |
CN103646477B (en) * | 2013-11-14 | 2016-08-17 | 成都博约创信科技有限责任公司 | A kind of micro-settlement system based on cloud platform and method |
-
2014
- 2014-06-10 CN CN201410255161.5A patent/CN105224264B/en active Active
-
2015
- 2015-05-29 WO PCT/CN2015/080329 patent/WO2015188703A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2692738Y (en) * | 2001-11-09 | 2005-04-13 | 兄弟工业株式会社 | Printing system |
CN1662031A (en) * | 2004-02-26 | 2005-08-31 | 松下电器产业株式会社 | Multifunction apparatus |
CN101061457A (en) * | 2004-08-02 | 2007-10-24 | 精工爱普生株式会社 | Output system, output data management apparatus, network device, output data management program, output program, and output method |
Also Published As
Publication number | Publication date |
---|---|
CN105224264A (en) | 2016-01-06 |
WO2015188703A1 (en) | 2015-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105224264B (en) | Network printing control method and system and printer and network server | |
CN104205773B (en) | System assets store library management | |
CN109871224A (en) | A kind of gray scale dissemination method, system, medium and equipment based on user identifier | |
CN103685583B (en) | A kind of method and system of domain name mapping | |
CN104169937B (en) | Chance system scans | |
CN106131245B (en) | A kind of configuration method of AP, configuration server, AP and system | |
JP6061501B2 (en) | Service providing apparatus, information processing apparatus, image forming apparatus, printing system control method, and computer program | |
CN103685386B (en) | For determining the method and apparatus for calculating location information of the equipment in whole machine cabinet | |
CN107508795A (en) | Across the access process device and method of container cluster | |
CN104969515B (en) | Handle the method and gateway of DNS request | |
CN102216923A (en) | Request routing and updating routing information utilizing client location information | |
CN106464745B (en) | Server, client and the method for data synchronization of DNS | |
CN104301311B (en) | The method and apparatus of DNS screen data contents | |
CN107528746A (en) | Communication means and source network device | |
CN109636603A (en) | Security mock trading platform based on the configuration of message strategy | |
CN102867266A (en) | Inquiry method and device | |
JP6168079B2 (en) | Printing system, printing device search program, and recording medium | |
CN100499590C (en) | Message access controlling method and a network apparatus | |
CN104468207B (en) | The method, apparatus and system of terminal management | |
CN106899621B (en) | A kind of scheduling system and method | |
CN103262502A (en) | Dns proxy service for multi-ore platforms | |
JP4293322B2 (en) | Communication network system | |
JP2004246520A (en) | Electronic market cooperation method and electronic market system | |
JP4666039B2 (en) | Sales data processing apparatus, store printer system, and program | |
CN109922148A (en) | Cross-platform method of servicing, device and system |
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 |