CN104753940A - Invoicing method, plain invoice self-service terminal and server - Google Patents

Invoicing method, plain invoice self-service terminal and server Download PDF

Info

Publication number
CN104753940A
CN104753940A CN201510142536.1A CN201510142536A CN104753940A CN 104753940 A CN104753940 A CN 104753940A CN 201510142536 A CN201510142536 A CN 201510142536A CN 104753940 A CN104753940 A CN 104753940A
Authority
CN
China
Prior art keywords
invoice
service terminal
server
self
common
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.)
Granted
Application number
CN201510142536.1A
Other languages
Chinese (zh)
Other versions
CN104753940B (en
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.)
Beijing Safe Science And Technology Co Ltd Of Holy Expo
Original Assignee
Beijing Safe Science And Technology Co Ltd Of Holy Expo
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 Beijing Safe Science And Technology Co Ltd Of Holy Expo filed Critical Beijing Safe Science And Technology Co Ltd Of Holy Expo
Priority to CN201510142536.1A priority Critical patent/CN104753940B/en
Publication of CN104753940A publication Critical patent/CN104753940A/en
Application granted granted Critical
Publication of CN104753940B publication Critical patent/CN104753940B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to an invoicing method, a plain invoice self-service terminal and a server. The invoicing method comprises the following steps of displaying an invoice filling-in interface on a display interface of the plain invoice self-service terminal; acquiring invoice contents which are filled in the invoice filling-in interface by a user; acquiring a CA (certificate authority) certificate in an SIM (subscriber identity module) card in a mobile phone connected to the plain invoice self-service terminal; signing the initial invoice contents according to a secret key in the CA certificate to obtain a signature value; transmitting a first verification request with the invoice contents and the signature value to the server; acquiring a blank paper invoice stored locally when receiving a first verification response which is transmitted from the server and is used for indicating verification success; printing the invoice contents in the blank paper invoice by using a printer of the terminal; and outputting the paper invoice with the invoice contents. After the user pays taxes through the internet, the paper invoice on rate payment can be acquired by the method in an embodiment of the invention.

Description

A kind of method, common invoice self-service terminal and server issued invoice
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of method, common invoice self-service terminal and the server that issue invoice.
Background technology
Along with the develop rapidly of Internet technology, more and more taxpayer is paid taxes to the tax bureau by the Internet, generally, after paying taxes, taxpayer needs to obtain papery and to pay taxes invoice, but, that also do not pay taxes based on the Internet at present, open method from paper invoice to taxpayer, therefore, how pay taxes based on the Internet that to open paper invoice to taxpayer be a technical problem urgently to be resolved hurrily.
Summary of the invention
For overcoming Problems existing in correlation technique, the invention provides a kind of method, common invoice self-service terminal and the server that issue invoice.
According to the first aspect of the embodiment of the present invention, provide a kind of method issued invoice, described method is applied to common invoice self-service terminal, and described method comprises:
The display interface of described common invoice self-service terminal shows invoice User Interface;
Obtain the invoice content that user fills in described invoice User Interface;
Obtain the CA certificate in the SIM card in the mobile phone be connected with the communication of described common invoice self-service terminal;
According to the double secret key in described CA certificate, initial invoice content is signed, and obtains signature value;
Ask sending first checking of carrying described invoice content and described signature value to server; To make server, described invoice content and described signature value are verified;
When receive that server sends be used to indicate the first auth response be proved to be successful time, obtain the local blank paper invoice stored;
By the printer of described terminal by described invoice dump in described blank paper invoice, and export the described paper invoice that have printed described invoice content.
Further, described method also comprises:
Obtain the CA certificate in the SIM card of mobile phone be connected with the communication of described common invoice self-service terminal, and the login account that inputs of user and login password;
Logging request is generated according to described CA certificate, described login account and described login password;
The logging request carrying described CA certificate, described login account and described login password is sent to described server; To make described server verify described CA certificate, described login account and described login password, after being proved to be successful, return the login response being used to indicate and logining successfully;
What reception server returned is used to indicate the login response logined successfully; On the display interface of described common invoice self-service terminal, the step of invoice User Interface is shown described in performing.
Further, after the local blank paper invoice stored of described acquisition, also comprise:
Obtain the invoice mark of described blank paper invoice;
Send the second checking request of the invoice mark of carrying described blank paper invoice to described server; Verify to make the invoice mark of server to described paper invoice; The second auth response being used to indicate and being proved to be successful is returned after being proved to be successful;
Receive that described server sends, be used to indicate the second auth response be proved to be successful, perform the described printer by described terminal by the step of described invoice dump in described blank paper invoice.
According to the second aspect of the embodiment of the present invention, provide a kind of method issued invoice, be applied to server, described method comprises:
Receive the first checking request of carrying invoice content and signature value that common invoice self-service terminal sends;
Described invoice content and described signature value is extracted from described first checking request;
Sign test is carried out to described signature value, obtains sign test value;
When described signature value is identical with described sign test value, send the first auth response of being used to indicate and being proved to be successful to described common invoice self-service terminal.
Further, described method also comprises:
Receive the second checking request of carrying the invoice mark of blank paper invoice that common invoice self-service terminal sends;
The invoice mark of described blank paper invoice is extracted from described second checking request;
Obtain the local invoice identification list stored;
Judge the invoice mark whether comprising described blank paper invoice in described invoice identification list;
When comprising the invoice mark of described blank paper invoice, sending and being used to indicate the second auth response of being proved to be successful to common invoice self-service terminal.
According to the third aspect of the embodiment of the present invention, provide a kind of common invoice self-service terminal, described common invoice self-service terminal comprises:
Display module, shows invoice User Interface on the display interface at described common invoice self-service terminal;
First acquisition module, for obtaining the invoice content that user fills in described invoice User Interface;
Second acquisition module, for obtaining the CA certificate in the SIM card in the mobile phone that is connected with the communication of described common invoice self-service terminal;
Signature blocks, signs for initial invoice content according to the double secret key in described CA certificate, obtains signature value;
First sending module, for asking sending first checking of carrying described invoice content and described signature value to server; To make server, described invoice content and described signature value are verified;
3rd acquisition module, for when receive that server sends be used to indicate the first auth response be proved to be successful time, obtain the local blank paper invoice stored;
Print module, for the printer by described terminal by described invoice dump in described blank paper invoice, and export and have printed the described paper invoice of described invoice content.
Further, described common invoice self-service terminal also comprises:
4th acquisition module, for obtaining the CA certificate in the SIM card of the mobile phone be connected with the communication of described common invoice self-service terminal, and user input login account and login password;
Generation module, for generating logging request according to described CA certificate, described login account and described login password;
Second sending module, for sending to described server by the logging request carrying described CA certificate, described login account and described login password; To make described server verify described CA certificate, described login account and described login password, after being proved to be successful, return the login response being used to indicate and logining successfully;
First receiver module, what return for reception server is used to indicate the login response logined successfully; On the display interface of described common invoice self-service terminal, the step of invoice User Interface is shown described in performing.
Further, described common invoice self-service terminal also comprises:
5th acquisition module, for obtaining the invoice mark of described blank paper invoice;
3rd sending module, for sending the second checking request of the invoice mark of carrying described blank paper invoice to described server; Verify to make the invoice mark of server to described paper invoice; The second auth response being used to indicate and being proved to be successful is returned after being proved to be successful;
Second receiver module, for receive that described server sends, be used to indicate the second auth response be proved to be successful, perform the described printer by described terminal by the step of described invoice dump in described blank paper invoice.
According to the fourth aspect of the embodiment of the present invention, provide a kind of server, described server comprises:
3rd receiver module, for receiving the first checking request of carrying invoice content and signature value that common invoice self-service terminal sends;
First extraction module, for extracting described invoice content and described signature value from described first checking request;
Sign test module, for carrying out sign test to described signature value, obtains sign test value;
4th sending module, for when described signature value is identical with described sign test value, sends the first auth response of being used to indicate and being proved to be successful to described common invoice self-service terminal.
Further, described server also comprises:
4th receiver module, for receiving the second checking request of carrying the invoice mark of blank paper invoice that common invoice self-service terminal sends;
Second extraction module, for extracting the invoice mark of described blank paper invoice from described second checking request;
6th acquisition module, for obtaining the local invoice identification list stored;
Judge module, for judging the invoice mark whether comprising described blank paper invoice in described invoice identification list;
5th sending module, for when comprising the invoice mark of described blank paper invoice, sending and being used to indicate the second auth response of being proved to be successful to common invoice self-service terminal.
The technical scheme that embodiments of the invention provide can comprise following beneficial effect: in the present invention, and the display interface of common invoice self-service terminal shows invoice User Interface; Obtain the invoice content that user fills in invoice User Interface; Obtain the CA certificate in the SIM card in the mobile phone be connected with common invoice self-service terminal; Sign according to the double secret key initial invoice content in CA certificate, obtain signature value; Ask sending first checking of carrying invoice content and signature value to server; To make server, invoice content and signature value are verified; When receive that server sends be used to indicate the first auth response be proved to be successful time, obtain the local blank paper invoice stored; By the printer of terminal by invoice dump in blank paper invoice, and export the paper invoice that have printed invoice content.Like this, after user is paid taxes by the Internet, the paper invoice of paying taxes can be obtained by the method for the embodiment of the present invention.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the present invention.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows embodiment according to the invention, and is used from specification one and explains principle of the present invention.
Fig. 1 is the flow chart of a kind of method issued invoice according to an exemplary embodiment.
Fig. 2 is the flow chart of a kind of method issued invoice according to an exemplary embodiment.
Fig. 3 is the flow chart of a kind of method issued invoice according to an exemplary embodiment.
Fig. 4 is the block diagram of a kind of common invoice self-service terminal according to an exemplary embodiment.
Fig. 5 is the block diagram of a kind of server according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Fig. 1 is the flow chart of a kind of method issued invoice according to an exemplary embodiment, and as shown in Figure 1, the method is used for, in common invoice self-service terminal, comprising the following steps.
In step S101, the display interface of common invoice self-service terminal shows invoice User Interface.
When user needs to open paper invoice, need the background server logging in the tax on common invoice self-service terminal.
User can click login button on the display interface of common invoice self-service terminal, such self-service terminal shows login interface on display interface, login interface comprises account input frame, Password Input frame and login mode check box, user can input login account in account input frame, and login account is generally cell-phone number, in Password Input frame, input login password, and in login mode check box, select the CA certificate of SIM card to log in, click login button afterwards, common invoice self-service terminal receives after user clicks the operation of login button, open blue tooth communication function, and search in territory, bluetooth coverage, and set up bluetooth between the mobile phone of user to be connected, after connecting, common invoice self-service terminal sends for obtaining cell-phone number and SIM (Subscriber Identity Module by being connected with the bluetooth between this mobile phone, client identification module) card in CA (Certificate Authority, e-business certification center) request of certificate is to this mobile phone, and the CA certificate received in the cell-phone number and SIM card that this mobile phone returns, this CA certificate is stored in this locality, and the login cell-phone number inputted when the cell-phone number of acquisition and user being logged in is compared, if identical, then according to this CA certificate, this login account and this login password generate logging request, this logging request will be taken and send to server, to make server verify this CA certificate, this login account and this login password, after being proved to be successful, return the login response that is used to indicate and logins successfully to common invoice self-service terminal.
What common invoice self-service terminal reception server returned is used to indicate the login response logined successfully, and so completes login process.
In step s 102, the invoice content that user fills in this invoice User Interface is obtained.
User can input invoice content in the handwriting area in display interface, and submits to common invoice self-service terminal, and background server receives the invoice content that user submits to.
In step s 103, the CA certificate in the SIM card in the mobile phone be connected with the communication of common invoice self-service terminal is obtained.
Owing to having obtained the CA certificate in the SIM card in the mobile phone of the user be connected with ATM when logging in, and this CA certificate is stored in this locality.Therefore, in this step, the CA certificate in the SIM card the mobile phone be connected with ATM directly can be obtained from this locality.
In step S104, sign according to this initial invoice content of the double secret key in this CA certificate, obtain signature value.
Particularly, common invoice self-service terminal obtains the key of CA certificate, to be encrypted to obtain signature value according to key and the cipher mode preset to invoice content.
In step S105, send first checking of carrying this invoice content and this signature value and ask to server.
To make server, this invoice content and this signature value are verified.
Wherein, being stolen and be tampered to prevent data by lawless person, common invoice self-service terminal sets up the encrypted tunnel between server; This invoice content is sent with this signature value to described server by this encrypted tunnel.
Server receives the first checking request by the encrypted tunnel between common invoice self-service terminal, this invoice content and this signature value in extracting from the first checking request, sign test is carried out to this signature value, namely, according to key and manner of decryption corresponding to predetermined encryption mode, sign test is carried out to this signature value, obtain sign test value, this sign test value and this invoice content are compared, if the two is identical, then sends and be used to indicate the first auth response of being proved to be successful to common invoice self-service terminal.
When receive that server sends be used to indicate the first auth response be proved to be successful time, in step s 106, obtain the local blank paper invoice stored.
Wherein, common invoice self-service terminal this locality stores multiple blank paper invoice for multiple user's printed invoice.
Further, in order to ensure the legitimacy of paper invoice, the invoice of the paper invoice printed must be made to identify to be identified identical with the invoice of the electronic invoice stored in server, otherwise, determine that the paper invoice printed is illegal invoice, invoice mark can be invoice codes and/or invoice number.
Therefore, common invoice self-service terminal obtains the invoice mark of blank paper invoice.Send the second checking request of the invoice mark of carrying blank paper invoice to server; Verify to make the invoice mark of server to paper invoice; After being proved to be successful, server returns the second auth response being used to indicate and being proved to be successful; When server after authentication failed returns the second auth response being used to indicate authentication failed; The second auth response that common invoice self-service terminal reception server sends, if the second auth response is be used to indicate the second auth response be proved to be successful, performs step S207.If the second auth response is the second auth response being used to indicate authentication failed, then report to the police, in time the blank paper invoice stored in common invoice self-service terminal is processed to remind staff, such as the blank paper invoice of current for common invoice self-service terminal acquisition is removed from common invoice self-service terminal, with the invoice mark making common invoice self-service terminal obtain next blank paper invoice, continue to perform aforesaid operations.
In step s 107, by the printer of terminal by this invoice dump in this blank paper invoice, and export the paper invoice that have printed this invoice content.
In the embodiment shown in Fig. 1 of the present invention, the display interface of common invoice self-service terminal shows invoice User Interface; Obtain the invoice content that user fills in invoice User Interface; Obtain the CA certificate in the SIM card in the mobile phone be connected with common invoice self-service terminal; Sign according to the double secret key initial invoice content in CA certificate, obtain signature value; Ask sending first checking of carrying invoice content and signature value to server; To make server, invoice content and signature value are verified; When receive that server sends be used to indicate the first auth response be proved to be successful time, obtain the local blank paper invoice stored; By the printer of terminal by invoice dump in blank paper invoice, and export the paper invoice that have printed invoice content.Like this, after user is paid taxes by the Internet, the paper invoice of paying taxes can be obtained by the method for the embodiment of the present invention.
Fig. 2 is the flow chart of a kind of method issued invoice according to an exemplary embodiment, and as shown in Figure 2, the method is used for server, and the method comprises the following steps.
In step s 201, the first checking request of carrying invoice content and signature value that common invoice self-service terminal sends is received.
Server receives the first checking request by the encrypted tunnel between common invoice self-service terminal.
In step S202, from the first checking request, extract this invoice content and this signature value.
In step S203, sign test is carried out to this signature value and obtains sign test value.
According to key and manner of decryption corresponding to predetermined encryption mode, sign test is carried out to signature value, obtain sign test value, this sign test value and invoice content are compared, if the two is identical, then sends and be used to indicate the first auth response of being proved to be successful to common invoice self-service terminal.
When this signature value and this sign test value is identical, in step S204, send the first auth response of being used to indicate and being proved to be successful to common invoice self-service terminal.
Further, in order to ensure the legitimacy of paper invoice, the invoice of the paper invoice printed must be made to identify and to identify identical with the invoice of the electronic invoice stored in server, wherein, invoice mark can be invoice codes and/or invoice number etc., and the present invention is not limited this.Otherwise determine that the paper invoice printed is illegal invoice, therefore, common invoice self-service terminal needs the second checking request sending the invoice mark of carrying blank paper invoice to server, and therefore, the method also comprises:
11) the second checking request of carrying the invoice mark of blank paper invoice that common invoice self-service terminal sends, is received.
12) from the second checking request, extract the invoice mark of blank paper invoice.
13), the local invoice identification list stored is obtained.
Wherein, the staff of the tax bureau often produces a blank paper invoice, the paper invoice of blank will be stored in invoice identification list in the server.
14) the invoice mark whether comprising blank paper invoice in invoice identification list, is judged.
Invoice according to this blank paper invoice identifies, traversal invoice identification list, often traverses an invoice mark, just this invoice mark is identified with the invoice of blank paper invoice and contrasts, if identical, then determine that invoice identification list comprises the invoice mark of blank paper invoice; If not identical, then travel through next invoice mark, the invoice traversed mark is identified with the invoice of blank paper invoice and contrasts, till having traveled through each invoice mark in invoice identification list.
15), when comprising the invoice mark of blank paper invoice, sending and being used to indicate the second auth response of being proved to be successful to common invoice self-service terminal.
In the embodiment shown in Fig. 2 of the present invention, receive the first checking request of carrying invoice content and signature value that common invoice self-service terminal sends; Invoice content and signature value is extracted from the first checking request; Sign test is carried out to signature value, obtains sign test value; When signature value and sign test value is identical, send the first auth response of being used to indicate and being proved to be successful to common invoice self-service terminal.So make after user is paid taxes by the Internet, support that user can obtain the paper invoice of paying taxes by common invoice self-service terminal.
Fig. 3 is the flow chart of a kind of method issued invoice according to an exemplary embodiment, and as shown in Figure 3, the method comprises the following steps.
In step S301, common invoice self-service terminal shows invoice User Interface on its display interface.
In step s 302, common invoice self-service terminal obtains the invoice content that user fills in invoice User Interface.
In step S303, common invoice self-service terminal obtains the CA certificate in the SIM card in the mobile phone be connected with common invoice self-service terminal connecting communication.
In step s 304, common invoice self-service terminal is signed according to the double secret key initial invoice content in CA certificate, obtains signature value;
In step S305, common invoice self-service terminal is asked sending first checking of carrying invoice content and signature value to server.
In step S306, server receives the first checking request of carrying invoice content and signature value that common invoice self-service terminal sends.
In step S307, server extracts invoice content and signature value from the first checking request.
In step S308, server carries out sign test to signature value, obtains sign test value.
In step S309, when signature value and sign test value is identical, server sends the first auth response of being used to indicate and being proved to be successful to common invoice self-service terminal.
In step S310, what common invoice self-service terminal reception server sent is used to indicate the first auth response be proved to be successful, and obtains the local blank paper invoice stored.
In step S311, common invoice self-service terminal by the printer of terminal by invoice dump in blank paper invoice, and export the paper invoice that have printed invoice content.
In the embodiment shown in Fig. 3 of the present invention, the display interface of common invoice self-service terminal shows invoice User Interface; Obtain the invoice content that user fills in invoice User Interface; Obtain the CA certificate in the SIM card in the mobile phone be connected with common invoice self-service terminal; Sign according to the double secret key initial invoice content in CA certificate, obtain signature value; Ask sending first checking of carrying invoice content and signature value to server; To make server, invoice content and signature value are verified; When receive that server sends be used to indicate the first auth response be proved to be successful time, obtain the local blank paper invoice stored; By the printer of terminal by invoice dump in blank paper invoice, and export the paper invoice that have printed invoice content.Like this, after user is paid taxes by the Internet, the paper invoice of paying taxes can be obtained by the method for the embodiment of the present invention.
Fig. 4 is the block diagram of a kind of common invoice self-service terminal according to an exemplary embodiment.With reference to Fig. 4, this common invoice self-service terminal comprises:
Display module 11, shows invoice User Interface on the display interface at described common invoice self-service terminal;
First acquisition module 12, for obtaining the invoice content that user fills in described invoice User Interface;
Second acquisition module 13, for obtaining the CA certificate in the SIM card in the mobile phone that is connected with the communication of described common invoice self-service terminal;
Signature blocks 14, signs for initial invoice content according to the double secret key in described CA certificate, obtains signature value;
First sending module 15, for asking sending first checking of carrying described invoice content and described signature value to server; To make server, described invoice content and described signature value are verified;
3rd acquisition module 16, for when receive that server sends be used to indicate the first auth response be proved to be successful time, obtain the local blank paper invoice stored;
Print module 17, for the printer by described terminal by described invoice dump in described blank paper invoice, and export and have printed the described paper invoice of described invoice content.
Further, described common invoice self-service terminal also comprises:
4th acquisition module, for obtaining the CA certificate in the SIM card of the mobile phone be connected with the communication of described common invoice self-service terminal, and user input login account and login password;
Generation module, for generating logging request according to described CA certificate, described login account and described login password;
Second sending module, for sending to described server by the logging request carrying described CA certificate, described login account and described login password; To make described server verify described CA certificate, described login account and described login password, after being proved to be successful, return the login response being used to indicate and logining successfully;
First receiver module, what return for reception server is used to indicate the login response logined successfully; On the display interface of described common invoice self-service terminal, the step of invoice User Interface is shown described in performing.
Further, described common invoice self-service terminal also comprises:
5th acquisition module, for obtaining the invoice mark of described blank paper invoice;
3rd sending module, for sending the second checking request of the invoice mark of carrying described blank paper invoice to described server; Verify to make the invoice mark of server to described paper invoice; The second auth response being used to indicate and being proved to be successful is returned after being proved to be successful;
Second receiver module, for receive that described server sends, be used to indicate the second auth response be proved to be successful, perform the described printer by described terminal by the step of described invoice dump in described blank paper invoice.
In the embodiment shown in Fig. 4 of the present invention, the display interface of common invoice self-service terminal shows invoice User Interface; Obtain the invoice content that user fills in invoice User Interface; Obtain the CA certificate in the SIM card in the mobile phone be connected with common invoice self-service terminal; Sign according to the double secret key initial invoice content in CA certificate, obtain signature value; Ask sending first checking of carrying invoice content and signature value to server; To make server, invoice content and signature value are verified; When receive that server sends be used to indicate the first auth response be proved to be successful time, obtain the local blank paper invoice stored; By the printer of terminal by invoice dump in blank paper invoice, and export the paper invoice that have printed invoice content.Like this, after user is paid taxes by the Internet, the paper invoice of paying taxes can be obtained by the method for the embodiment of the present invention.Further, common invoice self-service terminal can be widely distributed, like this, when user needs to issue invoice, can open paper invoice easily by common invoice self-service terminal.
Fig. 5 is the block diagram of a kind of server according to an exemplary embodiment.With reference to Fig. 5, this server comprises:
3rd receiver module 21, for receiving the first checking request of carrying invoice content and signature value that common invoice self-service terminal sends;
First extraction module 22, for extracting described invoice content and described signature value from described first checking request;
Sign test module 23, for carrying out sign test to described signature value, obtains sign test value;
4th sending module 24, for when described signature value is identical with described sign test value, sends the first auth response of being used to indicate and being proved to be successful to described common invoice self-service terminal.
Further, described server also comprises:
4th receiver module, for receiving the second checking request of carrying the invoice mark of blank paper invoice that common invoice self-service terminal sends;
Second extraction module, for extracting the invoice mark of described blank paper invoice from described second checking request;
6th acquisition module, for obtaining the local invoice identification list stored;
Judge module, for judging the invoice mark whether comprising described blank paper invoice in described invoice identification list;
5th sending module, for when comprising the invoice mark of described blank paper invoice, sending and being used to indicate the second auth response of being proved to be successful to common invoice self-service terminal.
In the embodiment shown in Fig. 5 of the present invention, receive the first checking request of carrying invoice content and signature value that common invoice self-service terminal sends; Invoice content and signature value is extracted from the first checking request; Sign test is carried out to signature value, obtains sign test value; When signature value and sign test value is identical, send the first auth response of being used to indicate and being proved to be successful to common invoice self-service terminal.So make after user is paid taxes by the Internet, support that user can obtain the paper invoice of paying taxes by common invoice self-service terminal.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the present invention or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (10)

1. the method issued invoice, described method is applied to common invoice self-service terminal, it is characterized in that, described method comprises:
The display interface of described common invoice self-service terminal shows invoice User Interface;
Obtain the invoice content that user fills in described invoice User Interface;
Obtain the e-business certification center CA certificate in the client identification module SIM card in the mobile phone be connected with the communication of described common invoice self-service terminal;
According to the double secret key in described CA certificate, initial invoice content is signed, and obtains signature value;
Ask sending first checking of carrying described invoice content and described signature value to server; To make server, described invoice content and described signature value are verified;
When receive that server sends be used to indicate the first auth response be proved to be successful time, obtain the local blank paper invoice stored;
By the printer of described terminal by described invoice dump in described blank paper invoice, and export the paper invoice that have printed described invoice content.
2. method according to claim 1, is characterized in that, described method also comprises:
Obtain the CA certificate in the SIM card of mobile phone be connected with the communication of described common invoice self-service terminal, and the login account that inputs of user and login password;
Logging request is generated according to described CA certificate, described login account and described login password;
The logging request carrying described CA certificate, described login account and described login password is sent to described server; To make described server verify described CA certificate, described login account and described login password, after being proved to be successful, return the login response being used to indicate and logining successfully;
What reception server returned is used to indicate the login response logined successfully; On the display interface of described common invoice self-service terminal, the step of invoice User Interface is shown described in performing.
3. method according to claim 1 and 2, is characterized in that, after the local blank paper invoice stored of described acquisition, also comprises:
Obtain the invoice mark of described blank paper invoice;
Send the second checking request of the invoice mark of carrying described blank paper invoice to described server; Verify to make the invoice mark of server to described paper invoice; The second auth response being used to indicate and being proved to be successful is returned after being proved to be successful;
Receive that described server sends, be used to indicate the second auth response be proved to be successful, perform the described printer by described terminal by the step of described invoice dump in described blank paper invoice.
4. the method issued invoice, is applied to server, it is characterized in that, described method comprises:
Receive the first checking request of carrying invoice content and signature value that common invoice self-service terminal sends;
Described invoice content and described signature value is extracted from described first checking request;
Sign test is carried out to described signature value, obtains sign test value;
When described signature value is identical with described sign test value, send the first auth response of being used to indicate and being proved to be successful to described common invoice self-service terminal.
5. method according to claim 4, is characterized in that, described method also comprises:
Receive the second checking request of carrying the invoice mark of blank paper invoice that common invoice self-service terminal sends;
The invoice mark of described blank paper invoice is extracted from described second checking request;
Obtain the local invoice identification list stored;
Judge the invoice mark whether comprising described blank paper invoice in described invoice identification list;
When comprising the invoice mark of described blank paper invoice, sending and being used to indicate the second auth response of being proved to be successful to common invoice self-service terminal.
6. a common invoice self-service terminal, is characterized in that, described common invoice self-service terminal comprises:
Display module, shows invoice User Interface on the display interface at described common invoice self-service terminal;
First acquisition module, for obtaining the invoice content that user fills in described invoice User Interface;
Second acquisition module, for obtaining the e-business certification center CA certificate in the client identification module SIM card in the mobile phone that is connected with the communication of described common invoice self-service terminal;
Signature blocks, signs for initial invoice content according to the double secret key in described CA certificate, obtains signature value;
First sending module, for asking sending first checking of carrying described invoice content and described signature value to server; To make server, described invoice content and described signature value are verified;
3rd acquisition module, for when receive that server sends be used to indicate the first auth response be proved to be successful time, obtain the local blank paper invoice stored;
Print module, for the printer by described terminal by described invoice dump in described blank paper invoice, and export and have printed the described paper invoice of described invoice content.
7. common invoice self-service terminal according to claim 6, is characterized in that, described common invoice self-service terminal also comprises:
4th acquisition module, for obtaining the CA certificate in the SIM card of the mobile phone be connected with the communication of described common invoice self-service terminal, and user input login account and login password;
Generation module, for generating logging request according to described CA certificate, described login account and described login password;
Second sending module, for sending to described server by the logging request carrying described CA certificate, described login account and described login password; To make described server verify described CA certificate, described login account and described login password, after being proved to be successful, return the login response being used to indicate and logining successfully;
First receiver module, what return for reception server is used to indicate the login response logined successfully; On the display interface of described common invoice self-service terminal, the step of invoice User Interface is shown described in performing.
8. the common invoice self-service terminal according to claim 6 or 7, is characterized in that, described common invoice self-service terminal also comprises:
5th acquisition module, for obtaining the invoice mark of described blank paper invoice;
3rd sending module, for sending the second checking request of the invoice mark of carrying described blank paper invoice to described server; Verify to make the invoice mark of server to described paper invoice; The second auth response being used to indicate and being proved to be successful is returned after being proved to be successful;
Second receiver module, for receive that described server sends, be used to indicate the second auth response be proved to be successful, perform the described printer by described terminal by the step of described invoice dump in described blank paper invoice.
9. a server, is characterized in that, described server comprises:
3rd receiver module, for receiving the first checking request of carrying invoice content and signature value that common invoice self-service terminal sends;
First extraction module, for extracting described invoice content and described signature value from described first checking request;
Sign test module, for carrying out sign test to described signature value, obtains sign test value;
4th sending module, for when described signature value is identical with described sign test value, sends the first auth response of being used to indicate and being proved to be successful to described common invoice self-service terminal.
10. server according to claim 9, is characterized in that, described server also comprises:
4th receiver module, for receiving the second checking request of carrying the invoice mark of blank paper invoice that common invoice self-service terminal sends;
Second extraction module, for extracting the invoice mark of described blank paper invoice from described second checking request;
6th acquisition module, for obtaining the local invoice identification list stored;
Judge module, for judging the invoice mark whether comprising described blank paper invoice in described invoice identification list;
5th sending module, for when comprising the invoice mark of described blank paper invoice, sending and being used to indicate the second auth response of being proved to be successful to common invoice self-service terminal.
CN201510142536.1A 2015-03-27 2015-03-27 A kind of method to issue invoice, common invoice self-service terminal and server Active CN104753940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510142536.1A CN104753940B (en) 2015-03-27 2015-03-27 A kind of method to issue invoice, common invoice self-service terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510142536.1A CN104753940B (en) 2015-03-27 2015-03-27 A kind of method to issue invoice, common invoice self-service terminal and server

Publications (2)

Publication Number Publication Date
CN104753940A true CN104753940A (en) 2015-07-01
CN104753940B CN104753940B (en) 2018-08-17

Family

ID=53593044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510142536.1A Active CN104753940B (en) 2015-03-27 2015-03-27 A kind of method to issue invoice, common invoice self-service terminal and server

Country Status (1)

Country Link
CN (1) CN104753940B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139556A (en) * 2015-08-18 2015-12-09 浪潮软件集团有限公司 network billing method and system, server and network billing machine
CN105719168A (en) * 2016-04-22 2016-06-29 刘珂 Method and system for printing invoice
CN107145999A (en) * 2017-04-10 2017-09-08 合肥拓普网络系统工程有限责任公司 A kind of blank business license management system and its management method based on numbering
CN109859421A (en) * 2018-12-21 2019-06-07 航天信息股份有限公司 Printing invoice method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002042955A1 (en) * 2000-11-25 2002-05-30 Silverbrook Research Pty Ltd Method and system for online payments
CN1369850A (en) * 2002-02-22 2002-09-18 何长杰 Receipt discriminating system and method
CN103778542A (en) * 2014-01-06 2014-05-07 立德高科(北京)数码科技有限责任公司 Bill anti-fake system based on network support and management platform thereof
CN103810556A (en) * 2012-11-14 2014-05-21 武汉元宝创意科技有限公司 Digital invoicing management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002042955A1 (en) * 2000-11-25 2002-05-30 Silverbrook Research Pty Ltd Method and system for online payments
CN1369850A (en) * 2002-02-22 2002-09-18 何长杰 Receipt discriminating system and method
CN103810556A (en) * 2012-11-14 2014-05-21 武汉元宝创意科技有限公司 Digital invoicing management system
CN103778542A (en) * 2014-01-06 2014-05-07 立德高科(北京)数码科技有限责任公司 Bill anti-fake system based on network support and management platform thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139556A (en) * 2015-08-18 2015-12-09 浪潮软件集团有限公司 network billing method and system, server and network billing machine
CN105719168A (en) * 2016-04-22 2016-06-29 刘珂 Method and system for printing invoice
CN105719168B (en) * 2016-04-22 2020-01-10 刘珂 Invoice printing method and system
CN107145999A (en) * 2017-04-10 2017-09-08 合肥拓普网络系统工程有限责任公司 A kind of blank business license management system and its management method based on numbering
CN109859421A (en) * 2018-12-21 2019-06-07 航天信息股份有限公司 Printing invoice method and device

Also Published As

Publication number Publication date
CN104753940B (en) 2018-08-17

Similar Documents

Publication Publication Date Title
EP3343831B1 (en) Identity authentication method and apparatus
CN103685311B (en) A kind of login validation method and equipment
CN108764848B (en) Electronic contract signing method and system
CN110930147B (en) Offline payment method and device, electronic equipment and computer-readable storage medium
CN110287682A (en) A kind of login method, apparatus and system
CN106503589A (en) The method of calibration of block chain Transaction Information correctness, apparatus and system
US10382954B2 (en) System and method for providing a service to the user of a mobile terminal
CN106534143A (en) Method and system capable of realizing cross-application authentication authorization
CN105574398B (en) A kind of verification code verification method and device
CN104780043A (en) Access control method and system based on two-dimension code
CN104767613A (en) Signature verification method, device and system
CN107798531A (en) Electric paying method and system
CN108733992B (en) Processing method and system of electronic equipment
CN108154362A (en) Method of commerce, apparatus and system based on figure bar code
CN104753940A (en) Invoicing method, plain invoice self-service terminal and server
CN101674284B (en) Authentication method and system, user side server and authentication server
CN105591745A (en) Method and system for performing identity authentication on user using third-party application
CN103929411A (en) Information displaying method, terminal, safety server and system
CN104717224A (en) Login method and device
CN109978557A (en) Method, system and the method for membership's verifying of member registration
CN104050431A (en) Self-signing method and self-signing device for RFID chips
CN109389736A (en) A kind of invoice checking method and device
CN110324344A (en) The method and device of account information certification
CN112085531B (en) Resource processing method, server, terminal, device, system and storage medium
CN110113329A (en) A kind of verification method and device of identifying code

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant