Method and system for supporting multi-terminal parallel tax declaration and storage medium

By designing a system that supports parallel tax filing for multiple terminals, using login host, storage server and task scheduling platform, the problem of low declaration efficiency of enterprises during the tax collection period is solved, and efficient tax processing is achieved for multiple user terminals at the same time, and ensuring that Data consistency.

CN119168791APending Publication Date: 2024-12-20BEIJING SHENZHOU YUNHE DATA TECH DEV CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411277380.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

During the tax collection period, enterprises need to declare a single tax for multiple enterprises, which results in a lot of time consumption, especially in accounting firms, which requires multiple tax declarations to be recycled, which is inefficient.

Method used

Design a system that supports parallel tax filing of multiple terminals, including login host, storage server and task scheduling platform. By obtaining the login request and tax filing tasks of the user terminal, selecting the tax filing machine, and sending the user token to the tax filing machine, multiple users are realized. The terminal simultaneously makes tax declarations to improve efficiency.

Benefits of technology

It effectively reduces the number of times users enter account information, supports multiple user terminals to make tax declarations at the same time, improves tax declaration efficiency, and ensures data consistency by synchronizing data in real time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119168791A_ABST
    Figure CN119168791A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of tax declaration, in particular to a method and system for supporting multi-terminal parallel tax declaration and a storage medium. The system comprises a login host, a storage server, a task scheduling platform and a plurality of tax declaring machines. The login host is configured to obtain a login request of a user terminal, log in the tax bureau server and store the returned user token in the storage server when querying that no effective user token exists in the storage server; and regularly refreshing the user token. The storage server is configured to store a user token. The task scheduling platform is configured to obtain a tax declaring task of the user terminal, select one tax declaring machine, and send the user token to the selected tax declaring machine. And the tax declaring machine is configured to inject the user token into the browser and log in the tax bureau server to execute a tax declaring task. Wherein the number of the user terminals is multiple, and the user terminals use the same or different accounts. The tax declaration efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of tax declaration, and in particular to a method, system and storage medium for supporting multi-terminal parallel tax declaration. Background Art

[0002] The tax collection period refers to the specific time frame for taxpayers to file tax returns as stipulated by tax laws and administrative regulations. During this period, taxpayers need to complete tax returns, tax payments and other tax-related matters.

[0003] During the tax collection period, enterprises log in to the tax system to file tax returns. Since each enterprise has only one account, it can only file a single tax at a time. Especially in accounting firms, it is necessary to file various taxes for many enterprises, such as value-added tax, urban maintenance and construction tax, education surcharge and disability employment security fund, which will consume a lot of time. Summary of the invention

[0004] In order to solve the above problems in the prior art, the present invention proposes a method, system and storage medium that support multi-terminal parallel tax declaration, thereby improving the declaration efficiency.

[0005] In a first aspect of the present invention, a system supporting multi-terminal parallel tax declaration is provided, the system comprising: a login host, a storage server, a task scheduling platform and a plurality of tax declaration machines;

[0006] The login host is configured to: obtain a login request from a user terminal, and query whether a valid user token already exists in the storage server; if not, log in to the tax bureau server according to the login request, and save the user token returned by the tax bureau server to the storage server; and regularly refresh the user token in the storage server;

[0007] The storage server is configured to: store user tokens;

[0008] The task scheduling platform is configured to: obtain the tax declaration task of the user terminal, select a tax declaration machine, and obtain the user token from the storage server and send it to the selected tax declaration machine;

[0009] The tax declaration machine is configured to: inject the user token into the browser, log in to the tax bureau server and execute the tax declaration task;

[0010] in,

[0011] There are multiple user terminals, and they use the same or different accounts.

[0012] Preferably, the login host includes:

[0013] An account information acquisition module, configured to acquire the login request of the user terminal, the login request including: account information;

[0014] A user token acquisition module is configured to query whether a corresponding valid user token already exists in the storage server according to the account information; if not, log in to the tax bureau server according to the account information, and save the user token returned by the tax bureau server to the storage server;

[0015] A login result returning module, configured to return a message of login success or failure to the user terminal;

[0016] The user token refreshing module is configured to refresh the user token in the storage server according to a preset first time interval.

[0017] Preferably, the task scheduling platform includes:

[0018] A task acquisition module is configured to acquire the tax declaration task issued by the user terminal, wherein the tax declaration task includes: tax declaration data;

[0019] A user token acquisition module, configured to acquire a corresponding user token from the storage server;

[0020] A tax machine selection module, configured to select a tax filing machine and send the tax filing data and the acquired user token to the selected tax filing machine;

[0021] The result acquisition and return module is configured to acquire the tax declaration result returned by the tax declaration machine and return it to the user terminal.

[0022] Preferably, the tax declaration machine comprises:

[0023] A user token injection module is configured to inject the user token sent by the task scheduling platform into the browser, and obtain the corresponding user token from the storage server at every preset second time interval and update it to the browser;

[0024] The tax declaration module is configured to log in to the tax bureau server using the browser, execute the tax declaration task, and return the tax declaration result to the task scheduling platform.

[0025] Preferably, the login host also includes:

[0026] The redirection module is configured to redirect the user terminal to the task scheduling platform so that the user terminal publishes the tax declaration task to the task scheduling platform.

[0027] Preferably, the login host also includes:

[0028] The tax collection period control module is configured to control the operation of the user token refresh module according to a preset tax declaration collection period.

[0029] Preferably, the tax declaration machine further comprises:

[0030] The synchronization module is configured to synchronize the tax declaration data and the tax declaration results to the remaining tax declaration machines in real time to ensure that the operation data of the same account on different tax declaration machines are consistent.

[0031] Preferably, the tax declaration task further includes: tax declaration type;

[0032] The tax machine selection module includes:

[0033] A selection unit, configured to select the tax filing machine according to the tax filing type and / or load balancing principle;

[0034] The user token sending unit is configured to send the tax declaration task and the obtained user token to the selected tax declaration machine.

[0035] A second aspect of the present invention provides a method for supporting multi-terminal parallel tax declaration, the method comprising:

[0036] Login to the host to obtain the account information of the user terminal, and query whether there is a valid user token in the storage server; if not, log in to the tax bureau server according to the account information, and save the user token returned by the tax bureau server to the storage server; regularly refresh the user token in the storage server;

[0037] The task scheduling platform obtains the tax declaration task of the user terminal, selects one from multiple tax declaration machines, obtains the user token from the storage server and sends it to the selected tax declaration machine;

[0038] The tax filing machine injects the user token into the browser and logs into the tax bureau server to execute the tax filing task;

[0039] in,

[0040] There are multiple user terminals, and they use the same or different accounts.

[0041] According to a third aspect of the present invention, a computer-readable storage medium is provided, storing a computer program that can be loaded by a processor and execute the method described above.

[0042] The present invention has the following beneficial effects:

[0043] The system supporting multi-terminal parallel tax declaration proposed by the present invention is provided with a login host and a storage server, and the login host saves the user token to the storage server and refreshes the user token regularly, which effectively reduces the number of times the user enters account information. In addition, since a task scheduling platform and multiple tax declaration machines are provided, the task scheduling platform can be used to select tax declaration machines to complete the tax declaration service for multiple user terminals that need to declare taxes in the same time period, thereby supporting multiple user terminals to use the same or different accounts to declare taxes at the same time, greatly improving the efficiency of tax declaration.

[0044] In the system of the present invention, the synchronization module of the tax filing machine synchronizes the tax filing data and tax filing results to other tax filing machines in real time to ensure that the operation data of the same account on different tax filing machines are consistent, so that there will be no data confusion when multiple user terminals use the same account to file. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 It is a schematic diagram of the main components of an embodiment of a system supporting multi-terminal parallel tax declaration in the present invention;

[0046] Figure 2 It is a schematic diagram of the main steps of an embodiment of a method for supporting multi-terminal parallel tax declaration in the present invention. DETAILED DESCRIPTION

[0047] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.

[0048] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] It should be noted that, in the description of the present invention, the terms "first" and "second" are only for the convenience of description, and do not indicate or imply the relative importance of the devices, elements or parameters, and therefore cannot be understood as limiting the present invention. In addition, the term "and / or" in the present invention is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.

[0050] Figure 1 Schematic diagram of the main components of the system embodiment supporting multi-terminal parallel tax declaration in the present invention. Figure 1 As shown, the user terminal 100 logs into the tax bureau server 200 to complete the tax declaration operation through the system 300 supporting multi-terminal parallel tax declaration in this embodiment. The system 300 in this embodiment includes: a login host 310, a storage server 320, a task scheduling platform 330 and multiple tax declaration machines 340.

[0051] In this embodiment, the login host 310 is configured to: obtain the login request (containing account information) of the user terminal 100, and query whether a valid user token already exists in the storage server 320; if not, log in to the tax bureau server 200 according to the login request, and save the user token returned by the tax bureau server 200 to the storage server 320; regularly refresh the user token in the storage server 320.

[0052] The storage server 320 is configured to store user tokens, and each user token corresponds to an account.

[0053] The task scheduling platform 330 is configured to obtain the tax declaration task (including tax declaration data) of the user terminal 100 , select a tax declaration machine 340 , and obtain the user token from the storage server 320 and send it to the selected tax declaration machine 340 .

[0054] The tax filing machine 340 is configured to inject the user token into the browser and log in to the tax bureau server 200 to perform the tax filing task.

[0055] In this embodiment, there are multiple user terminals 100, and different user terminals can use the same or different accounts. When there is only one user terminal 100, of course, the system of this embodiment can also be used.

[0056] For example, three financial personnel of Company A can use three different user terminals 100 in the same time period and use the same account to send login requests to the login host 310 one after another. When the login host 310 receives the login request from the first user terminal, it uses the account information of Company A to log in to the tax bureau server 200 and saves the returned user token to the storage server 320. When the second or third user terminal sends a login request to the login host 310, the login host 310 finds that the storage server 320 already has a valid token corresponding to the account of Company A, so there is no need to log in to the tax bureau server 200 again. Next, the task scheduling platform 330 selects a tax filing machine 340 for each user terminal 100 to perform the tax filing task (the three user terminals may be assigned the same or different tax filing machines), and the corresponding token will also be sent to the selected tax filing machine 340 along with the tax filing data so that the tax bureau server 200 can correctly identify the corresponding account.

[0057] For another example, in a certain accounting firm, there are three tax return machines A, B and C in the system supporting multi-terminal parallel tax return. Ten financial personnel use ten different user terminals 100 to send login requests to the login host 310 in the same time period. Two of them use the same account to return taxes for the same company, and the remaining eight use different accounts to return taxes for different companies. The login host will query whether the corresponding token already exists based on the account information, or obtain the corresponding token by logging into the tax bureau server 200. After obtaining the tax return tasks issued by these user terminals, the task scheduling platform 330 selects the tax return machine A for three of the user terminals, the tax return machine B for the other three user terminals, and the tax return machine C for the remaining four user terminals, and sends the corresponding user token to the selected tax return machine 340.

[0058] In an optional embodiment, the login host 310 may specifically include: an account information acquisition module 311, a user token acquisition module 312, a login result return module 313 and a user token refresh module 314; the task scheduling platform 330 may specifically include: a task acquisition module 331, a user token acquisition module 332, a tax machine selection module 333 and a result acquisition and return module 334; the tax filing machine 340 may specifically include: a user token injection module 341 and a tax filing module 342.

[0059] Among them, the account information acquisition module 311 is configured to obtain a login request from the user terminal 100, and the login request includes: account information; the user token acquisition module 312 is configured to query whether a corresponding valid user token already exists in the storage server 320 according to the account information; if not, log in to the tax bureau server 200 according to the account information, and save the user token returned by the tax bureau server 200 to the storage server 320; the login result return module 313 is configured to return a message of login success or failure to the user terminal 100; the user token refresh module 314 is configured to refresh the user token in the storage server 320 according to a preset first time interval to prevent the token from expiring.

[0060] The task acquisition module 331 is configured to acquire the tax declaration task issued by the user terminal 200, and the tax declaration task includes: tax declaration data; the user token acquisition module 332 is configured to acquire the corresponding user token from the storage server 320; the tax machine selection module 333 is configured to select a tax declaration machine 340, and send the tax declaration data and the acquired user token to the selected tax declaration machine 340; the result acquisition and return module 334 is configured to acquire the tax declaration result returned by the tax declaration machine 340, and return it to the user terminal 100.

[0061] The user token injection module 341 is configured to inject the user token sent by the task scheduling platform 330 into the browser, and obtain the corresponding user token from the storage server 320 and update it to the browser at a preset second time interval; the tax filing module 342 is configured to use a browser to log in to the tax bureau server 200, execute the tax filing task, and return the tax filing result to the task scheduling platform 330.

[0062] In another optional embodiment, the tax filing task may further include: tax filing type.

[0063] The tax machine selection module 333 in the task scheduling platform 330 may specifically include: a selection unit 3331 and a user token sending unit 3332 .

[0064] Among them, the selection unit 3331 is configured to select a tax filing machine according to the tax filing type and / or load balancing principle; the user token sending unit 3332 is configured to send the tax filing task and the obtained user token to the selected tax filing machine.

[0065] In another optional embodiment, the login host 310 may further include: a redirection module 315 and a tax period control module 316; the tax filing machine 340 may further include: a synchronization module 343.

[0066] Among them, the redirection module 315 is configured to redirect the user terminal 100 to the task scheduling platform 330, so that the user terminal 100 publishes the tax declaration task to the task scheduling platform 330; the collection period control module 316 is configured to control the operation of the user token refresh module according to the preset tax declaration collection period, and when the collection period ends, the user token will no longer be refreshed regularly; the synchronization module 343 is configured to synchronize the tax declaration data and tax declaration results to the remaining tax declaration machines 340 in real time to ensure that the operation data of the same account on different tax declaration machines 340 are consistent.

[0067] Based on the same technical concept as the above system embodiment, the present invention also provides a method embodiment. Figure 2 Schematic diagram of the main steps of the embodiment of the method for supporting multi-terminal parallel tax declaration in the present invention. Figure 2 As shown, the method of this embodiment includes steps S10-S60:

[0068] Step S10: Log in to the host to obtain the account information of the user terminal.

[0069] Step S20, the login host queries whether a valid user token already exists in the storage server; if so, go to step S40; otherwise, go to step S30.

[0070] Step S30: The login host logs in to the tax bureau server according to the account information, and saves the user token returned by the tax bureau server to the storage server.

[0071] Step S40: The login host periodically refreshes the user token in the storage server.

[0072] Step S50: The task scheduling platform obtains the tax declaration task of the user terminal, selects one from multiple tax declaration machines, obtains the user token from the storage server and sends it to the selected tax declaration machine.

[0073] Step S60: The tax filing machine injects the user token into the browser and logs into the tax bureau server to perform the tax filing task.

[0074] There are multiple user terminals, and they use the same or different accounts.

[0075] Although the various steps in the above embodiment are described in the above-mentioned order, those skilled in the art can understand that in order to achieve the effect of this embodiment, different steps do not have to be executed in such an order. They can be executed simultaneously (in parallel) or in a reverse order. These simple changes are within the scope of protection of the present invention.

[0076] Furthermore, the present invention also provides an embodiment of a computer-readable storage medium. The storage medium of this embodiment stores a computer program that can be loaded by a processor and execute the method described above.

[0077] The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0078] Those skilled in the art should be able to appreciate that the method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of electronic hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in electronic hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0079] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

Claims

1. A system that supports multi-terminal parallel tax declaration, characterized in that: The system includes: a login host, a storage server, a task scheduling platform and multiple tax declaration machines; The login host is configured to: obtain a login request from a user terminal, and query whether a valid user token already exists in the storage server; if not, log in to the tax bureau server according to the login request, and save the user token returned by the tax bureau server to the storage server; and regularly refresh the user token in the storage server; The storage server is configured to: store user tokens; The task scheduling platform is configured to: obtain the tax declaration task of the user terminal, select a tax declaration machine, and obtain the user token from the storage server and send it to the selected tax declaration machine; The tax declaration machine is configured to: inject the user token into the browser, log in to the tax bureau server and execute the tax declaration task; in, There are multiple user terminals, and they use the same or different accounts.

2. The system supporting multi-terminal parallel tax declaration according to claim 1, characterized in that: The login host includes: An account information acquisition module, configured to acquire the login request of the user terminal, the login request including: account information; A user token acquisition module is configured to query whether a corresponding valid user token already exists in the storage server according to the account information; if not, log in to the tax bureau server according to the account information, and save the user token returned by the tax bureau server to the storage server; A login result returning module, configured to return a message of login success or failure to the user terminal; The user token refreshing module is configured to refresh the user token in the storage server according to a preset first time interval.

3. The system supporting multi-terminal parallel tax declaration according to claim 1, characterized in that: The task scheduling platform includes: A task acquisition module is configured to acquire the tax declaration task issued by the user terminal, wherein the tax declaration task includes: tax declaration data; A user token acquisition module, configured to acquire a corresponding user token from the storage server; A tax machine selection module, configured to select a tax filing machine and send the tax filing data and the acquired user token to the selected tax filing machine; The result acquisition and return module is configured to acquire the tax declaration result returned by the tax declaration machine and return it to the user terminal.

4. The system supporting multi-terminal parallel tax declaration according to claim 1, characterized in that: The tax declaration machine includes: A user token injection module is configured to inject the user token sent by the task scheduling platform into the browser, and obtain the corresponding user token from the storage server at every preset second time interval and update it to the browser; The tax declaration module is configured to log in to the tax bureau server using the browser, execute the tax declaration task, and return the tax declaration result to the task scheduling platform.

5. The system supporting multi-terminal parallel tax declaration according to claim 2, characterized in that: The login host also includes: The redirection module is configured to redirect the user terminal to the task scheduling platform so that the user terminal publishes the tax declaration task to the task scheduling platform.

6. The system supporting multi-terminal parallel tax declaration according to claim 5, characterized in that: The login host also includes: The tax collection period control module is configured to control the operation of the user token refresh module according to a preset tax declaration collection period.

7. The system supporting multi-terminal parallel tax declaration according to claim 4, characterized in that: The tax declaration machine also includes: The synchronization module is configured to synchronize the tax declaration data and the tax declaration results to the remaining tax declaration machines in real time to ensure that the operation data of the same account on different tax declaration machines are consistent.

8. The system supporting multi-terminal parallel tax declaration according to claim 3, characterized in that: The tax declaration task also includes: tax declaration type; The tax machine selection module includes: A selection unit, configured to select the tax filing machine according to the tax filing type and / or load balancing principle; The user token sending unit is configured to send the tax declaration task and the obtained user token to the selected tax declaration machine.

9. A method for supporting multi-terminal parallel tax declaration, characterized in that: The method comprises: Login to the host to obtain the account information of the user terminal, and query whether there is a valid user token in the storage server; if not, log in to the tax bureau server according to the account information, and save the user token returned by the tax bureau server to the storage server; regularly refresh the user token in the storage server; The task scheduling platform obtains the tax declaration task of the user terminal, selects one from multiple tax declaration machines, obtains the user token from the storage server and sends it to the selected tax declaration machine; The tax filing machine injects the user token into the browser and logs into the tax bureau server to execute the tax filing task; in, There are multiple user terminals, and they use the same or different accounts.

10. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method as claimed in claim 9.

Citation Information

Cited By

  • Rapid tax declaration method, system and device and storage medium

    CN119417631A