Summary of the invention
Technical problem to be solved by this invention is to provide a kind of printer and charging device thereof, the operation method of this charging device, and the control method that adopts of the control device of this charging device and this control device, can make user be convenient to use public printer and print and complete payment, and avoid loaded down with trivial details operation.
For solving the problems of the technologies described above, the technical scheme of the charging device of printer of the present invention is to comprise:
The first Communications Interface Assembly, the equipment that is used for having a computer system with one is set up data and is connected;
Printer interface parts, are used for being connected with the data-interface of described printer, to described printer, send command information to control its work;
Communication component, the bill payment successful information that reception is sent by the described equipment with computer system or the bill payment successful information of being sent by the described equipment operating miscellaneous equipment with computer system, after receiving bill payment successful information, according to paying the corresponding use amount control of successful bill printer, print operation.
The present invention also provides a kind of printer, and its technical scheme is on described printer, to be integrated with above-mentioned charging device.
The present invention provides again a kind of operation method of above-mentioned charging device, and its technical scheme is to comprise the following steps:
The equipment that described charging device has a computer system with one respectively and printer are set up data and are connected, and control described printer and print operation;
The bill payment successful information that reception is sent by the described equipment with computer system or the bill payment successful information of being sent by the described equipment operating miscellaneous equipment with computer system, after receiving bill payment successful information, according to paying the corresponding use amount control of successful bill printer, print operation.
The present invention provides a kind of control device of above-mentioned charging device again, and its technical scheme is that the equipment of described control device based on having computer system, comprising:
Second communication interface unit, sets up data with described charging device and is connected;
Pay parts, receive the bill information that described charging device sends or generate voluntarily bill information, and after paying successfully in electronics mode, to described charging device, send bill payment successful information, or operation miscellaneous equipment sends bill payment successful information to described charging device.
The control method that the present invention also provides a kind of above-mentioned control device to adopt, its technical scheme is that employing has the equipment of computer system, comprises the following steps:
Setting up data with described charging device is connected;
Receive the bill information that described charging device sends or generate voluntarily bill information, and after paying successfully in electronics mode, to described charging device, send bill payment successful information, or operation miscellaneous equipment sends bill payment successful information to described charging device.
The present invention is by technique scheme, avoided step loaded down with trivial details in prior art, makes user can be convenient to use public printer and prints, and complete payment.
The specific embodiment
The invention discloses a kind of charging device of printer, as depicted in figs. 1 and 2, comprising:
The first Communications Interface Assembly 201, is used for and an equipment with computer system, and for example control device 3 is set up data connection;
Printer interface parts 202, are used for being connected with the data-interface of described printer 1, to described printer 1, send command information to control its work;
Communication component 203, the bill payment successful information that reception is sent by the described equipment with computer system or the bill payment successful information of being sent by the described equipment operating miscellaneous equipment with computer system, after receiving bill payment successful information, according to paying the corresponding use amount control of successful bill printer 1, print operation.
Described the first Communications Interface Assembly 201 can be by wireless transmission mode with described in there is computer system equipment set up data and be connected, for example described the first Communications Interface Assembly 201 is provided with bluetooth module, and the equipment that has a computer system with one by bluetooth module is set up data and is connected.
As shown in Figure 2, described charging device also comprises first network parts 204, provide network to connect, each parts for described charging device transmit and receive data, the described mode that provides network to connect can be that described charging device is connected on a network, this network can be LAN, can be also wide area network; The described mode that provides network to connect can also be itself to provide a network by described charging device, and as a terminal on this network, for other network terminal, be connected on this network simultaneously, for example described charging device is provided with router, a LAN is provided, and other network terminal can be connected to this LAN and connect with described charging device simultaneously.
Because described the first Communications Interface Assembly 201 also needs to carry out data communication with other computer equipment, if therefore described the first Communications Interface Assembly 201 is by data network and the equipment with computer system, for example control device 3 carries out data connection, so described the first Communications Interface Assembly 201 can integrate with described first network parts 204, and by any one equipment that has a computer system with one in following two kinds of modes, sets up data and be connected:
(1) described the first Communications Interface Assembly 201 is all connected on a network with this equipment with computer system, and guide described the first Communications Interface Assembly 201 to connect with the equipment that this has computer system by the router of this network, for example by this router, provide an operation interface for described control device 3, guide control device 3 connects and controls its work with described charging device 2;
(2) by described the first Communications Interface Assembly 201, itself provide a network, thereby this equipment with computer system connects with described the first Communications Interface Assembly by being connected to this network, for example described the first Communications Interface Assembly 201 itself is just provided with a router, and described control device 3 is set up data with described the first Communications Interface Assembly 201 and is connected by being connected to this router.
As shown in Figure 2, described charging device also comprises memory unit 205, and described the first Communications Interface Assembly 201 receives print data, and described print data is stored in described memory unit 205; Described printer interface parts 202 are transferred to described printer 1 by the print data in described memory unit 205 and print.Described memory unit 205 can be local memory unit, can be also high in the clouds memory unit.
After described printer reads print data from described memory unit 205, or after described printer successfully prints the print data in memory unit 205, described memory unit 205 is by this deleting printing data, to save memory space.
Described charging device also comprises statistics parts 206, according to the statistics of print data, generates bill information, and this bill information is sent to the described equipment with computer system being connected with the first Communications Interface Assembly, and for example control device 3.
Described charging device also comprises display unit 207, and print data is carried out to preview on described display unit 207.
Described charging device also comprises activation member 208.Described activation member 208 comprises startup button, and when described startup button is triggered, described printer is activated, and starts to print.Or described communication component receives after log-on message, described activation member 208 starts described printer and starts to print.
In the present invention, it is local that described memory unit and communication component all can be arranged at described charging device, or be arranged at high in the clouds.Above-mentioned each parts can be arranged on same server, also can scattering device on a plurality of different servers, above-mentioned each parts that are arranged at cloud server can be connected with the other parts of described charging device by network.
Described charging device can be connected with one or more networks, and by one or more network transceiving datas.
Described the first Communications Interface Assembly 201 is after the equipment that has a computer system with one is set up data and is connected, for this equipment with computer system provides, control interface, the equipment that has computer system by this is by controlling the work of described printer and described charging device to the operation at this interface.The equipment described in described control interface can offer with the form of webpage with computer system so that described in there is computer system equipment receive and show user to operate.
The invention also discloses a kind of printer, on this printer, be integrated with above-mentioned charging device, make this printer there is the function of number of copies statistics and charging, and can make completing of user self-help print and pay, thereby this printer can be used as the equipment that provides public charging to serve.
The present invention discloses again the operation method that a kind of above-mentioned charging device adopts, and comprises the following steps:
The equipment that described charging device has a computer system with one respectively and printer are set up data and are connected, and control described printer and print operation;
The bill payment successful information that reception is sent by the described equipment with computer system or the bill payment successful information of being sent by the described equipment operating miscellaneous equipment with computer system, after receiving bill payment successful information, according to paying the corresponding use amount control of successful bill printer, print operation.
Described charging device is connected to network by least one in following two kinds of modes:
(1) described charging device is connected on a network;
(2) by described charging device, itself provide a network, and as a terminal on this network, for other network terminal, be connected on this network simultaneously.
Described charging device is set up data by any one equipment that has a computer system with one in following two kinds of modes and is connected:
(1) described charging device and this equipment with computer system are all connected on a network, and guide described charging device and this equipment with computer system to connect by the router of this network;
(2) by described charging device itself, as router, provide a network, thereby this equipment with computer system connects with described charging device by being connected to this network.
Described the first Communications Interface Assembly receives print data, and described print data is stored in described charging device; Described printer interface parts are transferred to described printer by the print data of storing in described charging device and print.
After described printer reads print data from described charging device, or after described printer successfully prints the print data in charging device, described charging device is by this deleting printing data.
Described charging device generates bill information according to the statistics of print data, and this bill information is sent to the described equipment with computer system being connected with the first Communications Interface Assembly.
Described charging device is after the equipment that has a computer system with one is set up data and is connected, for this equipment with computer system provides, control interface, the equipment that has computer system by this is by controlling the work of described printer and described charging device to the operation at this interface.The equipment described in described control interface offers with the form of webpage with computer system.
The invention also discloses a kind of control device of above-mentioned charge, as shown in Figure 3 and Figure 4, the equipment of described control device 3 based on having computer system, comprising:
Second communication interface unit 301, sets up data with described charging device 2 and is connected;
Pay parts 302, receive the bill information that described charging device 2 sends or generate voluntarily bill information, and after paying successfully in electronics mode, to described charging device 2, send bill payment successful information, or operation miscellaneous equipment sends bill payment successful information to described charging device 2.
The equipment of computer system of the present invention comprises PC, especially notebook computer, and smart mobile phone, panel computers etc. have computer system and can carry out the electronic equipment of radio communication, or the special-purpose electronic equipment that comprises computer system.
Corresponding with described charging device 2, described second communication interface unit 301 can be set up data with described charging device by the mode of wireless transmission and be connected, for example described second communication interface unit 301 is provided with bluetooth module, and by bluetooth module, sets up data with described charging device and be connected.
In addition, described control device 3 can also comprise second network parts 303, provides network to connect, for each parts of described control device 3, transmit and receive data, described in provide network to connect mode at least comprise a kind of in following two kinds:
(1) described control device is connected on a network;
(2) by described control device, itself provide a network, and as a terminal on this network, for other network terminal, be connected on this network simultaneously.
Described second communication interface unit 301 can integrate with described second network parts 303, and by any one in following two kinds of modes, sets up data with described charging device and be connected:
(1) described second communication interface unit and described charging device are all connected on a network, and guide described second communication interface unit and described charging device to connect by the router of this network;
(2) by described second communication interface unit, itself provide a network, thereby described charging device connects with described second communication interface unit by being connected to this network.
Described control device also comprises control information transmit block 304, to described charging device, sends control information.
Described control device also comprises print data transmit block 305, and print data is sent to described charging device or printer.
The present invention discloses the control method that a kind of above-mentioned control device adopts again, adopts the equipment with computer system, comprises the following steps:
Setting up data with described charging device is connected;
Receive the bill information that described charging device sends or generate voluntarily bill information, and after paying successfully in electronics mode, to described charging device, send bill payment successful information, or operation miscellaneous equipment sends bill payment successful information to described charging device.
Described control device is connected to network by least one in following two kinds of modes:
(1) described control device is connected on a network;
(2) by described control device, itself provide a network, and as a terminal on this network, for other network terminal, be connected on this network simultaneously.
Described control device is set up data by any one in following two kinds of modes with described charging device and is connected:
(1) described control device and described charging device are all connected on a network, and guide described control device and described charging device to connect by the router of this network;
(2) by described control device, itself provide a network, thereby described charging device connects with described control device by being connected to this network.
Described control device provides and controls interface to user, and user sends control information by control information transmit block described in described control interface operation.
Described control device is sent to described charging device or printer by print data.
Printer of the present invention and the printer that is connected with charging device disclosed in this invention can be used as common equipment for the public, for example the common printer at Hotel's Executive center.Now, with concrete application, the application of printer of the present invention, charging device and control device thereof is described.
The present invention is applied to public printer, this common printer can be existing printer, then be connected with the printer interface parts 202 of charging device of the present invention, connected mode can be to connect by wired modes such as USB line or netting twines, can be also to connect by wireless modes such as bluetooth or WIFI.After connection, described charging device can be controlled printer and print work.In addition, this common printer can be also the printer that inside is integrated with charging device of the present invention.
In the mode of comparatively simplifying, as shown in Fig. 1, Fig. 3 and Fig. 5, described charging device only comprises the first Communications Interface Assembly 201, printer interface parts 202 and communication component 203, described control device 3 can be a computer that is connected with the POS, includes second communication interface unit 301 and pays parts 302.The first Communications Interface Assembly 201 of described charging device 2 is set up and is had data to be connected with the second communication interface unit of described control device 3 301.User uses printer to print operation, and the bill information corresponding with this printing can be generated voluntarily by control device 3, for example, by user, in control device 3 inputs, intend the data of printing, thereby on control device 3, generate corresponding bill.After user, can, at this POS Shang Shua hotel CUSTOM HOUSE HOTEL, in the mode of keeping accounts, complete the payment of statement information.Pay parts 302 bill payment successful information is sent to communication component 203, then communication component 203 is controlled printer and is completed the printing to print data.
Based on above-described embodiment, parts of the present invention and function can also be expanded, as shown in Figure 2 and Figure 4.Described charging device 2 can be connected to network, for example charging device 2 is integrated with a router, a WLAN is provided simultaneously, and user uses smart mobile phone as control device 3 of the present invention, by adding the mode of this WLAN to find and connecting this charging device and printer.Or described charging device 2 and control device 3 are all connected to a LAN, by the router guide control device 3 of this LAN, be connected to described charging device 2.
Now, user's smart mobile phone sends print data can to the printer that is integrated with charging device 2 as control device 3, by printer, is kept in.Printer can generate corresponding bill information according to this print data, sends to user's smart mobile phone, by user, by network, completes the payment to this bill.Afterwards, bill payment successful information is sent to printer, and printer reads temporary print data and completes printing according to the number of copies in bill information after receiving this information.Or the start button that the startup of printer also can be pressed printer by user is realized.
The memory unit of charging device and communication component all can be by network settings in high in the clouds, and are connected with the other parts of charging device by network.
The application-dependent of above-described embodiment realizes in network, and user also must operate when using printer near printer.Smart mobile phone interconnection network for the ease of user, can be integrated with wireless router on printer, for user provides network, connects.User, be connected to after this network, wireless router can provide one to control interface for user, this control interface can be with the form of webpage, to offer user's smart mobile phone, and user can use web browser to realize the work of the operation at this interface being controlled to described printer and described charging device.
As can be seen here, by use of the present invention, user can, in the situation that any driver not being installed, in conjunction with oneself notebook computer, smart mobile phone and panel computer, using public printer to complete and print and pay corresponding expense easily.
The present invention has avoided step loaded down with trivial details in prior art, makes user can be convenient to use public printer and prints, and have good reliability and security, can complete easily the flow processs such as payment.
The foregoing is only preferred embodiment of the present invention, not in order to limit essence technology contents scope of the present invention, essence technology contents of the present invention is in the claim scope that is defined in application of broad sense, any technology entity or method that other people complete, if defined identical with the claim scope of application, also or a kind of change of equivalence, all will be regarded as being covered by among this claim scope.