CN110764872A - Automatic tax declaring method and system based on cloud service architecture and related equipment - Google Patents

Automatic tax declaring method and system based on cloud service architecture and related equipment Download PDF

Info

Publication number
CN110764872A
CN110764872A CN201911001125.5A CN201911001125A CN110764872A CN 110764872 A CN110764872 A CN 110764872A CN 201911001125 A CN201911001125 A CN 201911001125A CN 110764872 A CN110764872 A CN 110764872A
Authority
CN
China
Prior art keywords
tax
declaring
task
tasks
tax return
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
CN201911001125.5A
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 Kingdee Zhangwuyou Network Technology Co Ltd
Original Assignee
Shenzhen Kingdee Zhangwuyou Network 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 Kingdee Zhangwuyou Network Technology Co Ltd filed Critical Shenzhen Kingdee Zhangwuyou Network Technology Co Ltd
Priority to CN201911001125.5A priority Critical patent/CN110764872A/en
Publication of CN110764872A publication Critical patent/CN110764872A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • 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/12Accounting
    • G06Q40/123Tax preparation or submission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The embodiment of the invention provides an automatic tax declaring method, system and related equipment based on a cloud service architecture, which are used for realizing automatic tax declaring and improving tax declaring efficiency and accuracy. The method provided by the embodiment of the invention comprises the following steps: receiving a tax return service request initiated by a client, wherein the tax return service request comprises tax return related information; generating a tax return task corresponding to the tax return service request according to the tax return related information, and adding the tax return task into a task queue; and allocating a tax return robot to the tax return tasks in the task queue from a cloud service resource pool according to a preset algorithm to execute the tax return tasks, wherein the tax return robot is a software flow automatic RPA script or a crawler service program.

Description

Automatic tax declaring method and system based on cloud service architecture and related equipment
Technical Field
The invention relates to the technical field of data processing, in particular to an automatic tax declaring method and system based on a cloud service architecture and related equipment.
Background
For the agency accounting industry, each tax declaration personnel in the tax period can help entrust enterprises to carry out tax declaration, and the traditional tax declaration mode needs to manually log in a tax bureau or a tax declaration client, enter declaration data and then declare enterprises one by one.
The existing agency accounting industry adopts manual entry, the manual repeated operation consumes much time, the data dispersion efficiency is low, a great deal of energy of tax declaring personnel is often consumed, and manual declaration is easy to make mistakes.
Disclosure of Invention
The embodiment of the invention provides an automatic tax declaring method, system and related equipment based on a cloud service architecture, which are used for realizing automatic tax declaring and improving tax declaring efficiency and accuracy.
The first aspect of the embodiments of the present invention provides an automatic tax declaring method based on a cloud service architecture, which is characterized by including:
receiving a tax return service request initiated by a client, wherein the tax return service request comprises tax return related information;
generating a tax return task corresponding to the tax return service request according to the tax return related information, and adding the tax return task into a task queue;
and allocating a tax return robot to the tax return tasks in the task queue from a cloud service resource pool according to a preset algorithm to execute the tax return tasks, wherein the tax return robot is a software flow automatic RPA script or a crawler service program.
Optionally, as a possible implementation manner, in an embodiment of the present invention, the allocating a tax return robot from a cloud service resource pool to a tax return task in the task queue according to a preset algorithm to execute the tax return task includes:
and respectively carrying out tax return task classification processing on the tax return task of each user, wherein the tax return task classification processing comprises the following steps: selecting N tax declaring tasks of a preset number from M tax declaring tasks initiated by the same user to be added into a first task sequence, and adding the rest (M-N) tax declaring tasks into a second task sequence, wherein N is less than or equal to M;
and calling the tax declaring robot to preferentially execute the tax declaring tasks in the first task sequence, and after the tax declaring tasks in the first task sequence are completed, executing the tax declaring tasks in the second task sequence.
Optionally, as a possible implementation manner, the automatic tax declaring method based on the cloud service architecture in the embodiment of the present invention further includes:
periodically counting the number D of unexecuted tax declaring tasks and the number X of tax declaring robots in the resource pool;
if D is more than or equal to [ X (R +1) + R ] in continuous A statistical periods, adding Z tax declaring robots in the cloud service resource pool, wherein Z is [ (D-X)/R-X ], and A, R is a preset positive integer;
and if Min is less than or equal to D and less than X in the continuous A statistical periods, reducing S tax declaring robots in the cloud service resource pool, wherein S is (X-D), S is less than or equal to (X-Min), and Min is a positive integer.
Optionally, as a possible implementation manner, the automatic tax declaring method based on the cloud service architecture in the embodiment of the present invention further includes:
configuring a maximum execution time for each type of tax return task;
and if the target tax declaring task executed by the first tax declaring robot exceeds the corresponding maximum execution time, calling the second tax declaring robot to replace the first tax declaring robot to execute the target tax declaring task again.
Optionally, as a possible implementation manner, the automatic tax declaring method based on the cloud service architecture in the embodiment of the present invention further includes:
and when the execution of the tax declaring task fails, judging whether tax declaring related information corresponding to the target tax declaring task is correct, if so, re-executing the target tax declaring task, otherwise, not re-executing.
A second aspect of the embodiments of the present invention provides an automatic tax return system based on a cloud service architecture, which is characterized by including:
the receiving unit is used for receiving a tax return service request initiated by a client, wherein the tax return service request comprises tax return related information;
the generating unit is used for generating a tax return task corresponding to the tax return service request according to the tax return related information and adding the tax return task into a task queue;
and the configuration unit is used for distributing tax declaring robots to the tax declaring tasks in the task queue from a cloud service resource pool according to a preset algorithm to execute the tax declaring tasks, and the tax declaring robots are software flow automation RPA scripts or crawler service programs.
Optionally, as a possible implementation manner, in an embodiment of the present invention, the configuration unit includes:
the classification module is used for performing tax return task classification processing on tax return tasks of each user respectively, and the tax return task classification processing comprises the following steps: selecting N tax declaring tasks of a preset number from M tax declaring tasks initiated by the same user to be added into a first task sequence, and adding the rest (M-N) tax declaring tasks into a second task sequence, wherein N is less than or equal to M;
and the calling module is used for calling the tax declaring robot to preferentially execute the tax declaring tasks in the first task sequence, and then executing the tax declaring tasks in the second task sequence after the tax declaring tasks in the first task sequence are completed.
Optionally, as a possible implementation manner, the automatic tax declaring system based on the cloud service architecture in the embodiment of the present invention further includes:
the counting unit is used for periodically counting the number D of unexecuted tax declaring tasks and the number X of tax declaring robots in the resource pool;
the adding unit is used for adding Z tax declaring robots in the cloud service resource pool if D is more than or equal to [ X (R +1) + R ] in A continuous statistical periods, wherein Z is [ (D-X)/R-X ], and R is a preset positive integer;
and a reduction unit, if Min is less than or equal to D and less than X in the continuous A statistical periods, reducing S tax declaring robots in the cloud service resource pool, wherein S is (X-D), S is less than or equal to (X-Min), and Min is a positive integer.
A third aspect of an embodiment of the present invention provides a computer apparatus, where the computer apparatus includes a processor, and the processor is configured to implement the steps of the cloud service architecture-based automatic tax declaring method according to any one of the first aspect and the first aspect when executing a computer program stored in a memory.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that: the computer program, when executed by a processor, implements the steps of the cloud services architecture-based automatic tax return method according to any one of the first aspect and the first aspect.
According to the technical scheme, the embodiment of the invention has the following advantages:
in the embodiment of the invention, the automatic tax return system can generate the tax return task corresponding to the tax return service request according to the tax return service request containing tax return related information, add the tax return task into the task queue, distribute the tax return robot for the tax return task in the task queue from the cloud service resource pool according to the preset algorithm to execute the tax return task, realize automatic tax return based on the RPA script or the crawler service program, and improve the tax return efficiency and accuracy. And secondly, the RPA script or the crawler service program is arranged at the cloud end, so that the local hardware resources of the user are saved.
Drawings
FIG. 1 is a schematic diagram of an embodiment of an automatic tax return method based on a cloud service architecture in an embodiment of the present invention;
FIG. 2 is a schematic diagram of an embodiment of an automatic tax return system based on a cloud service architecture in an embodiment of the present invention;
fig. 3 is a schematic diagram of an embodiment of a computer device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides an automatic tax declaring method, system and related equipment based on a cloud service architecture, which are used for realizing automatic tax declaring and improving tax declaring efficiency and accuracy.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a specific flow in the embodiment of the present invention is described below, and referring to fig. 1, an embodiment of an automatic tax declaring method based on a cloud service architecture in the embodiment of the present invention may include:
101. receiving a request for initiating a tax return service by a client, wherein the request for the tax return service comprises tax return related information;
the user can install a client on the terminal or directly use the browser to access the WEB client, and the client has the main functions of providing an operation interaction interface for the user, filling in the information of the tax return client, initiating a tax return task, displaying the execution result of the tax return task and the like.
The user can initiate a tax return service request through the client, the tax return service request includes tax return related information, the specific tax return related information can be filled according to the relevant national tax stipulations, and the specific information is not limited here, such as taxpayer identification, tax payment amount, and the like.
102. Generating a tax return task corresponding to the tax return service request according to the tax return related information, and adding the tax return task into a task queue;
after receiving a tax return service request initiated by a receiving client, the automatic tax return system can generate tax return tasks corresponding to the tax return service request according to tax return related information, because the automatic tax return system can receive tax return service requests of a plurality of clients and each client can initiate a plurality of tax return service requests, the tax return tasks generated by the automatic tax return system are many, therefore, the automatic tax return system can add the generated tax return tasks into a task queue for management, and a storage medium of the task queue can be a database, such as: MYSQL, MS SQL Server, Oracle, reds, etc.
103. And allocating a tax declaring robot for the tax declaring tasks in the task queue from the cloud service resource pool according to a preset algorithm to execute the tax declaring tasks, wherein the tax declaring robot is a software flow automatic RPA script or a crawler service program.
The automatic tax return system can distribute the tax return robots to execute the tax return tasks in the task queues from a cloud resource pool (a cluster formed by a plurality of virtual machines) according to a preset algorithm,
for example, the assignment of the tax declaring robots may be performed according to the time sequence of the tax declaring task requests submitted by the users, first in first out, or the assignment of the tax declaring robots may be performed based on the user grades, and the assignment manner of the tax declaring robots in the cloud service resource pool is specific, and is not limited herein.
For example, in order to avoid poor user experience caused by that a subsequent user tax declaring task cannot respond for a long time due to excessive previous tax declaring tasks, the embodiment of the present invention may improve user experience by preferentially executing a part of tax declaring tasks of each user. As a possible implementation manner, in an embodiment of the present invention, a process of allocating a tax return task from a cloud service resource pool to a tax return task in a task queue according to a preset algorithm and executing the tax return task by a tax return robot may include:
and respectively carrying out tax return task classification processing on the tax return task of each user, wherein the tax return task classification processing comprises the following steps: selecting N tax declaring tasks of a preset number from M tax declaring tasks initiated by the same user to be added into a first task sequence, and adding the rest (M-N) tax declaring tasks into a second task sequence, wherein N is less than or equal to M; and calling the tax declaring robot to preferentially execute the tax declaring tasks in the first task sequence, and after the tax declaring tasks in the first task sequence are completed, executing the tax declaring tasks in the second task sequence.
Specifically, when the number of users submitting the tax return tasks is too many, the tax return tasks of each user can be classified, a preset number N of tax return tasks are selected from M tax return tasks initiated by the same user and added into the first task sequence, and the remaining (M-N) tax return tasks are added into the second task sequence, so that all the tax return tasks are divided into two sequences with different priorities. The preset number of N tax declaring tasks are selected from M tax declaring tasks initiated by the same user, and the tasks may be randomly selected or the first tax declaring task submitted according to the time sequence, and the specific details are not limited herein. Optionally, after the tax return tasks in the first task sequence are completed, the execution sequence of the tax return tasks in the second task sequence may be executed according to a time sequence, or may be randomly selected and executed, which is not limited herein.
The tax declaring robot in the embodiment of the invention is an RPA (resilient Process Automation) script or a crawler service program. The RPA script is mainly used for executing tasks needing specific clients, such as deducting clients (personal tax declaration clients) of a natural person tax management system; the crawler service program is mainly used for services based on browser access, such as: and reporting the income tax of the enterprise.
In the embodiment of the invention, the automatic tax return system can generate the tax return task corresponding to the tax return service request according to the tax return service request containing tax return related information, add the tax return task into the task queue, distribute the tax return robot for the tax return task in the task queue from the cloud service resource pool according to the preset algorithm to execute the tax return task, realize automatic tax return based on the RPA script or the crawler service program, and improve the tax return efficiency and accuracy. And secondly, the RPA script or the crawler service program is arranged at the cloud end, so that the local hardware resources of the user are saved.
Secondly, the invention distributes the tax-declaring robot to execute specific tasks according to the number of the submitted tasks and the submitted tasks according to the specific algorithm, and when the number of the tasks to be executed is far larger than that of the tax-declaring robots, the tax-declaring tasks submitted by each user can enjoy equal resource distribution as much as possible, thereby realizing dynamic and balanced resource distribution and improving user experience.
On the basis of the embodiment shown in fig. 1, in order to reduce the delay of the high peak time of the tax return tasks and achieve the balance between hardware resources and user requirements, in the embodiment of the invention, the number of the tax return robots can be dynamically adjusted according to a preset algorithm to reduce the delay of the high peak time of the tax return tasks. Optionally, as a possible implementation manner, the automatic tax declaring method based on the cloud service architecture in the embodiment of the present invention may further include:
periodically counting the number D of unexecuted tax declaring tasks and the current number X of tax declaring robots in the resource pool; if D is more than or equal to [ X (R +1) + R ] in continuous A statistical periods, adding Z tax declaring robots in the cloud service resource pool, wherein Z is [ (D-X)/R-X ], Z is a positive integer not less than 1, namely [ (D-X)/R-X ] is more than or equal to 1, and R is a preset positive integer; and if Min is less than or equal to D and less than X in the continuous A statistical periods, and A is a preset positive integer, reducing S tax declaring robots in the cloud service resource pool, wherein S is (X-D) and is less than or equal to (X-Min), and Min is the minimum number of tax declaring robots set by the user. Optionally, the maximum number Max of the tax declaring robots may also be set such that (Z + X) < Max.
Specifically, when the number D of the tax declaring tasks is far greater than the number of the tax declaring robots for a long time, it is necessary to increase the number of the tax declaring robots, in order to avoid the situation that the increased tax declaring robots are idle after executing fewer tax declaring tasks, which results in a lower cost performance, the increased tax declaring robots are required to averagely execute R tax declaring tasks, and the specific R may be reasonably set according to the requirements of users, and is not limited here. The automatic tax return system can periodically count the number D of unexecuted tax return tasks and the number X of the existing tax return robots in the resource pool, and when D is more than or equal to [ X (R +1) + R ] in continuous A counting periods, Z tax return robots are added in the cloud service resource pool, wherein Z is [ (D-X)/R-X ], A is a positive integer, and the setting can be carried out according to the requirements of users, for example, A is 2.
On the basis of any of the above embodiments, in order to avoid a delay in executing a tax return task due to a single fault of a tax return robot, a timeout processing mechanism may be set in an embodiment of the present invention. Optionally, as a possible implementation manner, the automatic tax declaring method based on the cloud service architecture in the embodiment of the present invention may further include:
configuring a maximum execution time for each type of tax return task; and if the target tax declaring task executed by the first tax declaring robot exceeds the corresponding maximum execution time, calling the second tax declaring robot to replace the first tax declaring robot to execute the target tax declaring task again. When the execution time-out of the target tax declaring task is identified, other tax declaring robots can be automatically called to execute the target tax declaring task again, so that long-time delay is avoided.
On the basis of any of the above embodiments, in order to avoid a delay in executing a tax return task due to a single fault of the tax return robot, an error retry processing mechanism may be adopted in the embodiment of the present invention. Optionally, as a possible implementation manner, the automatic tax declaring method based on the cloud service architecture in the embodiment of the present invention may further include:
and when the execution of the tax declaring task fails, judging whether tax declaring related information corresponding to the target tax declaring task is correct, if so, re-executing the target tax declaring task, and otherwise, not re-executing the target tax declaring task. In practical application, the tax return task fails to be executed under two types of conditions, one type is that tax return related information data input by a user is input wrongly, and the target tax return task can be executed again only by inputting correct data again by the user; another type of situation is a system failure, requiring no user intervention, and requiring only periodic re-execution of the target tax return task until successful execution.
Referring to fig. 2, an embodiment of the present invention further provides an automatic tax return system based on a cloud service architecture, which includes:
the receiving unit 201 is configured to receive a request for initiating a tax return service from a client, where the request for tax return service includes information related to tax returns;
the generating unit 202 is used for generating a tax return task corresponding to the tax return service request according to the tax return related information, and adding the tax return task into a task queue;
the configuration unit 203 is configured to allocate a tax declaration robot from the cloud service resource pool to the tax declaration tasks in the task queue to execute the tax declaration tasks according to a preset algorithm, where the tax declaration robot is a software flow automation RPA script or a crawler service program.
Optionally, as a possible implementation manner, the configuration unit in the embodiment of the present invention may include:
the classification module is used for performing tax return task classification processing on the tax return task of each user respectively, and the tax return task classification processing comprises the following steps: selecting N tax declaring tasks of a preset number from M tax declaring tasks initiated by the same user to be added into a first task sequence, and adding the rest (M-N) tax declaring tasks into a second task sequence, wherein N is less than or equal to M;
and the calling module is used for calling the tax declaring robot to preferentially execute the tax declaring tasks in the first task sequence and then execute the tax declaring tasks in the second task sequence after the tax declaring tasks in the first task sequence are completed.
Optionally, as a possible implementation manner, the automatic tax return system based on the cloud service architecture in the embodiment of the present invention may further include:
the counting unit is used for periodically counting the number D of unexecuted tax declaring tasks and the number X of tax declaring robots in the resource pool;
the adding unit is used for adding Z tax declaring robots in the cloud service resource pool if D is more than or equal to [ X (R +1) + R ] in A continuous statistical periods, wherein Z is [ (D-X)/R-X ], and R is a preset positive integer;
and a reduction unit, if Min is less than or equal to D and less than X in the continuous A statistical periods, reducing S tax declaring robots in the cloud service resource pool, wherein S is (X-D), S is less than or equal to (X-Min), and Min is a positive integer.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 3 is a schematic diagram illustrating only a portion related to an embodiment of the present application for convenience of description, and please refer to a method portion of the embodiment of the present application for details not disclosed. Referring to fig. 3, the computer apparatus 3 includes: memory 310, processor 320, wired or wireless network module 330, and computer programs stored in the memory and executable on the processor. The processor executes the computer program to implement the steps in each of the cloud service architecture-based automatic tax declaring method embodiments described above, such as steps 101 to 103 shown in fig. 1. Alternatively, the processor, when executing the computer program, implements the functions of each module or unit in the above-described device embodiments.
In some of the embodiments of the application, the processor, when executing the computer program stored in the memory, implements the steps of:
receiving a request for initiating a tax return service by a client, wherein the request for the tax return service comprises tax return related information;
generating a tax return task corresponding to the tax return service request according to the tax return related information, and adding the tax return task into a task queue;
and allocating a tax declaring robot for the tax declaring tasks in the task queue from the cloud service resource pool according to a preset algorithm to execute the tax declaring tasks, wherein the tax declaring robot is a software flow automatic RPA script or a crawler service program.
Optionally, in some embodiments of the present application, the processor may be further configured to implement the following steps:
and respectively carrying out tax return task classification processing on the tax return task of each user, wherein the tax return task classification processing comprises the following steps: selecting N tax declaring tasks of a preset number from M tax declaring tasks initiated by the same user to be added into a first task sequence, and adding the rest (M-N) tax declaring tasks into a second task sequence, wherein N is less than or equal to M;
and calling the tax declaring robot to preferentially execute the tax declaring tasks in the first task sequence, and after the tax declaring tasks in the first task sequence are completed, executing the tax declaring tasks in the second task sequence.
Optionally, in some embodiments of the present application, the processor may be further configured to implement the following steps:
periodically counting the number D of unexecuted tax declaring tasks and the number X of tax declaring robots in the resource pool;
if D is more than or equal to [ X (R +1) + R ] in continuous A statistical periods, adding Z tax declaring robots in the cloud service resource pool, wherein Z is [ (D-X)/R-X ], and A, R is a preset positive integer;
and if Min is less than or equal to D and less than X in the continuous A statistical periods, reducing S tax declaring robots in the cloud service resource pool, wherein S is (X-D), S is less than or equal to (X-Min), and Min is a positive integer.
Optionally, in some embodiments of the present application, the processor may be further configured to implement the following steps:
configuring a maximum execution time for each type of tax return task;
and if the target tax declaring task executed by the first tax declaring robot exceeds the corresponding maximum execution time, calling the second tax declaring robot to replace the first tax declaring robot to execute the target tax declaring task again.
Optionally, in some embodiments of the present application, the processor may be further configured to implement the following steps:
and when the execution of the tax declaring task fails, judging whether tax declaring related information corresponding to the target tax declaring task is correct, if so, re-executing the target tax declaring task, and otherwise, not re-executing the target tax declaring task.
It will be appreciated by those skilled in the art that the arrangement shown in fig. 3 does not constitute a limitation of the computer arrangement, and that the computer arrangement 3 may comprise more or less components than those shown, or some components may be combined, or a different arrangement of components, e.g. the computer arrangement may also comprise input-output devices, buses etc.
The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The present application further provides a computer-readable storage medium having a computer program stored thereon, which when executed by a processor, can implement the steps of:
receiving a request for initiating a tax return service by a client, wherein the request for the tax return service comprises tax return related information;
generating a tax return task corresponding to the tax return service request according to the tax return related information, and adding the tax return task into a task queue;
and allocating a tax declaring robot for the tax declaring tasks in the task queue from the cloud service resource pool according to a preset algorithm to execute the tax declaring tasks, wherein the tax declaring robot is a software flow automatic RPA script or a crawler service program.
Optionally, in some embodiments of the present application, the processor may be further configured to implement the following steps:
and respectively carrying out tax return task classification processing on the tax return task of each user, wherein the tax return task classification processing comprises the following steps: selecting N tax declaring tasks of a preset number from M tax declaring tasks initiated by the same user to be added into a first task sequence, and adding the rest (M-N) tax declaring tasks into a second task sequence, wherein N is less than or equal to M;
and calling the tax declaring robot to preferentially execute the tax declaring tasks in the first task sequence, and after the tax declaring tasks in the first task sequence are completed, executing the tax declaring tasks in the second task sequence.
Optionally, in some embodiments of the present application, the processor may be further configured to implement the following steps:
periodically counting the number D of unexecuted tax declaring tasks and the number X of tax declaring robots in the resource pool;
if D is more than or equal to [ X (R +1) + R ] in continuous A statistical periods, adding Z tax declaring robots in the cloud service resource pool, wherein Z is [ (D-X)/R-X ], and A, R is a preset positive integer;
and if Min is less than or equal to D and less than X in the continuous A statistical periods, reducing S tax declaring robots in the cloud service resource pool, wherein S is (X-D), S is less than or equal to (X-Min), and Min is a positive integer.
Optionally, in some embodiments of the present application, the processor may be further configured to implement the following steps:
configuring a maximum execution time for each type of tax return task;
and if the target tax declaring task executed by the first tax declaring robot exceeds the corresponding maximum execution time, calling the second tax declaring robot to replace the first tax declaring robot to execute the target tax declaring task again.
Optionally, in some embodiments of the present application, the processor may be further configured to implement the following steps:
and when the execution of the tax declaring task fails, judging whether tax declaring related information corresponding to the target tax declaring task is correct, if so, re-executing the target tax declaring task, and otherwise, not re-executing the target tax declaring task.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one 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.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An automatic tax declaring method based on a cloud service architecture is characterized by comprising the following steps:
receiving a tax return service request initiated by a client, wherein the tax return service request comprises tax return related information;
generating a tax return task corresponding to the tax return service request according to the tax return related information, and adding the tax return task into a task queue;
and allocating a tax return robot to the tax return tasks in the task queue from a cloud service resource pool according to a preset algorithm to execute the tax return tasks, wherein the tax return robot is a software flow automatic RPA script or a crawler service program.
2. The method according to claim 1, wherein the assigning the tax return tasks in the task queue from the cloud service resource pool according to a preset algorithm to the tax return robots to execute the tax return tasks comprises:
and respectively carrying out tax return task classification processing on the tax return task of each user, wherein the tax return task classification processing comprises the following steps: selecting N tax declaring tasks of a preset number from M tax declaring tasks initiated by the same user to be added into a first task sequence, and adding the rest (M-N) tax declaring tasks into a second task sequence, wherein N is less than or equal to M;
and calling the tax declaring robot to preferentially execute the tax declaring tasks in the first task sequence, and after the tax declaring tasks in the first task sequence are completed, executing the tax declaring tasks in the second task sequence.
3. The method of claim 1, further comprising:
periodically counting the number D of unexecuted tax declaring tasks and the number X of tax declaring robots in the resource pool;
if D is more than or equal to [ X (R +1) + R ] in continuous A statistical periods, adding Z tax declaring robots in the cloud service resource pool, wherein Z is [ (D-X)/R-X ], and A, R is a preset positive integer;
and if Min is less than or equal to D and less than X in the continuous A statistical periods, reducing S tax declaring robots in the cloud service resource pool, wherein S is (X-D), S is less than or equal to (X-Min), and Min is a preset positive integer.
4. The method of any of claims 1 to 3, further comprising:
configuring a maximum execution time for each type of tax return task;
and if the target tax declaring task executed by the first tax declaring robot exceeds the corresponding maximum execution time, calling the second tax declaring robot to replace the first tax declaring robot to execute the target tax declaring task again.
5. The method of any of claims 1 to 3, further comprising:
and when the execution of the tax declaring task fails, judging whether tax declaring related information corresponding to the target tax declaring task is correct, if so, re-executing the target tax declaring task, otherwise, not re-executing.
6. An automatic tax return system based on a cloud service architecture, comprising:
the receiving unit is used for receiving a tax return service request initiated by a client, wherein the tax return service request comprises tax return related information;
the generating unit is used for generating a tax return task corresponding to the tax return service request according to the tax return related information and adding the tax return task into a task queue;
and the configuration unit is used for distributing tax declaring robots to the tax declaring tasks in the task queue from a cloud service resource pool according to a preset algorithm to execute the tax declaring tasks, and the tax declaring robots are software flow automation RPA scripts or crawler service programs.
7. The system of claim 6, wherein the configuration unit comprises:
the classification module is used for performing tax return task classification processing on tax return tasks of each user respectively, and the tax return task classification processing comprises the following steps: selecting N tax declaring tasks of a preset number from M tax declaring tasks initiated by the same user to be added into a first task sequence, and adding the rest (M-N) tax declaring tasks into a second task sequence, wherein N is less than or equal to M;
and the calling module is used for calling the tax declaring robot to preferentially execute the tax declaring tasks in the first task sequence, and then executing the tax declaring tasks in the second task sequence after the tax declaring tasks in the first task sequence are completed.
8. The system of claim 7, further comprising:
the counting unit is used for periodically counting the number D of unexecuted tax declaring tasks and the number X of tax declaring robots in the resource pool;
an adding unit, wherein if D is more than or equal to [ X (R +1) + R ] in continuous A statistical periods, Z tax declaring robots are added in the cloud service resource pool, wherein Z is [ (D-X)/R-X ], and A, R is a preset positive integer;
and a reduction unit, wherein if Min is less than or equal to D and less than X in the continuous A statistical periods, S tax declaring robots are reduced in the cloud service resource pool, wherein S is (X-D), S is less than or equal to (X-Min), and Min is a preset positive integer.
9. A computer arrangement, characterized in that the computer arrangement comprises a processor for implementing the steps of the method according to any one of claims 1 to 5 when executing a computer program stored in a memory.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program when executed by a processor implementing the steps of the method according to any one of claims 1 to 5.
CN201911001125.5A 2019-10-21 2019-10-21 Automatic tax declaring method and system based on cloud service architecture and related equipment Pending CN110764872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911001125.5A CN110764872A (en) 2019-10-21 2019-10-21 Automatic tax declaring method and system based on cloud service architecture and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911001125.5A CN110764872A (en) 2019-10-21 2019-10-21 Automatic tax declaring method and system based on cloud service architecture and related equipment

Publications (1)

Publication Number Publication Date
CN110764872A true CN110764872A (en) 2020-02-07

Family

ID=69331496

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911001125.5A Pending CN110764872A (en) 2019-10-21 2019-10-21 Automatic tax declaring method and system based on cloud service architecture and related equipment

Country Status (1)

Country Link
CN (1) CN110764872A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111667231A (en) * 2020-04-27 2020-09-15 南京苏宁云财信息技术有限公司 Automatic tax declaring method, device, system, computer equipment and storage medium
CN112419022A (en) * 2020-11-18 2021-02-26 重庆八戒财云网络科技有限公司 Automatic tax declaring method and system
CN112529470A (en) * 2020-12-25 2021-03-19 深圳前海微众银行股份有限公司 Task execution method, device, equipment and storage medium of website robot
CN112561676A (en) * 2020-12-29 2021-03-26 北京来也网络科技有限公司 Tax declaration method and device combining RPA and AI and electronic equipment
CN112561488A (en) * 2020-12-21 2021-03-26 北京来也网络科技有限公司 Tax payment robot declaration method and device combining RPA and AI
CN112804328A (en) * 2021-01-13 2021-05-14 国网新疆电力有限公司信息通信公司 Digital employee centralized control management method based on virtual machine
CN112988288A (en) * 2021-03-24 2021-06-18 深圳市卡牛科技有限公司 Information processing method, system, server and storage medium for RPA program
CN117082068A (en) * 2023-08-25 2023-11-17 北京神州云合数据科技发展有限公司 Elastic expansion method and system for tax return server
CN117082145A (en) * 2023-08-25 2023-11-17 北京神州云合数据科技发展有限公司 Tax return service management method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103489123A (en) * 2013-09-26 2014-01-01 浪潮齐鲁软件产业有限公司 Self-service tax service method based on cloud computing
CN103581225A (en) * 2012-07-25 2014-02-12 中国银联股份有限公司 Distributed system node processing task method
CN103645956A (en) * 2013-12-18 2014-03-19 浪潮电子信息产业股份有限公司 Intelligent cluster load management method
CN107025139A (en) * 2017-03-21 2017-08-08 北京天云融创软件技术有限公司 A kind of high-performance calculation Scheduling Framework based on cloud computing
CN107844376A (en) * 2017-11-21 2018-03-27 北京星河星云信息技术有限公司 Resource allocation method, computing system, medium and the server of computing system
CN109101325A (en) * 2017-06-21 2018-12-28 杭州海康威视数字技术股份有限公司 A kind of method for scheduling task, device, system and electronic equipment
CN109842671A (en) * 2018-11-30 2019-06-04 畅捷通信息技术股份有限公司 A kind of method and system of browser and interapplication communications of declaring dutiable goods automatically
CN110189216A (en) * 2019-05-30 2019-08-30 南京木石信息科技有限公司 A kind of system and method that automatic batch is declared dutiable goods

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581225A (en) * 2012-07-25 2014-02-12 中国银联股份有限公司 Distributed system node processing task method
CN103489123A (en) * 2013-09-26 2014-01-01 浪潮齐鲁软件产业有限公司 Self-service tax service method based on cloud computing
CN103645956A (en) * 2013-12-18 2014-03-19 浪潮电子信息产业股份有限公司 Intelligent cluster load management method
CN107025139A (en) * 2017-03-21 2017-08-08 北京天云融创软件技术有限公司 A kind of high-performance calculation Scheduling Framework based on cloud computing
CN109101325A (en) * 2017-06-21 2018-12-28 杭州海康威视数字技术股份有限公司 A kind of method for scheduling task, device, system and electronic equipment
CN107844376A (en) * 2017-11-21 2018-03-27 北京星河星云信息技术有限公司 Resource allocation method, computing system, medium and the server of computing system
CN109842671A (en) * 2018-11-30 2019-06-04 畅捷通信息技术股份有限公司 A kind of method and system of browser and interapplication communications of declaring dutiable goods automatically
CN110189216A (en) * 2019-05-30 2019-08-30 南京木石信息科技有限公司 A kind of system and method that automatic batch is declared dutiable goods

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111667231A (en) * 2020-04-27 2020-09-15 南京苏宁云财信息技术有限公司 Automatic tax declaring method, device, system, computer equipment and storage medium
CN111667231B (en) * 2020-04-27 2023-12-08 南京苏宁云财信息技术有限公司 Automatic tax return method, device, system, computer equipment and storage medium
CN112419022A (en) * 2020-11-18 2021-02-26 重庆八戒财云网络科技有限公司 Automatic tax declaring method and system
CN112561488A (en) * 2020-12-21 2021-03-26 北京来也网络科技有限公司 Tax payment robot declaration method and device combining RPA and AI
CN112529470A (en) * 2020-12-25 2021-03-19 深圳前海微众银行股份有限公司 Task execution method, device, equipment and storage medium of website robot
CN112529470B (en) * 2020-12-25 2024-03-19 深圳前海微众银行股份有限公司 Task execution method, device and equipment of website robot and storage medium
CN112561676A (en) * 2020-12-29 2021-03-26 北京来也网络科技有限公司 Tax declaration method and device combining RPA and AI and electronic equipment
CN112804328A (en) * 2021-01-13 2021-05-14 国网新疆电力有限公司信息通信公司 Digital employee centralized control management method based on virtual machine
CN112988288A (en) * 2021-03-24 2021-06-18 深圳市卡牛科技有限公司 Information processing method, system, server and storage medium for RPA program
CN117082068A (en) * 2023-08-25 2023-11-17 北京神州云合数据科技发展有限公司 Elastic expansion method and system for tax return server
CN117082145A (en) * 2023-08-25 2023-11-17 北京神州云合数据科技发展有限公司 Tax return service management method and system
CN117082068B (en) * 2023-08-25 2024-03-29 北京神州云合数据科技发展有限公司 Elastic expansion method and system for tax return server

Similar Documents

Publication Publication Date Title
CN110764872A (en) Automatic tax declaring method and system based on cloud service architecture and related equipment
CN107688492B (en) Resource control method and device and cluster resource management system
US20120066020A1 (en) Multi-tenant database management for sla profit maximization
CN110351375B (en) Data processing method and device, computer device and readable storage medium
US11573804B2 (en) Systems and methods for optimized cluster resource utilization
CN107577534A (en) A kind of resource regulating method and device
US20220283871A1 (en) Multi-Account Cloud Service Usage Package Sharing Method and Apparatus, and Related Device
CN114244717B (en) Configuration method and device of virtual network card resources, computer equipment and medium
CN106257893A (en) Storage server task response method, client, server and system
WO2018166145A1 (en) Method and device for batch offering of repayment data
CN106339802A (en) Task allocation method, task allocation device and electronic equipment
CN111399909A (en) Service system data distribution processing method, device and storage medium
WO2022142666A1 (en) Data processing method and apparatus, and terminal device and storage medium
EP3667495A1 (en) Task scheduling method, apparatus and device, and storage medium
CN102541906B (en) Distributed service processing method and distributed system
CN108897850B (en) Data processing method and device
CN112241319A (en) Method, electronic device and computer program product for balancing load
CN110764873B (en) Virtual machine resource management method, system and related equipment
CN115981852A (en) Tenant-oriented server cluster resource quota adjusting method, device and equipment
CN111796934B (en) Task issuing method and device, storage medium and electronic equipment
CN112884382B (en) Resource quota management method, device and equipment of cloud platform and storage medium
CN110764890A (en) Computing resource scheduling method, system and related equipment
CN110968414A (en) Resource scaling method and device
EP4184325A1 (en) Method and system for high-throughput distributed computing of computational jobs
US20230153305A1 (en) Method and system for high-throughput distributed computing of computational jobs

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200207

RJ01 Rejection of invention patent application after publication