CN116821189A - Invoice collection method, invoice collection device, invoice collection equipment and invoice collection medium - Google Patents

Invoice collection method, invoice collection device, invoice collection equipment and invoice collection medium Download PDF

Info

Publication number
CN116821189A
CN116821189A CN202310821984.9A CN202310821984A CN116821189A CN 116821189 A CN116821189 A CN 116821189A CN 202310821984 A CN202310821984 A CN 202310821984A CN 116821189 A CN116821189 A CN 116821189A
Authority
CN
China
Prior art keywords
invoice
data
main program
server
collection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310821984.9A
Other languages
Chinese (zh)
Inventor
杨华
雷海燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Qiqitong Technology Co ltd
Original Assignee
Guangdong Qiqitong 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 Guangdong Qiqitong Technology Co ltd filed Critical Guangdong Qiqitong Technology Co ltd
Priority to CN202310821984.9A priority Critical patent/CN116821189A/en
Publication of CN116821189A publication Critical patent/CN116821189A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computational Linguistics (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of data processing, and provides an invoice collection method, device, equipment and medium, which can start a pre-established main program for executing invoice collection, and start a planning task timer of the main program to acquire user information at intervals of preset time intervals, further can trigger invoice collection at fixed time without human intervention, further acquire preset invoice query conditions corresponding to the user information, acquire invoice data from invoicing software according to the invoice query conditions, and upload the invoice data increment to a server, further can automatically match invoice query conditions, automatically query and collect invoice data for uploading by utilizing the invoice query conditions, improve the invoice collection speed, and avoid errors caused by human factors.

Description

Invoice collection method, invoice collection device, invoice collection equipment and invoice collection medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to an invoice collecting method, device, equipment, and medium.
Background
Along with the rapid development of financial business of a supply chain, cooperative clients increase, and the traditional mode of manually leading out invoices from an electronic tax bureau or billing software and manually uploading the invoices to a system for making a wind control model cannot meet the requirement of rapid development of the business due to factors such as low speed, easy error and the like.
Disclosure of Invention
In view of the above, it is necessary to provide a method, a device and a medium for invoice collection, which aim to solve the problems of slow invoice collection speed and easy error in the links of pre-credit, post-credit management and the like.
An invoice collection method, the invoice collection method comprising:
responding to an invoice collection instruction, and starting a pre-established main program for executing invoice collection;
enabling a planning task timer of the main program to acquire user information at preset time intervals;
acquiring preset invoice query conditions corresponding to the user information;
acquiring invoice data from billing software according to the invoice query conditions;
and uploading the invoice data increment to a server.
According to a preferred embodiment of the present invention, after the starting of the pre-established main program for performing invoice collection, the method further comprises:
loading all plug-ins of the main program and initializing all plug-ins;
scanning a registry;
when no data exists in the registry, detecting process information, and acquiring an installation path of the billing software by utilizing the process information;
recording the installation path.
According to a preferred embodiment of the invention, the method further comprises:
Responding to the invoice collection instruction, and starting a pre-established daemon;
starting a timing detection thread after starting the daemon;
the timing detection thread is utilized to send a state detection instruction to the main program at regular time;
when the main program is detected not to be started or state reply information fed back by the main program for the state detection instruction is not received for 3 times continuously, starting the main program by using the daemon;
and the daemon calls an upgrade program to detect whether the main program needs to be upgraded or not every preset time.
According to a preferred embodiment of the invention, the method further comprises:
when the main program is detected to be required to be upgraded, an upgrade request instruction is sent to the server by utilizing the upgrade program;
when an upgrade allowing instruction fed back by the server is received, downloading an upgrade package, and storing the upgrade package into a temporary directory;
controlling the main program and the daemon to stop running;
and controlling the upgrading program to upgrade based on the upgrading package stored in the temporary directory.
According to a preferred embodiment of the present invention, the uploading the invoice data increment to a server includes:
Acquiring a configuration database, wherein the configuration database is used for storing collected invoice data, and the collected invoice data is uploaded to the server;
traversing in the configuration database by utilizing the invoice data;
determining data which is not traversed in the configuration database in the invoice data as invoice data to be uploaded;
and uploading the invoice data to be uploaded to the server.
According to a preferred embodiment of the present invention, after the invoice data increment is uploaded to the server, the method further includes:
displaying the uploading state record of the invoice data on a configuration interface;
the configuration interface is configured with an invoice export key, and when the invoice export key is triggered, invoice data is inquired from the server and exported according to the received export condition;
and when the network setting key is triggered, configuring network information for executing invoice acquisition according to the received network parameters.
According to a preferred embodiment of the invention, the method further comprises:
when the user corresponding to the user information is the first trigger of the invoice acquisition instruction, acquiring pre-credit information of the user;
When the pre-credit information passes the auditing, acquiring all invoice data corresponding to the user information from the billing software as historical invoice data in a time range obtained after the configuration duration is traced forward from the current time point;
and uploading the historical invoice data to the server.
An invoice capture device, the invoice capture device comprising:
the starting unit is used for responding to the invoice collection instruction and starting a pre-established main program for executing invoice collection;
the acquisition unit is used for starting the planning task timer of the main program to acquire user information at preset time intervals;
the acquisition unit is further used for acquiring preset invoice query conditions corresponding to the user information;
the acquisition unit is also used for acquiring invoice data from the invoicing software according to the invoice query conditions;
and the uploading unit is used for uploading the invoice data increment to a server.
A computer device, the computer device comprising:
a memory storing at least one instruction; a kind of electronic device with high-pressure air-conditioning system
And the processor executes the instructions stored in the memory to realize the invoice collection method.
A computer-readable storage medium having stored therein at least one instruction that is executed by a processor in a computer device to implement the invoice capture method.
According to the technical scheme, the method and the system can start the pre-established main program for executing invoice collection, enable the planning task timer of the main program to acquire user information at intervals of preset time, further trigger invoice collection at fixed time without human intervention, further acquire preset invoice query conditions corresponding to the user information, acquire invoice data from billing software according to the invoice query conditions, and upload the invoice data increment to a server, so that the invoice query conditions can be automatically matched, and automatically query and acquire invoice data for uploading by utilizing the invoice query conditions, thereby improving the invoice collection speed and avoiding errors caused by human factors.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of the invoice capture method of the present invention.
FIG. 2 is a functional block diagram of a preferred embodiment of the invoice capture device of the present invention.
FIG. 3 is a schematic diagram of a computer device for implementing a preferred embodiment of the invoice capture method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
As shown in FIG. 1, a flow chart of a preferred embodiment of the invoice capture method of the present invention is shown. The order of the steps in the flowchart may be changed and some steps may be omitted according to various needs.
The invoice collecting method is applied to one or more computer devices, wherein the computer device is a device capable of automatically carrying out numerical calculation and/or information processing according to preset or stored instructions, and the hardware of the computer device comprises, but is not limited to, a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a programmable gate array (Field-Programmable Gate Array, FPGA), a digital processor (Digital Signal Processor, DSP), an embedded device and the like.
The computer device may be any electronic product that can interact with a user in a human-computer manner, such as a personal computer, tablet computer, smart phone, personal digital assistant (Personal Digital Assistant, PDA), game console, interactive internet protocol television (Internet Protocol Television, IPTV), smart wearable device, etc.
The computer device may also include a network device and/or a user device. Wherein the network device includes, but is not limited to, a single network server, a server group composed of a plurality of network servers, or a Cloud based Cloud Computing (Cloud Computing) composed of a large number of hosts or network servers.
The server may be an independent server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
Among these, artificial intelligence (Artificial Intelligence, AI) is the theory, method, technique and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend and extend human intelligence, sense the environment, acquire knowledge and use knowledge to obtain optimal results.
Artificial intelligence infrastructure technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and other directions.
The network in which the computer device is located includes, but is not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN), and the like.
And S10, responding to an invoice collection instruction, and starting a pre-established main program for executing invoice collection.
In this embodiment, the invoice capture instructions may be triggered by a user having a need to capture invoices, such as a purchasing party, supplier, or the like.
In this embodiment, the main program is used to execute a main invoice capture process.
In this embodiment, after the starting of the pre-established main program for performing invoice collection, the method further includes:
loading all plug-ins of the main program and initializing all plug-ins;
scanning a registry;
when no data exists in the registry, detecting process information, and acquiring an installation path of the billing software by utilizing the process information;
recording the installation path.
In the above embodiment, after the main program is started, the related plug-ins are loaded and initialized, and then the environment detection is performed by scanning the registry, so as to obtain the installation path, and the database for storing the invoice data is obtained according to the installation path.
In this embodiment, the method further includes:
responding to the invoice collection instruction, and starting a pre-established daemon;
Starting a timing detection thread after starting the daemon;
the timing detection thread is utilized to send a state detection instruction to the main program at regular time;
when the main program is detected not to be started or state reply information fed back by the main program for the state detection instruction is not received for 3 times continuously, starting the main program by using the daemon;
and the daemon calls an upgrade program to detect whether the main program needs to be upgraded or not every preset time.
The preset duration can be configured in a self-defined manner according to actual requirements, for example, 10 minutes.
And if the experiment determines that the state reply information fed back by the main program for the state detection instruction is not received for 3 times continuously, the main program needs to be started. In order to ensure the normal execution of invoice collection, the daemon can be used for starting the main program when the state reply information fed back by the main program for the state detection instruction is not received for 3 times continuously.
Through the daemon, the main program can be automatically pulled up when the main program is not successfully started, so that the normal execution of invoice collection is ensured.
And periodically detecting whether the main program needs to be upgraded or not through the upgrade program so as to ensure that all functions of the main program are normally executed.
In this embodiment, the method further includes:
when the main program is detected to be required to be upgraded, an upgrade request instruction is sent to the server by utilizing the upgrade program;
when an upgrade allowing instruction fed back by the server is received, downloading an upgrade package, and storing the upgrade package into a temporary directory;
controlling the main program and the daemon to stop running;
and controlling the upgrading program to upgrade based on the upgrading package stored in the temporary directory.
Through the embodiment, the automatic upgrading can be realized by utilizing the upgrading program, so that the normal use of various functions is ensured.
S11, starting a planning task timer of the main program to acquire user information at preset time intervals.
The preset time interval can be configured in a self-defined manner according to actual requirements.
Wherein the user information may include, but is not limited to, one or more of the following:
user name, user intelligence, user rights, department to which they belong, etc.
In the embodiment, the user information is acquired at regular time by starting the scheduled task timer, so that invoice data can be acquired and updated at regular time according to the acquired user information, manual participation is not needed, and automatic acquisition of the invoice data is realized.
S12, acquiring preset invoice query conditions corresponding to the user information.
In this embodiment, the correspondence between each user information and each invoice query condition may be preconfigured to obtain the mapping table.
Further, the acquiring the preset invoice query condition corresponding to the user information includes:
traversing in the mapping table by utilizing the user information;
and determining the traversed data corresponding to the user information as the invoice query condition.
Specifically, a tag corresponding to the user information, such as Name, may be obtained, a regular expression Name () is established by using the tag Name, and traversal is performed in the mapping table by using the regular expression Name () to obtain the invoice query condition.
Through the embodiment, the corresponding relation between the user information and the invoice query conditions is only required to be configured once in advance and recorded to the table to form the mapping table, and then the invoice query conditions corresponding to the user information can be automatically acquired by using the mapping table, so that the invoice data can be automatically acquired subsequently, and the effect of once and for all is achieved.
S13, acquiring invoice data from the invoicing software according to the invoice query conditions.
The billing software can be any billing software, and can also be a regular and safe mechanism or platform such as an electronic tax bureau, etc., and the invention is not limited.
Specifically, the acquiring invoice data from the invoicing software according to the invoice query condition includes:
forming keywords according to the invoice query conditions;
and inquiring in the billing software by utilizing the keywords to obtain data corresponding to the keywords as the invoice data.
Through the embodiment, after the invoice query conditions are automatically corresponding to the user information, the invoice data is automatically acquired from the invoicing software according to the invoice query conditions, so that manual query is not needed, and the invoice acquisition efficiency is improved.
S14, uploading the invoice data increment to a server.
In this embodiment, the uploading the invoice data increment to the server includes:
acquiring a configuration database, wherein the configuration database is used for storing collected invoice data, and the collected invoice data is uploaded to the server;
traversing in the configuration database by utilizing the invoice data;
determining data which is not traversed in the configuration database in the invoice data as invoice data to be uploaded;
And uploading the invoice data to be uploaded to the server.
Through the embodiment, the uploaded invoice data is firstly removed from the acquired invoice data, and the rest invoice data are uploaded to the server in an increment mode, so that the data redundancy caused by repeated uploading of the data is avoided, and the invoice acquisition efficiency is further improved.
In this embodiment, after the uploading the invoice data increment to the server, the method further includes:
displaying the uploading state record of the invoice data on a configuration interface;
the configuration interface is configured with an invoice export key, and when the invoice export key is triggered, invoice data is inquired from the server and exported according to the received export condition;
and when the network setting key is triggered, configuring network information for executing invoice acquisition according to the received network parameters.
In the embodiment, the uploading state record of the invoice data is displayed, so that a user can intuitively see the uploading state, and the progress is convenient to check and track.
In the above embodiment, by configuring the invoice derivation function, the invoice can be derived according to the actual service requirement, so as to be used for processing the related service.
In the above embodiment, by configuring the network setting function, the network setting function can automatically connect to the available network when the network is abnormal, and also can connect to the relatively safe and reliable network in a customized manner.
In this embodiment, the method further includes:
when the user corresponding to the user information is the first trigger of the invoice acquisition instruction, acquiring pre-credit information of the user;
when the pre-credit information passes the auditing, acquiring all invoice data corresponding to the user information from the billing software as historical invoice data in a time range obtained after the configuration duration is traced forward from the current time point;
and uploading the historical invoice data to the server.
The configuration duration may be customized, for example, 2 years.
In the above embodiment, when the user uses the invoice collection function for the first time, the user is first checked for pre-trust information, so as to ensure that the user has relevant authority, and invoice data corresponding to the user in a certain time range is further acquired for subsequent use.
According to the technical scheme, the method and the system can start the pre-established main program for executing invoice collection, enable the planning task timer of the main program to acquire user information at intervals of preset time, further trigger invoice collection at fixed time without human intervention, further acquire preset invoice query conditions corresponding to the user information, acquire invoice data from billing software according to the invoice query conditions, and upload the invoice data increment to a server, so that the invoice query conditions can be automatically matched, and automatically query and acquire invoice data for uploading by utilizing the invoice query conditions, thereby improving the invoice collection speed and avoiding errors caused by human factors.
FIG. 2 is a functional block diagram of a preferred embodiment of the invoice capture device of the present invention. The invoice collecting apparatus 11 includes a starting unit 110, an acquiring unit 111, and an uploading unit 112. The module/unit referred to in the present invention refers to a series of computer program segments, which are stored in a memory, capable of being executed by a processor and of performing a fixed function. In the present embodiment, the functions of the respective modules/units will be described in detail in the following embodiments.
The starting unit 110 is configured to start a pre-established main program for performing invoice collection in response to an invoice collection instruction.
In this embodiment, the invoice capture instructions may be triggered by a user having a need to capture invoices, such as a purchasing party, supplier, or the like.
In this embodiment, the main program is used to execute a main invoice capture process.
In this embodiment, after the pre-established main program for executing invoice collection is started, all plug-ins of the main program are loaded, and all plug-ins are initialized;
scanning a registry;
when no data exists in the registry, detecting process information, and acquiring an installation path of the billing software by utilizing the process information;
Recording the installation path.
In the above embodiment, after the main program is started, the related plug-ins are loaded and initialized, and then the environment detection is performed by scanning the registry, so as to obtain the installation path, and the database for storing the invoice data is obtained according to the installation path.
In this embodiment, in response to the invoice capture instruction, starting a pre-established daemon;
starting a timing detection thread after starting the daemon;
the timing detection thread is utilized to send a state detection instruction to the main program at regular time;
when the main program is detected not to be started or state reply information fed back by the main program for the state detection instruction is not received for 3 times continuously, starting the main program by using the daemon;
and the daemon calls an upgrade program to detect whether the main program needs to be upgraded or not every preset time.
The preset duration can be configured in a self-defined manner according to actual requirements, for example, 10 minutes.
And if the experiment determines that the state reply information fed back by the main program for the state detection instruction is not received for 3 times continuously, the main program needs to be started. In order to ensure the normal execution of invoice collection, the daemon can be used for starting the main program when the state reply information fed back by the main program for the state detection instruction is not received for 3 times continuously.
Through the daemon, the main program can be automatically pulled up when the main program is not successfully started, so that the normal execution of invoice collection is ensured.
And periodically detecting whether the main program needs to be upgraded or not through the upgrade program so as to ensure that all functions of the main program are normally executed.
In this embodiment, when it is detected that the main program needs to be upgraded, an upgrade request instruction is sent to the server by using the upgrade program;
when an upgrade allowing instruction fed back by the server is received, downloading an upgrade package, and storing the upgrade package into a temporary directory;
controlling the main program and the daemon to stop running;
and controlling the upgrading program to upgrade based on the upgrading package stored in the temporary directory.
Through the embodiment, the automatic upgrading can be realized by utilizing the upgrading program, so that the normal use of various functions is ensured.
The obtaining unit 111 is configured to enable a scheduled task timer of the main program to obtain user information at preset time intervals.
The preset time interval can be configured in a self-defined manner according to actual requirements.
Wherein the user information may include, but is not limited to, one or more of the following:
User name, user intelligence, user rights, department to which they belong, etc.
In the embodiment, the user information is acquired at regular time by starting the scheduled task timer, so that invoice data can be acquired and updated at regular time according to the acquired user information, manual participation is not needed, and automatic acquisition of the invoice data is realized.
The obtaining unit 111 is further configured to obtain a preconfigured invoice query condition corresponding to the user information.
In this embodiment, the correspondence between each user information and each invoice query condition may be preconfigured to obtain the mapping table.
Further, the acquiring unit 111 acquires an invoice query condition configured in advance and corresponding to the user information, including:
traversing in the mapping table by utilizing the user information;
and determining the traversed data corresponding to the user information as the invoice query condition.
Specifically, a tag corresponding to the user information, such as Name, may be obtained, a regular expression Name () is established by using the tag Name, and traversal is performed in the mapping table by using the regular expression Name () to obtain the invoice query condition.
Through the embodiment, the corresponding relation between the user information and the invoice query conditions is only required to be configured once in advance and recorded to the table to form the mapping table, and then the invoice query conditions corresponding to the user information can be automatically acquired by using the mapping table, so that the invoice data can be automatically acquired subsequently, and the effect of once and for all is achieved.
The obtaining unit 111 is further configured to obtain invoice data from the billing software according to the invoice query condition.
The billing software can be any billing software, and can also be a regular and safe mechanism or platform such as an electronic tax bureau, etc., and the invention is not limited.
Specifically, the obtaining unit 111 obtains invoice data from the billing software according to the invoice query condition, including:
forming keywords according to the invoice query conditions;
and inquiring in the billing software by utilizing the keywords to obtain data corresponding to the keywords as the invoice data.
Through the embodiment, after the invoice query conditions are automatically corresponding to the user information, the invoice data is automatically acquired from the invoicing software according to the invoice query conditions, so that manual query is not needed, and the invoice acquisition efficiency is improved.
The uploading unit 112 is configured to upload the invoice data increment to a server.
In this embodiment, the uploading unit 112 uploads the invoice data increment to a server includes:
acquiring a configuration database, wherein the configuration database is used for storing collected invoice data, and the collected invoice data is uploaded to the server;
Traversing in the configuration database by utilizing the invoice data;
determining data which is not traversed in the configuration database in the invoice data as invoice data to be uploaded;
and uploading the invoice data to be uploaded to the server.
Through the embodiment, the uploaded invoice data is firstly removed from the acquired invoice data, and the rest invoice data are uploaded to the server in an increment mode, so that the data redundancy caused by repeated uploading of the data is avoided, and the invoice acquisition efficiency is further improved.
In this embodiment, after the invoice data increment is uploaded to the server, an upload status record of the invoice data is displayed on a configuration interface;
the configuration interface is configured with an invoice export key, and when the invoice export key is triggered, invoice data is inquired from the server and exported according to the received export condition;
and when the network setting key is triggered, configuring network information for executing invoice acquisition according to the received network parameters.
In the embodiment, the uploading state record of the invoice data is displayed, so that a user can intuitively see the uploading state, and the progress is convenient to check and track.
In the above embodiment, by configuring the invoice derivation function, the invoice can be derived according to the actual service requirement, so as to be used for processing the related service.
In the above embodiment, by configuring the network setting function, the network setting function can automatically connect to the available network when the network is abnormal, and also can connect to the relatively safe and reliable network in a customized manner.
In this embodiment, when the user corresponding to the user information is the first trigger of the invoice acquisition instruction, pre-trust information of the user is obtained;
when the pre-credit information passes the auditing, acquiring all invoice data corresponding to the user information from the billing software as historical invoice data in a time range obtained after the configuration duration is traced forward from the current time point;
and uploading the historical invoice data to the server.
The configuration duration may be customized, for example, 2 years.
In the above embodiment, when the user uses the invoice collection function for the first time, the user is first checked for pre-trust information, so as to ensure that the user has relevant authority, and invoice data corresponding to the user in a certain time range is further acquired for subsequent use.
According to the technical scheme, the method and the system can start the pre-established main program for executing invoice collection, enable the planning task timer of the main program to acquire user information at intervals of preset time, further trigger invoice collection at fixed time without human intervention, further acquire preset invoice query conditions corresponding to the user information, acquire invoice data from billing software according to the invoice query conditions, and upload the invoice data increment to a server, so that the invoice query conditions can be automatically matched, and automatically query and acquire invoice data for uploading by utilizing the invoice query conditions, thereby improving the invoice collection speed and avoiding errors caused by human factors.
Fig. 3 is a schematic structural diagram of a computer device for implementing a preferred embodiment of the invoice collecting method according to the present invention.
The computer device 1 may comprise a memory 12, a processor 13 and a bus, and may further comprise a computer program, such as an invoice collecting program, stored in the memory 12 and executable on the processor 13.
It will be appreciated by those skilled in the art that the schematic diagram is merely an example of the computer device 1 and does not constitute a limitation of the computer device 1, the computer device 1 may be a bus type structure, a star type structure, the computer device 1 may further comprise more or less other hardware or software than illustrated, or a different arrangement of components, for example, the computer device 1 may further comprise an input-output device, a network access device, etc.
It should be noted that the computer device 1 is only used as an example, and other electronic products that may be present in the present invention or may be present in the future are also included in the scope of the present invention by way of reference.
The memory 12 includes at least one type of readable storage medium including flash memory, a removable hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 12 may in some embodiments be an internal storage unit of the computer device 1, such as a removable hard disk of the computer device 1. The memory 12 may in other embodiments also be an external storage device of the computer device 1, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the computer device 1. Further, the memory 12 may also include both an internal storage unit and an external storage device of the computer device 1. The memory 12 may be used not only for storing application software installed in the computer device 1 and various types of data, such as codes of invoice collecting programs, etc., but also for temporarily storing data that has been output or is to be output.
The processor 13 may be comprised of integrated circuits in some embodiments, for example, a single packaged integrated circuit, or may be comprised of multiple integrated circuits packaged with the same or different functions, including one or more central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors, a combination of various control chips, and the like. The processor 13 is a Control Unit (Control Unit) of the computer device 1, connects the respective components of the entire computer device 1 using various interfaces and lines, and executes various functions of the computer device 1 and processes data by running or executing programs or modules stored in the memory 12 (for example, executing an invoice collecting program, etc.), and calling data stored in the memory 12.
The processor 13 executes the operating system of the computer device 1 and various types of applications installed. The processor 13 executes the application program to implement the steps of the various invoice capture method embodiments described above, such as the steps shown in fig. 1.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory 12 and executed by the processor 13 to complete the present invention. The one or more modules/units may be a series of computer readable instruction segments capable of performing the specified functions, which instruction segments describe the execution of the computer program in the computer device 1. For example, the computer program may be divided into a start-up unit 110, an acquisition unit 111, an uploading unit 112.
The integrated units implemented in the form of software functional modules described above may be stored in a computer readable storage medium. The software functional module is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a computer device, or a network device, etc.) or a processor (processor) to perform portions of the invoice collecting method according to the embodiments of the present invention.
The modules/units integrated in the computer device 1 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on this understanding, the present invention may also be implemented by a computer program for instructing a relevant hardware device to implement all or part of the procedures of the above-mentioned embodiment method, where the computer program may be stored in a computer readable storage medium and the computer program may be executed by a processor to implement the steps of each of the above-mentioned method embodiments.
Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory, or the like.
Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created from the use of blockchain nodes, and the like.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
The bus may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one straight line is shown in fig. 3, but not only one bus or one type of bus. The bus is arranged to enable a connection communication between the memory 12 and at least one processor 13 or the like.
Although not shown, the computer device 1 may further comprise a power source (such as a battery) for powering the various components, preferably the power source may be logically connected to the at least one processor 13 via a power management means, whereby the functions of charge management, discharge management, and power consumption management are achieved by the power management means. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The computer device 1 may further include various sensors, bluetooth modules, wi-Fi modules, etc., which will not be described in detail herein.
Further, the computer device 1 may also comprise a network interface, optionally comprising a wired interface and/or a wireless interface (e.g. WI-FI interface, bluetooth interface, etc.), typically used for establishing a communication connection between the computer device 1 and other computer devices.
The computer device 1 may optionally further comprise a user interface, which may be a Display, an input unit, such as a Keyboard (Keyboard), or a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the computer device 1 and for displaying a visual user interface.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
Fig. 3 shows only a computer device 1 with components 12-13, it being understood by those skilled in the art that the structure shown in fig. 3 is not limiting of the computer device 1 and may include fewer or more components than shown, or may combine certain components, or a different arrangement of components.
In connection with fig. 1, the memory 12 in the computer device 1 stores a plurality of instructions to implement an invoice capture method, which are executable by the processor 13 to implement:
responding to an invoice collection instruction, and starting a pre-established main program for executing invoice collection;
enabling a planning task timer of the main program to acquire user information at preset time intervals;
acquiring preset invoice query conditions corresponding to the user information;
acquiring invoice data from billing software according to the invoice query conditions;
and uploading the invoice data increment to a server.
Specifically, the specific implementation method of the above instructions by the processor 13 may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
The data in this case were obtained legally.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The invention is operational with numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. The units or means stated in the invention may also be implemented by one unit or means, either by software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. The invoice collection method is characterized by comprising the following steps of:
responding to an invoice collection instruction, and starting a pre-established main program for executing invoice collection;
enabling a planning task timer of the main program to acquire user information at preset time intervals;
acquiring preset invoice query conditions corresponding to the user information;
acquiring invoice data from billing software according to the invoice query conditions;
and uploading the invoice data increment to a server.
2. The invoice capture method as in claim 1, wherein after said initiating a pre-established main program for performing invoice capture, the method further comprises:
loading all plug-ins of the main program and initializing all plug-ins;
scanning a registry;
when no data exists in the registry, detecting process information, and acquiring an installation path of the billing software by utilizing the process information;
recording the installation path.
3. The invoice capture method as in claim 1, wherein the method further comprises:
responding to the invoice collection instruction, and starting a pre-established daemon;
starting a timing detection thread after starting the daemon;
the timing detection thread is utilized to send a state detection instruction to the main program at regular time;
when the main program is detected not to be started or state reply information fed back by the main program for the state detection instruction is not received for 3 times continuously, starting the main program by using the daemon;
and the daemon calls an upgrade program to detect whether the main program needs to be upgraded or not every preset time.
4. The invoice capture method as in claim 3, wherein the method further comprises:
When the main program is detected to be required to be upgraded, an upgrade request instruction is sent to the server by utilizing the upgrade program;
when an upgrade allowing instruction fed back by the server is received, downloading an upgrade package, and storing the upgrade package into a temporary directory;
controlling the main program and the daemon to stop running;
and controlling the upgrading program to upgrade based on the upgrading package stored in the temporary directory.
5. The invoice capture method as in claim 1, wherein the uploading the invoice data delta to a server comprises:
acquiring a configuration database, wherein the configuration database is used for storing collected invoice data, and the collected invoice data is uploaded to the server;
traversing in the configuration database by utilizing the invoice data;
determining data which is not traversed in the configuration database in the invoice data as invoice data to be uploaded;
and uploading the invoice data to be uploaded to the server.
6. The invoice capture method as in claim 1, wherein after uploading the invoice data delta to a server, the method further comprises:
Displaying the uploading state record of the invoice data on a configuration interface;
the configuration interface is configured with an invoice export key, and when the invoice export key is triggered, invoice data is inquired from the server and exported according to the received export condition;
and when the network setting key is triggered, configuring network information for executing invoice acquisition according to the received network parameters.
7. The invoice capture method as in claim 1, wherein the method further comprises:
when the user corresponding to the user information is the first trigger of the invoice acquisition instruction, acquiring pre-credit information of the user;
when the pre-credit information passes the auditing, acquiring all invoice data corresponding to the user information from the billing software as historical invoice data in a time range obtained after the configuration duration is traced forward from the current time point;
and uploading the historical invoice data to the server.
8. An invoice capture device, characterized in that the invoice capture device comprises:
the starting unit is used for responding to the invoice collection instruction and starting a pre-established main program for executing invoice collection;
The acquisition unit is used for starting the planning task timer of the main program to acquire user information at preset time intervals;
the acquisition unit is further used for acquiring preset invoice query conditions corresponding to the user information;
the acquisition unit is also used for acquiring invoice data from the invoicing software according to the invoice query conditions;
and the uploading unit is used for uploading the invoice data increment to a server.
9. A computer device, the computer device comprising:
a memory storing at least one instruction; a kind of electronic device with high-pressure air-conditioning system
A processor executing instructions stored in the memory to implement the invoice capture method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized by: the computer-readable storage medium having stored therein at least one instruction for execution by a processor in a computer device to implement the invoice capture method of any one of claims 1 to 7.
CN202310821984.9A 2023-07-05 2023-07-05 Invoice collection method, invoice collection device, invoice collection equipment and invoice collection medium Pending CN116821189A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310821984.9A CN116821189A (en) 2023-07-05 2023-07-05 Invoice collection method, invoice collection device, invoice collection equipment and invoice collection medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310821984.9A CN116821189A (en) 2023-07-05 2023-07-05 Invoice collection method, invoice collection device, invoice collection equipment and invoice collection medium

Publications (1)

Publication Number Publication Date
CN116821189A true CN116821189A (en) 2023-09-29

Family

ID=88116523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310821984.9A Pending CN116821189A (en) 2023-07-05 2023-07-05 Invoice collection method, invoice collection device, invoice collection equipment and invoice collection medium

Country Status (1)

Country Link
CN (1) CN116821189A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572222A (en) * 2015-02-02 2015-04-29 深圳市新联锋科技有限公司 Main program upgrading method and device for supporting upgrading of main program
CN108364203A (en) * 2018-02-07 2018-08-03 深圳壹账通智能科技有限公司 Electronic invoice generation method, system, computer equipment and storage medium
CN112819597A (en) * 2021-01-29 2021-05-18 陈世海 Method, system and storage medium for automatic invoice capture and voucher input
CN114626904A (en) * 2020-12-14 2022-06-14 航天信息股份有限公司企业服务分公司 Method and device for determining entry invoice

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572222A (en) * 2015-02-02 2015-04-29 深圳市新联锋科技有限公司 Main program upgrading method and device for supporting upgrading of main program
CN108364203A (en) * 2018-02-07 2018-08-03 深圳壹账通智能科技有限公司 Electronic invoice generation method, system, computer equipment and storage medium
CN114626904A (en) * 2020-12-14 2022-06-14 航天信息股份有限公司企业服务分公司 Method and device for determining entry invoice
CN112819597A (en) * 2021-01-29 2021-05-18 陈世海 Method, system and storage medium for automatic invoice capture and voucher input

Similar Documents

Publication Publication Date Title
CN112015663B (en) Test data recording method, device, equipment and medium
CN115936886B (en) Failure detection method, device, equipment and medium for heterogeneous securities trading system
CN114185776A (en) Big data point burying method, device, equipment and medium for application program
CN115147031B (en) Clearing workflow execution method, device, equipment and medium
CN114816371B (en) Message processing method, device, equipment and medium
CN114185502B (en) Log printing method, device, equipment and medium based on production line environment
CN113923218B (en) Distributed deployment method, device, equipment and medium for coding and decoding plug-in
CN116821189A (en) Invoice collection method, invoice collection device, invoice collection equipment and invoice collection medium
CN114124835A (en) Interface-based data transmission method, device, equipment and medium
CN116934263B (en) Product batch admittance method, device, equipment and medium
CN116306591B (en) Flow form generation method, device, equipment and medium
CN115934576B (en) Test case generation method, device, equipment and medium in transaction scene
CN114860314B (en) Deployment upgrading method, device, equipment and medium based on database compatibility
CN116414366B (en) Middleware interface generation method, device, equipment and medium
CN116225971B (en) Transaction interface compatibility detection method, device, equipment and medium
CN117316359B (en) Blood detection process tracking method, device, equipment and medium
CN116957649B (en) Customer screening method, device, equipment and medium
CN115964307B (en) Automatic test method, device, equipment and medium for transaction data
CN116630048B (en) Trading method, device, equipment and medium based on futures quotation K line
CN116414699B (en) Operation and maintenance testing method, device, equipment and medium
CN116823141A (en) Payment data processing method, device, equipment and medium
CN116361753B (en) Authority authentication method, device, equipment and medium
CN116483747B (en) Quotation snapshot issuing method, device, equipment and medium
CN116994279A (en) Invoice data acquisition method, invoice data acquisition device, invoice data acquisition equipment and invoice data acquisition medium
CN114138378A (en) Non-invasive current-limiting fusing method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination