CN105139556A - network billing method and system, server and network billing machine - Google Patents

network billing method and system, server and network billing machine Download PDF

Info

Publication number
CN105139556A
CN105139556A CN201510509035.2A CN201510509035A CN105139556A CN 105139556 A CN105139556 A CN 105139556A CN 201510509035 A CN201510509035 A CN 201510509035A CN 105139556 A CN105139556 A CN 105139556A
Authority
CN
China
Prior art keywords
invoice
neck
state
purchased
response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510509035.2A
Other languages
Chinese (zh)
Inventor
毕毅
侯冬刚
徐兵兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Software Group Co Ltd
Original Assignee
Inspur Software Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Software Group Co Ltd filed Critical Inspur Software Group Co Ltd
Priority to CN201510509035.2A priority Critical patent/CN105139556A/en
Publication of CN105139556A publication Critical patent/CN105139556A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a method and a system for network invoicing, a server and a network invoicing machine, wherein the method comprises the following steps: receiving an invoice purchase receiving request sent by a current network invoicing machine; determining the state of the invoice to be purchased, which is requested to be purchased in the invoice purchase requisition; after determining that the state of the invoice to be purchased is the unrequested state, sending a response that the invoice can be purchased to the current network invoicer; after determining that the state of the invoice to be purchased is a purchased state, sending a response that the invoice cannot be purchased to the current network invoicing machine; and after determining that the state of the invoice to be purchased is the requested state, judging whether the current network invoicer is the same as the specified network invoicer which has requested the invoice to be purchased, if so, sending a response capable of being purchased to the current network invoicer, and otherwise, sending a response incapable of being purchased to the current network invoicer. The scheme provided by the invention can make the invoice purchase and receipt more convenient.

Description

Method and system, server, network billing machine that network is made out an invoice
Technical field
The present invention relates to field of computer technology, particularly network method and system, server, the network billing machine of making out an invoice.
Background technology
Network is made out an invoice and is referred to and purchase the process of invoice by network billing machine to the server neck in billing system.Due to network make out an invoice have convenient and swift, save the advantage such as cost, apply more and more extensive.
The network of prior art is made out an invoice in process, network billing machine carry out invoice neck purchase time, need by during network implementation and background data base server carry out a series of interactive operation.Network billing machine needs to send neck to server and purchases the request of invoice, after receiving the response that successful neck that server returns purchases, completes now whole neck and purchases process.When neck is purchased in process, if due to reasons such as communication failures between network billing machine and server, cause invoice to lead the flow process purchased to be interrupted, requested invoice cannot be purchased by by network neck again, can only carry out neck purchase by offline mode, such as, purchased by USB flash disk neck.In a word, in prior art, invoice neck purchases process inconvenience.
Summary of the invention
In view of this, the invention provides method and system, server, network billing machine that network is made out an invoice, invoice neck can be made to purchase convenient.
First aspect, the invention provides a kind of method that network is made out an invoice, comprise: not requested state is the state of the invoice when the not requested neck of invoice is purchased, requested state is the state of the invoice when the requested neck of invoice is purchased and do not purchased successfully by neck, is purchased by neck the state that state is the invoice when invoice is purchased successfully by neck; Also comprise:
The invoice neck that reception current network billing machine is sent purchases request;
That determines that described invoice neck purchases that request institute asks neck to be purchased waits for claimant and purchases the state of invoice;
After the state purchasing invoice when waiting for claimant described in determining being not requested state, sending can be led the response purchased to current network billing machine;
After the state purchasing invoice when waiting for claimant described in determining being led the state of purchasing, sending can not be led the response purchased to current network billing machine;
After the state purchasing invoice when waiting for claimant described in determining is requested state, judge current network billing machine with specify ask described in the network billing machine purchasing invoice that waits for claimant whether be same, if, then send can be led the response purchased to current network billing machine, otherwise, send can not be led the response purchased to current network billing machine.
Further, the method also comprises:
When the unfinished record preserving incomplete invoice in present networks billing machine determined by current network billing machine, receive the information of the described incomplete invoice that current network billing machine is sent, described incomplete invoice is determined according to described information, the state of described incomplete invoice is defined as being led the state of purchasing, the successful neck sending described incomplete invoice to current network billing machine purchases response, with the unfinished record making current network billing machine eliminate described incomplete invoice;
Wherein, the unfinished record of described incomplete invoice be receive described incomplete invoice at current network billing machine can be led the response purchased, send and confirm to produce after neck purchases signal, and be eliminated after the successful neck receiving described incomplete invoice purchases response.
Further, the state purchasing invoice when waiting for claimant described in determining also comprises after being not requested state: using current network billing machine as specify ask described in wait for claimant and purchase the network billing machine of invoice.
Further, the state purchasing invoice when waiting for claimant described in determining also comprises after being not requested state: be requested state by the described status modifier purchasing invoice that waits for claimant.
Further, described after the response that the transmission of current network billing machine can be purchased by neck, also comprise:
Receive current network billing machine to send really to claim and purchase message, by described wait for claimant purchase invoice status modifier for be purchased state by neck, the successful neck purchasing invoice that waits for claimant described in returning to current network billing machine purchases response.
Second aspect, the invention provides a kind of method that network is made out an invoice, comprising:
S1: judge the unfinished record whether preserving incomplete invoice in present networks billing machine, if so, then performs step S2, otherwise, perform step S4;
S2: the information sending described incomplete invoice to server, to make described server the state of described incomplete invoice be defined as being led the state of purchasing, the successful neck returning described incomplete invoice purchases response, performs step S3;
S3: the successful neck receiving described incomplete invoice purchases response, eliminates the unfinished record of described incomplete invoice, performs step S4;
S4: send invoice neck to described server and purchase request;
S5: what receive that described server returns can be purchased response by neck or can not be purchased response by neck;
Wherein, the unfinished record of described incomplete invoice can led the response purchased what receiving described incomplete invoice, and sends and confirm to produce after neck purchases signal, and is eliminated after the successful neck receiving described incomplete invoice purchases response; Described by neck to purchase state be invoice purchased successfully by neck time the state of invoice that records in the server.
Further, also comprise: receive that described server returns can be purchased response by neck after, described invoice neck is purchased waiting for claimant that request institute ask neck to be purchased and purchases invoice as incomplete invoice, the unfinished record of preservation incomplete invoice.
The third aspect, the invention provides a kind of server, comprise: not requested state is the state of the invoice when the not requested neck of invoice is purchased, requested state is the state of the invoice when the requested neck of invoice is purchased and do not purchased successfully by neck, purchased by neck the state that state is the invoice when invoice is purchased successfully by neck, also comprise:
Receiving element, the invoice neck sent for receiving current network billing machine purchases request;
Determining unit, waits for claimant purchase the state of invoice for what determines that described invoice neck purchases that request institute asks neck to be purchased;
First response unit, after state for purchasing invoice when waiting for claimant described in determining is not requested state, send can be led the response purchased to current network billing machine, after the state purchasing invoice when waiting for claimant described in determining is led the state of purchasing, send can not be led the response purchased to current network billing machine, after the state purchasing invoice when waiting for claimant described in determining is requested state, judge current network billing machine with specify ask described in the network billing machine purchasing invoice that waits for claimant whether be same, if, then send can be led the response purchased to current network billing machine, otherwise, send can not be led the response purchased to current network billing machine.
Further, also comprise: the second response unit, for when the unfinished record preserving incomplete invoice in present networks billing machine determined by current network billing machine, receive the information of the described incomplete invoice that current network billing machine is sent, described incomplete invoice is determined according to described information, the state of described incomplete invoice is defined as being led the state of purchasing, the successful neck sending described incomplete invoice to current network billing machine purchases response, with the unfinished record making current network billing machine eliminate described incomplete invoice, wherein, the unfinished record of described incomplete invoice is the response can purchased by neck receiving described incomplete invoice at current network billing machine, send and confirm that neck produces after purchasing signal, and be eliminated after the successful neck receiving described incomplete invoice purchases response.
Fourth aspect, the invention provides a kind of network billing machine, comprising: judging unit, transmitting element, the first response receiving element, request unit, the second response receiving element;
Described judging unit, for judging the unfinished record whether preserving incomplete invoice in present networks billing machine, when judged result is for being, notifies described transmitting element, when judged result is no, and notice described request unit;
Described transmitting element, for sending the information of described incomplete invoice to server, to make described server the state of described incomplete invoice be defined as being led the state of purchasing, the successful neck returning described incomplete invoice purchases response, notifies described first response receiving element;
Described first response receiving element, purchases response for the successful neck receiving described incomplete invoice, eliminates the unfinished record of described incomplete invoice, notice described request unit;
Described request unit, purchases request for sending invoice neck to described server;
Described second response receiving element, can be purchased response by neck for what receive that described server returns or can not be purchased response by neck;
Wherein, the unfinished record of described incomplete invoice can led the response purchased what receiving described incomplete invoice, and sends and confirm to produce after neck purchases signal, and is eliminated after the successful neck receiving described incomplete invoice purchases response; Described by neck to purchase state be invoice purchased successfully by neck time the state of invoice that records in the server.
Further, also comprise: record generation unit, for receive that described server returns can be purchased response by neck after, described invoice neck is purchased waiting for claimant that request institute ask neck to be purchased and purchases invoice as incomplete invoice, the unfinished record of generation incomplete invoice.
5th aspect, the invention provides a kind of network billing system, comprising:
As the server as described in arbitrary in the third aspect with as the network billing machine as described in arbitrary in fourth aspect.
The invention provides method and system, server, network billing machine that network is made out an invoice, be not requested state by the state demarcation of invoice, requested state, purchased state by neck, the state of invoice is purchased according to waiting for claimant, corresponding response is sent to network billing machine, be in any one state wait for claimant purchase invoice all can by network neck purchase, make invoice lead purchase convenient.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of the method that a kind of network that one embodiment of the invention provides is made out an invoice;
Fig. 2 is the process flow diagram of the method that another kind of network that one embodiment of the invention provides is made out an invoice;
Fig. 3 is the process flow diagram of the method that another network that one embodiment of the invention provides is made out an invoice;
Fig. 4 is the schematic diagram of a kind of server that one embodiment of the invention provides;
Fig. 5 is the schematic diagram of a kind of network billing machine that one embodiment of the invention provides;
Fig. 6 is the schematic diagram of a kind of network billing system that one embodiment of the invention provides.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly; below in conjunction with the accompanying drawing in the embodiment of the present invention; technical scheme in the embodiment of the present invention is clearly and completely described; obviously; described embodiment is the present invention's part embodiment, instead of whole embodiments, based on the embodiment in the present invention; the every other embodiment that those of ordinary skill in the art obtain under the prerequisite not making creative work, all belongs to the scope of protection of the invention.
As shown in Figure 1, embodiments provide a kind of method that network is made out an invoice, comprise: not requested state is the state of the invoice when the not requested neck of invoice is purchased, requested state is the state of the invoice when the requested neck of invoice is purchased and do not purchased successfully by neck, is purchased by neck the state that state is the invoice when invoice is purchased successfully by neck; The method can comprise the following steps:
Step 101: the invoice neck that reception current network billing machine is sent purchases request;
Step 102: that determines that described invoice neck purchases that request institute asks neck to be purchased waits for claimant and purchase the state of invoice;
Step 103: after the state purchasing invoice when waiting for claimant described in determining is not requested state, sends can be led the response purchased to current network billing machine;
After the state purchasing invoice when waiting for claimant described in determining being led the state of purchasing, sending can not be led the response purchased to current network billing machine;
After the state purchasing invoice when waiting for claimant described in determining is requested state, judge current network billing machine with specify ask described in the network billing machine purchasing invoice that waits for claimant whether be same, if, then send can be led the response purchased to current network billing machine, otherwise, send can not be led the response purchased to current network billing machine.
The method that a kind of network provided by the embodiment of the present invention is made out an invoice, be not requested state by the state demarcation of invoice, requested state, purchased state by neck, the state of invoice is purchased according to waiting for claimant, corresponding response is sent to network billing machine, be in any one state wait for claimant purchase invoice all can by network neck purchase, make invoice lead purchase convenient.
In the process of network billing machine request invoice, after server to return to network billing machine and can be led the response that purchase, network billing machine needs to send to server to determine to lead the signal of purchasing invoice or cancel the signal that neck purchases invoice, after transmission determines that neck purchases signal, if server does not receive, then wait for claimant and purchase invoice can be in requested state always, may again be asked.In order to avoid this situation, this method also comprises: when the unfinished record preserving incomplete invoice in present networks billing machine determined by current network billing machine, receive the information of the described incomplete invoice that current network billing machine is sent, described incomplete invoice is determined according to described information, the state of described incomplete invoice is defined as being led the state of purchasing, the successful neck sending described incomplete invoice to current network billing machine purchases response, with the unfinished record making current network billing machine eliminate described incomplete invoice, wherein, the unfinished record of described incomplete invoice is the response can purchased by neck receiving described incomplete invoice at current network billing machine, send and confirm that neck produces after purchasing signal, and be eliminated after the successful neck receiving described incomplete invoice purchases response.By arranging unfinished record to record the invoice not receiving and successfully lead and purchase response in network billing machine, next time to server request invoice time, the information of incomplete invoice is issued server, server returns successfully neck and purchases response, and the state of incomplete invoice is defined as being led the state of purchasing, this invoice would not be applied again like this.
Purchased in order to avoid invoice repeats neck, in a kind of possible implementation, the method comprises: the state purchasing invoice when waiting for claimant described in determining also comprises after being not requested state: using current network billing machine as specify ask described in wait for claimant and purchase the network billing machine of invoice.By which, invoice is distributed to the network billing machine of asking this to wait for claimant to purchase invoice of specifying.In addition, specify ask this to wait for claimant to purchase the network billing machine of invoice can be first request this wait for claimant and purchase the network billing machine of invoice.
In a kind of possible implementation, the state purchasing invoice when waiting for claimant described in determining also comprises after being not requested state: be requested state by the described status modifier purchasing invoice that waits for claimant.
In a kind of possible implementation, described to send to current network billing machine can be led the response that purchase after, also comprise: reception current network billing machine is sent really to claim and purchased message, by described wait for claimant purchase invoice status modifier for be purchased state by neck, the successful neck purchasing invoice that waits for claimant described in returning to current network billing machine purchases response.
In a kind of possible implementation, described after the response that the transmission of current network billing machine can be purchased by neck, also comprising: the cancellation neck that reception current network billing machine is sent purchases message, is not requested state by the described status modifier purchasing invoice that waits for claimant.
In order to distinguish heterogeneous networks billing machine, unique identification can being set for each network billing machine, this mark, server can being sent to together when purchasing request to server transmission invoice neck.In a kind of possible implementation, also comprise: the mark pre-setting each network billing machine;
Also comprise: preserve specify ask described in wait for claimant the network billing machine purchasing invoice first mark;
Also comprise: the second mark obtaining current network billing machine;
Described judge current network billing machine with specify ask described in the network billing machine purchasing invoice that waits for claimant whether be same, comprising:
Judge whether described first mark and described second identifies identical, if, then determine current network billing machine with specify ask described in the network billing machine purchasing invoice that waits for claimant be same, otherwise, determine current network billing machine with specify ask described in the network billing machine purchasing invoice that waits for claimant be not same.
As shown in Figure 2, embodiments provide a kind of method that network is made out an invoice, the method can comprise the following steps:
S1: judge the unfinished record whether preserving incomplete invoice in present networks billing machine, if so, then performs step S2, otherwise, perform step S4;
S2: the information sending described incomplete invoice to server, to make described server the state of described incomplete invoice be defined as being led the state of purchasing, the successful neck returning described incomplete invoice purchases response, performs step S3;
S3: the successful neck receiving described incomplete invoice purchases response, eliminates the unfinished record of described incomplete invoice, performs step S4;
S4: send invoice neck to described server and purchase request;
S5: what receive that described server returns can be purchased response by neck or can not be purchased response by neck;
Wherein, the unfinished record of described incomplete invoice can led the response purchased what receiving described incomplete invoice, and sends and confirm to produce after neck purchases signal, and is eliminated after the successful neck receiving described incomplete invoice purchases response; Described by neck to purchase state be invoice purchased successfully by neck time the state of invoice that records in the server.
The method that a kind of network that the embodiment of the present invention provides is made out an invoice, network billing machine is verified whether have incomplete invoice, if had, notification server, to be labeled as this incomplete invoice to make server and to be purchased state by neck, avoid this incomplete invoice to be repeated neck and purchase.
In a kind of possible implementation, the method also comprises: receive that described server returns can be purchased response by neck after, described invoice neck is purchased waiting for claimant that request institute ask neck to be purchased and purchases invoice as incomplete invoice, the unfinished record of preservation incomplete invoice.When receive that server returns can be purchased response by neck after, then this invoice is in the state that can be acquired, after network billing machine confirms that neck is purchased, then can lead and purchase this invoice, although network billing machine can use this invoice, but network billing machine can not determine server the status modifier of this invoice for be purchased state by neck, therefore, network billing machine arranges unfinished record, only have when receive server return successfully neck purchase response after, network billing machine just determine server by the status modifier of invoice for be purchased state by neck.If network billing machine does not receive successfully neck and purchases response, then need before getting other invoices, send the information of incomplete invoice to server, determine that to make server the mode bit of this invoice is purchased state by neck, and return successfully neck and purchase response.
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
In the present embodiment, network billing machine needs to purchase invoice to server neck, and have incomplete invoice in network billing machine, the state purchasing invoice of waiting for claimant is requested state.
As shown in Figure 3, embodiments provide a kind of method that network is made out an invoice, the method can comprise the following steps:
Step 301: network billing machine judges the unfinished record whether preserving incomplete invoice in present networks billing machine, judges the unfinished record of incomplete invoice.
In addition, if not, directly perform and purchase request to described server transmission invoice neck.
Step 302: network billing machine sends the information of incomplete invoice to server.
Step 303: the state of described incomplete invoice is defined as being led the state of purchasing by server, the successful neck returning incomplete invoice to network billing machine purchases response.
Particularly, server judges whether the state of incomplete invoice is led the state of purchasing, if, the successful neck then returning incomplete invoice to network billing machine purchases response, otherwise, by the status modifier of incomplete invoice for be purchased state by neck, the successful neck returning incomplete invoice to network billing machine purchases response.
Step 304: the successful neck that network billing machine receives incomplete invoice purchases response, eliminates the unfinished record of incomplete invoice, sends invoice neck purchase request to described server.
Step 305: server receives the invoice neck that network billing machine sends and purchases request, determines that described invoice neck is purchased request institute and asked the state purchasing invoice of waiting for claimant purchased of neck to be requested state.
In addition, if the state that determining waits for claimant purchases invoice is not requested state, then send can be led the response that purchase to network billing machine, and the status modifier purchasing invoice by waiting for claimant is requested state, using this network billing machine as the network billing machine of asking this to wait for claimant to purchase invoice of specifying.
If the state that determining waits for claimant purchases invoice is led the state of purchasing, then send can not be led the response purchased to current network billing machine.
Step 306: server judges whether network billing machine and the network billing machine purchasing invoice of asking to wait for claimant of specifying are same, judge it is same, sends can be led the response purchased to network billing machine.
In addition, if not same, then server returns and can not be led the response that purchase, and network billing machine is cancelled and waited for claimant purchase the request of invoice to this.
Step 307: network billing machine receives the described response can purchased by neck.
Step 308: the determination neck that network billing machine receives outside input purchases the signal of invoice, sends determine to lead the signal purchasing invoice to server, and will wait for claimant and purchase invoice as incomplete invoice, the unfinished record of preservation incomplete invoice.
In addition, if outside input is cancel the signal that neck purchases invoice, then network billing machine sends to described server and cancels the signal that neck purchases invoice, and server purchases the status modifier of invoice for not requested state by waiting for claimant.
Step 309: server purchases the status modifier of invoice for be purchased state by neck by waiting for claimant, and to network billing machine send successfully neck purchase response.
Step 310: network billing machine receives successfully neck and purchases response, eliminates the unfinished record of incomplete invoice.
As shown in Figure 4, a kind of server that the present embodiment provides, comprise: not requested state is the state of the invoice when the not requested neck of invoice is purchased, requested state is the state of the invoice when the requested neck of invoice is purchased and do not purchased successfully by neck, is purchased by neck the state that state is the invoice when invoice is purchased successfully by neck; This server also comprises:
Receiving element 401, the invoice neck sent for receiving current network billing machine purchases request;
Determining unit 402, waits for claimant purchase the state of invoice for what determines that described invoice neck purchases that request institute asks neck to be purchased;
First response unit 403, after state for purchasing invoice when waiting for claimant described in determining is not requested state, send can be led the response purchased to current network billing machine, after the state purchasing invoice when waiting for claimant described in determining is led the state of purchasing, send can not be led the response purchased to current network billing machine, after the state purchasing invoice when waiting for claimant described in determining is requested state, judge current network billing machine with specify ask described in the network billing machine purchasing invoice that waits for claimant whether be same, if, then send can be led the response purchased to current network billing machine, otherwise, send can not be led the response purchased to current network billing machine.
In a kind of possible implementation, this device also comprises: the second response unit, for when the unfinished record preserving incomplete invoice in present networks billing machine determined by current network billing machine, receive the information of the described incomplete invoice that current network billing machine is sent, described incomplete invoice is determined according to described information, the state of described incomplete invoice is defined as being led the state of purchasing, the successful neck sending described incomplete invoice to current network billing machine purchases response, with the unfinished record making current network billing machine eliminate described incomplete invoice, wherein, the unfinished record of described incomplete invoice is the response can purchased by neck receiving described incomplete invoice at current network billing machine, send and confirm that neck produces after purchasing signal, and be eliminated after the successful neck receiving described incomplete invoice purchases response.
As shown in Figure 5, a kind of network billing machine that the present embodiment provides, comprising: judging unit 501, transmitting element 502, first response receiving element 503, request unit 504, second respond receiving element 505;
Described judging unit 501, for judging the unfinished record whether preserving incomplete invoice in present networks billing machine, when judged result is for being, notifies described transmitting element 502, when judged result is no, and notice described request unit 504;
Described transmitting element 502, for sending the information of described incomplete invoice to server, to make described server the state of described incomplete invoice be defined as being led the state of purchasing, the successful neck returning described incomplete invoice purchases response, notifies described first response receiving element 503;
Described first response receiving element 503, purchases response for the successful neck receiving described incomplete invoice, eliminates the unfinished record of described incomplete invoice, notice described request unit 504;
Described request unit 504, purchases request for sending invoice neck to described server;
Described second response receiving element 505, can be purchased response by neck for what receive that described server returns or can not be purchased response by neck;
Wherein, the unfinished record of described incomplete invoice can led the response purchased what receiving described incomplete invoice, and sends and confirm to produce after neck purchases signal, and is eliminated after the successful neck receiving described incomplete invoice purchases response; Described by neck to purchase state be invoice purchased successfully by neck time the state of invoice that records in the server.
In a kind of possible implementation, this device also comprises: record generation unit, for receive that described server returns can be purchased response by neck after, described invoice neck is purchased waiting for claimant that request institute ask neck to be purchased and purchases invoice as incomplete invoice, the unfinished record of generation incomplete invoice.
As shown in Figure 6, a kind of network billing system that the present embodiment provides, comprising:
Network billing machine 602 arbitrary in server 601 arbitrary in above-described embodiment and above-described embodiment.
The content such as information interaction, implementation between each unit in said apparatus, due to the inventive method embodiment based on same design, particular content can see in the inventive method embodiment describe, repeat no more herein.
Method and system, server, network billing machine that the network that the embodiment of the present invention provides is made out an invoice, have following beneficial effect:
1, method and system, server, network billing machine that the network provided by the embodiment of the present invention is made out an invoice, be not requested state by the state demarcation of invoice, requested state, purchased state by neck, the state of invoice is purchased according to waiting for claimant, corresponding response is sent to network billing machine, be in any one state wait for claimant purchase invoice all can by network neck purchase, make invoice lead purchase convenient.
2, method and system, server, network billing machine that the network provided by the embodiment of the present invention is made out an invoice, network billing machine is verified whether have incomplete invoice, if had, notification server, to make server this incomplete invoice is labeled as and purchased state by neck, avoid this incomplete invoice to be repeated neck and purchase.
3, in the process of network billing machine and server communication, may break down and cause communication failure.Server may be caused cannot to send to network billing machine by can response be purchased by neck or can not be purchased response by neck, cause network billing machine cannot send to server to determine to lead the signal of purchasing invoice or cancel the signal that neck purchases invoice, and then cause corresponding invoice to be in requested state always; In addition, network billing machine may being caused cannot to send to server by determining to lead the signal purchasing invoice, making invoice corresponding on server be in requested state always.In the prior art, the invoice under both of these case has no idea to be purchased by by network neck.Method and system, server, network billing machine that the network that the embodiment of the present invention provides is made out an invoice, by arranging server, the invoice being in requested state also can be purchased by neck, and by adding the unfinished record in network billing machine, can be correct state by the status modifier of invoice corresponding in server, ensure that corresponding invoice still can be purchased by network neck after network recovery, reduce burden for users, alleviate O&M attendant pressure.
It should be noted that, in this article, the relational terms of such as first and second and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element " being comprised " limited by statement, and be not precluded within process, method, article or the equipment comprising described key element and also there is other same factor.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in the storage medium of embodied on computer readable, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium in.
Finally it should be noted that: the foregoing is only preferred embodiment of the present invention, only for illustration of technical scheme of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. the network method of making out an invoice, it is characterized in that, comprise: not requested state is the state of the invoice when the not requested neck of invoice is purchased, requested state is the state of the invoice when the requested neck of invoice is purchased and do not purchased successfully by neck, is purchased by neck the state that state is the invoice when invoice is purchased successfully by neck; Also comprise:
The invoice neck that reception current network billing machine is sent purchases request;
That determines that described invoice neck purchases that request institute asks neck to be purchased waits for claimant and purchases the state of invoice;
After the state purchasing invoice when waiting for claimant described in determining being not requested state, sending can be led the response purchased to current network billing machine;
After the state purchasing invoice when waiting for claimant described in determining being led the state of purchasing, sending can not be led the response purchased to current network billing machine;
After the state purchasing invoice when waiting for claimant described in determining is requested state, judge current network billing machine with specify ask described in the network billing machine purchasing invoice that waits for claimant whether be same, if, then send can be led the response purchased to current network billing machine, otherwise, send can not be led the response purchased to current network billing machine.
2. method according to claim 1, is characterized in that, also comprises:
When the unfinished record preserving incomplete invoice in present networks billing machine determined by current network billing machine, receive the information of the described incomplete invoice that current network billing machine is sent, described incomplete invoice is determined according to described information, the state of described incomplete invoice is defined as being led the state of purchasing, the successful neck sending described incomplete invoice to current network billing machine purchases response, with the unfinished record making current network billing machine eliminate described incomplete invoice;
Wherein, the unfinished record of described incomplete invoice be receive described incomplete invoice at current network billing machine can be led the response purchased, send and confirm to produce after neck purchases signal, and be eliminated after the successful neck receiving described incomplete invoice purchases response.
3. method according to claim 1, is characterized in that, the state purchasing invoice when waiting for claimant described in determining also comprises after being not requested state: using current network billing machine as specify ask described in wait for claimant and purchase the network billing machine of invoice;
And/or the state purchasing invoice when waiting for claimant described in determining also comprises after being not requested state: be requested state by the described status modifier purchasing invoice that waits for claimant;
And/or,
Described after the response that the transmission of current network billing machine can be purchased by neck, also comprise:
Receive current network billing machine to send really to claim and purchase message, by described wait for claimant purchase invoice status modifier for be purchased state by neck, the successful neck purchasing invoice that waits for claimant described in returning to current network billing machine purchases response.
4. a network method of making out an invoice, is characterized in that, comprising:
S1: judge the unfinished record whether preserving incomplete invoice in present networks billing machine, if so, then performs step S2, otherwise, perform step S4;
S2: the information sending described incomplete invoice to server, to make described server the state of described incomplete invoice be defined as being led the state of purchasing, the successful neck returning described incomplete invoice purchases response, performs step S3;
S3: the successful neck receiving described incomplete invoice purchases response, eliminates the unfinished record of described incomplete invoice, performs step S4;
S4: send invoice neck to described server and purchase request;
S5: what receive that described server returns can be purchased response by neck or can not be purchased response by neck;
Wherein, the unfinished record of described incomplete invoice can led the response purchased what receiving described incomplete invoice, and sends and confirm to produce after neck purchases signal, and is eliminated after the successful neck receiving described incomplete invoice purchases response; Described by neck to purchase state be invoice purchased successfully by neck time the state of invoice that records in the server.
5. method according to claim 4, it is characterized in that, also comprise: receive that described server returns can be purchased response by neck after, described invoice neck is purchased waiting for claimant that request institute ask neck to be purchased and purchases invoice as incomplete invoice, the unfinished record of preservation incomplete invoice.
6. a server, it is characterized in that, comprise: not requested state is the state of the invoice when the not requested neck of invoice is purchased, requested state is the state of the invoice when the requested neck of invoice is purchased and do not purchased successfully by neck, is purchased by neck the state that state is the invoice when invoice is purchased successfully by neck; Also comprise:
Receiving element, the invoice neck sent for receiving current network billing machine purchases request;
Determining unit, waits for claimant purchase the state of invoice for what determines that described invoice neck purchases that request institute asks neck to be purchased;
First response unit, after state for purchasing invoice when waiting for claimant described in determining is not requested state, send can be led the response purchased to current network billing machine, after the state purchasing invoice when waiting for claimant described in determining is led the state of purchasing, send can not be led the response purchased to current network billing machine, after the state purchasing invoice when waiting for claimant described in determining is requested state, judge current network billing machine with specify ask described in the network billing machine purchasing invoice that waits for claimant whether be same, if, then send can be led the response purchased to current network billing machine, otherwise, send can not be led the response purchased to current network billing machine.
7. server according to claim 6, it is characterized in that, also comprise: the second response unit, for when the unfinished record preserving incomplete invoice in present networks billing machine determined by current network billing machine, receive the information of the described incomplete invoice that current network billing machine is sent, described incomplete invoice is determined according to described information, the state of described incomplete invoice is defined as being led the state of purchasing, the successful neck sending described incomplete invoice to current network billing machine purchases response, with the unfinished record making current network billing machine eliminate described incomplete invoice, wherein, the unfinished record of described incomplete invoice is the response can purchased by neck receiving described incomplete invoice at current network billing machine, send and confirm that neck produces after purchasing signal, and be eliminated after the successful neck receiving described incomplete invoice purchases response.
8. a network billing machine, is characterized in that, comprising: judging unit, transmitting element, the first response receiving element, request unit, the second response receiving element;
Described judging unit, for judging the unfinished record whether preserving incomplete invoice in present networks billing machine, when judged result is for being, notifies described transmitting element, when judged result is no, and notice described request unit;
Described transmitting element, for sending the information of described incomplete invoice to server, to make described server the state of described incomplete invoice be defined as being led the state of purchasing, the successful neck returning described incomplete invoice purchases response, notifies described first response receiving element;
Described first response receiving element, purchases response for the successful neck receiving described incomplete invoice, eliminates the unfinished record of described incomplete invoice, notice described request unit;
Described request unit, purchases request for sending invoice neck to described server;
Described second response receiving element, can be purchased response by neck for what receive that described server returns or can not be purchased response by neck;
Wherein, the unfinished record of described incomplete invoice can led the response purchased what receiving described incomplete invoice, and sends and confirm to produce after neck purchases signal, and is eliminated after the successful neck receiving described incomplete invoice purchases response; Described by neck to purchase state be invoice purchased successfully by neck time the state of invoice that records in the server.
9. network billing machine according to claim 8, it is characterized in that, also comprise: record generation unit, for receive that described server returns can be purchased response by neck after, described invoice neck is purchased waiting for claimant that request institute ask neck to be purchased and purchase invoice as incomplete invoice, the unfinished record of generation incomplete invoice.
10. a network billing system, is characterized in that, comprising:
As the server as described in arbitrary in claim 6-7 with as the network billing machine as described in arbitrary in claim 8-9.
CN201510509035.2A 2015-08-18 2015-08-18 network billing method and system, server and network billing machine Pending CN105139556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510509035.2A CN105139556A (en) 2015-08-18 2015-08-18 network billing method and system, server and network billing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510509035.2A CN105139556A (en) 2015-08-18 2015-08-18 network billing method and system, server and network billing machine

Publications (1)

Publication Number Publication Date
CN105139556A true CN105139556A (en) 2015-12-09

Family

ID=54724884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510509035.2A Pending CN105139556A (en) 2015-08-18 2015-08-18 network billing method and system, server and network billing machine

Country Status (1)

Country Link
CN (1) CN105139556A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996370A (en) * 2006-12-29 2007-07-11 鞍山市仕达电子工程有限公司 Invoicing system on internet
CN101493924A (en) * 2009-03-10 2009-07-29 中体彩科技发展有限公司 Transaction processing method of transaction processing system and lottery ticket transaction processing method
US20100063910A1 (en) * 2008-09-05 2010-03-11 Oracle International Corporation Providing a unified view of contract revenue and invoice details
US20100138255A1 (en) * 2008-12-03 2010-06-03 Sap Ag Architectural design for manual invoicing application software
CN201910098U (en) * 2010-11-26 2011-07-27 航天信息股份有限公司 Network billing machine
CN103179194A (en) * 2013-02-25 2013-06-26 白崇振 Transaction processing method, transaction processing system and server side
CN104753940A (en) * 2015-03-27 2015-07-01 北京圣世博泰科技股份有限公司 Invoicing method, plain invoice self-service terminal and server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996370A (en) * 2006-12-29 2007-07-11 鞍山市仕达电子工程有限公司 Invoicing system on internet
US20100063910A1 (en) * 2008-09-05 2010-03-11 Oracle International Corporation Providing a unified view of contract revenue and invoice details
US20100138255A1 (en) * 2008-12-03 2010-06-03 Sap Ag Architectural design for manual invoicing application software
CN101493924A (en) * 2009-03-10 2009-07-29 中体彩科技发展有限公司 Transaction processing method of transaction processing system and lottery ticket transaction processing method
CN201910098U (en) * 2010-11-26 2011-07-27 航天信息股份有限公司 Network billing machine
CN103179194A (en) * 2013-02-25 2013-06-26 白崇振 Transaction processing method, transaction processing system and server side
CN104753940A (en) * 2015-03-27 2015-07-01 北京圣世博泰科技股份有限公司 Invoicing method, plain invoice self-service terminal and server

Similar Documents

Publication Publication Date Title
CN103186466B (en) Information interactive testing device and method based on association automatic generating test case
CN103475682B (en) File transfer method and file transfer equipment
CN108184233A (en) A kind of number carrying method and system
CN106406826B (en) Joint debugging task creation method, system joint debugging method and device
CN105376203B (en) The processing method of interactive information, apparatus and system
CN108961004A (en) Processing method, device, system, electronic equipment and the medium of cloud service order
CN107045676A (en) Logistics circulation message treatment method and device
CN106408096A (en) Data processing method in online ticketing system and online ticketing system
CN104463583A (en) Transaction surveillance method and device
CN111510908A (en) Card opening method, device, equipment and medium
CN105260924A (en) Mobile terminal, order processing method thereof and Internet ticketing system and method
CN109933486B (en) Logistics data monitoring processing method, device and system
CN108632211B (en) Binding method and device of intelligent equipment
CN107040619B (en) System and method for generating and managing hardware unique identification code
CN107305673A (en) A kind of order processing method and apparatus
CN107203877A (en) The method and apparatus for closely realizing business between account
CN102802145A (en) Network service billing method, device and system
CN104917720A (en) Method and device for resetting password
CN104809239A (en) Instrument appointment registering method and management platform of instruments
CN105139556A (en) network billing method and system, server and network billing machine
CN105827563A (en) Information verification method, intermediate platform and business support system
CN103634322A (en) Heartbeat management method, heartbeat management device and heartbeat management system for application programs
WO2023045795A1 (en) Infrared communication method and apparatus, and storage medium and electronic apparatus
CN104166658B (en) A kind of method, apparatus and system of media information displaying
CN105790975A (en) Service processing operation execution method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151209