CN113259493A - Ukey information acquisition method, device, equipment and storage medium based on Ukey cabinet - Google Patents

Ukey information acquisition method, device, equipment and storage medium based on Ukey cabinet Download PDF

Info

Publication number
CN113259493A
CN113259493A CN202110766576.9A CN202110766576A CN113259493A CN 113259493 A CN113259493 A CN 113259493A CN 202110766576 A CN202110766576 A CN 202110766576A CN 113259493 A CN113259493 A CN 113259493A
Authority
CN
China
Prior art keywords
ukey
information
agent
tax
cabinet
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.)
Granted
Application number
CN202110766576.9A
Other languages
Chinese (zh)
Other versions
CN113259493B (en
Inventor
张民遐
刘武阳
吴德飞
曾德长
李贤书
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Gaodeng Computer Technology Co Ltd
Original Assignee
Shenzhen Gaodeng Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Gaodeng Computer Technology Co Ltd filed Critical Shenzhen Gaodeng Computer Technology Co Ltd
Priority to CN202110766576.9A priority Critical patent/CN113259493B/en
Publication of CN113259493A publication Critical patent/CN113259493A/en
Application granted granted Critical
Publication of CN113259493B publication Critical patent/CN113259493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/10Tax strategies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Technology Law (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a Ukey information acquisition method, a device, equipment and a storage medium based on a Ukey cabinet, wherein the method comprises the following steps: establishing a long connection channel with an agent management terminal based on a connection interface protocol integrated by an agent client in an intranet; after receiving a Ukey information reporting instruction sent by an agent management terminal, an agent client initiates a Ukey information acquisition request to a corresponding Ukey cabinet in an intranet, and receives returned Ukey information of a tax Ukey on the Ukey cabinet so as to return the Ukey information to the agent management terminal; the agent management terminal analyzes the association relation based on Ukey attribute information and Ukey survival state in the Ukey information, and stores the Ukey information into a database deployed in the cloud platform; under the condition of receiving a business operation request sent by a business system deployed in a cloud platform, an agent management end searches Ukey attribute information and Ukey survival state of a target tax Ukey related to the business operation request from a database based on the association relation. This scheme can avoid the limitation.

Description

Ukey information acquisition method, device, equipment and storage medium based on Ukey cabinet
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for obtaining Ukey information based on a Ukey cabinet.
Background
With the rapid development of science and technology, various advanced technologies are emerging continuously. In the field of tax control, various tax control devices are in endless due to safety and convenience considerations, and currently, tax disks are gradually eliminated, and tax Ukey is a popular tax control device at present. The tax Ukey is a tax control device with a Universal Serial Bus (USB) interface. The taxation Ukey is managed to the hosting organization, and the hosting organization provides a Ukey cabinet to manage the taxation Ukey uniformly and massively, so that the method is suitable for being used by a plurality of enterprises.
At present, a service system is deployed in a cloud platform such as a public cloud, a private cloud, or a hybrid cloud, and when the service system performs related service operations, related information of a Ukey may need to be acquired.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a computer device and a storage medium for Ukey information acquisition based on a Ukey cabinet, which avoid limitations.
A Ukey information acquisition method based on a Ukey cabinet is disclosed, wherein the Ukey cabinet comprises a managed tax Ukey; the tax Ukey is tax control equipment which is connected with the Ukey cabinet through a universal serial bus interface and is used for issuing invoices; the Ukey cabinet is deployed in an internal network of a trusted party; the method comprises the following steps:
deploying a proxy client in the intranet; a connection interface protocol is integrated in the proxy client;
establishing a long connection channel between the agent client and an agent management terminal deployed in a cloud platform based on the connection interface protocol;
after receiving a Ukey information reporting instruction sent by an agent management terminal deployed in a cloud platform based on a pre-established long connection channel, a proxy client deployed in an intranet initiates a Ukey information acquisition request to a Ukey cabinet which is positioned in the intranet and corresponds to the proxy client;
after the Ukey cabinet responds to the Ukey information acquisition request, the proxy client receives returned Ukey information of the tax Ukey on the Ukey cabinet, and returns the Ukey information to the proxy management terminal based on the long connecting channel;
the agent management terminal analyzes the association relationship between the tax Ukey and related objects based on the Ukey attribute information and the Ukey survival state in the Ukey information, and stores the Ukey information into a database deployed in the cloud platform;
and when a service operation request sent by a service system deployed in the cloud platform is received and the service operation request relates to the Ukey information acquisition, the agent management terminal searches Ukey attribute information and Ukey survival state of a target tax Ukey related to the service operation request from the Ukey information stored in the database based on the association relationship.
In one embodiment, the method further comprises:
the proxy management terminal monitors the connection of the proxy client in real time;
when the agent management terminal monitors the newly connected agent client terminal, then
Sending a Ukey information reporting instruction to the proxy client based on a long connection channel between the Ukey information reporting instruction and the newly connected proxy client;
the Ukey information reporting instruction is used for indicating the proxy client to report Ukey information of each tax Ukey on the Ukey cabinet corresponding to the proxy client.
In one embodiment, the method further comprises:
the agent management terminal issues an update reporting instruction to the agent client terminal according to a preset time interval;
the agent management terminal receives Ukey information reported by the agent client terminal according to the update reporting instruction;
and updating the updated Ukey information into the database.
In one embodiment, the updating the updated Ukey information into the database includes:
if the updated Ukey information is Ukey information of a newly added tax Ukey, executing the association relation analysis between the tax Ukey and a related object by the agent management terminal based on Ukey attribute information and Ukey survival state in the Ukey information, and storing the Ukey information into a database deployed in the cloud platform;
and if the updated Ukey information is the modified Ukey information of the historical tax Ukey, the agent management terminal locates the historical Ukey information corresponding to the historical tax Ukey in the database based on the association relationship, and updates the historical Ukey information into the modified Ukey information.
In one embodiment, the tax number is carried in the service operation request related to the Ukey information acquisition; the method further comprises the following steps:
if the Ukey attribute information and the Ukey survival state of the target tax Ukey are not found in the database, then
The agent management terminal extracts the tax number from the service operation request and generates a Ukey information acquisition instruction based on the tax number;
and the agent management terminal sends the Ukey information acquisition instruction to a corresponding agent client so as to search Ukey attribute information of a target tax Ukey corresponding to the tax number and the Ukey survival state from a Ukey cabinet corresponding to the agent client.
In one embodiment, the sending, by the proxy management end, the Ukey information acquisition instruction to the corresponding proxy client, so as to search Ukey attribute information and Ukey survival status of the target tax Ukey corresponding to the tax number from the Ukey cabinet corresponding to the proxy client includes:
if a plurality of agent clients corresponding to the agent management terminal exist, acquiring historical operation data related to the service operation request;
predicting a target agent client from the agent clients and predicting a target Ukey cabinet from the Ukey cabinets corresponding to the target agent clients based on the historical operation data;
and the agent management terminal sends the Ukey information acquisition instruction to the target agent client to indicate the target agent client to search Ukey attribute information of the target tax Ukey corresponding to the tax number and the Ukey survival state from the target Ukey cabinet.
A Ukey information acquisition device based on a Ukey cabinet is disclosed, wherein the Ukey cabinet comprises a managed tax Ukey; the tax Ukey is tax control equipment which is connected with the Ukey cabinet through a universal serial bus interface and is used for issuing invoices; the Ukey cabinet is deployed in an internal network of a trusted party; the device comprises:
the connection module is used for deploying the agent client in the intranet; a connection interface protocol is integrated in the proxy client; establishing a long connection channel between the agent client and an agent management terminal deployed in a cloud platform based on the connection interface protocol;
the acquisition module is used for initiating a Ukey information acquisition request to a Ukey cabinet which is positioned in the intranet and corresponds to a proxy client by the proxy client deployed in the intranet after receiving a Ukey information reporting instruction which is sent by the proxy management terminal deployed in the cloud platform based on a pre-established long connection channel; after the Ukey cabinet responds to the Ukey information acquisition request, the proxy client receives returned Ukey information of the tax Ukey on the Ukey cabinet, and returns the Ukey information to the proxy management terminal based on the long connecting channel;
the analysis storage module is used for the agent management terminal to analyze the association relationship between the tax Ukey and related objects based on the Ukey attribute information and the Ukey survival state in the Ukey information, and store the Ukey information into a database deployed in the cloud platform;
and the searching module is used for searching the Ukey attribute information and the Ukey survival state of the target tax Ukey related to the business operation request from the Ukey information stored in the database on the basis of the association relationship by the agent management terminal under the condition that the business operation request sent by the business system deployed in the cloud platform is received and the business operation request relates to the Ukey information.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
deploying a proxy client in the intranet; a connection interface protocol is integrated in the proxy client;
establishing a long connection channel between the agent client and an agent management terminal deployed in a cloud platform based on the connection interface protocol;
after receiving a Ukey information reporting instruction sent by an agent management terminal deployed in a cloud platform based on a pre-established long connection channel, a proxy client deployed in an intranet initiates a Ukey information acquisition request to a Ukey cabinet which is positioned in the intranet and corresponds to the proxy client;
after the Ukey cabinet responds to the Ukey information acquisition request, the proxy client receives returned Ukey information of the tax Ukey on the Ukey cabinet, and returns the Ukey information to the proxy management terminal based on the long connecting channel;
the agent management terminal analyzes the association relationship between the tax Ukey and related objects based on the Ukey attribute information and the Ukey survival state in the Ukey information, and stores the Ukey information into a database deployed in the cloud platform;
and when a service operation request sent by a service system deployed in the cloud platform is received and the service operation request relates to the Ukey information acquisition, the agent management terminal searches Ukey attribute information and Ukey survival state of a target tax Ukey related to the service operation request from the Ukey information stored in the database based on the association relationship.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
deploying a proxy client in the intranet; a connection interface protocol is integrated in the proxy client;
establishing a long connection channel between the agent client and an agent management terminal deployed in a cloud platform based on the connection interface protocol;
after receiving a Ukey information reporting instruction sent by an agent management terminal deployed in a cloud platform based on a pre-established long connection channel, a proxy client deployed in an intranet initiates a Ukey information acquisition request to a Ukey cabinet which is positioned in the intranet and corresponds to the proxy client;
after the Ukey cabinet responds to the Ukey information acquisition request, the proxy client receives returned Ukey information of the tax Ukey on the Ukey cabinet, and returns the Ukey information to the proxy management terminal based on the long connecting channel;
the agent management terminal analyzes the association relationship between the tax Ukey and related objects based on the Ukey attribute information and the Ukey survival state in the Ukey information, and stores the Ukey information into a database deployed in the cloud platform;
and when a service operation request sent by a service system deployed in the cloud platform is received and the service operation request relates to the Ukey information acquisition, the agent management terminal searches Ukey attribute information and Ukey survival state of a target tax Ukey related to the service operation request from the Ukey information stored in the database based on the association relationship.
According to the Ukey information acquisition method and device based on the Ukey cabinet, the computer equipment and the storage medium, the agent management end is deployed in the cloud platform, and the agent client is deployed in the intranet of the hosting mechanism, so that a long connection channel is established between the agent client and the agent management end through a connection interface protocol integrated in the agent client, and real-time communication connection between the cloud platform and the intranet is realized. The method comprises the steps that an agent management end sends a Ukey information reporting instruction to an agent client based on a pre-established long connecting channel to indicate the agent client to initiate a Ukey information acquisition request to a corresponding Ukey cabinet located in an intranet, so that Ukey information of tax Ukeys on all the Ukey cabinets is acquired, and the Ukey information is returned to the agent management end based on the long connecting channel. Namely, Ukey information of tax Ukeys on each Ukey cabinet in the intranet is obtained through the long connecting channel. The agent management terminal analyzes the association relationship between the tax Ukey and the related object based on the Ukey attribute information and the Ukey survival state in the Ukey information, and stores the Ukey information into the database deployed in the cloud platform, that is, the agent management terminal analyzes the association relationship and stores the Ukey information in the intranet into the database of the cloud platform, so that under the condition that a business operation request sent by a business system deployed in the cloud platform is received and the business operation request relates to the acquisition of the Ukey information, the agent management terminal searches the Ukey attribute information and the Ukey survival state of the target tax Ukey related to the business operation request from the Ukey information stored in the database of the cloud platform based on the association relationship, so as to rapidly and conveniently provide the Ukey attribute information and the survival state required by business operation, that is, when the Ukey cabinet is deployed, the method can also conveniently provide the required Ukey information for the cloud so as to support the business system to perform corresponding business processing, thereby avoiding limitation.
Drawings
FIG. 1 is an application environment diagram of a Ukey information acquisition method based on a Ukey cabinet in one embodiment;
FIG. 2 is a diagram of an application environment of a Ukey information acquisition method based on a Ukey cabinet in another embodiment;
FIG. 3 is a schematic flow chart of a Ukey information acquisition method based on a Ukey cabinet in one embodiment;
FIG. 4 is a block diagram of a Ukey information acquisition device based on a Ukey cabinet in one embodiment;
FIG. 5 is a block diagram of a Ukey information acquisition device based on a Ukey cabinet in another embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The Ukey information acquisition method based on the Ukey cabinet can be applied to the application environment shown in FIG. 1. The cloud platform (i.e., cloud end) 100 is deployed with a service system 102, an agent management terminal 104 and a database 106, and an intranet 200 of a hosting organization is deployed with an agent client 202 and a Ukey cabinet 204. The public cloud 100 and the intranet 200 respectively realize communication connection based on the deployed agent management terminal 104 and the agent client 202, that is, interactive communication between the cloud platform 100 and the intranet 200 is realized by deploying the agent management terminal 104 in the public cloud 100 and deploying the agent client 202 in the intranet 200, and establishing a long connection channel between the agent management terminal 104 and the agent client 202.
A connection interface protocol is integrated in the proxy client 202, and based on the connection interface protocol, a long connection channel is established between the proxy client 202 and the proxy management terminal 104. The agent management terminal 104 sends a Ukey information reporting instruction to the agent client 202 based on a pre-established long connection channel, and the agent client 202 initiates a Ukey information acquisition request to a corresponding Ukey cabinet located in the intranet. The Ukey cabinet responds to the Ukey information acquisition request, acquires Ukey information of the tax Ukey on the Ukey cabinet, and returns the acquired Ukey information to the proxy client 202. The proxy client 202 returns the acquired Ukey information to the proxy management terminal 104 based on the long connection channel with the proxy management terminal 104. The agent management terminal 104 analyzes the association relationship between the tax Ukey and the related object based on the Ukey attribute information and the Ukey survival state in the acquired Ukey information, and stores the Ukey information in the database 106 deployed in the cloud platform. The service system sends a service operation request related to the acquisition of the Ukey information to the agent management terminal 104, and the agent management terminal 104 may search the Ukey attribute information and the Ukey survival state of the target tax Ukey related to the service operation request from the Ukey information stored in the database 106 based on the association relationship.
It is understood that the agent manager 104 and the agent client 202 are applications installed on a computer device. The agent management terminal 104 may be installed in a computer device in the cloud platform 100, and the agent client 202 may be installed in a computer device in the intranet 200.
Fig. 2 is a diagram of an application environment in another embodiment. Referring to fig. 2, a business system 302, an agent management terminal 304 and a database 306 are deployed in a cloud platform 300, and an agent client 402 and a Ukey cabinet 404 are deployed in an intranet 400 of a hosting organization. The cloud platform 300 and the intranet 400 are respectively in communication connection with a plurality of agent clients 402 based on the deployed agent management terminal 304, that is, interactive communication between the cloud platform 300 and the intranet 400 is realized by deploying the agent management terminal 304 in the cloud platform 300 and deploying the agent clients 402 in the intranet 400, and establishing a long connection channel between the agent management terminal 304 and the agent clients 402.
As shown in fig. 2, the agent manager 304 in the cloud platform 300 interfaces with a plurality of agent clients 402. The agent manager 304 may determine a target agent client from the plurality of agent clients 402, so as to send a Ukey information reporting instruction to the target agent client.
In an embodiment, as shown in fig. 3, a method for obtaining Ukey information based on a Ukey cabinet is provided, and the method can be implemented through interaction between computer devices, that is, through interaction between a computer device having an agent management terminal installed in a cloud and a computer device having an agent client installed in an intranet of a hosting organization. The method comprises the following steps:
step 302, deploying a proxy client in an intranet; a connection interface protocol is integrated in the proxy client; and establishing a long connection channel between the agent client and an agent management terminal deployed in the cloud platform based on the connection interface protocol.
The connection interface protocol is an interface protocol used for establishing connection with the agent management terminal deployed in the cloud platform.
Specifically, a proxy client may be pre-deployed in the computer device of the intranet, and a connection interface protocol may be integrated in the proxy client. The proxy client can establish a long connection channel with a proxy management terminal in the cloud platform based on a connection interface protocol.
In one embodiment, the connection interface protocol may include at least one of login, logout, heartbeat transmission, and push.
In one embodiment, the long connection channel may be a long connection channel for full duplex real-time communication and encryption of communication messages.
In one embodiment, the long connection channel may be a TCP channel, or may be another channel that can implement full-duplex real-time communication and encrypt a communication packet.
In one embodiment, the intranet of the hosting organization may include a plurality of agent clients, each agent client has a corresponding client number, each agent client may carry its own client number when sending a connection request to the agent management end, and the agent management end establishes a long connection with each agent client based on each client number.
Step 304, after receiving a Ukey information reporting instruction sent by the agent management terminal based on the pre-established long connection channel, the agent client deployed in the intranet initiates a Ukey information acquisition request to a Ukey cabinet located in the intranet and corresponding to the agent client.
It should be noted that the Ukey cabinet is deployed in the intranet of the hosting organization. The hosting organization is an organization to which tax Ukeys of various enterprises are uniformly hosted. And the escrow mechanism carries out unified management on the taxation Ukey escrowed by each enterprise through the Ukey cabinet. It is understood that the Ukey cabinet is a cabinet for uniformly managing the hosted tax Ukey. That is, each tax Ukey is plugged into and connected to the Ukey cabinet through a Universal Serial Bus (USB) interface. The tax Ukey is tax control equipment which is connected with the Ukey cabinet through a universal serial bus interface and is used for issuing invoices.
And the agent management terminal is a program which is arranged in the cloud platform and is used for being in butt joint with the agent client terminal in the intranet. And the agent client is a program which is arranged in the intranet of the hosting mechanism and is used for being in butt joint with the agent management end in the cloud platform and the Ukey cabinet in the intranet. Namely, the proxy-based client is respectively in butt joint with a proxy management terminal in the cloud platform and a Ukey cabinet in the intranet.
And the Ukey information reporting instruction is used for indicating the agent client to report the Ukey information of the tax Ukey on the corresponding Ukey cabinet in the intranet.
Specifically, after a long connection channel is established between the agent management terminal and the agent client, the agent management terminal may send a Ukey information reporting instruction to the agent client in the intranet based on the long connection channel. After receiving the Ukey information reporting instruction, the proxy client may initiate a Ukey information acquisition request to corresponding Ukey cabinets located in the intranet, so as to request to acquire Ukey information of the tax Ukey on each corresponding Ukey cabinet.
In one embodiment, the agent management terminal may uniformly send the Ukey information reporting instruction to each agent client connected thereto. In another embodiment, the agent management terminal may also perform monitoring, and when a newly connected agent client is monitored, send a Ukey information reporting instruction to the agent client.
It can be understood that the Ukey information reporting instruction may be used to instruct the proxy client to initiate a Ukey information acquisition request to the corresponding at least one Ukey cabinet.
In one embodiment, the Ukey information reporting instruction may specify the Ukey cabinet in a self-defined manner, so as to instruct the proxy client to initiate a Ukey information acquisition request to the specified one or more Ukey cabinets.
In another embodiment, the Ukey information reporting instruction may also not specify the Ukey cabinet, but obtain all Ukey cabinets corresponding to the proxy client by default, thereby instructing the proxy client to initiate Ukey information acquisition requests to all corresponding Ukey cabinets.
And step 306, after the Ukey cabinet responds to the Ukey information acquisition request, the proxy client receives the returned Ukey information of the tax Ukey on the Ukey cabinet, and returns the Ukey information to the proxy management terminal based on the long connecting channel.
Specifically, after receiving the Ukey information acquisition request, the Ukey cabinet may acquire the Ukey information of the tax Ukey on the Ukey cabinet in response to the Ukey information acquisition request, and return the acquired Ukey information to the proxy client. After the agent client acquires the returned Ukey information of the tax Ukey, the acquired Ukey information can be returned to the agent management terminal based on a long connecting channel established between the agent client and the agent management terminal.
And 308, the agent management terminal analyzes the association relationship between the tax Ukey and the related object based on the Ukey attribute information and the Ukey survival state in the Ukey information, and writes the Ukey information into a database deployed in the cloud platform.
It can be understood that the obtained Ukey information includes Ukey attribute information and Ukey survival status. It is understood that the survival state is a state of being alive or not and being capable of being used normally. The Ukey survival state refers to a state whether the tax Ukey can be normally used or not.
In one embodiment, the Ukey attribute information may include at least one of information of the tax Ukey itself, information of the Ukey cabinet to which the tax Ukey belongs, a proxy client corresponding to the Ukey cabinet to which the tax Ukey belongs, and the like. The information of the tax Ukey may include at least one of an identifier of the tax Ukey and a tax number corresponding to the tax Ukey.
In one embodiment, the Ukey alive state may include at least one of a plug state of the tax Ukey, a network communication state of the tax Ukey, and the like. The inserting and pulling state of the tax Ukey comprises whether the tax Ukey is inserted into or pulled out of the Ukey cabinet. The network communication state of the tax Ukey comprises whether the tax Ueky can normally carry out network communication. It can be understood that the Ukey survival status may include other status information capable of characterizing whether the tax Ukey can be normally used, in addition to the plug-in status of the tax Ukey and the network communication status of the tax Ukey.
Specifically, after acquiring the Ukey information, the agent management terminal may analyze an association relationship between the tax Ukey and a related object based on Ukey attribute information and Ukey survival status in the Ukey information, and write and deploy the Ukey information in a database of the cloud platform.
In one embodiment, the related object of the tax Ukey may include at least one of a Ukey cabinet to which the tax Ukey belongs, an agent management terminal corresponding to the Ukey cabinet to which the tax Ukey belongs, an alive state of the tax Ukey, and the like. Therefore, the agent management terminal can analyze the association relationship among the tax Ukey, the Ukey cabinet to which the tax Ukey belongs, the agent management terminal corresponding to the Ukey cabinet to which the tax Ukey belongs, and the survival state of the tax Ukey based on the Ukey attribute information and the Ukey survival state in the Ukey information, and after the association relationship analysis is completed, the agent management terminal can record the association relationship and write and deploy the Ukey information in the database of the cloud platform.
Step 310, when a service operation request sent by a service system deployed in the cloud platform is received and the service operation request relates to the Ukey information acquisition, the agent management terminal searches Ukey attribute information and Ukey survival state of a target tax Ukey related to the service operation request from the Ukey information stored in the database based on the association relationship.
Specifically, a service system is deployed in the cloud platform, after receiving a service operation request sent by the service system, the agent management end may analyze the service operation request, and if the service operation request relates to obtaining Ukey information, the agent management end may determine a target Ukey related to the service operation request, and quickly search Ukey attribute information and Ukey survival status of the target tax Ukey from Ukey information stored in the database based on the association relationship recorded in step 308.
According to the Ukey information acquisition method based on the Ukey cabinet, the agent management end is deployed in the cloud platform, and the agent client is deployed in the intranet of the hosting mechanism, so that a long connection channel is established between the agent client and the agent management end through a connection interface protocol integrated in the agent client, and real-time communication connection between the cloud platform and the intranet is realized. The method comprises the steps that an agent management end sends a Ukey information reporting instruction to an agent client based on a pre-established long connecting channel to indicate the agent client to initiate a Ukey information acquisition request to a corresponding Ukey cabinet located in an intranet, so that Ukey information of tax Ukeys on all the Ukey cabinets is acquired, and the Ukey information is returned to the agent management end based on the long connecting channel. Namely, Ukey information of tax Ukeys on each Ukey cabinet in the intranet is obtained through the long connecting channel. The agent management terminal analyzes the association relationship between the tax Ukey and the related object based on the Ukey attribute information and the Ukey survival state in the Ukey information, and stores the Ukey information into the database deployed in the cloud platform, that is, the agent management terminal analyzes the association relationship and stores the Ukey information in the intranet into the database of the cloud platform, so that under the condition that a business operation request sent by a business system deployed in the cloud platform is received and the business operation request relates to the acquisition of the Ukey information, the agent management terminal searches the Ukey attribute information and the Ukey survival state of the target tax Ukey related to the business operation request from the Ukey information stored in the database of the cloud platform based on the association relationship, so as to rapidly and conveniently provide the Ukey attribute information and the survival state required by business operation, that is, when the Ukey cabinet is deployed, the method can also conveniently provide the required Ukey information for the cloud so as to support the business system to perform corresponding business processing, thereby avoiding limitation.
In one embodiment, the method further comprises: the proxy management terminal monitors the connection of the proxy client in real time; and when monitoring a newly connected agent client, the agent management terminal sends a Ukey information reporting instruction to the agent client based on a long connection channel between the agent management terminal and the newly connected agent client.
The Ukey information reporting instruction is used for indicating the proxy client to report Ukey information of each tax Ukey on the Ukey cabinet corresponding to the proxy client.
The connection monitoring means monitoring whether a new proxy client is connected to the proxy management end.
Specifically, the agent management terminal may perform connection monitoring on the agent clients in real time, so as to monitor connection requests sent by each agent client to the agent management terminal in real time. When the agent management terminal monitors that the agent client terminal is newly connected and logged in, a Ukey information reporting instruction is sent to the agent client terminal based on a long connection channel between the agent management terminal and the newly connected agent client terminal so as to indicate that Ukey information of taxation Ukeys on all Ukey cabinets corresponding to the agent client terminal is acquired. It can be understood that the proxy client may initiate a Ukey information acquisition request for each corresponding Ukey cabinet to acquire Ukey information of all tax ukees on each Ukey cabinet.
In the embodiment, the proxy management terminal monitors the connection of the proxy client in real time, and can send the Ukey information reporting instruction to the newly connected proxy client in time whenever there is a newly connected proxy client, and timely acquire the Ukey information of the taxation Ukey on the Ukey cabinet corresponding to the newly connected proxy client, so that the accuracy of subsequently searching the Ukey information from the database can be improved.
In one embodiment, the method further comprises: the agent management terminal issues an update reporting instruction to the agent client terminal according to a preset time interval; the agent management terminal receives Ukey information reported by the agent client terminal according to the update reporting instruction; and updating the updated Ukey information into the database.
And the update reporting instruction is used for indicating the proxy client to report the updated Ukey information.
It can be understood that the agent management terminal in the cloud platform may periodically send the update reporting instruction to the agent client in the intranet according to a preset time interval. And the agent management terminal receives the Ukey information which is obtained by the agent client according to the update reporting instruction and reports the Ukey information to the agent management terminal. The agent management terminal can update the updated Ukey information to a database of the cloud platform so as to update the Ukey information to the database in time, thereby ensuring the accuracy of Ukey information storage in the database, further ensuring the success rate of subsequent database query, and avoiding system resource waste caused by multiple interactions due to query failure.
In one embodiment, the updating the updated Ukey information into the database includes: if the updated Ukey information is Ukey information of a newly added tax Ukey, executing the association relation analysis between the tax Ukey and a related object by the agent management terminal based on Ukey attribute information and Ukey survival state in the Ukey information, and storing the Ukey information into a database deployed in the cloud platform; and if the updated Ukey information is the modified Ukey information of the historical tax Ukey, the agent management terminal locates the historical Ukey information corresponding to the historical tax Ukey in the database based on the association relationship, and updates the historical Ukey information into the modified Ukey information.
It is understood that the updated Ukey information may include at least one of Ukey information of a new tax Ukey and modified Ukey information of a historical tax Ukey.
Specifically, if the updated Ukey information is Ukey information of a newly added tax Ukey, the agent management terminal is executed to perform association relation analysis between the tax Ukey and a related object based on Ukey attribute information and Ukey survival state in the Ukey information, and the Ukey information is stored in a database deployed in the cloud platform. Specifically, for the Ukey information of the newly added tax Ukey, the agent management end can analyze the association relationship between the tax Ukey and the related object by using the Ukey attribute information and the Ukey survival state in the Ukey information of the newly added tax Ukey, and write the Ukey information of the newly added tax Ukey into the database deployed on the cloud platform.
If the updated Ukey information is the modified Ukey information of the historical tax Ukey, the agent management terminal can acquire the recorded association relationship, determine the storage position of the historical Ukey information corresponding to the historical tax Ukey based on the association relationship, and then quickly locate and search the historical Ukey information in the database according to the storage position and update the located and searched historical Ukey information into the modified Ukey information. It can be understood that the modified Ukey information can be quickly updated to the database based on the association relationship, so that the Ukey information can be quickly updated.
In one embodiment, the tax number is carried in the service operation request related to obtaining the Ukey information. The method further comprises the following steps: if the Ukey attribute information and the Ukey survival state of the target tax Ukey are not found in the database, the agent management end extracts the tax number from the service operation request and generates a Ukey information acquisition instruction based on the tax number; and the agent management terminal sends the Ukey information acquisition instruction to a corresponding agent client so as to search Ukey attribute information of a target tax Ukey corresponding to the tax number and the Ukey survival state from a Ukey cabinet corresponding to the agent client.
The Ukey information acquisition instruction is an instruction for acquiring specified Ukey information.
It can be understood that if the database is not updated in time, the Ukey attribute information and Ukey survival status of the target tax Ukey related to the service operation request may not be searched from the database. If the Ukey attribute information and the Ukey survival state of the target tax Ukey are not found in the database, the agent management end can extract the tax number from the service operation request, and generate a Ukey information acquisition instruction for the target tax Ukey corresponding to the tax number based on the tax number. The agent management terminal can send the Ukey information acquisition instruction to the corresponding agent client. After receiving the Ukey information acquisition instruction, the proxy client can search Ukey attribute information of a target tax Ukey corresponding to the tax number and the Ukey survival state from a Ukey cabinet corresponding to the proxy client.
In an embodiment, if the agent management end corresponds to a plurality of agent clients, the agent management end may sequentially search, in a polling manner, for each agent client, Ukey attribute information of a target tax Ukey corresponding to the tax number and the Ukey survival state, and stop polling until the Ukey attribute information of the target tax Ukey and the Ukey survival state are found. In an embodiment, the agent management side may also determine a target agent client from the plurality of agent clients after performing the correlation analysis, so as to search the Ukey attribute information of the target tax Ukey corresponding to the tax number and the Ukey survival status from the target agent client.
In the above embodiment, if the Ukey attribute information and Ukey survival state of the target tax ukee are not found in the database, the proxy management end extracts a tax number from the service operation request, and generates a Ukey information acquisition instruction based on the tax number, so as to find the Ukey attribute information and Ukey survival state of the target tax ukee corresponding to the tax number from the ukee cabinet corresponding to the proxy client. Namely, after the search from the database fails, the required Ukey information can be further searched from the proxy client of the intranet based on the service operation request, so that the success rate of obtaining the Ukey information is improved.
In one embodiment, the sending, by the proxy management end, the Ukey information acquisition instruction to the corresponding proxy client, so as to search Ukey attribute information and Ukey survival status of the target tax Ukey corresponding to the tax number from the Ukey cabinet corresponding to the proxy client includes: if a plurality of agent clients corresponding to the agent management terminal exist, acquiring historical operation data related to the service operation request; predicting a target agent client from the agent clients and predicting a target Ukey cabinet from the Ukey cabinets corresponding to the target agent clients based on the historical operation data; and the agent management terminal sends the Ukey information acquisition instruction to the target agent client to indicate the target agent client to search Ukey attribute information of the target tax Ukey corresponding to the tax number and the Ukey survival state from the target Ukey cabinet.
It is to be appreciated that the historical operational data associated with the business operation request can include at least one of operational data of historical business operation requests of the same type as the business operation request and historical operational data of other types of operation requests associated with the business operation request.
Specifically, if there are a plurality of proxy clients corresponding to the proxy management end, the proxy management end may obtain historical operation data related to the service operation request, and predict a target proxy client from the plurality of proxy clients and a target Ukey cabinet from the Ukey cabinets corresponding to the target proxy client based on the historical operation data. The agent management terminal can send the Ukey information acquisition instruction to the target agent client to indicate the target agent client to search Ukey attribute information of the target tax Ukey corresponding to the tax number and the Ukey survival state from the target Ukey cabinet.
In an embodiment, the agent management terminal may analyze service operation requests of the same type recorded in the historical operation data, determine historical agent clients for sending the Ukey information acquisition instruction, and select the historical agent client with the ratio ranked at the previous preset order from the historical agent clients according to the ratio of each historical agent client to serve as the target agent client of the prediction. Further, the agent management terminal can select the Ukey cabinet with the number of times being ranked at the previous preset order as the predicted target Ukey cabinet based on the Ukey cabinet accessed by the target agent client recorded in the historical operation data and according to the number of times of the accessed Ukey cabinet.
In the above embodiment, if there are multiple proxy clients corresponding to the proxy management end, the target proxy client and the target Ukey cabinet are predicted based on the historical operation data related to the service operation request, so that the Ukey information acquisition instruction can be sent in a targeted manner, consumption of system resources caused by searching in each proxy client is avoided, search resources are saved, and further, the efficiency of acquiring the Ukey information is improved.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts in the embodiments of the present application may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
In one embodiment, as shown in fig. 4, a Ukey information acquisition apparatus based on a Ukey cabinet is provided, the Ukey cabinet including a managed tax Ukey; the tax Ukey is tax control equipment which is connected with the Ukey cabinet through a universal serial bus interface and is used for issuing invoices; the Ukey cabinet is deployed in an internal network of a trusted party; the device includes: a connection module 401, an acquisition module 402, an analysis storage module 404, and a search module 406, wherein:
a connection module 401, configured to deploy a proxy client in an intranet; a connection interface protocol is integrated in the proxy client; establishing a long connection channel between the agent client and an agent management terminal deployed in a cloud platform based on the connection interface protocol;
an obtaining module 402, configured to, after receiving a Ukey information reporting instruction sent by an agent management terminal deployed in a cloud platform based on a pre-established long connection channel, initiate a Ukey information obtaining request to a Ukey cabinet located in the intranet and corresponding to the agent client by an agent client deployed in the intranet; and after the Ukey cabinet responds to the Ukey information acquisition request, the proxy client receives returned Ukey information of the tax Ukey on the Ukey cabinet, and returns the Ukey information to the proxy management terminal based on the long connecting channel.
And the analysis storage module 404 is configured to perform association analysis between the tax Ukey and a related object on the basis of the Ukey attribute information and the Ukey survival state in the Ukey information by the agent management terminal, and store the Ukey information in a database deployed on the cloud platform.
The searching module 406 is configured to, when a service operation request sent by a service system deployed in the cloud platform is received and the service operation request relates to obtaining Ukey information, search, by the agent management terminal, Ukey attribute information and Ukey survival state of a target tax Ukey related to the service operation request from the Ukey information stored in the database based on the association relationship.
In an embodiment, the obtaining module 402 is further configured to perform real-time connection monitoring on the proxy client by the proxy management side; when monitoring a newly connected agent client, the agent management terminal sends a Ukey information reporting instruction to the agent client based on a long connection channel between the agent management terminal and the newly connected agent client; the Ukey information reporting instruction is used for indicating the proxy client to report Ukey information of each tax Ukey on the Ukey cabinet corresponding to the proxy client.
As shown in fig. 5, in one embodiment, the apparatus further comprises:
the update module 408 is configured to issue an update reporting instruction to the agent client according to a preset time interval by the agent management terminal; the agent management terminal receives Ukey information reported by the agent client terminal according to the update reporting instruction; and updating the updated Ukey information into the database.
In an embodiment, the updating module 408 is further configured to execute the agent management end to perform association analysis between the tax Ukey and a related object based on the Ukey attribute information and the Ukey survival state in the Ukey information if the updated Ukey information is the Ukey information of the newly added tax Ukey, and store the Ukey information in a database deployed on the cloud platform; and if the updated Ukey information is the modified Ukey information of the historical tax Ukey, the agent management terminal locates the historical Ukey information corresponding to the historical tax Ukey in the database based on the association relationship, and updates the historical Ukey information into the modified Ukey information.
In one embodiment, the tax number is carried in the service operation request related to obtaining Ukey information; the searching module 406 is further configured to, if the Ukey attribute information and the Ukey survival state of the target tax ukee are not found in the database, extract a tax number from the service operation request by the proxy management end, and generate a Ukey information acquisition instruction based on the tax number; and the agent management terminal sends the Ukey information acquisition instruction to a corresponding agent client so as to search Ukey attribute information of a target tax Ukey corresponding to the tax number and the Ukey survival state from a Ukey cabinet corresponding to the agent client.
In an embodiment, the searching module 406 is further configured to, if there are a plurality of agent clients corresponding to the agent management terminal, obtain historical operation data related to the service operation request; predicting a target agent client from the agent clients and predicting a target Ukey cabinet from the Ukey cabinets corresponding to the target agent clients based on the historical operation data; and the agent management terminal sends the Ukey information acquisition instruction to the target agent client to indicate the target agent client to search Ukey attribute information of the target tax Ukey corresponding to the tax number and the Ukey survival state from the target Ukey cabinet.
According to the Ukey information acquisition device based on the Ukey cabinet, the agent management end is deployed in the cloud platform, and the agent client is deployed in the intranet of the hosting mechanism, so that a long connection channel is established between the agent client and the agent management end through a connection interface protocol integrated in the agent client, and real-time communication connection between the cloud platform and the intranet is realized. The method comprises the steps that an agent management end sends a Ukey information reporting instruction to an agent client based on a pre-established long connecting channel to indicate the agent client to initiate a Ukey information acquisition request to a corresponding Ukey cabinet located in an intranet, so that Ukey information of tax Ukeys on all the Ukey cabinets is acquired, and the Ukey information is returned to the agent management end based on the long connecting channel. Namely, Ukey information of tax Ukeys on each Ukey cabinet in the intranet is obtained through the long connecting channel. The agent management terminal analyzes the association relationship between the tax Ukey and the related object based on the Ukey attribute information and the Ukey survival state in the Ukey information, and stores the Ukey information into the database deployed in the cloud platform, that is, the agent management terminal analyzes the association relationship and stores the Ukey information in the intranet into the database of the cloud platform, so that under the condition that a business operation request sent by a business system deployed in the cloud platform is received and the business operation request relates to the acquisition of the Ukey information, the agent management terminal searches the Ukey attribute information and the Ukey survival state of the target tax Ukey related to the business operation request from the Ukey information stored in the database of the cloud platform based on the association relationship, so as to rapidly and conveniently provide the Ukey attribute information and the survival state required by business operation, that is, when the Ukey cabinet is deployed, the method can also conveniently provide the required Ukey information for the cloud so as to support the business system to perform corresponding business processing, thereby avoiding limitation.
For specific limitations of the Ukey information acquisition device based on the Ukey cabinet, reference may be made to the above limitations of the Ukey information acquisition method based on the Ukey cabinet, and details are not repeated here. All or part of each module in the Ukey information acquisition device based on the Ukey cabinet can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server or a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used for storing Ukey information acquisition data based on the Ukey cabinet. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to realize a Ukey information acquisition method based on the Ukey cabinet.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a computer device is further provided, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps in each of the above Ukey information acquisition method embodiments based on a Ukey cabinet when executing the computer program.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps in each of the above-described Ukey cabinet-based Ukey information acquisition method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A Ukey information acquisition method based on a Ukey cabinet is characterized in that the Ukey cabinet comprises a managed tax Ukey; the tax Ukey is tax control equipment which is connected with the Ukey cabinet through a universal serial bus interface and is used for issuing invoices; the Ukey cabinet is deployed in an internal network of a trusted party; the method comprises the following steps:
deploying a proxy client in the intranet; a connection interface protocol is integrated in the proxy client;
establishing a long connection channel between the agent client and an agent management terminal deployed in a cloud platform based on the connection interface protocol;
after receiving a Ukey information reporting instruction sent by the agent management terminal based on a pre-established long connection channel, an agent client deployed in the intranet initiates a Ukey information acquisition request to a Ukey cabinet which is positioned in the intranet and corresponds to the agent client;
after the Ukey cabinet responds to the Ukey information acquisition request, the proxy client receives returned Ukey information of the tax Ukey on the Ukey cabinet, and returns the Ukey information to the proxy management terminal based on the long connecting channel;
the agent management terminal analyzes the association relationship between the tax Ukey and related objects based on the Ukey attribute information and the Ukey survival state in the Ukey information, and stores the Ukey information into a database deployed in the cloud platform;
and when a service operation request sent by a service system deployed in the cloud platform is received and the service operation request relates to the Ukey information acquisition, the agent management terminal searches Ukey attribute information and Ukey survival state of a target tax Ukey related to the service operation request from the Ukey information stored in the database based on the association relationship.
2. The method of claim 1, further comprising:
the proxy management terminal monitors the connection of the proxy client in real time;
when the agent management terminal monitors the newly connected agent client terminal, then
Sending a Ukey information reporting instruction to the proxy client based on a long connection channel between the Ukey information reporting instruction and the newly connected proxy client;
the Ukey information reporting instruction is used for indicating the proxy client to report Ukey information of each tax Ukey on the Ukey cabinet corresponding to the proxy client.
3. The method of claim 1, further comprising:
the agent management terminal issues an update reporting instruction to the agent client terminal according to a preset time interval;
the agent management terminal receives Ukey information reported by the agent client terminal according to the update reporting instruction;
and updating the updated Ukey information into the database.
4. The method of claim 3, wherein updating the updated Ukey information into the database comprises:
if the updated Ukey information is Ukey information of a newly added tax Ukey, executing the association relation analysis between the tax Ukey and a related object by the agent management terminal based on Ukey attribute information and Ukey survival state in the Ukey information, and storing the Ukey information into a database deployed in the cloud platform;
and if the updated Ukey information is the modified Ukey information of the historical tax Ukey, the agent management terminal locates the historical Ukey information corresponding to the historical tax Ukey in the database based on the association relationship, and updates the historical Ukey information into the modified Ukey information.
5. The method according to any one of claims 1 to 4, characterized in that a tax number is carried in a service operation request related to obtaining Ukey information; the method further comprises the following steps:
if the Ukey attribute information and the Ukey survival state of the target tax Ukey are not found in the database, then
The agent management terminal extracts the tax number from the service operation request and generates a Ukey information acquisition instruction based on the tax number;
and the agent management terminal sends the Ukey information acquisition instruction to a corresponding agent client so as to search Ukey attribute information of a target tax Ukey corresponding to the tax number and the Ukey survival state from a Ukey cabinet corresponding to the agent client.
6. The method of claim 5, wherein the step of sending the Ukey information acquisition instruction to the corresponding proxy client by the proxy management terminal so as to search Ukey attribute information and Ukey survival status of the target tax Ukey corresponding to the tax number from the Ukey cabinet corresponding to the proxy client comprises the steps of:
if a plurality of agent clients corresponding to the agent management terminal exist, acquiring historical operation data related to the service operation request;
predicting a target agent client from the agent clients and predicting a target Ukey cabinet from the Ukey cabinets corresponding to the target agent clients based on the historical operation data;
and the agent management terminal sends the Ukey information acquisition instruction to the target agent client to indicate the target agent client to search Ukey attribute information of the target tax Ukey corresponding to the tax number and the Ukey survival state from the target Ukey cabinet.
7. A Ukey information acquisition device based on a Ukey cabinet is characterized in that the Ukey cabinet comprises a managed tax Ukey; the tax Ukey is tax control equipment which is connected with the Ukey cabinet through a universal serial bus interface and is used for issuing invoices; the Ukey cabinet is deployed in an internal network of a trusted party; the device comprises:
the connection module is used for deploying the agent client in the intranet; a connection interface protocol is integrated in the proxy client; establishing a long connection channel between the agent client and an agent management terminal deployed in a cloud platform based on the connection interface protocol;
the acquisition module is used for initiating a Ukey information acquisition request to a Ukey cabinet which is positioned in the intranet and corresponds to the proxy client by the proxy client deployed in the intranet after receiving a Ukey information reporting instruction which is sent by the proxy management terminal based on a pre-established long connecting channel; after the Ukey cabinet responds to the Ukey information acquisition request, the proxy client receives returned Ukey information of the tax Ukey on the Ukey cabinet, and returns the Ukey information to the proxy management terminal based on the long connecting channel;
the analysis storage module is used for the agent management terminal to analyze the association relationship between the tax Ukey and related objects based on the Ukey attribute information and the Ukey survival state in the Ukey information, and store the Ukey information into a database deployed in the cloud platform;
and the searching module is used for searching the Ukey attribute information and the Ukey survival state of the target tax Ukey related to the business operation request from the Ukey information stored in the database on the basis of the association relationship by the agent management terminal under the condition that the business operation request sent by the business system deployed in the cloud platform is received and the business operation request relates to the Ukey information.
8. The apparatus of claim 7, further comprising:
the update module is used for the agent management terminal to issue an update reporting instruction to the agent client terminal according to a preset time interval; the agent management terminal receives Ukey information reported by the agent client terminal according to the update reporting instruction; and updating the updated Ukey information into the database.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202110766576.9A 2021-07-07 2021-07-07 Ukey information acquisition method, device, equipment and storage medium based on Ukey cabinet Active CN113259493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110766576.9A CN113259493B (en) 2021-07-07 2021-07-07 Ukey information acquisition method, device, equipment and storage medium based on Ukey cabinet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110766576.9A CN113259493B (en) 2021-07-07 2021-07-07 Ukey information acquisition method, device, equipment and storage medium based on Ukey cabinet

Publications (2)

Publication Number Publication Date
CN113259493A true CN113259493A (en) 2021-08-13
CN113259493B CN113259493B (en) 2021-10-15

Family

ID=77190973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110766576.9A Active CN113259493B (en) 2021-07-07 2021-07-07 Ukey information acquisition method, device, equipment and storage medium based on Ukey cabinet

Country Status (1)

Country Link
CN (1) CN113259493B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114049193A (en) * 2022-01-14 2022-02-15 深圳高灯计算机科技有限公司 Invoice authentication deduction method and system based on tax control cabinet
CN114913616A (en) * 2022-07-19 2022-08-16 深圳高灯计算机科技有限公司 Vehicle passing fee deduction method and device based on electronic toll collection system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581830A (en) * 2004-01-08 2005-02-16 许泉华 System and method for realizing tax-controlled cashier machine safety on-line operation
US20130031633A1 (en) * 2002-01-25 2013-01-31 Andrew Honig System and methods for adaptive model generation for detecting intrusion in computer systems
US20180113717A1 (en) * 2016-10-21 2018-04-26 Inno Stream Technology Co., Ltd. Method for processing innovation-creativity data information, user equipment and cloud server
CN112633997A (en) * 2020-12-18 2021-04-09 百望股份有限公司 Tax control equipment redirection system and method
CN112653685A (en) * 2020-12-17 2021-04-13 航天信息股份有限公司 Method for assisting entry channel cloud interaction by client and electronic equipment
CN112669097A (en) * 2020-12-02 2021-04-16 航天信息股份有限公司 Billing service system and method based on tax Ukey disk group
US20210167952A1 (en) * 2019-11-29 2021-06-03 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and devices for cryptographic key management based on blockchain system
CN113051539A (en) * 2019-12-26 2021-06-29 航天信息股份有限公司 Method and device for calling digital certificate

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130031633A1 (en) * 2002-01-25 2013-01-31 Andrew Honig System and methods for adaptive model generation for detecting intrusion in computer systems
CN1581830A (en) * 2004-01-08 2005-02-16 许泉华 System and method for realizing tax-controlled cashier machine safety on-line operation
US20180113717A1 (en) * 2016-10-21 2018-04-26 Inno Stream Technology Co., Ltd. Method for processing innovation-creativity data information, user equipment and cloud server
US20210167952A1 (en) * 2019-11-29 2021-06-03 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and devices for cryptographic key management based on blockchain system
CN113051539A (en) * 2019-12-26 2021-06-29 航天信息股份有限公司 Method and device for calling digital certificate
CN112669097A (en) * 2020-12-02 2021-04-16 航天信息股份有限公司 Billing service system and method based on tax Ukey disk group
CN112653685A (en) * 2020-12-17 2021-04-13 航天信息股份有限公司 Method for assisting entry channel cloud interaction by client and electronic equipment
CN112633997A (en) * 2020-12-18 2021-04-09 百望股份有限公司 Tax control equipment redirection system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114049193A (en) * 2022-01-14 2022-02-15 深圳高灯计算机科技有限公司 Invoice authentication deduction method and system based on tax control cabinet
CN114913616A (en) * 2022-07-19 2022-08-16 深圳高灯计算机科技有限公司 Vehicle passing fee deduction method and device based on electronic toll collection system

Also Published As

Publication number Publication date
CN113259493B (en) 2021-10-15

Similar Documents

Publication Publication Date Title
US11700303B1 (en) Distributed data analysis for streaming data sources
US8782215B2 (en) Performance testing in a cloud environment
CN113259493B (en) Ukey information acquisition method, device, equipment and storage medium based on Ukey cabinet
CN105357296A (en) Elastic caching system based on Docker cloud platform
CN108933798B (en) Data storage method, storage server and system
US20180189315A1 (en) Method and device for calling a distributed file system
CN104022902A (en) Method and system of monitoring server cluster
US20150363340A1 (en) Providing multiple synchronous serial console sessions using data buffering
CN107544837B (en) Cloud service equipment performance data acquisition system, method and device
CN112291298B (en) Data transmission method, device, computer equipment and storage medium of heterogeneous system
CN104508628A (en) Monitoring for managed services
CN111338893A (en) Process log processing method and device, computer equipment and storage medium
CN112052227A (en) Data change log processing method and device and electronic equipment
CN113127732A (en) Method and device for acquiring service data, computer equipment and storage medium
US10122602B1 (en) Distributed system infrastructure testing
CN113608964A (en) Cluster automation monitoring method and device, electronic equipment and storage medium
CN105591782A (en) Management method and apparatus for testing device
CN112130889A (en) Resource management method and device, storage medium and electronic device
CN111756784B (en) Session method, session device, computer equipment and medium
CN111431951B (en) Data processing method, node equipment, system and storage medium
CN109324892B (en) Distributed management method, distributed management system and device
CN113256360B (en) Invoice processing control method, device, equipment and storage medium based on Ukey cabinet
TW201719455A (en) Metadata server, network device and automatic resource management method
CN102780570A (en) Achieving method and system for management of cloud computing devices
CN106936911B (en) Lightweight distributed computing platform and computing resource management and control method thereof

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
GR01 Patent grant
GR01 Patent grant