CN113269625A - Work order processing method and device - Google Patents

Work order processing method and device Download PDF

Info

Publication number
CN113269625A
CN113269625A CN202110500853.1A CN202110500853A CN113269625A CN 113269625 A CN113269625 A CN 113269625A CN 202110500853 A CN202110500853 A CN 202110500853A CN 113269625 A CN113269625 A CN 113269625A
Authority
CN
China
Prior art keywords
data
work order
tax
tax data
abnormal
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
CN202110500853.1A
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.)
Shenzhen Weizhong Credit Technology Co ltd
Original Assignee
Shenzhen Weizhong Credit 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 Shenzhen Weizhong Credit Technology Co ltd filed Critical Shenzhen Weizhong Credit Technology Co ltd
Priority to CN202110500853.1A priority Critical patent/CN113269625A/en
Publication of CN113269625A publication Critical patent/CN113269625A/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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/10Tax strategies
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Technology Law (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application discloses a work order processing method and a device, wherein the method comprises the following steps: the method comprises the steps of receiving a tax data request initiated by a first user terminal, generating a first tax data work order according to the tax data request, executing the first tax data work order and dynamically recording the work order execution state of the first tax data work order, if the work order execution state is abnormal, obtaining a work order execution result of the first tax data work order, determining abnormal data in the first tax data work order according to the work order execution result, determining a data compensation mechanism according to the abnormal data, and compensating the first tax data by adopting the data compensation mechanism to obtain the corrected first tax data. By adopting the method of the embodiment of the application, the integrity of the data processing flow of the 'bank and tax interaction' service is ensured, and the working stability of the 'bank and tax interaction' service is further ensured.

Description

Work order processing method and device
Technical Field
The present application relates to the field of big data processing technologies, and in particular, to a work order processing method and apparatus.
Background
Along with the continuous improvement of the economic level of China, the 'bank-tax interaction' (the interaction between a bank and a tax institution) business for solving the financing problem of enterprises is also remarkably developed, and the market also puts higher requirements on the data processing capacity of the 'bank-tax interaction' business. However, at present, there is diversity in technical docking requirements of each local tax office, which causes differentiation in the processing flow of the data collection task of the "bank tax interaction" service, so that the recording and management work of the data collection task of each local tax office by the bank is complicated, and it is difficult to ensure the integrity of the service data processing flow of each application user.
Disclosure of Invention
The embodiment of the application provides a work order processing method and a work order processing device, which are applied to a tax data acquisition system, generate a first tax data work order according to a tax data request initiated by a first user terminal, execute the first tax data work order and dynamically record the work order execution state of the first tax data work order, and ensure the integrity of a 'bank and tax interaction' business data processing flow.
In a first aspect, an embodiment of the present application provides a work order processing method, which is applied to a tax data acquisition system, and the method includes:
receiving a tax data request initiated by a first user terminal, wherein the tax data request is used for requesting to acquire first tax data;
generating a first tax data work order according to the tax data request, wherein the first tax data work order is used for recording a request process of first tax data;
executing the first tax data work order and dynamically recording the work order execution state of the first tax data work order, wherein the work order execution state comprises unexecuted, in-execution, executed and execution abnormity;
if the work order execution state is abnormal, acquiring a work order execution result of the first tax data work order, and determining abnormal data in the first tax data work order according to the work order execution result;
and determining a data compensation mechanism according to the abnormal data, and compensating the first tax data by adopting the data compensation mechanism to obtain the corrected first tax data.
In one possible example, if the work order execution state is in execution, executing the first tax data work order and dynamically recording the work order execution state of the first tax data work order, further includes:
detecting the execution state of the work order as the execution duration in execution;
if the execution duration reaches a preset duration threshold, analyzing the importance level of the first tax data, and determining a data level coefficient;
analyzing the data capacity of the first tax data to determine a data capacity coefficient;
calculating a work order risk index according to a unitary linear regression equation relation among preset execution duration, a data grade coefficient and a data capacity coefficient;
and adopting a safety defense mechanism for the first tax data work order according to the work order risk index.
In one possible example, a security defense mechanism is adopted for the first tax data work order according to the work order risk index, specifically:
if the work order risk index is larger than or equal to the first risk threshold, interrupting the execution of the first tax data work order and giving an alarm;
if the work order risk index is larger than a second risk threshold and smaller than a first risk threshold, encrypting the first tax data work order by using an asymmetric encryption algorithm, wherein the second risk threshold is smaller than the first risk threshold;
and if the work order risk index is larger than a third risk threshold and smaller than a second risk threshold, re-executing the first tax data work order, wherein the third risk threshold is smaller than the second risk threshold.
In a second aspect, an embodiment of the present application provides a work order processing apparatus, which is applied to a tax data collection system, and the apparatus includes:
the receiving unit is used for receiving a tax data request initiated by a first user terminal, and the tax data request is used for requesting to acquire first tax data;
the generating unit is used for generating a first tax data work order according to the tax data request, and the first tax data work order is used for recording a request process of the first tax data;
the execution unit is used for executing the first tax data work order and dynamically recording the work order execution state of the first tax data work order, wherein the work order execution state comprises unexecuted, in-execution, executed and execution abnormity;
the abnormal unit is used for acquiring a work order execution result of the first tax data work order and determining abnormal data in the first tax data work order according to the work order execution result if the work order execution state is abnormal;
and the compensation unit is used for determining a data compensation mechanism according to the abnormal data, and compensating the first tax data by adopting the data compensation mechanism to obtain the corrected first tax data.
In a third aspect, an embodiment of the present application provides a work order processing apparatus, where the apparatus includes:
the system comprises a processor, a memory and a communication interface, wherein the processor, the memory and the communication interface are mutually connected and finish mutual communication work;
the memory has stored thereon executable program code, the communication interface for wireless communication;
the processor is configured to retrieve the executable program code stored in the memory, and to cause the executable program code to perform some or all of the steps described in any of the methods of the first aspect of the embodiments of the present application.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having a computer program stored therein for electronic data exchange, the computer program comprising executable instructions for performing some or all of the steps as described in any one of the methods of the first aspect of embodiments of the present application.
In a fifth aspect, the present application provides a computer program product, where the computer program product includes a computer program operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, by receiving a tax data request initiated by a first user terminal, generating a first tax data work order for recording a request process of first tax data according to the tax data request, executing the first tax data work order, and dynamically recording a work order execution state of the first tax data work order, if the work order execution state is abnormal, obtaining a work order execution result of the first tax data work order, determining abnormal data in the first tax data work order according to the work order execution result, determining a data compensation mechanism according to the abnormal data, and compensating the first tax data by using the data compensation mechanism to obtain the corrected first tax data. The work order processing method ensures that the data acquisition task can be completely executed, ensures the integrity of the 'bank and tax interaction' service data processing flow, and further ensures the working stability of the 'bank and tax interaction' service.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1A is a block diagram of a work order processing system as applied in an embodiment of the present application;
fig. 1B is a schematic flow chart of a work order processing method according to an embodiment of the present disclosure;
fig. 2A is an exemplary schematic diagram of a work order number encoding structure provided in an embodiment of the present application;
fig. 2B is an exemplary schematic diagram of a work order processing method provided in an embodiment of the present application;
fig. 3A is a schematic structural diagram of a work order processing apparatus according to an embodiment of the present disclosure;
fig. 3B is a detailed structural diagram of a compensation unit provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of another work order processing apparatus provided in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps is not limited to only those steps recited, but may alternatively include other steps not recited, or may alternatively include other steps inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The apparatus according to the embodiments of the present application will be described with reference to the accompanying drawings.
Fig. 1A is a structural deployment diagram of a work order processing system applied in the embodiment of the present application. As shown in fig. 1A, the work order processing system includes a work order generating module, a data compensating module, a data source monitoring module, and a capacity expanding module. The functions of each module can be realized by a single server, or the functions of a plurality of modules can be realized by one server. And a plurality of servers realizing the functions of different modules are mutually communicated and connected.
The work order generating module is used for generating a tax data work order with a unique work order number according to a tax data request initiated by a user terminal, and configuring a work order execution flow of the tax data work order according to information such as a tax data type and a data source where the tax data is located in the tax data request.
The data compensation module is used for determining a data compensation mechanism according to abnormal data when the work order execution result of the tax data work order has the abnormal data, and compensating the tax data by adopting the data compensation mechanism.
The data source monitoring module is used for monitoring the work order execution process and the work order execution state of the tax data work order and guaranteeing the stability and the availability of the data source where different tax data are located.
The capacity expansion module is used for increasing the number of cluster servers used for the data source when the number of the tax data work orders initiated to the same data source reaches a certain number, so that a plurality of tax data work orders initiated to the same data source can be processed simultaneously.
The embodiment of the application provides a work order processing method, which is applied to a tax data acquisition system and specifically comprises the steps of receiving a tax data request initiated by a first user terminal, generating a first tax data work order according to the tax data request, executing the first tax data work order, and dynamically recording the work order execution state of the first tax data work order, if the work order execution state is abnormal, obtaining a work order execution result of the first tax data work order, determining abnormal data in the first tax data work order according to the work order execution result, determining a data compensation mechanism according to the abnormal data, and compensating the first tax data by adopting the data compensation mechanism to obtain the corrected first tax data. The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1B, fig. 1B is a schematic flow chart diagram of a work order processing method according to an embodiment of the present application, and as shown in fig. 1B, the work order processing method described in the embodiment of the present application is applied to a tax data acquisition system, and the method includes the following steps:
101: receiving a tax data request initiated by a first user terminal, wherein the tax data request is used for requesting to acquire first tax data;
the first tax data comprises tax related data such as tax payment statement data, asset liability statement data, profit statement data, cash flow statement data and the like.
102: generating a first tax data work order according to the tax data request, wherein the first tax data work order is used for recording a request process of first tax data;
the work order execution flow in the first tax data work order comprises data acquisition, data cleaning, data storage and data warehousing.
Wherein, the data acquisition means acquiring original tax data; the data storage means that original tax data with different data formats are stored in a tax data acquisition system; the data cleaning refers to correcting the data format of the original tax data which cannot be directly used into a data format which can be directly used; and the data warehousing means that different tax data are input into a corresponding database according to data types, and if the tax data are data of the balance sheet, the tax data are input into the balance sheet database.
For example, according to a first tax data type included in the tax data request, a data source where the first tax data is located, and preset work order execution flow configuration information, a work order execution flow in the first tax data work order is determined, and a first tax data work order in which the work order execution flow includes specific items such as data acquisition, data cleaning, data storage, data warehousing is generated, where the work order execution flow configuration information includes data source execution flow configuration information and data source interface address configuration information.
103: executing the first tax data work order and dynamically recording the work order execution state of the first tax data work order, wherein the work order execution state comprises unexecuted, in-execution, executed and execution abnormity;
when the work order execution state of the first tax data work order changes, the latest work order execution state of the first tax data work order is recorded, and the latest work order execution state is used for replacing the past work order execution state.
The first tax data work order is executed, specific matters included in the work order execution flow are processed on the first tax data according to the work order execution flow in the first tax data work order, the first tax data can be collected from a target data source, specific matters such as data cleaning, data storage and data warehousing are carried out on the first tax data, and the purpose is to obtain the first tax data which is requested by the first user terminal and can be directly used. The data source is a data collection organization for obtaining the first tax data.
104: if the work order execution state is abnormal, acquiring a work order execution result of the first tax data work order, and determining abnormal data in the first tax data work order according to the work order execution result;
the abnormal data comprises abnormal data display modes and no returned data.
105: and determining a data compensation mechanism according to the abnormal data, and compensating the first tax data by adopting the data compensation mechanism to obtain the corrected first tax data.
Wherein the purpose of the data compensation mechanism is to retrieve the first tax data. The data compensation mechanism comprises data retry with a certain frequency and data retry with a certain time difference. Retrying is used for reacquiring new first tax data or reacquiring a part of the first tax data corresponding to the abnormal data.
Illustratively, if the data compensation mechanism retries data for a certain frequency, 10 times of reacquisition are carried out on the first tax data; and if the data compensation mechanism retries the data with a certain time difference, the first tax data is reacquired every other day.
Wherein, the data compensation mechanism is determined according to the abnormal data, which means that the data compensation mechanism adopted under the condition that the abnormal data is different is also different.
Illustratively, a first user terminal initiates a tax data request for acquiring tax return data, generates a tax return data work order according to the tax data request, the work order execution process of the tax return data work order comprises specific execution items of data acquisition and data cleaning, the execution state of the work order is abnormal if the execution state of the work order is displayed after the tax return data work order is executed, and the abnormal data is tax return data determined according to the execution result of the work order, because the tax return data plays a critical role in judging whether a first user corresponding to the first user terminal accords with the approval condition of bank products in the 'silver interaction' service, the data compensation mechanism is determined to perform 10 times of data retry on the tax return data, and the work order completes the execution process if the tax return data is successfully acquired in 10 times of data retry, and if the tax declaration form data cannot be successfully acquired in 10 times of data retries, terminating the work order execution process.
It can be seen that, in the embodiment of the present application, by receiving a tax data request initiated by a first user terminal, generating a first tax data work order for recording a request process of first tax data according to the tax data request, executing the first tax data work order, and dynamically recording a work order execution state of the first tax data work order, if the work order execution state is abnormal, obtaining a work order execution result of the first tax data work order, determining abnormal data in the first tax data work order according to the work order execution result, determining a data compensation mechanism according to the abnormal data, and compensating the first tax data by using the data compensation mechanism to obtain the corrected first tax data. The work order processing method ensures that the data acquisition task can be completely executed, ensures the integrity of the 'bank and tax interaction' service data processing flow, and further ensures the working stability of the 'bank and tax interaction' service.
In one possible example, the data compensation mechanism includes data retry, and the data compensation mechanism is determined according to abnormal data, specifically: judging the importance levels of the abnormal data, wherein the importance levels comprise a first importance level and a second importance level; if the importance level of the abnormal data is a first importance level, performing first frequent data retry on the abnormal data, and retrying to be used for reacquiring new first tax data or reacquiring part of first tax data corresponding to the abnormal data; and if the importance level of the abnormal data is a second importance level, performing data retry on the abnormal data at a second frequency, wherein the second frequency is less than the first frequency.
The importance level of the abnormal data refers to the importance degree of the abnormal data in the examination and approval condition when judging whether the first user corresponding to the first user terminal meets the examination and approval condition of the bank product in the 'silver tax interaction' service. The more important the role the anomalous data plays in the approval condition, the higher the importance level of the anomalous data.
Illustratively, the first frequent data retries is 10 data retries and the second frequent data retries is 3 data retries. If the abnormal data is the tax return data, the tax return data plays a critical role in judging whether the first user corresponding to the first user terminal accords with the examination and approval conditions of the bank product in the 'silver tax interaction' service, so that the important grade of the tax return data, namely the abnormal data, is the first important grade, at the moment, 10 times of data retry are carried out on the tax return data, and new tax return data is obtained again. If the abnormal data is the information of the tax violation, the service property of the information of the tax violation is weak, and the role played when judging whether the first user corresponding to the first user terminal accords with the approval condition of the bank product in the 'bank-tax interaction' service is not critical, so that the important grade of the information of the tax violation, namely the abnormal data, is the second important grade, and at the moment, the information of the tax violation is subjected to 3 times of data retry.
It can be seen that, in the embodiment of the present application, by determining the importance level of the abnormal data, if the importance level of the abnormal data is the first importance level, the first frequency data retry is performed on the abnormal data, and if the importance level of the abnormal data is the second importance level, the second frequency data retry is performed on the abnormal data. The abnormal data is subjected to data retry of different frequencies according to different importance levels of the abnormal data, based on the actual situation of the abnormal data, the abnormal data is subjected to data retry of higher frequency when the importance level of the abnormal data is higher, and the abnormal data is subjected to data retry of lower frequency when the importance level of the abnormal data is lower, so that the integrity of the 'bank and tax interaction' business data processing flow is guaranteed, and the efficiency of the 'bank and tax interaction' business data processing flow is also guaranteed.
In one possible example, compensating the first tax data by using a data compensation mechanism to obtain corrected first tax data includes: if the result of the first frequency data retry or the second frequency data retry is successful, replacing the acquired new first tax data with the abnormal data, or replacing part of the acquired first tax data with the abnormal data to obtain corrected first tax data; if the result of the first frequent data retry is failure, terminating the execution of the first tax data work order; and if the result of the second frequent data retry is failure, continuing to execute the first tax data work order.
If the abnormal data is the first tax data, replacing the acquired new first tax data with the abnormal data when the result of the first frequency data retry or the second frequency data retry is successful to obtain corrected first tax data; if the abnormal data is part of the first tax data, when the result of the first frequency data retry or the second frequency data retry is successful, replacing the abnormal data with the obtained part of the first tax data to obtain corrected first tax data; in addition, if the abnormal condition occurs in the execution process of the first tax data work order and the specific data item of the abnormal data cannot be known, the whole work order execution result is replaced by the acquired new first tax data after the data compensation mechanism, and for the abnormal condition, the data compensation mechanism is to execute the first tax data work order again.
Illustratively, the first tax data is tax return data, the abnormal data is tax return data, and the first frequency data retry is adopted for the tax return data. If the result of the first frequency data retry on the tax return data is successful, replacing the abnormal data with the obtained new tax return data to obtain corrected tax return data; if the result of the first frequency of data retry on the tax return data is failure, the normal operation of the 'silver tax interaction' service is seriously influenced by the lack of the tax return data due to the higher importance level of the tax return data, and the execution of the first tax data worksheet is terminated at this time.
Further illustratively, the first tax data is tax violation information, the tax violation information includes debt record information, the abnormal data is debt record information in the tax violation information, and the second frequency data retry is applied to the tax violation information. If the result of retrying the second frequency data of the tax violation information is successful, replacing the abnormal data with the debt record information in the obtained tax violation information to obtain corrected tax violation information; if the result of the second frequent data retry is failed, the first tax data worksheet is continuously executed at the moment because the important level of the tax violation information is relatively low and the 'bank and tax interaction' service cannot be normally carried out due to the lack of the tax violation information.
It can be seen that, in the embodiment of the present application, if the result of the first frequency data retry is a failure, the execution of the first tax data work order is terminated, if the result of the second frequency data retry is a failure, the execution of the first tax data work order is continued, and different work order processing manners are corresponded according to different frequency data retries, so as to achieve the purpose of adopting different processing manners for the data retry failure according to the importance level of the abnormal data, the importance level of the abnormal data which is subjected to the first frequency data retry is higher, and once data loss occurs, the execution of the "silver tax interaction" business data flow is seriously affected, the execution of the first tax data work order is terminated when the result of the first frequency data retry is a failure; and the importance level of the abnormal data which adopts the second frequency of data retry is relatively low, even if data loss occurs, the operation of the 'bank and tax interaction' business data flow is not influenced, and the first tax data worksheet can be continuously executed when the result of the second frequency of data retry is failure. The integrity of the 'bank and tax interaction' business data processing flow is further ensured.
In one possible example, if the result of the first frequent data retry is failure, terminating execution of the first tax data work order, further includes: determining the abnormal level of the work order according to the abnormal data in the first tax data work order, wherein the abnormal level of the work order comprises an alarm level and an early warning level; and if the work order abnormal level is the alarm level, generating an alarm signal, wherein the alarm signal is used for prompting the replacement of the data source of the first tax data, the data source is a data collection mechanism for acquiring the first tax data, and the number of the data sources is at least one.
The work order abnormal level is an alarm level and comprises the condition that a data source is unavailable, and the work order abnormal level is an early warning level and comprises the conditions of abnormal data display modes and network interruption.
For example, if the abnormal data in the first tax data work order is no return data, and the network condition is good at this time, that is, the network interruption does not occur, it may be determined that the data source of the first tax data is unavailable at this time, and then the work order abnormal level is determined to be the alarm level.
The data source comprises databases of different types of tax data of the tax bureau mechanism servers in various places and different interface addresses of the same tax bureau mechanism server for providing the same tax data.
Illustratively, the bank institution server requests the target tax office institution server to retrieve the first tax data, the target tax office institution server has two interface addresses, namely a new version interface and an old version interface, simultaneously, for providing the first tax data for the 'bank tax interaction' service, if the first tax data worksheet cannot successfully retrieve the first tax data from the old version interface, the worksheet abnormal level is an alarm level, and at the moment, an alarm signal is generated for prompting the bank institution server to replace the target interface address from the old version interface to the new version interface and then retrieve the first tax data.
In the embodiment of the application, the alarm signal for prompting the replacement of the data source of the first tax data is generated when the work order abnormal level is the alarm level, so that the continuous availability of the data source is ensured, the integrity of the data processing flow of the 'bank and tax interaction' service is ensured, and the working stability of the 'bank and tax interaction' service is further ensured.
In one possible example, the method further includes: acquiring a work order execution result of a first tax data work order, wherein the work order execution result comprises a work order number, an authorization code and first tax data; packaging the worksheet number, the authorization code and the first tax data to obtain a tax data message; storing the tax data message in a distributed file storage mode, wherein the tax data message is used for determining the integrity of the first tax data work order; and if the first user terminal queries the work order execution result by using the work order number, calling the tax data message and sending the tax data message to the first user terminal.
The authorization code refers to a unique identification code generated by the tax authority server aiming at the feedback action when the first tax data is fed back to the first user terminal.
The distributed file storage mode is used for storing a large number of tax data messages on different database nodes, and the risk of losing the tax data messages is greatly reduced through the distributed file storage mode.
The tax data message is used for determining the integrity of the first tax data work order, and the tax data message can be obtained only after the first tax data work order is completely executed, so that the work order execution result comprising the work order number, the authorization code and the first tax data can be obtained, that is, the obtained tax data message can prove that the first tax data work order has the integrity, and the data processing process and the work order execution result have no abnormity.
For example, the work order number is a 64-digit work order code, please refer to fig. 2A, fig. 2A is an exemplary schematic diagram of a work order number coding structure provided in an embodiment of the present application, and as shown in fig. 2A, in the 64-digit work order number, 1 digit is used as a reserved capacity expansion bit of the work order code, the reserved capacity expansion bit is used for expanding the work order code when other 63 digits of the work order code are used up and cannot generate a new different work order code, 41 digits are used for recording a generation time of a first tax data work order, 10 digits are used for recording a banking institution server number for generating the first tax data work order, different banking institution servers have different and unique banking institution server numbers, 12 digits are used for sequence numbering according to the work order processing sequence of the first tax data work order within the same generation time, the sequence numbers in the same generation time are unique and do not overlap with each other.
It can be seen that, in the embodiment of the application, a work order execution result of the first tax data work order including the work order number, the authorization code, and the first tax data is obtained, the work order number, the authorization code, and the first tax data are encapsulated to obtain a tax data message, and if the first user terminal queries the work order execution result by using the work order number, the tax data message is called and sent to the first user terminal. The data acquisition task in the 'bank and tax interaction' service is recorded and managed, and the security of the 'bank and tax interaction' service is improved by reducing the risk of losing related tax data.
In one possible example, if the work order execution state is in execution, executing the first tax data work order and dynamically recording the work order execution state of the first tax data work order, further includes:
detecting the execution state of the work order as the execution duration in execution;
if the execution duration reaches a preset duration threshold, analyzing the importance level of the first tax data, and determining a data level coefficient;
analyzing the data capacity of the first tax data to determine a data capacity coefficient;
calculating a work order risk index according to a unitary linear regression equation relation among preset execution duration, a data grade coefficient and a data capacity coefficient;
and adopting a safety defense mechanism for the first tax data work order according to the work order risk index.
The work order execution state is the execution duration in execution, and refers to the maintenance time of the work order execution state in execution.
The importance level of the first tax data refers to the importance degree of the first tax data in the examination and approval condition when judging whether the first user corresponding to the first user terminal meets the examination and approval condition of bank products in the 'bank and tax interaction' service. The more important the first tax data plays in the approval condition, the higher the importance level of the first tax data is, and the larger the data level coefficient is.
Illustratively, the data grade coefficient when the first tax data is tax payment statement data is larger than the data grade coefficient when the first tax data is tax violation information.
The data capacity refers to the space occupied by the first tax data. The larger the data information amount in the first tax data is, the larger the data capacity coefficient is.
Illustratively, since the tax return form includes the data item of the amount due to tax payment, that is, the amount due to tax payment is one of the data items of the tax return form, the data capacity coefficient when the first tax data is the tax return form is larger than the data capacity coefficient when the first tax data is the amount due to tax payment.
The work order risk index is the data grade coefficient, the execution duration + the data capacity coefficient, or the work order risk index is the data capacity coefficient, the execution duration + the data grade coefficient.
It can be seen that, in the embodiment of the application, the execution state of the work order is detected as the execution duration in execution, if the execution duration reaches the preset duration threshold, the important level and the data capacity of the first tax data are analyzed, and the data level coefficient and the data capacity coefficient are determined, so that the work order risk index is calculated, a security defense mechanism is adopted for the first tax data work order according to the work order risk index, the bad situation that user data is maliciously leaked due to network attack is avoided, and the stability of the security of the 'bank and tax interaction' business data processing process is guaranteed.
In one possible example, a security defense mechanism is adopted for the first tax data work order according to the work order risk index, specifically:
if the work order risk index is larger than or equal to the first risk threshold, interrupting the execution of the first tax data work order and giving an alarm;
if the work order risk index is larger than a second risk threshold and smaller than a first risk threshold, encrypting the first tax data work order by using an asymmetric encryption algorithm, wherein the second risk threshold is smaller than the first risk threshold;
and if the work order risk index is larger than a third risk threshold and smaller than a second risk threshold, re-executing the first tax data work order, wherein the third risk threshold is smaller than the second risk threshold.
The first tax data work order is encrypted by using the asymmetric encryption algorithm, and the asymmetric encryption algorithm is a type of encryption algorithm with higher security due to higher difficulty in cracking.
Illustratively, the first risk threshold is 10, the second risk threshold is 5, and the third risk threshold is 3. If the work order risk index is 12 and is greater than 10, namely greater than the first risk threshold, the 'bank and tax interaction' service is the interaction between the bank institution server and the tax office institution server and relates to the important bank and tax data of the application user, so that the 'bank and tax interaction' service has an extremely high requirement on the network security, and in order to prevent the important bank and tax data from being maliciously leaked or utilized due to the serious malicious attack on the network, the execution of the first tax data work order is interrupted at this moment to avoid the user data leakage and give an alarm.
According to the method, different security defense mechanisms are correspondingly adopted for different work order risk indexes according to the size of the work order risk index, the execution of the first tax data work order is interrupted and an alarm is given in the case of a high work order risk index, the fact that important bank and tax data are maliciously leaked or utilized due to the fact that a network is seriously attacked is prevented, the first tax data work order is encrypted by using an asymmetric encryption algorithm in the case of a medium work order risk index, the fact that user data are leaked is avoided, the first tax data work order is re-executed in the case of a low work order risk index, and the completeness and the security of a 'bank and tax interaction' business data processing flow are further guaranteed.
In one possible example, the method further includes generating a plurality of tax data work orders according to the tax data requests of the plurality of user terminals, and if the abnormal level of the work order is the early warning level, the method further includes: detecting the number of work orders with the work order abnormal level as the early warning level in a plurality of tax data work orders in a first time period, and calculating the early warning abnormal frequency; and if the early warning abnormal frequency is greater than the preset early warning abnormal frequency, generating a repairing signal, wherein the repairing signal is used for repairing the communication network of the tax data acquisition system.
The work order abnormal level is an early warning level and comprises the conditions of abnormal data display modes and network interruption.
And the early warning abnormal frequency is the work order quantity/first time period with the work order abnormal level as the early warning level.
The communication network of the tax data acquisition system is repaired, so that the 'bank and tax interaction' service can be normally carried out continuously, and the data acquisition task can be completely executed.
Exemplarily, if the abnormal data in the first tax data work order is in an abnormal data display mode, at this time, the work order execution flow of the tax data work order is affected due to network fluctuation and the like, and the display mode of the finally obtained data is abnormal, the work order abnormal level is determined to be the early warning level.
In the embodiment of the application, the early warning abnormal frequency is calculated by detecting the number of the work orders with the work order abnormal level as the early warning level in the multiple tax data work orders in the first time period, and the repairing signal is generated when the early warning abnormal frequency is greater than the preset early warning abnormal frequency, so that the communication network of the tax data acquisition system is repaired, the integrity of the processing flow of the 'silver tax interaction' business data is ensured, and the working stability of the 'silver tax interaction' business is further ensured.
In one possible example, executing the tax data work order includes obtaining tax data requested by the user terminal from a data source, and the method further includes: judging a data source corresponding to each tax data work order in a plurality of tax data work orders generated according to tax data requests of a plurality of user terminals in a second time period, and determining whether the number of the work orders of the tax data work orders belonging to the same data source reaches a first preset number of the work orders; if the number of the work orders reaches the first preset number of the work orders, judging whether the access frequency of the data source reaches the preset access frequency; if yes, determining a work order quantity weight according to the work order quantity, and determining an access frequency weight according to the access frequency; calculating the difference of the number of work orders according to the number of the work orders and the number of the first preset work orders; determining a target weight pair according to a mapping relation between a preset work order quantity difference and the weight pair, wherein the target weight pair comprises a first weight and a second weight; and performing weighted operation on the work order quantity weight, the access frequency weight, the first weight and the second weight to obtain a work order quantity capacity expansion value, wherein the work order quantity capacity expansion value is used for increasing the quantity of the cluster servers used aiming at the data source.
The data source comprises databases of different types of tax data of the tax bureau mechanism servers in various places and different interface addresses of the same tax bureau mechanism server for providing the same tax data.
The more the number of the work orders is, the larger the weight of the number of the work orders is; the higher the access frequency, the larger the access frequency weight.
And the work order quantity difference is the work order quantity-the first preset work order quantity.
Wherein, the first weight is 0-1, the second weight is 0-1, and the first weight + the second weight is 2.
The work order quantity capacity expansion value is equal to the first weight value and the work order quantity weight value plus the second weight value and the visit frequency weight value, or the work order quantity capacity expansion value is equal to the first weight value and the visit frequency weight value plus the second weight value and the work order quantity weight value.
Illustratively, the second time period is 1 minute, the first preset number of work orders is 2, the preset access frequency is 10 times that the data source is accessed within 1 minute, and the work order number capacity value is equal to the first weight value plus the second weight value. Within 1 minute, the number of the work orders of the tax data work orders belonging to the same data source is 4, and more than 2 work orders are larger than the first preset work order number, and the preset access frequency is reached when the data source is accessed 15 times or more than 10 times within 1 minute, the weight of the work order quantity is determined to be 2 according to the work order quantity, determining the access frequency weight value to be 1.5 according to the access frequency, calculating the difference of the number of work orders to be 4-2 to be 2, determining the first weight value to be 1.5 and the second weight value to be 2-1.5 to be 0.5 according to the preset mapping relation between the work order quantity difference and the weight value pair, obtaining the work order quantity expansion value to be the first weight value to be the work order quantity weight value and the second weight value to be the visit frequency weight value to be 1.5 to be 2+0.5 to be 1.5 to be 3.75 to be approximately 4, the number of cluster servers used by the data source is increased to 4 at this time, and 4 cluster servers are used to process 4 tax data work orders belonging to the same data source at the same time.
It can be seen that, in the embodiment of the application, when the number of work orders of the tax data work orders initiated to the same data source reaches the first preset number of work orders and the access frequency of the data source reaches the preset access frequency, the number of work orders, the preset number of work orders and the access frequency are analyzed and calculated to obtain the work order number expansion value for increasing the number of cluster servers used for the data source, so that a plurality of tax data work orders initiated to the same data source can be processed simultaneously, and the working efficiency of the 'bank and tax interaction' service in processing the tax data work orders initiated to the same data source is improved.
In one possible example, the method further includes: detecting the number of unexecuted work orders in a plurality of tax data work orders, wherein the unexecuted work orders are work orders with unexecuted states; if the quantity of the unexecuted work orders reaches a preset quantity threshold value, acquiring the work order information of the unexecuted work orders, wherein the work order information comprises a tax data requester and request contents; analyzing the tax data requesters and request contents in the unexecuted work order; detecting the quantity of the thunder-type worksheets containing the same tax data requester and the same request content in the unexecuted worksheets, wherein the quantity of the thunder-type worksheets is N; if the number of the thunder work orders reaches a preset threshold value of the thunder work orders, acquiring the initiation time of each thunder work order in the N thunder work orders; calculating the average time interval of the N thunder work orders according to the initiating time; if the average time interval is greater than or equal to the preset time interval, setting the first thunder-type worksheet as a first priority, wherein the first thunder-type worksheet is a worksheet with the earliest initiation time in the thunder-type worksheets, and the first priority is used for setting the first thunder-type worksheet as a next to-be-processed worksheet of the first tax data worksheet; and if the average time interval is smaller than the preset time interval, deleting the non-first thunder worksheet in the thunder worksheets.
And the average time interval is (the initiating time of the Nth laser worksheet-the initiating time of the first laser worksheet)/(N-1), the laser worksheets are sequenced according to the initiating time, and the Nth laser worksheet is the worksheet with the latest initiating time in the N laser worksheets.
Illustratively, the number of the same tax data requester and the same request content is 5, the preset threshold of the same tax data requester is 3, and the preset time interval is 10 minutes. At this time, the number of the reynolds work orders is 5, the threshold of the reynolds work orders is reached, if the initiation time of each of the 5 reynolds work orders is 14:00, 14:05, 14:20, 14:30, and 15:00, respectively, it is found that the first reynolds work order is the work order with the initiation time of 14:00, and the fifth reynolds work order is the work order with the initiation time of 15:00, the average time interval of the 5 reynolds work orders can be calculated according to the initiation time of the 5 reynolds work orders, which is (the initiation time of the fifth reynolds work order-the initiation time of the first reynolds work order)/(5-1) (15:00-14: 00)/(5-1): 60/4 is 15 minutes, that is, the average time interval is larger than the preset time interval, so as to avoid that the corresponding tax data requester may not receive the tax data for a long time and thus affect the performance of the "bank account interaction" service, referring to fig. 2B, fig. 2B is a schematic diagram illustrating an example of a work order processing method according to an embodiment of the present application, and as shown in fig. 2B, a first rale work order with an earliest initiation time, that is, an initiation time of 14:00, is set as a next work order to be processed of a first tax data work order currently processed, and after the first tax data work order is executed, the first rale work order is preferentially processed.
For another example, the number of the same tax data requester and the same request content is 5, the preset threshold of the same tax data requester is 3, and the preset time interval is 10 minutes. At this time, the number of the reynold work orders is 5, the threshold of the reynold work orders is reached, if the initiation time of each of the 5 reynold work orders is 14:00, 14:05, 14:08, 14:12, 14:16, respectively, it is found that the first reynold work order is the work order with the initiation time of 14:00, and the fifth reynold work order is the work order with the initiation time of 14:16, the average time interval of the 5 reynold work orders can be calculated according to the initiation time of the 5 reynold work orders (the initiation time of the fifth reynold work order-the initiation time of the first reynold work order)/(5-1) (14:16-14: 00)/(5-1): 16/4 is 4 minutes, that is, that the average time interval is smaller than the preset time interval, which indicates that the phenomenon of the reynold data work orders may be generated by multiple repeated work orders due to network fluctuation and the like, at this time, the work orders except for the first reynolds number work order with the initiation time of 14:00 at the earliest initiation time have no practical significance, and in order to guarantee the data processing efficiency of the 'bank and taxation interaction' service, non-first reynolds number work orders with no practical significance in the reynolds number work orders, namely 4 reynolds number work orders with the initiation times of 14:05, 14:08, 14:12 and 14:16, are deleted, and only the first reynolds number work order is executed.
It can be seen that, in the embodiment of the present application, by detecting the number of unexecuted work orders in a plurality of tax data work orders, when the number of unexecuted work orders reaches a preset number threshold, the tax data requesters and request contents in the work order information of the unexecuted work orders are analyzed, the number of the identical work orders including the same tax data requesters and the same request contents is detected, if the number of the identical work orders reaches a preset identical work order threshold, the average time interval of the N identical work orders is calculated, and different processing is performed on the identical work orders according to the relationship between the time interval and the preset time interval. When the average time interval is greater than or equal to the preset time interval, in order to avoid that a corresponding tax data requester can not receive tax data for a long time and influence the implementation of the 'bank and tax interaction' service, setting a first thunder worksheet with the earliest initiation time in the thunder worksheets as a first priority; when the average time interval is smaller than the preset time interval, a plurality of repeated work orders are generated possibly due to network fluctuation and the like, and in order to guarantee the data processing efficiency of the 'bank and tax interaction' service, the non-first thunder work order which has no practical significance in the thunder work orders is deleted. The flexibility and the intelligence of the 'bank and tax interaction' business data processing flow are improved while the integrity of the 'bank and tax interaction' business data processing flow is ensured.
Referring to fig. 3A, please refer to fig. 3A in accordance with the embodiment shown in fig. 1B, where fig. 3A is a schematic structural diagram of a work order processing apparatus provided in an embodiment of the present application, as shown in fig. 3A:
a work order processing device is applied to a tax data acquisition system, and comprises:
301: the receiving unit is used for receiving a tax data request initiated by a first user terminal, and the tax data request is used for requesting to acquire first tax data;
302: the generating unit is used for generating a first tax data work order according to the tax data request, and the first tax data work order is used for recording a request process of the first tax data;
303: the execution unit is used for executing the first tax data work order and dynamically recording the work order execution state of the first tax data work order, wherein the work order execution state comprises unexecuted, in-execution, executed and execution abnormity;
304: the abnormal unit is used for acquiring a work order execution result of the first tax data work order and determining abnormal data in the first tax data work order according to the work order execution result if the work order execution state is abnormal;
305: and the compensation unit is used for determining a data compensation mechanism according to the abnormal data, and compensating the first tax data by adopting the data compensation mechanism to obtain the corrected first tax data.
It can be seen that, in the embodiment of the present application, a tax data request initiated by a first user terminal is received by a receiving unit, a first tax data work order used for recording a request process of first tax data is generated by a generating unit according to the tax data request, a work order execution state of the first tax data work order is dynamically recorded by an executing unit, if the work order execution state is abnormal, a work order execution result of the first tax data work order is obtained by an abnormal unit, abnormal data in the first tax data work order is determined according to the work order execution result, a data compensation mechanism is determined by a compensating unit according to the abnormal data, the first tax data is compensated by the data compensation mechanism, and corrected first tax data is obtained. The work order processing device ensures that the data acquisition task can be completely executed, ensures the integrity of the 'bank and tax interaction' service data processing flow, and further ensures the working stability of the 'bank and tax interaction' service.
Specifically, in the embodiment of the present application, the work order processing apparatus may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In a possible example, please refer to fig. 3B, fig. 3B is a detailed structural diagram of a compensation unit according to an embodiment of the present application, and as shown in fig. 3B, the compensation unit includes:
3051: the judging module is used for judging the importance levels of the abnormal data, wherein the importance levels comprise a first importance level and a second importance level;
3052: the first frequency data retry module is used for performing first frequency data retry on the abnormal data if the importance level of the abnormal data is a first importance level, and retrying the abnormal data to obtain new first tax data again or obtain part of first tax data corresponding to the abnormal data again;
3053: and the second frequency data retry module is used for performing second frequency data retry on the abnormal data if the importance level of the abnormal data is a second importance level, wherein the second frequency is less than the first frequency.
Referring to fig. 4, in accordance with the embodiment shown in fig. 1B, fig. 4 is a schematic structural diagram of another work order processing apparatus provided in the embodiment of the present application, as shown in fig. 4:
a work order processing apparatus comprising:
the system comprises a processor, a memory and a communication interface, wherein the processor, the memory and the communication interface are mutually connected and finish mutual communication work;
the memory has stored thereon executable program code, the communication interface for wireless communication;
the processor is used for calling the executable program codes stored in the memory and executing part or all of the steps of any one of the work order processing methods described in the above method embodiments, and the computer comprises an electronic terminal device.
The memory may be a volatile memory such as a dynamic random access memory DRAM, or a non-volatile memory such as a mechanical hard disk. The memory is used for storing a set of executable program codes, and the processor is used for calling the executable program codes stored in the memory and executing part or all of the steps of any work order processing method described in the embodiment of the work order processing method.
The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution).
The embodiment of the application provides a computer-readable storage medium, a computer program for electronic data exchange is stored in the computer-readable storage medium, the computer program includes an execution instruction, the execution instruction is used for executing part or all steps of any one of the work order processing methods described in the above work order processing method embodiment, and the computer includes an electronic terminal device.
Embodiments of the present application provide a computer program product, wherein the computer program product comprises a computer program operable to cause a computer to perform some or all of the steps of any of the method for processing a work order as described in the above method embodiments, and the computer program product may be a software installation package.
It should be noted that any of the above embodiments of the work order processing method are described as a series of acts for simplicity of description, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
The above embodiments of the present application are described in detail, and the principles and embodiments of a work order processing method and apparatus of the present application are explained herein by applying specific examples, and the description of the above embodiments is only used to help understand the method and core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present invention, the specific implementation and the application range may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, hardware products 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. The memory may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
While the present application has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
Those skilled in the art will appreciate that all or part of the steps in the various methods of the method embodiments of any of the above-described work order processing methods may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
It will be appreciated that any product that is controlled or configured to perform the processing of the flowcharts described herein in one embodiment of a work order processing method, such as the apparatus of the flowcharts described above, and computer program products, are within the scope of the corresponding product described herein.
It will be apparent to those skilled in the art that various modifications and variations can be made in a work order processing method and apparatus provided herein without departing from the spirit and scope of the present application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A work order processing method is applied to a tax data acquisition system and is characterized by comprising the following steps:
receiving a tax data request initiated by a first user terminal, wherein the tax data request is used for requesting to acquire first tax data;
generating a first tax data work order according to the tax data request, wherein the first tax data work order is used for recording a request process of the first tax data;
executing the first tax data work order and dynamically recording the work order execution state of the first tax data work order, wherein the work order execution state comprises unexecuted, in-execution, executed and executed abnormity;
if the work order execution state is the execution abnormity, acquiring a work order execution result of the first tax data work order, and determining abnormal data in the first tax data work order according to the work order execution result;
and determining a data compensation mechanism according to the abnormal data, and compensating the first tax data by adopting the data compensation mechanism to obtain corrected first tax data.
2. The method according to claim 1, wherein the data compensation mechanism comprises data retry, and the determining the data compensation mechanism according to the abnormal data comprises:
judging the importance levels of the abnormal data, wherein the importance levels comprise a first importance level and a second importance level;
if the importance level of the abnormal data is the first importance level, performing first frequent data retry on the abnormal data, wherein the retry is used for reacquiring new first tax data or reacquiring part of first tax data corresponding to the abnormal data;
and if the importance level of the abnormal data is the second importance level, performing second frequency data retry on the abnormal data, wherein the second frequency is smaller than the first frequency.
3. The method of claim 2, wherein the compensating the first tax data using the data compensation mechanism to obtain corrected first tax data comprises:
if the result of the first frequency data retry or the second frequency data retry is successful, replacing the acquired new first tax data with the abnormal data, or replacing the acquired part of the first tax data with the abnormal data, so as to obtain corrected first tax data;
if the result of the first frequent data retry is failure, terminating the execution of the first tax data work order;
and if the result of the second frequent data retry is failure, continuing to execute the first tax data work order.
4. The method of claim 3, wherein terminating execution of the first tax data work order if the first frequent data retries result in failure, further comprises:
determining work order abnormal levels according to abnormal data in the first tax data work order, wherein the work order abnormal levels comprise an alarm level and an early warning level;
and if the work order abnormal level is the alarm level, generating an alarm signal, wherein the alarm signal is used for prompting to replace a data source of the first tax data, the data source is a data summarization mechanism for acquiring the first tax data, and the number of the data sources is at least one.
5. The method according to any one of claims 1-4, further comprising:
acquiring the work order execution result of the first tax data work order, wherein the work order execution result comprises a work order number, an authorization code and the first tax data;
packaging the worksheet number, the authorization code and the first tax data to obtain a tax data message;
storing the tax data message in a distributed file storage mode, wherein the tax data message is used for determining the integrity of the first tax data work order;
and if the first user terminal uses the work order number to inquire the work order execution result, calling the tax data message and sending the tax data message to the first user terminal.
6. The method of claim 1, further comprising generating a plurality of tax data work orders according to tax data requests from a plurality of user terminals, and if the abnormal level of the work order is the early warning level, the method further comprises:
detecting the number of work orders with the work order abnormal level as the early warning level in the plurality of tax data work orders in a first time period, and calculating the early warning abnormal frequency;
and if the early warning abnormal frequency is greater than the preset early warning abnormal frequency, generating a repairing signal, wherein the repairing signal is used for repairing the communication network of the tax data acquisition system.
7. The method of claim 6, wherein executing the tax data work order comprises obtaining tax data requested by the user terminal from a data source, the method further comprising:
judging a data source corresponding to each tax data work order in a plurality of tax data work orders generated according to tax data requests of a plurality of user terminals in a second time period, and determining whether the number of the work orders of the tax data work orders belonging to the same data source reaches a first preset number of the work orders;
if the number of the work orders reaches the first preset number of the work orders, judging whether the access frequency of the data source reaches a preset access frequency;
if yes, determining a work order quantity weight according to the work order quantity, and determining an access frequency weight according to the access frequency;
calculating the work order quantity difference according to the work order quantity and the first preset work order quantity;
determining a target weight pair according to a mapping relation between a preset work order quantity difference and the weight pair, wherein the target weight pair comprises a first weight and a second weight;
and performing weighted operation on the work order quantity weight, the access frequency weight, the first weight and the second weight to obtain a work order quantity capacity expansion value, wherein the work order quantity capacity expansion value is used for increasing the quantity of the cluster servers used by aiming at the data source.
8. The method according to claim 6 or 7, characterized in that the method further comprises:
detecting the quantity of unexecuted work orders in the plurality of tax data work orders, wherein the unexecuted work orders are work orders with unexecuted work order states;
if the quantity of the unexecuted work orders reaches a preset quantity threshold value, acquiring the work order information of the unexecuted work orders, wherein the work order information comprises a tax data requester and request contents;
analyzing the tax data requester and the request content in the unexecuted work order;
detecting the quantity of the thunder-type worksheets containing the same tax data requester and the same request content in the unexecuted worksheets, wherein the quantity of the thunder-type worksheets is N;
if the number of the thunder work orders reaches a preset threshold value of the thunder work orders, acquiring the initiation time of each thunder work order in the N thunder work orders;
calculating the average time interval of the N thunder work orders according to the initiating time;
if the average time interval is greater than or equal to a preset time interval, setting a first thunder work order as a first priority, wherein the first thunder work order is a work order with the earliest initiation time in the thunder work order, and the first priority is used for setting the first thunder work order as a next work order to be processed of the first tax data work order;
and if the average time interval is smaller than the preset time interval, deleting the non-first thunder worksheet in the thunder worksheets.
9. The utility model provides a work order processing apparatus, is applied to among tax data collection system, its characterized in that, the device includes:
the receiving unit is used for receiving a tax data request initiated by a first user terminal, wherein the tax data request is used for requesting to acquire first tax data;
the generating unit is used for generating a first tax data work order according to the tax data request, and the first tax data work order is used for recording the request process of the first tax data;
the execution unit is used for executing the first tax data work order and dynamically recording the work order execution state of the first tax data work order, wherein the work order execution state comprises unexecuted, in-execution, executed and executed abnormity;
the abnormal unit is used for acquiring a work order execution result of the first tax data work order and determining abnormal data in the first tax data work order according to the work order execution result if the work order execution state is the execution abnormality;
and the compensation unit is used for determining a data compensation mechanism according to the abnormal data, and compensating the first tax data by adopting the data compensation mechanism to obtain the corrected first tax data.
10. A work order processing apparatus, the apparatus comprising:
the system comprises a processor, a memory and a communication interface, wherein the processor, the memory and the communication interface are connected with each other and complete the communication work among the processors;
the memory having stored thereon executable program code, the communication interface for wireless communication;
the processor is configured to retrieve the executable program code stored on the memory and execute the method of any one of claims 1-8.
CN202110500853.1A 2021-05-08 2021-05-08 Work order processing method and device Pending CN113269625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110500853.1A CN113269625A (en) 2021-05-08 2021-05-08 Work order processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110500853.1A CN113269625A (en) 2021-05-08 2021-05-08 Work order processing method and device

Publications (1)

Publication Number Publication Date
CN113269625A true CN113269625A (en) 2021-08-17

Family

ID=77230170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110500853.1A Pending CN113269625A (en) 2021-05-08 2021-05-08 Work order processing method and device

Country Status (1)

Country Link
CN (1) CN113269625A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114024901A (en) * 2022-01-05 2022-02-08 中邮消费金融有限公司 Message isolation forwarding method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8001021B1 (en) * 2006-05-16 2011-08-16 Intuit Inc. System and method for compensation query management
CN106055565A (en) * 2016-05-18 2016-10-26 广东源恒软件科技有限公司 Method and device for generating tax affair report
US20180315130A1 (en) * 2017-04-28 2018-11-01 Hrb Innovations, Inc. Intelligent data gathering
CN109674459A (en) * 2018-12-24 2019-04-26 深圳和而泰数据资源与云技术有限公司 A kind of method and device of data processing
CN111506909A (en) * 2020-04-13 2020-08-07 深圳微众信用科技股份有限公司 Silver tax data interaction method and system
CN112381634A (en) * 2020-11-20 2021-02-19 湖南智慧政务区块链科技有限公司 Tax statistics and settlement method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8001021B1 (en) * 2006-05-16 2011-08-16 Intuit Inc. System and method for compensation query management
CN106055565A (en) * 2016-05-18 2016-10-26 广东源恒软件科技有限公司 Method and device for generating tax affair report
US20180315130A1 (en) * 2017-04-28 2018-11-01 Hrb Innovations, Inc. Intelligent data gathering
CN109674459A (en) * 2018-12-24 2019-04-26 深圳和而泰数据资源与云技术有限公司 A kind of method and device of data processing
CN111506909A (en) * 2020-04-13 2020-08-07 深圳微众信用科技股份有限公司 Silver tax data interaction method and system
CN112381634A (en) * 2020-11-20 2021-02-19 湖南智慧政务区块链科技有限公司 Tax statistics and settlement method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114024901A (en) * 2022-01-05 2022-02-08 中邮消费金融有限公司 Message isolation forwarding method and system
CN114024901B (en) * 2022-01-05 2022-04-19 中邮消费金融有限公司 Message isolation forwarding method and system

Similar Documents

Publication Publication Date Title
CN109787908B (en) Server current limiting method, system, computer equipment and storage medium
CN109740120A (en) The generation method of unique identification, device, computer equipment under distributed environment
CN105260136A (en) Data read-write method and distributed storage system
CN105630418A (en) Data storage method and device
CN110046029A (en) Data processing method and device applied to multi-level buffer in cluster
US10884862B2 (en) Method and apparatus for processing failure of cipher change of ciphertext in database
CN111199379A (en) Examination and approval method, examination and approval device and storage medium of workflow engine
WO2021066954A1 (en) Subscription to dependencies in smart contracts
CN111489250A (en) Credit report sharing method, device, medium and system based on block chain
CN110554911A (en) Memory access and allocation method, memory controller and system
WO2022103568A1 (en) Hierarchy-based blockchain
CN113269625A (en) Work order processing method and device
CN112835885A (en) Processing method, device and system for distributed table storage
CN111209542B (en) Authority management method and device, storage medium and electronic equipment
US20040215774A1 (en) Systerm for determining unreturned standby resource usage
US20230109530A1 (en) Synchronous object placement for information lifecycle management
CN115544008A (en) Transaction order database and table processing method and system, electronic device and storage medium
CN110543465A (en) directory operation method and device, computer equipment and storage medium
CN113051257B (en) Service data cleaning method and device
CN111708802B (en) Network request anti-reprocessing method and device
CN115391703A (en) Interface information processing method and device
CN113468579A (en) Data access method, device, equipment and storage medium
CN113592495A (en) Block chain-based evidence storing method, device and system
CN112860746A (en) Cache reduction-based method, equipment and system
CN112488833A (en) Transaction processing method and device, electronic equipment and readable storage medium

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