Method and device for switching tax control panel through software

文档序号:1890817 发布日期:2021-11-26 浏览:24次 中文

阅读说明:本技术 一种通过软件切换税控盘的方法及装置 (Method and device for switching tax control panel through software ) 是由 张茗 于 2021-08-10 设计创作,主要内容包括:本发明公开了一种通过软件切换税控盘的方法和装置,方法包括:列出所有税控盘身份信息,制作原始税控盘身份信息列表;按原始税控盘身份信息列表中的前后顺序依次禁用所有税控盘;启动原始税控盘身份信息列表中的首个税控盘,开票,禁用所述税控盘;更新税控盘身份信息列表;启动已更新的税控盘身份信息列表中的首个税控盘,开票,禁用所述税控盘;依次重复更新税控盘身份信息列表,启动已更新列表中的首个税控盘,开票,禁用该税控盘,直至完成所有税控盘的开票;装置包括计算机、USB-HUB、以及多个税控盘。本发明的通过软件切换税控盘的方法和装置,无需人工频繁地拔插税控盘,工作效率高,减轻硬件设备接口的磨损。(The invention discloses a method and a device for switching tax control disks through software, wherein the method comprises the following steps: listing all tax control disk identity information, and making an original tax control disk identity information list; sequentially forbidding all tax-control disks according to the front and back sequence in the original tax-control disk identity information list; starting a first tax control disk in an original tax control disk identity information list, issuing a bill, and forbidding the tax control disk; updating the tax control disk identity information list; starting the first tax control disk in the updated tax control disk identity information list, issuing a bill, and forbidding the tax control disk; updating the tax control disk identity information list in sequence, starting the first tax control disk in the updated list, invoicing, and forbidding the tax control disk until invoicing of all tax control disks is completed; the device comprises a computer, a USB-HUB and a plurality of tax control disks. The method and the device for switching the tax control disk through the software do not need to frequently pull and insert the tax control disk manually, have high working efficiency and reduce the abrasion of hardware equipment interfaces.)

1. A method for switching tax disks through software, the method comprising the steps of:

s1: listing all tax control disk identity information, and making an original tax control disk identity information list;

s2: sequentially forbidding all tax-control disks according to the front and back sequence in the original tax-control disk identity information list;

s3: starting a first tax control disk in an original tax control disk identity information list, opening billing software for billing, closing the billing software, and forbidding the tax control disk;

s4: the invoiced tax control disk identity information is moved to the last one of the original tax control disk identity information list, and the tax control disk identity information list is updated;

s5: starting a first tax control disk in the updated tax control disk identity information list, opening the billing software for billing, closing the billing software, and forbidding the tax control disk;

s6: and repeating the steps S4 and S5 in sequence until the invoicing and other operations of all the tax control discs are completed.

2. The method of claim 1, wherein the other operations of the fiscal disk in S6 include querying, reporting and monitoring.

3. The method of claim 2, wherein the step of updating the tax control disk identity information list in S4 further comprises comparing whether the first tax control disk identity information in the updated tax control disk identity information list is consistent with the first tax control disk identity information in the original tax control disk identity information list.

4. The method for switching a fiscal disk according to claim 3, further comprising, before S1, verifying a fiscal disk certificate password to confirm whether the fiscal disk is in a normal state and transmitting identification information and inventory information of all fiscal disks in a normal state.

5. The device for switching the tax control disks through software is characterized by comprising a computer, a USB-HUB and a plurality of tax control disks, wherein the tax control disks are plugged on an interface of the USB-HUB, the USB-HUB is plugged on a USB interface of the computer, and billing software is installed on the computer.

Technical Field

The invention relates to the technical field of information, in particular to a method and a device for switching a tax control disk through software.

Background

The current invoicing flows of a plurality of tax control devices are as follows: the method comprises the steps of inserting a disc- > making an invoice- > pulling the disc- > inserting the disc- > making an invoice, so that the inserting disc is pulled out manually frequently, the making an invoice efficiency is low, and the abrasion of a hardware equipment interface is accelerated.

Disclosure of Invention

Aiming at the defects of the prior art, the invention provides the method for switching the tax control disk through software, which does not need to frequently pull and insert the tax control disk manually, has high working efficiency and reduces the abrasion of a hardware device interface.

In order to achieve the purpose, the invention adopts the following technical scheme:

a method for switching a fiscal disk by software, the method comprising the steps of:

s1: listing all tax control disk identity information, and making an original tax control disk identity information list;

s2: sequentially forbidding all tax-control disks according to the front and back sequence in the original tax-control disk identity information list;

s3: starting a first tax control disk in an original tax control disk identity information list, opening billing software for billing, closing the billing software, and forbidding the tax control disk;

s4: the invoiced tax control disk identity information is moved to the last one of the original tax control disk identity information list, and the tax control disk identity information list is updated;

s5: starting a first tax control disk in the updated tax control disk identity information list, opening the billing software for billing, closing the billing software, and forbidding the tax control disk;

s6: and repeating the steps S4 and S5 in sequence until the invoicing and other operations of all the tax control discs are completed.

In the above technical solution, preferably, the other operations of the fiscal disk in S6 include querying, reporting, and monitoring.

In the foregoing technical solution, it is further preferable that after the tax control disk identity information list is updated in S4, whether the first tax control disk identity information in the updated tax control disk identity information list is consistent with the first tax control disk identity information in the original tax control disk identity information list is compared. Thereby avoiding repeated hanging of the disc.

In the foregoing technical solution, it is further preferable that before S1, the method further includes verifying the fiscal disk certificate password to confirm whether the fiscal disk is in a normal state and sending identity information and inventory information of all fiscal disks in a normal state.

The invention also provides a device for switching the tax control disks through software, which comprises a computer, a USB-HUB and a plurality of tax control disks, wherein the tax control disks are plugged on the interface of the USB-HUB, the USB-HUB is plugged on the USB interface of the computer, and the computer is provided with invoicing software.

The invention switches the tax control disc and the device through software, which has the following beneficial effects:

can realize making an invoice by switching the tax control disc through software, does not need to frequently pull out and insert the tax control disc by manpower, and work efficiency is high, alleviates the wearing and tearing of hardware equipment interface.

Drawings

FIG. 1 is a flow chart illustrating a method for switching a fiscal disk by software according to the present invention.

Detailed Description

The device for switching the tax control disks through the software comprises a computer, a USB-HUB and a plurality of tax control disks, wherein the tax control disks are plugged in an interface of the USB-HUB, the USB-HUB is plugged in a USB interface of the computer, and billing software is installed on the computer.

The method for switching the tax control disk through software comprises the following steps:

s0: inserting a plurality of tax control disks into the USB-HUB, inserting the USB-HUB into a USB port of the computer, checking a certificate password of the tax control disks to confirm whether the states of the tax control disks are normal or not, and sending identity information and inventory information of all the tax control disks in normal states to the computer.

S1: the computer lists all tax control disk identity information (the tax control disk is in a normal state) through a pnputil enum-devices command, and an original tax control disk identity information list is made;

s2: the computer disables all tax control disks in sequence according to the front and back sequence in the original tax control disk identity information list through a pnputil disable-device command;

s3: the computer starts a first tax control disk in the original tax control disk identity information list through a pnputil enable-device command, the first tax control disk is mounted on the computer, invoicing software is opened to conduct invoicing, inquiring, reporting and monitoring operations, the invoicing software is closed, and the tax control disk is forbidden;

s4: the invoiced tax control disk identity information is moved to the last one of the original tax control disk identity information list, the computer updates the tax control disk identity information list, and compares whether the first tax control disk identity information in the updated tax control disk identity information list is consistent with the first tax control disk identity information in the original tax control disk identity information list, if so, the operation of all tax control disks is finished, and if not, the operation goes to S5;

s5: the computer starts the first tax control disk in the updated tax control disk identity information list, opens the software for making an invoice, closes the software for making an invoice, and forbids the tax control disk;

s6: and repeating the steps S4 and S5 in sequence until the operations of invoicing, inquiring, reporting and monitoring of all tax control discs are completed.

5页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电子货架的信息管理方法与电子货架

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!