CN102291383B - Method and system for processing tax related service on line, service terminal and server - Google Patents

Method and system for processing tax related service on line, service terminal and server Download PDF

Info

Publication number
CN102291383B
CN102291383B CN201110123301.XA CN201110123301A CN102291383B CN 102291383 B CN102291383 B CN 102291383B CN 201110123301 A CN201110123301 A CN 201110123301A CN 102291383 B CN102291383 B CN 102291383B
Authority
CN
China
Prior art keywords
information
service
tax
server
related service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110123301.XA
Other languages
Chinese (zh)
Other versions
CN102291383A (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201110123301.XA priority Critical patent/CN102291383B/en
Publication of CN102291383A publication Critical patent/CN102291383A/en
Application granted granted Critical
Publication of CN102291383B publication Critical patent/CN102291383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention embodiment discloses a method and system for processing tax related service on line, a service terminal and a server. The method comprises the following steps that the service terminal requests a first server to perform the identity authentication and service authority authentication on the service terminal; the service terminal requests the first server to verify the taxpayer information when receiving an authentication confirmation message returned by the first serer; the service terminal generates the bill information of the tax related service when receiving a verification confirmation message returned by the first server, and sends the bill information to the first server to request the first server to confirm the bill information; the service terminal generates a two-dimensional code of the tax related service according to a secret key of an encrypted chip when receiving a service confirmation message which is returned after the first server confirms the bill information, and generates the par information of the tax related service according to the two-dimensional code, the tax related service data and an anti-fake code. The embodiment of the invention can reduce the resource consumption at a server terminal in the tax related service, and reduces the work load of the server terminal from the tax related service.

Description

Online method and system, service terminal and the server of processing tax-related service
Technical field
The present invention relates to process online tax-related service technology, relate in particular to a kind of method and system, service terminal and server of online processing tax-related service.
Background technology
Since tax-related service on-line system is reached the standard grade, carry out applying of certain limit.In existing tax-related service on-line system, under existing tupe, all data of the various tax-related services such as make out an invoice, declare dutiable goods, all must be by server end storage, generation, the verification in tax-related service on-line system.The tax-related service on-line system that occupies invoice for opening can be called invoice business on-line system.Take the business of drawing a bill as example, along with the further popularization of invoice business on-line system, individual taxpayer that the amount of money is relatively little, the amount of making out an invoice large, the frequency of making out an invoice is high, the period of making out an invoice concentrates relatively that makes out an invoice, for example: the handling industry in the hotel's industry in service trade and the catering trade, show business, transportation, also gradually by invoice business on-line system, transfer to and adopt online mode to issue invoice.No matter the Business Processing that invoice business on-line system is all, draw a bill or inquiry business, all processed by server end, all will to a certain degree consume the resource of server end.Along with apply gradually future to invoice business on-line system, and the continually developing of new function, the operating pressure of invoice business on-line system will increase day by day, has increased greatly the live load of server end.
Realizing in process of the present invention, inventor finds, the tax-related service on-line system of prior art at least exists following problem:
All data of various tax-related services, all must be stored by server end, generation, verification, seriously consume the resource of server end, increase the live load of server end, cause the resource consumption of tax office server end larger, congestion probability and failure risk are higher, along with apply gradually future to tax-related service on-line system, and the continually developing of new function, the operating pressure of tax-related service on-line system will increase day by day.
Summary of the invention
Embodiment of the present invention technical problem to be solved is: method and system, service terminal and server that a kind of online processing tax-related service is provided, to reduce the resource consumption of server end in tax-related service, reduce the live load that tax-related service brings server end.
For solving the problems of the technologies described above, the method for a kind of online processing tax-related service that the embodiment of the present invention provides, comprising:
Service terminal receives the tax-related service data of this tax-related service of user's input, these tax-related service data, pre-stored service authorization information and the information of described service terminal are sent to first server, and request first server is carried out authentication to described service terminal and is authenticated with service authority;
Described service terminal, in the time receiving the authenticate-acknowledge message that first server returns, sends taxpayer's information of this tax-related service to first server, request first server is verified this taxpayer's information;
Described service terminal is in the time receiving the demonstration validation message that first server returns, based on described tax-related service data and described taxpayer's information, generate the billing information of this tax-related service and send to described first server, request first server is confirmed;
Described service terminal is in the time receiving the business acknowledge message of returning after first server is confirmed described billing information, generate the Quick Response Code of this tax-related service according to pre-stored encryption chip key, according to this Quick Response Code, described tax-related service data and the security code that generates or obtain in advance in advance, generate the ticket information of this tax-related service.
A kind of service terminal that the embodiment of the present invention provides, comprising:
Information memory cell, for storing information and the described tax-related service relevant information of described service terminal, described tax-related service relevant information comprises taxpayer's information, service authorization information and encryption chip key;
Information interaction unit, for receiving the tax-related service data of this tax-related service of user input;
Terminal network access unit, for establishing a communications link with first server, from described information memory cell, read information and the described service authorization information of described service terminal, and information and the described service authorization information of the tax-related service data that described information interaction unit is received, described service terminal sends to first server, request first server is carried out authentication to described service terminal and is authenticated with service authority; And receive described first server return authenticate-acknowledge message time, from described information memory cell, obtain taxpayer's information of this tax-related service and send to described first server, request first server is verified taxpayer's information of this tax-related service; And in the time receiving the demonstration validation message that described first server returns, based on described tax-related service data and described taxpayer's information, generate the billing information of this tax-related service and send to described first server, request first server is confirmed; In the time receiving the business acknowledge message that described first server returns, described tax-related service data are sent to display unit, and indicate Quick Response Code generation unit to generate the Quick Response Code of this tax-related service;
Quick Response Code generation unit for according to the indication of described terminal network access unit, obtains encryption chip key and generates Quick Response Code according to this encryption chip key from described information memory cell;
Display unit, for according to described tax-related service data, described Quick Response Code and the security code that generates or obtain in advance in advance, generates the ticket information of this tax-related service.
A kind of server that the embodiment of the present invention provides, comprising:
Information data library unit, for storage service authorization terminal information, service authorization information and taxpayer's information;
Server network access unit, for establishing a communications link with described service terminal, receive the billing information of information, service authorization information, taxpayer's information and this tax-related service of tax-related service data that described business sends, service terminal, and be transmitted to safety supports unit; And receive the authenticate-acknowledge message that safety supports unit returns in the time that described service terminal authenticates by authentication and service authority, and be transmitted to described service terminal, the demonstration validation message of returning by when checking in status of taxpayers is also transmitted to described service terminal, and receive safety supports unit and the billing information of this tax-related service is confirmed to the business acknowledge message of returning after errorless, and be transmitted to described service terminal;
Safety supports unit, for the identity of described service terminal being authenticated according to the service terminal authorization message of described information data library unit, tax-related service data based on receiving and service authorization information authenticate this service authority of described service terminal, and in the time that described service terminal authenticates by authentication and service authority, to described server network access unit return authentication acknowledge message; According to taxpayer's information of storing in described information data library unit, described status of taxpayers is verified, in the time that status of taxpayers is passed through checking, send demonstration validation message to described server network access unit; And the billing information of this tax-related service is confirmed, confirm that errorless backward described server network access unit returns to business acknowledge message.
The system of a kind of online processing tax-related service that the embodiment of the present invention provides, comprises service terminal and the first server of communication connection;
Described service terminal, for storing information, the tax-related service relevant information of described service terminal, described tax-related service relevant information comprises taxpayer's information, service authorization information and encryption chip key; Receive the tax-related service data of this tax-related service of user's input, the information of these tax-related service data, described service authorization information and described service terminal is sent to described first server, and request first server is carried out authentication and service authority authentication to described service terminal; In the time receiving the authenticate-acknowledge message that described first server returns, request first server is verified taxpayer's information of this tax-related service; In the time receiving the demonstration validation message that described first server returns, based on described tax-related service data and described taxpayer's information, generate the billing information of this tax-related service and send to described first server, request first server is confirmed; In the time receiving the business acknowledge message that described first server returns, generate the Quick Response Code of this tax-related service according to described encryption chip key, and according to this Quick Response Code, generate or the security code that obtains in advance and described tax-related service data generate the ticket information of this tax-related service in advance;
Described first server, for storage service authorization terminal information, service authorization information and taxpayer's information; According to the request of described service terminal, based on described service terminal authorization message, the identity of described service terminal is authenticated, tax-related service data based on receiving and service authorization information, this service authority to described service terminal authenticates, and in the time that described service terminal authenticates by authentication and service authority, to described service terminal return authentication acknowledge message; Whether taxpayer's information of this tax-related service relatively receiving is consistent with pre-stored taxpayer's information, and described status of taxpayers is verified, in the time that status of taxpayers is passed through checking, sends demonstration validation message to described service terminal; And the billing information of this tax-related service is confirmed, confirm that errorless backward described service terminal returns to business acknowledge message.
The method and system of the online processing tax-related service providing based on the above embodiment of the present invention, service terminal and server, generated the Quick Response Code of this tax-related service by service terminal, and further according to this Quick Response Code, tax-related service data and security code, generate the ticket information of this tax-related service, take full advantage of service terminal resource, compared with prior art, without being generated by server end, store and transmit Quick Response Code, reduce to a great extent tax-related service to Internet resources, the resource consumption of server end, reduce the live load that tax-related service brings server end, also the cost that reduction tax office is carried out to dilatation undoubtedly.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart that the present invention processes an embodiment of method of tax-related service online;
Fig. 2 is the flow chart that the present invention processes another embodiment of method of tax-related service online;
Fig. 3 is the structural representation of an embodiment of service terminal of the present invention;
Fig. 4 is the structural representation of another embodiment of service terminal of the present invention;
Fig. 5 is the structural representation of another embodiment of service terminal of the present invention;
Fig. 6 is the structural representation of an embodiment of server of the present invention;
Fig. 7 is the structural representation of another embodiment of server of the present invention;
Fig. 8 is the structural representation that the present invention processes an embodiment of system of tax-related service online;
Fig. 9 is the structural representation that the present invention processes another embodiment of system of tax-related service online;
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the flow chart that the present invention processes an embodiment of method of tax-related service online.As shown in Figure 1, the method that this embodiment processes tax-related service online comprises following flow process:
Step 101, service terminal receive user input this tax-related service these tax-related service data, pre-stored service authorization information are sent to first server with the information of service terminal, service terminal is carried out to authentication to request first server and service authority authenticates.Tax-related service data wherein, for example: this tax-related service amount of money, bill party in request information, undertaker's information, taxpayer's title, the mode that input wherein comprises selecting is inputted.
The tax-related service of various embodiments of the present invention specifically can comprise on the net declare dutiable goods, draw a bill on the net, social security is paid etc. wherein any one or multiple.
Step 102, service terminal, in the time receiving the authenticate-acknowledge message that first server returns, sends taxpayer's information of this tax-related service to first server, and request first server is verified this taxpayer's information.
Step 103, service terminal, in the time receiving the demonstration validation message that first server returns, based on tax-related service data and taxpayer's information, generates the billing information of this tax-related service and sends to first server, and request first server is confirmed.
Step 104, service terminal is in the time receiving the business acknowledge message of returning after first server is confirmed billing information, generate the Quick Response Code of this tax-related service according to pre-stored encryption chip key, according to this Quick Response Code, tax-related service data and the security code that generates or obtain in advance in advance, generate the ticket information of this tax-related service, for example: according to default form, Quick Response Code, tax-related service data and security code are added in relevant position at the bill page, generate the ticket information of this tax-related service.
The method of the online processing tax-related service providing based on the above embodiment of the present invention, generated the Quick Response Code of this tax-related service by service terminal, and further according to this Quick Response Code, tax-related service data and security code, generate the ticket information of this tax-related service, take full advantage of service terminal resource, due to without being generated by server end, store and transmit Quick Response Code, reduce to a great extent tax-related service to Internet resources, the resource consumption of server end, reduce the live load that tax-related service brings server end, also the cost that reduction tax office is carried out to dilatation undoubtedly.
Particularly, as one embodiment of the present of invention, generate the ticket information of this tax-related service in step 104 embodiment illustrated in fig. 1 before, can also obtain the information of service terminal and the current time information of service terminal; Correspondingly, in step 104, the ticket information that generates this tax-related service also comprises: service terminal, according to default form, adds the information of service terminal, current time information and taxpayer's information of service terminal in the relevant position of the bill page.
Fig. 2 is the flow chart that the present invention processes another embodiment of method of tax-related service online.As shown in Figure 2, the method that this embodiment processes tax-related service online comprises following flow process:
Step 201, service terminal receives the tax-related service data of this tax-related service of user's input, these tax-related service data, pre-stored service authorization information and the information of service terminal are sent to first server, and request first server is carried out authentication to service terminal and is authenticated with service authority.Tax-related service data are wherein for example: this tax-related service amount of money, bill party in request information, undertaker's information, taxpayer's title, the mode that this input comprises selecting is inputted.
Step 202, first server is according to pre-stored service terminal authorization message, identity to service terminal authenticates, the tax-related service data and the service authorization information that send based on service terminal, this service authority to service terminal authenticates, and in the time that service terminal authenticates by authentication and service authority, to service terminal return authentication acknowledge message.
Step 203, service terminal is in the time receiving the authenticate-acknowledge message that first server returns, obtain taxpayer's information of this tax-related service corresponding to taxpayer's title in tax-related service data, and send to first server, request first server is verified this taxpayer's information.
Step 204, whether taxpayer's information of first server this tax-related service that relatively service terminal sends taxpayer information pre-stored with first server is consistent, status of taxpayers to this tax-related service is verified, when taxpayer's information of this tax-related service that service terminal sends taxpayer information pre-stored with first server is consistent, the status of taxpayers of this tax-related service, by checking, sends demonstration validation message to service terminal.
Step 205, service terminal, in the time receiving the demonstration validation message that first server returns, based on tax-related service data and taxpayer's information, generates the billing information of this tax-related service and sends to first server, and request first server is confirmed.
Step 206, information, tax-related service data and taxpayer's information of the service terminal of first server based on receiving before, billing information to this tax-related service is confirmed, confirms errorless rear generating anti-counterfeiting code, and returns to business acknowledge message and security code to service terminal.
Step 207, service terminal is in the time receiving the business acknowledge message returned after first server is confirmed billing information and security code, generate the Quick Response Code of this tax-related service according to pre-stored encryption chip key, according to default form, add the information of service terminal, current time information, taxpayer's information, Quick Response Code, tax-related service data and the security code of service terminal in the relevant position of the bill page, generate the ticket information of this tax-related service.
Wherein, the embodiment flow process that shows online processing tax-related service while obtaining security code in advance embodiment illustrated in fig. 2.The online embodiment flow process of processing tax-related service when by generating anti-counterfeiting code in advance, specifically realize in the following way step 206~207: information, tax-related service data and taxpayer's information of the service terminal of first server based on receiving before, billing information to this tax-related service is confirmed, confirms that errorless backward server network access unit returns to business acknowledge message; Service terminal is in the time receiving the business acknowledge message of returning after first server is confirmed billing information, generate the Quick Response Code of this tax-related service according to pre-stored encryption chip key, and generating anti-counterfeiting code, according to this Quick Response Code, tax-related service data and security code, according to default form, add the information of service terminal, current time information, taxpayer's information, Quick Response Code, tax-related service data and the security code of service terminal in the relevant position of the bill page, generate the ticket information of this tax-related service.
Generated the security code of this tax-related service by service terminal, further reduced the resource consumption of tax-related service to Internet resources, server end, reduced the live load that tax-related service brings server end.
As an alternative embodiment of the invention, process online in the method for tax-related service in the various embodiments described above of the present invention, first server is returned after business acknowledge message, can also carry out record to this tax-related service event, the information of record can comprise the information of service terminal, billing information and the current time information etc. of this tax-related service.
In addition, as another embodiment of the present invention, process online the method flow of tax-related service in the various embodiments described above of the present invention before, can also comprise: service terminal is carried out to initialization, in service terminal, store tax-related service relevant information, comprising: taxpayer's information, service authorization information and encryption chip key.Afterwards, can, according to predetermined period or according to actual demand, the tax-related service relevant information of service terminal storage be upgraded.
Wherein, taxpayer's information can increase and decrease according to user's demand, for example: can comprise the information such as taxpayer's title, duty paragraph, tax category tax items, item to manage title.Service authorization information can increase according to user's demand, for example: can comprise individual limit of making out an invoice, day accumulative total make out an invoice limit, month to date make out an invoice limit, local accumulative total make out an invoice limit, local maximum make out an invoice number, make out an invoice the deadline etc., as one of them embodiment, when can regularly being networked by service terminal, service authorization information carries out automatic down loading updating.While exceeding service authorization information specifies condition, service terminal, by automatic lock machine, does not have this service authority, does not allow to continue to make out an invoice, until obtain new service authorization information.
In addition, except above tax-related service relevant information, service terminal can also need selectivity storage following one or multinomial information according to user: service terminal can need to download electronics draft bank for subsequent use and store from server according to user, its number can be not more than the maximum number restriction in service authorization information, make out an invoice number while being finished in order to this locality maximum of permitting in service authorization information, continue to make out an invoice by electronics draft bank for subsequent use; Service terminal can be stored the electronics counterfoil data when last invoice temporarily, in case the success first server of making out an invoice causing because of unstable networks is not received the data of making out an invoice, resends to first server after network stabilization; Service terminal can be stored the information of controlling user's rights of using, comprises mandate number and this limit etc. of making out an invoice corresponding to mandate number of making out an invoice for subsequent use of making out an invoice for subsequent use.
As an Application Example of the present invention, service terminal can be according to the memory time of tax-related service relevant information, row rolls and stores tax-related service relevant information, that is: set in advance the storage threshold of tax-related service relevant information, for example: 1000 parts of tax-related service relevant informations, whether tax-related service relevant information is sent to first server identifies simultaneously, if memory space has been expired, according to the memory time of tax-related service relevant information, new tax-related service relevant information is from starting foremost storage, delete having sent to before the information of first server.
Particularly, storage service authorization message and encryption chip key in service terminal in advance, and can, according to storage service authorization message in first server and encryption chip key, the service authorization information of storing in service terminal and encryption chip key be upgraded.When service terminal is carried out to initialization, data interface unit and personal computer that service terminal can be by arranging (Personal Computer, hereinafter to be referred as: PC) connection, by second server, service terminal is carried out to initialization.Concrete initialization mode is as follows: terminal control is wherein downloaded to PC by the terminal distribution administrative unit in second server, after service terminal is connected with PC by data interface unit, terminal control in PC by data interface unit by the taxpayer's information initializing in second server in service terminal, terminal control is all being initialised to taxpayer's information after service terminal, notification terminal distribution administrative unit, completes the initialization of service terminal.If terminal control detects the success of service terminal no initializtion, can, according to setting in advance, again carry out initialization to service terminal.Wherein, service terminal is carried out to initialization, not life period ordinal relation of the operation of storage service authorization message and encryption chip key in the information memory cell of service terminal in advance, the two can carry out simultaneously or first carry out any one operation.
For the customer group of online processing tax-related service system, taxpayer needs section at any time normally to issue invoice, therefore in order to guarantee the normal process of tax-related service, online process tax-related service system must keep 7 × 24 hours available, can not can carry out at night regular maintenance work as in-house system, this service behaviour to online processing tax-related service system proposes very high requirement.The overwhelming majority of the prior art user that pays taxes passes through service terminal, adopts China Telecom's cable network passage access first server, and network channel is too single, only has a kind of access way in broadband, and the ability to ward off risks is poor.According to the data statistics of Guangdong company of China Telecom wired Quality Analysis Report of the first quarter in 2010, it is 34% that single accounting is sent in broadband troubleshooting, wherein cannot normally use network to account for 69%.In the fault of broadband, user's reason accounts for 41%, and service terminal reason accounts for 18%, and network side reason accounts for 22%.The reason that the former reason lead-in of network side, cable, broadband access equipment fault cause accounts for 82% of network side reason altogether, is mainly user's side equipment fault rate higher.According to above statistical analysis, cable network is affected by line facility and still has certain non-normal use situation at present.Cable network passage connects as proper network, in transmitting procedure, because the multiple transmission medium failure rates such as network equipment, user side equipment and circuit are higher, as single access passage, cannot meet the requirement that real-time online is made out an invoice.
In view of this, as an alternative embodiment of the invention, process online in the method for tax-related service in the various embodiments described above of the present invention, between service terminal and first server, specifically carry out information interaction by network channel, between service terminal and first server, mutual information comprises information, authenticate-acknowledge message, taxpayer's information of this tax-related service, demonstration validation message, the billing information of this tax-related service, the business acknowledge message of tax-related service data, service terminal, or further comprises the security code that first server sends.Network channel wherein comprises wired passage and radio channel, and wired passage comprises ADSL (Asymmetric Digital Subscriber Line), and (Asymmetrical DigitalSubscriber Loop, hereinafter to be referred as passage and/or optical-fibre channel ADSL); Radio channel comprises short message channel and/or the 3rd third-generation mobile communication, and (The 3rd GenerationTelecommunication, hereinafter to be referred as 3G) data channel.
Further, as another embodiment of the present invention, service terminal specifically can be current according to network channel working parameters, for example: current demand signal intensity and the transmission speed of network channel, select the network channel of this tax-related service or during lower than default capabilities index, select to be switched to other network channel in the network channel service behaviour of selecting.In addition, also can preset the priority level of network channel, for example, according to priority level selective sequential network channel from high to low: can be arranged on cable modem road and break down time, switch to radio channel and complete tax-related service flow process; In the time all cannot processing tax-related service by ADSL passage, 3G data channel, switch and complete tax-related service flow process by short message channel.The priority level of network channel can arrange according to user's actual demand, follow-up can modifying as required.
Further, as another embodiment of the present invention, in the time that the network channel of selecting is short message channel, service terminal transmits interactive information by short message channel to first server, specifically can comprise:
Service terminal, according to preset SMS form, is packaged into note by the interactive information that sends to first server and by encryption chip key, note is encrypted.Wherein, send to the interactive information of first server to comprise: the information of tax-related service data, service terminal, taxpayer's information of this tax-related service, the billing information of this tax-related service;
Whether the length of the note that service terminal identification is encrypted is greater than the length threshold that short message channel is supported, wherein, the note that length is greater than the length threshold of short message channel support is long SMS;
The length threshold that service terminal is supported according to short message channel, according to the default rule that splits, the long SMS of encryption is split into multiple normal short messages, in multiple normal short messages, the length of each normal short message is no more than length threshold, and each normal short message comprises: for identify the serial number of long SMS, for identify the normal short message that same long SMS is split into number altogether the first mark and represent the sequence number of current normal short message in long SMS order.According to serial number, which common short breath is first server can identify belongs to same long SMS; According to the first mark, can know and judge whether whether the normal short message that long SMS is split as is lost, can revert to long SMS;
Service terminal is not more than the multiple normal short messages that split into or length the normal short message of the length threshold of short message channel support, sends to first server;
When first server receives the multiple normal short message splitting into, according to the serial number in multiple normal short messages, the first mark and sequence number, multiple normal short messages are merged to the long SMS that reverts to encryption;
First server is utilized encryption chip key, and the normal short message that the long SMS to encryption or length are not more than the length threshold of short message channel support is decrypted, and obtains the interactive information that sends to first server.
In this embodiment, the information that first server sends to service terminal, without encryption, can directly send.
In addition, when the normal short message that the multiple normal short messages that split into or length are not more than the length threshold of short message channel support by service terminal sends to first server, can also send the second message identification for identifying recipient simultaneously, when first server receives normal short message and the second mark, whether can identify this normal short message according to the second mark is received by oneself, if received by oneself, carry out follow-up flow process, that is: when first server receives the multiple normal short message splitting into, according to the serial number in multiple normal short messages, the first mark and sequence number, multiple normal short messages are merged to the long SMS that reverts to encryption, utilize encryption chip key, the normal short message that long SMS to encryption or length are not more than the length threshold of short message channel support is decrypted, acquisition sends to the interactive information of first server.If not being received by oneself, abandon this normal short message.
Fig. 3 is the structural representation of an embodiment of service terminal of the present invention.The service terminal of this embodiment can be used in the present invention the corresponding function of service terminal in the method for above-mentioned each online processing tax-related service.As shown in Figure 3, it comprises information memory cell 301, information interaction unit 302, terminal network access unit 303, Quick Response Code generation unit 304 and display unit 305.
Wherein, information memory cell 301, for information and the tax-related service relevant information of storage service terminal, comprises taxpayer's information, service authorization information and encryption chip key.
Information interaction unit 302 is for receiving the tax-related service data of this tax-related service of user input.
Terminal network access unit 303 is for establishing a communications link with first server, from information memory cell 301, read information and the service authorization information of service terminal, and information and the service authorization information of the tax-related service data that information interaction unit 302 is received, service terminal sends to first server, request first server is carried out authentication to service terminal and is authenticated with service authority; And receive first server return authenticate-acknowledge message time, from information memory cell 301, obtain taxpayer's information of this tax-related service and send to first server, request first server taxpayer's information of this tax-related service is verified; And in the time receiving the demonstration validation message that first server returns, based on tax-related service data and taxpayer's information, generate the billing information of this tax-related service and send to first server, request first server is confirmed; In the time receiving the business acknowledge message that first server returns, tax-related service data are sent to display unit 305, and indicate Quick Response Code generation unit 304 to generate the Quick Response Code of these tax-related services.
Quick Response Code generation unit 304, for according to the indication of terminal network access unit 303, obtains encryption chip key and generates Quick Response Code according to this encryption chip key from information memory cell 301.
Display unit 305, for the tax-related service data that receive according to information interaction unit 302, the Quick Response Code that Quick Response Code generation unit 304 generates and the security code that generates or obtain in advance in advance, generates the ticket information of this tax-related service.
The service terminal providing based on the above embodiment of the present invention, can generate the Quick Response Code of this tax-related service, and further according to this Quick Response Code, tax-related service data and security code, generate the ticket information of this tax-related service, take full advantage of service terminal resource, due to without generating, store and transmit Quick Response Code by server end, reduce to a great extent the resource consumption of tax-related service to Internet resources, server end, reduce the live load that tax-related service brings server end, the cost that also reduction tax office is carried out to dilatation undoubtedly.
Fig. 4 is the structural representation of another embodiment of service terminal of the present invention.Compared with the embodiment shown in Fig. 3, the service terminal of this embodiment also comprises clock unit 306, for the off-line clock as service terminal.This clock unit user after service terminal dispatches from the factory cannot revise, to guarantee to process the current date of tax-related service and the accuracy of deadline.Correspondingly, display unit 305, concrete according to default form, add the Quick Response Code that current time information that information, taxpayer's information, the clock unit 306 of the service terminal obtaining from information memory cell 301 produce, tax-related service data that information interaction unit 302 receives, the in advance security code that generates or obtain in advance and Quick Response Code generation unit 304 generate in the relevant position of the bill page, generate the ticket information of this tax-related service.
Further, then referring to Fig. 4, as another embodiment of service terminal, can also comprise print unit 307, for printing the ticket information of this tax-related service that display unit 305 generates, obtain the bill of this tax-related service.
Further, then referring to Fig. 4, as another embodiment of service terminal, terminal network access unit 303 specifically can comprise transmitting-receiving subelement 401 and scheduling sublayer unit 402.Wherein, transmitting-receiving subelement 401 passes through network channel, for example: wired passage and radio channel, and between first server, carry out information interaction, wired passage wherein comprises ADSL passage and/or optical-fibre channel, radio channel comprises short message channel and/or the 3rd third-generation mobile communication 3G data channel, for read information and the service authorization information of service terminal from information memory cell 301, and the tax-related service data that information interaction unit 302 is received, the information of service terminal and service authorization information send to first server, request first server is carried out authentication and service authority authentication to service terminal, and receive first server return authenticate-acknowledge message time, from information memory cell 301, obtain taxpayer's information of this tax-related service and send to first server, request first server taxpayer's information of this tax-related service is verified, and in the time receiving the demonstration validation message that first server returns, based on tax-related service data and taxpayer's information, generate the billing information of this tax-related service and send to first server, request first server is confirmed, in the time receiving the business acknowledge message that first server returns, tax-related service data are sent to display unit 305, and indicate Quick Response Code generation unit 304 to generate the Quick Response Code of these tax-related services.Scheduling sublayer unit 402 is for the working parameters current according to network channel, selects the network channel of this tax-related service or during lower than default capabilities index, selects to be switched to other network channel in the network channel service behaviour of selecting.
Fig. 5 is the structural representation of another embodiment of service terminal of the present invention.Compared with the each embodiment shown in Fig. 4, in this embodiment, transmitting-receiving subelement is specially the first note access subunit 501, for passing through short message channel, to carry out information interaction between short message mode and first server.Correspondingly, terminal network access unit 303 also comprises that note generates subelement 502, encrypts subelement 503, length recognin unit 504 and split cells 505.
Wherein, note generates subelement 502 for according to preset SMS form, the interactive information that sends to first server is packaged into note, wherein sends to the interactive information of first server to comprise: the information of tax-related service data, service terminal, taxpayer's information of this tax-related service, the billing information of this tax-related service.The note that encryption subelement 503 is packaged into note generation subelement 502 for the encryption chip key by information memory cell 301 is encrypted.Whether subelement 503 note of encrypting is encrypted in length recognin unit 504 length for identifying is greater than the length threshold that short message channel is supported, the note that length is greater than the length threshold of short message channel support is long SMS.The length threshold of split cells 504 for supporting according to short message channel, according to the default rule that splits, the long SMS of encryption is split into multiple normal short messages, wherein the length of each normal short message is no more than length threshold, and each normal short message comprises: for identifying the serial number of long SMS, for identifying first mark of number altogether of the normal short message splitting into and the current normal short message sequence number in long SMS order.The first note access subunit 505 specifically sends multiple normal short messages of splitting into or note to first server and generates the normal short message that length that subelement 502 generates is not more than the length threshold that short message channel supports.
In the service terminal of the various embodiments described above of the present invention, terminal network access unit receive first server return business acknowledge message time, can also receive the security code returning that first server is returned together with this business acknowledge message; Or terminal network access unit 303 is also in the time receiving the business acknowledge message that first server returns, indication security code unit 308 generates the security code of these tax-related services.Referring to Fig. 5, the service terminal of one embodiment of the invention also comprises security code unit 308, for according to the indication of terminal network access unit 303, generates the security code of this tax-related service and sends to display unit 305.
Fig. 6 is the structural representation of an embodiment of server of the present invention.The server of this embodiment can be used in the present invention the corresponding function of first server in the method for above-mentioned each online processing tax-related service.As shown in Figure 6, it comprises information data library unit 601, server network access unit 602 and safety supports unit 603.
Wherein, information data library unit 601 is for storage service authorization terminal information, service authorization information and taxpayer's information.
Server network access unit 602 is for establishing a communications link with service terminal, the billing information of the tax-related service data that reception business sends, information, service authorization information, taxpayer's information and this tax-related service of service terminal, and be transmitted to safety supports unit 603; And receive the authenticate-acknowledge message that safety supports unit 603 returns in the time that service terminal authenticates by authentication and service authority, and be transmitted to service terminal, the demonstration validation message of returning by when checking in status of taxpayers is also transmitted to service terminal, and receive safety supports unit 603 and the billing information of this tax-related service is confirmed to the business acknowledge message of returning after errorless, and be transmitted to service terminal;
Safety supports unit 603 authenticates the identity of service terminal for the service terminal authorization message according to information data library unit 601, tax-related service data based on receiving and service authorization information authenticate this service authority of service terminal, and in the time that service terminal authenticates by authentication and service authority, to server network access unit 602 return authentication acknowledge messages; According to taxpayer's information of storage in information data library unit 601, status of taxpayers is verified, in the time that status of taxpayers is passed through checking, send demonstration validation message to server network access unit 602; And the billing information of this tax-related service is confirmed, confirm that errorless backward server network access unit 602 returns to business acknowledge message.
The server providing based on the above embodiment of the present invention, due to without generating, storing and transmit Quick Response Code, reduce to a great extent the resource consumption of tax-related service to Internet resources, server end, reduce the live load that tax-related service brings server end, the cost that also reduction tax office is carried out to dilatation undoubtedly.
Fig. 7 is the structural representation of another embodiment of server of the present invention.Compared with the embodiment shown in Fig. 6, the server of this embodiment also comprises online applying unit 604, this online applying unit 604 comprises and records subelement 701, when returning to business acknowledge message in safety supports unit 603 to server network access unit, by this tax-related service logout in information data library unit 601.
Further, referring to Fig. 7, as another embodiment of server of the present invention, online applying unit 604 can also comprise security code subelement 702 again, for according to the indication of safety supports unit 603, generate the security code of this tax-related service and send to safety supports unit 603.Correspondingly, safety supports unit 603 also for billing information to this tax-related service confirm errorless after, indicate false proof subelement 702 generating anti-counterfeiting codes, in the time that server network access unit 602 returns to business acknowledge message, also return to security code.
Further, then referring to Fig. 7, as another embodiment of server of the present invention, server network access unit 602 specifically can comprise the second note access subunit 703, merge subelement 704 and deciphering subelement 705.Wherein, the second note access subunit 703, for passing through short message channel, to carry out information interaction between short message mode and service terminal.Merge subelement 704 in the time that the second note access subunit 703 receives the multiple normal short message splitting into, according to the serial number in multiple normal short messages and sequence number, multiple normal short messages are merged to the long SMS that reverts to encryption.Deciphering subelement 705 is for utilizing encryption chip key, being combined subelement 704 recovers the normal short message that the long SMS of the encryption obtaining or length that the second note access subunit 703 receives is not more than the length threshold of short message channel support and is decrypted, acquisition sends to the interactive information of first server, comprising: the information of tax-related service data, service terminal, taxpayer's information of this tax-related service, the billing information of this tax-related service.
Server network access unit 602 in first server coordinates the network channel access of the scheduling unit 402 finishing service terminals in service terminal, realize and the docking of wired passage of service terminal, radio channel the docking of the short message channel of the second note access subunit 703 realizations and the first note access subunit 501 in service terminal.
In this embodiment, the information that first server sends to service terminal, without encryption, can directly send to the first note access subunit 501 by the second note access subunit 703.
Fig. 8 is the structural representation that the present invention processes an embodiment of system of tax-related service online.The system of the online processing tax-related service of this embodiment can be used in the present invention the method flow of above-mentioned each online processing tax-related service.As shown in Figure 8, it comprises the service terminal 1 and first server 2 of communication connection.
Wherein, service terminal 1, for information, the tax-related service relevant information of storage service terminal, tax-related service relevant information comprises taxpayer's information, service authorization information and encryption chip key; The tax-related service data that receive this tax-related service of user's input, send to first server 2 by the information of these tax-related service data, service authorization information and service terminal, and request first server 2 is carried out authentication and service authority authentication to service terminal; In the time receiving the authenticate-acknowledge message that first server 2 returns, request first server 2 is verified taxpayer's information of this tax-related service; In the time receiving the demonstration validation message that first server 2 returns, based on tax-related service data and taxpayer's information, generate the billing information of this tax-related service and send to first server 2, request first server 2 is confirmed; In the time receiving the business acknowledge message that first server 2 returns, generate the Quick Response Code of this tax-related service according to encryption chip key, and according to this Quick Response Code, generate or the security code that obtains in advance and tax-related service data generate the ticket information of this tax-related service in advance.
First server 2, for storage service authorization terminal information, service authorization information and taxpayer's information; According to the request of service terminal 1, based on service terminal authorization message, the identity of service terminal 1 is authenticated, tax-related service data based on receiving and service authorization information, this service authority to service terminal 1 authenticates, and in the time that service terminal 1 authenticates by authentication and service authority, to service terminal 1 return authentication acknowledge message; Whether taxpayer's information of this tax-related service relatively receiving is consistent with pre-stored taxpayer's information, and status of taxpayers is verified, in the time that status of taxpayers is passed through checking, sends demonstration validation message to service terminal 1; And the billing information of this tax-related service is confirmed, confirm that errorless backward service terminal 1 returns to business acknowledge message.First server 2 specifically can be served as by tax local side.
The system of the online processing tax-related service providing based on the above embodiment of the present invention, generated the Quick Response Code of this tax-related service by service terminal, and further according to this Quick Response Code, tax-related service data and security code, generate the ticket information of this tax-related service, take full advantage of service terminal resource, due to without being generated by server end, store and transmit Quick Response Code, reduce to a great extent tax-related service to Internet resources, the resource consumption of server end, reduce the live load that tax-related service brings server end, also the cost that reduction tax office is carried out to dilatation undoubtedly.
Particularly, in the embodiment shown in fig. 8, service terminal 1 also can be used for generating described security code; Or first server 1 is also used in confirms the described security code of errorless rear generation to the billing information of this tax-related service, also returns to this security code in the time that service terminal 1 returns to business acknowledge message.
Further, referring to Fig. 8, process online another embodiment of the system of tax-related service as the present invention, can also comprise second server 3, for service terminal 1 is carried out to initialization, in service terminal 1, store tax-related service relevant information, comprising: taxpayer's information, service authorization information and encryption chip key, and according to predetermined period or according to actual demand, the tax-related service relevant information that service terminal 1 is stored is upgraded.
Particularly, a data interface unit can be set in service terminal 1, for example: USB (Universal Serial Bus, hereinafter to be referred as: USB) interface unit, after service terminal 1 is connected with PC by this data interface unit, second server 3 carries out initialization to service terminal 1.Concrete initialization mode is as follows: terminal control is wherein downloaded to PC by the terminal distribution administrative unit in second server 3, after service terminal 1 is connected with PC by data interface unit, terminal control in PC by data interface unit by the taxpayer's information initializing in second server 3 in the information memory cell 301 in service terminal 1, information memory cell 301 is preserved taxpayer's information, terminal control is all being initialised to taxpayer's information after information memory cell 301, notification terminal distribution administrative unit, completes the initialization of service terminal.If terminal control detects the success of service terminal no initializtion, can, according to setting in advance, again carry out initialization to service terminal.In addition, storage service authorization message and encryption chip key in the information memory cell 301 of service terminal 1 in advance, afterwards can be regularly or according to the actual requirements, according to the corresponding information of storage in information data library unit 601 in first server 1, service authorization information and the encryption chip key of storage in this information memory cell 301 are upgraded.
In the system of the online processing tax-related service of the various embodiments described above of the present invention, service terminal 1 specifically can be realized by the structure of the arbitrary embodiment of Fig. 3 to Fig. 5, and first server 2 specifically can realize by the structure of the arbitrary embodiment of Fig. 6 to Fig. 7.The structure that is generated described security code by service terminal 1 that specifically illustrated embodiment illustrated in fig. 8.Fig. 9 is the structural representation that the present invention processes another embodiment of system of tax-related service online, and this embodiment has specifically illustrated the structure that is generated described security code by first server 1.
In addition, in the system of the online processing tax-related service of the various embodiments described above of the present invention, in service terminal 1, can also comprise certificate granting center (Certificate Authority, hereinafter to be referred as: CA) authentication ' unit, when service terminal 1 initialization, can pass through data cell interface, CA certificate is downloaded and installed in ca authentication unit.Ca authentication unit specifically can comprise that the CA certificate of realizing CA certificate look facility checks subelement, realizes the CA certificate that CA certificate upgrades function and upgrade subelement, and realizes the CA certificate application subelement of the function such as file encryption, electronic certificate.In first server 2, can also comprise a digital certificate gateway.In the time that service terminal 1 asks first server 2 to confirm the ticket information of this tax-related service, produce a random number and send to service terminal 1 by digital certificate gateway, carry out user's signature, with the identity of authentication of users.The user's signature of user's input is submitted to the checking of digital certificate gateway by service terminal 1, when the user's signature that digital certificate gateway comparison service terminal 1 sends is consistent with the user's signature producing before, carry out information, tax-related service data and taxpayer's information of the service terminal based on receiving before, the operation that the billing information of this tax-related service is confirmed.
In addition, second server can also comprise following one or more unit: terminal remote control unit, for to service terminal, carries out the locking and unlocking; Terminal monitoring unit, for to service terminal, tax-related service operation behavior, for example: the behavior of drawing a bill, carry out monitoring management; Information portal service unit, for realizing the functions such as tax-related service inquiry, courseware download and on-line consulting; The safety management unit of terminal, for realizing for example distribution management of service terminal, the administrative staff's of WSO the function such as education and training.Further, terminal distribution administrative unit can also comprise the subelements such as terminal distribution, the application of report barrier, terminal management, terminal report damage, terminal is reported the loss, terminal log-down, the download of terminal control.Wherein, report barrier application subelement, is used to the service handling of service terminal that report barrier entrance is provided, and alleviates the work that O&M personnel phone connects, and raising problem solves efficiency; Terminal management subelement is used for providing the typing of terminal serial number resource, service terminal resource allocation and application; Terminal report damages subelement, can make up service terminal for providing service terminal report to damage after damage is filled in, reported to request slip; Terminal is reported the loss subelement, and for reporting the loss service terminal, the service terminal after reporting the loss is unavailable, after reporting the loss, can make up service terminal; Terminal log-down subelement, for logout service terminal, the service terminal after cancellation is unavailable.
Take embodiment illustrated in fig. 9 as example, the operation principle of the online system of processing tax-related service is described below, it comprises:
Tax-related service relevant information is stored in service terminal initialization in information memory cell, comprising: taxpayer's information, service authorization information and encryption chip key.
Particularly, after service terminal is connected with PC by data interface unit, second server carries out initialization to service terminal.Concrete initialization mode is as follows: terminal control is wherein downloaded to PC by the terminal distribution administrative unit in second server, after service terminal is connected with PC by data interface unit, terminal control in PC by data interface unit by the taxpayer's information initializing in second server in the information memory cell in service terminal, information memory cell is preserved taxpayer's information, terminal control is all being initialised to taxpayer's information after information memory cell, notification terminal distribution administrative unit, completes the initialization of service terminal.If terminal control detects the success of service terminal no initializtion, can, according to setting in advance, again carry out initialization to service terminal.
Storage service authorization message and encryption chip key in the information memory cell of service terminal in advance.
Wherein, service terminal is carried out to initialization, not life period ordinal relation of the operation of storage service authorization message and encryption chip key in the information memory cell of service terminal in advance, the two can carry out simultaneously or first carry out any one operation.
In the time that service terminal is processed tax-related service, the server network access unit in terminal network access unit and first server in service terminal connects.
Particularly, service terminal network insertion unit sends network connecting request to server network access unit, connects after receiving the handshaking information that server network access unit returns with server network access unit.
Information interaction unit in service terminal receives the tax-related service data of user's input, for example: this tax-related service amount of money, bill party in request information, undertaker's information, taxpayer's title, the mode that this input comprises selecting is inputted, and be transmitted to terminal network access unit, terminal network access unit reads information and the service authorization information of this service terminal from information memory cell, and together with tax-related service data, send to the safety supports unit in first server by server network access unit.
The service terminal authorization message of safety supports unit based in information data library unit, information by the service terminal that receives authenticates the identity of service terminal, and tax-related service data and service authorization information based on receiving, this service authority to service terminal authenticates, for example: whether service terminal also has authority to process this tax-related service, whether the amount of money of making out an invoice of this tax-related service meets the regulation of service authorization information, etc.If service terminal is by any one or two in the authentication of authentication and service authority, do not carry out the follow-up flow process of the present embodiment, or, can further return not by the error message of authentication to terminal network access unit by server network access unit, show that by information interaction unit this error message does not pass through authentication with prompting customer service terminal.
If service terminal is by authentication and service authority authentication, safety supports unit sends authenticate-acknowledge message by server network access unit to terminal network access unit.
Terminal network access unit obtains taxpayer's information of this tax-related service corresponding to taxpayer's title of user input from information memory cell, and sends to safety supports unit by server network access unit.
Taxpayer's information that in safety supports unit Query Information Database Unit, whether presence server network insertion unit sends, verifies status of taxpayers.If taxpayer's information that presence server network insertion unit does not send, this status of taxpayers is not by checking, do not carry out the follow-up flow process of the present embodiment, or, can further return to status of taxpayers not by the error message of checking by server network access unit to terminal network access unit, show that by information interaction unit this error message is to point out the status of taxpayers of user's input or selection not by checking.
If taxpayer's information that presence server network insertion unit sends, this status of taxpayers is by checking, and safety supports unit sends demonstration validation message by server network access unit to terminal network access unit.
This tax-related service data and the taxpayer information of terminal network access unit based on user's input, generates the billing information of this tax-related service, and sends to safety supports unit by server network access unit.
The information of the service terminal of safety supports unit based on receiving before, tax-related service data and taxpayer's information, billing information to this this tax-related service is confirmed, confirm errorless rear generation business acknowledge message, and indicate online applying unit in first server to generate the security code of this tax-related service, security code chip unit in online applying unit generates the security code of this tax-related service and returns to safety supports unit, safety supports unit by the security code of this tax-related service together with business acknowledge message, return to terminal network access unit by server network access unit.
The tax-related service data of this tax-related service and security code are sent to the display unit in service terminal by terminal network access unit, and indicate Quick Response Code generation unit to generate the Quick Response Code of this tax-related service.
Quick Response Code generation unit, according to the encryption chip key of storing in information memory cell, generates the Quick Response Code of this tax-related service and sends to display unit.
Display unit obtains the information of current business terminal from information memory cell, obtain current time information from clock unit, according to default format information, tax-related service data, security code and the Quick Response Code of information based on current business terminal, current time information, this tax-related service generate the ticket information of this tax-related service and submit print unit to.Display unit is submitted the ticket information of this tax-related service after print unit to, can by terminal network access unit, server network access unit, this ticket information be sent to the record cell in online applying unit successively, by record cell by this tax-related service event, for example: the tax-related service data of the information of current business terminal, current time information, this tax-related service, are recorded in information data library unit.
The ticket information of print unit based on this tax-related service prints out the bill of this tax-related service.
In this specification, each embodiment all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, same or analogous part cross-references between each embodiment.For device, system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, in the time carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
The embodiment of the present invention takes full advantage of service terminal resource, compared with prior art, without generate, store and transmit Quick Response Code by server end, reduce to a great extent the resource consumption of tax-related service to Internet resources, server end, reduce the live load that tax-related service brings server end, the cost that also reduction tax office is carried out to dilatation undoubtedly; By real-time online multi-access mode, avoid to greatest extent because traffic failure causes the obstacle of making out an invoice, improve tax-related service and processed ticket efficiency, reduce taxpayer's operating cost; For taxpayer provides convenience, safe, the personalized tax is at line platform.
Description of the invention provides for example with for the purpose of describing, and is not exhaustively or limit the invention to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Selecting and describing embodiment is for better explanation principle of the present invention and practical application, thereby and makes those of ordinary skill in the art can understand the present invention's design to be suitable for the various embodiment with various modifications of special-purpose.

Claims (26)

1. an online method of processing tax-related service, is characterized in that, comprising:
Service terminal receives the tax-related service data of this tax-related service of user's input, these tax-related service data, pre-stored service authorization information and the information of described service terminal are sent to first server, and request first server is carried out authentication, according to described tax-related service data and service authorization information, described service terminal is carried out to this service authority authentication described service terminal according to pre-stored service terminal authorization message;
Described service terminal is in the time receiving the authenticate-acknowledge message that first server returns during by the authentication of authentication and service authority at described service terminal, send taxpayer's information of this tax-related service to first server, request first server is verified this taxpayer's information;
Described service terminal is in the time receiving the demonstration validation message that first server returns, based on described tax-related service data and described taxpayer's information, generate the billing information of this tax-related service and send to described first server, request first server is confirmed;
Described service terminal is in the time receiving the business acknowledge message of returning after first server is confirmed described billing information, generate the Quick Response Code of this tax-related service according to pre-stored encryption chip key, according to this Quick Response Code, described tax-related service data and the security code that generates or obtain in advance in advance, generate the ticket information of this tax-related service.
2. method according to claim 1, is characterized in that, according to this Quick Response Code, described tax-related service data and the security code generating in advance, the ticket information that generates this tax-related service comprises:
Described service terminal, according to default form, adds described Quick Response Code, described tax-related service data and described security code in the relevant position of the bill page, generate the ticket information of this tax-related service.
3. method according to claim 2, is characterized in that, before generating the ticket information of this tax-related service, also comprises: obtain the information of described service terminal and the current time information of described service terminal;
The ticket information that generates this tax-related service also comprises: described service terminal is according to default form, current time information and described taxpayer's information of adding the information of described service terminal, described service terminal in the relevant position of the bill page.
4. method according to claim 3, is characterized in that, described service terminal, before receiving the authenticate-acknowledge message that first server returns, also comprises:
Described first server is according to pre-stored service terminal authorization message, identity to described service terminal authenticates, tax-related service data based on receiving and service authorization information authenticate this service authority of described service terminal, and in the time that described service terminal authenticates by authentication and service authority, to described service terminal return authentication acknowledge message.
5. method according to claim 4, it is characterized in that, the taxpayer's information that sends this tax-related service to first server comprises: described service terminal obtains taxpayer's information of this tax-related service corresponding to taxpayer's title in described tax-related service data, and sends to described first server;
Described service terminal is before receiving the demonstration validation message that first server returns, also comprise: whether taxpayer's information of this tax-related service that described first server relatively receives taxpayer information pre-stored with first server is consistent, status of taxpayers to this tax-related service is verified, in the time that this status of taxpayers is passed through checking, send demonstration validation message to described service terminal.
6. method according to claim 5, is characterized in that, while obtaining security code in advance, described service terminal also comprises before receiving the business acknowledge message that first server returns:
The information of the service terminal of described first server based on receiving before, described tax-related service data and described taxpayer's information, billing information to this tax-related service is confirmed, confirm errorless rear generating anti-counterfeiting code, and return to business acknowledge message and described security code to described service terminal.
7. method according to claim 5, it is characterized in that, in advance when generating anti-counterfeiting code, before described service terminal receives the business acknowledge message that first server returns, also comprise: the information of the service terminal of described first server based on receiving before, described tax-related service data and described taxpayer's information, billing information to this tax-related service is confirmed, confirms that errorless backward described service terminal returns to business acknowledge message;
When described service terminal receives the business acknowledge message that first server returns, also comprise: described service terminal generating anti-counterfeiting code.
8. according to the method described in claim 1 to 7 any one, it is characterized in that, also comprise:
Described first server is returned after business acknowledge message, and this tax-related service event is carried out to record.
9. according to the method described in claim 1 to 7 any one, it is characterized in that, also comprise:
Described service terminal is carried out to initialization, in described service terminal, store tax-related service relevant information, and according to predetermined period or according to actual demand, tax-related service relevant information to described service terminal storage is upgraded, and described tax-related service relevant information comprises: taxpayer's information, service authorization information and encryption chip key.
10. according to the method described in claim 1 to 7 any one, it is characterized in that, between described service terminal and described first server, carry out information interaction by network channel, between described service terminal and described first server, mutual information comprises information, authenticate-acknowledge message, taxpayer's information of this tax-related service, demonstration validation message, the billing information of this tax-related service, the business acknowledge message of tax-related service data, service terminal, or further comprises security code;
Described network channel comprises wired passage and radio channel, and described wired passage comprises ADSL (Asymmetric Digital Subscriber Line) ADSL passage and/or optical-fibre channel; Described radio channel comprises short message channel and/or the 3rd third-generation mobile communication 3G data channel.
11. methods according to claim 10, is characterized in that, also comprise:
The working parameters that described service terminal is current according to described network channel, selects the network channel of this tax-related service or during lower than default capabilities index, selects to be switched to other network channel in the network channel service behaviour of selecting.
12. methods according to claim 11, is characterized in that, by short message channel, comprise to described first server transmission interactive information:
Described service terminal is according to preset SMS form, the interactive information that sends to described first server be packaged into note and by described encryption chip key, described note be encrypted, sending to the interactive information of described first server to comprise: the information of tax-related service data, service terminal, taxpayer's information of this tax-related service, the billing information of this tax-related service;
Whether the length of the note that described service terminal identification is encrypted is greater than the length threshold that short message channel is supported, the note that length is greater than the length threshold of short message channel support is long SMS; The length threshold of supporting according to short message channel, according to the default rule that splits, the long SMS of encryption is split into multiple normal short messages, the length of each normal short message is no more than described length threshold, and each normal short message comprises: for identifying the serial number of described long SMS, for identifying first mark of number altogether of the normal short message splitting into and the current normal short message sequence number in long SMS order;
Described service terminal is not more than the described multiple normal short messages that split into or length the normal short message of the length threshold of short message channel support, sends to described first server;
When described first server receives the described multiple normal short message splitting into, according to the serial number in multiple normal short messages, the first mark and sequence number, multiple normal short messages are merged to the long SMS that reverts to encryption;
Described first server is utilized described encryption chip key, and the normal short message that the long SMS to encryption or length are not more than the length threshold of short message channel support is decrypted, and obtains the interactive information that sends to described first server.
13. 1 kinds of service terminals, is characterized in that, comprising:
Information memory cell, for storing information and the tax-related service relevant information of described service terminal, described tax-related service relevant information comprises taxpayer's information, service authorization information and encryption chip key;
Information interaction unit, for receiving the tax-related service data of this tax-related service of user input;
Terminal network access unit, for establishing a communications link with first server, from described information memory cell, read information and the described service authorization information of described service terminal, and information and the described service authorization information of the tax-related service data that described information interaction unit is received, described service terminal sends to first server, request first server is carried out authentication, according to described tax-related service data and service authorization information, described service terminal is carried out to this service authority authentication described service terminal according to pre-stored service terminal authorization message; And in the time receiving the authenticate-acknowledge message that described first server returns in the time that described service terminal authenticates by authentication and service authority, from described information memory cell, obtain taxpayer's information of this tax-related service and send to described first server, request first server is verified taxpayer's information of this tax-related service; And in the time receiving the demonstration validation message that described first server returns, based on described tax-related service data and described taxpayer's information, generate the billing information of this tax-related service and send to described first server, request first server is confirmed; In the time receiving the business acknowledge message that described first server returns, described tax-related service data are sent to display unit, and indicate Quick Response Code generation unit to generate the Quick Response Code of this tax-related service;
Quick Response Code generation unit for according to the indication of described terminal network access unit, obtains encryption chip key and generates Quick Response Code according to this encryption chip key from described information memory cell;
Display unit, for according to described tax-related service data, described Quick Response Code and the security code that generates or obtain in advance in advance, generates the ticket information of this tax-related service.
14. service terminals according to claim 13, is characterized in that, also comprise:
Clock unit, for the off-line clock as described service terminal;
Described display unit, concrete according to default form, add current time information, described tax-related service data, described security code and the described Quick Response Code of the information of the service terminal obtaining from described information memory cell, described taxpayer's information, the generation of described clock unit in the relevant position of the bill page, generate the ticket information of this tax-related service.
15. service terminals according to claim 14, is characterized in that, also comprise:
Print unit, for printing the ticket information of this tax-related service, obtains the bill of this tax-related service.
16. service terminals according to claim 14, is characterized in that, described terminal network access unit comprises:
Transmitting-receiving subelement, by carrying out information interaction between network channel and described first server, for read information and the described service authorization information of described service terminal from described information memory cell, and information and the described service authorization information of the tax-related service data that described information interaction unit is received, described service terminal sends to first server, request first server is carried out authentication to described service terminal and is authenticated with service authority; And receive described first server return authenticate-acknowledge message time, from described information memory cell, obtain taxpayer's information of this tax-related service and send to described first server, request first server is verified taxpayer's information of this tax-related service; And in the time receiving the demonstration validation message that described first server returns, based on described tax-related service data and described taxpayer's information, generate the billing information of this tax-related service and send to described first server, request first server is confirmed; In the time receiving the business acknowledge message that described first server returns, described tax-related service data are sent to display unit, and indicate Quick Response Code generation unit to generate the Quick Response Code of this tax-related service; Described network channel comprises wired passage and radio channel, and described wired passage comprises ADSL passage and/or optical-fibre channel; Described radio channel comprises short message channel and/or the 3rd third-generation mobile communication 3G data channel;
Scheduling sublayer unit, for the working parameters current according to described network channel, selects the network channel of this tax-related service or during lower than default capabilities index, selects to be switched to other network channel in the network channel service behaviour of selecting.
17. service terminals according to claim 16, is characterized in that, described transmitting-receiving subelement is specially the first note access subunit, for passing through short message channel, to carry out information interaction between short message mode and described first server;
Described terminal network access unit also comprises:
Note generates subelement, be used for according to preset SMS form, the interactive information that sends to described first server is packaged into note, sends to the interactive information of described first server to comprise: the information of tax-related service data, service terminal, taxpayer's information of this tax-related service, the billing information of this tax-related service;
Encrypt subelement, for the encryption chip key by described information memory cell, described note is encrypted;
Whether length recognin unit, be greater than for identifying the length of note of encryption the length threshold that short message channel is supported, the note that length is greater than the length threshold of short message channel support is long SMS;
Split cells, for the length threshold of supporting according to short message channel, according to the default rule that splits, the long SMS of encryption is split into multiple normal short messages, the length of each normal short message is no more than described length threshold, and each normal short message comprises: for identifying the serial number of described long SMS, for identifying first mark of number altogether of the normal short message splitting into and the current normal short message sequence number in long SMS order;
Described the first note access subunit, specifically sends to described first server the normal short message that multiple normal short messages of splitting into or length are not more than the length threshold that short message channel supports.
18. according to claim 13 to the service terminal described in 17 any one, it is characterized in that, when described terminal network access unit receives the business acknowledge message that described first server returns, also receive the security code returning that described first server is returned together with this business acknowledge message; Or
Terminal network access unit is also in the time receiving the business acknowledge message that described first server returns, and indication security code unit generates the security code of this tax-related service;
Described service terminal also comprises security code unit, for according to the indication of described terminal network access unit, generates the security code of this tax-related service and sends to described display unit.
19. 1 kinds of servers, is characterized in that, comprising:
Information data library unit, for storage service authorization terminal information, service authorization information and taxpayer's information;
Server network access unit, for establishing a communications link with described service terminal, receive the billing information of information, service authorization information, taxpayer's information and this tax-related service of tax-related service data that described business sends, service terminal, and be transmitted to safety supports unit; And receive the authenticate-acknowledge message that safety supports unit returns in the time that described service terminal authenticates by authentication and service authority, and be transmitted to described service terminal, the demonstration validation message of returning by when checking in status of taxpayers is also transmitted to described service terminal, and receive safety supports unit and the billing information of this tax-related service is confirmed to the business acknowledge message of returning after errorless, and be transmitted to described service terminal;
Safety supports unit, for the identity of described service terminal being authenticated according to the service terminal authorization message of described information data library unit, tax-related service data based on receiving and service authorization information authenticate this service authority of described service terminal, and in the time that described service terminal authenticates by authentication and service authority, to described server network access unit return authentication acknowledge message; According to taxpayer's information of storing in described information data library unit, described status of taxpayers is verified, in the time that status of taxpayers is passed through checking, send demonstration validation message to described server network access unit; And the billing information of this tax-related service is confirmed, confirm that errorless backward described server network access unit returns to business acknowledge message.
20. servers according to claim 19, is characterized in that, also comprise online applying unit, and this online applying unit comprises:
Record subelement, when returning to business acknowledge message in safety supports unit to described server network access unit, by this tax-related service logout in described information data library unit.
21. servers according to claim 20, is characterized in that, described online applying unit also comprises:
Security code subelement, for according to the indication of safety supports unit, generates the security code of this tax-related service and sends to described safety supports unit;
Described safety supports unit also for billing information to this tax-related service confirm errorless after, indicate described false proof subelement generating anti-counterfeiting code, in the time that described server network access unit returns to business acknowledge message, also return to described security code.
22. according to claim 19 to the server described in 21 any one, it is characterized in that, described server network access unit comprises:
The second note access subunit, for passing through short message channel, to carry out information interaction between short message mode and described service terminal;
Merge subelement, in the time that the second note access subunit receives the multiple normal short message splitting into, according to the serial number in multiple normal short messages and sequence number, multiple normal short messages are merged to the long SMS that reverts to encryption;
Deciphering subelement, be used for utilizing described encryption chip key, the normal short message that the length that long SMS to encryption or the second note access subunit receive is not more than the length threshold of short message channel support is decrypted, acquisition sends to the interactive information of described server, comprising: the information of tax-related service data, service terminal, taxpayer's information of this tax-related service, the billing information of this tax-related service.
23. 1 kinds of online systems of processing tax-related service, is characterized in that, comprise service terminal and the first server of communication connection;
Described service terminal, for storing information, the tax-related service relevant information of described service terminal, described tax-related service relevant information comprises taxpayer's information, service authorization information and encryption chip key; Receive the tax-related service data of this tax-related service of user's input, the information of these tax-related service data, described service authorization information and described service terminal is sent to described first server, and request first server is carried out authentication and service authority authentication to described service terminal; In the time receiving the authenticate-acknowledge message that described first server returns, request first server is verified taxpayer's information of this tax-related service; In the time receiving the demonstration validation message that described first server returns, based on described tax-related service data and described taxpayer's information, generate the billing information of this tax-related service and send to described first server, request first server is confirmed; In the time receiving the business acknowledge message that described first server returns, generate the Quick Response Code of this tax-related service according to described encryption chip key, and according to this Quick Response Code, generate or the security code that obtains in advance and described tax-related service data generate the ticket information of this tax-related service in advance;
Described first server, for storage service authorization terminal information, service authorization information and taxpayer's information; According to the request of described service terminal, based on described service terminal authorization message, the identity of described service terminal is authenticated, tax-related service data based on receiving and service authorization information, this service authority to described service terminal authenticates, and in the time that described service terminal authenticates by authentication and service authority, to described service terminal return authentication acknowledge message; Whether taxpayer's information of this tax-related service relatively receiving is consistent with pre-stored taxpayer's information, and described status of taxpayers is verified, in the time that status of taxpayers is passed through checking, sends demonstration validation message to described service terminal; And the billing information of this tax-related service is confirmed, confirm that errorless backward described service terminal returns to business acknowledge message.
24. systems according to claim 23, is characterized in that, described service terminal is also for generating described security code; Or
Described first server is also confirmed the described security code of errorless rear generation for the billing information to this tax-related service, also returns to described security code in the time that described service terminal returns to business acknowledge message.
25. systems according to claim 24, it is characterized in that, also comprise second server, for described service terminal is carried out to initialization, in described service terminal, store tax-related service relevant information, and according to predetermined period or according to actual demand, the tax-related service relevant information of described service terminal storage is upgraded, described tax-related service relevant information comprises: taxpayer's information, service authorization information and encryption chip key.
26. according to the system described in claim 23 to 25 any one, it is characterized in that, described service terminal is specially the service terminal described in claim 13 to 18 any one;
Described first server is specially the server described in claim 19 to 22 any one.
CN201110123301.XA 2011-05-13 2011-05-13 Method and system for processing tax related service on line, service terminal and server Active CN102291383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110123301.XA CN102291383B (en) 2011-05-13 2011-05-13 Method and system for processing tax related service on line, service terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110123301.XA CN102291383B (en) 2011-05-13 2011-05-13 Method and system for processing tax related service on line, service terminal and server

Publications (2)

Publication Number Publication Date
CN102291383A CN102291383A (en) 2011-12-21
CN102291383B true CN102291383B (en) 2014-05-28

Family

ID=45337495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110123301.XA Active CN102291383B (en) 2011-05-13 2011-05-13 Method and system for processing tax related service on line, service terminal and server

Country Status (1)

Country Link
CN (1) CN102291383B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530929B (en) * 2012-07-02 2015-11-18 航天信息股份有限公司 A kind of method of dispatching deciphering machine
CN105809051A (en) * 2014-12-31 2016-07-27 航天信息股份有限公司 Encryption card based enterprise key distribution method and encryption card based tax declaring method
CN106100850B (en) * 2016-06-17 2019-07-05 公安部第三研究所 Intelligent and safe chip signing messages transmission method and system based on two dimensional code
CN108076007A (en) * 2016-11-10 2018-05-25 阿里巴巴集团控股有限公司 A kind of implementation method of interface, device and equipment
CN107451875A (en) * 2017-08-10 2017-12-08 郑州云海信息技术有限公司 Invoices processing method and device
CN109866512A (en) * 2019-01-27 2019-06-11 湖北荧光数加工场大数据有限公司 Self-help print method and device
CN113869998B (en) * 2021-12-02 2022-03-11 亿海蓝(北京)数据技术股份公司 Financial certificate automatic generation method and device, electronic equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101819703A (en) * 2010-04-16 2010-09-01 北京汉信码科技有限公司 Terminal equipment special for online invoice verification and verification method thereof
CN201699744U (en) * 2010-04-16 2011-01-05 北京汉信码科技有限公司 Special terminal equipment for verifying on-line invoice

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101819703A (en) * 2010-04-16 2010-09-01 北京汉信码科技有限公司 Terminal equipment special for online invoice verification and verification method thereof
CN201699744U (en) * 2010-04-16 2011-01-05 北京汉信码科技有限公司 Special terminal equipment for verifying on-line invoice

Also Published As

Publication number Publication date
CN102291383A (en) 2011-12-21

Similar Documents

Publication Publication Date Title
CN102291383B (en) Method and system for processing tax related service on line, service terminal and server
CN101025806B (en) Method of fee payment via mobile communication terminal
CN106934673A (en) A kind of electronic invoice system
CN100502307C (en) Integrated user safety management method and device
CN100375491C (en) Process and system for transmitting orders over a telecommunication network
CN100574194C (en) A kind of method of safety management maintenance equipment and device
CN101351027A (en) Method and system for processing service authentication
CN101543099A (en) Use, provision, customization and billing of services for mobile users through distinct electronic apparatuses
CN102215488A (en) Smart phone digital certificate application method and system
CN102609867A (en) Self-service system and method for selecting seat and buying cinema ticket of mobile phone
CN103914925B (en) Off-line is opened invoice and carries out the method and system of management and control
CN202383724U (en) All-in-one machine for handling service
CN102509213A (en) System and method for remote payment and trade, mobile terminal and subscriber identity module (SIM) card
CN101309143A (en) Method and system for interactive sharing data between mobile terminals
CN104484917A (en) Safe box renting system
CN104902465A (en) Long-distance card-writing method and system for opening an account with the real-name system
CN103839340A (en) Method and system for synchronizing electronic purse information and over-the-air earmarking service platform
CN103824170A (en) Mobile phone buying and selling client based on two-dimension codes, system and buying and selling management method
CN103177388A (en) Stand-in authorization system and method
CN105704092A (en) User identity authentication method, device and system
CN202088663U (en) Printing device
CN103714454A (en) Queuing and payment system
CN101009558A (en) Real name system and method for network access
CN103763370B (en) A kind of method, system and device for changing mobile terminal workspace screen-lock password
CN103685145A (en) Security information interaction system, security information interaction device and security information interaction method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant