Management method, device, storage medium, hosting device and system for tax control equipment

By detecting and managing inserted tax control devices in the hosting device and obtaining and outputting their target physical locations, the problem of difficulty in efficiently managing multiple tax control devices in the existing technology is solved, and convenient and efficient equipment management is achieved, reducing the Manpower and cost consumption.

CN114626902BActive Publication Date: 2025-02-18AISINO CORPORATION
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011455275.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-10
Publication Date
2025-02-18
Estimated Expiration
2040-12-10

AI Technical Summary

Technical Problem

The existing technology is difficult to efficiently manage multiple tax control equipment, resulting in large labor consumption and inefficiency. Especially for large enterprises and custodian enterprises, there is a lack of a system that can manage multiple tax control equipment to achieve centralized management and cost savings.

Method used

By providing a custodial device and corresponding management method, the tax control equipment inserted into the custodial device is detected, the target physical location of each tax control equipment is obtained, and the location is output and displayed, so as to achieve convenient and efficient use of multiple tax control equipment. manage.

Benefits of technology

It realizes automated management of multiple tax control equipment, reduces manpower consumption, improves management efficiency, reduces custody costs, and improves taxpayer satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114626902B_ABST
    Figure CN114626902B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a management method, device, storage medium, hosting device and system for tax control equipment. The method is applied to the hosting device, including: detecting the tax control equipment inserted into the hosting device; obtaining the target physical position of each tax control equipment in the hosting device; outputting and displaying the target physical position. The hosting device can automatically obtain the target physical position of each tax control equipment in the hosting device, and output and display the target position, so that the operation and maintenance personnel can know the target physical position of each tax control equipment in the hosting device, so that the tax control equipment can be repaired in time later, so that the hosting device can manage multiple tax control equipment conveniently and efficiently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular, to a management method, device, storage medium, hosting device and system for tax control equipment. Background Art

[0002] Normally, corporate taxpayers need to use tax control equipment to issue invoices. Different taxpayers have different needs for different scenarios. Some taxpayers have full-time accountants use tax control equipment and PC (Personal Computer) invoicing software to complete various tax control business operations such as issuing invoices by themselves; some large enterprises have multiple tax numbers, and one tax control device can only issue invoices with one tax number. Therefore, large enterprises usually hope to centrally manage multiple tax control devices to achieve tax services such as intelligent invoicing to save labor costs; some small and micro enterprise users do not have full-time accountants and lack tax knowledge, and prefer to entrust tax-related businesses such as invoicing to trusteeship or accounting companies.

[0003] If a large number of tax control devices are managed manually, it will require a lot of manpower, be time-consuming and labor-intensive, and inefficient. Therefore, some large enterprises and custodial companies urgently need a hosting device that can host multiple tax control devices. It can not only centrally manage multiple tax control devices and complete corresponding tax control business operations according to taxpayer needs, but also save hosting costs, improve equipment management efficiency, and enhance taxpayer satisfaction. Summary of the invention

[0004] The purpose of this disclosure is to provide a management method, device, storage medium, hosting device and system for tax control equipment, so as to realize convenient and efficient management of multiple tax control equipment.

[0005] In order to achieve the above-mentioned purpose, the present disclosure provides a first aspect of a tax control device management method, which is applied to a trustee device, comprising:

[0006] Detecting a tax control device inserted into the hosting device;

[0007] Obtaining the target physical location of each of the tax control devices in the hosting device;

[0008] The target physical location is output and displayed.

[0009] Optionally, the hosting device includes a plurality of USB interfaces; and the detecting the tax control device inserted into the hosting device includes:

[0010] When the hosting device is in operation, obtaining Windows system notification information of each USB device inserted into the USB interface through a Windows message mechanism, wherein the Windows system notification information includes first information for characterizing that the USB device is inserted into or removed from the USB interface, and second information for characterizing a symbolic link name of the USB device;

[0011] The tax control device inserted into the hosting device is determined based on the first information and the second information.

[0012] Optionally, determining the tax control device inserted into the trustee device according to the first information and the second information includes:

[0013] Determine a first candidate USB device inserted into the hosting device based on the first information, determine a first target USB device that is a tax control device from the first candidate USB device based on the second information, and determine the first target USB device as the tax control device inserted into the hosting device; or

[0014] Based on the second information, a second candidate USB device belonging to the tax control device is determined, and based on the first information, a second target USB device inserted into the hosting device is determined from the second candidate USB devices, and the second target USB device is determined as the tax control device inserted into the hosting device.

[0015] Optionally, the method further comprises:

[0016] For each of the USB interfaces, if the USB device inserted into the USB interface is not a tax control device, a prompt message indicating an insertion error is output, and / or an alarm signal is output.

[0017] Optionally, obtaining the target physical location of each of the tax control devices in the hosting device includes:

[0018] Obtain the symbolic link name of each of the tax control devices;

[0019] For each of the tax control devices, the target device instance of the tax control device is determined according to the symbolic link name of the tax control device, and, according to the target device instance, the correspondence between the device instance and the physical location of the preset USB device is queried to determine the target location corresponding to the target device instance.

[0020] Optionally, obtaining the target physical location of each of the fiscal control devices in the hosting device includes:

[0021] Obtain the symbolic link name of each of the tax control devices;

[0022] For each of the fiscal control devices, the correspondence between the preset symbolic link name and the physical location is queried to determine the target physical location corresponding to the symbolic link name of the fiscal control device.

[0023] Optionally, after detecting the fiscal control device inserted into the hosting device, the method further includes:

[0024] Obtain the number of invoices issued by each of the tax control devices in a historical time period;

[0025] For each of the tax control devices, a power-on strategy of the tax control device is controlled according to the invoice quantity.

[0026] Optionally, the power-on strategy of controlling the tax control device according to the invoice quantity includes:

[0027] When the invoice quantity is less than or equal to the first preset quantity, when a tax control service request for the tax control device is received, controlling the tax control device to be in a power-on state;

[0028] When the invoice quantity is greater than or equal to a second preset quantity, controlling the tax control device to be in a normally powered-on state;

[0029] When the invoice quantity is greater than the first preset quantity and less than the second preset quantity, the fiscal control device is controlled to be in a power-on state within a first preset time period, and to be in a power-off state within a second preset time period.

[0030] Optionally, the method further comprises:

[0031] In case a fiscal control device inserted into the hosting device is detected, relevant information of the detected fiscal control device is sent to a cloud server; and / or

[0032] The operating status of the fiscal control device is updated to an inserted status.

[0033] Optionally, the detecting the tax control device inserted into the hosting device includes:

[0034] Periodically testing the tax control device inserted into the hosting device;

[0035] When a tax control device entering the hosting device is detected, sending the relevant information of the detected hosting device to the cloud server includes:

[0036] For each cycle, when a new fiscal control device inserted into the hosting device is detected, the relevant information of the new fiscal control device is sent to the cloud server.

[0037] Optionally, the method further comprises:

[0038] When it is detected that the fiscal control device is unplugged from the hosting device, an instruction for deleting the relevant information of the fiscal control device is sent to the cloud server, so that the cloud server deletes the relevant information of the fiscal control device.

[0039] Optionally, the method further comprises:

[0040] Receiving an operation request sent by the cloud server;

[0041] Control the fiscal control device corresponding to the operation request to perform a corresponding operation.

[0042] A second aspect of the present disclosure provides a management device for a tax control device, which is applied to a trustee device, including:

[0043] A detection module, used to detect the tax control device inserted into the hosting device;

[0044] A first acquisition module, used for acquiring a target physical location of each of the tax control devices in the hosting device;

[0045] The first output module is used to output and display the target physical location.

[0046] A third aspect of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method provided in the first aspect of the present disclosure.

[0047] A fourth aspect of the present disclosure provides a hosting device, including: a power supply, an industrial computer, and a plurality of hub circuit boards;

[0048] The power supply is connected to the industrial computer and the multiple hub circuit boards respectively, and is used to supply power to the industrial computer and the multiple hub circuit boards;

[0049] The industrial computer includes a memory and a processor, wherein the memory stores a computer program, and the processor is used to execute the computer program in the memory to implement the steps of the method provided in the first aspect of the present disclosure;

[0050] The multiple hub circuit boards are used to provide N USB interfaces, wherein at least a portion of the N USB interfaces are used to insert tax control devices, and N is an integer greater than 1.

[0051] A fifth aspect of the present disclosure provides a management system for tax control devices, comprising: the hosting device as provided in the fourth aspect of the present disclosure, and at least one tax control device inserted into the hosting device.

[0052] Through the above technical solution, the hosting device can automatically obtain the target physical location of each tax control device in the hosting device, and output and display the target location, so that the operation and maintenance personnel can know the target physical location of each tax control device in the hosting device, so that the tax control device can be repaired in time afterwards. In this way, the hosting device can manage multiple tax control devices conveniently and efficiently.

[0053] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:

[0055] Figure 1 The figure is a schematic diagram of a hosting device according to an exemplary embodiment.

[0056] Figure 2 The present invention is a flowchart of a method for managing a tax control device according to an exemplary embodiment.

[0057] Figure 3 The present invention is a flowchart of another method for managing a tax control device according to an exemplary embodiment.

[0058] Figure 4 The present invention is a block diagram of a management device for a tax control device according to an exemplary embodiment.

[0059] Figure 5 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0060] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.

[0061] Before describing in detail a management method, apparatus, storage medium, hosting device and system for a tax control device provided by the present disclosure, the management system of the tax control device involved in the present disclosure is first described.

[0062] The management system of the tax control device provided in the present disclosure can host a device and at least one tax control device inserted into the host device. It is worth noting that the tax control device can be connected to the host device through a USB interface. In addition, the tax control device involved in the present disclosure can be a dedicated tax control device, such as a tax control computer. The tax control device can also be a device related to tax invoices, such as a tax control computer, a tax invoice printer, a scanner for authenticating special value-added tax invoices, etc. The present disclosure does not make specific limitations on this.

[0063] Figure 1 FIG. 1 is a schematic diagram of a hosting device according to an exemplary embodiment. Figure 1 As shown, the hosting device may include a power supply 101, an industrial computer 102, and multiple hub circuit boards 103. The power supply 101 is respectively connected to the industrial computer 102 and the multiple hub circuit boards 103, and is used to supply power to the industrial computer 102 and the multiple hub circuit boards 103. The industrial computer 102 includes a memory and a processor, wherein a computer program is stored in the memory, and the processor is used to execute the computer program in the memory to implement the management method of the tax control device provided in the present disclosure. For example, a tax control service program is installed in the industrial computer 102, and the tax control service program can execute the management method of the tax control device provided in the present disclosure. Multiple hub circuit boards 103 are used to provide N USB interfaces, wherein at least a part of the N USB interfaces are used to insert tax control devices, and N is an integer greater than 1.

[0064] It is worth noting that, assuming that there are 4 hub circuit boards 103 and each hub circuit board 103 has 45 USB interfaces, the 4 hub circuit boards 103 can provide 180 USB interfaces. Each USB interface can be used to plug in a USB device, which may include a USB flash drive, a hard disk, a mouse, a keyboard, a tax control device, and the like.

[0065] In one embodiment, the industrial computer 102 may use an Intel Pentium CPU and a Windows 10 operating system, the power supply 101 may use an ATX power supply, and the hub circuit board 103 may implement cascade expansion through a two-stage HUB chip to support the insertion of 45 tax control devices. Optionally, considering the heat dissipation problem of the hosting device, in one embodiment, Figure 1 As shown, the hosting device may further include a plurality of fans 104 for heat dissipation.

[0066] The following is a detailed description of a management method for a tax control device provided by the present disclosure. Figure 2 is a flowchart of a method for managing a tax control device according to an exemplary embodiment. The method is applied to Figure 1The hosting device shown in FIG. 1 can be applied to the industrial computer 102 in the hosting device. Figure 2 As shown, the management method may include the following steps.

[0067] In step 201, the fiscal control device inserted into the hosting device is detected.

[0068] As mentioned above, since the hosting device provides a USB interface, any USB device can be inserted into the hosting device. In order to avoid non-tax control devices being inserted into the hosting device used to host tax control devices, in the present disclosure, it is first necessary to detect whether the USB device inserted into the hosting device is a tax control device.

[0069] In one embodiment, the managed device includes multiple USB interfaces, and the tax control device that detects the USB device inserted into the managed device can obtain whether the USB device inserted into the USB interface is a tax control device through the Windows message mechanism. Specifically, first, when the managed device is in operation, the Windows system notification information of each USB device inserted into the USB interface is obtained through the Windows message mechanism, wherein the Windows system notification information includes first information for representing that the USB device is inserted into or removed from the USB interface, and second information for representing the symbolic link name of the USB device.

[0070] For example, the managed device or the industrial computer in the managed device registers the USB device class with Windows to obtain the windows system notification information of each USB device. After obtaining the windows system notification information of the USB device, the windows system notification information is parsed to obtain first information for characterizing the insertion or removal of the USB device from the USB interface and second information for characterizing the symbolic link name of the USB device. For example, the label 1 can be used to characterize the insertion of the USB device into the USB interface, and the label 0 can be used to characterize the removal of the USB device from the USB interface. In addition, the symbolic link name of the USB device can include the PID (product ID) information and / or VID (vendor ID) information of the USB device.

[0071] Next, based on the above-mentioned first information and second information, determine the tax control device inserted into the trusteeship device.

[0072] For example, first, according to the above first information, the first candidate USB device inserted into the managed device is determined, and then, according to the second information, the first target USB device belonging to the tax control device is determined from the first candidate USB device, and the first target USB device is determined as the tax control device inserted into the managed device. Continuing with the above example, the USB device labeled 1 can be determined as the first candidate USB device, and then the first target USB device belonging to the tax control device is determined according to the PID information and / or VID information of the first candidate USB device. Among them, the PID information and / or VID information of the tax control device has been pre-stored in the managed device. For example, the first candidate USB device whose PID information is consistent with the PID information of the tax control device can be determined as the first target USB device, or the first candidate USB device whose VID information is consistent with the VID information of the tax control device can be determined as the first target USB device, or the first candidate USB device whose PID information and VID information are respectively consistent with the PID information and VID information of the tax control device can be determined as the first target USB device. Finally, the first target USB device is determined as the tax control device inserted into the managed device.

[0073] As another example, first, according to the second information, a second candidate USB device belonging to the tax control device is determined, then a second target USB device inserted into the trustee device is determined from the second candidate USB devices, and finally, the second target USB device is determined as the tax control device inserted into the trustee device. The specific method is as described above and will not be repeated here.

[0074] While determining the tax control device plugged into the trusteeship device in the above manner, the non-tax control device plugged into the USB interface can also be determined. For example, a USB device with a label of 1 but a PID and / or VID that is inconsistent with the PID and VID of the tax control device is recorded as a non-tax control device plugged into the USB interface.

[0075] For each USB interface, if it is detected that the USB device inserted into the USB interface is not a tax control device, a prompt message indicating an insertion error is output, and / or an alarm signal is output to remind the operation and maintenance personnel that a non-tax control device is inserted into the USB interface. The alarm signal may be at least one of an acoustic alarm signal, an optical alarm signal, or an acoustic and optical alarm signal.

[0076] In this way, it is possible to avoid inserting non-tax control devices into managed devices, thereby avoiding the disadvantage of increasing management workload by managing non-tax control devices.

[0077] In step 202, the target physical location of each fiscal control device in the hosting device is obtained.

[0078] It is worth noting that the tax control device mentioned in step 201 refers to the tax control device detected and inserted into the hosting device in step 201. In addition, the target physical location of the tax control device in the hosting device refers to the physical location of the USB interface into which the tax control device is inserted, wherein each USB device in Windows has a fixed physical location.

[0079] In one implementation, first, the symbolic link name of each tax control device is obtained. For example, the symbolic link name of the tax control device can be obtained from the Windows system notification information of the tax control device. Then, for each tax control device, the target device instance of the tax control device is determined according to the symbolic link name of the tax control device, and, according to the target device instance, the correspondence between the preset device instance of the USB device and the physical location is queried to determine the target location corresponding to the target device instance.

[0080] For example, based on the symbolic link name of the tax control device, the correspondence between the preset symbolic link name and the device instance can be queried by calling the Windows Setup API, and the device instance corresponding to the symbolic link name of the tax control device can be obtained. The determined device instance is used as the target device instance of the tax control device. After that, the correspondence between the preset device instance of the USB device and the physical location is queried to determine the target location corresponding to the target device instance.

[0081] The corresponding relationship between the device instance and the physical location of the USB device can be determined in the following manner: for all USB devices, by calling the Windows Setup API, the physical locations of all USB devices plugged into the USB interface and the device instances of the USB devices are enumerated, and the corresponding relationship between the device instance and the physical location of the USB device is established.

[0082] In another embodiment, first, the symbolic link name of each fiscal control device is obtained, and then, for each fiscal control device, the relationship between the preset symbolic link name and the physical location is queried to determine the target physical location corresponding to the symbolic link name of the fiscal control device. In this embodiment, the corresponding relationship between the symbolic link name and the physical location is pre-established.

[0083] Among them, the correspondence between the symbolic link name and the physical location can be established in the following way: first, through the Windows Setup API, the device instance of the tax control device is queried according to the symbolic link name of the tax control device, then, the correspondence between the device instance of the USB device and the physical location is determined in the above way, and then, the device instances obtained in the above two steps are compared to establish the correspondence between the symbolic link name and the physical location of the tax control device corresponding to the same device instance. In this way, the correspondence between the symbolic link name and the physical location of the tax control device can be created.

[0084] It is worth noting that after establishing the correspondence between the symbolic link name and the physical location, the correspondence can be stored in the database. When it is detected again that a new tax control device is inserted into the hosting device, the symbolic link of the newly inserted tax control device and its corresponding physical location are determined in the above manner, and the symbolic link of the newly inserted tax control device and its corresponding physical location are associated and stored in the database. In addition, in addition to storing the correspondence between the symbolic link name and the physical location in the database, the relevant information of the tax control device can also be stored in the database, wherein the relevant information of the tax control device can include but is not limited to: tax number, company name, bank of account opening, historical invoice quantity, remaining invoice quantity, current invoice number code, invoice number. In addition, when it is detected that the tax control device is unplugged from the hosting device, the relevant information of the tax control device, as well as the symbolic link name of the tax control device and its corresponding physical location can also be deleted from the database to reduce the occupation of database storage space.

[0085] In another embodiment, the managed device is in a cold start state. Since the number of tax control devices carried by the managed device is large, if the message mechanism is used for processing, the processing is complicated and messages are easily lost, resulting in some tax control devices being unable to be identified. Therefore, in this case, the tax control device can be identified by searching the registry. First, the industrial computer controls all USB devices to power on, finds the symbolic link names of all USB devices through the registry, and then narrows the scope according to the symbolic link name of the tax control device to find the symbolic link names of all tax control devices. After that, according to the symbolic link name, find the device instance corresponding to each tax control device, and finally call the Windows Setup API to obtain the relationship between the device instance and the physical location, thereby establishing the corresponding relationship between the symbolic link name and the physical location of each tax control device, and writing the corresponding relationship into the database.

[0086] It is worth noting that each tax control device corresponds to a tax number. In another embodiment, the correspondence between the tax number and the physical location can also be established in advance. When the trustee performs tax control-related control on the tax control device, the physical location of the tax control device can be determined according to the tax number included in the tax control business request, and then the corresponding symbolic link name is found according to the physical location, so as to call the Createfile API to open the tax control device for various operations.

[0087] In this way, the target physical location of each fiscal control device in the hosting device can be determined.

[0088] In step 203, the target physical location is output and displayed.

[0089] After determining the target physical location of each tax control device in the managed device, the target physical location of each tax control device can be displayed on a display screen, or the target physical location can be sent to the terminal of the operation and maintenance personnel, so that the operation and maintenance personnel can know the target physical location of each tax control device in the managed device, which facilitates the subsequent timely maintenance of the tax control equipment.

[0090] By adopting the above technical solution, the hosting device can automatically obtain the target physical location of each tax control device in the hosting device, and output and display the target location, so that the operation and maintenance personnel can know the target physical location of each tax control device in the hosting device, so as to facilitate the subsequent timely maintenance of the tax control device. In this way, the hosting device can manage multiple tax control devices conveniently and efficiently.

[0091] Figure 3 FIG. 1 is a flow chart showing another method for managing a tax control device according to an exemplary embodiment. Figure 3 As shown, the management method may include the following steps.

[0092] In step 301 (201), the fiscal control device inserted into the hosting device is detected.

[0093] In step 302, the number of invoices issued by each fiscal control device in a historical time period is obtained.

[0094] The historical time period may be the past 30 days, 60 days, half a year, etc. In addition, the hosting device may count the number of invoices issued in each cycle of each tax control device, for example, a cycle may be 1 day, etc., and then the number of invoices issued in the historical time period may be determined by accumulation.

[0095] In step 303, for each fiscal control device, the power-on strategy of the fiscal control device is controlled according to the number of invoices issued.

[0096] For example, when the number of invoices issued is less than or equal to the first preset number, the tax control device is controlled to be in a normally powered-off state. When a tax control service request for the tax control device is received, the tax control device is controlled to be powered on, that is, the tax control device is controlled to be in a powered-on state. When the number of invoices issued is greater than or equal to the second preset number, the tax control device is controlled to be in a normally powered-on state. And, when the number of invoices issued is greater than the first preset number and less than the second preset number, the tax control device is controlled to be in a powered-on state within a first preset period, and in a powered-off state within a second preset period. The second preset number is greater than the first preset number.

[0097] For example, if the first preset number is 30 and the second preset number is 90, when the number of invoices is less than or equal to 30, it indicates that the enterprise has issued fewer tax invoices for the tax number corresponding to the tax control device, that is, the tax control device is used less frequently. At this time, in order to reduce power consumption, the tax control device can be controlled to be always powered off, and when a tax control service request for the tax control device is received, the tax control device is controlled to be powered on. When the number of invoices is greater than or equal to 90, it indicates that the tax control device is used more frequently. In order to avoid the problem of heavy management workload caused by frequent power-on and power-off control, the tax control device can be controlled to be always powered on, and the tax control service request for the tax control device can be responded to in real time to perform corresponding operations. When the number of invoices is greater than 30 and less than 90, the tax control device can be controlled by a time-sharing power-on strategy, that is, the tax control device is controlled to be powered on during the working hours of the day, such as the period from 10:00 to 22:00, and powered off during non-working hours, such as the period from 22:00 to 10:00.

[0098] By adopting the above technical solution, the power-on strategy of the tax control device is controlled by the number of invoices issued by the tax control device in the historical period, which can reduce power consumption and management workload, and improve the intelligence of tax control device management.

[0099] In actual applications, the hosting device can also communicate with the cloud server. For example, a dedicated thread is created in the tax control service program of the hosting device, and the dedicated thread is used to communicate with the cloud server. In this way, when a tax control device inserted into the hosting device is detected, the relevant information of the detected tax control device can be further obtained and sent to the cloud server. Among them, the relevant information of the tax control device can be obtained from the database. In addition, the relevant information of the tax control device includes but is not limited to: tax number, company name, bank, historical invoice quantity, remaining invoice quantity, current invoice number code, invoice number.

[0100] In addition, when a tax control device is detected to be inserted into the hosting device, the operating status of the tax control device can also be updated to the inserted status.

[0101] In a possible manner, the tax control devices inserted into the hosting device can be periodically detected, and for each cycle, when a new tax control device inserted into the hosting device is detected, the relevant information of the new tax control device is sent to the cloud server. For example, assuming that only tax control devices A and B were detected to be inserted into the hosting device in the previous cycle, and tax control devices A, B, and C were detected to be inserted into the hosting device in the current cycle, then the tax control device C is considered to be a new tax control device inserted into the hosting device detected in the current cycle, that is, only the relevant information of the tax control device C is sent to the cloud server in the current cycle. Since the relevant information of the tax control devices A and B has been sent to the cloud server in the previous cycle, it is not necessary to repeatedly send the relevant information of the tax control devices A and B in the current cycle. In this way, the relevant information of the tax control devices inserted into the hosting device recorded by the cloud server can be updated in real time, and the amount of data sent can be effectively reduced, thereby reducing the occupation of communication resources.

[0102] In actual applications, the tax control device may also be unplugged from the managed device. At this time, the relevant information of the tax control device recorded in the cloud server can also be deleted to reduce the storage space occupied. For example, when it is detected that the tax control device is unplugged from the managed device, an instruction for deleting the relevant information of the tax control device is sent to the cloud server, so that the cloud server deletes the relevant information of the tax control device, so that the cloud server will no longer perform any operations on the deleted tax control device in the future. In addition, when it is detected that the tax control device is unplugged from the managed device, a prompt message indicating that the tax control device has been unplugged can also be output to facilitate the operation and maintenance personnel to understand the operation status of the tax control device and further determine whether the tax control device is unplugged abnormally.

[0103] In addition, the hosting device can also control the tax control device in response to the operation request of the cloud server when communicating with the cloud server. For example, an operation request sent by the cloud server is received, and the operation request can be a tax control business request, such as an invoicing request, or a request to deactivate or refresh the tax control device, etc. Then, the tax control device corresponding to the operation request is controlled to perform the corresponding operation.

[0104] For example, the operation request is an invoicing request, which may include: title, tax number, bank account number, category, amount, date and time, etc. The trustee device may determine the tax control device corresponding to the invoicing request according to the tax number included in the invoicing request, and control the tax control device to perform the invoicing operation.

[0105] Optionally, https+AES double security encryption can be used when the hosting device communicates with the cloud server to ensure communication security.

[0106] Optionally, after the cloud server obtains the relevant information and operating status of the tax control device inserted into the hosting device, it can also display the obtained relevant information and operating status of the tax control device through the terminal APP / Web of the operation and maintenance personnel, and the operation and maintenance personnel can also manage the tax control device in real time through the terminal APP / Web.

[0107] The above technical solution effectively meets the enterprise's hosting needs for multiple tax control devices, and the hardware cost of the tax control device hosting is greatly reduced by hosting through the hosting device provided by the present disclosure. Through the intelligent management of tax control equipment, the personnel investment required for operation and maintenance is greatly reduced, and the operation and maintenance cost of tax control equipment is effectively reduced.

[0108] Based on the same inventive concept, the present disclosure also provides a management device for tax control equipment. Figure 4 FIG. 1 is a block diagram of a management device for a tax control device according to an exemplary embodiment. The management device for a tax control device is applied to a trustee device. Figure 4 As shown, the management device 400 of the tax control device may include:

[0109] Detection module 401, used to detect the tax control device inserted into the trusteeship device;

[0110] A first acquisition module 402 is used to acquire a target physical location of each of the tax control devices in the hosting device;

[0111] The first output module 403 is used to output and display the target physical location.

[0112] Optionally, the hosting device includes a plurality of USB interfaces; the detection module 401 includes:

[0113] A first acquisition submodule is used to acquire, through a Windows message mechanism, Windows system notification information of each USB device inserted into the USB interface when the hosting device is in operation, wherein the Windows system notification information includes first information for representing that the USB device is inserted into or removed from the USB interface, and second information for representing a symbolic link name of the USB device;

[0114] A first determination submodule is used to determine the tax control device inserted into the hosting device according to the first information and the second information.

[0115] Optionally, the first determining submodule is used to:

[0116] Determine a first candidate USB device inserted into the hosting device based on the first information, determine a first target USB device that is a tax control device from the first candidate USB device based on the second information, and determine the first target USB device as the tax control device inserted into the hosting device; or

[0117] Based on the second information, a second candidate USB device belonging to the tax control device is determined, and based on the first information, a second target USB device inserted into the hosting device is determined from the second candidate USB devices, and the second target USB device is determined as the tax control device inserted into the hosting device.

[0118] Optionally, the device further comprises:

[0119] The second output module is used for outputting a prompt message indicating an insertion error and / or an alarm signal for each of the USB interfaces if the USB device inserted into the USB interface is not a tax control device.

[0120] Optionally, the first acquisition module 402 includes:

[0121] The second acquisition submodule is used to obtain the symbolic link name of each of the tax control devices;

[0122] The second determination submodule is used to determine the target device instance of the tax control device for each of the tax control devices according to the symbolic link name of the tax control device, and, based on the target device instance, query the correspondence between the device instance and the physical location of the preset USB device to determine the target location corresponding to the target device instance.

[0123] Optionally, the first acquisition module 402 includes:

[0124] A third acquisition submodule is used to obtain the symbolic link name of each of the tax control devices;

[0125] The third determination submodule is used to query the corresponding relationship between the preset symbolic link name and the physical location for each of the tax control devices, and determine the target physical location corresponding to the symbolic link name of the tax control device.

[0126] Optionally, the device further comprises:

[0127] The second acquisition module is used to obtain the number of invoices issued by each of the tax control devices in a historical time period;

[0128] The first control module is used to control the power-on strategy of each tax control device according to the invoice quantity.

[0129] Optionally, the first control module includes:

[0130] A first control submodule, configured to control the tax control device to be in a power-on state when a tax control service request for the tax control device is received when the invoice quantity is less than or equal to a first preset quantity;

[0131] A second control submodule, used for controlling the tax control device to be in a normally powered-on state when the invoice quantity is greater than or equal to a second preset quantity;

[0132] The third control submodule is used to control the tax control device to be in a power-on state within a first preset time period and to be in a power-off state within a second preset time period when the invoice quantity is greater than the first preset quantity and less than the second preset quantity.

[0133] Optionally, the device further comprises:

[0134] A first sending module is used to send relevant information of the detected tax control device to a cloud server when a tax control device inserted into the hosting device is detected; and / or

[0135] An update module is used to update the operating status of the tax control device to an inserted status.

[0136] Optionally, the detection module is used to: periodically detect the tax control device inserted into the hosting device;

[0137] The first sending module is used to: for each cycle, when a new tax control device is detected to be inserted into the hosting device, send relevant information of the new tax control device to the cloud server.

[0138] Optionally, the device further comprises:

[0139] The second sending module is used to send an instruction for deleting the relevant information of the tax control device to the cloud server when it is detected that the tax control device is unplugged from the hosting device, so that the cloud server deletes the relevant information of the tax control device.

[0140] Optionally, the device further comprises:

[0141] A receiving module, used for receiving an operation request sent by the cloud server;

[0142] The second control module is used to control the tax control device corresponding to the operation request to perform a corresponding operation.

[0143] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0144] Figure 5 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Figure 5 As shown, the electronic device 500 may include: a processor 501 and a memory 502. The electronic device 500 may also include one or more of a multimedia component 503, an input / output (I / O) interface 504, and a communication component 505.

[0145] The processor 501 is used to control the overall operation of the electronic device 500 to complete all or part of the steps in the above-mentioned tax control device management method. The memory 502 is used to store various types of data to support the operation of the electronic device 500. For example, these data may include instructions for any application or method used to operate on the electronic device 500, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 502 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. The multimedia component 503 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 502 or sent through the communication component 505. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 504 provides an interface between the processor 501 and other interface modules, and the above-mentioned other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 505 is used for wired or wireless communication between the electronic device 500 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 505 may include: Wi-Fi module, Bluetooth module, NFC module, etc.

[0146] In an exemplary embodiment, the electronic device 500 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned tax control equipment management method.

[0147] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned tax control device management method are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 502 including program instructions, and the above-mentioned program instructions can be executed by the processor 501 of the electronic device 500 to complete the above-mentioned tax control device management method.

[0148] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above-mentioned tax control device management method when executed by the programmable device.

[0149] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.

[0150] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.

[0151] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.

Claims

1. A method for managing tax control equipment, characterized in that: Applies to managed devices, including: Detecting a tax control device inserted into the hosting device; Obtaining the target physical location of each of the tax control devices in the hosting device; Outputting and displaying the target physical location; The hosting device includes a plurality of USB interfaces; the method for detecting the tax control device inserted into the hosting device includes: When the hosting device is in operation, obtaining Windows system notification information of each USB device inserted into the USB interface through a Windows message mechanism, wherein the Windows system notification information includes first information for characterizing that the USB device is inserted into or removed from the USB interface, and second information for characterizing a symbolic link name of the USB device; Determine the tax control device inserted into the trustee device according to the first information and the second information; The determining, according to the first information and the second information, the tax control device inserted into the trustee device comprises: Determine a first candidate USB device inserted into the hosting device based on the first information, determine a first target USB device that is a tax control device from the first candidate USB device based on the second information, and determine the first target USB device as the tax control device inserted into the hosting device; or Based on the second information, a second candidate USB device belonging to the tax control device is determined, and based on the first information, a second target USB device inserted into the hosting device is determined from the second candidate USB devices, and the second target USB device is determined as the tax control device inserted into the hosting device.

2. The method according to claim 1, characterized in that After detecting the fiscal control device inserted into the hosting device, the method further includes: Obtain the number of invoices issued by each of the tax control devices in a historical time period; For each of the tax control devices, a power-on strategy of the tax control device is controlled according to the invoice quantity.

3. The method according to claim 2, characterized in that The power-on strategy of controlling the tax control device according to the invoice quantity includes: When the invoice quantity is less than or equal to the first preset quantity, when a tax control service request for the tax control device is received, controlling the tax control device to be in a power-on state; When the invoice quantity is greater than or equal to a second preset quantity, controlling the tax control device to be in a normally powered-on state; When the invoice quantity is greater than the first preset quantity and less than the second preset quantity, the fiscal control device is controlled to be in a power-on state within a first preset time period, and to be in a power-off state within a second preset time period.

4. The method according to claim 1, characterized in that The method further comprises: In the event that a fiscal control device inserted into the hosting device is detected, sending relevant information of the detected fiscal control device to a cloud server; and / or The operating status of the fiscal control device is updated to an inserted status.

5. A management device for tax control equipment, characterized in that: Applies to managed devices, including: A detection module, used to detect the tax control device inserted into the hosting device; A first acquisition module, used for acquiring a target physical location of each of the tax control devices in the hosting device; A first output module, used for outputting and displaying the target physical location; The hosting device includes a plurality of USB interfaces; the detection module includes: A first acquisition submodule is used to acquire, through a Windows message mechanism, Windows system notification information of each USB device inserted into the USB interface when the hosting device is in operation, wherein the Windows system notification information includes first information for representing that the USB device is inserted into or removed from the USB interface, and second information for representing a symbolic link name of the USB device; A first determination submodule, configured to determine a tax control device inserted into the trustee device according to the first information and the second information; Optionally, the first determining submodule is used to: Determine a first candidate USB device inserted into the hosting device based on the first information, determine a first target USB device that is a tax control device from the first candidate USB device based on the second information, and determine the first target USB device as the tax control device inserted into the hosting device; or Based on the second information, a second candidate USB device belonging to the tax control device is determined, and based on the first information, a second target USB device inserted into the hosting device is determined from the second candidate USB devices, and the second target USB device is determined as the tax control device inserted into the hosting device.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 4 are implemented.

7. A hosting device, characterized in that: include: Power supply, industrial computer, multiple hub circuit boards; The power supply is connected to the industrial computer and the multiple hub circuit boards respectively, and is used to supply power to the industrial computer and the multiple hub circuit boards; The industrial computer includes a memory and a processor, wherein the memory stores a computer program, and the processor is used to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 4; The multiple hub circuit boards are used to provide N USB interfaces, wherein at least a portion of the N USB interfaces are used to insert tax control devices, and N is an integer greater than 1.

8. A management system for tax control equipment, characterized in that: include: The hosting device of claim 7, and at least one fiscal control device inserted into the hosting device.

Citation Information

Patent Citations

  • Switching USB equipment scheduling device and scheduling method thereof

    CN103489267A

  • Electronic invoice management system and method

    CN107871252A