CN111445300A - Data processing method and system - Google Patents
Data processing method and system Download PDFInfo
- Publication number
- CN111445300A CN111445300A CN202010217505.9A CN202010217505A CN111445300A CN 111445300 A CN111445300 A CN 111445300A CN 202010217505 A CN202010217505 A CN 202010217505A CN 111445300 A CN111445300 A CN 111445300A
- Authority
- CN
- China
- Prior art keywords
- invoicing
- server
- data
- tax control
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/04—Billing or invoicing
Landscapes
- Business, Economics & Management (AREA)
- Development Economics (AREA)
- Accounting & Taxation (AREA)
- Economics (AREA)
- Finance (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The first terminal obtains invoicing data to be processed, generates an invoicing application request corresponding to the invoicing data, sends the invoicing application request to a first server which is in communication connection with the first terminal, and the first server selects a target tax control disc and a target second server from idle tax control discs in an online state and forwards the invoicing application request to the target second server. The target second server determines the position of each piece of data in the invoicing data in an invoice interface, fills each piece of data in the invoicing data in the invoice interface provided by the target tax control panel according to the position of each piece of data in the invoicing interface to obtain invoice image data, and sends a printing instruction to the printer to instruct the printer to print an invoice corresponding to the invoice image data according to the invoice image data, so that the automatic execution from the application of invoicing to the printing of the invoice is completed, the invoicing cost is reduced, and the invoicing efficiency is improved.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data processing method and system.
Background
In the existing billing system, a tax control disc is taken as a core, the tax control disc and a printer for printing invoices are connected to a terminal, billing software is installed on the terminal, and a data reading instruction is sent to the tax control disc through the billing software installed on the terminal to obtain billing authority and billing data (such as taxpayer names, taxpayer identification numbers, taxpayer addresses, taxpayer telephones, billing line information, billing account information, invoice amount, tax rate and other information) required by billing, so that when the billing authority is obtained, a user using the terminal inputs the billing data to a corresponding position in an invoice interface of the tax control disc to generate invoices, and then the printer is called to print paper invoices.
According to the invoicing system, in the process of invoicing any one invoice, a user needs to input invoicing data into an invoice interface of a tax control disc, and invoices are invoiced under the condition that the input invoicing data are repeatedly corrected, so that the invoicing cost is improved and the invoicing efficiency is reduced.
Disclosure of Invention
In view of the above, the present application provides a data processing method and system for automatically filling invoicing data into an invoice interface, so as to reduce the invoicing cost and improve the invoicing efficiency.
In one aspect, the present application provides a data processing method, including:
the method comprises the steps that a first terminal obtains invoicing data to be processed and generates an invoicing application request corresponding to the invoicing data;
the first terminal sends the invoicing application request to a first server which is in communication connection with the first terminal;
the method comprises the steps that a first server selects a target tax control disk and a target second server communicated with the target tax control disk from idle tax control disks in an online state;
the first server forwards the invoicing application request to the target second server;
the target second server determines the position of each piece of data in the invoicing data carried by the invoicing application request in an invoice interface, and fills each piece of data in the invoicing data into the invoice interface provided by the target tax control disc according to the position of each piece of data in the invoicing interface to obtain invoice image data;
and the target second server sends a printing instruction to a printer, and the printing instruction instructs the printer to print out an invoice corresponding to the invoice image data according to the invoice image data.
Optionally, the method further includes:
the first terminal sends a tax control disc state query request to the first server;
the first server sends the tax control disk state inquiry request to each second server which is communicated with the first server;
the second servers respectively inquire whether a process of the tax control disc for establishing the communication connection runs in process information according to the tax control disc state inquiry request and identification information of the tax control disc for establishing the communication connection, and if the process of the tax control disc for establishing the communication connection runs, the second servers send an inquiry result indicating that the tax control disc is in an online state to the first server;
and the first server sends the query result indicating that the tax control disc is in the online state to the first terminal.
Optionally, the method further includes:
the first server receives invoicing application requests sent by each second terminal, and the invoicing application requests sent by the second terminals carry invoicing data;
the first server distributes the invoicing application requests sent by the second terminals to the first terminals according to a preset distribution algorithm;
the first terminal acquires the invoicing data to be processed, and the generating of the invoicing application request corresponding to the invoicing data comprises the following steps: and the first terminal selects the invoicing data to be processed from the received invoicing application request sent by the second terminal, and generates an invoicing application request corresponding to the selected invoicing data.
Optionally, the allocating, by the first server, the invoicing application request sent by each second terminal to the first terminal according to a preset allocation algorithm includes at least one of the following manners:
the first server randomly distributes the invoicing application requests sent by the second terminals to the first terminals;
the first server equally distributes the invoicing application requests sent by the second terminals to the first terminals;
the first server distributes the invoicing application requests sent by the second terminals to the first terminals according to the user weights corresponding to the first terminals;
and the first server distributes the invoicing application requests carrying the similar invoicing data to the same first terminal.
Optionally, the method further includes:
and if the first server determines that no tax control panel is in an online state at present, sending prompt information to the first terminal, wherein the prompt information is used for indicating the start of the tax control panel.
In another aspect, the present application further provides a data processing system, the system comprising: the system comprises a first terminal, a first server, at least two second servers and at least two tax control disks, wherein the second servers and the tax control disks are in one-to-one communication;
the first terminal is used for acquiring invoicing data to be processed, generating an invoicing application request corresponding to the invoicing data, and sending the invoicing application request to a first server which is in communication connection with the first terminal;
the first server is used for selecting a target tax control disk and a target second server communicated with the target tax control disk from idle online tax control disks, and forwarding the invoicing application request to the target second server;
the target second server is used for determining the position of each piece of invoicing data carried by the invoicing application request in an invoice interface, and filling each piece of invoicing data in the invoice interface provided by the target tax control disc according to the position of each piece of invoicing data in the invoice interface to obtain invoice image data;
and the target second server is also used for sending a printing instruction to a printer, and the printing instruction instructs the printer to print out an invoice corresponding to the invoice image data according to the invoice image data.
Optionally, the first terminal is further configured to send a tax control disk status query request to the first server;
the first server is further used for sending the tax control disk state query request to each second server communicated with the first server;
the second servers are used for inquiring whether a process of the tax control disc for establishing the communication connection runs in process information according to the tax control disc state inquiry request and identification information of the tax control disc for establishing the communication connection, and sending an inquiry result indicating that the tax control disc is in an online state to the first server if the process of the tax control disc for establishing the communication connection runs;
the first server is further configured to send the query result indicating that the fiscal control panel is in an online state to the first terminal.
Optionally, the first server is further configured to receive an invoicing application request sent by each second terminal, where the invoicing application request sent by the second terminal carries invoicing data;
the first server is further used for distributing the invoicing application requests sent by the second terminals to the first terminals according to a preset distribution algorithm;
the first terminal is used for selecting the invoicing data to be processed from the received invoicing application request sent by the second terminal and generating the invoicing application request corresponding to the selected invoicing data.
Optionally, the first server allocates the invoicing application request sent by each second terminal to the first terminal in at least one of the following manners:
the first server randomly distributes the invoicing application requests sent by the second terminals to the first terminals;
the first server equally distributes the invoicing application requests sent by the second terminals to the first terminals;
the first server distributes the invoicing application requests sent by the second terminals to the first terminals according to the user weights corresponding to the first terminals;
and the first server distributes the invoicing application requests carrying the similar invoicing data to the same first terminal.
Optionally, the first server is further configured to send a prompt message to the first terminal if it is determined that there is no tax control panel currently in an online state, where the prompt message is used to instruct to start the tax control panel.
According to the technical scheme, the first terminal generates an invoicing application request corresponding to the invoicing data after acquiring the invoicing data to be processed, sends the invoicing application request to the first server which is in communication connection with the first terminal, and the first server selects a target tax control disc and a target second server which is in communication with the target tax control disc from idle online tax control discs and forwards the invoicing application request to the target second server. The target second server determines the position of each piece of data in invoicing data carried by the invoicing application request in an invoice interface, fills each piece of data in the invoicing data in the invoice interface provided by the target tax control panel according to the position of each piece of data in the invoicing interface to obtain invoice image data, and sends a printing instruction to the printer to instruct the printer to print out an invoice corresponding to the invoice image data according to the invoice image data, so that the automatic filling of the invoicing data and the automatic instruction of the printer to print the invoice through the target second server are realized, and the automatic execution from the application of invoicing to the printing of the invoice is completed, thereby reducing the invoicing cost and improving the invoicing efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a system architecture diagram of a data processing system corresponding to a data processing method provided in an embodiment of the present application;
fig. 2 is a signaling diagram of a data processing method according to an embodiment of the present application;
fig. 3 is a schematic diagram of billing software provided in an embodiment of the present application;
fig. 4 is a signaling diagram of another data processing method according to an embodiment of the present application.
Detailed Description
At present, in the process of issuing an invoice, a user needs to manually input invoicing data, and then a printer is manually triggered to print, which can improve the invoicing cost and reduce the invoicing efficiency, so that the embodiment of the application provides a data processing method, which can automatically input the invoicing data to an invoice interface, and automatically trigger the printer to print, so as to automatically complete the process of inputting the invoicing data to the invoice printing, and the architecture diagram of a corresponding data processing system is shown in fig. 1, and can include: a first terminal 10, a first server 20, a second server 30, a tax control disk 40 and a printer 50.
The first terminal 10 corresponds to a user who needs to make an invoice, if the first terminal corresponds to a financial staff, the financial staff checks invoicing data to be processed, then, for the invoicing data which passes the checking, a corresponding invoicing application request can be generated by the first terminal 10 to apply for an invoice corresponding to the invoicing data, and the invoicing data comprises but is not limited to taxpayer names, taxpayer identification numbers, taxpayer addresses, taxpayer telephones, information of invoicing lines, information of invoicing accounts, invoice amounts, tax rates and the like.
The first server 20 establishes communication connections with the first terminal 10 and the second server 30 respectively as a communication bridge between the first terminal 10 and the second server 30, after receiving the invoicing application request, the first server 20 determines a target second server from all the second servers establishing communication connections, and the target second server is a second server for processing the invoicing application request and forwards the invoicing application request to the target second server.
In this embodiment, a plurality of first terminals 10 may establish a communication connection with a first server 20, and a plurality of second servers may establish a communication connection with the first server 20, so as to complete the forwarding of the request for making an invoice through the first server and determine the target second server from the plurality of second servers.
And the second server 30 is in communication connection with the fiscal control disk 40 and the printer 50, the relationship among the second server 30, the fiscal control disk 40 and the printer 50 can be a one-to-one relationship, a billing interface is provided for the second server 30 through the fiscal control disk 40, so that the second server 30 automatically fills billing data into the billing interface to obtain invoice image data, and then the second server 30 instructs the printer 50 to print an invoice corresponding to the invoice image data, thereby completing automatic filling of the billing data into the invoice and automatic printing of the invoice.
In order to better understand the data processing method provided by the embodiment of the present application, the following will clearly and completely describe the technical solution in the embodiment of the present application with reference to a signaling diagram, and it is obvious that the described embodiment is only a part of the embodiment of the present application, and not a whole embodiment. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Referring to fig. 2, a signaling diagram of a data processing method according to an embodiment of the present application is shown, where the signaling diagram may include the following steps:
201: the first terminal obtains the invoicing data to be processed and generates an invoicing application request corresponding to the invoicing data. The invoicing data to be processed is data which is approved by a user corresponding to the first terminal, for example, the invoicing data is approved by financial staff using the first terminal to ensure that the invoicing data of invoices to be issued is accurate.
The corresponding invoicing application request can be generated in the process that a user using the first terminal needs to invoice, wherein the first terminal can generate the invoicing application request through invoicing software installed on the first terminal or the invoicing software displayed in a browser mode, compared with the mode of installing the invoicing software, the invoicing software does not need to be installed on the first terminal, resources of the first terminal are saved, and the invoicing software can be provided by a tax control panel.
202: the first terminal sends an invoicing application request to a first server which is in communication connection with the first terminal.
In this embodiment, the generation and sending of the invoicing application request to the first server by the first terminal may be implemented by a specific control in invoicing software associated with the first terminal, and if the specific control is triggered, which indicates that invoicing is currently required, the first terminal automatically generates an invoicing application request corresponding to the selected invoicing data and automatically sends the invoicing application request to the first server when the specific control is triggered, so that the invoicing application request can be generated and sent by the specific control, and the manner of generating the invoicing application request is as follows: and according to a communication protocol between the first terminal and the first server, packaging the selected billing data in the request to obtain a billing application request.
As shown in fig. 3, in the case that a specific control of "invoicing" in the invoicing software is triggered, the first terminal generates and sends an invoicing application request to the first server to instruct the first server to perform an invoicing process. The points to be explained here are: the first server can be a cloud server, through invoicing software, many invoicing data can be selected simultaneously at the first terminal, thereby can apply for the invoice of many invoicing data through the application request of invoicing, in order to realize the batch invoicing of invoice, wherein can carry the identification information by invoicing in every invoicing application request, the identification information of invoicing is used for instructing the application serial number of invoicing at least, can also instruct the user information of applying for invoicing invoice and so on even, this embodiment does not restrict the identification information of invoicing. With respect to fig. 3, the bold font in the rounded rectangle indicates that the touch can be currently performed to perform the related operation, and the normal font indicates that the touch cannot be currently performed, and the related operation cannot be performed even after the touch.
In the process that the first terminal communicates with the first server, the first terminal and the first server may encrypt data passing through the process to ensure data security, and the encryption modes adopted by the first terminal and the first server are not limited in this embodiment.
203: the first server selects a target tax control disk from idle online tax control disks and a target second server which is communicated with the target tax control disk.
204: and the first server forwards the invoicing application request to the target second server.
The idle online tax control disk is used for indicating that the tax control disk is enabled but the tax control disk does not process invoicing operation, or for indicating that the tax control disk is enabled but the number of the invoicing application requests in the invoicing queue of the tax control disk is smaller than a preset number (the value of the preset number is not limited), and the purpose of selecting a target tax control disk from the tax control disks is to improve the processing of the invoicing application requests so as to accelerate the invoicing speed.
In this embodiment, the online fiscal disk may determine and send the relevant information of the online fiscal disk to the first server through the second server in communication with the fiscal disk, for example, the relevant information of the online fiscal disk includes, but is not limited to, identification information of the fiscal disk and identification information of the second server in communication with the fiscal disk, so as to indicate the fiscal disk and the second server to which the online fiscal disk belongs through the identification information of the fiscal disk and the identification information of the second server, thereby distinguishing the fiscal disk from the second server. The reason why the identification information of the second server is fed back is that: the second server is communicated with the tax control disk, the second server interacts with the tax control disk to complete billing, and after the target tax control disk is selected, the second server (namely the target second server) communicated with the target tax control disk needs to be known, so that the identification information of the second server is fed back while the identification information of the tax control disk is fed back.
The process that the second server determines the tax control disc in the online state is as follows:
the first terminal sends a tax control disk state query request to the first server, the first terminal may send the tax control disk state query request to the first server at intervals of a certain time, the tax control disk state query request is used for querying a state of a tax control disk which establishes communication with all the second servers, so as to determine whether the tax control disk is online, the tax control disk state query request sent at intervals of a certain time may update and monitor the state of the tax control disk in time, the interval of the certain time may be a fixed time (such as one hour) or a variable time, and the embodiment is not limited.
The first server sends the tax control disk status query request to each second server in communication with the first server, and the identification information of each second server in communication with the first server is recorded in a server list, so that the first server can forward the tax control disk status query request to all the second servers in the server list after receiving the tax control disk status query request, and the second server can be but is not limited to a pc (personal computer) server.
And each second server inquires whether a process of the tax control disc for establishing the communication connection runs in the process information according to the tax control disc state inquiry request and the identification information of the tax control disc for establishing the communication connection, and sends an inquiry result indicating that the tax control disc is in an online state to the first server if the process of the tax control disc for establishing the communication connection runs. A mode for inquiring whether a process of a tax control disk for establishing communication connection runs in process information is as follows: and inquiring whether the process information contains the process of the identification information or not according to the identification information of the tax control disk which establishes communication connection with the second server, and if so, indicating that the tax control disk is in an online state.
The first server sends the query result indicating that the tax control disk is in the online state to the first terminal so as to inform a user using the first terminal that the tax control disk is in the online state at present, and the tax control disk can be used for billing.
If the first server determines that there is no tax control disk in the online state, the first server may further send a prompt message to the first terminal, where the prompt message is used to indicate that there is no tax control disk in the online state, and the tax control disk needs to be started.
In this embodiment, after the second server feeds back the query result indicating that the fiscal trays are in the online state, if the first server receives the request for making an invoice, a free fiscal tray may be selected from the fiscal trays in the online state as the target fiscal tray, or even a relatively free fiscal tray may be selected from all the fiscal trays in the online state. The relatively idle tax control disks mean that the number of the existing invoicing application requests in the invoicing queues in all the online tax control disks is smaller than the number of the existing invoicing application requests in the invoicing queues of other tax control disks, namely, one tax control disk with the least invoicing application request to be processed currently is selected, so that the processing efficiency of any invoicing application request can be improved.
Because the second server is communicated with the tax control disks, the second server can control the number of invoicing application requests processed by the communicated tax control disks, and then the second server feeds back the number of invoicing application requests to be processed by the tax control disks to the first server, so that the first server can know the number of invoicing application requests in the tax control disks in real time, and then a target tax control disk is selected according to the number of invoicing application requests of each tax control disk. Of course, the first server may also allocate the invoicing application requests to the online tax control disk, predict the number of remaining invoicing application requests of the current online tax control disk (that is, the number of requests allocated to the tax control disk but not processed by the tax control disk) according to the processing speed of the tax control disk, and select the target tax control disk according to the predicted number of remaining invoicing application requests of the online tax control disk.
After the target fiscal disk is determined, the first server may forward the invoicing application request to a second server in communication with the target fiscal disk, and the second server in communication with the target fiscal disk may be marked as the target second server to distinguish it from other second servers. The first server may encrypt the forwarded data to ensure data security in the process of forwarding the invoicing application request to the target second server, and the encryption manners adopted by the first server and the target second server are not limited in this embodiment.
205: and the target second server determines the position of each piece of data in the invoicing data carried by the invoicing application request in the invoice interface, and fills each piece of data in the invoicing data into the invoice interface provided by the target tax control disk according to the position of each piece of data in the invoicing interface to obtain invoice image data.
The position of each piece of data in the invoicing data in the invoice interface is used for guiding the process of filling the invoicing data into the invoice interface, so that each piece of data in the invoicing data can be automatically filled to the corresponding position, for example, a target second server obtains the window position of the invoicing interface through an operating system interface, a mouse operation is simulated in the window position to position the element position in the invoicing interface, one element is a parameter in the invoicing interface and corresponds to one piece of data in the invoicing data, and then the corresponding invoicing data is filled at the positioned element position through data copying, and the process does not need participation of a user (for example, the invoicing data does not need to be manually input by the user), so that the invoicing time can be saved.
In this embodiment, one representation of the position of each piece of data in the invoicing data in the invoice interface is as follows: the corresponding relation between each piece of data in the invoicing data and the element in the invoice interface indicates the position of each piece of data in the invoice interface through the corresponding relation, so that the position of each piece of data in the invoice interface can be indicated because each element in the invoice interface has a respective position, and then the position of each piece of data in the invoicing data in the invoice interface can be determined after the corresponding element position in the invoicing interface is located, for example, for the data of taxpayer name, the corresponding element in the invoice interface is the name of the taxpayer, and the position of the data of taxpayer name in the invoice interface is the position of the name of the taxpayer, for example, the data is located in the same line with the name of the taxpayer and is located behind the name of the taxpayer.
Still alternatively, another representation of the position of each piece of data in the invoicing data in the invoice interface is as follows: the coordinates of each piece of data in the invoicing data in the invoice interface are expressed, because the positions of all elements in the invoice interface are fixed and the size of the invoice interface is the same, so that the coordinates of each piece of data corresponding to each identifier in the invoice interface can be determined through analysis of the identifiers in the invoice interface to indicate the position of each piece of data in the invoice interface.
The points to be explained here are: the invoice generated by filling the invoicing data into the invoice interface is not a certificate finally used for tax payment, namely, the invoice image data generated by the invoicing data after filling is not an invoice fed back to a taxpayer, but is an invoice for checking whether the invoicing data is filled into a correct invoice.
206: and the target second server sends a printing instruction to the printer, and the printing instruction instructs the printer to print out an invoice corresponding to the invoice image data according to the invoice image data to obtain a paper invoice so as to carry out tax deduction through the paper invoice.
According to the technical scheme, the first terminal generates an invoicing application request corresponding to the invoicing data after acquiring the invoicing data to be processed, sends the invoicing application request to the first server which is in communication connection with the first terminal, and the first server selects a target tax control disc and a target second server which is in communication with the target tax control disc from idle online tax control discs and forwards the invoicing application request to the target second server. The target second server determines the position of each piece of data in invoicing data carried by the invoicing application request in an invoice interface, fills each piece of data in the invoicing data in the invoice interface provided by the target tax control panel according to the position of each piece of data in the invoicing interface to obtain invoice image data, and sends a printing instruction to the printer to instruct the printer to print out an invoice corresponding to the invoice image data according to the invoice image data, so that the automatic filling of the invoicing data and the automatic instruction of the printer to print the invoice through the target second server are realized, and the automatic execution from the application of invoicing to the printing of the invoice is completed, thereby reducing the invoicing cost and improving the invoicing efficiency.
Referring to fig. 4, another data processing method provided in the embodiment of the present application is shown, which may include the following steps:
401: the first server receives invoicing application requests sent by the second terminals, the invoicing application requests sent by the second terminals carry invoicing data, the second terminals are also terminals used by users, but the difference between the first terminals and the second terminals is that the users using the second terminals do not have the right of checking the invoicing data, therefore, the users of the second terminals need to send the invoicing application requests to the first server under the condition that invoices are required to be drawn, the invoicing data in the invoicing application requests are forwarded to the first terminal through the first server, and therefore the users using the first terminals can check the invoicing data.
402: and the first server distributes the invoicing application requests sent by the second terminals to the first terminals according to a preset distribution algorithm. In this embodiment, the first server allocates the invoicing application request sent by each second terminal to the first terminal according to a preset allocation algorithm, including at least one of the following modes:
and the first server randomly distributes the invoicing application requests sent by the second terminals to the first terminals.
And the first server equally distributes the invoicing application requests sent by the second terminals to the first terminals.
The first server distributes the invoicing application requests sent by each second terminal to the first terminal according to the user weight corresponding to the first terminal, for example, the higher the weight is, the more the invoicing application requests are distributed, and the lower the weight is, the less the invoicing application requests are distributed, so that the invoicing application requests are distributed according to the weight, and the distribution is realized because the higher the weight is, the higher the user auditing efficiency is, and the user understanding degree of the policy is, and the more invoicing application requests distributed to the users can also be checked in time.
The first server distributes the invoicing application requests carrying the similar invoicing data to the same first terminal, wherein the similar invoicing data is used for indicating that the same data exists in the invoicing data, if at least one of the addressee and the taxpayer is the same, the invoicing application requests with the same data can be distributed to the same first terminal, so that the invoicing application requests with the same data are classified to different first terminals, the reclassification of the invoicing data by a user using the first terminal is saved, the invoicing application requests with the same data are distributed to the same first terminal, the invoicing application requests with the same data can be audited at least once, and the time is saved.
Although the first server can distribute the invoicing application requests through at least one mode, the invoicing application requests distributed by different first terminals are balanced as much as possible in the distribution process, so that invoicing data to be audited by different first terminals are equivalent, unbalanced data distribution is avoided, the invoicing data distributed by the first terminals can be audited by corresponding users at the same time, the auditing efficiency is improved, different invoicing application requests can be distributed to different first terminals, the invoicing data audited by the users using the first terminals cannot be repeated, and the problem of repeated invoicing is solved.
403: the first terminal selects the invoicing data to be processed from the received invoicing application request sent by the second terminal, and generates an invoicing application request corresponding to the selected invoicing data.
404: the first terminal sends an invoicing application request to a first server which is in communication connection with the first terminal.
405: the first server selects a target tax control disk from idle online tax control disks and a target second server which is communicated with the target tax control disk.
406: and the first server forwards the invoicing application request to the target second server.
407: and the target second server determines the position of each piece of data in the invoicing data carried by the invoicing application request in the invoice interface, and fills each piece of data in the invoicing data into the invoice interface provided by the target tax control disk according to the position of each piece of data in the invoicing interface to obtain invoice image data.
408: and the target second server sends a printing instruction to the printer, and the printing instruction instructs the printer to print out an invoice corresponding to the invoice image data according to the invoice image data to obtain a paper invoice so as to carry out tax deduction through the paper invoice.
In this embodiment, the steps 403 to 408: as with the above steps 201 to 206, this embodiment is not described.
The first server can simultaneously receive invoicing application requests sent by the first terminals, the first server can simultaneously select a matched target tax control disk and a target second server for the invoicing application requests, invoices are issued in parallel through the target tax control disk and the target second server which are respectively matched, and the invoicing speed is greatly improved.
Corresponding to the foregoing method embodiment, an embodiment of the present application further provides a data processing system, which may include: the system comprises a first terminal, a first server, at least two second servers and at least two tax control disks, wherein the second servers and the tax control disks are in one-to-one communication, and the connection relationship can be referred to fig. 1.
The first terminal is used for acquiring the invoicing data to be processed, generating an invoicing application request corresponding to the invoicing data, and sending the invoicing application request to a first server which is in communication connection with the first terminal.
The first server is used for selecting a target tax control disk from idle online tax control disks and a target second server communicated with the target tax control disk, and forwarding an invoicing application request to the target second server. If it is determined that no tax control panel is currently in an online state, the first server may send a prompt message to the first terminal, where the prompt message is used to instruct to start the tax control panel.
The target second server is used for determining the position of each piece of data in the invoicing data carried by the invoicing application request in an invoice interface, and filling each piece of data in the invoicing data into the invoice interface provided by the target tax control panel according to the position of each piece of data in the invoicing interface to obtain invoice image data; and the target second server is also used for sending a printing instruction to the printer, the printing instruction instructs the printer to print out the invoice corresponding to the invoice image data according to the invoice image data, the automatic filling of the invoicing data and the automatic instruction of the printer to print the invoice through the target second server are realized, and the automatic execution from the application of invoicing to the printing of the invoice is completed, so that the invoicing cost is reduced and the invoicing efficiency is improved.
In this embodiment, the process of determining the tax control disk in the online state is as follows:
the method comprises the steps that a first terminal sends a tax control disc state query request to a first server; the first server sends tax control disc state inquiry requests to various second servers communicated with the first server; and each second server inquires whether a process of the tax control disc for establishing the communication connection runs in the process information according to the tax control disc state inquiry request and identification information of the tax control disc for establishing the communication connection, if the process of the tax control disc for establishing the communication connection runs, an inquiry result indicating that the tax control disc is in an online state is sent to the first server, and the inquiry result indicating that the tax control disc is in the online state is sent to the first terminal through the first server so as to obtain the state of the tax control disc connected with each second server.
In addition, in this embodiment, the first server is further configured to receive invoicing application requests sent by the second terminals, where the invoicing application requests sent by the second terminals carry invoicing data, where the second terminals are also terminals used by users, but the difference from the first terminal is that a user using the second terminal does not have a right to check the invoicing data, so that the user of the second terminal needs to send the invoicing application request to the first server when wishing to make an invoice, and the first server forwards the invoicing data in the invoicing application request to the first terminal, so that the user using the first terminal can check the invoicing data.
And the first server is also used for distributing the invoicing application requests sent by the second terminals to the first terminals according to a preset distribution algorithm. For example, the invoicing application request sent by each second terminal is distributed to the first terminal by at least one of the following:
the first server randomly distributes the invoicing application requests sent by the second terminals to the first terminals; the first server evenly distributes invoicing application requests sent by the second terminals to the first terminals; the first server distributes the invoicing application requests sent by the second terminals to the first terminals according to the user weights corresponding to the first terminals; and the first server distributes the invoicing application requests carrying the similar invoicing data to the same first terminal.
After the first terminal receives the invoicing application request, the first terminal selects the invoicing data to be processed from the received invoicing application request sent by the second terminal, generates an invoicing application request corresponding to the selected invoicing data, and triggers an invoicing flow.
For a description of the execution processes of the first terminal, the first server, the at least two second servers, and the at least two fiscal disks, reference is made to an embodiment of the method, which is not described herein.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method of data processing, the method comprising:
the method comprises the steps that a first terminal obtains invoicing data to be processed and generates an invoicing application request corresponding to the invoicing data;
the first terminal sends the invoicing application request to a first server which is in communication connection with the first terminal;
the method comprises the steps that a first server selects a target tax control disk and a target second server communicated with the target tax control disk from idle tax control disks in an online state;
the first server forwards the invoicing application request to the target second server;
the target second server determines the position of each piece of data in the invoicing data carried by the invoicing application request in an invoice interface, and fills each piece of data in the invoicing data into the invoice interface provided by the target tax control disc according to the position of each piece of data in the invoicing interface to obtain invoice image data;
and the target second server sends a printing instruction to a printer, and the printing instruction instructs the printer to print out an invoice corresponding to the invoice image data according to the invoice image data.
2. The method of claim 1, further comprising:
the first terminal sends a tax control disc state query request to the first server;
the first server sends the tax control disk state inquiry request to each second server which is communicated with the first server;
the second servers respectively inquire whether a process of the tax control disc for establishing the communication connection runs in process information according to the tax control disc state inquiry request and identification information of the tax control disc for establishing the communication connection, and if the process of the tax control disc for establishing the communication connection runs, the second servers send an inquiry result indicating that the tax control disc is in an online state to the first server;
and the first server sends the query result indicating that the tax control disc is in the online state to the first terminal.
3. The method of claim 1, further comprising:
the first server receives invoicing application requests sent by each second terminal, and the invoicing application requests sent by the second terminals carry invoicing data;
the first server distributes the invoicing application requests sent by the second terminals to the first terminals according to a preset distribution algorithm;
the first terminal acquires the invoicing data to be processed, and the generating of the invoicing application request corresponding to the invoicing data comprises the following steps: and the first terminal selects the invoicing data to be processed from the received invoicing application request sent by the second terminal, and generates an invoicing application request corresponding to the selected invoicing data.
4. The method according to claim 3, wherein the first server allocates the invoicing application requests sent by the second terminals to the first terminal according to a preset allocation algorithm, and the allocation method comprises at least one of the following modes:
the first server randomly distributes the invoicing application requests sent by the second terminals to the first terminals;
the first server equally distributes the invoicing application requests sent by the second terminals to the first terminals;
the first server distributes the invoicing application requests sent by the second terminals to the first terminals according to the user weights corresponding to the first terminals;
and the first server distributes the invoicing application requests carrying the similar invoicing data to the same first terminal.
5. The method of any one of claims 1 to 4, further comprising:
and if the first server determines that no tax control panel is in an online state at present, sending prompt information to the first terminal, wherein the prompt information is used for indicating the start of the tax control panel.
6. A data processing system, characterized in that the system comprises: the system comprises a first terminal, a first server, at least two second servers and at least two tax control disks, wherein the second servers and the tax control disks are in one-to-one communication;
the first terminal is used for acquiring invoicing data to be processed, generating an invoicing application request corresponding to the invoicing data, and sending the invoicing application request to a first server which is in communication connection with the first terminal;
the first server is used for selecting a target tax control disk and a target second server communicated with the target tax control disk from idle online tax control disks, and forwarding the invoicing application request to the target second server;
the target second server is used for determining the position of each piece of invoicing data carried by the invoicing application request in an invoice interface, and filling each piece of invoicing data in the invoice interface provided by the target tax control disc according to the position of each piece of invoicing data in the invoice interface to obtain invoice image data;
and the target second server is also used for sending a printing instruction to a printer, and the printing instruction instructs the printer to print out an invoice corresponding to the invoice image data according to the invoice image data.
7. The system of claim 6, wherein the first terminal is further configured to send a fiscal disk status query request to the first server;
the first server is further used for sending the tax control disk state query request to each second server communicated with the first server;
the second servers are used for inquiring whether a process of the tax control disc for establishing the communication connection runs in process information according to the tax control disc state inquiry request and identification information of the tax control disc for establishing the communication connection, and sending an inquiry result indicating that the tax control disc is in an online state to the first server if the process of the tax control disc for establishing the communication connection runs;
the first server is further configured to send the query result indicating that the fiscal control panel is in an online state to the first terminal.
8. The system according to claim 7, wherein the first server is further configured to receive invoicing application requests sent by the second terminals, and the invoicing application requests sent by the second terminals carry invoicing data;
the first server is further used for distributing the invoicing application requests sent by the second terminals to the first terminals according to a preset distribution algorithm;
the first terminal is used for selecting the invoicing data to be processed from the received invoicing application request sent by the second terminal and generating the invoicing application request corresponding to the selected invoicing data.
9. The system of claim 8, wherein the first server distributes the invoicing application requests sent by the respective second terminals to the first terminals in at least one of the following manners:
the first server randomly distributes the invoicing application requests sent by the second terminals to the first terminals;
the first server equally distributes the invoicing application requests sent by the second terminals to the first terminals;
the first server distributes the invoicing application requests sent by the second terminals to the first terminals according to the user weights corresponding to the first terminals;
and the first server distributes the invoicing application requests carrying the similar invoicing data to the same first terminal.
10. The system according to any one of claims 6 to 9, wherein the first server is further configured to send a prompt message to the first terminal if it is determined that there is no fiscal disc currently in an online state, where the prompt message is used to instruct to start the fiscal disc.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010217505.9A CN111445300B (en) | 2020-03-25 | 2020-03-25 | Data processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010217505.9A CN111445300B (en) | 2020-03-25 | 2020-03-25 | Data processing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111445300A true CN111445300A (en) | 2020-07-24 |
CN111445300B CN111445300B (en) | 2023-10-03 |
Family
ID=71650983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010217505.9A Active CN111445300B (en) | 2020-03-25 | 2020-03-25 | Data processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111445300B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112669097A (en) * | 2020-12-02 | 2021-04-16 | 航天信息股份有限公司 | Billing service system and method based on tax Ukey disk group |
CN112686719A (en) * | 2020-12-24 | 2021-04-20 | 航天信息股份有限公司 | Billing method and device, storage medium and electronic equipment |
CN112700292A (en) * | 2020-12-24 | 2021-04-23 | 航天信息股份有限公司 | Method and system for issuing electronic invoice through automatic scheduling of tax control equipment |
CN114266611A (en) * | 2021-12-27 | 2022-04-01 | 浙江吉利控股集团有限公司 | Invoice issuing method, invoice issuing apparatus, storage medium, and program product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101140684A (en) * | 2007-09-11 | 2008-03-12 | 中商流通生产力促进中心有限公司 | Tax control system based on network server |
CN101894436A (en) * | 2010-07-30 | 2010-11-24 | 浪潮齐鲁软件产业有限公司 | Network tax control system based on tax controller combination unit |
CN101901526A (en) * | 2010-07-21 | 2010-12-01 | 浪潮齐鲁软件产业有限公司 | Method for issuing commercial retail tax control invoice |
CN106056804A (en) * | 2016-05-25 | 2016-10-26 | 深圳市呤云科技有限公司 | Self-help invoice printing method, self-help invoice printing device and self-help invoice printing system |
CN107464382A (en) * | 2017-07-25 | 2017-12-12 | 百望金赋科技有限公司 | Integrated tax control machine and tax control method |
-
2020
- 2020-03-25 CN CN202010217505.9A patent/CN111445300B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101140684A (en) * | 2007-09-11 | 2008-03-12 | 中商流通生产力促进中心有限公司 | Tax control system based on network server |
CN101901526A (en) * | 2010-07-21 | 2010-12-01 | 浪潮齐鲁软件产业有限公司 | Method for issuing commercial retail tax control invoice |
CN101894436A (en) * | 2010-07-30 | 2010-11-24 | 浪潮齐鲁软件产业有限公司 | Network tax control system based on tax controller combination unit |
CN106056804A (en) * | 2016-05-25 | 2016-10-26 | 深圳市呤云科技有限公司 | Self-help invoice printing method, self-help invoice printing device and self-help invoice printing system |
CN107464382A (en) * | 2017-07-25 | 2017-12-12 | 百望金赋科技有限公司 | Integrated tax control machine and tax control method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112669097A (en) * | 2020-12-02 | 2021-04-16 | 航天信息股份有限公司 | Billing service system and method based on tax Ukey disk group |
CN112686719A (en) * | 2020-12-24 | 2021-04-20 | 航天信息股份有限公司 | Billing method and device, storage medium and electronic equipment |
CN112700292A (en) * | 2020-12-24 | 2021-04-23 | 航天信息股份有限公司 | Method and system for issuing electronic invoice through automatic scheduling of tax control equipment |
CN112700292B (en) * | 2020-12-24 | 2024-03-12 | 航天信息股份有限公司 | Method and system for electronic invoice issuing through automatic dispatching tax control equipment |
CN112686719B (en) * | 2020-12-24 | 2024-03-26 | 航天信息股份有限公司 | Billing method and device, storage medium and electronic equipment |
CN114266611A (en) * | 2021-12-27 | 2022-04-01 | 浙江吉利控股集团有限公司 | Invoice issuing method, invoice issuing apparatus, storage medium, and program product |
Also Published As
Publication number | Publication date |
---|---|
CN111445300B (en) | 2023-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111445300A (en) | Data processing method and system | |
US20200279197A1 (en) | Methods and systems for building custom appliances in a cloud-based network | |
US10482405B2 (en) | Management and allocation of services using remote computer connections | |
US8943497B2 (en) | Managing subscriptions for cloud-based virtual machines | |
CN111355743B (en) | Management method and system based on API gateway | |
CN107169756A (en) | Payment channel distribution method, device, storage medium and payment route system | |
WO2018036397A1 (en) | Goods exchange information processing method and apparatus | |
CN112380517B (en) | Cloud platform management method and system based on unified biological information authentication | |
CN101489096A (en) | Fee paying method, device and system for television program play-on-demand | |
CN101483601A (en) | Scheduling method and apparatus based on service priority | |
CN101504754A (en) | Banking business data sorting and processing system based on image information | |
CN110276184A (en) | A kind of cloud computing resources authorization method and device | |
CN106022746A (en) | Payment method and device applied to terminal equipment | |
CN107040387B (en) | Online charging engine, real-time accounting engine, and online charging method and system | |
CN114697146B (en) | Charging management method for exploration and development cloud application service | |
CN110224971A (en) | Authorize method, authorization server, system, equipment and the storage medium logged in | |
CN112068807A (en) | Process industrial application software ecosystem, development method and storage medium | |
CN110472849A (en) | Maintenance task dispatching method, client and server-side | |
JP2005010944A (en) | Print charging management system, print charging management method, and its program | |
JP7035866B2 (en) | Information processing equipment | |
CN105430043B (en) | A kind of starting configuration implementation method of Virtual example | |
US7921062B2 (en) | Dynamic allocation of postal security devices | |
CN112700292A (en) | Method and system for issuing electronic invoice through automatic scheduling of tax control equipment | |
JP7093437B1 (en) | Information processing equipment, information processing system and information processing method | |
JP2024134601A (en) | Server system, program, and control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |