CN103530929B - A kind of method of dispatching deciphering machine - Google Patents

A kind of method of dispatching deciphering machine Download PDF

Info

Publication number
CN103530929B
CN103530929B CN201210228456.4A CN201210228456A CN103530929B CN 103530929 B CN103530929 B CN 103530929B CN 201210228456 A CN201210228456 A CN 201210228456A CN 103530929 B CN103530929 B CN 103530929B
Authority
CN
China
Prior art keywords
deciphering
deciphering machine
invoice
duty
machine
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
CN201210228456.4A
Other languages
Chinese (zh)
Other versions
CN103530929A (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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201210228456.4A priority Critical patent/CN103530929B/en
Publication of CN103530929A publication Critical patent/CN103530929A/en
Application granted granted Critical
Publication of CN103530929B publication Critical patent/CN103530929B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The present invention relates to a kind of method of dispatching deciphering machine.The method comprises: step 1: server receives the invoice data information comprising invoice ciphertext; Step 2: server lookup deciphering machine duty table, judges whether that there is duty is idle deciphering machine, is, from wherein selecting one as specifying deciphering machine; Wherein, deciphering machine duty table comprises the duty of whole deciphering machine, and the duty of deciphering machine comprises idle and busy; Step 3: invoice ciphertext is sent to appointment deciphering machine by server, and the duty of this appointment deciphering machine in deciphering machine duty table is changed into busy by the free time; Step 4: specify deciphering machine to be decrypted invoice ciphertext, and the invoice decryption information obtained is delivered to server; Step 5: after server receipt of invoice decryption information, specifies the duty of deciphering machine to change the free time into by busy by deciphering machine duty table.The present invention can improve the utilization ratio of deciphering machine, and then improves decryption efficiency.

Description

A kind of method of dispatching deciphering machine
Technical field
The present invention relates to invoice anticounterfeiting technical field, particularly relate to a kind of method of dispatching deciphering machine.
Background technology
The anti-fake certificate of invoice has the meaning of particular importance for state tax revenue.At present, the anti-fake certificate of invoice adopts the form of electronization to carry out, to improve the work efficiency of the tax authority and tax unit usually.
Fig. 1 is the structural drawing of tax end in existing electronic anti-fogery authentication method.As shown in Figure 1, the server 101 of tax end is connected with multiple deciphering machine 102, this server 101 can receive the invoice data information sent here outside, also the true and false information of invoice corresponding for this invoice data information can be sent, and invoice data information wherein comprises invoice plaintext and invoice ciphertext.Server 101 judges the foundation of true from false of bills is whether invoice is expressly identical with the decryption information (being referred to as invoice decryption information) of invoice ciphertext, is judge that this invoice is true invoice, otherwise be false invoice.
Invoice ciphertext deciphering machine 102 in invoice data information is decrypted thus obtains invoice decryption information.In order to improve decryption efficiency, and reducing the depreciation speed of deciphering machine 102, the quantity of deciphering machine 102, in two or more, this generates the scheduling problem of deciphering machine, namely server 101 is after receipt of invoice data message, invoice ciphertext is wherein delivered to the problem which deciphering machine 102 is decrypted.Prior art takes in-turn system to solve this problem, namely be numbered deciphering machine 102 is ascending, invoice ciphertext in first invoice data information is mail to the minimum deciphering machine 102 of numbering and is decrypted by server 101, invoice ciphertext in second invoice data information is mail to numbering time little deciphering machine 102 to be decrypted, the rest may be inferred, used until number maximum deciphering machine 102, then move in circles use again by the deciphering machine 102 that numbering is minimum.
There are the following problems for existing this in-turn system method: not yet process at the current deciphering machine that will use of server 101 the invoice ciphertext sent here last time and be in busy condition, but when having other deciphering machines to be in idle condition, server 101 can only be selected to wait for, the deciphering machine process that will use until current completes, and then current invoice ciphertext to be processed is delivered to this deciphering machine.Visible, the method is not high to the utilization ratio of deciphering machine, causes decryption efficiency not high yet.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of method of dispatching deciphering machine, can improve the utilization ratio of deciphering machine, and then improves decryption efficiency.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of method of dispatching deciphering machine, and described deciphering machine is used for being decrypted invoice ciphertext, and its quantity is two or more; The method comprises:
Step 1: server receives invoice data information; Wherein, described invoice data information comprises invoice ciphertext;
Step 2: described server lookup deciphering machine duty table, judges whether that there is duty is idle deciphering machine, is, is select one all deciphering machines of free time as specifying deciphering machine from duty; Wherein, described deciphering machine duty table comprises the duty of whole deciphering machine, and the duty of described deciphering machine comprises idle and busy;
Step 3: described invoice ciphertext is sent to described appointment deciphering machine by described server, and the duty of this appointment deciphering machine in described deciphering machine duty table is changed into busy by the free time;
Step 4: described appointment deciphering machine is decrypted described invoice ciphertext, and the invoice decryption information obtained is delivered to described server;
Step 5: after described server receives described invoice decryption information, specifies the duty of deciphering machine to change the free time into by busy described in described deciphering machine duty table.
The invention has the beneficial effects as follows: in the present invention, server is after receipt of invoice data message, by inquiry deciphering machine duty table, the state of finding a job is idle deciphering machine, then therefrom choose one as the appointment deciphering machine be decrypted the invoice ciphertext in invoice data information, and its duty is changed into by the free time busy; At appointment deciphering machine, the deciphering that this invoice ciphertext is carried out is completed, and using invoice decryption information as after decrypted result sends server back to, the duty of this appointment deciphering machine is changeed back the free time by server.Visible, as long as available free deciphering machine, the present invention can ensure that while receipt of invoice ciphertext, deliver to deciphering machine by it is decrypted, and relative to the prior art adopting in-turn system, the present invention can improve the utilization ratio of deciphering machine, and then improves decryption efficiency.
On the basis of technique scheme, the present invention can also do following improvement:
Further, invoice is also comprised in described invoice data information expressly;
After described step 5, the method also comprises step 6: described server judges whether described invoice decryption information is expressly identical with described invoice, be that the information of true invoice exports by invoice corresponding for described invoice data information, otherwise, be that the information of false invoice exports by invoice corresponding for described invoice data information.
Further, in described step 6, if described server judges that described invoice decryption information is expressly identical with described invoice, then preserve described invoice decryption information, and be the information output of true invoice by invoice corresponding for described invoice data information.
Further, described step 1 comprises:
Server receives encryption invoice data information;
Described server obtains described invoice data information after being decrypted described encryption invoice data information.
Further, described step 1 comprises:
Server receives compression invoice data information;
Described server obtains described invoice data information after decompressing to described compression invoice data information.
Further, in described step 2, if described server judges that there is not duty is idle deciphering machine, then wait for, until have the duty of a deciphering machine in described deciphering machine duty table at least for idle, and then be select one all deciphering machines of free time as specifying deciphering machine from duty.
Further, described deciphering machine and digital code have one-to-one relationship;
In described step 2, described server selects one from duty is idle all deciphering machines: described server judges whether duty be the quantity of the deciphering machine of free time is one, if, be then that the deciphering machine of free time is as described appointment deciphering machine using this duty, otherwise, be correspond to the deciphering machine of minimum digital code in all deciphering machines of free time as described appointment deciphering machine using duty.
Further, described deciphering machine duty table also comprises the IP address of whole deciphering machine;
In described step 2, described server selects one from duty is idle all deciphering machines: described server judges whether duty be the quantity of the deciphering machine of free time is one, if, be then that the deciphering machine of free time is as described appointment deciphering machine using this duty, otherwise, perform step 2-1, step 2-2 and step 2-3 successively;
Step 2-1: described server determination duty is the IP address of idle all deciphering machines;
Step 2-2: described server is that deciphering machine load balancing table is inquired about in the IP address of all deciphering machines of free time according to duty, determines that duty is the accumulative number of tasks of idle all deciphering machines; Wherein, described deciphering machine load balancing table comprises accumulative number of tasks and the IP address of whole deciphering machine, and all the initial value of the accumulative number of tasks of deciphering machine is 0;
Step 2-3: described server is idle from duty and adds up to select one as described appointment deciphering machine the minimum all deciphering machines of number of tasks;
In described step 5, after described server receives described invoice decryption information, also will the accumulative number of tasks of deciphering machine described in described deciphering machine load balancing table, be specified to increase by 1.
Further, in described step 1, the invoice data information that described server receives is from N number of tax unit; Then
If N is not more than 3200, then the quantity of described deciphering machine is more than 2;
If N is greater than 3200, then the quantity of described deciphering machine is | more than 2+N/3200|; Wherein, | X| is bracket function.
Further, if N is greater than 3200, then the quantity of described deciphering machine is | 2+N/3200|*2.
Accompanying drawing explanation
Fig. 1 is the structural drawing of tax end in existing electronic anti-fogery authentication method;
Fig. 2 is the process flow diagram of the method for scheduling deciphering machine provided by the invention.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
Fig. 2 is the process flow diagram of the method for scheduling deciphering machine provided by the invention, in the method, the structure of tax end is same as the prior art, it is still structure shown in Fig. 1, namely in the present invention, server 101 is also connected with plural deciphering machine 102, to carry out the mutual of data, simultaneously, server 101 also has communication connection with the equipment (as gateway, accepting server, fire wall, internet etc.) of outside, to receive the invoice data information sent here outside, and the true and false information of the invoice corresponding to invoice data information is exported.
In the present invention, deciphering machine is used for being decrypted invoice ciphertext, and its quantity is two or more.
As shown in Figure 2, the method for scheduling deciphering machine provided by the invention comprises:
Step 1: server receives invoice data information; Wherein, invoice data information comprises invoice ciphertext.
In this step, invoice data information is from the external unit be connected with the server 101 in Fig. 1, as gateway, accepting server, fire wall, internet etc., in fact, the enterprises end equipment of final source for installing in corresponding enterprise of this invoice data information, as scanner, offsetting slip information acquisition module etc., this invoice data information is that the information collecting devices such as the scanner of enterprises end collect from invoice, then internet is passed through, fire wall, accepting server, the device transmission such as gateway are to server 101, therefore, invoice information data also just have relation one to one with invoice, that reflects the ticket information of this invoice, utilize electronic anti-fogery authentication method of the present invention just by verifying that these invoice information data determine the true and false of this invoice.
Distorted to prevent invoice data information halfway; ensure the accuracy of data transmission; enterprises end equipment is when sending invoice data information to server; usually can be encrypted it, obtain encryption invoice data information, like this; server is after receiving encryption invoice data information; will decipher it, obtain the invoice data information that decrypted, namely step 1 comprises:
Server receives encryption invoice data information;
After server is decrypted encryption invoice data information, obtain invoice data information, this invoice data information comprises the invoice ciphertext that will be decrypted in subsequent step.
In addition, in order to reduce the bandwidth shared by data transmission, improve transmission speed, enterprises end equipment, when sending invoice data information to server, also can compress it, obtain compression invoice data information, like this, server, after receiving this compression invoice data information, will decompress to it, thus obtain the invoice data information that decompressed, namely step 1 comprises:
Server receives compression invoice data information;
Server obtains above-mentioned invoice data information after decompressing to compression invoice data information.
Certainly, enterprises end can first be encrypted invoice data information, again the encryption invoice data information obtained is compressed, and then the encryption invoice data information that have compressed is sent to server, like this, server will first decompress to the encryption invoice data information that have compressed received in this step, then be decrypted the result decompressed, thus obtain the invoice data information that can be identified.
Step 2: server lookup deciphering machine duty table, judges whether that there is duty is idle deciphering machine, is, is select one all deciphering machines of free time as specifying deciphering machine from duty; Wherein, deciphering machine duty table comprises the duty of whole deciphering machine, and the duty of deciphering machine comprises idle and busy.
This step, for determining the deciphering machine be decrypted the invoice ciphertext in step 1, is also the committed step that the present invention is different from prior art.
The present invention is that each deciphering machine is provided with idle and these two kinds of duties busy, for busy, duty means that this deciphering machine is decrypted the invoice ciphertext provided before server current time, also just mean that this deciphering machine is current and can not process data, duty is then mean this deciphering machine current untreated any data the free time, can be put into use immediately.
In the present invention, server can by the duty real time record of whole deciphering machine in deciphering machine duty table, like this, when through step 1, after server receives an invoice data information, this deciphering machine duty table can be inquired about immediately, judge whether that there is duty is idle deciphering machine, if judged result is yes, then server can select one as the deciphering machine be decrypted the invoice ciphertext in step 1 immediately from duty is idle all deciphering machines, and this selected deciphering machine is called appointment deciphering machine in the present invention.
Certainly, in this step, if server judges that there is not duty is idle deciphering machine, then can wait for, until have the duty of a deciphering machine in deciphering machine duty table at least for idle, and then server is select one all deciphering machines of free time as specifying deciphering machine from duty.
Certainly, when only having the duty of a deciphering machine to be idle in deciphering machine duty table, server, can directly using the appointment deciphering machine of this deciphering machine as this invoice ciphertext of process without the need to selecting.
Step 3: invoice ciphertext is sent to appointment deciphering machine by server, and the duty of this appointment deciphering machine in deciphering machine duty table is changed into busy by the free time.
After step 2 determines the appointment deciphering machine of process invoice ciphertext, this step is delivered to this appointment deciphering machine by invoice ciphertext and is processed, now this appointment deciphering machine has just had task, thus server needs its duty to be changed into busy by the free time, in case it can be used as idle deciphering machine to inquire in other invoice ciphertext mistimings of process.
Step 4: specify deciphering machine to be decrypted invoice ciphertext, and the invoice decryption information obtained is delivered to server.
In this step, specify deciphering machine to be known and secret to the method that invoice ciphertext is decrypted, the result obtained after invoice ciphertext is decrypted is called invoice decryption information.
Step 5: after server receipt of invoice decryption information, specifies the duty of deciphering machine to change the free time into by busy by deciphering machine duty table.
Server receives the invoice decryption information that step 4 obtains, and indicate and specify the decryption work of deciphering machine to complete, thus server needs to specify the duty of deciphering machine to change the free time into by busy by deciphering machine duty table.
As can be seen here, in the present invention, server is after receipt of invoice data message, by inquiry deciphering machine duty table, the state of finding a job is idle deciphering machine, then therefrom choose one as the appointment deciphering machine be decrypted the invoice ciphertext in invoice data information, and its duty is changed into by the free time busy; At appointment deciphering machine, the deciphering that this invoice ciphertext is carried out is completed, and using invoice decryption information as after decrypted result sends server back to, the duty of this appointment deciphering machine is changeed back the free time by server.Visible, as long as available free deciphering machine, the present invention can ensure that while receipt of invoice ciphertext, deliver to deciphering machine by it is decrypted, and relative to the prior art adopting in-turn system, the present invention can improve the utilization ratio of deciphering machine, and then improves decryption efficiency.
In the present invention, invoice data information, except comprising invoice ciphertext, can also comprise invoice expressly.The purpose of design of electronic anti-fogery authentication method of the present invention is utilized to be the true or false of the invoice that will judge corresponding to invoice data information, thus after step 5 server obtains invoice decryption information, also need to utilize this invoice decryption information to determine the true and false of invoice, like this, after step 5, the method can also comprise step 6: server judges whether invoice decryption information is expressly identical with invoice, be that the information of true invoice exports by invoice corresponding for invoice data information, otherwise, be that the information of false invoice exports by invoice corresponding for invoice data information.
Further, be outside true invoice determining the invoice corresponding to invoice data information, server is also tackled this invoice data information and is backed up, like this, in step 6, if server judges that invoice decryption information is expressly identical with invoice, then, except by invoice corresponding for invoice data information being the information output of true invoice, this invoice decryption information can also be preserved.
In step 2, server is select one to have a variety of as specifying the method for deciphering machine all deciphering machines of free time from duty, lifts two specific embodiments below.
Specific embodiment one:
For each deciphering machine arranges a digital code, deciphering machine and digital code is made to have relation one to one;
Then in step 2, server selects one from duty is idle all deciphering machines: server judges whether duty be the quantity of the deciphering machine of free time is one, if, be then that the deciphering machine of free time is as appointment deciphering machine using this duty, otherwise, be correspond to the deciphering machine of minimum digital code as appointment deciphering machine in idle all deciphering machines using duty.
Visible, this embodiment is relatively simple, in working order for the quantity of idle deciphering machine more than one time, server only need carry out size comparison to the digital code of each deciphering machine, can determine rapidly to specify deciphering machine.
Specific embodiment two:
In deciphering machine duty table except comprising the duty of whole deciphering machine, also comprise the IP address of whole deciphering machine;
So in step 2, server selects one from duty is idle all deciphering machines: server judges whether duty be the quantity of the deciphering machine of free time is one, if, be then that the deciphering machine of free time is as appointment deciphering machine using this duty, otherwise, perform step 2-1, step 2-2 and step 2-3 successively;
Step 2-1: server determination duty is the IP address of idle all deciphering machines;
Step 2-2: server is that deciphering machine load balancing table is inquired about in the IP address of all deciphering machines of free time according to duty, determines that duty is the accumulative number of tasks of idle all deciphering machines; Wherein, deciphering machine load balancing table comprises accumulative number of tasks and the IP address of whole deciphering machine, and all the initial value of the accumulative number of tasks of deciphering machine is 0;
Step 2-3: server is idle from duty and adds up to select one the minimum all deciphering machines of number of tasks as specifying deciphering machine.
And in steps of 5, after server receipt of invoice decryption information, except will the duty of deciphering machine be specified in deciphering machine duty table to change the free time into by busy, also 1 to be increased by specifying in deciphering machine load balancing table the accumulative number of tasks of deciphering machine.
Visible, this embodiment is also provided with deciphering machine load balancing table to record accumulative number of tasks and the IP address of whole deciphering machine, thus utilize the homogeneity of deciphering machine IP address, mate in deciphering machine duty table and deciphering machine load balancing table, that is, the IP address of the deciphering machine utilizing duty to be the free time is as index, in deciphering machine load balancing table, inquire about the accumulative number of tasks of the deciphering machine corresponding to each IP address, then select a free time and add up the minimum deciphering machine of number of tasks as appointment deciphering machine.Certainly, if the minimum deciphering machine of idle and accumulative number of tasks only has one, then server is without the need to selecting, and this deciphering machine selected is as appointment deciphering machine at once.
Relative to specific embodiment one, the complexity of specific embodiment two is higher, thus under the prerequisite that hardware is identical, this embodiment is selected to specify the speed of deciphering machine also just slow, but, specific embodiment two considers the accumulative number of tasks of deciphering machine, object makes the deciphering machine that cumulative activation amount is little in running order more, and reduce the work of the large deciphering machine of accumulative number of tasks as far as possible, thus make the overall work amount of each deciphering machine be tending towards identical, be conducive to the depreciation speed reducing deciphering machine like this, improve the serviceable life of system.
In the present invention, the volume of services positive correlation that the connected server of quantity (101 in Fig. 1) of deciphering machine provides, the volume of services that server provides is larger, the tax unit namely carrying out communicating with this server is more, then the quantity of deciphering machine is corresponding also more, this can improve the efficiency of deciphering, reduces the depreciation speed of each deciphering machine simultaneously, extends the serviceable life of deciphering machine.
Determine that the method for deciphering machine quantity has a variety of, such as: in step 1, the invoice data information that server receives can from N number of tax unit, that is, server provides service to this N number of tax unit, other taxs unit by other server providing services, certainly, the span of N is positive integer, then
If N is not more than 3200, then the quantity of deciphering machine can be set to more than 2;
If N is greater than 3200, then the quantity of deciphering machine can be set to | more than 2+N/3200|, here, | X| is bracket function, namely X is carried out to the function of rounding operation.Such as, N is 3201, then the quantity of deciphering machine is at least 3.
Here, when N is greater than 3200, the quantity of deciphering machine is at least | and 2+N/3200|, the deciphering machine exceeded can be used as backup and uses, thus, when N is greater than 3200, during the deciphering machine that each deciphering machine has to back up, the security of system is the highest, that is: if N is greater than 3200, then the most preferred embodiment of deciphering machine quantity is | 2+N/3200|*2.
As can be seen here, the present invention has the following advantages:
(1) in the present invention, server is after receipt of invoice data message, by inquiry deciphering machine duty table, the state of finding a job is idle deciphering machine, then therefrom choose one as the appointment deciphering machine be decrypted the invoice ciphertext in invoice data information, and its duty is changed into by the free time busy; At appointment deciphering machine, the deciphering that this invoice ciphertext is carried out is completed, and using invoice decryption information as after decrypted result sends server back to, the duty of this appointment deciphering machine is changeed back the free time by server.Visible, as long as available free deciphering machine, the present invention can ensure that while receipt of invoice ciphertext, deliver to deciphering machine by it is decrypted, and relative to the prior art adopting in-turn system, the present invention can improve the utilization ratio of deciphering machine, and then improves decryption efficiency.
(2) specific embodiments of the invention consider the accumulative number of tasks of deciphering machine, the deciphering machine that cumulative activation amount is little can be made in running order more, and reduce the work of the large deciphering machine of accumulative number of tasks as far as possible, thus make the overall work amount of each deciphering machine be tending towards identical, be conducive to the depreciation speed reducing deciphering machine like this, improve the serviceable life of system.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. dispatch a method for deciphering machine, described deciphering machine is used for being decrypted invoice ciphertext, and its quantity is two or more; It is characterized in that, the method comprises:
Step 1: server receives invoice data information; Wherein, described invoice data information comprises invoice ciphertext;
Step 2: described server lookup deciphering machine duty table, judges whether that there is duty is idle deciphering machine, is, is select one all deciphering machines of free time as specifying deciphering machine from duty; Wherein, described deciphering machine duty table comprises the duty of whole deciphering machine, and the duty of described deciphering machine comprises idle and busy;
Step 3: described invoice ciphertext is sent to described appointment deciphering machine by described server, and the duty of this appointment deciphering machine in described deciphering machine duty table is changed into busy by the free time;
Step 4: described appointment deciphering machine is decrypted described invoice ciphertext, and the invoice decryption information obtained is delivered to described server;
Step 5: after described server receives described invoice decryption information, specifies the duty of deciphering machine to change the free time into by busy described in described deciphering machine duty table.
2. the method for scheduling deciphering machine according to claim 1, is characterized in that, also comprises invoice expressly in described invoice data information;
After described step 5, the method also comprises step 6: described server judges whether described invoice decryption information is expressly identical with described invoice, be that the information of true invoice exports by invoice corresponding for described invoice data information, otherwise, be that the information of false invoice exports by invoice corresponding for described invoice data information.
3. the method for scheduling deciphering machine according to claim 2, it is characterized in that, in described step 6, if described server judges that described invoice decryption information is expressly identical with described invoice, then preserve described invoice decryption information, and be the information output of true invoice by invoice corresponding for described invoice data information.
4. the method for scheduling deciphering machine according to claim 1, is characterized in that, described step 1 comprises:
Server receives encryption invoice data information;
Described server obtains described invoice data information after being decrypted described encryption invoice data information.
5. the method for scheduling deciphering machine according to claim 1, is characterized in that, described step 1 comprises:
Server receives compression invoice data information;
Described server obtains described invoice data information after decompressing to described compression invoice data information.
6. the method for scheduling deciphering machine according to claim 1, it is characterized in that, in described step 2, if described server judges that there is not duty is idle deciphering machine, then wait for, until have the duty of a deciphering machine in described deciphering machine duty table at least for idle, and then be select one all deciphering machines of free time as specifying deciphering machine from duty.
7. the method for the scheduling deciphering machine according to claim 1 or 6, is characterized in that, described deciphering machine and digital code have one-to-one relationship;
In described step 2, described server selects one from duty is idle all deciphering machines: described server judges whether duty be the quantity of the deciphering machine of free time is one, if, be then that the deciphering machine of free time is as described appointment deciphering machine using this duty, otherwise, be correspond to the deciphering machine of minimum digital code in all deciphering machines of free time as described appointment deciphering machine using duty.
8. the method for the scheduling deciphering machine according to claim 1 or 6, is characterized in that, described deciphering machine duty table also comprises the IP address of whole deciphering machine;
In described step 2, described server selects one from duty is idle all deciphering machines: described server judges whether duty be the quantity of the deciphering machine of free time is one, if, be then that the deciphering machine of free time is as described appointment deciphering machine using this duty, otherwise, perform step 2-1, step 2-2 and step 2-3 successively;
Step 2-1: described server determination duty is the IP address of idle all deciphering machines;
Step 2-2: described server is that deciphering machine load balancing table is inquired about in the IP address of all deciphering machines of free time according to duty, determines that duty is the accumulative number of tasks of idle all deciphering machines; Wherein, described deciphering machine load balancing table comprises accumulative number of tasks and the IP address of whole deciphering machine, and all the initial value of the accumulative number of tasks of deciphering machine is 0;
Step 2-3: described server is idle from duty and adds up to select one as described appointment deciphering machine the minimum all deciphering machines of number of tasks;
In described step 5, after described server receives described invoice decryption information, also will the accumulative number of tasks of deciphering machine described in described deciphering machine load balancing table, be specified to increase by 1.
9. the method for scheduling deciphering machine according to claim 1, is characterized in that, in described step 1, the invoice data information that described server receives is from N number of tax unit; Then
If N is not more than 3200, then the quantity of described deciphering machine is more than 2;
If N is greater than 3200, then the quantity of described deciphering machine is | more than 2+N/3200|; Wherein, | X| is bracket function.
10. the method for scheduling deciphering machine according to claim 9, is characterized in that, if N is greater than 3200, then the quantity of described deciphering machine is | 2+N/3200|*2.
CN201210228456.4A 2012-07-02 2012-07-02 A kind of method of dispatching deciphering machine Active CN103530929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210228456.4A CN103530929B (en) 2012-07-02 2012-07-02 A kind of method of dispatching deciphering machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210228456.4A CN103530929B (en) 2012-07-02 2012-07-02 A kind of method of dispatching deciphering machine

Publications (2)

Publication Number Publication Date
CN103530929A CN103530929A (en) 2014-01-22
CN103530929B true CN103530929B (en) 2015-11-18

Family

ID=49932906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210228456.4A Active CN103530929B (en) 2012-07-02 2012-07-02 A kind of method of dispatching deciphering machine

Country Status (1)

Country Link
CN (1) CN103530929B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302699B (en) * 2016-08-11 2019-12-27 广州慧睿思通信息科技有限公司 Method for processing decryption tasks of PC (personal computer) ends of multiple decryptors
CN108260191A (en) * 2016-12-29 2018-07-06 展讯通信(上海)有限公司 Mobile terminal and its dormant control method
CN107194292A (en) * 2017-05-02 2017-09-22 中国联合网络通信集团有限公司 A kind of card writing method and system
CN110098918B (en) * 2019-03-28 2022-11-22 中至数据集团股份有限公司 Decryption scheduling method and device, readable storage medium and computer equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2487059Y (en) * 2001-06-08 2002-04-17 北京科瑞奇技术开发有限公司 Intelligent anti-fake tax control machine
WO2005004484A1 (en) * 2003-07-03 2005-01-13 Bt Ignite Gmbh & Co Method and device for transmitting decryption codes of freely transmitted, encrypted program contents to clearly identifiable receivers
CN101751712A (en) * 2008-11-27 2010-06-23 航天信息股份有限公司 Centralized invoice authentification system and authentification method
CN102194292A (en) * 2010-03-10 2011-09-21 航天信息股份有限公司 Billing server, tax copying system and tax copying method
CN102291383A (en) * 2011-05-13 2011-12-21 中国电信股份有限公司 Method and system for processing tax related service on line, service terminal and server
CN103532711A (en) * 2012-07-02 2014-01-22 航天信息股份有限公司 Encryption data transmission based real-time invoice authentication method and system
CN103530932A (en) * 2012-07-02 2014-01-22 航天信息股份有限公司 System and method for real-time invoice authenticity verifying

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007184000A (en) * 2000-01-14 2007-07-19 Mitsubishi Electric Corp Method and apparatus for encryption, method and apparatus for decryption, and computer-readable recording medium storing program
JP4963391B2 (en) * 2006-09-20 2012-06-27 日立オムロンターミナルソリューションズ株式会社 Paper sheet deposit and withdrawal device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2487059Y (en) * 2001-06-08 2002-04-17 北京科瑞奇技术开发有限公司 Intelligent anti-fake tax control machine
WO2005004484A1 (en) * 2003-07-03 2005-01-13 Bt Ignite Gmbh & Co Method and device for transmitting decryption codes of freely transmitted, encrypted program contents to clearly identifiable receivers
CN101751712A (en) * 2008-11-27 2010-06-23 航天信息股份有限公司 Centralized invoice authentification system and authentification method
CN102194292A (en) * 2010-03-10 2011-09-21 航天信息股份有限公司 Billing server, tax copying system and tax copying method
CN102291383A (en) * 2011-05-13 2011-12-21 中国电信股份有限公司 Method and system for processing tax related service on line, service terminal and server
CN103532711A (en) * 2012-07-02 2014-01-22 航天信息股份有限公司 Encryption data transmission based real-time invoice authentication method and system
CN103530932A (en) * 2012-07-02 2014-01-22 航天信息股份有限公司 System and method for real-time invoice authenticity verifying

Also Published As

Publication number Publication date
CN103530929A (en) 2014-01-22

Similar Documents

Publication Publication Date Title
CN103491084B (en) The authentication method of a kind of client and device
CN103530932B (en) A kind of system and method for the true and false of real-time verification invoice
CN102904865B (en) A kind of management method, system and equipment of the multiple digital certificates based on mobile terminal
CN103530929B (en) A kind of method of dispatching deciphering machine
CN110543510B (en) Bill data processing method, device, storage medium and computer equipment
CN103532711A (en) Encryption data transmission based real-time invoice authentication method and system
CN106101178A (en) A kind of subscription message distribution, method of reseptance, device and related system
CN105678365A (en) Two-dimensional code e-ticket generation method and system, two-dimensional code e-ticket verification method and verification terminal
CN102800015A (en) Financial IC (Integrated Circuit) card long-distance individualized method and system
CN104754009A (en) Service acquisition and invocation method, device, client-side and server
CN103095684A (en) Method obtaining attention user aggregate information, device and system
CN102055580A (en) Method for safely sending and receiving enterprise information in industrial internet and communication equipment
CN114662147B (en) Private information retrieval method and system suitable for large-scale database
CN104951712A (en) Data safety protection method in Xen virtualization environment
CN104080059A (en) Method, device and system of implementing short message sending and receiving
CN107391051A (en) A kind of file printing method, device and system
CN106411501A (en) Method and system for generating permission token and equipment
CN102231181B (en) Computer system used for file encryption and file encryption method
WO2015085852A1 (en) Email-based p2p data processing system and data processing method
EP2439881A1 (en) Cluster system and request message distribution method for processing multi-node transaction
CN103347248A (en) Cross-region identity authentication method based on hand-held terminal
CN104683353A (en) Security information adaptive communication system for internet of vehicles
CN111027089A (en) Key management communication method based on safe edge calculation
CN102685235A (en) Message dispatching method and system
CN102739412A (en) Batch scheduling control method and system of information

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