CN114842596A - Tax control service system supporting offline - Google Patents

Tax control service system supporting offline Download PDF

Info

Publication number
CN114842596A
CN114842596A CN202111534768.3A CN202111534768A CN114842596A CN 114842596 A CN114842596 A CN 114842596A CN 202111534768 A CN202111534768 A CN 202111534768A CN 114842596 A CN114842596 A CN 114842596A
Authority
CN
China
Prior art keywords
service system
control service
mode
tax control
invoice
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
CN202111534768.3A
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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN202111534768.3A priority Critical patent/CN114842596A/en
Publication of CN114842596A publication Critical patent/CN114842596A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G5/00Receipt-giving machines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a tax control service system supporting offline, and belongs to the technical field of tax control services. The system of the invention comprises: the system initialization module is used for providing an installation package of the tax control service system, installing the tax control service system on a local service through the installation package, initializing the tax control service system after the installation is finished, and automatically starting the tax control service system; the billing module is used for receiving billing data of a user and issuing the invoice data in an off-line mode or an on-line mode according to the billing data; and the invoice uploading module receives invoice data of a user, uploads the invoice data in an online mode, changes the online mode into an offline mode if the invoice data cannot be uploaded in the online mode, and uploads the invoice data in the offline mode. The invention ensures that invoices can be normally issued through the system when background service is unavailable or a network is unavailable, and reduces the difficulty of the user in docking the system.

Description

Tax control service system supporting offline
Technical Field
The present invention relates to the field of tax control service technology, and more particularly, to a tax control service system supporting offline.
Background
The situation that background services are unavailable or a network is unavailable occurs in the tax industry, and a taxpayer cannot normally obtain invoices when the situation occurs. At present, the B/S mode, the Web Service mode and other modes can not avoid the situation.
Disclosure of Invention
In view of the above problems, the present invention provides an offline supporting tax control service system, which includes:
the system initialization module is used for providing an installation package of the tax control service system, installing the tax control service system on a local service through the installation package, initializing the tax control service system after the installation is finished, and automatically starting the tax control service system;
the billing module receives billing data of a user after the tax control service system is automatically started, and performs billing of the billing data in an off-line mode or an on-line mode according to the billing data;
and the invoice uploading module receives invoice data of a user after the tax control service system is automatically started, uploads the invoice data in an online mode, changes the online mode into an offline mode if the invoice data cannot be uploaded in the online mode, and uploads the invoice data in the offline mode.
Optionally, the system initialization of the system initialization module includes:
installing the installation package on local server, after the installation is accomplished, looking over whether tax control service system need set up the agent, if set up the agent and acquire the equipment number, if otherwise directly acquire the equipment number, aim at equipment number carries out the equipment number application, and after the equipment number approval passes, it is right tax control service system initializes.
Optionally, the system initialization module is further configured to interact with the local server background to obtain parameters after the system initialization is successful, and store the parameters to the local server.
Optionally, the system initialization module is further configured to set the asymmetric key after the system initialization is successful.
Optionally, the invoicing module performs invoicing in an offline mode or an online mode according to the invoicing data, and specifically includes:
receiving billing data of a user, judging whether the tax control service system is in an online mode or an offline mode, if the tax control service system is in the online mode, performing online-mode invoicing, and if the tax control service system is in the offline mode, performing offline-mode invoicing;
the invoicing of the online mode comprises:
compressing and encrypting the billing data, requesting a background billing interface of the tax control service system, judging whether the background service is abnormal, switching to an offline module if the background service is abnormal, decompressing and decrypting the compressed and encrypted billing data if the background service is not abnormal, generating an invoice and returning the invoice to a user;
the offline mode of invoicing comprises:
verifying the invoicing data, if the invoicing data is legal, generating an invoice number, a check code and a two-dimensional code, storing the invoice number, the check code and the two-dimensional code in a warehouse, issuing an invoice and returning the invoice to a user;
if the billing data is illegal, billing is not carried out.
Optionally, the invoice uploading module uploads the invoice data in an offline mode or an online mode, and specifically includes:
optionally, the tax control service system is installed in the local area network of the user.
Optionally, when the online mode of the tax control service system is unavailable, the online mode can be changed to the offline mode at any time.
The invention ensures that invoices can be normally issued through the system when background service is unavailable or a network is unavailable, and reduces the difficulty of the user in docking the system.
Drawings
FIG. 1 is a block diagram of the system of the present invention;
FIG. 2 is a flow chart of the system for uploading invoices in an off-line mode and an on-line mode.
FIG. 3 is a flow chart of system initialization in the system of the present invention;
FIG. 4 is a flow chart of the offline and online invoicing modes of the system of the present invention.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
The invention provides a tax control service system 100 supporting offline, as shown in fig. 1, including:
the system initialization module 101 is used for providing an installation package of the tax control service system, installing the tax control service system on a local service through the installation package, initializing the tax control service system after the installation is finished, and automatically starting the tax control service system;
the billing module 102 is used for receiving billing data of a user after the tax control service system is automatically started, and performing billing data in an off-line mode or an on-line mode according to the billing data;
and an invoice uploading module 103, configured to receive invoice data of the user after the tax control service system is automatically started, and upload the invoice data in an online mode, as shown in fig. 2, if the invoice data cannot be uploaded in the online mode, the online mode is changed to an offline mode, and the invoice data is uploaded in the offline mode.
The specific process of the system initialization module, as shown in fig. 3, includes:
installing the installation package on local server, after the installation is accomplished, looking over whether tax control service system need set up the agent, if set up the agent and acquire the equipment number, if otherwise directly acquire the equipment number, aim at equipment number carries out the equipment number application, and after the equipment number approval passes, it is right tax control service system initializes. The system initialization module is also used for interacting with the local server background to acquire parameters and storing the parameters to the local server after the system initialization is successful. The system initialization module is further used for setting the asymmetric key after the system initialization is successful.
The invoicing module issues invoice data in an offline mode or an online mode according to the invoicing data, and as shown in fig. 4, the invoicing module specifically includes:
receiving billing data of a user, judging whether the tax control service system is in an online mode or an offline mode, if the tax control service system is in the online mode, performing online-mode invoicing, and if the tax control service system is in the offline mode, performing offline-mode invoicing;
the invoicing of the online mode comprises:
compressing and encrypting the billing data, requesting a background billing interface of the tax control service system, judging whether the background service is abnormal, switching to an offline module if the background service is abnormal, decompressing and decrypting the compressed and encrypted billing data if the background service is not abnormal, generating an invoice and returning the invoice to a user;
the offline mode of invoicing comprises:
verifying the invoicing data, if the invoicing data is legal, generating an invoice number, a check code and a two-dimensional code, storing the invoice number, the check code and the two-dimensional code in a warehouse, issuing an invoice and returning the invoice to a user;
if the billing data is illegal, billing is not carried out.
The invoice uploading module uploads the invoice data in an off-line mode or an on-line mode, and the uploading module specifically comprises:
wherein, the tax control service system is installed in the local area network of the user.
When the online mode of the tax control service system is unavailable, the online mode can be changed into the offline mode at any time.
The system of the invention provides installation packages of various operating systems such as Windows, Centos, Ubuntu and the like for users to use. The system is installed on the user's local server, registered as a service upon installation of the system, and set to auto-launch. The system will generate a corresponding device number based on the operating system information. The system provides an operation interactive interface, a user registers the equipment number through an operation page, the background approval is passed, parameters are set for the equipment, and then the user executes initialization operation. The user may set the proxy and asymmetric keys. After the setting is completed, the system can provide services. The user can interface with the interface service provided by the system.
The system has the function of automatically detecting the online and offline states. And (4) invoicing in an online mode, if the background service is found to be unavailable in the request background, automatically switching to an offline mode, and issuing the invoice in an offline mode. And the server is periodically and circularly requested in the offline state, and the online mode is switched to if the background service is available.
The system downloads and updates parameters including the amount of single invoices, the limitation of the number of invoices, the limitation of the amount of invoices, the types of tax invoices, the types of commodities invoices, currency, exchange rate and the like. The system downloads the update parameters in three cases: the first timing task downloads the updating parameters at regular time; a second downloading of the update parameters when the mode is changed from the offline mode to the online mode; and a third user manually operates to download the updated parameters.
The system verifies the issued invoice in an off-line mode, and the verification comprises the format of data, data operation, off-line determination, logic of data and the like. Detailed error coding and information is provided for the error data. The invoice data in the offline mode is ensured to be correct.
And in the system offline mode, generating an invoice number, an anti-counterfeiting code and a two-dimensional code for legal invoice data according to local parameters, returning the invoice number, the anti-counterfeiting code and the two-dimensional code to the user, and storing the invoice data to the local. When the system is switched to the online mode, the invoices are sequentially uploaded to the background service.
The system provides a detailed information monitoring page of the system for a user, wherein the detailed information monitoring page comprises a device number, an online and offline state, commodity information, commodity classification information, a background interface state, an offline three-definition state, a system access record, offline invoice data and the like.
The system performs obfuscation encryption processing on the core code, so that the code security is ensured.
The invention ensures that invoices can be normally issued through the system when background service is unavailable or a network is unavailable, and reduces the difficulty of the user in docking the system.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The scheme in the embodiment of the application can be implemented by adopting various computer languages, such as object-oriented programming language Java and transliterated scripting language JavaScript.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the 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 (7)

1. A tax-control service system supporting offline, the tax-control service system comprising:
the system initialization module is used for providing an installation package of the tax control service system, installing the tax control service system on a local service through the installation package, initializing the tax control service system after the installation is finished, and automatically starting the tax control service system;
the billing module receives billing data of a user after the tax control service system is automatically started, and performs billing of the billing data in an off-line mode or an on-line mode according to the billing data;
and the invoice uploading module receives invoice data of a user after the tax control service system is automatically started, uploads the invoice data in an online mode, changes the online mode into an offline mode if the invoice data cannot be uploaded in the online mode, and uploads the invoice data in the offline mode.
2. The tax control service system according to claim 1, wherein the system initialization of the system initialization module comprises the following specific processes:
installing the installation package on local server, after the installation is accomplished, looking over whether tax control service system need set up the agent, if set up the agent and acquire the equipment number, if otherwise directly acquire the equipment number, aim at equipment number carries out the equipment number application, and after the equipment number approval passes, it is right tax control service system initializes.
3. The tax control service system according to claim 2, wherein the system initialization module is further configured to interact with the local server background to obtain parameters and store the parameters to the local server after the system initialization is successful.
4. The tax control service system according to claim 2, wherein the system initialization module is further configured to set the asymmetric key after the system initialization is successful.
5. The tax-control service system according to claim 1, wherein the invoicing module issues the invoice data in an off-line mode or an on-line mode according to the invoicing data, and specifically comprises:
receiving billing data of a user, judging whether the tax control service system is in an online mode or an offline mode, if the tax control service system is in the online mode, performing online-mode invoicing, and if the tax control service system is in the offline mode, performing offline-mode invoicing;
the invoicing of the online mode comprises:
compressing and encrypting the billing data, requesting a background billing interface of the tax control service system, judging whether the background service is abnormal, switching to an offline module if the background service is abnormal, decompressing and decrypting the compressed and encrypted billing data if the background service is not abnormal, generating an invoice and returning the invoice to a user;
the offline mode of invoicing comprises:
verifying the invoicing data, if the invoicing data is legal, generating an invoice number, a check code and a two-dimensional code, storing the invoice number, the check code and the two-dimensional code in a warehouse, issuing an invoice and returning the invoice to a user;
if the billing data is illegal, billing is not carried out.
6. A tax controlled service system according to claim 1, installed in a user's local area network.
7. A tax controlled service system according to claim 1, wherein the online mode is changed to the offline mode at any time when the online mode of the tax controlled service system is not available.
CN202111534768.3A 2021-12-15 2021-12-15 Tax control service system supporting offline Pending CN114842596A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111534768.3A CN114842596A (en) 2021-12-15 2021-12-15 Tax control service system supporting offline

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111534768.3A CN114842596A (en) 2021-12-15 2021-12-15 Tax control service system supporting offline

Publications (1)

Publication Number Publication Date
CN114842596A true CN114842596A (en) 2022-08-02

Family

ID=82562629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111534768.3A Pending CN114842596A (en) 2021-12-15 2021-12-15 Tax control service system supporting offline

Country Status (1)

Country Link
CN (1) CN114842596A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115775428A (en) * 2022-11-28 2023-03-10 南京数族信息科技有限公司 Electronic invoice self-service two-dimensional code generation and issuing method based on tax control equipment offline

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115775428A (en) * 2022-11-28 2023-03-10 南京数族信息科技有限公司 Electronic invoice self-service two-dimensional code generation and issuing method based on tax control equipment offline

Similar Documents

Publication Publication Date Title
US20230222485A1 (en) Using on-demand applications to process encrypted data from a contactless card
US8660964B2 (en) Secure device licensing
EP2628125B1 (en) Method and apparatus for downloading drm module
NL2009157B1 (en) System and method for linking pre-installed software to a user account on an online store.
US20100235889A1 (en) Application products with in-application subsequent feature access using network-based distribution system
WO2012166566A1 (en) Tokenizing sensitive data
CN104520870A (en) Method and system for updating firmware of security module
US10515193B2 (en) Secure large volume feature license provisioning system
US20220078027A1 (en) System and method for reconfiguring and deploying soft stock-keeping units
CN108846263B (en) Software authorization processing and running method and device and electronic equipment
US20150294288A1 (en) System and method for remote management of sale transaction data
CN106020868B (en) A kind of smart card firmware update and system
CN108418833B (en) Software management method, cloud server and terminal
CN108055585A (en) Data processing method, set top box upgrading method, terminal and set-top box
CN114842596A (en) Tax control service system supporting offline
CN106537434A (en) Proxy payment device and operation method therefor
CN108140074A (en) Specific feature permission is applied in management
US8103804B2 (en) Method and system for embedded regenerative licensing
WO2014158743A2 (en) Feature license-related repair/replacement processes and credit handling
WO2014189748A1 (en) Systems, methods and computer program products for managing disabling of services
KR101661817B1 (en) A method and an apparatus protecting application of a server and a portable terminal
CN110781459A (en) Authorization permission management and control method, system and electronic equipment
CN112866296B (en) Application online verification method, device, equipment and storage medium
CN114036491A (en) Software management method, system and storage medium
CN113094048A (en) Data display rule determining method, display method, device, equipment and 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