CN107293067A - Self-help print method, device and the computer-readable recording medium of invoice - Google Patents

Self-help print method, device and the computer-readable recording medium of invoice Download PDF

Info

Publication number
CN107293067A
CN107293067A CN201710342012.6A CN201710342012A CN107293067A CN 107293067 A CN107293067 A CN 107293067A CN 201710342012 A CN201710342012 A CN 201710342012A CN 107293067 A CN107293067 A CN 107293067A
Authority
CN
China
Prior art keywords
invoice
history
request
print
information
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.)
Pending
Application number
CN201710342012.6A
Other languages
Chinese (zh)
Inventor
王林祥
王银波
赵皎平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Irain IoT Technology Service Co Ltd
Original Assignee
Xian Irain IoT Technology Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Irain IoT Technology Service Co Ltd filed Critical Xian Irain IoT Technology Service Co Ltd
Priority to CN201710342012.6A priority Critical patent/CN107293067A/en
Publication of CN107293067A publication Critical patent/CN107293067A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/42Coin-freed apparatus for hiring articles; Coin-freed facilities or services for ticket printing or like apparatus, e.g. apparatus for dispensing of printed paper tickets or payment cards
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G5/00Receipt-giving machines

Abstract

The present invention provides a kind of self-help print method, device and the computer-readable recording medium of invoice, the self-help print method of the invoice according to preset rules by when receiving the printing invoice request that terminal is sent, judging whether the printing invoice request is instant print request;When printing invoice request is instant print request, the corresponding current invoice information of the instant print request is obtained, and the printer that the Business Information included by current invoice information is associated prints the current invoice information;When printing invoice request is history print request, the corresponding history invoice information of the history print request is obtained, current printer ID is obtained by the terminal, and the history invoice information is printed by the corresponding printers of the current printer ID.The present invention reduces period of reservation of number, improves efficiency of making out an invoice, and lifts Consumer's Experience.

Description

Self-help print method, device and the computer-readable recording medium of invoice
Technical field
Issue technical field the present invention relates to bill, more particularly to a kind of invoice self-help print method, device and calculating Machine readable storage medium storing program for executing.
Background technology
With the rapid development of economy, the living standard of people is gradually stepped up, the free life of people also becomes increasingly abundant.With The increase of people's consumption, people need the invoice issued also increasing.Invoice refers in economic activity, by selling direction purchase The text voucher that buyer signs and issues, content includes title, quantity and the price that product or service are provided to buyer, and invoice is also The important documents of Accounting.When tradition is made out an invoice, it is necessary to which user informs businessman's invoice new line (reimbursement after each consumption checkout Unit) the necessary information such as title, Invoice category, businessman also needs to cross-check information after input information, it is errorless after can just make out an invoice. Therefore, user can not carry out the printing of invoice according to the time of oneself.As can be seen here, tradition is made out an invoice not only inefficiency but also drop Low Consumer's Experience.
The content of the invention
It is a primary object of the present invention to propose self-help print method, device and the computer-readable storage medium of a kind of invoice Matter, it is intended to solve traditional technical problem made out an invoice inefficiency and reduce Consumer's Experience.
To achieve the above object, the present invention provides a kind of self-help print method of invoice, the self-help print side of the invoice Method comprises the following steps:
When receiving the printing invoice request of terminal transmission, whether the printing invoice request is judged according to preset rules For instant print request;
When printing invoice request is instant print request, the corresponding current invoice of the instant print request is obtained Information, and the printer that the Business Information included by current invoice information is associated prints the current invoice information;
When printing invoice request is history print request, the corresponding history invoice of the history print request is obtained Information, obtains current printer ID, and print described by the corresponding printers of the current printer ID by the terminal History invoice information.
Alternatively, it is described when receiving the printing invoice request of terminal transmission, obtain the printing invoice request correspondence Invoice data the step of before, in addition to:
When the invoice for receiving terminal transmission generates request, obtain the corresponding paying party information of invoice generation request, disappear Take the amount of money, consumption time and Business Information;
Invoice information is generated according to the paying party information, spending amount, consumption time and Business Information, and by the hair Ticket information is stored, wherein, the invoice information includes current invoice information and the history invoice information.
Alternatively, it is described when printing invoice request is history print request, obtain the history print request pair The history invoice information answered, obtains current printer ID, and beat by the way that the current printer ID is corresponding by the terminal The step of print machine prints the history invoice information includes:
When printing invoice request is history print request, the corresponding history invoice of the history print request is obtained Whether information, the history consumption time that judging the history invoice information includes meets preparatory condition;
If the history consumption time meets preparatory condition, current printer ID is obtained by the terminal, and pass through The current printer ID corresponding printer printings history invoice information.
Alternatively, it is described when printing invoice request is history print request, obtain the history print request pair Whether the history invoice information answered, the history consumption time that judging the history invoice information includes meets the step of preparatory condition Also include after rapid:
If the history consumption time does not meet preparatory condition, send the overdue prompting of current history invoice information and disappear Breath.
Alternatively, it is described when printing invoice request is history print request, obtain the history print request pair The history invoice information answered, obtains current printer ID, and beat by the way that the current printer ID is corresponding by the terminal After the step of print machine prints the history invoice information, in addition to:
Whether according to preset rules, it is a key print request to judge the history print request;
When the history print request is a key print request, unprinted history invoice information is obtained, by described Terminal obtains current printer ID, and prints the unprinted history hair by the corresponding printers of the current printer ID Ticket information.
Alternatively, it is described when printing invoice request is history print request, obtain the history print request pair The history invoice information answered, obtains current printer ID, and beat by the way that the current printer ID is corresponding by the terminal After the step of print machine prints the history invoice information, in addition to:
Whether according to preset rules, it is type print request to judge the history print request;
When printing invoice request is type print request, the history invoice information for meeting preset kind is obtained, is led to Cross the terminal and obtain current printer ID, and by meeting default described in the corresponding printer printings of the current printer ID The history invoice information of type.
Alternatively, it is described when printing invoice request is history print request, obtain the history print request pair The history invoice information answered, obtains current printer ID, and beat by the way that the current printer ID is corresponding by the terminal After the step of print machine prints the history invoice information, in addition to:
Whether according to preset rules, it is date print request to judge the history print request;
When printing invoice request is date print request, the history invoice information for meeting preset time is obtained, is led to Cross the terminal and obtain current printer ID, and by meeting default described in the corresponding printer printings of the current printer ID The history invoice information of type.
Alternatively, the terminal is by recognizing pattern code or input current printer ID that current printer is associated to send Current printer ID.
In addition, to achieve the above object, the present invention also provides a kind of self-help print device of invoice, the invoice it is self-service Printing equipment include the invoice that processor, memory and being stored in can be run on the memory and on the processor from Print routine is helped, the self-help print program of the invoice is by the hair any one of realization as described above during the computing device The step of self-help print method of ticket.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable Be stored with the self-help print program of invoice on storage medium, is realized when the self-help print program of the invoice is executed by processor The step of stating the self-help print method of invoice described in any one.
The present invention provides a kind of self-help print method, device and the computer-readable recording medium of invoice, the invoice Self-help print method is by the way that when receiving the printing invoice request that terminal is sent, the printing invoice is judged according to preset rules Whether request is instant print request;When printing invoice request is instant print request, obtaining the instant printing please Corresponding current invoice information is sought, and the printer that the Business Information included by current invoice information is associated prints described work as Preceding invoice information;When printing invoice request is history print request, the corresponding history of the history print request is obtained Invoice information, obtains current printer ID, and print by the corresponding printers of the current printer ID by the terminal The history invoice information.By the way that with upper type, the self-help print method of invoice of the present invention is by providing printing and history immediately Two kinds of printing types are printed, so that user selects to be adapted to the printing type of oneself according to the free time of oneself.Make user Ke Li With any current printer printed invoice in idle condition, period of reservation of number is reduced, efficiency of making out an invoice is improved, user is lifted Experience.Solve traditional technical problem made out an invoice inefficiency and reduce Consumer's Experience.
Brief description of the drawings
Fig. 1 is that the self-help print method for the invoice that scheme of the embodiment of the present invention is related to performs the terminal structure signal of terminal Figure;
Fig. 2 is the schematic flow sheet of the self-help print method first embodiment of invoice of the present invention;
Fig. 3 is the schematic flow sheet of the self-help print method second embodiment of invoice of the present invention;
Fig. 4 is the schematic flow sheet of the self-help print method 3rd embodiment of invoice of the present invention;
Fig. 5 is the schematic flow sheet of the self-help print method fourth embodiment of invoice of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The main thought of scheme of the embodiment of the present invention is:The self-help print device of invoice is receiving the invoice of terminal transmission During print request, judge whether the printing invoice request is instant print request according to preset rules;In the printing invoice When asking as instant print request, the corresponding current invoice information of the instant print request is obtained, and believe by current invoice The printer for the Business Information association that breath includes prints the current invoice information;Beaten in printing invoice request for history During print request, the corresponding history invoice information of the history print request is obtained, current printer ID is obtained by the terminal, And the history invoice information is printed by the corresponding printers of the current printer ID.Tradition is solved to make out an invoice inefficiency And reduce the technical problem of Consumer's Experience.
Reference picture 1, Fig. 1 is the operation terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to.
The operation terminal of the embodiment of the present invention can be PC or smart mobile phone, tablet personal computer, e-book reading Device, pocket computer etc. have the packaged type terminal device of display function.
As shown in figure 1, the terminal can include:Processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is used to realize the connection communication between these components. User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional user interface 1003 can also include wireline interface, the wave point of standard.Network interface 1004 can optionally connect including the wired of standard Mouth, wave point (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
It will be understood by those skilled in the art that the terminal structure shown in Fig. 1 does not constitute the restriction to running terminal, can With including than illustrating more or less parts, either combining some parts or different parts arrangement.
With continued reference to Fig. 1, in Fig. 1 as a kind of memory 1005 of computer-readable storage medium can include operating system, Network communication module, Subscriber Interface Module SIM and program.Wherein, operating system is management and the self-help print device for controlling invoice With the program of software resource, network communication module, Subscriber Interface Module SIM, the self-help print program and other programs of invoice are supported Or the operation of software;Network communication module is used to managing and controlling network interface 1002;Subscriber Interface Module SIM is used to manage and control User interface 1003 processed.
In the terminal shown in Fig. 1, network interface 1004 is mainly used in connecting Cloud Server, and data are carried out with Cloud Server Communication.User interface 1003 can also connect client (user terminal), and row data communication is entered with client;In terminal of the present invention Processor 1001, memory 1005 can be arranged in the self-help print device of invoice, and the self-help print device of the invoice leads to The self-help print program that processor 1001 calls the invoice stored in memory 1005 is crossed, and performs following operate:
When receiving the printing invoice request of terminal transmission, whether the printing invoice request is judged according to preset rules For instant print request;
When printing invoice request is instant print request, the corresponding current invoice of the instant print request is obtained Information, and the printer that the Business Information included by current invoice information is associated prints the current invoice information;
When printing invoice request is history print request, the corresponding history invoice of the history print request is obtained Information, obtains current printer ID, and print described by the corresponding printers of the current printer ID by the terminal History invoice information.
Further, in terminal of the present invention processor 1001, memory 1005 can be arranged on the self-help print of invoice In device, the self-help print device of the invoice calls the self-service of the invoice stored in memory 1005 to beat by processor 1001 Print program, performs following operate:
When the invoice for receiving terminal transmission generates request, obtain the corresponding paying party information of invoice generation request, disappear Take the amount of money, consumption time and Business Information;
Invoice information is generated according to the paying party information, spending amount, consumption time and Business Information, and by the hair Ticket information is stored, wherein, the invoice information includes current invoice information and the history invoice information.
Further, in terminal of the present invention processor 1001, memory 1005 can be arranged on the self-help print of invoice In device, the self-help print device of the invoice calls the self-service of the invoice stored in memory 1005 to beat by processor 1001 Print program, performs following operate:
When printing invoice request is history print request, the corresponding history invoice of the history print request is obtained Whether information, the history consumption time that judging the history invoice information includes meets preparatory condition;
If the history consumption time meets preparatory condition, current printer ID is obtained by the terminal, and pass through The current printer ID corresponding printer printings history invoice information.
Further, in terminal of the present invention processor 1001, memory 1005 can be arranged on the self-help print of invoice In device, the self-help print device of the invoice calls the self-service of the invoice stored in memory 1005 to beat by processor 1001 Print program, performs following operate:
When printing invoice request is history print request, the corresponding history invoice of the history print request is obtained Whether information, the history consumption time that judging the history invoice information includes meets preparatory condition;
If the history consumption time meets preparatory condition, current printer ID is obtained by the terminal, and pass through The current printer ID corresponding printer printings history invoice information.
Further, in terminal of the present invention processor 1001, memory 1005 can be arranged on the self-help print of invoice In device, the self-help print device of the invoice calls the self-service of the invoice stored in memory 1005 to beat by processor 1001 Print program, performs following operate:
If the history consumption time does not meet preparatory condition, send the overdue prompting of current history invoice information and disappear Breath.
Further, in terminal of the present invention processor 1001, memory 1005 can be arranged on the self-help print of invoice In device, the self-help print device of the invoice calls the self-service of the invoice stored in memory 1005 to beat by processor 1001 Print program, performs following operate:
Whether according to preset rules, it is a key print request to judge the history print request;
When the history print request is a key print request, unprinted history invoice information is obtained, by described Terminal obtains current printer ID, and prints the unprinted history hair by the corresponding printers of the current printer ID Ticket information.
Further, in terminal of the present invention processor 1001, memory 1005 can be arranged on the self-help print of invoice In device, the self-help print device of the invoice calls the self-service of the invoice stored in memory 1005 to beat by processor 1001 Print program, performs following operate:
Whether according to preset rules, it is type print request to judge the history print request;
When printing invoice request is type print request, the history invoice information for meeting preset kind is obtained, is led to Cross the terminal and obtain current printer ID, and by meeting default described in the corresponding printer printings of the current printer ID The history invoice information of type.
Further, in terminal of the present invention processor 1001, memory 1005 can be arranged on the self-help print of invoice In device, the self-help print device of the invoice calls the self-service of the invoice stored in memory 1005 to beat by processor 1001 Print program, performs following operate:
Whether according to preset rules, it is date print request to judge the history print request;
When printing invoice request is date print request, the history invoice information for meeting preset time is obtained, is led to Cross the terminal and obtain current printer ID, and by meeting default described in the corresponding printer printings of the current printer ID The history invoice information of type.
Further, in terminal of the present invention processor 1001, memory 1005 can be arranged on the self-help print of invoice In device, the self-help print device of the invoice calls the self-service of the invoice stored in memory 1005 to beat by processor 1001 Print program, performs following operate:
The terminal is by recognizing that pattern code or input current printer ID that current printer is associated currently are beaten to send Print machine ID.
Based on above-mentioned hardware configuration, the self-help print embodiment of the method for invoice of the present invention is proposed.
Reference picture 2, Fig. 2 is the schematic flow sheet of the self-help print method first embodiment of invoice of the present invention.
In the present embodiment, the self-help print method of the invoice comprises the following steps:
Step S10, when receiving the printing invoice request of terminal transmission, the printing invoice is judged according to preset rules Whether request is instant print request;
In the present embodiment, to solve traditional technical problem made out an invoice inefficiency and reduce Consumer's Experience, the present invention Two kinds of printing types are printed by providing printing immediately and history, so that user selects to be adapted to oneself according to the free time of oneself Printing type.Specifically, when receiving the printing invoice request of user terminal transmission, management cloud platform is according to presetting Rule judgment described in printing invoice request whether be instant print request.Such as, the consumption in being asked according to the printing invoice Whether current consumption is recorded record, according to send time that the printing invoice asks whether the preset time after completing to pay It is interior etc..Wherein, printing invoice request can be make out an invoice operation triggering of the user terminal according to user, and such as consumer passes through APP branch Consumption money is paid, completes after paying, directly selects function button of making out an invoice.Can also be that user terminal is automatic after user completes to pay Generation.
Step S20, when printing invoice request is instant print request, obtains the instant print request corresponding Current invoice information, and the printer that the Business Information included by current invoice information is associated prints the current invoice letter Breath;
Specifically, management cloud platform judges the printing invoice request as instant print request according to rule set in advance When, e.g., management cloud platform judges that the consumer record in the printing invoice request records as current consumption, or judges to send described Printing invoice request time be complete pay after preset time in etc..Described in searching data storehouse in instant print request Current consumption record information, such as current consumption odd numbers obtains the current invoice information that is matched with the current consumption odd numbers, institute Stating current invoice information includes the information such as paying party information, Business Information, consumption time and spending amount.Wherein, businessman believes Breath also includes the printer address that the businessman associates.Management cloud platform is getting the corresponding current invoice letter of instant print request During breath, then the printer address associated according to the businessman, the corresponding printer in the transmission connection printer address passes through The printer prints the current invoice information.In specific embodiment, the Business Information pair got can also be determined whether Whether the printer answered is unique.If the corresponding fiscal printer of current Merchant ID is not unique, it can be automatically positioned and make out an invoice The neighbouring fiscal printer of user terminal, and obtains the fiscal printer address code of the fiscal printer, and user of being easy to make out an invoice gets tickets. Or according to default priority rule, obtain preferential printer address etc..In more embodiments, when user completes on the subscriber terminal During delivery operation, user terminal sends to pay to management cloud platform completes instruction.Management cloud platform refers to according to the payment completion Order, generation includes whether to print the interface of current invoice, and feeds back the interface to user terminal, aobvious by the user terminal Show the interface.When user selects the function of the current invoice of printing, user terminal is beaten immediately according to the generation of current selection operation Print request, and send this request to management cloud platform.
Step S30, when printing invoice request is history print request, obtains the history print request corresponding History invoice information, obtains current printer ID, and pass through the corresponding printers of the current printer ID by the terminal Print the history invoice information.
Specifically, management cloud platform judges the printing invoice request as history print request according to rule set in advance When, e.g., management cloud platform judges that the consumer record in the printing invoice request is not current consumption record, or judges to send institute State printing invoice request time be complete pay after preset time after etc..User selection to some consumer record When carrying out printing invoice operation, user terminal generates history print request according to the consumption recording information, and the history is printed Request is sent to management cloud platform.Consumption information of the cloud platform in the consumer record is managed, obtains and disappears in database with this The corresponding history invoice information of charge information, and the current printer ID specified by user is obtained by user terminal, according to described Current printer ID sets up transmission connection with corresponding printer, and the history invoice information is sent to the printer, by this Printer prints the history invoice information.
Further, in the present embodiment, the terminal is current by the pattern code or input for recognizing current printer association Printer ID is to send current printer ID.
Specifically, can be by the current printing of the vacant printable invoice in user's terminal scanning periphery at user's free time The graphic code of office's connection, such as one-dimension code or Quick Response Code send history print request by barcode scanning to management cloud platform.Can also be straight Be connected on selection history of printing invoice function after, directly correspondence display interface input current printer ID, with to management cloud platform Send history print request.
The present embodiment provides a kind of self-help print method, device and the computer-readable recording medium of invoice, the invoice Self-help print method by receive terminal send printing invoice ask when, judge that the invoice is beaten according to preset rules Whether print request is instant print request;When printing invoice request is instant print request, the instant printing is obtained Corresponding current invoice information is asked, and the printer that the Business Information included by current invoice information is associated prints described Current invoice information;When printing invoice request is history print request, the acquisition history print request is corresponding to be gone through History invoice information, obtains current printer ID, and beat by the corresponding printers of the current printer ID by the terminal Print the history invoice information.Print and go through immediately by providing by the self-help print method with upper type, invoice of the present invention History prints two kinds of printing types, so that user selects to be adapted to the printing type of oneself according to the free time of oneself.Make user can Using any current printer printed invoice in idle condition, period of reservation of number is reduced, efficiency of making out an invoice is improved, lifting is used Experience at family.Solve traditional technical problem made out an invoice inefficiency and reduce Consumer's Experience.
Reference picture 3, Fig. 3 is the schematic flow sheet of the self-help print method second embodiment of invoice of the present invention.
For the ease of user's printed invoice at any time, the corresponding consumption information of user can be generated into corresponding invoice information in advance Stored, in the present embodiment, based on above-mentioned embodiment illustrated in fig. 2, the self-help print method of the invoice also includes:
Step S40, when the invoice for receiving terminal transmission generates request, obtains the corresponding paying party of invoice generation request Information, spending amount, consumption time and Business Information;
Specifically, when user completes delivery operation, user terminal completes whether operation generation generates invoice according to payment Display interface.When receiving according to user's generation invoice operation, sent according to the consumer record to management cloud platform Ticket generation request.Manage cloud platform and request is generated according to the invoice, obtain corresponding consumer record.By ordering in consumer record Odd numbers, spending amount, Business Information and the printer address information of Business Information association are associated storage.Set according to user Determine the corresponding paying party information input interface of paying party information operation display.Or according to the corresponding user terminal of user or user The paying party information prestored in account.Obtain the paying party information of user's input or the paying party information of acquiescence, disappear Take the amount of money, consumption time and Business Information.
Step S50, invoice information is generated according to the paying party information, spending amount, consumption time and Business Information, and The invoice information is stored, wherein, the invoice information includes current invoice information and the history invoice information.
Specifically, management cloud platform is believed according to the paying party information got, spending amount, consumption time and businessman The corresponding invoice information of breath generation, and the order number in the consumer record and the invoice information are associated storage.When It is current invoice information that user directly prints the corresponding invoice information of the consumer record after completion operation is paid.Do not beat immediately The invoice information for printing the consumer record is history invoice information.In specific embodiment, printed invoice information is carried out Mark.And not printed invoice information is generated into index according to type, date etc. respectively, for follow-up correspondence display.
Reference picture 4, Fig. 4 is the schematic flow sheet of the self-help print method 3rd embodiment of invoice of the present invention.
For the ease of managing in invoice, the history invoice information in a print preset time, the present embodiment, based on above-mentioned figure 2 illustrated embodiments, the self-help print method of the invoice also includes:
Step S31, when printing invoice request is history print request, obtains the history print request corresponding Whether history invoice information, the history consumption time that judging the history invoice information includes meets preparatory condition;
Specifically, when judging the printing invoice request as history print request, with the history in acquisition database The corresponding history invoice information of print request.And obtain the history consumption time in the history invoice information, judge described in go through Whether history consumption time is before preset time, such as:Whether the history consumption time is before 2016-5-24, if described Before preset time, then the history consumption time meets preparatory condition.It can also judge what the history print request included Time-write interval whether within 30 days of the history consumption time, if in the preset time, in the history print request Time-write interval meet preparatory condition.
Step S32, if the history consumption time meets preparatory condition, current printer is obtained by the terminal ID, and the history invoice information is printed by the corresponding printers of the current printer ID.
Specifically, when judging that the history consumption time meets preparatory condition, user is scanned by the user terminal The current printer ID of current printer association, user terminal sends the current printer ID to management cloud platform, described Cloud platform is managed according to the current printer ID, transmission connection is set up with corresponding printer, and the history invoice is believed Breath is sent to the printer, and the history invoice information is printed by the printer.
Further, in the present embodiment, the self-help print method of the invoice also includes:
Step S33, if the history consumption time does not meet preparatory condition, sends current history invoice information overdue Reminder message.
Specifically, when judging that the history consumption time does not meet preparatory condition, then corresponding current history hair is generated The overdue reminder message interface of ticket information, and corresponding user terminal or user account will be fed back to.In specific embodiment, also Directly the history consumer record etc. directly can not be shown at user's selection interface of making out an invoice.
Reference picture 5, Fig. 5 is the schematic flow sheet of the self-help print method fourth embodiment of invoice of the present invention.
In order to further be lifted in Consumer's Experience, the present embodiment, after step S30, the self-help print method of the invoice Also include:
Step S61, whether according to preset rules, it is a key print request to judge the history print request;
Specifically, user clicks on what is shown on user terminal when needing to print all unprinted history invoice informations One key print request.When receiving the history print request of user terminal transmission, disappearing in the history print request Take record, whether judge the history print request is a key print request.Such as, the consumption in the history print request The corresponding consumer record of all non-history of printing invoice informations is recorded as, then judges that the history print request please as key printing Ask.Otherwise, it is determined that the history print request is not a key print request.
Step S62, when the history print request is a key print request, obtains unprinted history invoice information, Current printer ID is obtained by the terminal, and by not printed described in the corresponding printer printings of the current printer ID History invoice information.
Specifically, when judging the history print request as a key print request, obtain in the key print request All unprinted history invoice informations, and pass through the user terminal scan current printer associate current printer ID Graphic code, to obtain the current printer ID.According to the current printer ID, set up transmission with corresponding printer and connect Connect, and all unprinted history invoice informations got are sent to the printer.Should by printer printing All unprinted big-ticket information.
Further, printed for the ease of user in selected invoice, the present embodiment, after step S30, the invoice Self-help print method also includes:
Step S71, whether according to preset rules, it is type print request to judge the history print request;
Specifically, user, can be by selecting the class in user terminal when needing to print all invoices of fixed type The function of type print request.Such as, all unprinted history invoice informations of selection printing diet class, or selection printing are all not The parking history invoice information of printing.When receiving the history print request, judge in the history print request whether Including invoice type mark, such as food and drink, ticket, daily necessities, health care service type identification.If in the history print request Including the type identification, then judge the history print request as type print request.Otherwise, it is determined that the history printing please It is not type print request to ask.
Step S72, when printing invoice request is type print request, obtains the history invoice for meeting preset kind Information, obtains current printer ID, and print described by the corresponding printers of the current printer ID by the terminal Meet the history invoice information of preset kind.
Specifically, when judging the printing invoice request as type print request, obtain in the type print request Including all unprinted history invoice informations of the corresponding the type of type identification, then by the terminal obtain currently beat Print machine ID, and by meeting the history invoice information of preset kind described in the corresponding printer printings of the current printer ID.
Further, for the ease of user according to selected date print history invoice information, in the present embodiment, step S30 Afterwards, the self-help print method of the invoice also includes:
Step S81, whether according to preset rules, it is date print request to judge the history print request;
Specifically, user, can be by selecting user terminal when needing all invoices in print preset date range In date print request function.Such as, selection printing June 1 to all unprinted history invoices between June 30 are believed Breath, or selection print 2015-1-1 to all unprinted history invoice informations between 2015-12-31.It is described receiving During history print request, judge whether include data mark in the history print request.If being wrapped in the history print request The data mark is included, then judges that the history print request is asked as date print.Otherwise, it is determined that the history print request It is not date print request.
Step S82, when printing invoice request is date print request, obtains the history invoice for meeting preset time Information, obtains current printer ID, and print described by the corresponding printers of the current printer ID by the terminal Meet the history invoice information of preset kind.
Specifically, when judging that the printing invoice request is asked as date print, obtain in the date print request Including data mark corresponding date corresponding all unprinted history invoice informations, then obtained by the terminal Current printer ID, and by meeting the history invoice in default time limit described in the corresponding printer printings of the current printer ID Information.
The present invention also provides a kind of computer-readable recording medium.
Be stored with the self-help print program of invoice on computer-readable recording medium of the present invention, the self-help print of the invoice The step of self-help print method such as above-mentioned invoice is realized when program is executed by processor.
Wherein, the method realized when the self-help print program of invoice is performed can refer to the self-help print of invoice of the present invention Each embodiment of method, here is omitted.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or system including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the system of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, Computer, server, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of self-help print method of invoice, it is characterised in that the self-help print method of the invoice comprises the following steps:
When receiving the printing invoice request of terminal transmission, judge whether the printing invoice request is i.e. according to preset rules When print request;
When printing invoice request is instant print request, the corresponding current invoice letter of the instant print request is obtained Breath, and the printer that the Business Information included by current invoice information is associated prints the current invoice information;
When printing invoice request is history print request, the corresponding history invoice letter of the history print request is obtained Breath, current printer ID is obtained by the terminal, and by being gone through described in the corresponding printer printings of the current printer ID History invoice information.
2. the self-help print method of invoice as claimed in claim 1, it is characterised in that described to receive the hair of terminal transmission During ticket print request, before the step of obtaining the printing invoice request corresponding invoice data, in addition to:
When the invoice for receiving terminal transmission generates request, the corresponding paying party information of invoice generation request, consumption gold are obtained Volume, consumption time and Business Information;
Invoice information is generated according to the paying party information, spending amount, consumption time and Business Information, and the invoice is believed Breath is stored, wherein, the invoice information includes current invoice information and the history invoice information.
3. the self-help print method of invoice as claimed in claim 2, it is characterised in that described to be in printing invoice request During history print request, the corresponding history invoice information of the history print request is obtained, is obtained and currently beaten by the terminal Print machine ID, and include the step of print the history invoice information by the corresponding printers of the current printer ID:
When printing invoice request is history print request, the corresponding history invoice letter of the history print request is obtained Whether breath, the history consumption time that judging the history invoice information includes meets preparatory condition;
If the history consumption time meets preparatory condition, current printer ID is obtained by the terminal, and by described The corresponding printers of current printer ID print the history invoice information.
4. the self-help print method of invoice as claimed in claim 3, it is characterised in that described to be in printing invoice request During history print request, the corresponding history invoice information of the history print request is obtained, is judged in the history invoice information Including history consumption time whether meet preparatory condition the step of after also include:
If the history consumption time does not meet preparatory condition, the overdue reminder message of current history invoice information is sent.
5. the self-help print method of invoice as claimed in claim 1, it is characterised in that described to be in printing invoice request During history print request, the corresponding history invoice information of the history print request is obtained, is obtained and currently beaten by the terminal After print machine ID, and the step of printer printing history invoice information corresponding by the current printer ID, also wrap Include:
Whether according to preset rules, it is a key print request to judge the history print request;
When the history print request is a key print request, unprinted history invoice information is obtained, passes through the terminal Current printer ID is obtained, and the unprinted history invoice is printed by the corresponding printers of the current printer ID and is believed Breath.
6. the self-help print method of invoice as claimed in claim 1, it is characterised in that described to be in printing invoice request During history print request, the corresponding history invoice information of the history print request is obtained, is obtained and currently beaten by the terminal After print machine ID, and the step of printer printing history invoice information corresponding by the current printer ID, also wrap Include:
Whether according to preset rules, it is type print request to judge the history print request;
When printing invoice request is type print request, the history invoice information for meeting preset kind is obtained, passes through institute State terminal and obtain current printer ID, and by meeting preset kind described in the corresponding printer printings of the current printer ID History invoice information.
7. the self-help print method of invoice as claimed in claim 1, it is characterised in that described to be in printing invoice request During history print request, the corresponding history invoice information of the history print request is obtained, is obtained and currently beaten by the terminal After print machine ID, and the step of printer printing history invoice information corresponding by the current printer ID, also wrap Include:
Whether according to preset rules, it is date print request to judge the history print request;
When printing invoice request is date print request, the history invoice information for meeting preset time is obtained, passes through institute State terminal and obtain current printer ID, and by meeting preset kind described in the corresponding printer printings of the current printer ID History invoice information.
8. the self-help print method of the invoice as described in any one in claim 1-7, it is characterised in that the terminal passes through The pattern code of identification current printer association inputs current printer ID to send current printer ID.
9. the self-help print device of a kind of invoice, it is characterised in that the self-help print device of the invoice includes processor, storage Device and the self-help print program for being stored in the invoice that can be run on the memory and on the processor, the invoice from Help print routine is realized the invoice as any one of claim 1-8 self-help print method during the computing device The step of.
10. a kind of computer-readable recording medium, it is characterised in that be stored with invoice on the computer-readable recording medium Self-help print program, is realized when the self-help print program of the invoice is executed by processor such as any one in claim 1-8 The step of self-help print method of described invoice.
CN201710342012.6A 2017-05-12 2017-05-12 Self-help print method, device and the computer-readable recording medium of invoice Pending CN107293067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710342012.6A CN107293067A (en) 2017-05-12 2017-05-12 Self-help print method, device and the computer-readable recording medium of invoice

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710342012.6A CN107293067A (en) 2017-05-12 2017-05-12 Self-help print method, device and the computer-readable recording medium of invoice

Publications (1)

Publication Number Publication Date
CN107293067A true CN107293067A (en) 2017-10-24

Family

ID=60095256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710342012.6A Pending CN107293067A (en) 2017-05-12 2017-05-12 Self-help print method, device and the computer-readable recording medium of invoice

Country Status (1)

Country Link
CN (1) CN107293067A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170387A (en) * 2018-01-09 2018-06-15 大贲科技(北京)有限公司 A kind of electronic invoice data obtains and print execution method
CN108335152A (en) * 2018-03-09 2018-07-27 深圳市魔方商业智能科技有限公司 A kind of electronic invoice issues method and system
CN111353831A (en) * 2018-12-21 2020-06-30 航天信息股份有限公司 Mobile billing method and device, electronic equipment and storage medium
CN112486432A (en) * 2020-12-04 2021-03-12 浙江诺诺网络科技有限公司 Invoice printing method, device, equipment and medium
CN114267134A (en) * 2021-12-21 2022-04-01 武汉飞宇益克科技有限公司 Electronic invoice printer and printing method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1136188A (en) * 1995-04-06 1996-11-20 富士通株式会社 Method of displaying purchase data and goods registration system
US20020111214A1 (en) * 2000-12-08 2002-08-15 Clifton Lind Lottery ticket distribution system
US20090036191A1 (en) * 2007-07-31 2009-02-05 Hughes Michael L Games of chance with game enhancement features
CN102173231A (en) * 2011-01-30 2011-09-07 江苏省精创电气股份有限公司 Method for carrying out multi-mode printing by using micro-printer embedded recording instrument
CN104090733A (en) * 2014-07-15 2014-10-08 胡勇建 Network printer
CN106056804A (en) * 2016-05-25 2016-10-26 深圳市呤云科技有限公司 Self-help invoice printing method, self-help invoice printing device and self-help invoice printing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1136188A (en) * 1995-04-06 1996-11-20 富士通株式会社 Method of displaying purchase data and goods registration system
US20020111214A1 (en) * 2000-12-08 2002-08-15 Clifton Lind Lottery ticket distribution system
US20090036191A1 (en) * 2007-07-31 2009-02-05 Hughes Michael L Games of chance with game enhancement features
CN102173231A (en) * 2011-01-30 2011-09-07 江苏省精创电气股份有限公司 Method for carrying out multi-mode printing by using micro-printer embedded recording instrument
CN104090733A (en) * 2014-07-15 2014-10-08 胡勇建 Network printer
CN106056804A (en) * 2016-05-25 2016-10-26 深圳市呤云科技有限公司 Self-help invoice printing method, self-help invoice printing device and self-help invoice printing system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170387A (en) * 2018-01-09 2018-06-15 大贲科技(北京)有限公司 A kind of electronic invoice data obtains and print execution method
CN108335152A (en) * 2018-03-09 2018-07-27 深圳市魔方商业智能科技有限公司 A kind of electronic invoice issues method and system
CN111353831A (en) * 2018-12-21 2020-06-30 航天信息股份有限公司 Mobile billing method and device, electronic equipment and storage medium
CN112486432A (en) * 2020-12-04 2021-03-12 浙江诺诺网络科技有限公司 Invoice printing method, device, equipment and medium
CN114267134A (en) * 2021-12-21 2022-04-01 武汉飞宇益克科技有限公司 Electronic invoice printer and printing method

Similar Documents

Publication Publication Date Title
CN107293067A (en) Self-help print method, device and the computer-readable recording medium of invoice
CN107292680A (en) Issue the business method, device and computer-readable recording medium of tax-controlled invoice
US20120185306A1 (en) Electronic Transaction Record Distribution System
JP4289067B2 (en) Electronic receipt issuing method, program, electronic receipt issuing apparatus, printing apparatus, and POS system
CN106779890B (en) Electronic invoice generation method and system
CN107748952A (en) Prestige checking method, device and storage medium based on consumer's risk control
CN108492147A (en) Discount coupon management method, system and server, storage medium
JP2005115665A (en) Automatic transaction device information providing system
CN107301574A (en) Obtain method, device and the computer-readable recording medium of parking fee invoice
US20120012649A1 (en) Method for E-commerce
CN108335152A (en) A kind of electronic invoice issues method and system
JP2010534373A (en) Method and apparatus for multi-language user selection and currency conversion
CN102044091A (en) Self-service ticketing system
CN107609922A (en) A kind of quick obtaining Merchant name and duty paragraph and the methods, devices and systems drawn a bill
US7769636B1 (en) Contents distributing apparatus
CN107688994A (en) Bill recording method, device, storage medium and terminal
JP7124194B1 (en) Application programs, payment systems, and information processing methods
JP2021002330A (en) Accounting processing system, accounting processing method and accounting processing program
CN107025549A (en) A kind of method of payment, device and system
JP6612962B1 (en) Electronic data determination system, electronic data determination device, electronic data determination method, electronic data determination program
JP2006350536A (en) Merchandise sales data processor
JP2003346215A (en) Automatic transaction device cooperation system
CN201820269U (en) Self-service ticket selling system
JP5827263B2 (en) Information update system, information update method, and program
CN203135934U (en) Ordering terminal with automatic acquiring function

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