CN111210288A - Tax control server-based invoicing batch invoicing job optimized scheduling method and system - Google Patents

Tax control server-based invoicing batch invoicing job optimized scheduling method and system Download PDF

Info

Publication number
CN111210288A
CN111210288A CN201911369702.6A CN201911369702A CN111210288A CN 111210288 A CN111210288 A CN 111210288A CN 201911369702 A CN201911369702 A CN 201911369702A CN 111210288 A CN111210288 A CN 111210288A
Authority
CN
China
Prior art keywords
invoice issuing
service
invoice
request
label
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911369702.6A
Other languages
Chinese (zh)
Inventor
陈皓
朱延超
陈懿
李泽然
刘冬娜
魏海健
崔子轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ele Cloud Information Technology Co ltd
Original Assignee
Ele Cloud Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ele Cloud Information Technology Co ltd filed Critical Ele Cloud Information Technology Co ltd
Priority to CN201911369702.6A priority Critical patent/CN111210288A/en
Publication of CN111210288A publication Critical patent/CN111210288A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/04Billing or invoicing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Economics (AREA)
  • Evolutionary Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Accounting & Taxation (AREA)
  • Evolutionary Computation (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an invoicing batch invoicing operation optimized scheduling method and system based on a tax control server, which comprises the following steps: automatically clustering each invoice issuing request in the multi-source invoice issuing requests, and adding a label to each invoice issuing request; determining the priority of each invoice issuing request according to the difference of the service requirements, and putting the invoice issuing request added with the label into an invoice issuing job queue according to the priority; and determining corresponding invoice elements according to the label of each invoice issuing request, and performing random cross high-concurrency multi-service cooperation based on the issuing state management service according to the service item of each invoice issuing request so as to realize the optimized scheduling of invoice issuing operation. The method can effectively reduce the memory occupation and the network flow in the invoice issuing based on the tax control server, support the optimized scheduling and the data recombination of multi-link issuing requests, increase the throughput of the system and solve the problem of fast issuing of massive invoice data of the same type.

Description

Tax control server-based invoicing batch invoicing job optimized scheduling method and system
Technical Field
The invention relates to the technical field of tax invoicing, in particular to an invoicing batch invoicing job optimization scheduling method and system based on a tax control server.
Background
The invoice issuing refers to issuing an invoice under what conditions the laws and regulations stipulate, and the invoice is issued to a payer by a payer when business confirmation is performed, or to the payee by a payer on the basis of the requirement for proving the transfer of ownership of commodities and funds, the requirement for accounting, and the requirement for tax management. At the same time, the extent of invoicing is consistent with the extent of invoice usage. The invoicing is an important link for realizing the use value of the invoice and reflecting economic business activities, and whether the invoicing is real, complete and correct directly relates to whether the expected purpose of invoice management can be achieved.
For invoice platforms (self-built platforms and public service platforms) using the tax control server, the most prominent characteristics are high concurrency of invoicing requests, high similarity of invoice information and large business peak difference. Therefore, how to realize the effective organization of similar invoicing information and the efficient management of instantaneous high-concurrency processing so as to solve the problem of fast invoicing of massive similar invoice data is an urgent need to solve.
Disclosure of Invention
The invention provides an invoice issuing batch invoicing job optimal scheduling method and system based on a tax control server, and aims to solve the problem of how to perform optimal scheduling on invoice issuing jobs.
In order to solve the above problem, according to an aspect of the present invention, there is provided an invoicing batch invoicing job optimization scheduling method based on a tax control server, the method including:
automatically clustering each invoice issuing request in the multi-source invoice issuing requests according to preset label classification items and request information of the invoice issuing requests, and adding a label to each invoice issuing request;
determining the priority of each invoice issuing request according to the difference of the service requirements, and putting the invoice issuing request added with the label into an invoice issuing job queue according to the priority; the invoicing job queue is divided into a plurality of sub-queues according to the number of the priority levels;
and determining corresponding invoice elements according to the label of each invoice issuing request, and performing random cross high-concurrency multi-service cooperation based on the issuing state management service according to the service item of each invoice issuing request so as to realize the optimized scheduling of invoice issuing operation.
Preferably, wherein the method further comprises:
when a certain invoice issuing request does not have a corresponding label, a label is newly established according to the request information of the invoice issuing request, and mapping and index of invoice elements corresponding to the label are established.
Preferably, wherein the method further comprises:
when the length of the current invoice issuing job queue exceeds a first preset length threshold value, judging whether the length of an invoice issuing request to be processed in a cache queue exceeds a second preset length threshold value or not, and if so, rejecting a new invoice issuing request; otherwise, pushing a new invoice issuing request into the cache queue.
Preferably, wherein the method further comprises:
when the waiting time of the invoice issuing requests with the first preset number threshold value exceeds a preset waiting time threshold value, adding a new invoice issuing node;
when the number of the invoice issuing requests in any sub-queue exceeds a second preset number threshold value, adding a new invoice issuing node; and
and when the length of the invoice issuing job queue is less than the number of the current invoice issuing nodes, starting an invoice issuing node recovery mechanism to recover the invoice issuing nodes.
Preferably, the service item of the invoicing request comprises: the system comprises a cache service, a resource scheduling service, a tag service, an adaptive queue service, a signature service, a format file generation service, a tax control service, a storage service, an opening state management service and a delivery service.
According to another aspect of the invention, an invoicing batch invoicing job optimization scheduling system based on a tax control server is provided, and the system comprises:
the label classification unit is used for automatically clustering each invoice issuing request in the multi-source invoice issuing requests according to preset label classification items and request information of the invoice issuing requests, and adding a label to each invoice issuing request;
the invoice issuing job queue determining unit is used for determining the priority of each invoice issuing request according to the difference of the service requirements and putting the invoice issuing request added with the label into the invoice issuing job queue according to the priority; the invoicing job queue is divided into a plurality of sub-queues according to the number of the priority levels;
and the service cooperation unit is used for determining corresponding invoice elements according to the label of each invoice issuing request, and performing random cross high-concurrency multi-service cooperation based on the issuing state management service according to the service item of each invoice issuing request so as to realize the optimized scheduling of invoice issuing operation.
Preferably, wherein the system further comprises:
and the label establishing unit is used for establishing a new label according to the request information of the invoice issuing request and establishing the mapping and the index of the invoice element corresponding to the label when the corresponding label does not exist in a certain invoice issuing request.
Preferably, wherein the system further comprises:
the invoice issuing request processing unit is used for judging whether the length of the invoice issuing request to be processed in the cache queue exceeds a second preset length threshold value or not when the length of the current invoice issuing job queue exceeds a first preset length threshold value, and rejecting a new invoice issuing request if the length of the invoice issuing request to be processed in the cache queue exceeds the second preset length threshold value; otherwise, pushing a new invoice issuing request into the cache queue.
Preferably, wherein the system further comprises:
the invoice issuing node scheduling unit is used for adding a new invoice issuing node when the waiting time of the invoice issuing requests with the first preset number threshold exceeds a preset waiting time threshold;
when the number of the invoice issuing requests in any sub-queue exceeds a second preset number threshold value, adding a new invoice issuing node; and
and when the length of the invoice issuing job queue is less than the number of the current invoice issuing nodes, starting an invoice issuing node recovery mechanism to recover the invoice issuing nodes.
Preferably, the service item of the invoicing request comprises: the system comprises a cache service, a resource scheduling service, a tag service, an adaptive queue service, a signature service, a format file generation service, a tax control service, a storage service, an opening state management service and a delivery service.
The invention provides an invoicing batch invoicing operation optimized scheduling method and system based on a tax control server, comprising the following steps: automatically clustering each invoice issuing request in the multi-source invoice issuing requests, and adding a label to each invoice issuing request; determining the priority of each invoice issuing request according to the difference of the service requirements, and putting the invoice issuing request added with the label into an invoice issuing job queue according to the priority; and determining corresponding invoice elements according to the label of each invoice issuing request, and performing random cross high-concurrency multi-service cooperation based on the issuing state management service according to the service item of each invoice issuing request so as to realize the optimized scheduling of invoice issuing operation. The method can effectively reduce the memory occupation and the network flow in the invoice issuing based on the tax control server, solve the problem of fast issuing of a large amount of invoice data with high similarity, support the optimized scheduling and the data recombination of multi-link issuing requests, and increase the throughput of the system, thereby solving the problem of fast issuing of a large amount of similar invoice data.
Drawings
A more complete understanding of exemplary embodiments of the present invention may be had by reference to the following drawings in which:
FIG. 1 is a flowchart of a method 100 for optimized scheduling of invoicing batch invoicing jobs based on a tax control server according to an embodiment of the invention;
FIG. 2 is a schematic diagram of an optimized scheduling process of invoicing batch invoicing jobs based on a tax control server according to an embodiment of the invention; and
fig. 3 is a schematic structural diagram of an optimized scheduling system 300 for invoicing batch invoicing jobs based on a tax control server according to an embodiment of the present invention.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
Fig. 1 is a flowchart of an optimized scheduling method 100 for invoicing batch invoicing jobs based on a tax control server according to an embodiment of the present invention. As shown in fig. 1, the method for optimally scheduling invoicing batch invoicing operations based on the tax control server according to the embodiment of the present invention can effectively reduce memory occupation and network traffic in invoicing based on the tax control server, solve the problem of fast invoicing of a large amount of invoice data with high similarity, support optimal scheduling and data reassembly of multiple invoicing requests, and increase throughput of a system, thereby solving the problem of fast invoicing of a large amount of similar invoice data. The tax control server-based invoicing batch invoicing job optimization scheduling method 100 provided by the embodiment of the invention starts from step 101, and automatically clusters each invoice issuing request in multi-source invoice issuing requests according to preset label classification items and request information of the invoice issuing requests in step 101, and adds a label to each invoice issuing request.
Preferably, wherein the method further comprises:
when a certain invoice issuing request does not have a corresponding label, a label is newly established according to the request information of the invoice issuing request, and mapping and index of invoice elements corresponding to the label are established.
Preferably, wherein the method further comprises:
when the length of the current invoice issuing job queue exceeds a first preset length threshold value, judging whether the length of an invoice issuing request to be processed in a cache queue exceeds a second preset length threshold value or not, and if so, rejecting a new invoice issuing request; otherwise, pushing a new invoice issuing request into the cache queue.
In the implementation mode of the invention, the invoicing request is determined according to the multi-source order/settlement data, the invoicing request is automatically clustered and collected according to the commodity name (or transaction item), the classification of a buyer and a seller, the classification data is labeled and put into an invoicing operation queue, and meanwhile, the mapping and the index of the invoice element corresponding to each label are established. A plurality of services in the electronic invoice issuing link share the tags, and memory occupation and network flow are reduced. When a certain invoice issuing request does not have a corresponding label, a label is newly established according to the request information of the invoice issuing request, and mapping and index of invoice elements corresponding to the label are established.
In the embodiment of the present invention, the traffic peak clipping processing is further performed according to the number of current invoicing requests, and includes: when the length of the current invoice issuing job queue exceeds a first preset length threshold value, judging whether the length of an invoice issuing request to be processed in a cache queue exceeds a second preset length threshold value or not, and if so, rejecting a new invoice issuing request; otherwise, pushing a new invoice issuing request into the cache queue.
In step 102, determining the priority of each invoice issuing request according to the difference of the service requirements, and putting the invoice issuing request added with the label into an invoice issuing job queue according to the priority; and the invoice issuing work queue is divided into a plurality of sub-queues according to the number of the priorities.
In an embodiment of the present invention, invoicing request scheduling is performed on-demand. The intelligent buffer of invoice data and batch circulation divide the data that will invoice into three priorities according to the business requirement difference, include: the important is the emergency level, the important level and the conventional level, and the invoice issuing request is cached to the invoice issuing work queue according to the priority and issued according to the priority.
In step 103, corresponding invoice elements are determined according to the label of each invoice issuing request, and random cross high-concurrency multi-service cooperation is performed based on the issuing state management service according to the service item of each invoice issuing request, so as to realize the optimized scheduling of invoice issuing operation.
Preferably, wherein the method further comprises:
when the waiting time of the invoice issuing requests with the first preset number threshold value exceeds a preset waiting time threshold value, adding a new invoice issuing node;
when the number of the invoice issuing requests in any sub-queue exceeds a second preset number threshold value, adding a new invoice issuing node; and
and when the length of the invoice issuing job queue is less than the number of the current invoice issuing nodes, starting an invoice issuing node recovery mechanism to recover the invoice issuing nodes.
Preferably, the service item of the invoicing request comprises: the system comprises a cache service, a resource scheduling service, a tag service, an adaptive queue service, a signature service, a format file generation service, a tax control service, a storage service, an opening state management service and a delivery service.
In the implementation mode of the invention, if the queue is found to be longer in the invoice issuing process, the investment of issuing resources needs to be dynamically called and increased, and a reasonable recovery mechanism is established. For example, 1) if there is an invoice that has not been placed for more than a certain threshold time (e.g., 2 minutes), then an invoice placing node is added; (2) if the queue length exceeds a certain threshold (more than 5 ten thousand), adding an invoicing node; (3) if the queue length of the current invoice issuing job queue is smaller than the current invoice issuing node, 1 issuing node is recycled.
In the embodiment of the invention, the service collaboration supports random cross high concurrency multi-service collaboration. Specifically, the method comprises the following steps: the method comprises the following steps of cache service, resource scheduling service, label service, adaptive queue service, signature service, format file generation service, tax control service, storage service, opening state management service, delivery service and the like, and is effectively cooperated through the opening state management service.
FIG. 2 is a schematic diagram of an optimized scheduling process of an invoicing batch invoicing job based on a tax control server according to an embodiment of the present invention. As shown in fig. 2, the optimized scheduling process of invoicing batch invoicing job based on the tax control server according to the embodiment of the present invention includes: the method comprises four parts of traffic peak clipping, label classification, scheduling according to needs and service cooperation. During the traffic peak clipping process, when the number of queues exceeds a certain threshold, a new request is rejected or pushed into a buffer queue, and the new request is reprocessed after the existing traffic processing is finished. In the label classification process, multi-source order/settlement data are automatically clustered and collected according to classification items of commodities (or transaction items), buyers, sellers and the like, the classification data are labeled and put into a data queue, meanwhile, mapping and indexes of invoice elements corresponding to each label are established, a plurality of service sharing labels in an electronic invoice issuing link are established, and memory occupation and network flow are reduced. The classified data is labeled and the mapping of the data items corresponding to the labels is established, and the labels are shared among a plurality of services. In the process of scheduling according to needs, data to be invoiced are divided into three priority levels (important, urgent, important and conventional) to be cached according to business requirement difference, invoicing is carried out according to a priority order, if longer queuing is found in the process of invoicing, investment of invoicing resources needs to be dynamically called and increased, and a reasonable recovery mechanism is established. In the service collaboration, the method supports random cross highly concurrent multi-service collaboration and comprises the following steps: the method comprises the following steps of cache service, resource scheduling service, label service, adaptive queue service, signature service, format file generation service, tax control service, storage service, opening state management service, delivery service and the like, and is effectively cooperated through the opening state management service.
The method provided by the embodiment of the invention aims to solve the problem of optimized scheduling of batch issuing operation, provides a data flow and a processing abstract model of electronic invoices in an issuing link, a service queue optimization and state management mechanism and a resource on-demand scheduling method supporting high concurrency, breaks key technologies such as automatic clustering collection supporting multi-source electronic invoice data and normalization marking of multi-information, automatic queue generation based on invoice label classification, dynamic association mapping of invoice elements and labels, intelligent invoice data caching and batch circulation, multi-service cooperation supporting random cross high concurrency, multi-queue state tracking and synchronization facing batch issuing, flow peak clipping optimized scheduling based on queues and the like, and supports differentiated intelligent issuing of electronic invoices.
Fig. 3 is a schematic structural diagram of an optimized scheduling system 300 for invoicing batch invoicing jobs based on a tax control server according to an embodiment of the present invention. As shown in fig. 3, the system 300 for optimizing and scheduling invoicing batch invoicing jobs based on a tax control server according to an embodiment of the present invention includes: a label classification unit 301, an invoice issuing job queue determination unit 302, and a service cooperation unit 303.
Preferably, the tag classification unit 301 is configured to perform automatic clustering on each invoice issuing request in the multi-source invoice issuing requests according to a preset tag classification item and request information of the invoice issuing request, and add a tag to each invoice issuing request.
Preferably, wherein the system further comprises:
and the label establishing unit is used for establishing a new label according to the request information of the invoice issuing request and establishing the mapping and the index of the invoice element corresponding to the label when the corresponding label does not exist in a certain invoice issuing request.
Preferably, wherein the system further comprises:
the invoice issuing request processing unit is used for judging whether the length of the invoice issuing request to be processed in the cache queue exceeds a second preset length threshold value or not when the length of the current invoice issuing job queue exceeds a first preset length threshold value, and rejecting a new invoice issuing request if the length of the invoice issuing request to be processed in the cache queue exceeds the second preset length threshold value; otherwise, pushing a new invoice issuing request into the cache queue.
Preferably, the invoicing job queue determining unit 302 is configured to determine a priority of each invoicing request according to the service requirement difference, and put the invoicing request with the tag added into the invoicing job queue according to the priority; and the invoice issuing work queue is divided into a plurality of sub-queues according to the number of the priorities.
Preferably, the service coordination unit 303 is configured to determine a corresponding invoice element according to a label of each invoice issuing request, and perform random cross high-concurrency multi-service coordination based on the issuing state management service according to a service item of each invoice issuing request, so as to implement optimal scheduling of the invoice issuing job.
Preferably, the service item of the invoicing request comprises: the system comprises a cache service, a resource scheduling service, a tag service, an adaptive queue service, a signature service, a format file generation service, a tax control service, a storage service, an opening state management service and a delivery service.
Preferably, wherein the system further comprises:
the invoice issuing node scheduling unit is used for adding a new invoice issuing node when the waiting time of the invoice issuing requests with the first preset number threshold exceeds a preset waiting time threshold;
when the number of the invoice issuing requests in any sub-queue exceeds a second preset number threshold value, adding a new invoice issuing node; and
and when the length of the invoice issuing job queue is less than the number of the current invoice issuing nodes, starting an invoice issuing node recovery mechanism to recover the invoice issuing nodes.
The system 300 for optimally scheduling invoicing batch invoicing jobs based on the tax control server in the embodiment of the present invention corresponds to the method 100 for optimally scheduling invoicing batch invoicing jobs based on the tax control server in another embodiment of the present invention, and is not described herein again.
The invention has been described with reference to a few embodiments. However, other embodiments of the invention than the one disclosed above are equally possible within the scope of the invention, as would be apparent to a person skilled in the art from the appended patent claims.
Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a/an/the [ device, component, etc ]" are to be interpreted openly as referring to at least one instance of said device, component, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.

Claims (10)

1. An invoicing batch invoicing job optimization scheduling method based on a tax control server is characterized by comprising the following steps:
automatically clustering each invoice issuing request in the multi-source invoice issuing requests according to preset label classification items and request information of the invoice issuing requests, and adding a label to each invoice issuing request;
determining the priority of each invoice issuing request according to the difference of the service requirements, and putting the invoice issuing request added with the label into an invoice issuing job queue according to the priority; the invoicing job queue is divided into a plurality of sub-queues according to the number of the priority levels;
and determining corresponding invoice elements according to the label of each invoice issuing request, and performing random cross high-concurrency multi-service cooperation based on the issuing state management service according to the service item of each invoice issuing request so as to realize the optimized scheduling of invoice issuing operation.
2. The method of claim 1, further comprising:
when a certain invoice issuing request does not have a corresponding label, a label is newly established according to the request information of the invoice issuing request, and mapping and index of invoice elements corresponding to the label are established.
3. The method of claim 1, further comprising:
when the length of the current invoice issuing job queue exceeds a first preset length threshold value, judging whether the length of an invoice issuing request to be processed in a cache queue exceeds a second preset length threshold value or not, and if so, rejecting a new invoice issuing request; otherwise, pushing a new invoice issuing request into the cache queue.
4. The method of claim 1, further comprising:
when the waiting time of the invoice issuing requests with the first preset number threshold value exceeds a preset waiting time threshold value, adding a new invoice issuing node;
when the number of the invoice issuing requests in any sub-queue exceeds a second preset number threshold value, adding a new invoice issuing node; and
and when the length of the invoice issuing job queue is less than the number of the current invoice issuing nodes, starting an invoice issuing node recovery mechanism to recover the invoice issuing nodes.
5. The method of claim 1, wherein the service items of the invoicing request comprise: the system comprises a cache service, a resource scheduling service, a tag service, an adaptive queue service, a signature service, a format file generation service, a tax control service, a storage service, an opening state management service and a delivery service.
6. The utility model provides an operation optimal scheduling system is invoiced in batches of issuing invoices based on tax control server which characterized in that, the system includes:
the label classification unit is used for automatically clustering each invoice issuing request in the multi-source invoice issuing requests according to preset label classification items and request information of the invoice issuing requests, and adding a label to each invoice issuing request;
the invoice issuing job queue determining unit is used for determining the priority of each invoice issuing request according to the difference of the service requirements and putting the invoice issuing request added with the label into the invoice issuing job queue according to the priority; the invoicing job queue is divided into a plurality of sub-queues according to the number of the priority levels;
and the service cooperation unit is used for determining corresponding invoice elements according to the label of each invoice issuing request, and performing random cross high-concurrency multi-service cooperation based on the issuing state management service according to the service item of each invoice issuing request so as to realize the optimized scheduling of invoice issuing operation.
7. The system of claim 6, further comprising:
and the label establishing unit is used for establishing a new label according to the request information of the invoice issuing request and establishing the mapping and the index of the invoice element corresponding to the label when the corresponding label does not exist in a certain invoice issuing request.
8. The system of claim 6, further comprising:
the invoice issuing request processing unit is used for judging whether the length of the invoice issuing request to be processed in the cache queue exceeds a second preset length threshold value or not when the length of the current invoice issuing job queue exceeds a first preset length threshold value, and rejecting a new invoice issuing request if the length of the invoice issuing request to be processed in the cache queue exceeds the second preset length threshold value; otherwise, pushing a new invoice issuing request into the cache queue.
9. The system of claim 6, further comprising:
the invoice issuing node scheduling unit is used for adding a new invoice issuing node when the waiting time of the invoice issuing requests with the first preset number threshold exceeds a preset waiting time threshold;
when the number of the invoice issuing requests in any sub-queue exceeds a second preset number threshold value, adding a new invoice issuing node; and
and when the length of the invoice issuing job queue is less than the number of the current invoice issuing nodes, starting an invoice issuing node recovery mechanism to recover the invoice issuing nodes.
10. The system of claim 6, wherein the service items of the invoicing request comprise: the system comprises a cache service, a resource scheduling service, a tag service, an adaptive queue service, a signature service, a format file generation service, a tax control service, a storage service, an opening state management service and a delivery service.
CN201911369702.6A 2019-12-26 2019-12-26 Tax control server-based invoicing batch invoicing job optimized scheduling method and system Pending CN111210288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911369702.6A CN111210288A (en) 2019-12-26 2019-12-26 Tax control server-based invoicing batch invoicing job optimized scheduling method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911369702.6A CN111210288A (en) 2019-12-26 2019-12-26 Tax control server-based invoicing batch invoicing job optimized scheduling method and system

Publications (1)

Publication Number Publication Date
CN111210288A true CN111210288A (en) 2020-05-29

Family

ID=70786530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911369702.6A Pending CN111210288A (en) 2019-12-26 2019-12-26 Tax control server-based invoicing batch invoicing job optimized scheduling method and system

Country Status (1)

Country Link
CN (1) CN111210288A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114266611A (en) * 2021-12-27 2022-04-01 浙江吉利控股集团有限公司 Invoice issuing method, invoice issuing apparatus, storage medium, and program product

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414761A (en) * 2013-07-23 2013-11-27 北京工业大学 Mobile terminal cloud resource scheduling method based on Hadoop framework
CN106802826A (en) * 2016-12-23 2017-06-06 ***股份有限公司 A kind of method for processing business and device based on thread pool
CN107656777A (en) * 2016-07-25 2018-02-02 武汉票据交易中心有限公司 A kind of flow path processing method and system based on event
CN108230052A (en) * 2016-12-22 2018-06-29 航天信息股份有限公司 A kind of invoice issuing and method for uploading and system
CN109241772A (en) * 2018-09-07 2019-01-18 腾讯科技(深圳)有限公司 Invoice block chained record method, apparatus, block chain gateway server and medium
CN109360077A (en) * 2018-09-07 2019-02-19 腾讯科技(深圳)有限公司 Information processing method, device, gateway server and medium in invoice reimbursement
CN109559178A (en) * 2018-10-19 2019-04-02 中国平安人寿保险股份有限公司 Electronic invoice massively billing method, electronic device and readable storage medium storing program for executing
US20190130415A1 (en) * 2016-03-31 2019-05-02 ZenDesk, Inc. Automatically clustering customer-support requests to form customer-support topics
CN109768939A (en) * 2018-11-27 2019-05-17 中国科学院计算技术研究所 A kind of labeling network stack method and system for supporting priority
CN109767274A (en) * 2018-12-05 2019-05-17 航天信息股份有限公司 A kind of pair of magnanimity invoice data is associated the method and system of storage
CN109785022A (en) * 2018-12-21 2019-05-21 大象慧云信息技术有限公司 A kind of pair of invoice carries out the method and system that collaboration is issued
CN109960580A (en) * 2017-12-25 2019-07-02 航天信息股份有限公司 A kind of method and system for disposing service of making out an invoice
CN110223127A (en) * 2019-05-20 2019-09-10 深圳壹账通智能科技有限公司 Bill data backing method and system
CN110427256A (en) * 2019-07-23 2019-11-08 中南民族大学 Job scheduling optimization method, equipment, storage medium and device priority-based
US10510082B1 (en) * 2014-01-28 2019-12-17 Six Trees Capital LLC System and method for automated optimization of financial assets

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414761A (en) * 2013-07-23 2013-11-27 北京工业大学 Mobile terminal cloud resource scheduling method based on Hadoop framework
US10510082B1 (en) * 2014-01-28 2019-12-17 Six Trees Capital LLC System and method for automated optimization of financial assets
US20190130415A1 (en) * 2016-03-31 2019-05-02 ZenDesk, Inc. Automatically clustering customer-support requests to form customer-support topics
CN107656777A (en) * 2016-07-25 2018-02-02 武汉票据交易中心有限公司 A kind of flow path processing method and system based on event
CN108230052A (en) * 2016-12-22 2018-06-29 航天信息股份有限公司 A kind of invoice issuing and method for uploading and system
CN106802826A (en) * 2016-12-23 2017-06-06 ***股份有限公司 A kind of method for processing business and device based on thread pool
CN109960580A (en) * 2017-12-25 2019-07-02 航天信息股份有限公司 A kind of method and system for disposing service of making out an invoice
CN109241772A (en) * 2018-09-07 2019-01-18 腾讯科技(深圳)有限公司 Invoice block chained record method, apparatus, block chain gateway server and medium
CN109360077A (en) * 2018-09-07 2019-02-19 腾讯科技(深圳)有限公司 Information processing method, device, gateway server and medium in invoice reimbursement
CN109559178A (en) * 2018-10-19 2019-04-02 中国平安人寿保险股份有限公司 Electronic invoice massively billing method, electronic device and readable storage medium storing program for executing
CN109768939A (en) * 2018-11-27 2019-05-17 中国科学院计算技术研究所 A kind of labeling network stack method and system for supporting priority
CN109767274A (en) * 2018-12-05 2019-05-17 航天信息股份有限公司 A kind of pair of magnanimity invoice data is associated the method and system of storage
CN109785022A (en) * 2018-12-21 2019-05-21 大象慧云信息技术有限公司 A kind of pair of invoice carries out the method and system that collaboration is issued
CN110223127A (en) * 2019-05-20 2019-09-10 深圳壹账通智能科技有限公司 Bill data backing method and system
CN110427256A (en) * 2019-07-23 2019-11-08 中南民族大学 Job scheduling optimization method, equipment, storage medium and device priority-based

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114266611A (en) * 2021-12-27 2022-04-01 浙江吉利控股集团有限公司 Invoice issuing method, invoice issuing apparatus, storage medium, and program product

Similar Documents

Publication Publication Date Title
CN108536532B (en) Batch task processing method and system
CN110390596B (en) Financial futures trading system
US10013278B2 (en) Methods and systems for batch processing in an on-demand service environment
CN104731649A (en) Multi-task processing method and multi-task processing device
CN110363663B (en) Block chain-based data batch processing method, device, equipment and storage medium
CN103493076B (en) For the method and system for the improvement reservation system for optimizing the searching request repeated
KR20110000737A (en) Improvements relating to handling and processing of massive numbers of processing instructions in real time
CN109408229A (en) A kind of dispatching method and device
US8429120B1 (en) System and method for distributed back-off in a database-oriented environment
CN101989213A (en) Account concurrent processing method and account concurrent processing system
CN108829512A (en) A kind of cloud central hardware accelerates distribution method, system and the cloud center of calculating power
CN112631806B (en) Asynchronous message arrangement and scheduling method and device, electronic equipment and storage medium
CN100530105C (en) Cocurrent event processing device and method in multi-task software system
US7606906B2 (en) Bundling and sending work units to a server based on a weighted cost
CN101710320A (en) Statistical index data processing method and device
WO2018166145A1 (en) Method and device for batch offering of repayment data
CN112163001A (en) High-concurrency query method, intelligent terminal and storage medium
CN112084486A (en) User information verification method and device, electronic equipment and storage medium
CN105096122A (en) Fragmented transaction matching method and fragmented transaction matching device
CN112468551A (en) Intelligent scheduling working method based on service priority
CN110221914B (en) File processing method and device
CN111210288A (en) Tax control server-based invoicing batch invoicing job optimized scheduling method and system
CN101551846B (en) Dynamic load equilibria method for radio frequency identifying middleware
US20110171948A1 (en) Transaction in memory object store
CN101534319B (en) Method, system and proxy server for canceling inter-instruction dependency relationship

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