CN109035618B - Shared printing method, system, readable storage medium and shared printing device - Google Patents
Shared printing method, system, readable storage medium and shared printing device Download PDFInfo
- Publication number
- CN109035618B CN109035618B CN201810806370.2A CN201810806370A CN109035618B CN 109035618 B CN109035618 B CN 109035618B CN 201810806370 A CN201810806370 A CN 201810806370A CN 109035618 B CN109035618 B CN 109035618B
- Authority
- CN
- China
- Prior art keywords
- printing
- charging
- allowance
- current
- account
- 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
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F17/00—Coin-freed apparatus for hiring articles; Coin-freed facilities or services
- G07F17/26—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for printing, stamping, franking, typing or teleprinting apparatus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0645—Rental transactions; Leasing transactions
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Finance (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The invention provides a shared printing method, a system, a readable storage medium and a shared printing device, wherein the method comprises the following steps: acquiring the printing allowance in the account of the current login user; charging the current printing of the current login user by adopting a charging mode corresponding to the printing allowance; and when a printing completion signal is received, deducting the accumulated charging value printed this time by the current login user from the printing allowance, and updating the allowance information in the account. The shared printing method, the system, the readable storage medium and the shared printing equipment adopt the printing scheme of account login and self-charging, so that each printing equipment can be used by a plurality of users, thereby realizing shared printing, setting a printer in a public place for each user to print, purchasing the printer for a plurality of clients to use, and greatly facilitating the printing of the users.
Description
Technical Field
The invention relates to a shared printing method, a system, a readable storage medium and a shared printing device.
Background
The printer is one of important office equipment indispensable in daily work and study, can print data on a terminal with a communication relation to relevant media, such as paper, foam, text and the like, and provides great convenience for real life.
However, in the prior art, a technical scheme for realizing printer sharing is still lacked at present, so that shared printing cannot be realized, a special printing shop is required each time or a printer is required to be purchased separately to meet printing requirements, and great inconvenience is caused.
Disclosure of Invention
Based on this, the present invention provides a shared printing method, system, readable storage medium and shared printing apparatus, so as to solve the technical problem in the prior art that shared printing cannot be realized.
A shared printing method according to an embodiment of the present invention includes:
acquiring the printing allowance in the account of the current login user;
charging the current printing of the current login user by adopting a charging mode corresponding to the printing allowance;
and when a printing completion signal is received, deducting the accumulated charging value printed this time by the current login user from the printing allowance, and updating the allowance information in the account.
In addition, a shared printing method according to the above embodiment of the present invention may further have the following additional technical features:
further, the printing allowance includes a remaining printing number and/or a remaining printing amount, and after the step of charging the printing of the current login user in the charging manner corresponding to the printing allowance, the method further includes:
acquiring the paper information printed each time by the current login user, and acquiring a charging value corresponding to the paper information printed each time from a charging table;
the generated billing value for each printing is accumulated.
Further, the printing allowance includes a remaining printing time, and after the step of charging the current printing of the current login user in the charging mode corresponding to the printing allowance, the method further includes:
acquiring the paper information which is requested to be printed currently by the current login user, and judging whether the paper information which is requested to be printed currently is default paper information corresponding to the printing allowance;
if not, sending out a printing error prompt message;
if yes, the current printing is allowed.
Further, the printing allowance includes a remaining printing number, a remaining printing time and a remaining printing amount, and the step of charging the printing of the current login user in a charging manner corresponding to the printing allowance includes:
adopting a charging mode with the highest priority as a charging mode corresponding to the printing allowance, and charging the printing of the current login user;
the determination method of the charging method with the highest priority may be any one of the following rules:
determining the charging mode preset by the current login user as the charging mode with the highest priority;
determining a charging mode corresponding to the item with relatively more surplus as the charging mode with the highest priority; or
And determining the default charging mode as the charging mode with the highest priority.
Further, the step of acquiring the printing allowance in the account of the currently logged-in user comprises:
acquiring the account number logged in by the current login user;
and acquiring the printing allowance corresponding to the account from a configuration table.
Further, before the step of obtaining the printing allowance in the account of the currently logged-in user, the method further includes:
receiving a login request of the current login user, wherein the login request comprises a login account and a password;
and when the login account and the password are inquired from the configuration table to correspond, accepting a login request of the current login user.
Further, after the step of charging the current printing of the current logged-in user by using the charging method corresponding to the printing allowance, the method further includes:
acquiring a current charging value;
judging whether the printing allowance is lower than a threshold value after the current charging value is deducted;
if yes, sending out allowance recharging reminding information;
if not, returning to execute the step of obtaining the current charging value.
A shared printing system according to an embodiment of the present invention includes:
the margin acquisition module is used for acquiring the printing margin in the account of the current login user;
the printing charging module is used for charging the printing of the current login user in a charging mode corresponding to the printing allowance;
and the printing settlement module is used for deducting the accumulated charging value printed this time by the current login user from the printing allowance and updating the allowance information in the account when receiving a printing completion signal.
The invention also proposes a computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements the above-mentioned shared printing method.
The invention also proposes a shared printing device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the above-mentioned shared printing method when executing the program.
In the shared printing method, the system, the readable storage medium and the shared printing device of the invention, when in use, a user can recharge the registered account to purchase printing allowance (such as 100 printing amount, 100-minute printing amount or/and 100 printing amount), when printing, each user can log in the printing device through an account and a password, the printing device acquires the printing allowance in the account number of the currently logged-in user, and charges the current printing of the current logged-in user by adopting a charging mode corresponding to the printing allowance, when the printing is finished, the printing device deducts the accumulated charging value printed this time by the current login user from the printing allowance, and the margin information in the account is updated, and the printing scheme of adopting account login and self-charging enables each printing device to be used by a plurality of users, thereby realizing shared printing and greatly facilitating the printing of the users.
Drawings
Fig. 1 is a block diagram of an internet printing system in an embodiment of the present invention;
FIG. 2 is a flow chart of a shared printing method in a first embodiment of the present invention;
FIG. 3 is a flow chart of a shared printing method in a second embodiment of the present invention;
FIG. 4 is a flow chart of a shared printing method in a third embodiment of the present invention;
FIG. 5 is a flow chart of a shared printing method in a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a print billing system in a fifth embodiment of the present invention.
Description of the main element symbols:
|
11 | |
12 |
|
13 | |
14 |
|
15 | |
16 |
|
17 | |
121 |
Account |
111 | Residual |
112 |
|
18 | |
19 |
|
131 | Current |
20 |
|
21 | |
22 |
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Several embodiments of the invention are presented in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
First, it should be noted that the following embodiments can be applied to the internet printing system shown in fig. 1, where the internet printing system includes a server and a plurality of printers connected to the server in a communication manner, the server may be a cloud server capable of being networked, and the server may communicate with a plurality of printers at the same time, for example, a heartbeat connection manner may be adopted to implement data transmission between the printers and the server.
Referring to fig. 2, a method for shared printing according to a first embodiment of the present invention is shown, which includes steps S01 through S03.
In step S01, the printing remaining amount in the account of the currently logged-in user is acquired.
The printer can match the account and the password input by the user with the account and the password recorded locally so as to authenticate the current login user.
When the printer is specifically implemented, a login two-dimensional code can be set on the printer, the printing equipment is a printer capable of being networked, a user can scan the login two-dimensional code by adopting a terminal, after scanning, a login interface of the printer is popped up on the terminal interface, and the user can input an account number and a password on the login interface so as to login and connect the printer. Meanwhile, after the login is successful, a printing interface can be displayed on the terminal interface, and the printing interface can be at least used for displaying account allowance, current printing number, current printing time and the like.
In addition, for a user who logs in the printer for the first time, the login interface can also be provided with login registration guidance so as to acquire a login account and an account password in a registration mode, and meanwhile, in order to enable the user to log in any printer through the account and the password, when the login is completed, the printer can send the account and the password registered by the user to the server, so that the server can synchronously send the account and the password registered by the user to each connected printer as login authentication information of the user.
In addition, in other embodiments, the user may pre-store a public number in the WeChat of the terminal, enter the public number (account and password may need to be input when entering the public number for the first time), the terminal is connected to the server, at this time, the user may input device information (such as a unique identification code) of the target printer to the server, the server may search the target printer through the device information and establish a connection between the target printer and the terminal, and the public number may also be used to display the account remaining amount, the current number of prints, the current print time, and the like.
Before the use, a user can purchase the printing allowance in a recharging mode, wherein the printing allowance can comprise the residual printing number, the residual printing time and/or the residual printing amount, and the user can recharge correspondingly according to the specific self-demand. For example, when the printer is set in a public place, the user can directly recharge the printing amount; when purchasing a printer for use by a plurality of customers, the user can directly purchase the number of sheets to be printed or the printing time, for example, 10000 sheets or 100 minutes of printing amount, and further, the user can purchase a plurality of printing margins at the same time. Specifically, the user can load an online APP of the server on the terminal, then log in the online APP through an account and a password, and recharge or check the printing allowance on the online APP. In addition, the server may synchronize the user's account balance to the connected printers.
Based on this, in step S01, the print allowance in the account of the currently logged-in user may be obtained by obtaining the print allowance of the account from inside the printer or from the server.
And step S02, charging the current printing of the current login user by adopting a charging mode corresponding to the printing allowance.
It can be understood that, when the remaining amount is the remaining number of printed sheets, the charging mode is a printing counting mode, that is, printing one sheet of remaining amount and subtracting one sheet of remaining amount; when the allowance is the residual printing time, the charging mode is a printing timing mode, namely printing one minute of allowance minus one minute; and when the allowance is the residual printing amount, the charging mode is a printing and accounting mode, namely the printing unary allowance minus the unary.
It should be noted that, when the account includes multiple margins (for example, the remaining printing time and the remaining printing time are included), a charging method corresponding to one of default, preset or more margins of the account may be selected by itself for charging, and when the current margin is insufficient to deduct the charging value of the printing, the subsequent part charges in another charging method to deduct the remaining margin by using another margin. For example, when 10 sheets and 40 minutes of printing amount remain in the account, after the user prints 10 sheets, the printer will switch to use the time keeping mode to charge for the following.
And step S03, when a printing completion signal is received, deducting the accumulated charging value printed this time by the current login user from the printing allowance, and updating the allowance information in the account.
In actual use, the conditions for generating the print completion signal may be user input on a terminal or a printer, insufficient margin, print jam, insufficient paper or ink cartridge, and the like.
To sum up, in the shared printing method in the above embodiments of the present invention, when in use, users may add a value to a registered account to purchase a printing allowance (for example, to purchase 100 sheets of printing amount, 100 minutes of printing amount, or/and 100 printing amount), when printing, each user may log in a printing device through an account and a password, the printing device will obtain the printing allowance in the account of the currently logged-in user, and charge the current printing of the currently logged-in user in a charging manner corresponding to the printing allowance, when printing is completed, the printing device will deduct the accumulated charging value of the current printing of the logged-in user from the printing allowance, and update the allowance information in the account, according to the printing scheme of logging in an account and self-charging, each printing device can be used by multiple users, thereby implementing shared printing, and thus a printer can be set in a public place, the printer can be used for printing by each user, and can be purchased for a plurality of clients, so that great convenience is brought to the users for printing.
Referring to fig. 3, a method for shared printing according to a second embodiment of the present invention is shown, which includes steps S11 through S18.
Step S11, receiving a login request of the current login user, where the login request includes a login account and a password.
Step S12, when the account and the password are found to be corresponding, the login request of the current login user is accepted.
The step is used for authenticating the account and the password logged in by the user. In specific implementation, each printer stores a configuration table, and the account number and the password registered by each user are recorded in the configuration table in a one-to-one correspondence manner and are synchronized to each printer.
And step S13, acquiring the account logged in by the current login user.
Step S14, obtaining a printing allowance corresponding to the account from the configuration table, where the printing allowance includes a remaining number of printed sheets and/or a remaining printing amount.
In specific implementation, the account number and the printing allowance of each user are recorded in a configuration table in a one-to-one correspondence manner and are synchronized to each printer.
And step S15, charging the current printing of the current login user by adopting a charging mode corresponding to the printing allowance.
It can be understood that, because the account includes various margins, this step may first use the counting mode with the highest priority to charge the printing of the currently logged-in user.
Step S16, obtaining the paper information printed each time by the current login user, and obtaining the charging value corresponding to the paper information printed each time from the charging table.
It can be understood that different paper sizes correspond to different costs, in order to reasonably charge, the charging value corresponding to each type of paper is preset and recorded in the charging table, and then each printing of the user is charged according to the corresponding charging value in the charging table. The setting of the charging value of each type of paper can be determined according to the size proportional relationship among the types of paper. For example, printing one a4 paper can be charged as one or one yuan, and printing one A3 paper can be charged as two or two yuan, because two a4 papers are combined into one A3 paper.
In step S17, the generated billing value is accumulated for each printing.
Step S18, when a print completion signal is received, deducting the cumulative charging value of the current printing of the login user from the printing allowance, and recording the printing allowance after deducting as the associated information of the account in the configuration table, so as to update the allowance information in the account.
In this embodiment, the cumulative charge value is the number of sheets printed or the amount of money printed, for example, 10 sheets printed in the cumulative mode, 10 sheets are deducted from the account remaining amount.
Note that, in order to enable the user to use the printer normally, when the margin information or the password information is changed in any printer, the change information may be fed back to the server to be synchronized with each printer connected thereto.
Referring to fig. 4, a method for shared printing according to a third embodiment of the present invention is shown, which includes steps S21 through S28.
Step S21, receiving a login request of the current login user, where the login request includes a login account and a password.
Step S22, when the account and the password are found to be corresponding, the login request of the current login user is accepted.
And step S23, acquiring the account logged in by the current login user.
Step S24, obtaining a printing allowance corresponding to the account from the configuration table, where the printing allowance includes a remaining printing time.
Step S25, acquiring the paper information currently requested to be printed by the currently logged-in user, and determining whether the paper information currently requested to be printed is default paper information corresponding to the printing allowance.
When the paper information which is currently requested to be printed is judged not to be the default paper information corresponding to the printing allowance, the step S26 is executed, and when the paper information which is currently requested to be printed is judged to be the default paper information corresponding to the printing allowance, the step S27 is executed.
In step S26, a print error notification message is issued.
In step S27, the current printing is permitted.
It can be understood that different paper sizes correspond to different costs, and in order to reasonably charge, the present embodiment adopts a print restriction scheme for a user who purchases time, that is, when it is determined that the paper information currently requested to be printed is not the default paper information corresponding to the printing allowance, the present embodiment sends out a print error prompt message. In the specific implementation, in the recharging process, a user can select the printing paper type to be purchased and recharge correspondingly, so that the default paper information corresponding to the rechargeable printing allowance is the printing paper type selected for purchase, and the subsequent rechargeable printing allowance can only print the default paper. For example, when the user selects a4 paper and charges the printing amount for 500 minutes, the 500 minutes can only be used for printing a4 paper, and if other types (such as a2) of paper are printed, a printing error prompt message is sent.
Step S28, when a print completion signal is received, deducting the cumulative charging value of the current printing of the login user from the printing allowance, and recording the printing allowance after deducting as the associated information of the account in the configuration table, so as to update the allowance information in the account.
In this embodiment, the accumulated charge value is the time of printing the accumulated print this time, for example, 10 minutes of printing the accumulated print this time, 10 minutes are deducted from the account remaining amount.
Referring to fig. 5, a method for shared printing according to a fourth embodiment of the present invention is shown, which includes steps S31 through S36.
Step S31, receiving a login request of the current login user, where the login request includes a login account and a password.
Step S32, when the account and the password are found to be corresponding, the login request of the current login user is accepted.
And step S33, acquiring the account logged in by the current login user.
Step S34, obtaining a printing allowance corresponding to the account from the configuration table, where the printing allowance includes a remaining number of printed sheets, a remaining printing time, and a remaining printing amount.
And step S35, adopting the charging mode with the highest priority as the charging mode corresponding to the printing allowance, and charging the current printing of the current login user.
The determination method of the charging method with the highest priority may be any one of the following rules:
determining the charging mode preset by the current login user as the charging mode with the highest priority, for example, when an account is registered, the user can be guided to preset a priority charging mode;
determining a charging mode corresponding to one item with relatively more surplus as the charging mode with the highest priority, for example, selecting a printing counting mode when 100 printing quantities, 1 minute printing quantity and 1 yuan printing quantity remain in an account; or
And determining the default charging mode as the charging mode with the highest priority, for example, all printers select the printing counting mode by default.
And step S36, when a printing completion signal is received, deducting the accumulated charging value printed this time by the current login user from the printing allowance, and updating the allowance information in the account.
In addition, in each of the above embodiments, when starting to charge the current printing of the user, the shared printing method may further include the following steps:
acquiring a current charging value;
and judging whether the printing allowance is lower than a threshold value after the current charging value is deducted.
If yes, sending out allowance recharging reminding information.
If not, returning to execute the step of obtaining the current charging value.
Another aspect of the present invention provides a shared printing system, referring to fig. 6, which shows a shared printing system according to a fifth embodiment of the present invention, including:
the allowance obtaining module 11 is configured to obtain a printing allowance in an account of a currently logged-in user;
the printing charging module 12 is configured to charge the printing of the current logged-in user in a charging mode corresponding to the printing allowance;
and the printing settlement module 13 is configured to deduct the accumulated charging value printed this time by the current login user from the printing allowance when receiving a printing completion signal, and update allowance information in the account.
Further, the print allowance includes a remaining number of prints and/or a remaining print amount, and the shared printing method further includes:
and the charging acquisition module 14 is configured to acquire the paper information printed each time by the current login user, and acquire a charging value corresponding to the paper information printed each time from a charging table.
And the charging accumulation module 15 is used for accumulating the charging value generated by each printing.
Further, the printing margin includes a remaining printing time, and the shared printing method further includes:
a paper determining module 16, configured to obtain information of paper currently requested to be printed by the currently logged-in user, and determine whether the information of paper currently requested to be printed is default paper information corresponding to the printing allowance;
an error prompt module 17, configured to send a print error prompt message when it is determined that the current paper information requested to be printed is the default paper information corresponding to the print allowance;
and when the current printing request paper information is judged not to be the default paper information corresponding to the printing allowance, the current printing is allowed.
Further, the printing allowance includes a remaining number of printed sheets, a remaining printing time, and a remaining printing amount, and the printing accounting module 12 includes:
and the printing charging unit 121 is configured to adopt a charging mode with the highest priority as the charging mode corresponding to the printing allowance, and charge the printing of the current logged-in user.
The determination method of the charging method with the highest priority may be any one of the following rules:
determining the charging mode preset by the current login user as the charging mode with the highest priority;
determining a charging mode corresponding to the item with relatively more surplus as the charging mode with the highest priority; or
And determining the default charging mode as the charging mode with the highest priority.
Further, the margin obtaining module 11 includes:
an account acquiring unit 111, configured to acquire an account logged in by the current login user;
a residual obtaining unit 112, configured to obtain the printing residual corresponding to the account from a configuration table.
Further, the shared printing system further includes:
a login receiving module 18, configured to receive a login request of the current login user, where the login request includes a login account and a login password;
and the login response module 19 is configured to accept a login request of the current login user when the account and the password which are logged in are queried from the configuration table to correspond to each other.
Further, the print settlement module 13 includes:
an updating unit 131, configured to record the deducted printing allowance as the associated information of the account in the configuration table.
Further, the shared printing system further includes:
a current charging obtaining module 20, configured to obtain a current charging value;
a margin judgment unit 21, configured to judge whether the printing margin is lower than a threshold value after the current charging value is deducted;
a recharge reminding module 22, configured to send out a margin recharge reminding message when it is determined that the printing margin is lower than the threshold value after the current charging value is deducted;
when the printing allowance is not less than the threshold value after deducting the current charging value, the current charging obtaining module 20 obtains the current charging value again to perform allowance monitoring in real time.
The invention also proposes a computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements the shared printing method as described above.
The invention also proposes a shared printing device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the shared printing method as described above when executing the program.
Those of skill in the art will understand that the logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be viewed as implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (9)
1. A shared printing method, comprising:
acquiring a printing allowance in an account of a current login user, wherein the printing allowance comprises a residual printing number, a residual printing time and/or a residual printing amount;
charging the current printing of the current login user by adopting a charging mode corresponding to the printing allowance;
when a printing completion signal is received, deducting the accumulated charging value printed this time by the current login user from the printing allowance, and updating allowance information in the account;
when the printing allowance comprises the remaining printing number, the remaining printing time and the remaining printing amount, the step of charging the printing of the current login user in the charging mode corresponding to the printing allowance comprises the following steps:
adopting a charging mode with the highest priority as a charging mode corresponding to the printing allowance, and charging the printing of the current login user;
the determination method of the charging method with the highest priority may be any one of the following rules:
determining the charging mode preset by the current login user as the charging mode with the highest priority;
determining a charging mode corresponding to the item with relatively more surplus as the charging mode with the highest priority; or
Determining a default charging mode as the charging mode with the highest priority;
when the current allowance item is insufficient to deduct the printing charging value, another charging mode is subsequently adopted for charging.
2. The shared printing method according to claim 1, wherein when the printing remaining amount includes a remaining number of sheets or a remaining printing amount, after the step of charging the current printing of the current logged-in user in a charging manner corresponding to the printing remaining amount, the method further comprises:
acquiring the paper information printed each time by the current login user, and acquiring a charging value corresponding to the paper information printed each time from a charging table;
the generated billing value for each printing is accumulated.
3. The shared printing method according to claim 1, wherein when the printing remaining amount includes a remaining printing time, after the step of charging the current printing of the currently logged-in user in a charging manner corresponding to the printing remaining amount, the method further includes:
acquiring the paper information which is requested to be printed currently by the current login user, and judging whether the paper information which is requested to be printed currently is default paper information corresponding to the printing allowance;
if not, sending out a printing error prompt message;
if yes, the current printing is allowed.
4. The shared printing method according to claim 1, wherein the step of acquiring the printing remaining amount in the account of the currently logged-in user comprises:
acquiring the account number logged in by the current login user;
and acquiring the printing allowance corresponding to the account from a configuration table.
5. The shared printing method according to claim 4, further comprising, before the step of acquiring the printing remaining amount in the account of the currently logged-in user:
receiving a login request of the current login user, wherein the login request comprises a login account and a password;
and when the login account and the password are inquired from the configuration table to correspond, accepting a login request of the current login user.
6. The shared printing method according to claim 1, further comprising, after the step of charging the current printing of the current logged-in user in a charging manner corresponding to the printing remaining amount:
acquiring a current charging value;
judging whether the printing allowance is lower than a threshold value after the current charging value is deducted;
if yes, sending out allowance recharging reminding information;
if not, returning to execute the step of obtaining the current charging value.
7. A shared printing system, comprising:
the margin acquisition module is used for acquiring the printing margin in the account of the current login user, wherein the printing margin comprises the remaining printing number, the remaining printing time and/or the remaining printing amount;
the printing charging module is used for charging the printing of the current login user in a charging mode corresponding to the printing allowance;
the printing settlement module is used for deducting the accumulated charging value printed this time by the current login user from the printing allowance and updating the allowance information in the account when a printing completion signal is received;
wherein, when the printing allowance comprises the remaining printing number, the remaining printing time and the remaining printing amount, the printing accounting module comprises:
the printing charging unit is used for adopting a charging mode with the highest priority as a charging mode corresponding to the printing allowance and charging the printing of the current login user;
the determination method of the charging method with the highest priority may be any one of the following rules:
determining the charging mode preset by the current login user as the charging mode with the highest priority;
determining a charging mode corresponding to the item with relatively more surplus as the charging mode with the highest priority; or
Determining a default charging mode as the charging mode with the highest priority;
when the current allowance item is insufficient to deduct the printing charging value, another charging mode is subsequently adopted for charging.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 6.
9. A shared printing device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1-6 when executing the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810806370.2A CN109035618B (en) | 2018-07-20 | 2018-07-20 | Shared printing method, system, readable storage medium and shared printing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810806370.2A CN109035618B (en) | 2018-07-20 | 2018-07-20 | Shared printing method, system, readable storage medium and shared printing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109035618A CN109035618A (en) | 2018-12-18 |
CN109035618B true CN109035618B (en) | 2021-02-26 |
Family
ID=64644814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810806370.2A Active CN109035618B (en) | 2018-07-20 | 2018-07-20 | Shared printing method, system, readable storage medium and shared printing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109035618B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7362260B2 (en) * | 2019-02-13 | 2023-10-17 | キヤノン株式会社 | Printing device, control method, program |
CN109979118A (en) * | 2019-02-22 | 2019-07-05 | 烟台中飞海装科技有限公司 | A kind of equipment and system for sharing self-service Wen Yin |
CN110148261A (en) * | 2019-04-15 | 2019-08-20 | 杭州瑾信科技有限公司 | Prompt information triggering method, device, computer equipment and storage medium |
CN110209364A (en) * | 2019-06-03 | 2019-09-06 | 宜春宜联科技有限公司 | Recharge method, system, device, equipment and the storage medium of printer account |
CN110275685B (en) * | 2019-06-27 | 2023-02-28 | 珠海奔图电子有限公司 | Print amount control method for image forming apparatus, terminal device, and image forming apparatus |
CN110941404B (en) * | 2019-11-03 | 2020-08-11 | 深圳市金城保密技术有限公司 | Shared printing method and system of laser printer |
CN111142811A (en) * | 2019-11-15 | 2020-05-12 | 西安华运天成通讯科技有限公司 | Control method and system for sharing printer |
CN115171297A (en) * | 2022-06-10 | 2022-10-11 | 中核核电运行管理有限公司 | Self-service terminal printer monitoring method, device and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101299670A (en) * | 2008-05-28 | 2008-11-05 | 华为技术有限公司 | Charging method, charging system and charging device |
CN102903042A (en) * | 2011-07-25 | 2013-01-30 | 富士施乐株式会社 | Billing management system and billing management method |
CN106155601A (en) * | 2016-06-22 | 2016-11-23 | 宜春小马快印科技有限公司 | Intelligent printing method and apparatus |
CN106227474A (en) * | 2016-06-22 | 2016-12-14 | 宜春小马快印科技有限公司 | A kind of remote printing control method and device |
CN108446079A (en) * | 2018-01-25 | 2018-08-24 | 宜春小马快印科技有限公司 | Internet print method, system, readable storage medium storing program for executing and computer equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016224545A (en) * | 2015-05-27 | 2016-12-28 | 株式会社リコー | Expense management system, expense management device, expense management program, and expense management method |
-
2018
- 2018-07-20 CN CN201810806370.2A patent/CN109035618B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101299670A (en) * | 2008-05-28 | 2008-11-05 | 华为技术有限公司 | Charging method, charging system and charging device |
CN102903042A (en) * | 2011-07-25 | 2013-01-30 | 富士施乐株式会社 | Billing management system and billing management method |
CN106155601A (en) * | 2016-06-22 | 2016-11-23 | 宜春小马快印科技有限公司 | Intelligent printing method and apparatus |
CN106227474A (en) * | 2016-06-22 | 2016-12-14 | 宜春小马快印科技有限公司 | A kind of remote printing control method and device |
CN108446079A (en) * | 2018-01-25 | 2018-08-24 | 宜春小马快印科技有限公司 | Internet print method, system, readable storage medium storing program for executing and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109035618A (en) | 2018-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109035618B (en) | Shared printing method, system, readable storage medium and shared printing device | |
US9058566B2 (en) | Control device, control method, and computer program product | |
CN109801388B (en) | Charging method, system, device and computer readable storage medium | |
US7882029B2 (en) | Centralized billing credit system utilizing a predetermined unit of usage | |
CN106716388A (en) | Communication system, mobile terminal, method of controlling the mobile terminal, and storage medium | |
CN108556671A (en) | The acquisition methods and system of battery information | |
CN104969172A (en) | System and method for managing subscription and trade based printer supplies | |
CN106385403B (en) | A kind of the user account register method and relevant device of self-help print equipment | |
CN109636556B (en) | Bill recommendation method and system and computer-readable storage medium | |
CN110930160A (en) | Face recognition-based change management method and device and electronic equipment | |
CN103914267A (en) | Network printer, network printer control device and network printer control method | |
EP3609153B1 (en) | Maintenance equipment management method, server and computer-readable storage medium | |
US7528988B2 (en) | Image processing system and method | |
CN105306781A (en) | System, device and method for billing processing | |
CN117162844A (en) | Non-inductive charging payment method, device, equipment and storage medium for vehicle | |
JP2022183306A (en) | Method and device for identifying battery type of electric car | |
CN115410318A (en) | Motorcade electric vehicle charging management method and vehicle charging method | |
JP2000339125A (en) | Print charging method and its device | |
CN111823927B (en) | Data processing method, device and system | |
JP4284164B2 (en) | Billing system, billing system billing method | |
JP2018066814A (en) | Image processing device and program | |
US20040184054A1 (en) | Data processing system and method | |
CN109816461A (en) | The method and device to issue invoice | |
CN104077698A (en) | Sales support system and sales support method | |
JP2015154126A (en) | Charging information processing device, information processing device, charging information processing program and information processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |